@opencrvs/toolkit 2.0.0-rc.5b847e3 → 2.0.0-rc.5ba2797

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 (104) hide show
  1. package/README.md +15 -0
  2. package/build.sh +3 -2
  3. package/dist/application-config/index.js +70 -40
  4. package/dist/cli.js +3262 -50
  5. package/dist/commons/api/router.d.ts +212 -127
  6. package/dist/commons/application-config/index.d.ts +1 -0
  7. package/dist/commons/conditionals/conditionals.d.ts +1937 -41
  8. package/dist/commons/conditionals/validate.d.ts +51 -2
  9. package/dist/commons/events/ActionConfig.d.ts +28 -2
  10. package/dist/commons/events/ActionDocument.d.ts +6 -0
  11. package/dist/commons/events/ActionInput.d.ts +6 -0
  12. package/dist/commons/events/AdvancedSearchConfig.d.ts +354 -0
  13. package/dist/commons/events/CountryConfigQueryInput.d.ts +42 -0
  14. package/dist/commons/events/EventConfig.d.ts +2 -0
  15. package/dist/commons/events/EventDocument.d.ts +3 -0
  16. package/dist/commons/events/EventIndex.d.ts +25 -0
  17. package/dist/commons/events/EventMetadata.d.ts +26 -0
  18. package/dist/commons/events/FieldConfig.d.ts +388 -50
  19. package/dist/commons/events/FieldType.d.ts +1 -0
  20. package/dist/commons/events/FieldTypeMapping.d.ts +1 -1
  21. package/dist/commons/events/FieldValue.d.ts +6 -0
  22. package/dist/commons/events/WorkqueueConfig.d.ts +39 -0
  23. package/dist/commons/events/field.d.ts +775 -35
  24. package/dist/commons/events/index.d.ts +1 -0
  25. package/dist/commons/events/locations.d.ts +1 -0
  26. package/dist/commons/events/state/flags.d.ts +14 -0
  27. package/dist/commons/events/state/index.d.ts +8 -0
  28. package/dist/commons/events/state/utils.d.ts +21 -287
  29. package/dist/commons/events/utils.d.ts +12 -1
  30. package/dist/conditionals/index.js +58 -6
  31. package/dist/environment/custom-types.d.ts +33 -0
  32. package/dist/environment/custom-types.d.ts.map +1 -0
  33. package/dist/environment/custom-types.js +12 -0
  34. package/dist/environment/derived-variables.d.ts +134 -0
  35. package/dist/environment/derived-variables.d.ts.map +1 -0
  36. package/dist/environment/derived-variables.js +169 -0
  37. package/dist/environment/editor-questions.d.ts +4 -0
  38. package/dist/environment/editor-questions.d.ts.map +1 -0
  39. package/dist/environment/editor-questions.js +67 -0
  40. package/dist/environment/git.d.ts +5 -0
  41. package/dist/environment/git.d.ts.map +1 -0
  42. package/dist/environment/git.js +38 -0
  43. package/dist/environment/github.d.ts +26 -0
  44. package/dist/environment/github.d.ts.map +1 -0
  45. package/dist/environment/github.js +247 -0
  46. package/dist/environment/index.d.ts +5 -0
  47. package/dist/environment/index.d.ts.map +1 -0
  48. package/dist/environment/index.js +71 -0
  49. package/dist/environment/logger.d.ts +6 -0
  50. package/dist/environment/logger.d.ts.map +1 -0
  51. package/dist/environment/logger.js +25 -0
  52. package/dist/environment/manage-users.d.ts +11 -0
  53. package/dist/environment/manage-users.d.ts.map +1 -0
  54. package/dist/environment/manage-users.js +507 -0
  55. package/dist/environment/questions-helper.d.ts +15 -0
  56. package/dist/environment/questions-helper.d.ts.map +1 -0
  57. package/dist/environment/questions-helper.js +70 -0
  58. package/dist/environment/questions.d.ts +199 -0
  59. package/dist/environment/questions.d.ts.map +1 -0
  60. package/dist/environment/questions.js +412 -0
  61. package/dist/environment/setup-environment.d.ts +2 -0
  62. package/dist/environment/setup-environment.d.ts.map +1 -0
  63. package/dist/environment/setup-environment.js +794 -0
  64. package/dist/environment/ssh-keygen.d.ts +5 -0
  65. package/dist/environment/ssh-keygen.d.ts.map +1 -0
  66. package/dist/environment/ssh-keygen.js +21 -0
  67. package/dist/environment/swarm-to-k8s.d.ts +2 -0
  68. package/dist/environment/swarm-to-k8s.d.ts.map +1 -0
  69. package/dist/environment/swarm-to-k8s.js +183 -0
  70. package/dist/environment/templates.d.ts +27 -0
  71. package/dist/environment/templates.d.ts.map +1 -0
  72. package/dist/environment/templates.js +163 -0
  73. package/dist/environment/update-workflows.d.ts +2 -0
  74. package/dist/environment/update-workflows.d.ts.map +1 -0
  75. package/dist/environment/update-workflows.js +179 -0
  76. package/dist/environment/users.d.ts +2 -0
  77. package/dist/environment/users.d.ts.map +1 -0
  78. package/dist/environment/users.js +122 -0
  79. package/dist/environment/utils.d.ts +18 -0
  80. package/dist/environment/utils.d.ts.map +1 -0
  81. package/dist/environment/utils.js +110 -0
  82. package/dist/events/index.js +441 -147
  83. package/dist/migrations/v2.0/checkout-upstream-files.d.ts +1 -1
  84. package/dist/migrations/v2.0/checkout-upstream-files.d.ts.map +1 -1
  85. package/dist/migrations/v2.0/checkout-upstream-files.js +1 -1
  86. package/dist/migrations/v2.0/convert-config-files-to-ts.js +17 -7
  87. package/dist/migrations/v2.0/index.js +20 -9
  88. package/dist/migrations/v2.0/remove-hearth-migrations.js +17 -7
  89. package/dist/notification/index.js +265 -45
  90. package/dist/scopes/index.d.ts +93 -7
  91. package/dist/scopes/index.js +19 -8
  92. package/dist/templates/charts-values/dependencies/values.override.yaml +4 -0
  93. package/dist/templates/charts-values/dependencies/values.yaml +83 -0
  94. package/dist/templates/charts-values/opencrvs-services/values.override.yaml +4 -0
  95. package/dist/templates/charts-values/opencrvs-services/values.yaml +81 -0
  96. package/dist/templates/charts-values/traefik/values.override.yaml +4 -0
  97. package/dist/templates/charts-values/traefik/values.yaml +115 -0
  98. package/dist/templates/inventory/inventory.template.yml +100 -0
  99. package/dist/templates/inventory/production.example.yml +77 -0
  100. package/dist/templates/inventory/qa.example.yml +48 -0
  101. package/opencrvs-toolkit-2.0.0-rc.5ba2797.tgz +0 -0
  102. package/package.json +16 -2
  103. package/tsconfig.tsbuildinfo +1 -1
  104. package/opencrvs-toolkit-2.0.0-rc.5b847e3.tgz +0 -0
@@ -4,14 +4,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4
4
  user: {
5
5
  id: string & import("zod").$brand<"UUID">;
6
6
  type: "system";
7
- signature?: undefined;
8
7
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
9
8
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
9
+ signature?: undefined;
10
10
  } | {
11
11
  id: string & import("zod").$brand<"UUID">;
12
- type: "user";
13
12
  role: string;
14
13
  primaryOfficeId: string & import("zod").$brand<"UUID">;
14
+ type: "user";
15
15
  signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
16
16
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
17
17
  };
@@ -26,14 +26,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
26
26
  user: {
27
27
  id: string & import("zod").$brand<"UUID">;
28
28
  type: "system";
29
- signature?: undefined;
30
29
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
31
30
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
31
+ signature?: undefined;
32
32
  } | {
33
33
  id: string & import("zod").$brand<"UUID">;
34
- type: "user";
35
34
  role: string;
36
35
  primaryOfficeId: string & import("zod").$brand<"UUID">;
36
+ type: "user";
37
37
  signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
38
38
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
39
39
  };
@@ -48,14 +48,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
48
48
  user: {
49
49
  id: string & import("zod").$brand<"UUID">;
50
50
  type: "system";
51
- signature?: undefined;
52
51
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
53
52
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
53
+ signature?: undefined;
54
54
  } | {
55
55
  id: string & import("zod").$brand<"UUID">;
56
- type: "user";
57
56
  role: string;
58
57
  primaryOfficeId: string & import("zod").$brand<"UUID">;
58
+ type: "user";
59
59
  signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
60
60
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
61
61
  };
@@ -94,14 +94,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
94
94
  user: {
95
95
  id: string & import("zod").$brand<"UUID">;
96
96
  type: "system";
97
- signature?: undefined;
98
97
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
99
98
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
99
+ signature?: undefined;
100
100
  } | {
101
101
  id: string & import("zod").$brand<"UUID">;
102
- type: "user";
103
102
  role: string;
104
103
  primaryOfficeId: string & import("zod").$brand<"UUID">;
104
+ type: "user";
105
105
  signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
106
106
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
107
107
  };
@@ -313,6 +313,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
313
313
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
314
314
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
315
315
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
316
+ content?: {
317
+ immediateCorrection?: boolean | undefined;
318
+ } | undefined;
316
319
  } | {
317
320
  id: string & import("zod").$brand<"UUID">;
318
321
  transactionId: string;
@@ -414,7 +417,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
414
417
  createdByUserType: "system" | "user";
415
418
  createdAt: string;
416
419
  createdBy: string;
417
- type: "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "CUSTOM" | "NOTIFY" | "APPROVE_CORRECTION" | "REJECT_CORRECTION";
420
+ type: "NOTIFY" | "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "CUSTOM";
418
421
  status: "Rejected";
419
422
  createdByRole?: string | undefined;
420
423
  createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
@@ -622,6 +625,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
622
625
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
623
626
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
624
627
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
628
+ content?: {
629
+ immediateCorrection?: boolean | undefined;
630
+ } | undefined;
625
631
  } | {
626
632
  id: string & import("zod").$brand<"UUID">;
627
633
  transactionId: string;
@@ -723,7 +729,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
723
729
  createdByUserType: "system" | "user";
724
730
  createdAt: string;
725
731
  createdBy: string;
726
- type: "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "CUSTOM" | "NOTIFY" | "APPROVE_CORRECTION" | "REJECT_CORRECTION";
732
+ type: "NOTIFY" | "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "CUSTOM";
727
733
  status: "Rejected";
728
734
  createdByRole?: string | undefined;
729
735
  createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
@@ -930,6 +936,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
930
936
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
931
937
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
932
938
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
939
+ content?: {
940
+ immediateCorrection?: boolean | undefined;
941
+ } | undefined;
933
942
  } | {
934
943
  id: string & import("zod").$brand<"UUID">;
935
944
  transactionId: string;
@@ -1031,7 +1040,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1031
1040
  createdByUserType: "system" | "user";
1032
1041
  createdAt: string;
1033
1042
  createdBy: string;
1034
- type: "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "CUSTOM" | "NOTIFY" | "APPROVE_CORRECTION" | "REJECT_CORRECTION";
1043
+ type: "NOTIFY" | "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "CUSTOM";
1035
1044
  status: "Rejected";
1036
1045
  createdByRole?: string | undefined;
1037
1046
  createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
@@ -1057,14 +1066,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1057
1066
  user: {
1058
1067
  id: string & import("zod").$brand<"UUID">;
1059
1068
  type: "system";
1060
- signature?: undefined;
1061
1069
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
1062
1070
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
1071
+ signature?: undefined;
1063
1072
  } | {
1064
1073
  id: string & import("zod").$brand<"UUID">;
1065
- type: "user";
1066
1074
  role: string;
1067
1075
  primaryOfficeId: string & import("zod").$brand<"UUID">;
1076
+ type: "user";
1068
1077
  signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
1069
1078
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
1070
1079
  };
@@ -1081,13 +1090,13 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1081
1090
  transactionId: string;
1082
1091
  createdAt: string;
1083
1092
  action: {
1084
- type: "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "MARK_AS_DUPLICATE" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "READ" | "CUSTOM" | "CREATE" | "DUPLICATE_DETECTED" | "MARK_AS_NOT_DUPLICATE" | "NOTIFY" | "ASSIGN" | "APPROVE_CORRECTION" | "REJECT_CORRECTION" | "UNASSIGN";
1085
1093
  transactionId: string;
1086
1094
  createdByUserType: "system" | "user";
1087
1095
  createdAt: string;
1088
1096
  createdBy: string;
1089
1097
  declaration: Record<string, import("../commons").FieldUpdateValue>;
1090
1098
  status: "Requested" | "Accepted" | "Rejected";
1099
+ type: "CREATE" | "NOTIFY" | "DECLARE" | "REGISTER" | "EDIT" | "DUPLICATE_DETECTED" | "REJECT" | "MARK_AS_DUPLICATE" | "MARK_AS_NOT_DUPLICATE" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "READ" | "ASSIGN" | "UNASSIGN" | "CUSTOM";
1091
1100
  createdByRole?: string | undefined;
1092
1101
  createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
1093
1102
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -1098,17 +1107,17 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1098
1107
  }>;
1099
1108
  create: import("@trpc/server").TRPCMutationProcedure<{
1100
1109
  input: {
1101
- transactionId: string;
1102
1110
  eventId: string;
1103
- type: "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "MARK_AS_DUPLICATE" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "READ" | "CUSTOM" | "CREATE" | "DUPLICATE_DETECTED" | "MARK_AS_NOT_DUPLICATE" | "NOTIFY" | "ASSIGN" | "APPROVE_CORRECTION" | "REJECT_CORRECTION" | "UNASSIGN";
1111
+ transactionId: string;
1112
+ type: "CREATE" | "NOTIFY" | "DECLARE" | "REGISTER" | "EDIT" | "DUPLICATE_DETECTED" | "REJECT" | "MARK_AS_DUPLICATE" | "MARK_AS_NOT_DUPLICATE" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "READ" | "ASSIGN" | "UNASSIGN" | "CUSTOM";
1104
1113
  status: "Requested" | "Accepted" | "Rejected";
1105
- createdAtLocation?: string | null | undefined;
1106
1114
  declaration?: Record<string, unknown> | undefined;
1107
1115
  annotation?: Record<string, unknown> | undefined;
1108
1116
  originalActionId?: string | undefined;
1109
1117
  keepAssignment?: boolean | undefined;
1110
1118
  keepAssignmentIfAccepted?: boolean | undefined;
1111
1119
  keepAssignmentIfRejected?: boolean | undefined;
1120
+ createdAtLocation?: string | null | undefined;
1112
1121
  };
1113
1122
  output: {
1114
1123
  id: string & import("zod").$brand<"UUID">;
@@ -1116,13 +1125,13 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1116
1125
  transactionId: string;
1117
1126
  createdAt: string;
1118
1127
  action: {
1119
- type: "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "MARK_AS_DUPLICATE" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "READ" | "CUSTOM" | "CREATE" | "DUPLICATE_DETECTED" | "MARK_AS_NOT_DUPLICATE" | "NOTIFY" | "ASSIGN" | "APPROVE_CORRECTION" | "REJECT_CORRECTION" | "UNASSIGN";
1120
1128
  transactionId: string;
1121
1129
  createdByUserType: "system" | "user";
1122
1130
  createdAt: string;
1123
1131
  createdBy: string;
1124
1132
  declaration: Record<string, import("../commons").FieldUpdateValue>;
1125
1133
  status: "Requested" | "Accepted" | "Rejected";
1134
+ type: "CREATE" | "NOTIFY" | "DECLARE" | "REGISTER" | "EDIT" | "DUPLICATE_DETECTED" | "REJECT" | "MARK_AS_DUPLICATE" | "MARK_AS_NOT_DUPLICATE" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "READ" | "ASSIGN" | "UNASSIGN" | "CUSTOM";
1126
1135
  createdByRole?: string | undefined;
1127
1136
  createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
1128
1137
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -1138,14 +1147,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1138
1147
  user: {
1139
1148
  id: string & import("zod").$brand<"UUID">;
1140
1149
  type: "system";
1141
- signature?: undefined;
1142
1150
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
1143
1151
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
1152
+ signature?: undefined;
1144
1153
  } | {
1145
1154
  id: string & import("zod").$brand<"UUID">;
1146
- type: "user";
1147
1155
  role: string;
1148
1156
  primaryOfficeId: string & import("zod").$brand<"UUID">;
1157
+ type: "user";
1149
1158
  signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
1150
1159
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
1151
1160
  };
@@ -1160,14 +1169,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1160
1169
  user: {
1161
1170
  id: string & import("zod").$brand<"UUID">;
1162
1171
  type: "system";
1163
- signature?: undefined;
1164
1172
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
1165
1173
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
1174
+ signature?: undefined;
1166
1175
  } | {
1167
1176
  id: string & import("zod").$brand<"UUID">;
1168
- type: "user";
1169
1177
  role: string;
1170
1178
  primaryOfficeId: string & import("zod").$brand<"UUID">;
1179
+ type: "user";
1171
1180
  signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
1172
1181
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
1173
1182
  };
@@ -1388,6 +1397,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1388
1397
  waitFor?: boolean | undefined;
1389
1398
  createdAtLocation?: string | null | undefined;
1390
1399
  type?: "APPROVE_CORRECTION" | undefined;
1400
+ content?: {
1401
+ immediateCorrection?: boolean | undefined;
1402
+ } | undefined;
1391
1403
  }, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
1392
1404
  eventId: string;
1393
1405
  transactionId: string;
@@ -1452,14 +1464,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1452
1464
  user: {
1453
1465
  id: string & import("zod").$brand<"UUID">;
1454
1466
  type: "system";
1455
- signature?: undefined;
1456
1467
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
1457
1468
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
1469
+ signature?: undefined;
1458
1470
  } | {
1459
1471
  id: string & import("zod").$brand<"UUID">;
1460
- type: "user";
1461
1472
  role: string;
1462
1473
  primaryOfficeId: string & import("zod").$brand<"UUID">;
1474
+ type: "user";
1463
1475
  signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
1464
1476
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
1465
1477
  };
@@ -1672,6 +1684,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1672
1684
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
1673
1685
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
1674
1686
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
1687
+ content?: {
1688
+ immediateCorrection?: boolean | undefined;
1689
+ } | undefined;
1675
1690
  } | {
1676
1691
  id: string & import("zod").$brand<"UUID">;
1677
1692
  transactionId: string;
@@ -1773,7 +1788,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1773
1788
  createdByUserType: "system" | "user";
1774
1789
  createdAt: string;
1775
1790
  createdBy: string;
1776
- type: "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "CUSTOM" | "NOTIFY" | "APPROVE_CORRECTION" | "REJECT_CORRECTION";
1791
+ type: "NOTIFY" | "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "CUSTOM";
1777
1792
  status: "Rejected";
1778
1793
  createdByRole?: string | undefined;
1779
1794
  createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
@@ -1791,14 +1806,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1791
1806
  user: {
1792
1807
  id: string & import("zod").$brand<"UUID">;
1793
1808
  type: "system";
1794
- signature?: undefined;
1795
1809
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
1796
1810
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
1811
+ signature?: undefined;
1797
1812
  } | {
1798
1813
  id: string & import("zod").$brand<"UUID">;
1799
- type: "user";
1800
1814
  role: string;
1801
1815
  primaryOfficeId: string & import("zod").$brand<"UUID">;
1816
+ type: "user";
1802
1817
  signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
1803
1818
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
1804
1819
  };
@@ -2012,6 +2027,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
2012
2027
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
2013
2028
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
2014
2029
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
2030
+ content?: {
2031
+ immediateCorrection?: boolean | undefined;
2032
+ } | undefined;
2015
2033
  } | {
2016
2034
  id: string & import("zod").$brand<"UUID">;
2017
2035
  transactionId: string;
@@ -2113,7 +2131,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
2113
2131
  createdByUserType: "system" | "user";
2114
2132
  createdAt: string;
2115
2133
  createdBy: string;
2116
- type: "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "CUSTOM" | "NOTIFY" | "APPROVE_CORRECTION" | "REJECT_CORRECTION";
2134
+ type: "NOTIFY" | "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "CUSTOM";
2117
2135
  status: "Rejected";
2118
2136
  createdByRole?: string | undefined;
2119
2137
  createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
@@ -2331,6 +2349,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
2331
2349
  waitFor?: boolean | undefined;
2332
2350
  createdAtLocation?: string | null | undefined;
2333
2351
  type?: "APPROVE_CORRECTION" | undefined;
2352
+ content?: {
2353
+ immediateCorrection?: boolean | undefined;
2354
+ } | undefined;
2334
2355
  }, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
2335
2356
  eventId: string;
2336
2357
  transactionId: string;
@@ -2395,14 +2416,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
2395
2416
  user: {
2396
2417
  id: string & import("zod").$brand<"UUID">;
2397
2418
  type: "system";
2398
- signature?: undefined;
2399
2419
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
2400
2420
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
2421
+ signature?: undefined;
2401
2422
  } | {
2402
2423
  id: string & import("zod").$brand<"UUID">;
2403
- type: "user";
2404
2424
  role: string;
2405
2425
  primaryOfficeId: string & import("zod").$brand<"UUID">;
2426
+ type: "user";
2406
2427
  signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
2407
2428
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
2408
2429
  };
@@ -2623,6 +2644,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
2623
2644
  waitFor?: boolean | undefined;
2624
2645
  createdAtLocation?: string | null | undefined;
2625
2646
  type?: "APPROVE_CORRECTION" | undefined;
2647
+ content?: {
2648
+ immediateCorrection?: boolean | undefined;
2649
+ } | undefined;
2626
2650
  }, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
2627
2651
  eventId: string;
2628
2652
  transactionId: string;
@@ -2687,14 +2711,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
2687
2711
  user: {
2688
2712
  id: string & import("zod").$brand<"UUID">;
2689
2713
  type: "system";
2690
- signature?: undefined;
2691
2714
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
2692
2715
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
2716
+ signature?: undefined;
2693
2717
  } | {
2694
2718
  id: string & import("zod").$brand<"UUID">;
2695
- type: "user";
2696
2719
  role: string;
2697
2720
  primaryOfficeId: string & import("zod").$brand<"UUID">;
2721
+ type: "user";
2698
2722
  signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
2699
2723
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
2700
2724
  };
@@ -2915,6 +2939,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
2915
2939
  waitFor?: boolean | undefined;
2916
2940
  createdAtLocation?: string | null | undefined;
2917
2941
  type?: "APPROVE_CORRECTION" | undefined;
2942
+ content?: {
2943
+ immediateCorrection?: boolean | undefined;
2944
+ } | undefined;
2918
2945
  }, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
2919
2946
  eventId: string;
2920
2947
  transactionId: string;
@@ -2979,14 +3006,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
2979
3006
  user: {
2980
3007
  id: string & import("zod").$brand<"UUID">;
2981
3008
  type: "system";
2982
- signature?: undefined;
2983
3009
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
2984
3010
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
3011
+ signature?: undefined;
2985
3012
  } | {
2986
3013
  id: string & import("zod").$brand<"UUID">;
2987
- type: "user";
2988
3014
  role: string;
2989
3015
  primaryOfficeId: string & import("zod").$brand<"UUID">;
3016
+ type: "user";
2990
3017
  signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
2991
3018
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
2992
3019
  };
@@ -3207,6 +3234,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
3207
3234
  waitFor?: boolean | undefined;
3208
3235
  createdAtLocation?: string | null | undefined;
3209
3236
  type?: "APPROVE_CORRECTION" | undefined;
3237
+ content?: {
3238
+ immediateCorrection?: boolean | undefined;
3239
+ } | undefined;
3210
3240
  }, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
3211
3241
  eventId: string;
3212
3242
  transactionId: string;
@@ -3271,14 +3301,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
3271
3301
  user: {
3272
3302
  id: string & import("zod").$brand<"UUID">;
3273
3303
  type: "system";
3274
- signature?: undefined;
3275
3304
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
3276
3305
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
3306
+ signature?: undefined;
3277
3307
  } | {
3278
3308
  id: string & import("zod").$brand<"UUID">;
3279
- type: "user";
3280
3309
  role: string;
3281
3310
  primaryOfficeId: string & import("zod").$brand<"UUID">;
3311
+ type: "user";
3282
3312
  signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
3283
3313
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
3284
3314
  };
@@ -3499,6 +3529,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
3499
3529
  waitFor?: boolean | undefined;
3500
3530
  createdAtLocation?: string | null | undefined;
3501
3531
  type?: "APPROVE_CORRECTION" | undefined;
3532
+ content?: {
3533
+ immediateCorrection?: boolean | undefined;
3534
+ } | undefined;
3502
3535
  }, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
3503
3536
  eventId: string;
3504
3537
  transactionId: string;
@@ -3563,14 +3596,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
3563
3596
  user: {
3564
3597
  id: string & import("zod").$brand<"UUID">;
3565
3598
  type: "system";
3566
- signature?: undefined;
3567
3599
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
3568
3600
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
3601
+ signature?: undefined;
3569
3602
  } | {
3570
3603
  id: string & import("zod").$brand<"UUID">;
3571
- type: "user";
3572
3604
  role: string;
3573
3605
  primaryOfficeId: string & import("zod").$brand<"UUID">;
3606
+ type: "user";
3574
3607
  signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
3575
3608
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
3576
3609
  };
@@ -3791,6 +3824,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
3791
3824
  waitFor?: boolean | undefined;
3792
3825
  createdAtLocation?: string | null | undefined;
3793
3826
  type?: "APPROVE_CORRECTION" | undefined;
3827
+ content?: {
3828
+ immediateCorrection?: boolean | undefined;
3829
+ } | undefined;
3794
3830
  }, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
3795
3831
  eventId: string;
3796
3832
  transactionId: string;
@@ -3855,14 +3891,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
3855
3891
  user: {
3856
3892
  id: string & import("zod").$brand<"UUID">;
3857
3893
  type: "system";
3858
- signature?: undefined;
3859
3894
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
3860
3895
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
3896
+ signature?: undefined;
3861
3897
  } | {
3862
3898
  id: string & import("zod").$brand<"UUID">;
3863
- type: "user";
3864
3899
  role: string;
3865
3900
  primaryOfficeId: string & import("zod").$brand<"UUID">;
3901
+ type: "user";
3866
3902
  signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
3867
3903
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
3868
3904
  };
@@ -4077,6 +4113,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4077
4113
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
4078
4114
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
4079
4115
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
4116
+ content?: {
4117
+ immediateCorrection?: boolean | undefined;
4118
+ } | undefined;
4080
4119
  } | {
4081
4120
  id: string & import("zod").$brand<"UUID">;
4082
4121
  transactionId: string;
@@ -4178,7 +4217,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4178
4217
  createdByUserType: "system" | "user";
4179
4218
  createdAt: string;
4180
4219
  createdBy: string;
4181
- type: "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "CUSTOM" | "NOTIFY" | "APPROVE_CORRECTION" | "REJECT_CORRECTION";
4220
+ type: "NOTIFY" | "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "CUSTOM";
4182
4221
  status: "Rejected";
4183
4222
  createdByRole?: string | undefined;
4184
4223
  createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
@@ -4396,6 +4435,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4396
4435
  waitFor?: boolean | undefined;
4397
4436
  createdAtLocation?: string | null | undefined;
4398
4437
  type?: "APPROVE_CORRECTION" | undefined;
4438
+ content?: {
4439
+ immediateCorrection?: boolean | undefined;
4440
+ } | undefined;
4399
4441
  }, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
4400
4442
  eventId: string;
4401
4443
  transactionId: string;
@@ -4460,14 +4502,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4460
4502
  user: {
4461
4503
  id: string & import("zod").$brand<"UUID">;
4462
4504
  type: "system";
4463
- signature?: undefined;
4464
4505
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
4465
4506
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
4507
+ signature?: undefined;
4466
4508
  } | {
4467
4509
  id: string & import("zod").$brand<"UUID">;
4468
- type: "user";
4469
4510
  role: string;
4470
4511
  primaryOfficeId: string & import("zod").$brand<"UUID">;
4512
+ type: "user";
4471
4513
  signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
4472
4514
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
4473
4515
  };
@@ -4682,6 +4724,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4682
4724
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
4683
4725
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
4684
4726
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
4727
+ content?: {
4728
+ immediateCorrection?: boolean | undefined;
4729
+ } | undefined;
4685
4730
  } | {
4686
4731
  id: string & import("zod").$brand<"UUID">;
4687
4732
  transactionId: string;
@@ -4783,7 +4828,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4783
4828
  createdByUserType: "system" | "user";
4784
4829
  createdAt: string;
4785
4830
  createdBy: string;
4786
- type: "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "CUSTOM" | "NOTIFY" | "APPROVE_CORRECTION" | "REJECT_CORRECTION";
4831
+ type: "NOTIFY" | "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "CUSTOM";
4787
4832
  status: "Rejected";
4788
4833
  createdByRole?: string | undefined;
4789
4834
  createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
@@ -5000,6 +5045,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5000
5045
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
5001
5046
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
5002
5047
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
5048
+ content?: {
5049
+ immediateCorrection?: boolean | undefined;
5050
+ } | undefined;
5003
5051
  } | {
5004
5052
  id: string & import("zod").$brand<"UUID">;
5005
5053
  transactionId: string;
@@ -5101,7 +5149,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5101
5149
  createdByUserType: "system" | "user";
5102
5150
  createdAt: string;
5103
5151
  createdBy: string;
5104
- type: "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "CUSTOM" | "NOTIFY" | "APPROVE_CORRECTION" | "REJECT_CORRECTION";
5152
+ type: "NOTIFY" | "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "CUSTOM";
5105
5153
  status: "Rejected";
5106
5154
  createdByRole?: string | undefined;
5107
5155
  createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
@@ -5119,14 +5167,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5119
5167
  user: {
5120
5168
  id: string & import("zod").$brand<"UUID">;
5121
5169
  type: "system";
5122
- signature?: undefined;
5123
5170
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
5124
5171
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
5172
+ signature?: undefined;
5125
5173
  } | {
5126
5174
  id: string & import("zod").$brand<"UUID">;
5127
- type: "user";
5128
5175
  role: string;
5129
5176
  primaryOfficeId: string & import("zod").$brand<"UUID">;
5177
+ type: "user";
5130
5178
  signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
5131
5179
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
5132
5180
  };
@@ -5141,14 +5189,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5141
5189
  user: {
5142
5190
  id: string & import("zod").$brand<"UUID">;
5143
5191
  type: "system";
5144
- signature?: undefined;
5145
5192
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
5146
5193
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
5194
+ signature?: undefined;
5147
5195
  } | {
5148
5196
  id: string & import("zod").$brand<"UUID">;
5149
- type: "user";
5150
5197
  role: string;
5151
5198
  primaryOfficeId: string & import("zod").$brand<"UUID">;
5199
+ type: "user";
5152
5200
  signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
5153
5201
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
5154
5202
  };
@@ -5369,6 +5417,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5369
5417
  waitFor?: boolean | undefined;
5370
5418
  createdAtLocation?: string | null | undefined;
5371
5419
  type?: "APPROVE_CORRECTION" | undefined;
5420
+ content?: {
5421
+ immediateCorrection?: boolean | undefined;
5422
+ } | undefined;
5372
5423
  }, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
5373
5424
  eventId: string;
5374
5425
  transactionId: string;
@@ -5433,14 +5484,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5433
5484
  user: {
5434
5485
  id: string & import("zod").$brand<"UUID">;
5435
5486
  type: "system";
5436
- signature?: undefined;
5437
5487
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
5438
5488
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
5489
+ signature?: undefined;
5439
5490
  } | {
5440
5491
  id: string & import("zod").$brand<"UUID">;
5441
- type: "user";
5442
5492
  role: string;
5443
5493
  primaryOfficeId: string & import("zod").$brand<"UUID">;
5494
+ type: "user";
5444
5495
  signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
5445
5496
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
5446
5497
  };
@@ -5661,6 +5712,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5661
5712
  waitFor?: boolean | undefined;
5662
5713
  createdAtLocation?: string | null | undefined;
5663
5714
  type?: "APPROVE_CORRECTION" | undefined;
5715
+ content?: {
5716
+ immediateCorrection?: boolean | undefined;
5717
+ } | undefined;
5664
5718
  }, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
5665
5719
  eventId: string;
5666
5720
  transactionId: string;
@@ -5725,14 +5779,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5725
5779
  user: {
5726
5780
  id: string & import("zod").$brand<"UUID">;
5727
5781
  type: "system";
5728
- signature?: undefined;
5729
5782
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
5730
5783
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
5784
+ signature?: undefined;
5731
5785
  } | {
5732
5786
  id: string & import("zod").$brand<"UUID">;
5733
- type: "user";
5734
5787
  role: string;
5735
5788
  primaryOfficeId: string & import("zod").$brand<"UUID">;
5789
+ type: "user";
5736
5790
  signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
5737
5791
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
5738
5792
  };
@@ -5953,6 +6007,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5953
6007
  waitFor?: boolean | undefined;
5954
6008
  createdAtLocation?: string | null | undefined;
5955
6009
  type?: "APPROVE_CORRECTION" | undefined;
6010
+ content?: {
6011
+ immediateCorrection?: boolean | undefined;
6012
+ } | undefined;
5956
6013
  }, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
5957
6014
  eventId: string;
5958
6015
  transactionId: string;
@@ -6018,14 +6075,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
6018
6075
  user: {
6019
6076
  id: string & import("zod").$brand<"UUID">;
6020
6077
  type: "system";
6021
- signature?: undefined;
6022
6078
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
6023
6079
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
6080
+ signature?: undefined;
6024
6081
  } | {
6025
6082
  id: string & import("zod").$brand<"UUID">;
6026
- type: "user";
6027
6083
  role: string;
6028
6084
  primaryOfficeId: string & import("zod").$brand<"UUID">;
6085
+ type: "user";
6029
6086
  signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
6030
6087
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
6031
6088
  };
@@ -6242,6 +6299,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
6242
6299
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
6243
6300
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
6244
6301
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
6302
+ content?: {
6303
+ immediateCorrection?: boolean | undefined;
6304
+ } | undefined;
6245
6305
  } | {
6246
6306
  id: string & import("zod").$brand<"UUID">;
6247
6307
  transactionId: string;
@@ -6343,7 +6403,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
6343
6403
  createdByUserType: "system" | "user";
6344
6404
  createdAt: string;
6345
6405
  createdBy: string;
6346
- type: "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "CUSTOM" | "NOTIFY" | "APPROVE_CORRECTION" | "REJECT_CORRECTION";
6406
+ type: "NOTIFY" | "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "CUSTOM";
6347
6407
  status: "Rejected";
6348
6408
  createdByRole?: string | undefined;
6349
6409
  createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
@@ -6559,6 +6619,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
6559
6619
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
6560
6620
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
6561
6621
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
6622
+ content?: {
6623
+ immediateCorrection?: boolean | undefined;
6624
+ } | undefined;
6562
6625
  } | {
6563
6626
  id: string & import("zod").$brand<"UUID">;
6564
6627
  transactionId: string;
@@ -6660,7 +6723,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
6660
6723
  createdByUserType: "system" | "user";
6661
6724
  createdAt: string;
6662
6725
  createdBy: string;
6663
- type: "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "CUSTOM" | "NOTIFY" | "APPROVE_CORRECTION" | "REJECT_CORRECTION";
6726
+ type: "NOTIFY" | "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "CUSTOM";
6664
6727
  status: "Rejected";
6665
6728
  createdByRole?: string | undefined;
6666
6729
  createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
@@ -6684,8 +6747,16 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
6684
6747
  results: {
6685
6748
  id: string & import("zod").$brand<"UUID">;
6686
6749
  type: string;
6687
- status: "CREATED" | "NOTIFIED" | "DECLARED" | "REGISTERED" | "ARCHIVED";
6750
+ status: "ARCHIVED" | "CREATED" | "DECLARED" | "NOTIFIED" | "REGISTERED";
6688
6751
  legalStatuses: {
6752
+ NOTIFIED?: {
6753
+ createdAt: string;
6754
+ createdBy: string;
6755
+ acceptedAt: string;
6756
+ createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
6757
+ createdByUserType?: "system" | "user" | null | undefined;
6758
+ createdByRole?: string | undefined;
6759
+ } | null | undefined;
6689
6760
  DECLARED?: {
6690
6761
  createdAt: string;
6691
6762
  createdBy: string;
@@ -6919,6 +6990,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
6919
6990
  createdAtLocation?: string | null | undefined;
6920
6991
  annotation?: Record<string, unknown> | null | undefined;
6921
6992
  originalActionId?: string | null | undefined;
6993
+ content?: {
6994
+ immediateCorrection?: boolean | undefined;
6995
+ } | undefined;
6922
6996
  } | {
6923
6997
  id: string;
6924
6998
  transactionId: string;
@@ -7020,7 +7094,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
7020
7094
  createdByUserType: "system" | "user";
7021
7095
  createdAt: string;
7022
7096
  createdBy: string;
7023
- type: "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "CUSTOM" | "NOTIFY" | "APPROVE_CORRECTION" | "REJECT_CORRECTION";
7097
+ type: "NOTIFY" | "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "CUSTOM";
7024
7098
  status: "Rejected";
7025
7099
  createdByRole?: string | undefined;
7026
7100
  createdBySignature?: string | null | undefined;
@@ -7039,14 +7113,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
7039
7113
  user: {
7040
7114
  id: string & import("zod").$brand<"UUID">;
7041
7115
  type: "system";
7042
- signature?: undefined;
7043
7116
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
7044
7117
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
7118
+ signature?: undefined;
7045
7119
  } | {
7046
7120
  id: string & import("zod").$brand<"UUID">;
7047
- type: "user";
7048
7121
  role: string;
7049
7122
  primaryOfficeId: string & import("zod").$brand<"UUID">;
7123
+ type: "user";
7050
7124
  signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
7051
7125
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
7052
7126
  };
@@ -7097,11 +7171,11 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
7097
7171
  };
7098
7172
  role: string;
7099
7173
  primaryOfficeId: string;
7100
- data?: Record<string, unknown> | undefined;
7101
- fullHonorificName?: string | undefined;
7102
7174
  device?: string | undefined;
7103
- email?: string | undefined;
7175
+ fullHonorificName?: string | undefined;
7104
7176
  mobile?: string | undefined;
7177
+ email?: string | undefined;
7178
+ data?: Record<string, unknown> | undefined;
7105
7179
  username?: undefined;
7106
7180
  password?: undefined;
7107
7181
  signature?: {
@@ -7134,17 +7208,17 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
7134
7208
  update: import("@trpc/server").TRPCMutationProcedure<{
7135
7209
  input: {
7136
7210
  id: string;
7137
- data?: Record<string, unknown> | undefined;
7138
7211
  name?: {
7139
7212
  firstname: string;
7140
7213
  surname: string;
7141
7214
  } | undefined;
7142
7215
  role?: string | undefined;
7143
- fullHonorificName?: string | undefined;
7144
- device?: string | undefined;
7145
7216
  primaryOfficeId?: string | undefined;
7146
- email?: string | undefined;
7217
+ device?: string | undefined;
7218
+ fullHonorificName?: string | undefined;
7147
7219
  mobile?: string | undefined;
7220
+ email?: string | undefined;
7221
+ data?: Record<string, unknown> | undefined;
7148
7222
  signature?: {
7149
7223
  path: string;
7150
7224
  originalFilename: string;
@@ -7177,20 +7251,20 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
7177
7251
  input: string[];
7178
7252
  output: ({
7179
7253
  id: string & import("zod").$brand<"UUID">;
7180
- type: "user";
7181
7254
  name: {
7182
7255
  firstname: string;
7183
7256
  surname: string;
7184
7257
  };
7185
7258
  role: string;
7186
7259
  primaryOfficeId: string & import("zod").$brand<"UUID">;
7187
- fullHonorificName?: string | undefined;
7260
+ type: "user";
7188
7261
  avatar?: (string & import("zod").$brand<"DocumentPath">) | undefined;
7189
7262
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
7263
+ fullHonorificName?: string | undefined;
7190
7264
  } | {
7191
7265
  id: string & import("zod").$brand<"UUID">;
7192
- type: "system";
7193
7266
  name: string;
7267
+ type: "system";
7194
7268
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
7195
7269
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
7196
7270
  })[];
@@ -7210,21 +7284,21 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
7210
7284
  };
7211
7285
  output: ({
7212
7286
  id: string & import("zod").$brand<"UUID">;
7213
- type: "user";
7214
7287
  name: {
7215
7288
  firstname: string;
7216
7289
  surname: string;
7217
7290
  };
7218
7291
  role: string;
7219
7292
  primaryOfficeId: string & import("zod").$brand<"UUID">;
7293
+ type: "user";
7220
7294
  status: "active" | "pending" | "deactivated";
7221
- fullHonorificName?: string | undefined;
7222
7295
  avatar?: (string & import("zod").$brand<"DocumentPath">) | undefined;
7223
7296
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
7297
+ fullHonorificName?: string | undefined;
7224
7298
  } | {
7225
7299
  id: string & import("zod").$brand<"UUID">;
7226
- type: "system";
7227
7300
  name: string;
7301
+ type: "system";
7228
7302
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
7229
7303
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
7230
7304
  status?: "active" | "pending" | "deactivated" | undefined;
@@ -7238,7 +7312,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
7238
7312
  count?: number | undefined;
7239
7313
  timeStart?: string | undefined;
7240
7314
  timeEnd?: string | undefined;
7241
- actionTypes?: ("DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "MARK_AS_DUPLICATE" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "READ" | "CUSTOM" | "CREATE" | "DUPLICATE_DETECTED" | "MARK_AS_NOT_DUPLICATE" | "NOTIFY" | "ASSIGN" | "APPROVE_CORRECTION" | "REJECT_CORRECTION" | "UNASSIGN")[] | undefined;
7315
+ actionTypes?: ("CREATE" | "NOTIFY" | "DECLARE" | "REGISTER" | "EDIT" | "DUPLICATE_DETECTED" | "REJECT" | "MARK_AS_DUPLICATE" | "MARK_AS_NOT_DUPLICATE" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "READ" | "ASSIGN" | "UNASSIGN" | "CUSTOM")[] | undefined;
7242
7316
  };
7243
7317
  output: {
7244
7318
  results: {
@@ -7275,14 +7349,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
7275
7349
  user: {
7276
7350
  id: string & import("zod").$brand<"UUID">;
7277
7351
  type: "system";
7278
- signature?: undefined;
7279
7352
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
7280
7353
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
7354
+ signature?: undefined;
7281
7355
  } | {
7282
7356
  id: string & import("zod").$brand<"UUID">;
7283
- type: "user";
7284
7357
  role: string;
7285
7358
  primaryOfficeId: string & import("zod").$brand<"UUID">;
7359
+ type: "user";
7286
7360
  signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
7287
7361
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
7288
7362
  };
@@ -7308,9 +7382,18 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
7308
7382
  output: void;
7309
7383
  meta: import("trpc-to-openapi").OpenApiMeta;
7310
7384
  }>;
7311
- sendVerifyCode: import("@trpc/server").TRPCMutationProcedure<{
7385
+ requestEmailChange: import("@trpc/server").TRPCMutationProcedure<{
7312
7386
  input: {
7313
- notificationEvent: "change-phone-number" | "change-email-address";
7387
+ email: string;
7388
+ };
7389
+ output: {
7390
+ nonce: string;
7391
+ };
7392
+ meta: import("trpc-to-openapi").OpenApiMeta;
7393
+ }>;
7394
+ requestPhoneChange: import("@trpc/server").TRPCMutationProcedure<{
7395
+ input: {
7396
+ phoneNumber: string;
7314
7397
  };
7315
7398
  output: {
7316
7399
  nonce: string;
@@ -7390,14 +7473,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
7390
7473
  user: {
7391
7474
  id: string & import("zod").$brand<"UUID">;
7392
7475
  type: "system";
7393
- signature?: undefined;
7394
7476
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
7395
7477
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
7478
+ signature?: undefined;
7396
7479
  } | {
7397
7480
  id: string & import("zod").$brand<"UUID">;
7398
- type: "user";
7399
7481
  role: string;
7400
7482
  primaryOfficeId: string & import("zod").$brand<"UUID">;
7483
+ type: "user";
7401
7484
  signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
7402
7485
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
7403
7486
  };
@@ -7504,7 +7587,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
7504
7587
  clientId: string;
7505
7588
  clientType: "system" | "user";
7506
7589
  createdAt: string;
7507
- operation: "event.actions.notify.request" | "event.actions.declare.request" | "event.actions.register.request" | "event.actions.reject.request" | "event.actions.validate.request" | "event.actions.edit.request" | "event.actions.assign.request" | "event.actions.unassign.request" | "event.actions.read.request" | "event.actions.archive.request" | "event.actions.reinstate.request" | "event.actions.print_certificate.request" | "event.actions.correction.request.request" | "event.actions.correction.approve.request" | "event.actions.correction.reject.request" | "event.actions.mark_as_duplicate.request" | "event.actions.mark_as_not_duplicate.request";
7590
+ operation: "event.actions.archive.request" | "event.actions.assign.request" | "event.actions.correction.approve.request" | "event.actions.correction.reject.request" | "event.actions.correction.request.request" | "event.actions.declare.request" | "event.actions.edit.request" | "event.actions.mark_as_duplicate.request" | "event.actions.mark_as_not_duplicate.request" | "event.actions.notify.request" | "event.actions.print_certificate.request" | "event.actions.read.request" | "event.actions.register.request" | "event.actions.reinstate.request" | "event.actions.reject.request" | "event.actions.unassign.request" | "event.actions.validate.request";
7508
7591
  requestData: {
7509
7592
  eventId: string;
7510
7593
  actionType: string;
@@ -7683,14 +7766,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
7683
7766
  user: {
7684
7767
  id: string & import("zod").$brand<"UUID">;
7685
7768
  type: "system";
7686
- signature?: undefined;
7687
7769
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
7688
7770
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
7771
+ signature?: undefined;
7689
7772
  } | {
7690
7773
  id: string & import("zod").$brand<"UUID">;
7691
- type: "user";
7692
7774
  role: string;
7693
7775
  primaryOfficeId: string & import("zod").$brand<"UUID">;
7776
+ type: "user";
7694
7777
  signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
7695
7778
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
7696
7779
  };
@@ -7756,14 +7839,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
7756
7839
  user: {
7757
7840
  id: string & import("zod").$brand<"UUID">;
7758
7841
  type: "system";
7759
- signature?: undefined;
7760
7842
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
7761
7843
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
7844
+ signature?: undefined;
7762
7845
  } | {
7763
7846
  id: string & import("zod").$brand<"UUID">;
7764
- type: "user";
7765
7847
  role: string;
7766
7848
  primaryOfficeId: string & import("zod").$brand<"UUID">;
7849
+ type: "user";
7767
7850
  signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
7768
7851
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
7769
7852
  };
@@ -7778,14 +7861,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
7778
7861
  user: {
7779
7862
  id: string & import("zod").$brand<"UUID">;
7780
7863
  type: "system";
7781
- signature?: undefined;
7782
7864
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
7783
7865
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
7866
+ signature?: undefined;
7784
7867
  } | {
7785
7868
  id: string & import("zod").$brand<"UUID">;
7786
- type: "user";
7787
7869
  role: string;
7788
7870
  primaryOfficeId: string & import("zod").$brand<"UUID">;
7871
+ type: "user";
7789
7872
  signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
7790
7873
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
7791
7874
  };
@@ -7809,10 +7892,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
7809
7892
  eventType?: string | undefined;
7810
7893
  status?: {
7811
7894
  type: "anyOf";
7812
- terms: ("CREATED" | "NOTIFIED" | "DECLARED" | "REGISTERED" | "ARCHIVED")[];
7895
+ terms: ("ARCHIVED" | "CREATED" | "DECLARED" | "NOTIFIED" | "REGISTERED")[];
7813
7896
  } | {
7814
7897
  type: "exact";
7815
- term: "CREATED" | "NOTIFIED" | "DECLARED" | "REGISTERED" | "ARCHIVED";
7898
+ term: "ARCHIVED" | "CREATED" | "DECLARED" | "NOTIFIED" | "REGISTERED";
7816
7899
  } | undefined;
7817
7900
  createdAt?: {
7818
7901
  type: "exact";
@@ -7823,7 +7906,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
7823
7906
  lte: string;
7824
7907
  } | {
7825
7908
  type: "timePeriod";
7826
- term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
7909
+ term: "last30Days" | "last365Days" | "last7Days" | "last90Days";
7827
7910
  } | undefined;
7828
7911
  updatedAt?: {
7829
7912
  type: "exact";
@@ -7834,12 +7917,12 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
7834
7917
  lte: string;
7835
7918
  } | {
7836
7919
  type: "timePeriod";
7837
- term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
7920
+ term: "last30Days" | "last365Days" | "last7Days" | "last90Days";
7838
7921
  } | undefined;
7839
7922
  'legalStatuses.DECLARED.createdAtLocation'?: {
7840
7923
  type: "within";
7841
7924
  location: string | {
7842
- $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "signature" | "avatar";
7925
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "avatar" | "signature";
7843
7926
  $location?: string | undefined;
7844
7927
  };
7845
7928
  } | undefined;
@@ -7856,12 +7939,12 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
7856
7939
  lte: string;
7857
7940
  } | {
7858
7941
  type: "timePeriod";
7859
- term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
7942
+ term: "last30Days" | "last365Days" | "last7Days" | "last90Days";
7860
7943
  } | undefined;
7861
7944
  'legalStatuses.REGISTERED.createdAtLocation'?: {
7862
7945
  type: "within";
7863
7946
  location: string | {
7864
- $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "signature" | "avatar";
7947
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "avatar" | "signature";
7865
7948
  $location?: string | undefined;
7866
7949
  };
7867
7950
  } | undefined;
@@ -7876,47 +7959,47 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
7876
7959
  createdAtLocation?: {
7877
7960
  type: "within";
7878
7961
  location: string | {
7879
- $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "signature" | "avatar";
7962
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "avatar" | "signature";
7880
7963
  $location?: string | undefined;
7881
7964
  };
7882
7965
  } | {
7883
7966
  type: "exact";
7884
7967
  term: string | {
7885
- $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "signature" | "avatar";
7968
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "avatar" | "signature";
7886
7969
  $location?: string | undefined;
7887
7970
  };
7888
7971
  } | undefined;
7889
7972
  updatedAtLocation?: {
7890
7973
  type: "within";
7891
7974
  location: string | {
7892
- $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "signature" | "avatar";
7975
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "avatar" | "signature";
7893
7976
  $location?: string | undefined;
7894
7977
  };
7895
7978
  } | {
7896
7979
  type: "exact";
7897
7980
  term: string | {
7898
- $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "signature" | "avatar";
7981
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "avatar" | "signature";
7899
7982
  $location?: string | undefined;
7900
7983
  };
7901
7984
  } | undefined;
7902
7985
  updatedByUserRole?: {
7903
7986
  type: "exact";
7904
7987
  term: string | {
7905
- $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "signature" | "avatar";
7988
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "avatar" | "signature";
7906
7989
  $location?: string | undefined;
7907
7990
  };
7908
7991
  } | undefined;
7909
7992
  assignedTo?: {
7910
7993
  type: "exact";
7911
7994
  term: string | {
7912
- $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "signature" | "avatar";
7995
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "avatar" | "signature";
7913
7996
  $location?: string | undefined;
7914
7997
  };
7915
7998
  } | undefined;
7916
7999
  createdBy?: {
7917
8000
  type: "exact";
7918
8001
  term: string | {
7919
- $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "signature" | "avatar";
8002
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "avatar" | "signature";
7920
8003
  $location?: string | undefined;
7921
8004
  };
7922
8005
  } | undefined;
@@ -7927,7 +8010,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
7927
8010
  updatedBy?: {
7928
8011
  type: "exact";
7929
8012
  term: string | {
7930
- $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "signature" | "avatar";
8013
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "avatar" | "signature";
7931
8014
  $location?: string | undefined;
7932
8015
  };
7933
8016
  } | undefined;
@@ -7938,6 +8021,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
7938
8021
  flags?: {
7939
8022
  anyOf?: string[] | undefined;
7940
8023
  noneOf?: string[] | undefined;
8024
+ allOf?: string[] | undefined;
7941
8025
  } | undefined;
7942
8026
  data?: unknown;
7943
8027
  }[];
@@ -7947,10 +8031,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
7947
8031
  eventType?: string | undefined;
7948
8032
  status?: {
7949
8033
  type: "anyOf";
7950
- terms: ("CREATED" | "NOTIFIED" | "DECLARED" | "REGISTERED" | "ARCHIVED")[];
8034
+ terms: ("ARCHIVED" | "CREATED" | "DECLARED" | "NOTIFIED" | "REGISTERED")[];
7951
8035
  } | {
7952
8036
  type: "exact";
7953
- term: "CREATED" | "NOTIFIED" | "DECLARED" | "REGISTERED" | "ARCHIVED";
8037
+ term: "ARCHIVED" | "CREATED" | "DECLARED" | "NOTIFIED" | "REGISTERED";
7954
8038
  } | undefined;
7955
8039
  createdAt?: {
7956
8040
  type: "exact";
@@ -7961,7 +8045,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
7961
8045
  lte: string;
7962
8046
  } | {
7963
8047
  type: "timePeriod";
7964
- term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
8048
+ term: "last30Days" | "last365Days" | "last7Days" | "last90Days";
7965
8049
  } | undefined;
7966
8050
  updatedAt?: {
7967
8051
  type: "exact";
@@ -7972,12 +8056,12 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
7972
8056
  lte: string;
7973
8057
  } | {
7974
8058
  type: "timePeriod";
7975
- term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
8059
+ term: "last30Days" | "last365Days" | "last7Days" | "last90Days";
7976
8060
  } | undefined;
7977
8061
  'legalStatuses.DECLARED.createdAtLocation'?: {
7978
8062
  type: "within";
7979
8063
  location: string | {
7980
- $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "signature" | "avatar";
8064
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "avatar" | "signature";
7981
8065
  $location?: string | undefined;
7982
8066
  };
7983
8067
  } | undefined;
@@ -7994,12 +8078,12 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
7994
8078
  lte: string;
7995
8079
  } | {
7996
8080
  type: "timePeriod";
7997
- term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
8081
+ term: "last30Days" | "last365Days" | "last7Days" | "last90Days";
7998
8082
  } | undefined;
7999
8083
  'legalStatuses.REGISTERED.createdAtLocation'?: {
8000
8084
  type: "within";
8001
8085
  location: string | {
8002
- $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "signature" | "avatar";
8086
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "avatar" | "signature";
8003
8087
  $location?: string | undefined;
8004
8088
  };
8005
8089
  } | undefined;
@@ -8014,47 +8098,47 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
8014
8098
  createdAtLocation?: {
8015
8099
  type: "within";
8016
8100
  location: string | {
8017
- $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "signature" | "avatar";
8101
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "avatar" | "signature";
8018
8102
  $location?: string | undefined;
8019
8103
  };
8020
8104
  } | {
8021
8105
  type: "exact";
8022
8106
  term: string | {
8023
- $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "signature" | "avatar";
8107
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "avatar" | "signature";
8024
8108
  $location?: string | undefined;
8025
8109
  };
8026
8110
  } | undefined;
8027
8111
  updatedAtLocation?: {
8028
8112
  type: "within";
8029
8113
  location: string | {
8030
- $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "signature" | "avatar";
8114
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "avatar" | "signature";
8031
8115
  $location?: string | undefined;
8032
8116
  };
8033
8117
  } | {
8034
8118
  type: "exact";
8035
8119
  term: string | {
8036
- $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "signature" | "avatar";
8120
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "avatar" | "signature";
8037
8121
  $location?: string | undefined;
8038
8122
  };
8039
8123
  } | undefined;
8040
8124
  updatedByUserRole?: {
8041
8125
  type: "exact";
8042
8126
  term: string | {
8043
- $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "signature" | "avatar";
8127
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "avatar" | "signature";
8044
8128
  $location?: string | undefined;
8045
8129
  };
8046
8130
  } | undefined;
8047
8131
  assignedTo?: {
8048
8132
  type: "exact";
8049
8133
  term: string | {
8050
- $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "signature" | "avatar";
8134
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "avatar" | "signature";
8051
8135
  $location?: string | undefined;
8052
8136
  };
8053
8137
  } | undefined;
8054
8138
  createdBy?: {
8055
8139
  type: "exact";
8056
8140
  term: string | {
8057
- $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "signature" | "avatar";
8141
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "avatar" | "signature";
8058
8142
  $location?: string | undefined;
8059
8143
  };
8060
8144
  } | undefined;
@@ -8065,7 +8149,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
8065
8149
  updatedBy?: {
8066
8150
  type: "exact";
8067
8151
  term: string | {
8068
- $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "signature" | "avatar";
8152
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "avatar" | "signature";
8069
8153
  $location?: string | undefined;
8070
8154
  };
8071
8155
  } | undefined;
@@ -8076,6 +8160,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
8076
8160
  flags?: {
8077
8161
  anyOf?: string[] | undefined;
8078
8162
  noneOf?: string[] | undefined;
8163
+ allOf?: string[] | undefined;
8079
8164
  } | undefined;
8080
8165
  data?: unknown;
8081
8166
  }[];
@@ -8090,7 +8175,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
8090
8175
  $event: "id" | "createdBy" | "createdAt" | "status" | "createdByUserType" | "createdAtLocation" | "updatedAt" | "assignedTo" | "trackingId" | "type" | "flags" | "dateOfEvent" | "placeOfEvent" | "title" | "legalStatuses" | "updatedByUserRole" | "updatedAtLocation" | "updatedBy" | "outbox";
8091
8176
  };
8092
8177
  }[];
8093
- icon: "File" | "Archived" | "Assigned" | "Briefcase" | "Certified" | "Close" | "Collapse" | "Draft" | "DuplicateYellow" | "Expand" | "ExternalValidate" | "FilledCheck" | "InReview" | "Offline" | "Registered" | "RequiresUpdates" | "Sent" | "Validated" | "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" | "FileSearch" | "FileMinus" | "FilePlus" | "FileText" | "FileX" | "Handshake" | "Gear" | "GitBranch" | "IdentificationCard" | "List" | "ListBullets" | "Lock" | "MagnifyingGlass" | "MapPin" | "Medal" | "NotePencil" | "Paperclip" | "PaperPlaneTilt" | "Pen" | "PenNib" | "Pencil" | "PencilSimpleLine" | "Phone" | "Plus" | "Printer" | "SignOut" | "Stamp" | "Star" | "Target" | "TextT" | "Trash" | "UploadSimple" | "User" | "UserPlus" | "Users" | "WarningCircle" | "X" | "ChatText" | "CircleWavyCheck" | "CircleWavyQuestion" | "ArchiveBox" | "ArrowCircleDown" | "FileArrowUp" | "FileDotted" | "Files" | "PencilLine" | "PencilCircle" | "UserCircle" | "Clock" | "QrCode" | "Webcam" | "Sun" | "DeviceTabletCamera" | "Globe" | "Fingerprint" | "PushPin" | "Timer";
8178
+ icon: "Activity" | "Archive" | "ArchiveBox" | "ArchiveTray" | "Archived" | "ArrowCircleDown" | "ArrowCounterClockwise" | "ArrowLeft" | "ArrowRight" | "Assigned" | "Briefcase" | "Buildings" | "CaretDown" | "CaretLeft" | "CaretRight" | "Certified" | "ChartActivity" | "ChartBar" | "ChartLine" | "ChatCircle" | "ChatText" | "Check" | "CheckSquare" | "Circle" | "CircleWavyCheck" | "CircleWavyQuestion" | "Clock" | "Close" | "Collapse" | "Compass" | "Copy" | "Database" | "DeviceTabletCamera" | "DotsThreeVertical" | "Draft" | "DuplicateYellow" | "Envelope" | "Expand" | "Export" | "ExternalValidate" | "Eye" | "EyeSlash" | "File" | "FileArrowUp" | "FileDotted" | "FileMinus" | "FilePlus" | "FileSearch" | "FileText" | "FileX" | "Files" | "FilledCheck" | "Fingerprint" | "Gear" | "GitBranch" | "Globe" | "Handshake" | "IdentificationCard" | "InReview" | "List" | "ListBullets" | "Lock" | "MagnifyingGlass" | "MagnifyingGlassMinus" | "MagnifyingGlassPlus" | "MapPin" | "Medal" | "NotePencil" | "Offline" | "PaperPlaneTilt" | "Paperclip" | "Pen" | "PenNib" | "Pencil" | "PencilCircle" | "PencilLine" | "PencilSimpleLine" | "Phone" | "Plus" | "Printer" | "PushPin" | "QrCode" | "Registered" | "RequiresUpdates" | "Sent" | "SignOut" | "Stamp" | "Star" | "Sun" | "Target" | "TextT" | "Timer" | "Trash" | "UploadSimple" | "User" | "UserCircle" | "UserPlus" | "Users" | "Validated" | "WaitingApproval" | "WarningCircle" | "Webcam" | "X";
8094
8179
  action?: {
8095
8180
  type: "DELETE" | "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "MARK_AS_DUPLICATE" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "READ";
8096
8181
  } | undefined;
@@ -8118,14 +8203,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
8118
8203
  user: {
8119
8204
  id: string & import("zod").$brand<"UUID">;
8120
8205
  type: "system";
8121
- signature?: undefined;
8122
8206
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
8123
8207
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
8208
+ signature?: undefined;
8124
8209
  } | {
8125
8210
  id: string & import("zod").$brand<"UUID">;
8126
- type: "user";
8127
8211
  role: string;
8128
8212
  primaryOfficeId: string & import("zod").$brand<"UUID">;
8213
+ type: "user";
8129
8214
  signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
8130
8215
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
8131
8216
  };
@@ -8166,14 +8251,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
8166
8251
  user: {
8167
8252
  id: string & import("zod").$brand<"UUID">;
8168
8253
  type: "system";
8169
- signature?: undefined;
8170
8254
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
8171
8255
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
8256
+ signature?: undefined;
8172
8257
  } | {
8173
8258
  id: string & import("zod").$brand<"UUID">;
8174
- type: "user";
8175
8259
  role: string;
8176
8260
  primaryOfficeId: string & import("zod").$brand<"UUID">;
8261
+ type: "user";
8177
8262
  signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
8178
8263
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
8179
8264
  };
@@ -8284,14 +8369,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
8284
8369
  user: {
8285
8370
  id: string & import("zod").$brand<"UUID">;
8286
8371
  type: "system";
8287
- signature?: undefined;
8288
8372
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
8289
8373
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
8374
+ signature?: undefined;
8290
8375
  } | {
8291
8376
  id: string & import("zod").$brand<"UUID">;
8292
- type: "user";
8293
8377
  role: string;
8294
8378
  primaryOfficeId: string & import("zod").$brand<"UUID">;
8379
+ type: "user";
8295
8380
  signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
8296
8381
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
8297
8382
  };
@@ -8319,14 +8404,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
8319
8404
  user: {
8320
8405
  id: string & import("zod").$brand<"UUID">;
8321
8406
  type: "system";
8322
- signature?: undefined;
8323
8407
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
8324
8408
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
8409
+ signature?: undefined;
8325
8410
  } | {
8326
8411
  id: string & import("zod").$brand<"UUID">;
8327
- type: "user";
8328
8412
  role: string;
8329
8413
  primaryOfficeId: string & import("zod").$brand<"UUID">;
8414
+ type: "user";
8330
8415
  signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
8331
8416
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
8332
8417
  };