@opencrvs/toolkit 2.1.0-rc.05eb1de → 2.1.0-rc.1b9e49f

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.
@@ -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;
7
8
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
8
9
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
9
- signature?: undefined;
10
10
  } | {
11
11
  id: string & import("zod").$brand<"UUID">;
12
+ type: "user";
12
13
  role: string;
13
14
  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;
29
30
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
30
31
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
31
- signature?: undefined;
32
32
  } | {
33
33
  id: string & import("zod").$brand<"UUID">;
34
+ type: "user";
34
35
  role: string;
35
36
  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;
51
52
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
52
53
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
53
- signature?: undefined;
54
54
  } | {
55
55
  id: string & import("zod").$brand<"UUID">;
56
+ type: "user";
56
57
  role: string;
57
58
  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;
97
98
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
98
99
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
99
- signature?: undefined;
100
100
  } | {
101
101
  id: string & import("zod").$brand<"UUID">;
102
+ type: "user";
102
103
  role: string;
103
104
  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
  };
@@ -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;
1111
1112
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
1112
1113
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
1113
- signature?: undefined;
1114
1114
  } | {
1115
1115
  id: string & import("zod").$brand<"UUID">;
1116
+ type: "user";
1116
1117
  role: string;
1117
1118
  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";
1135
1136
  transactionId: string;
1136
1137
  createdByUserType: "system" | "user";
1137
1138
  createdAt: string;
1138
1139
  createdBy: string;
1139
1140
  declaration: Record<string, import("../commons").FieldUpdateValue>;
1140
1141
  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
- eventId: string;
1153
1152
  transactionId: string;
1153
+ eventId: 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;
1156
1157
  declaration?: Record<string, unknown> | undefined;
1157
1158
  annotation?: Record<string, unknown> | undefined;
1158
1159
  originalActionId?: string | undefined;
1159
1160
  keepAssignment?: boolean | undefined;
1160
1161
  keepAssignmentIfAccepted?: boolean | undefined;
1161
1162
  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";
1170
1171
  transactionId: string;
1171
1172
  createdByUserType: "system" | "user";
1172
1173
  createdAt: string;
1173
1174
  createdBy: string;
1174
1175
  declaration: Record<string, import("../commons").FieldUpdateValue>;
1175
1176
  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;
1192
1193
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
1193
1194
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
1194
- signature?: undefined;
1195
1195
  } | {
1196
1196
  id: string & import("zod").$brand<"UUID">;
1197
+ type: "user";
1197
1198
  role: string;
1198
1199
  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;
1214
1215
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
1215
1216
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
1216
- signature?: undefined;
1217
1217
  } | {
1218
1218
  id: string & import("zod").$brand<"UUID">;
1219
+ type: "user";
1219
1220
  role: string;
1220
1221
  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
  };
@@ -1518,14 +1518,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1518
1518
  user: {
1519
1519
  id: string & import("zod").$brand<"UUID">;
1520
1520
  type: "system";
1521
+ signature?: undefined;
1521
1522
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
1522
1523
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
1523
- signature?: undefined;
1524
1524
  } | {
1525
1525
  id: string & import("zod").$brand<"UUID">;
1526
+ type: "user";
1526
1527
  role: string;
1527
1528
  primaryOfficeId: string & import("zod").$brand<"UUID">;
1528
- type: "user";
1529
1529
  signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
1530
1530
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
1531
1531
  };
@@ -1874,14 +1874,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1874
1874
  user: {
1875
1875
  id: string & import("zod").$brand<"UUID">;
1876
1876
  type: "system";
1877
+ signature?: undefined;
1877
1878
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
1878
1879
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
1879
- signature?: undefined;
1880
1880
  } | {
1881
1881
  id: string & import("zod").$brand<"UUID">;
1882
+ type: "user";
1882
1883
  role: string;
1883
1884
  primaryOfficeId: string & import("zod").$brand<"UUID">;
1884
- type: "user";
1885
1885
  signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
1886
1886
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
1887
1887
  };
@@ -2510,14 +2510,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
2510
2510
  user: {
2511
2511
  id: string & import("zod").$brand<"UUID">;
2512
2512
  type: "system";
2513
+ signature?: undefined;
2513
2514
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
2514
2515
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
2515
- signature?: undefined;
2516
2516
  } | {
2517
2517
  id: string & import("zod").$brand<"UUID">;
2518
+ type: "user";
2518
2519
  role: string;
2519
2520
  primaryOfficeId: string & import("zod").$brand<"UUID">;
2520
- type: "user";
2521
2521
  signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
2522
2522
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
2523
2523
  };
@@ -2817,14 +2817,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
2817
2817
  user: {
2818
2818
  id: string & import("zod").$brand<"UUID">;
2819
2819
  type: "system";
2820
+ signature?: undefined;
2820
2821
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
2821
2822
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
2822
- signature?: undefined;
2823
2823
  } | {
2824
2824
  id: string & import("zod").$brand<"UUID">;
2825
+ type: "user";
2825
2826
  role: string;
2826
2827
  primaryOfficeId: string & import("zod").$brand<"UUID">;
2827
- type: "user";
2828
2828
  signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
2829
2829
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
2830
2830
  };
@@ -3124,14 +3124,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
3124
3124
  user: {
3125
3125
  id: string & import("zod").$brand<"UUID">;
3126
3126
  type: "system";
3127
+ signature?: undefined;
3127
3128
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
3128
3129
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
3129
- signature?: undefined;
3130
3130
  } | {
3131
3131
  id: string & import("zod").$brand<"UUID">;
3132
+ type: "user";
3132
3133
  role: string;
3133
3134
  primaryOfficeId: string & import("zod").$brand<"UUID">;
3134
- type: "user";
3135
3135
  signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
3136
3136
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
3137
3137
  };
@@ -3431,14 +3431,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
3431
3431
  user: {
3432
3432
  id: string & import("zod").$brand<"UUID">;
3433
3433
  type: "system";
3434
+ signature?: undefined;
3434
3435
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
3435
3436
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
3436
- signature?: undefined;
3437
3437
  } | {
3438
3438
  id: string & import("zod").$brand<"UUID">;
3439
+ type: "user";
3439
3440
  role: string;
3440
3441
  primaryOfficeId: string & import("zod").$brand<"UUID">;
3441
- type: "user";
3442
3442
  signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
3443
3443
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
3444
3444
  };
@@ -3738,14 +3738,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
3738
3738
  user: {
3739
3739
  id: string & import("zod").$brand<"UUID">;
3740
3740
  type: "system";
3741
+ signature?: undefined;
3741
3742
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
3742
3743
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
3743
- signature?: undefined;
3744
3744
  } | {
3745
3745
  id: string & import("zod").$brand<"UUID">;
3746
+ type: "user";
3746
3747
  role: string;
3747
3748
  primaryOfficeId: string & import("zod").$brand<"UUID">;
3748
- type: "user";
3749
3749
  signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
3750
3750
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
3751
3751
  };
@@ -4045,14 +4045,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4045
4045
  user: {
4046
4046
  id: string & import("zod").$brand<"UUID">;
4047
4047
  type: "system";
4048
+ signature?: undefined;
4048
4049
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
4049
4050
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
4050
- signature?: undefined;
4051
4051
  } | {
4052
4052
  id: string & import("zod").$brand<"UUID">;
4053
+ type: "user";
4053
4054
  role: string;
4054
4055
  primaryOfficeId: string & import("zod").$brand<"UUID">;
4055
- type: "user";
4056
4056
  signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
4057
4057
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
4058
4058
  };
@@ -4352,14 +4352,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4352
4352
  user: {
4353
4353
  id: string & import("zod").$brand<"UUID">;
4354
4354
  type: "system";
4355
+ signature?: undefined;
4355
4356
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
4356
4357
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
4357
- signature?: undefined;
4358
4358
  } | {
4359
4359
  id: string & import("zod").$brand<"UUID">;
4360
+ type: "user";
4360
4361
  role: string;
4361
4362
  primaryOfficeId: string & import("zod").$brand<"UUID">;
4362
- type: "user";
4363
4363
  signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
4364
4364
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
4365
4365
  };
@@ -4989,14 +4989,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4989
4989
  user: {
4990
4990
  id: string & import("zod").$brand<"UUID">;
4991
4991
  type: "system";
4992
+ signature?: undefined;
4992
4993
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
4993
4994
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
4994
- signature?: undefined;
4995
4995
  } | {
4996
4996
  id: string & import("zod").$brand<"UUID">;
4997
+ type: "user";
4997
4998
  role: string;
4998
4999
  primaryOfficeId: string & import("zod").$brand<"UUID">;
4999
- type: "user";
5000
5000
  signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
5001
5001
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
5002
5002
  };
@@ -5682,14 +5682,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5682
5682
  user: {
5683
5683
  id: string & import("zod").$brand<"UUID">;
5684
5684
  type: "system";
5685
+ signature?: undefined;
5685
5686
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
5686
5687
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
5687
- signature?: undefined;
5688
5688
  } | {
5689
5689
  id: string & import("zod").$brand<"UUID">;
5690
+ type: "user";
5690
5691
  role: string;
5691
5692
  primaryOfficeId: string & import("zod").$brand<"UUID">;
5692
- type: "user";
5693
5693
  signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
5694
5694
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
5695
5695
  };
@@ -5704,14 +5704,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5704
5704
  user: {
5705
5705
  id: string & import("zod").$brand<"UUID">;
5706
5706
  type: "system";
5707
+ signature?: undefined;
5707
5708
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
5708
5709
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
5709
- signature?: undefined;
5710
5710
  } | {
5711
5711
  id: string & import("zod").$brand<"UUID">;
5712
+ type: "user";
5712
5713
  role: string;
5713
5714
  primaryOfficeId: string & import("zod").$brand<"UUID">;
5714
- type: "user";
5715
5715
  signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
5716
5716
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
5717
5717
  };
@@ -6011,14 +6011,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
6011
6011
  user: {
6012
6012
  id: string & import("zod").$brand<"UUID">;
6013
6013
  type: "system";
6014
+ signature?: undefined;
6014
6015
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
6015
6016
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
6016
- signature?: undefined;
6017
6017
  } | {
6018
6018
  id: string & import("zod").$brand<"UUID">;
6019
+ type: "user";
6019
6020
  role: string;
6020
6021
  primaryOfficeId: string & import("zod").$brand<"UUID">;
6021
- type: "user";
6022
6022
  signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
6023
6023
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
6024
6024
  };
@@ -6318,14 +6318,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
6318
6318
  user: {
6319
6319
  id: string & import("zod").$brand<"UUID">;
6320
6320
  type: "system";
6321
+ signature?: undefined;
6321
6322
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
6322
6323
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
6323
- signature?: undefined;
6324
6324
  } | {
6325
6325
  id: string & import("zod").$brand<"UUID">;
6326
+ type: "user";
6326
6327
  role: string;
6327
6328
  primaryOfficeId: string & import("zod").$brand<"UUID">;
6328
- type: "user";
6329
6329
  signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
6330
6330
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
6331
6331
  };
@@ -6626,14 +6626,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
6626
6626
  user: {
6627
6627
  id: string & import("zod").$brand<"UUID">;
6628
6628
  type: "system";
6629
+ signature?: undefined;
6629
6630
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
6630
6631
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
6631
- signature?: undefined;
6632
6632
  } | {
6633
6633
  id: string & import("zod").$brand<"UUID">;
6634
+ type: "user";
6634
6635
  role: string;
6635
6636
  primaryOfficeId: string & import("zod").$brand<"UUID">;
6636
- type: "user";
6637
6637
  signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
6638
6638
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
6639
6639
  };
@@ -7326,7 +7326,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
7326
7326
  results: {
7327
7327
  id: string & import("zod").$brand<"UUID">;
7328
7328
  type: string;
7329
- status: "ARCHIVED" | "CREATED" | "DECLARED" | "NOTIFIED" | "REGISTERED";
7329
+ status: "CREATED" | "NOTIFIED" | "DECLARED" | "REGISTERED" | "ARCHIVED";
7330
7330
  legalStatuses: {
7331
7331
  NOTIFIED?: {
7332
7332
  createdAt: string;
@@ -7706,14 +7706,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
7706
7706
  user: {
7707
7707
  id: string & import("zod").$brand<"UUID">;
7708
7708
  type: "system";
7709
+ signature?: undefined;
7709
7710
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
7710
7711
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
7711
- signature?: undefined;
7712
7712
  } | {
7713
7713
  id: string & import("zod").$brand<"UUID">;
7714
+ type: "user";
7714
7715
  role: string;
7715
7716
  primaryOfficeId: string & import("zod").$brand<"UUID">;
7716
- type: "user";
7717
7717
  signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
7718
7718
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
7719
7719
  };
@@ -7764,11 +7764,11 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
7764
7764
  };
7765
7765
  role: string;
7766
7766
  primaryOfficeId: string;
7767
- device?: string | undefined;
7767
+ data?: Record<string, unknown> | undefined;
7768
7768
  fullHonorificName?: string | undefined;
7769
- mobile?: string | undefined;
7769
+ device?: string | undefined;
7770
7770
  email?: string | undefined;
7771
- data?: Record<string, unknown> | undefined;
7771
+ mobile?: string | undefined;
7772
7772
  username?: undefined;
7773
7773
  password?: undefined;
7774
7774
  signature?: {
@@ -7801,17 +7801,17 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
7801
7801
  update: import("@trpc/server").TRPCMutationProcedure<{
7802
7802
  input: {
7803
7803
  id: string;
7804
+ data?: Record<string, unknown> | undefined;
7804
7805
  name?: {
7805
7806
  firstname: string;
7806
7807
  surname: string;
7807
7808
  } | undefined;
7808
7809
  role?: string | undefined;
7809
- primaryOfficeId?: string | undefined;
7810
- device?: string | undefined;
7811
7810
  fullHonorificName?: string | undefined;
7812
- mobile?: string | undefined;
7811
+ device?: string | undefined;
7812
+ primaryOfficeId?: string | undefined;
7813
7813
  email?: string | undefined;
7814
- data?: Record<string, unknown> | undefined;
7814
+ mobile?: string | undefined;
7815
7815
  signature?: {
7816
7816
  path: string;
7817
7817
  originalFilename: string;
@@ -7844,20 +7844,20 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
7844
7844
  input: string[];
7845
7845
  output: ({
7846
7846
  id: string & import("zod").$brand<"UUID">;
7847
+ type: "user";
7847
7848
  name: {
7848
7849
  firstname: string;
7849
7850
  surname: string;
7850
7851
  };
7851
7852
  role: string;
7852
7853
  primaryOfficeId: string & import("zod").$brand<"UUID">;
7853
- type: "user";
7854
+ fullHonorificName?: string | undefined;
7854
7855
  avatar?: (string & import("zod").$brand<"DocumentPath">) | undefined;
7855
7856
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
7856
- fullHonorificName?: string | undefined;
7857
7857
  } | {
7858
7858
  id: string & import("zod").$brand<"UUID">;
7859
- name: string;
7860
7859
  type: "system";
7860
+ name: string;
7861
7861
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
7862
7862
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
7863
7863
  })[];
@@ -7877,21 +7877,21 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
7877
7877
  };
7878
7878
  output: ({
7879
7879
  id: string & import("zod").$brand<"UUID">;
7880
+ type: "user";
7880
7881
  name: {
7881
7882
  firstname: string;
7882
7883
  surname: string;
7883
7884
  };
7884
7885
  role: string;
7885
7886
  primaryOfficeId: string & import("zod").$brand<"UUID">;
7886
- type: "user";
7887
7887
  status: "active" | "pending" | "deactivated";
7888
+ fullHonorificName?: string | undefined;
7888
7889
  avatar?: (string & import("zod").$brand<"DocumentPath">) | undefined;
7889
7890
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
7890
- fullHonorificName?: string | undefined;
7891
7891
  } | {
7892
7892
  id: string & import("zod").$brand<"UUID">;
7893
- name: string;
7894
7893
  type: "system";
7894
+ name: string;
7895
7895
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
7896
7896
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
7897
7897
  status?: "active" | "pending" | "deactivated" | undefined;
@@ -7942,14 +7942,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
7942
7942
  user: {
7943
7943
  id: string & import("zod").$brand<"UUID">;
7944
7944
  type: "system";
7945
+ signature?: undefined;
7945
7946
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
7946
7947
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
7947
- signature?: undefined;
7948
7948
  } | {
7949
7949
  id: string & import("zod").$brand<"UUID">;
7950
+ type: "user";
7950
7951
  role: string;
7951
7952
  primaryOfficeId: string & import("zod").$brand<"UUID">;
7952
- type: "user";
7953
7953
  signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
7954
7954
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
7955
7955
  };
@@ -8066,14 +8066,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
8066
8066
  user: {
8067
8067
  id: string & import("zod").$brand<"UUID">;
8068
8068
  type: "system";
8069
+ signature?: undefined;
8069
8070
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
8070
8071
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
8071
- signature?: undefined;
8072
8072
  } | {
8073
8073
  id: string & import("zod").$brand<"UUID">;
8074
+ type: "user";
8074
8075
  role: string;
8075
8076
  primaryOfficeId: string & import("zod").$brand<"UUID">;
8076
- type: "user";
8077
8077
  signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
8078
8078
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
8079
8079
  };
@@ -8180,7 +8180,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
8180
8180
  clientId: string;
8181
8181
  clientType: "system" | "user";
8182
8182
  createdAt: string;
8183
- 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";
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";
8184
8184
  requestData: {
8185
8185
  eventId: string;
8186
8186
  actionType: string;
@@ -8359,14 +8359,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
8359
8359
  user: {
8360
8360
  id: string & import("zod").$brand<"UUID">;
8361
8361
  type: "system";
8362
+ signature?: undefined;
8362
8363
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
8363
8364
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
8364
- signature?: undefined;
8365
8365
  } | {
8366
8366
  id: string & import("zod").$brand<"UUID">;
8367
+ type: "user";
8367
8368
  role: string;
8368
8369
  primaryOfficeId: string & import("zod").$brand<"UUID">;
8369
- type: "user";
8370
8370
  signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
8371
8371
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
8372
8372
  };
@@ -8432,14 +8432,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
8432
8432
  user: {
8433
8433
  id: string & import("zod").$brand<"UUID">;
8434
8434
  type: "system";
8435
+ signature?: undefined;
8435
8436
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
8436
8437
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
8437
- signature?: undefined;
8438
8438
  } | {
8439
8439
  id: string & import("zod").$brand<"UUID">;
8440
+ type: "user";
8440
8441
  role: string;
8441
8442
  primaryOfficeId: string & import("zod").$brand<"UUID">;
8442
- type: "user";
8443
8443
  signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
8444
8444
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
8445
8445
  };
@@ -8454,14 +8454,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
8454
8454
  user: {
8455
8455
  id: string & import("zod").$brand<"UUID">;
8456
8456
  type: "system";
8457
+ signature?: undefined;
8457
8458
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
8458
8459
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
8459
- signature?: undefined;
8460
8460
  } | {
8461
8461
  id: string & import("zod").$brand<"UUID">;
8462
+ type: "user";
8462
8463
  role: string;
8463
8464
  primaryOfficeId: string & import("zod").$brand<"UUID">;
8464
- type: "user";
8465
8465
  signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
8466
8466
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
8467
8467
  };
@@ -8485,10 +8485,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
8485
8485
  eventType?: string | undefined;
8486
8486
  status?: {
8487
8487
  type: "anyOf";
8488
- terms: ("ARCHIVED" | "CREATED" | "DECLARED" | "NOTIFIED" | "REGISTERED")[];
8488
+ terms: ("CREATED" | "NOTIFIED" | "DECLARED" | "REGISTERED" | "ARCHIVED")[];
8489
8489
  } | {
8490
8490
  type: "exact";
8491
- term: "ARCHIVED" | "CREATED" | "DECLARED" | "NOTIFIED" | "REGISTERED";
8491
+ term: "CREATED" | "NOTIFIED" | "DECLARED" | "REGISTERED" | "ARCHIVED";
8492
8492
  } | undefined;
8493
8493
  createdAt?: {
8494
8494
  type: "exact";
@@ -8499,7 +8499,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
8499
8499
  lte: string;
8500
8500
  } | {
8501
8501
  type: "timePeriod";
8502
- term: "last30Days" | "last365Days" | "last7Days" | "last90Days";
8502
+ term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
8503
8503
  } | undefined;
8504
8504
  updatedAt?: {
8505
8505
  type: "exact";
@@ -8510,12 +8510,12 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
8510
8510
  lte: string;
8511
8511
  } | {
8512
8512
  type: "timePeriod";
8513
- term: "last30Days" | "last365Days" | "last7Days" | "last90Days";
8513
+ term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
8514
8514
  } | undefined;
8515
8515
  'legalStatuses.DECLARED.createdAtLocation'?: {
8516
8516
  type: "within";
8517
8517
  location: string | {
8518
- $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "avatar" | "signature";
8518
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "signature" | "avatar";
8519
8519
  $location?: string | undefined;
8520
8520
  };
8521
8521
  } | undefined;
@@ -8532,12 +8532,12 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
8532
8532
  lte: string;
8533
8533
  } | {
8534
8534
  type: "timePeriod";
8535
- term: "last30Days" | "last365Days" | "last7Days" | "last90Days";
8535
+ term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
8536
8536
  } | undefined;
8537
8537
  'legalStatuses.REGISTERED.createdAtLocation'?: {
8538
8538
  type: "within";
8539
8539
  location: string | {
8540
- $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "avatar" | "signature";
8540
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "signature" | "avatar";
8541
8541
  $location?: string | undefined;
8542
8542
  };
8543
8543
  } | undefined;
@@ -8552,47 +8552,47 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
8552
8552
  createdAtLocation?: {
8553
8553
  type: "within";
8554
8554
  location: string | {
8555
- $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "avatar" | "signature";
8555
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "signature" | "avatar";
8556
8556
  $location?: string | undefined;
8557
8557
  };
8558
8558
  } | {
8559
8559
  type: "exact";
8560
8560
  term: string | {
8561
- $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "avatar" | "signature";
8561
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "signature" | "avatar";
8562
8562
  $location?: string | undefined;
8563
8563
  };
8564
8564
  } | undefined;
8565
8565
  updatedAtLocation?: {
8566
8566
  type: "within";
8567
8567
  location: string | {
8568
- $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "avatar" | "signature";
8568
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "signature" | "avatar";
8569
8569
  $location?: string | undefined;
8570
8570
  };
8571
8571
  } | {
8572
8572
  type: "exact";
8573
8573
  term: string | {
8574
- $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "avatar" | "signature";
8574
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "signature" | "avatar";
8575
8575
  $location?: string | undefined;
8576
8576
  };
8577
8577
  } | undefined;
8578
8578
  updatedByUserRole?: {
8579
8579
  type: "exact";
8580
8580
  term: string | {
8581
- $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "avatar" | "signature";
8581
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "signature" | "avatar";
8582
8582
  $location?: string | undefined;
8583
8583
  };
8584
8584
  } | undefined;
8585
8585
  assignedTo?: {
8586
8586
  type: "exact";
8587
8587
  term: string | {
8588
- $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "avatar" | "signature";
8588
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "signature" | "avatar";
8589
8589
  $location?: string | undefined;
8590
8590
  };
8591
8591
  } | undefined;
8592
8592
  createdBy?: {
8593
8593
  type: "exact";
8594
8594
  term: string | {
8595
- $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "avatar" | "signature";
8595
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "signature" | "avatar";
8596
8596
  $location?: string | undefined;
8597
8597
  };
8598
8598
  } | undefined;
@@ -8603,7 +8603,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
8603
8603
  updatedBy?: {
8604
8604
  type: "exact";
8605
8605
  term: string | {
8606
- $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "avatar" | "signature";
8606
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "signature" | "avatar";
8607
8607
  $location?: string | undefined;
8608
8608
  };
8609
8609
  } | undefined;
@@ -8624,10 +8624,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
8624
8624
  eventType?: string | undefined;
8625
8625
  status?: {
8626
8626
  type: "anyOf";
8627
- terms: ("ARCHIVED" | "CREATED" | "DECLARED" | "NOTIFIED" | "REGISTERED")[];
8627
+ terms: ("CREATED" | "NOTIFIED" | "DECLARED" | "REGISTERED" | "ARCHIVED")[];
8628
8628
  } | {
8629
8629
  type: "exact";
8630
- term: "ARCHIVED" | "CREATED" | "DECLARED" | "NOTIFIED" | "REGISTERED";
8630
+ term: "CREATED" | "NOTIFIED" | "DECLARED" | "REGISTERED" | "ARCHIVED";
8631
8631
  } | undefined;
8632
8632
  createdAt?: {
8633
8633
  type: "exact";
@@ -8638,7 +8638,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
8638
8638
  lte: string;
8639
8639
  } | {
8640
8640
  type: "timePeriod";
8641
- term: "last30Days" | "last365Days" | "last7Days" | "last90Days";
8641
+ term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
8642
8642
  } | undefined;
8643
8643
  updatedAt?: {
8644
8644
  type: "exact";
@@ -8649,12 +8649,12 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
8649
8649
  lte: string;
8650
8650
  } | {
8651
8651
  type: "timePeriod";
8652
- term: "last30Days" | "last365Days" | "last7Days" | "last90Days";
8652
+ term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
8653
8653
  } | undefined;
8654
8654
  'legalStatuses.DECLARED.createdAtLocation'?: {
8655
8655
  type: "within";
8656
8656
  location: string | {
8657
- $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "avatar" | "signature";
8657
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "signature" | "avatar";
8658
8658
  $location?: string | undefined;
8659
8659
  };
8660
8660
  } | undefined;
@@ -8671,12 +8671,12 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
8671
8671
  lte: string;
8672
8672
  } | {
8673
8673
  type: "timePeriod";
8674
- term: "last30Days" | "last365Days" | "last7Days" | "last90Days";
8674
+ term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
8675
8675
  } | undefined;
8676
8676
  'legalStatuses.REGISTERED.createdAtLocation'?: {
8677
8677
  type: "within";
8678
8678
  location: string | {
8679
- $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "avatar" | "signature";
8679
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "signature" | "avatar";
8680
8680
  $location?: string | undefined;
8681
8681
  };
8682
8682
  } | undefined;
@@ -8691,47 +8691,47 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
8691
8691
  createdAtLocation?: {
8692
8692
  type: "within";
8693
8693
  location: string | {
8694
- $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "avatar" | "signature";
8694
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "signature" | "avatar";
8695
8695
  $location?: string | undefined;
8696
8696
  };
8697
8697
  } | {
8698
8698
  type: "exact";
8699
8699
  term: string | {
8700
- $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "avatar" | "signature";
8700
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "signature" | "avatar";
8701
8701
  $location?: string | undefined;
8702
8702
  };
8703
8703
  } | undefined;
8704
8704
  updatedAtLocation?: {
8705
8705
  type: "within";
8706
8706
  location: string | {
8707
- $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "avatar" | "signature";
8707
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "signature" | "avatar";
8708
8708
  $location?: string | undefined;
8709
8709
  };
8710
8710
  } | {
8711
8711
  type: "exact";
8712
8712
  term: string | {
8713
- $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "avatar" | "signature";
8713
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "signature" | "avatar";
8714
8714
  $location?: string | undefined;
8715
8715
  };
8716
8716
  } | undefined;
8717
8717
  updatedByUserRole?: {
8718
8718
  type: "exact";
8719
8719
  term: string | {
8720
- $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "avatar" | "signature";
8720
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "signature" | "avatar";
8721
8721
  $location?: string | undefined;
8722
8722
  };
8723
8723
  } | undefined;
8724
8724
  assignedTo?: {
8725
8725
  type: "exact";
8726
8726
  term: string | {
8727
- $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "avatar" | "signature";
8727
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "signature" | "avatar";
8728
8728
  $location?: string | undefined;
8729
8729
  };
8730
8730
  } | undefined;
8731
8731
  createdBy?: {
8732
8732
  type: "exact";
8733
8733
  term: string | {
8734
- $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "avatar" | "signature";
8734
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "signature" | "avatar";
8735
8735
  $location?: string | undefined;
8736
8736
  };
8737
8737
  } | undefined;
@@ -8742,7 +8742,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
8742
8742
  updatedBy?: {
8743
8743
  type: "exact";
8744
8744
  term: string | {
8745
- $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "avatar" | "signature";
8745
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "signature" | "avatar";
8746
8746
  $location?: string | undefined;
8747
8747
  };
8748
8748
  } | undefined;
@@ -8768,7 +8768,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
8768
8768
  $event: "id" | "createdBy" | "createdAt" | "status" | "createdByUserType" | "createdAtLocation" | "updatedAt" | "assignedTo" | "trackingId" | "type" | "flags" | "dateOfEvent" | "placeOfEvent" | "title" | "legalStatuses" | "updatedByUserRole" | "updatedAtLocation" | "updatedBy" | "outbox";
8769
8769
  };
8770
8770
  }[];
8771
- 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";
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";
8772
8772
  action?: {
8773
8773
  type: "DELETE" | "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "MARK_AS_DUPLICATE" | "ARCHIVE" | "UNARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "READ";
8774
8774
  } | undefined;
@@ -8796,14 +8796,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
8796
8796
  user: {
8797
8797
  id: string & import("zod").$brand<"UUID">;
8798
8798
  type: "system";
8799
+ signature?: undefined;
8799
8800
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
8800
8801
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
8801
- signature?: undefined;
8802
8802
  } | {
8803
8803
  id: string & import("zod").$brand<"UUID">;
8804
+ type: "user";
8804
8805
  role: string;
8805
8806
  primaryOfficeId: string & import("zod").$brand<"UUID">;
8806
- type: "user";
8807
8807
  signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
8808
8808
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
8809
8809
  };
@@ -8844,14 +8844,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
8844
8844
  user: {
8845
8845
  id: string & import("zod").$brand<"UUID">;
8846
8846
  type: "system";
8847
+ signature?: undefined;
8847
8848
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
8848
8849
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
8849
- signature?: undefined;
8850
8850
  } | {
8851
8851
  id: string & import("zod").$brand<"UUID">;
8852
+ type: "user";
8852
8853
  role: string;
8853
8854
  primaryOfficeId: string & import("zod").$brand<"UUID">;
8854
- type: "user";
8855
8855
  signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
8856
8856
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
8857
8857
  };
@@ -8962,14 +8962,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
8962
8962
  user: {
8963
8963
  id: string & import("zod").$brand<"UUID">;
8964
8964
  type: "system";
8965
+ signature?: undefined;
8965
8966
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
8966
8967
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
8967
- signature?: undefined;
8968
8968
  } | {
8969
8969
  id: string & import("zod").$brand<"UUID">;
8970
+ type: "user";
8970
8971
  role: string;
8971
8972
  primaryOfficeId: string & import("zod").$brand<"UUID">;
8972
- type: "user";
8973
8973
  signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
8974
8974
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
8975
8975
  };
@@ -8997,14 +8997,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
8997
8997
  user: {
8998
8998
  id: string & import("zod").$brand<"UUID">;
8999
8999
  type: "system";
9000
+ signature?: undefined;
9000
9001
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
9001
9002
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
9002
- signature?: undefined;
9003
9003
  } | {
9004
9004
  id: string & import("zod").$brand<"UUID">;
9005
+ type: "user";
9005
9006
  role: string;
9006
9007
  primaryOfficeId: string & import("zod").$brand<"UUID">;
9007
- type: "user";
9008
9008
  signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
9009
9009
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
9010
9010
  };