@opencrvs/toolkit 2.1.0-rc.0066f38 → 2.1.0-rc.05eb1de

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;
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
  };
@@ -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
  };
@@ -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;
1522
1521
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
1523
1522
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
1523
+ signature?: undefined;
1524
1524
  } | {
1525
1525
  id: string & import("zod").$brand<"UUID">;
1526
- type: "user";
1527
1526
  role: string;
1528
1527
  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;
1878
1877
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
1879
1878
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
1879
+ signature?: undefined;
1880
1880
  } | {
1881
1881
  id: string & import("zod").$brand<"UUID">;
1882
- type: "user";
1883
1882
  role: string;
1884
1883
  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;
2514
2513
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
2515
2514
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
2515
+ signature?: undefined;
2516
2516
  } | {
2517
2517
  id: string & import("zod").$brand<"UUID">;
2518
- type: "user";
2519
2518
  role: string;
2520
2519
  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;
2821
2820
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
2822
2821
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
2822
+ signature?: undefined;
2823
2823
  } | {
2824
2824
  id: string & import("zod").$brand<"UUID">;
2825
- type: "user";
2826
2825
  role: string;
2827
2826
  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;
3128
3127
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
3129
3128
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
3129
+ signature?: undefined;
3130
3130
  } | {
3131
3131
  id: string & import("zod").$brand<"UUID">;
3132
- type: "user";
3133
3132
  role: string;
3134
3133
  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;
3435
3434
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
3436
3435
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
3436
+ signature?: undefined;
3437
3437
  } | {
3438
3438
  id: string & import("zod").$brand<"UUID">;
3439
- type: "user";
3440
3439
  role: string;
3441
3440
  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;
3742
3741
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
3743
3742
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
3743
+ signature?: undefined;
3744
3744
  } | {
3745
3745
  id: string & import("zod").$brand<"UUID">;
3746
- type: "user";
3747
3746
  role: string;
3748
3747
  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;
4049
4048
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
4050
4049
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
4050
+ signature?: undefined;
4051
4051
  } | {
4052
4052
  id: string & import("zod").$brand<"UUID">;
4053
- type: "user";
4054
4053
  role: string;
4055
4054
  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;
4356
4355
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
4357
4356
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
4357
+ signature?: undefined;
4358
4358
  } | {
4359
4359
  id: string & import("zod").$brand<"UUID">;
4360
- type: "user";
4361
4360
  role: string;
4362
4361
  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;
4993
4992
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
4994
4993
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
4994
+ signature?: undefined;
4995
4995
  } | {
4996
4996
  id: string & import("zod").$brand<"UUID">;
4997
- type: "user";
4998
4997
  role: string;
4999
4998
  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;
5686
5685
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
5687
5686
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
5687
+ signature?: undefined;
5688
5688
  } | {
5689
5689
  id: string & import("zod").$brand<"UUID">;
5690
- type: "user";
5691
5690
  role: string;
5692
5691
  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;
5708
5707
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
5709
5708
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
5709
+ signature?: undefined;
5710
5710
  } | {
5711
5711
  id: string & import("zod").$brand<"UUID">;
5712
- type: "user";
5713
5712
  role: string;
5714
5713
  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;
6015
6014
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
6016
6015
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
6016
+ signature?: undefined;
6017
6017
  } | {
6018
6018
  id: string & import("zod").$brand<"UUID">;
6019
- type: "user";
6020
6019
  role: string;
6021
6020
  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;
6322
6321
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
6323
6322
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
6323
+ signature?: undefined;
6324
6324
  } | {
6325
6325
  id: string & import("zod").$brand<"UUID">;
6326
- type: "user";
6327
6326
  role: string;
6328
6327
  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;
6630
6629
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
6631
6630
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
6631
+ signature?: undefined;
6632
6632
  } | {
6633
6633
  id: string & import("zod").$brand<"UUID">;
6634
- type: "user";
6635
6634
  role: string;
6636
6635
  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: "CREATED" | "NOTIFIED" | "DECLARED" | "REGISTERED" | "ARCHIVED";
7329
+ status: "ARCHIVED" | "CREATED" | "DECLARED" | "NOTIFIED" | "REGISTERED";
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;
7710
7709
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
7711
7710
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
7711
+ signature?: undefined;
7712
7712
  } | {
7713
7713
  id: string & import("zod").$brand<"UUID">;
7714
- type: "user";
7715
7714
  role: string;
7716
7715
  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
- data?: Record<string, unknown> | undefined;
7768
- fullHonorificName?: string | undefined;
7769
7767
  device?: string | undefined;
7770
- email?: string | undefined;
7768
+ fullHonorificName?: string | undefined;
7771
7769
  mobile?: string | undefined;
7770
+ email?: string | undefined;
7771
+ data?: Record<string, unknown> | 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;
7805
7804
  name?: {
7806
7805
  firstname: string;
7807
7806
  surname: string;
7808
7807
  } | undefined;
7809
7808
  role?: string | undefined;
7810
- fullHonorificName?: string | undefined;
7811
- device?: string | undefined;
7812
7809
  primaryOfficeId?: string | undefined;
7813
- email?: string | undefined;
7810
+ device?: string | undefined;
7811
+ fullHonorificName?: string | undefined;
7814
7812
  mobile?: string | undefined;
7813
+ email?: string | undefined;
7814
+ data?: Record<string, unknown> | 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";
7848
7847
  name: {
7849
7848
  firstname: string;
7850
7849
  surname: string;
7851
7850
  };
7852
7851
  role: string;
7853
7852
  primaryOfficeId: string & import("zod").$brand<"UUID">;
7854
- fullHonorificName?: string | undefined;
7853
+ type: "user";
7855
7854
  avatar?: (string & import("zod").$brand<"DocumentPath">) | undefined;
7856
7855
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
7856
+ fullHonorificName?: string | undefined;
7857
7857
  } | {
7858
7858
  id: string & import("zod").$brand<"UUID">;
7859
- type: "system";
7860
7859
  name: string;
7860
+ type: "system";
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";
7881
7880
  name: {
7882
7881
  firstname: string;
7883
7882
  surname: string;
7884
7883
  };
7885
7884
  role: string;
7886
7885
  primaryOfficeId: string & import("zod").$brand<"UUID">;
7886
+ type: "user";
7887
7887
  status: "active" | "pending" | "deactivated";
7888
- fullHonorificName?: string | undefined;
7889
7888
  avatar?: (string & import("zod").$brand<"DocumentPath">) | undefined;
7890
7889
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
7890
+ fullHonorificName?: string | undefined;
7891
7891
  } | {
7892
7892
  id: string & import("zod").$brand<"UUID">;
7893
- type: "system";
7894
7893
  name: string;
7894
+ type: "system";
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;
7946
7945
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
7947
7946
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
7947
+ signature?: undefined;
7948
7948
  } | {
7949
7949
  id: string & import("zod").$brand<"UUID">;
7950
- type: "user";
7951
7950
  role: string;
7952
7951
  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;
8070
8069
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
8071
8070
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
8071
+ signature?: undefined;
8072
8072
  } | {
8073
8073
  id: string & import("zod").$brand<"UUID">;
8074
- type: "user";
8075
8074
  role: string;
8076
8075
  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.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";
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";
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;
8363
8362
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
8364
8363
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
8364
+ signature?: undefined;
8365
8365
  } | {
8366
8366
  id: string & import("zod").$brand<"UUID">;
8367
- type: "user";
8368
8367
  role: string;
8369
8368
  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;
8436
8435
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
8437
8436
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
8437
+ signature?: undefined;
8438
8438
  } | {
8439
8439
  id: string & import("zod").$brand<"UUID">;
8440
- type: "user";
8441
8440
  role: string;
8442
8441
  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;
8458
8457
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
8459
8458
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
8459
+ signature?: undefined;
8460
8460
  } | {
8461
8461
  id: string & import("zod").$brand<"UUID">;
8462
- type: "user";
8463
8462
  role: string;
8464
8463
  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: ("CREATED" | "NOTIFIED" | "DECLARED" | "REGISTERED" | "ARCHIVED")[];
8488
+ terms: ("ARCHIVED" | "CREATED" | "DECLARED" | "NOTIFIED" | "REGISTERED")[];
8489
8489
  } | {
8490
8490
  type: "exact";
8491
- term: "CREATED" | "NOTIFIED" | "DECLARED" | "REGISTERED" | "ARCHIVED";
8491
+ term: "ARCHIVED" | "CREATED" | "DECLARED" | "NOTIFIED" | "REGISTERED";
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: "last7Days" | "last30Days" | "last90Days" | "last365Days";
8502
+ term: "last30Days" | "last365Days" | "last7Days" | "last90Days";
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: "last7Days" | "last30Days" | "last90Days" | "last365Days";
8513
+ term: "last30Days" | "last365Days" | "last7Days" | "last90Days";
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" | "signature" | "avatar";
8518
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "avatar" | "signature";
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: "last7Days" | "last30Days" | "last90Days" | "last365Days";
8535
+ term: "last30Days" | "last365Days" | "last7Days" | "last90Days";
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" | "signature" | "avatar";
8540
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "avatar" | "signature";
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" | "signature" | "avatar";
8555
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "avatar" | "signature";
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" | "signature" | "avatar";
8561
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "avatar" | "signature";
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" | "signature" | "avatar";
8568
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "avatar" | "signature";
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" | "signature" | "avatar";
8574
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "avatar" | "signature";
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" | "signature" | "avatar";
8581
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "avatar" | "signature";
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" | "signature" | "avatar";
8588
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "avatar" | "signature";
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" | "signature" | "avatar";
8595
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "avatar" | "signature";
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" | "signature" | "avatar";
8606
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "avatar" | "signature";
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: ("CREATED" | "NOTIFIED" | "DECLARED" | "REGISTERED" | "ARCHIVED")[];
8627
+ terms: ("ARCHIVED" | "CREATED" | "DECLARED" | "NOTIFIED" | "REGISTERED")[];
8628
8628
  } | {
8629
8629
  type: "exact";
8630
- term: "CREATED" | "NOTIFIED" | "DECLARED" | "REGISTERED" | "ARCHIVED";
8630
+ term: "ARCHIVED" | "CREATED" | "DECLARED" | "NOTIFIED" | "REGISTERED";
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: "last7Days" | "last30Days" | "last90Days" | "last365Days";
8641
+ term: "last30Days" | "last365Days" | "last7Days" | "last90Days";
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: "last7Days" | "last30Days" | "last90Days" | "last365Days";
8652
+ term: "last30Days" | "last365Days" | "last7Days" | "last90Days";
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" | "signature" | "avatar";
8657
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "avatar" | "signature";
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: "last7Days" | "last30Days" | "last90Days" | "last365Days";
8674
+ term: "last30Days" | "last365Days" | "last7Days" | "last90Days";
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" | "signature" | "avatar";
8679
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "avatar" | "signature";
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" | "signature" | "avatar";
8694
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "avatar" | "signature";
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" | "signature" | "avatar";
8700
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "avatar" | "signature";
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" | "signature" | "avatar";
8707
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "avatar" | "signature";
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" | "signature" | "avatar";
8713
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "avatar" | "signature";
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" | "signature" | "avatar";
8720
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "avatar" | "signature";
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" | "signature" | "avatar";
8727
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "avatar" | "signature";
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" | "signature" | "avatar";
8734
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "avatar" | "signature";
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" | "signature" | "avatar";
8745
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "avatar" | "signature";
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: "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";
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";
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;
8800
8799
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
8801
8800
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
8801
+ signature?: undefined;
8802
8802
  } | {
8803
8803
  id: string & import("zod").$brand<"UUID">;
8804
- type: "user";
8805
8804
  role: string;
8806
8805
  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;
8848
8847
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
8849
8848
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
8849
+ signature?: undefined;
8850
8850
  } | {
8851
8851
  id: string & import("zod").$brand<"UUID">;
8852
- type: "user";
8853
8852
  role: string;
8854
8853
  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;
8966
8965
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
8967
8966
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
8967
+ signature?: undefined;
8968
8968
  } | {
8969
8969
  id: string & import("zod").$brand<"UUID">;
8970
- type: "user";
8971
8970
  role: string;
8972
8971
  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;
9001
9000
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
9002
9001
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
9002
+ signature?: undefined;
9003
9003
  } | {
9004
9004
  id: string & import("zod").$brand<"UUID">;
9005
- type: "user";
9006
9005
  role: string;
9007
9006
  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
  };