@opencrvs/toolkit 2.1.0-rc.0066f38 → 2.1.0-rc.023dec8

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 (31) hide show
  1. package/dist/application-config/index.js +2 -1
  2. package/dist/cli.js +0 -48
  3. package/dist/commons/api/router.d.ts +147 -183
  4. package/dist/commons/conditionals/conditionals.d.ts +1586 -34
  5. package/dist/commons/events/ActionDocument.d.ts +6 -6
  6. package/dist/commons/events/ActionInput.d.ts +0 -6
  7. package/dist/commons/events/EventDocument.d.ts +2 -2
  8. package/dist/commons/events/field.d.ts +722 -34
  9. package/dist/commons/events/test.utils.d.ts +0 -3
  10. package/dist/commons/events/utils.d.ts +3 -3
  11. package/dist/environment/derived-variables.d.ts +0 -12
  12. package/dist/environment/derived-variables.d.ts.map +1 -1
  13. package/dist/environment/derived-variables.js +0 -14
  14. package/dist/environment/logger.d.ts +3 -12
  15. package/dist/environment/logger.d.ts.map +1 -1
  16. package/dist/environment/manage-users.js +17 -7
  17. package/dist/environment/setup-environment.js +0 -14
  18. package/dist/environment/swarm-to-k8s.js +17 -7
  19. package/dist/environment/update-workflows.js +17 -7
  20. package/dist/environment/users.js +17 -7
  21. package/dist/environment/utils.js +17 -7
  22. package/dist/events/index.js +3 -6
  23. package/dist/migrations/v2.0/convert-config-files-to-ts.js +17 -7
  24. package/dist/migrations/v2.0/remove-hearth-migrations.js +17 -7
  25. package/dist/notification/index.js +3 -5
  26. package/dist/templates/charts-values/dependencies/values.yaml +0 -3
  27. package/dist/templates/charts-values/opencrvs-services/values.yaml +0 -4
  28. package/opencrvs-toolkit-2.1.0-rc.023dec8.tgz +0 -0
  29. package/package.json +2 -2
  30. package/tsconfig.tsbuildinfo +1 -1
  31. package/opencrvs-toolkit-2.1.0-rc.0066f38.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
  };
@@ -402,14 +402,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
402
402
  declaration: Record<string, import("../commons").FieldUpdateValue>;
403
403
  status: "Requested" | "Accepted" | "Rejected";
404
404
  type: "EDIT";
405
- content: {
406
- comment?: string | undefined;
407
- };
408
405
  createdByRole?: string | undefined;
409
406
  createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
410
407
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
411
408
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
412
409
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
410
+ content?: {
411
+ comment?: string | undefined;
412
+ } | undefined;
413
413
  } | {
414
414
  id: string & import("zod").$brand<"UUID">;
415
415
  transactionId: string;
@@ -728,14 +728,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
728
728
  declaration: Record<string, import("../commons").FieldUpdateValue>;
729
729
  status: "Requested" | "Accepted" | "Rejected";
730
730
  type: "EDIT";
731
- content: {
732
- comment?: string | undefined;
733
- };
734
731
  createdByRole?: string | undefined;
735
732
  createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
736
733
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
737
734
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
738
735
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
736
+ content?: {
737
+ comment?: string | undefined;
738
+ } | undefined;
739
739
  } | {
740
740
  id: string & import("zod").$brand<"UUID">;
741
741
  transactionId: string;
@@ -1053,14 +1053,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1053
1053
  declaration: Record<string, import("../commons").FieldUpdateValue>;
1054
1054
  status: "Requested" | "Accepted" | "Rejected";
1055
1055
  type: "EDIT";
1056
- content: {
1057
- comment?: string | undefined;
1058
- };
1059
1056
  createdByRole?: string | undefined;
1060
1057
  createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
1061
1058
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
1062
1059
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
1063
1060
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
1061
+ content?: {
1062
+ comment?: string | undefined;
1063
+ } | undefined;
1064
1064
  } | {
1065
1065
  id: string & import("zod").$brand<"UUID">;
1066
1066
  transactionId: string;
@@ -1108,14 +1108,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1108
1108
  user: {
1109
1109
  id: string & import("zod").$brand<"UUID">;
1110
1110
  type: "system";
1111
- signature?: undefined;
1112
1111
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
1113
1112
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
1113
+ signature?: undefined;
1114
1114
  } | {
1115
1115
  id: string & import("zod").$brand<"UUID">;
1116
- type: "user";
1117
1116
  role: string;
1118
1117
  primaryOfficeId: string & import("zod").$brand<"UUID">;
1118
+ type: "user";
1119
1119
  signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
1120
1120
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
1121
1121
  };
@@ -1132,13 +1132,13 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1132
1132
  transactionId: string;
1133
1133
  createdAt: string;
1134
1134
  action: {
1135
- type: "CREATE" | "NOTIFY" | "DECLARE" | "REGISTER" | "EDIT" | "DUPLICATE_DETECTED" | "REJECT" | "MARK_AS_DUPLICATE" | "MARK_AS_NOT_DUPLICATE" | "ARCHIVE" | "UNARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "READ" | "ASSIGN" | "UNASSIGN" | "CUSTOM";
1136
1135
  transactionId: string;
1137
1136
  createdByUserType: "system" | "user";
1138
1137
  createdAt: string;
1139
1138
  createdBy: string;
1140
1139
  declaration: Record<string, import("../commons").FieldUpdateValue>;
1141
1140
  status: "Requested" | "Accepted" | "Rejected";
1141
+ type: "CREATE" | "NOTIFY" | "DECLARE" | "REGISTER" | "EDIT" | "DUPLICATE_DETECTED" | "REJECT" | "MARK_AS_DUPLICATE" | "MARK_AS_NOT_DUPLICATE" | "ARCHIVE" | "UNARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "READ" | "ASSIGN" | "UNASSIGN" | "CUSTOM";
1142
1142
  createdByRole?: string | undefined;
1143
1143
  createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
1144
1144
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -1149,17 +1149,17 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1149
1149
  }>;
1150
1150
  create: import("@trpc/server").TRPCMutationProcedure<{
1151
1151
  input: {
1152
- transactionId: string;
1153
1152
  eventId: string;
1153
+ transactionId: string;
1154
1154
  type: "CREATE" | "NOTIFY" | "DECLARE" | "REGISTER" | "EDIT" | "DUPLICATE_DETECTED" | "REJECT" | "MARK_AS_DUPLICATE" | "MARK_AS_NOT_DUPLICATE" | "ARCHIVE" | "UNARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "READ" | "ASSIGN" | "UNASSIGN" | "CUSTOM";
1155
1155
  status: "Requested" | "Accepted" | "Rejected";
1156
- createdAtLocation?: string | null | undefined;
1157
1156
  declaration?: Record<string, unknown> | undefined;
1158
1157
  annotation?: Record<string, unknown> | undefined;
1159
1158
  originalActionId?: string | undefined;
1160
1159
  keepAssignment?: boolean | undefined;
1161
1160
  keepAssignmentIfAccepted?: boolean | undefined;
1162
1161
  keepAssignmentIfRejected?: boolean | undefined;
1162
+ createdAtLocation?: string | null | undefined;
1163
1163
  };
1164
1164
  output: {
1165
1165
  id: string & import("zod").$brand<"UUID">;
@@ -1167,13 +1167,13 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1167
1167
  transactionId: string;
1168
1168
  createdAt: string;
1169
1169
  action: {
1170
- type: "CREATE" | "NOTIFY" | "DECLARE" | "REGISTER" | "EDIT" | "DUPLICATE_DETECTED" | "REJECT" | "MARK_AS_DUPLICATE" | "MARK_AS_NOT_DUPLICATE" | "ARCHIVE" | "UNARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "READ" | "ASSIGN" | "UNASSIGN" | "CUSTOM";
1171
1170
  transactionId: string;
1172
1171
  createdByUserType: "system" | "user";
1173
1172
  createdAt: string;
1174
1173
  createdBy: string;
1175
1174
  declaration: Record<string, import("../commons").FieldUpdateValue>;
1176
1175
  status: "Requested" | "Accepted" | "Rejected";
1176
+ type: "CREATE" | "NOTIFY" | "DECLARE" | "REGISTER" | "EDIT" | "DUPLICATE_DETECTED" | "REJECT" | "MARK_AS_DUPLICATE" | "MARK_AS_NOT_DUPLICATE" | "ARCHIVE" | "UNARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "READ" | "ASSIGN" | "UNASSIGN" | "CUSTOM";
1177
1177
  createdByRole?: string | undefined;
1178
1178
  createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
1179
1179
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -1189,14 +1189,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1189
1189
  user: {
1190
1190
  id: string & import("zod").$brand<"UUID">;
1191
1191
  type: "system";
1192
- signature?: undefined;
1193
1192
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
1194
1193
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
1194
+ signature?: undefined;
1195
1195
  } | {
1196
1196
  id: string & import("zod").$brand<"UUID">;
1197
- type: "user";
1198
1197
  role: string;
1199
1198
  primaryOfficeId: string & import("zod").$brand<"UUID">;
1199
+ type: "user";
1200
1200
  signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
1201
1201
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
1202
1202
  };
@@ -1211,14 +1211,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1211
1211
  user: {
1212
1212
  id: string & import("zod").$brand<"UUID">;
1213
1213
  type: "system";
1214
- signature?: undefined;
1215
1214
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
1216
1215
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
1216
+ signature?: undefined;
1217
1217
  } | {
1218
1218
  id: string & import("zod").$brand<"UUID">;
1219
- type: "user";
1220
1219
  role: string;
1221
1220
  primaryOfficeId: string & import("zod").$brand<"UUID">;
1221
+ type: "user";
1222
1222
  signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
1223
1223
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
1224
1224
  };
@@ -1482,9 +1482,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1482
1482
  }, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
1483
1483
  eventId: string;
1484
1484
  transactionId: string;
1485
- content: {
1486
- comment?: string | undefined;
1487
- };
1488
1485
  declaration?: Record<string, unknown> | undefined;
1489
1486
  annotation?: Record<string, unknown> | undefined;
1490
1487
  originalActionId?: string | undefined;
@@ -1518,14 +1515,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1518
1515
  user: {
1519
1516
  id: string & import("zod").$brand<"UUID">;
1520
1517
  type: "system";
1521
- signature?: undefined;
1522
1518
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
1523
1519
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
1520
+ signature?: undefined;
1524
1521
  } | {
1525
1522
  id: string & import("zod").$brand<"UUID">;
1526
- type: "user";
1527
1523
  role: string;
1528
1524
  primaryOfficeId: string & import("zod").$brand<"UUID">;
1525
+ type: "user";
1529
1526
  signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
1530
1527
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
1531
1528
  };
@@ -1827,14 +1824,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1827
1824
  declaration: Record<string, import("../commons").FieldUpdateValue>;
1828
1825
  status: "Requested" | "Accepted" | "Rejected";
1829
1826
  type: "EDIT";
1830
- content: {
1831
- comment?: string | undefined;
1832
- };
1833
1827
  createdByRole?: string | undefined;
1834
1828
  createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
1835
1829
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
1836
1830
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
1837
1831
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
1832
+ content?: {
1833
+ comment?: string | undefined;
1834
+ } | undefined;
1838
1835
  } | {
1839
1836
  id: string & import("zod").$brand<"UUID">;
1840
1837
  transactionId: string;
@@ -1874,14 +1871,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1874
1871
  user: {
1875
1872
  id: string & import("zod").$brand<"UUID">;
1876
1873
  type: "system";
1877
- signature?: undefined;
1878
1874
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
1879
1875
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
1876
+ signature?: undefined;
1880
1877
  } | {
1881
1878
  id: string & import("zod").$brand<"UUID">;
1882
- type: "user";
1883
1879
  role: string;
1884
1880
  primaryOfficeId: string & import("zod").$brand<"UUID">;
1881
+ type: "user";
1885
1882
  signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
1886
1883
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
1887
1884
  };
@@ -2184,14 +2181,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
2184
2181
  declaration: Record<string, import("../commons").FieldUpdateValue>;
2185
2182
  status: "Requested" | "Accepted" | "Rejected";
2186
2183
  type: "EDIT";
2187
- content: {
2188
- comment?: string | undefined;
2189
- };
2190
2184
  createdByRole?: string | undefined;
2191
2185
  createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
2192
2186
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
2193
2187
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
2194
2188
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
2189
+ content?: {
2190
+ comment?: string | undefined;
2191
+ } | undefined;
2195
2192
  } | {
2196
2193
  id: string & import("zod").$brand<"UUID">;
2197
2194
  transactionId: string;
@@ -2474,9 +2471,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
2474
2471
  }, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
2475
2472
  eventId: string;
2476
2473
  transactionId: string;
2477
- content: {
2478
- comment?: string | undefined;
2479
- };
2480
2474
  declaration?: Record<string, unknown> | undefined;
2481
2475
  annotation?: Record<string, unknown> | undefined;
2482
2476
  originalActionId?: string | undefined;
@@ -2510,14 +2504,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
2510
2504
  user: {
2511
2505
  id: string & import("zod").$brand<"UUID">;
2512
2506
  type: "system";
2513
- signature?: undefined;
2514
2507
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
2515
2508
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
2509
+ signature?: undefined;
2516
2510
  } | {
2517
2511
  id: string & import("zod").$brand<"UUID">;
2518
- type: "user";
2519
2512
  role: string;
2520
2513
  primaryOfficeId: string & import("zod").$brand<"UUID">;
2514
+ type: "user";
2521
2515
  signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
2522
2516
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
2523
2517
  };
@@ -2781,9 +2775,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
2781
2775
  }, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
2782
2776
  eventId: string;
2783
2777
  transactionId: string;
2784
- content: {
2785
- comment?: string | undefined;
2786
- };
2787
2778
  declaration?: Record<string, unknown> | undefined;
2788
2779
  annotation?: Record<string, unknown> | undefined;
2789
2780
  originalActionId?: string | undefined;
@@ -2817,14 +2808,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
2817
2808
  user: {
2818
2809
  id: string & import("zod").$brand<"UUID">;
2819
2810
  type: "system";
2820
- signature?: undefined;
2821
2811
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
2822
2812
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
2813
+ signature?: undefined;
2823
2814
  } | {
2824
2815
  id: string & import("zod").$brand<"UUID">;
2825
- type: "user";
2826
2816
  role: string;
2827
2817
  primaryOfficeId: string & import("zod").$brand<"UUID">;
2818
+ type: "user";
2828
2819
  signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
2829
2820
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
2830
2821
  };
@@ -3088,9 +3079,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
3088
3079
  }, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
3089
3080
  eventId: string;
3090
3081
  transactionId: string;
3091
- content: {
3092
- comment?: string | undefined;
3093
- };
3094
3082
  declaration?: Record<string, unknown> | undefined;
3095
3083
  annotation?: Record<string, unknown> | undefined;
3096
3084
  originalActionId?: string | undefined;
@@ -3124,14 +3112,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
3124
3112
  user: {
3125
3113
  id: string & import("zod").$brand<"UUID">;
3126
3114
  type: "system";
3127
- signature?: undefined;
3128
3115
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
3129
3116
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
3117
+ signature?: undefined;
3130
3118
  } | {
3131
3119
  id: string & import("zod").$brand<"UUID">;
3132
- type: "user";
3133
3120
  role: string;
3134
3121
  primaryOfficeId: string & import("zod").$brand<"UUID">;
3122
+ type: "user";
3135
3123
  signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
3136
3124
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
3137
3125
  };
@@ -3395,9 +3383,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
3395
3383
  }, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
3396
3384
  eventId: string;
3397
3385
  transactionId: string;
3398
- content: {
3399
- comment?: string | undefined;
3400
- };
3401
3386
  declaration?: Record<string, unknown> | undefined;
3402
3387
  annotation?: Record<string, unknown> | undefined;
3403
3388
  originalActionId?: string | undefined;
@@ -3431,14 +3416,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
3431
3416
  user: {
3432
3417
  id: string & import("zod").$brand<"UUID">;
3433
3418
  type: "system";
3434
- signature?: undefined;
3435
3419
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
3436
3420
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
3421
+ signature?: undefined;
3437
3422
  } | {
3438
3423
  id: string & import("zod").$brand<"UUID">;
3439
- type: "user";
3440
3424
  role: string;
3441
3425
  primaryOfficeId: string & import("zod").$brand<"UUID">;
3426
+ type: "user";
3442
3427
  signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
3443
3428
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
3444
3429
  };
@@ -3702,9 +3687,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
3702
3687
  }, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
3703
3688
  eventId: string;
3704
3689
  transactionId: string;
3705
- content: {
3706
- comment?: string | undefined;
3707
- };
3708
3690
  declaration?: Record<string, unknown> | undefined;
3709
3691
  annotation?: Record<string, unknown> | undefined;
3710
3692
  originalActionId?: string | undefined;
@@ -3738,14 +3720,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
3738
3720
  user: {
3739
3721
  id: string & import("zod").$brand<"UUID">;
3740
3722
  type: "system";
3741
- signature?: undefined;
3742
3723
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
3743
3724
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
3725
+ signature?: undefined;
3744
3726
  } | {
3745
3727
  id: string & import("zod").$brand<"UUID">;
3746
- type: "user";
3747
3728
  role: string;
3748
3729
  primaryOfficeId: string & import("zod").$brand<"UUID">;
3730
+ type: "user";
3749
3731
  signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
3750
3732
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
3751
3733
  };
@@ -4009,9 +3991,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4009
3991
  }, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
4010
3992
  eventId: string;
4011
3993
  transactionId: string;
4012
- content: {
4013
- comment?: string | undefined;
4014
- };
4015
3994
  declaration?: Record<string, unknown> | undefined;
4016
3995
  annotation?: Record<string, unknown> | undefined;
4017
3996
  originalActionId?: string | undefined;
@@ -4045,14 +4024,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4045
4024
  user: {
4046
4025
  id: string & import("zod").$brand<"UUID">;
4047
4026
  type: "system";
4048
- signature?: undefined;
4049
4027
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
4050
4028
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
4029
+ signature?: undefined;
4051
4030
  } | {
4052
4031
  id: string & import("zod").$brand<"UUID">;
4053
- type: "user";
4054
4032
  role: string;
4055
4033
  primaryOfficeId: string & import("zod").$brand<"UUID">;
4034
+ type: "user";
4056
4035
  signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
4057
4036
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
4058
4037
  };
@@ -4316,9 +4295,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4316
4295
  }, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
4317
4296
  eventId: string;
4318
4297
  transactionId: string;
4319
- content: {
4320
- comment?: string | undefined;
4321
- };
4322
4298
  declaration?: Record<string, unknown> | undefined;
4323
4299
  annotation?: Record<string, unknown> | undefined;
4324
4300
  originalActionId?: string | undefined;
@@ -4352,14 +4328,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4352
4328
  user: {
4353
4329
  id: string & import("zod").$brand<"UUID">;
4354
4330
  type: "system";
4355
- signature?: undefined;
4356
4331
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
4357
4332
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
4333
+ signature?: undefined;
4358
4334
  } | {
4359
4335
  id: string & import("zod").$brand<"UUID">;
4360
- type: "user";
4361
4336
  role: string;
4362
4337
  primaryOfficeId: string & import("zod").$brand<"UUID">;
4338
+ type: "user";
4363
4339
  signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
4364
4340
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
4365
4341
  };
@@ -4663,14 +4639,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4663
4639
  declaration: Record<string, import("../commons").FieldUpdateValue>;
4664
4640
  status: "Requested" | "Accepted" | "Rejected";
4665
4641
  type: "EDIT";
4666
- content: {
4667
- comment?: string | undefined;
4668
- };
4669
4642
  createdByRole?: string | undefined;
4670
4643
  createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
4671
4644
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
4672
4645
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
4673
4646
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
4647
+ content?: {
4648
+ comment?: string | undefined;
4649
+ } | undefined;
4674
4650
  } | {
4675
4651
  id: string & import("zod").$brand<"UUID">;
4676
4652
  transactionId: string;
@@ -4953,9 +4929,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4953
4929
  }, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
4954
4930
  eventId: string;
4955
4931
  transactionId: string;
4956
- content: {
4957
- comment?: string | undefined;
4958
- };
4959
4932
  declaration?: Record<string, unknown> | undefined;
4960
4933
  annotation?: Record<string, unknown> | undefined;
4961
4934
  originalActionId?: string | undefined;
@@ -4989,14 +4962,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4989
4962
  user: {
4990
4963
  id: string & import("zod").$brand<"UUID">;
4991
4964
  type: "system";
4992
- signature?: undefined;
4993
4965
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
4994
4966
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
4967
+ signature?: undefined;
4995
4968
  } | {
4996
4969
  id: string & import("zod").$brand<"UUID">;
4997
- type: "user";
4998
4970
  role: string;
4999
4971
  primaryOfficeId: string & import("zod").$brand<"UUID">;
4972
+ type: "user";
5000
4973
  signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
5001
4974
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
5002
4975
  };
@@ -5300,14 +5273,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5300
5273
  declaration: Record<string, import("../commons").FieldUpdateValue>;
5301
5274
  status: "Requested" | "Accepted" | "Rejected";
5302
5275
  type: "EDIT";
5303
- content: {
5304
- comment?: string | undefined;
5305
- };
5306
5276
  createdByRole?: string | undefined;
5307
5277
  createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
5308
5278
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
5309
5279
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
5310
5280
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
5281
+ content?: {
5282
+ comment?: string | undefined;
5283
+ } | undefined;
5311
5284
  } | {
5312
5285
  id: string & import("zod").$brand<"UUID">;
5313
5286
  transactionId: string;
@@ -5635,14 +5608,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5635
5608
  declaration: Record<string, import("../commons").FieldUpdateValue>;
5636
5609
  status: "Requested" | "Accepted" | "Rejected";
5637
5610
  type: "EDIT";
5638
- content: {
5639
- comment?: string | undefined;
5640
- };
5641
5611
  createdByRole?: string | undefined;
5642
5612
  createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
5643
5613
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
5644
5614
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
5645
5615
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
5616
+ content?: {
5617
+ comment?: string | undefined;
5618
+ } | undefined;
5646
5619
  } | {
5647
5620
  id: string & import("zod").$brand<"UUID">;
5648
5621
  transactionId: string;
@@ -5682,14 +5655,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5682
5655
  user: {
5683
5656
  id: string & import("zod").$brand<"UUID">;
5684
5657
  type: "system";
5685
- signature?: undefined;
5686
5658
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
5687
5659
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
5660
+ signature?: undefined;
5688
5661
  } | {
5689
5662
  id: string & import("zod").$brand<"UUID">;
5690
- type: "user";
5691
5663
  role: string;
5692
5664
  primaryOfficeId: string & import("zod").$brand<"UUID">;
5665
+ type: "user";
5693
5666
  signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
5694
5667
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
5695
5668
  };
@@ -5704,14 +5677,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5704
5677
  user: {
5705
5678
  id: string & import("zod").$brand<"UUID">;
5706
5679
  type: "system";
5707
- signature?: undefined;
5708
5680
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
5709
5681
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
5682
+ signature?: undefined;
5710
5683
  } | {
5711
5684
  id: string & import("zod").$brand<"UUID">;
5712
- type: "user";
5713
5685
  role: string;
5714
5686
  primaryOfficeId: string & import("zod").$brand<"UUID">;
5687
+ type: "user";
5715
5688
  signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
5716
5689
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
5717
5690
  };
@@ -5975,9 +5948,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5975
5948
  }, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
5976
5949
  eventId: string;
5977
5950
  transactionId: string;
5978
- content: {
5979
- comment?: string | undefined;
5980
- };
5981
5951
  declaration?: Record<string, unknown> | undefined;
5982
5952
  annotation?: Record<string, unknown> | undefined;
5983
5953
  originalActionId?: string | undefined;
@@ -6011,14 +5981,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
6011
5981
  user: {
6012
5982
  id: string & import("zod").$brand<"UUID">;
6013
5983
  type: "system";
6014
- signature?: undefined;
6015
5984
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
6016
5985
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
5986
+ signature?: undefined;
6017
5987
  } | {
6018
5988
  id: string & import("zod").$brand<"UUID">;
6019
- type: "user";
6020
5989
  role: string;
6021
5990
  primaryOfficeId: string & import("zod").$brand<"UUID">;
5991
+ type: "user";
6022
5992
  signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
6023
5993
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
6024
5994
  };
@@ -6282,9 +6252,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
6282
6252
  }, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
6283
6253
  eventId: string;
6284
6254
  transactionId: string;
6285
- content: {
6286
- comment?: string | undefined;
6287
- };
6288
6255
  declaration?: Record<string, unknown> | undefined;
6289
6256
  annotation?: Record<string, unknown> | undefined;
6290
6257
  originalActionId?: string | undefined;
@@ -6318,14 +6285,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
6318
6285
  user: {
6319
6286
  id: string & import("zod").$brand<"UUID">;
6320
6287
  type: "system";
6321
- signature?: undefined;
6322
6288
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
6323
6289
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
6290
+ signature?: undefined;
6324
6291
  } | {
6325
6292
  id: string & import("zod").$brand<"UUID">;
6326
- type: "user";
6327
6293
  role: string;
6328
6294
  primaryOfficeId: string & import("zod").$brand<"UUID">;
6295
+ type: "user";
6329
6296
  signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
6330
6297
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
6331
6298
  };
@@ -6589,9 +6556,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
6589
6556
  }, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
6590
6557
  eventId: string;
6591
6558
  transactionId: string;
6592
- content: {
6593
- comment?: string | undefined;
6594
- };
6595
6559
  declaration?: Record<string, unknown> | undefined;
6596
6560
  annotation?: Record<string, unknown> | undefined;
6597
6561
  originalActionId?: string | undefined;
@@ -6626,14 +6590,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
6626
6590
  user: {
6627
6591
  id: string & import("zod").$brand<"UUID">;
6628
6592
  type: "system";
6629
- signature?: undefined;
6630
6593
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
6631
6594
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
6595
+ signature?: undefined;
6632
6596
  } | {
6633
6597
  id: string & import("zod").$brand<"UUID">;
6634
- type: "user";
6635
6598
  role: string;
6636
6599
  primaryOfficeId: string & import("zod").$brand<"UUID">;
6600
+ type: "user";
6637
6601
  signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
6638
6602
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
6639
6603
  };
@@ -6939,14 +6903,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
6939
6903
  declaration: Record<string, import("../commons").FieldUpdateValue>;
6940
6904
  status: "Requested" | "Accepted" | "Rejected";
6941
6905
  type: "EDIT";
6942
- content: {
6943
- comment?: string | undefined;
6944
- };
6945
6906
  createdByRole?: string | undefined;
6946
6907
  createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
6947
6908
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
6948
6909
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
6949
6910
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
6911
+ content?: {
6912
+ comment?: string | undefined;
6913
+ } | undefined;
6950
6914
  } | {
6951
6915
  id: string & import("zod").$brand<"UUID">;
6952
6916
  transactionId: string;
@@ -7273,14 +7237,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
7273
7237
  declaration: Record<string, import("../commons").FieldUpdateValue>;
7274
7238
  status: "Requested" | "Accepted" | "Rejected";
7275
7239
  type: "EDIT";
7276
- content: {
7277
- comment?: string | undefined;
7278
- };
7279
7240
  createdByRole?: string | undefined;
7280
7241
  createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
7281
7242
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
7282
7243
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
7283
7244
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
7245
+ content?: {
7246
+ comment?: string | undefined;
7247
+ } | undefined;
7284
7248
  } | {
7285
7249
  id: string & import("zod").$brand<"UUID">;
7286
7250
  transactionId: string;
@@ -7326,7 +7290,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
7326
7290
  results: {
7327
7291
  id: string & import("zod").$brand<"UUID">;
7328
7292
  type: string;
7329
- status: "CREATED" | "NOTIFIED" | "DECLARED" | "REGISTERED" | "ARCHIVED";
7293
+ status: "ARCHIVED" | "CREATED" | "DECLARED" | "NOTIFIED" | "REGISTERED";
7330
7294
  legalStatuses: {
7331
7295
  NOTIFIED?: {
7332
7296
  createdAt: string;
@@ -7658,14 +7622,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
7658
7622
  declaration: Record<string, unknown>;
7659
7623
  status: "Requested" | "Accepted" | "Rejected";
7660
7624
  type: "EDIT";
7661
- content: {
7662
- comment?: string | undefined;
7663
- };
7664
7625
  createdByRole?: string | undefined;
7665
7626
  createdBySignature?: string | null | undefined;
7666
7627
  createdAtLocation?: string | null | undefined;
7667
7628
  annotation?: Record<string, unknown> | null | undefined;
7668
7629
  originalActionId?: string | null | undefined;
7630
+ content?: {
7631
+ comment?: string | undefined;
7632
+ } | undefined;
7669
7633
  } | {
7670
7634
  id: string;
7671
7635
  transactionId: string;
@@ -7706,14 +7670,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
7706
7670
  user: {
7707
7671
  id: string & import("zod").$brand<"UUID">;
7708
7672
  type: "system";
7709
- signature?: undefined;
7710
7673
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
7711
7674
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
7675
+ signature?: undefined;
7712
7676
  } | {
7713
7677
  id: string & import("zod").$brand<"UUID">;
7714
- type: "user";
7715
7678
  role: string;
7716
7679
  primaryOfficeId: string & import("zod").$brand<"UUID">;
7680
+ type: "user";
7717
7681
  signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
7718
7682
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
7719
7683
  };
@@ -7764,11 +7728,11 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
7764
7728
  };
7765
7729
  role: string;
7766
7730
  primaryOfficeId: string;
7767
- data?: Record<string, unknown> | undefined;
7768
- fullHonorificName?: string | undefined;
7769
7731
  device?: string | undefined;
7770
- email?: string | undefined;
7732
+ fullHonorificName?: string | undefined;
7771
7733
  mobile?: string | undefined;
7734
+ email?: string | undefined;
7735
+ data?: Record<string, unknown> | undefined;
7772
7736
  username?: undefined;
7773
7737
  password?: undefined;
7774
7738
  signature?: {
@@ -7801,17 +7765,17 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
7801
7765
  update: import("@trpc/server").TRPCMutationProcedure<{
7802
7766
  input: {
7803
7767
  id: string;
7804
- data?: Record<string, unknown> | undefined;
7805
7768
  name?: {
7806
7769
  firstname: string;
7807
7770
  surname: string;
7808
7771
  } | undefined;
7809
7772
  role?: string | undefined;
7810
- fullHonorificName?: string | undefined;
7811
- device?: string | undefined;
7812
7773
  primaryOfficeId?: string | undefined;
7813
- email?: string | undefined;
7774
+ device?: string | undefined;
7775
+ fullHonorificName?: string | undefined;
7814
7776
  mobile?: string | undefined;
7777
+ email?: string | undefined;
7778
+ data?: Record<string, unknown> | undefined;
7815
7779
  signature?: {
7816
7780
  path: string;
7817
7781
  originalFilename: string;
@@ -7844,20 +7808,20 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
7844
7808
  input: string[];
7845
7809
  output: ({
7846
7810
  id: string & import("zod").$brand<"UUID">;
7847
- type: "user";
7848
7811
  name: {
7849
7812
  firstname: string;
7850
7813
  surname: string;
7851
7814
  };
7852
7815
  role: string;
7853
7816
  primaryOfficeId: string & import("zod").$brand<"UUID">;
7854
- fullHonorificName?: string | undefined;
7817
+ type: "user";
7855
7818
  avatar?: (string & import("zod").$brand<"DocumentPath">) | undefined;
7856
7819
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
7820
+ fullHonorificName?: string | undefined;
7857
7821
  } | {
7858
7822
  id: string & import("zod").$brand<"UUID">;
7859
- type: "system";
7860
7823
  name: string;
7824
+ type: "system";
7861
7825
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
7862
7826
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
7863
7827
  })[];
@@ -7877,21 +7841,21 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
7877
7841
  };
7878
7842
  output: ({
7879
7843
  id: string & import("zod").$brand<"UUID">;
7880
- type: "user";
7881
7844
  name: {
7882
7845
  firstname: string;
7883
7846
  surname: string;
7884
7847
  };
7885
7848
  role: string;
7886
7849
  primaryOfficeId: string & import("zod").$brand<"UUID">;
7850
+ type: "user";
7887
7851
  status: "active" | "pending" | "deactivated";
7888
- fullHonorificName?: string | undefined;
7889
7852
  avatar?: (string & import("zod").$brand<"DocumentPath">) | undefined;
7890
7853
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
7854
+ fullHonorificName?: string | undefined;
7891
7855
  } | {
7892
7856
  id: string & import("zod").$brand<"UUID">;
7893
- type: "system";
7894
7857
  name: string;
7858
+ type: "system";
7895
7859
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
7896
7860
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
7897
7861
  status?: "active" | "pending" | "deactivated" | undefined;
@@ -7942,14 +7906,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
7942
7906
  user: {
7943
7907
  id: string & import("zod").$brand<"UUID">;
7944
7908
  type: "system";
7945
- signature?: undefined;
7946
7909
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
7947
7910
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
7911
+ signature?: undefined;
7948
7912
  } | {
7949
7913
  id: string & import("zod").$brand<"UUID">;
7950
- type: "user";
7951
7914
  role: string;
7952
7915
  primaryOfficeId: string & import("zod").$brand<"UUID">;
7916
+ type: "user";
7953
7917
  signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
7954
7918
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
7955
7919
  };
@@ -8066,14 +8030,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
8066
8030
  user: {
8067
8031
  id: string & import("zod").$brand<"UUID">;
8068
8032
  type: "system";
8069
- signature?: undefined;
8070
8033
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
8071
8034
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
8035
+ signature?: undefined;
8072
8036
  } | {
8073
8037
  id: string & import("zod").$brand<"UUID">;
8074
- type: "user";
8075
8038
  role: string;
8076
8039
  primaryOfficeId: string & import("zod").$brand<"UUID">;
8040
+ type: "user";
8077
8041
  signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
8078
8042
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
8079
8043
  };
@@ -8180,7 +8144,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
8180
8144
  clientId: string;
8181
8145
  clientType: "system" | "user";
8182
8146
  createdAt: string;
8183
- 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.unarchive.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";
8147
+ 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.unarchive.request" | "event.actions.unassign.request" | "event.actions.validate.request";
8184
8148
  requestData: {
8185
8149
  eventId: string;
8186
8150
  actionType: string;
@@ -8359,14 +8323,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
8359
8323
  user: {
8360
8324
  id: string & import("zod").$brand<"UUID">;
8361
8325
  type: "system";
8362
- signature?: undefined;
8363
8326
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
8364
8327
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
8328
+ signature?: undefined;
8365
8329
  } | {
8366
8330
  id: string & import("zod").$brand<"UUID">;
8367
- type: "user";
8368
8331
  role: string;
8369
8332
  primaryOfficeId: string & import("zod").$brand<"UUID">;
8333
+ type: "user";
8370
8334
  signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
8371
8335
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
8372
8336
  };
@@ -8432,14 +8396,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
8432
8396
  user: {
8433
8397
  id: string & import("zod").$brand<"UUID">;
8434
8398
  type: "system";
8435
- signature?: undefined;
8436
8399
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
8437
8400
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
8401
+ signature?: undefined;
8438
8402
  } | {
8439
8403
  id: string & import("zod").$brand<"UUID">;
8440
- type: "user";
8441
8404
  role: string;
8442
8405
  primaryOfficeId: string & import("zod").$brand<"UUID">;
8406
+ type: "user";
8443
8407
  signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
8444
8408
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
8445
8409
  };
@@ -8454,14 +8418,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
8454
8418
  user: {
8455
8419
  id: string & import("zod").$brand<"UUID">;
8456
8420
  type: "system";
8457
- signature?: undefined;
8458
8421
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
8459
8422
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
8423
+ signature?: undefined;
8460
8424
  } | {
8461
8425
  id: string & import("zod").$brand<"UUID">;
8462
- type: "user";
8463
8426
  role: string;
8464
8427
  primaryOfficeId: string & import("zod").$brand<"UUID">;
8428
+ type: "user";
8465
8429
  signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
8466
8430
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
8467
8431
  };
@@ -8485,10 +8449,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
8485
8449
  eventType?: string | undefined;
8486
8450
  status?: {
8487
8451
  type: "anyOf";
8488
- terms: ("CREATED" | "NOTIFIED" | "DECLARED" | "REGISTERED" | "ARCHIVED")[];
8452
+ terms: ("ARCHIVED" | "CREATED" | "DECLARED" | "NOTIFIED" | "REGISTERED")[];
8489
8453
  } | {
8490
8454
  type: "exact";
8491
- term: "CREATED" | "NOTIFIED" | "DECLARED" | "REGISTERED" | "ARCHIVED";
8455
+ term: "ARCHIVED" | "CREATED" | "DECLARED" | "NOTIFIED" | "REGISTERED";
8492
8456
  } | undefined;
8493
8457
  createdAt?: {
8494
8458
  type: "exact";
@@ -8499,7 +8463,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
8499
8463
  lte: string;
8500
8464
  } | {
8501
8465
  type: "timePeriod";
8502
- term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
8466
+ term: "last30Days" | "last365Days" | "last7Days" | "last90Days";
8503
8467
  } | undefined;
8504
8468
  updatedAt?: {
8505
8469
  type: "exact";
@@ -8510,12 +8474,12 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
8510
8474
  lte: string;
8511
8475
  } | {
8512
8476
  type: "timePeriod";
8513
- term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
8477
+ term: "last30Days" | "last365Days" | "last7Days" | "last90Days";
8514
8478
  } | undefined;
8515
8479
  'legalStatuses.DECLARED.createdAtLocation'?: {
8516
8480
  type: "within";
8517
8481
  location: string | {
8518
- $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "signature" | "avatar";
8482
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "avatar" | "signature";
8519
8483
  $location?: string | undefined;
8520
8484
  };
8521
8485
  } | undefined;
@@ -8532,12 +8496,12 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
8532
8496
  lte: string;
8533
8497
  } | {
8534
8498
  type: "timePeriod";
8535
- term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
8499
+ term: "last30Days" | "last365Days" | "last7Days" | "last90Days";
8536
8500
  } | undefined;
8537
8501
  'legalStatuses.REGISTERED.createdAtLocation'?: {
8538
8502
  type: "within";
8539
8503
  location: string | {
8540
- $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "signature" | "avatar";
8504
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "avatar" | "signature";
8541
8505
  $location?: string | undefined;
8542
8506
  };
8543
8507
  } | undefined;
@@ -8552,47 +8516,47 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
8552
8516
  createdAtLocation?: {
8553
8517
  type: "within";
8554
8518
  location: string | {
8555
- $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "signature" | "avatar";
8519
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "avatar" | "signature";
8556
8520
  $location?: string | undefined;
8557
8521
  };
8558
8522
  } | {
8559
8523
  type: "exact";
8560
8524
  term: string | {
8561
- $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "signature" | "avatar";
8525
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "avatar" | "signature";
8562
8526
  $location?: string | undefined;
8563
8527
  };
8564
8528
  } | undefined;
8565
8529
  updatedAtLocation?: {
8566
8530
  type: "within";
8567
8531
  location: string | {
8568
- $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "signature" | "avatar";
8532
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "avatar" | "signature";
8569
8533
  $location?: string | undefined;
8570
8534
  };
8571
8535
  } | {
8572
8536
  type: "exact";
8573
8537
  term: string | {
8574
- $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "signature" | "avatar";
8538
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "avatar" | "signature";
8575
8539
  $location?: string | undefined;
8576
8540
  };
8577
8541
  } | undefined;
8578
8542
  updatedByUserRole?: {
8579
8543
  type: "exact";
8580
8544
  term: string | {
8581
- $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "signature" | "avatar";
8545
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "avatar" | "signature";
8582
8546
  $location?: string | undefined;
8583
8547
  };
8584
8548
  } | undefined;
8585
8549
  assignedTo?: {
8586
8550
  type: "exact";
8587
8551
  term: string | {
8588
- $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "signature" | "avatar";
8552
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "avatar" | "signature";
8589
8553
  $location?: string | undefined;
8590
8554
  };
8591
8555
  } | undefined;
8592
8556
  createdBy?: {
8593
8557
  type: "exact";
8594
8558
  term: string | {
8595
- $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "signature" | "avatar";
8559
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "avatar" | "signature";
8596
8560
  $location?: string | undefined;
8597
8561
  };
8598
8562
  } | undefined;
@@ -8603,7 +8567,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
8603
8567
  updatedBy?: {
8604
8568
  type: "exact";
8605
8569
  term: string | {
8606
- $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "signature" | "avatar";
8570
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "avatar" | "signature";
8607
8571
  $location?: string | undefined;
8608
8572
  };
8609
8573
  } | undefined;
@@ -8624,10 +8588,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
8624
8588
  eventType?: string | undefined;
8625
8589
  status?: {
8626
8590
  type: "anyOf";
8627
- terms: ("CREATED" | "NOTIFIED" | "DECLARED" | "REGISTERED" | "ARCHIVED")[];
8591
+ terms: ("ARCHIVED" | "CREATED" | "DECLARED" | "NOTIFIED" | "REGISTERED")[];
8628
8592
  } | {
8629
8593
  type: "exact";
8630
- term: "CREATED" | "NOTIFIED" | "DECLARED" | "REGISTERED" | "ARCHIVED";
8594
+ term: "ARCHIVED" | "CREATED" | "DECLARED" | "NOTIFIED" | "REGISTERED";
8631
8595
  } | undefined;
8632
8596
  createdAt?: {
8633
8597
  type: "exact";
@@ -8638,7 +8602,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
8638
8602
  lte: string;
8639
8603
  } | {
8640
8604
  type: "timePeriod";
8641
- term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
8605
+ term: "last30Days" | "last365Days" | "last7Days" | "last90Days";
8642
8606
  } | undefined;
8643
8607
  updatedAt?: {
8644
8608
  type: "exact";
@@ -8649,12 +8613,12 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
8649
8613
  lte: string;
8650
8614
  } | {
8651
8615
  type: "timePeriod";
8652
- term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
8616
+ term: "last30Days" | "last365Days" | "last7Days" | "last90Days";
8653
8617
  } | undefined;
8654
8618
  'legalStatuses.DECLARED.createdAtLocation'?: {
8655
8619
  type: "within";
8656
8620
  location: string | {
8657
- $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "signature" | "avatar";
8621
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "avatar" | "signature";
8658
8622
  $location?: string | undefined;
8659
8623
  };
8660
8624
  } | undefined;
@@ -8671,12 +8635,12 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
8671
8635
  lte: string;
8672
8636
  } | {
8673
8637
  type: "timePeriod";
8674
- term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
8638
+ term: "last30Days" | "last365Days" | "last7Days" | "last90Days";
8675
8639
  } | undefined;
8676
8640
  'legalStatuses.REGISTERED.createdAtLocation'?: {
8677
8641
  type: "within";
8678
8642
  location: string | {
8679
- $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "signature" | "avatar";
8643
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "avatar" | "signature";
8680
8644
  $location?: string | undefined;
8681
8645
  };
8682
8646
  } | undefined;
@@ -8691,47 +8655,47 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
8691
8655
  createdAtLocation?: {
8692
8656
  type: "within";
8693
8657
  location: string | {
8694
- $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "signature" | "avatar";
8658
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "avatar" | "signature";
8695
8659
  $location?: string | undefined;
8696
8660
  };
8697
8661
  } | {
8698
8662
  type: "exact";
8699
8663
  term: string | {
8700
- $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "signature" | "avatar";
8664
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "avatar" | "signature";
8701
8665
  $location?: string | undefined;
8702
8666
  };
8703
8667
  } | undefined;
8704
8668
  updatedAtLocation?: {
8705
8669
  type: "within";
8706
8670
  location: string | {
8707
- $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "signature" | "avatar";
8671
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "avatar" | "signature";
8708
8672
  $location?: string | undefined;
8709
8673
  };
8710
8674
  } | {
8711
8675
  type: "exact";
8712
8676
  term: string | {
8713
- $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "signature" | "avatar";
8677
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "avatar" | "signature";
8714
8678
  $location?: string | undefined;
8715
8679
  };
8716
8680
  } | undefined;
8717
8681
  updatedByUserRole?: {
8718
8682
  type: "exact";
8719
8683
  term: string | {
8720
- $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "signature" | "avatar";
8684
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "avatar" | "signature";
8721
8685
  $location?: string | undefined;
8722
8686
  };
8723
8687
  } | undefined;
8724
8688
  assignedTo?: {
8725
8689
  type: "exact";
8726
8690
  term: string | {
8727
- $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "signature" | "avatar";
8691
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "avatar" | "signature";
8728
8692
  $location?: string | undefined;
8729
8693
  };
8730
8694
  } | undefined;
8731
8695
  createdBy?: {
8732
8696
  type: "exact";
8733
8697
  term: string | {
8734
- $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "signature" | "avatar";
8698
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "avatar" | "signature";
8735
8699
  $location?: string | undefined;
8736
8700
  };
8737
8701
  } | undefined;
@@ -8742,7 +8706,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
8742
8706
  updatedBy?: {
8743
8707
  type: "exact";
8744
8708
  term: string | {
8745
- $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "signature" | "avatar";
8709
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "avatar" | "signature";
8746
8710
  $location?: string | undefined;
8747
8711
  };
8748
8712
  } | undefined;
@@ -8768,7 +8732,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
8768
8732
  $event: "id" | "createdBy" | "createdAt" | "status" | "createdByUserType" | "createdAtLocation" | "updatedAt" | "assignedTo" | "trackingId" | "type" | "flags" | "dateOfEvent" | "placeOfEvent" | "title" | "legalStatuses" | "updatedByUserRole" | "updatedAtLocation" | "updatedBy" | "outbox";
8769
8733
  };
8770
8734
  }[];
8771
- 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";
8735
+ 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";
8772
8736
  action?: {
8773
8737
  type: "DELETE" | "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "MARK_AS_DUPLICATE" | "ARCHIVE" | "UNARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "READ";
8774
8738
  } | undefined;
@@ -8796,14 +8760,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
8796
8760
  user: {
8797
8761
  id: string & import("zod").$brand<"UUID">;
8798
8762
  type: "system";
8799
- signature?: undefined;
8800
8763
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
8801
8764
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
8765
+ signature?: undefined;
8802
8766
  } | {
8803
8767
  id: string & import("zod").$brand<"UUID">;
8804
- type: "user";
8805
8768
  role: string;
8806
8769
  primaryOfficeId: string & import("zod").$brand<"UUID">;
8770
+ type: "user";
8807
8771
  signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
8808
8772
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
8809
8773
  };
@@ -8844,14 +8808,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
8844
8808
  user: {
8845
8809
  id: string & import("zod").$brand<"UUID">;
8846
8810
  type: "system";
8847
- signature?: undefined;
8848
8811
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
8849
8812
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
8813
+ signature?: undefined;
8850
8814
  } | {
8851
8815
  id: string & import("zod").$brand<"UUID">;
8852
- type: "user";
8853
8816
  role: string;
8854
8817
  primaryOfficeId: string & import("zod").$brand<"UUID">;
8818
+ type: "user";
8855
8819
  signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
8856
8820
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
8857
8821
  };
@@ -8962,14 +8926,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
8962
8926
  user: {
8963
8927
  id: string & import("zod").$brand<"UUID">;
8964
8928
  type: "system";
8965
- signature?: undefined;
8966
8929
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
8967
8930
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
8931
+ signature?: undefined;
8968
8932
  } | {
8969
8933
  id: string & import("zod").$brand<"UUID">;
8970
- type: "user";
8971
8934
  role: string;
8972
8935
  primaryOfficeId: string & import("zod").$brand<"UUID">;
8936
+ type: "user";
8973
8937
  signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
8974
8938
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
8975
8939
  };
@@ -8997,14 +8961,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
8997
8961
  user: {
8998
8962
  id: string & import("zod").$brand<"UUID">;
8999
8963
  type: "system";
9000
- signature?: undefined;
9001
8964
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
9002
8965
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
8966
+ signature?: undefined;
9003
8967
  } | {
9004
8968
  id: string & import("zod").$brand<"UUID">;
9005
- type: "user";
9006
8969
  role: string;
9007
8970
  primaryOfficeId: string & import("zod").$brand<"UUID">;
8971
+ type: "user";
9008
8972
  signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
9009
8973
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
9010
8974
  };