@opencrvs/toolkit 2.1.0-rc.28fe5a3 → 2.1.0-rc.2ec6bd5

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,16 +4,16 @@ 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
  signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
14
15
  primaryOfficeId: string & import("zod").$brand<"UUID">;
15
16
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
16
- type: "user";
17
17
  };
18
18
  }>;
19
19
  meta: import("trpc-to-openapi").OpenApiMeta;
@@ -26,16 +26,16 @@ 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
  signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
36
37
  primaryOfficeId: string & import("zod").$brand<"UUID">;
37
38
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
38
- type: "user";
39
39
  };
40
40
  }>;
41
41
  meta: import("trpc-to-openapi").OpenApiMeta;
@@ -48,16 +48,16 @@ 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
  signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
58
59
  primaryOfficeId: string & import("zod").$brand<"UUID">;
59
60
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
60
- type: "user";
61
61
  };
62
62
  }>;
63
63
  meta: import("trpc-to-openapi").OpenApiMeta;
@@ -94,16 +94,16 @@ 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
  signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
104
105
  primaryOfficeId: string & import("zod").$brand<"UUID">;
105
106
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
106
- type: "user";
107
107
  };
108
108
  }>;
109
109
  meta: import("trpc-to-openapi").OpenApiMeta;
@@ -407,9 +407,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
407
407
  status: "Accepted" | "Rejected" | "Requested";
408
408
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
409
409
  type: "EDIT";
410
- content: {
410
+ content?: {
411
411
  comment?: string | undefined;
412
- };
412
+ } | undefined;
413
413
  } | {
414
414
  id: string & import("zod").$brand<"UUID">;
415
415
  transactionId: string;
@@ -733,9 +733,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
733
733
  status: "Accepted" | "Rejected" | "Requested";
734
734
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
735
735
  type: "EDIT";
736
- content: {
736
+ content?: {
737
737
  comment?: string | undefined;
738
- };
738
+ } | undefined;
739
739
  } | {
740
740
  id: string & import("zod").$brand<"UUID">;
741
741
  transactionId: string;
@@ -1058,9 +1058,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1058
1058
  status: "Accepted" | "Rejected" | "Requested";
1059
1059
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
1060
1060
  type: "EDIT";
1061
- content: {
1061
+ content?: {
1062
1062
  comment?: string | undefined;
1063
- };
1063
+ } | undefined;
1064
1064
  } | {
1065
1065
  id: string & import("zod").$brand<"UUID">;
1066
1066
  transactionId: string;
@@ -1108,16 +1108,16 @@ 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
  signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
1118
1119
  primaryOfficeId: string & import("zod").$brand<"UUID">;
1119
1120
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
1120
- type: "user";
1121
1121
  };
1122
1122
  }>;
1123
1123
  meta: import("trpc-to-openapi").OpenApiMeta;
@@ -1132,6 +1132,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1132
1132
  transactionId: string;
1133
1133
  createdAt: string;
1134
1134
  action: {
1135
+ type: "APPROVE_CORRECTION" | "ARCHIVE" | "ASSIGN" | "CREATE" | "CUSTOM" | "DECLARE" | "DUPLICATE_DETECTED" | "EDIT" | "MARK_AS_DUPLICATE" | "MARK_AS_NOT_DUPLICATE" | "NOTIFY" | "PRINT_CERTIFICATE" | "READ" | "REGISTER" | "REJECT" | "REJECT_CORRECTION" | "REQUEST_CORRECTION" | "UNARCHIVE" | "UNASSIGN";
1135
1136
  transactionId: string;
1136
1137
  createdByUserType: "system" | "user";
1137
1138
  createdAt: string;
@@ -1142,22 +1143,21 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1142
1143
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
1143
1144
  status: "Accepted" | "Rejected" | "Requested";
1144
1145
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
1145
- type: "APPROVE_CORRECTION" | "ARCHIVE" | "ASSIGN" | "CREATE" | "CUSTOM" | "DECLARE" | "DUPLICATE_DETECTED" | "EDIT" | "MARK_AS_DUPLICATE" | "MARK_AS_NOT_DUPLICATE" | "NOTIFY" | "PRINT_CERTIFICATE" | "READ" | "REGISTER" | "REJECT" | "REJECT_CORRECTION" | "REQUEST_CORRECTION" | "UNARCHIVE" | "UNASSIGN";
1146
1146
  };
1147
1147
  }[];
1148
1148
  meta: import("trpc-to-openapi").OpenApiMeta;
1149
1149
  }>;
1150
1150
  create: import("@trpc/server").TRPCMutationProcedure<{
1151
1151
  input: {
1152
- eventId: string;
1153
1152
  transactionId: string;
1153
+ createdAtLocation?: string | null | undefined;
1154
1154
  declaration?: Record<string, unknown> | undefined;
1155
1155
  annotation?: Record<string, unknown> | undefined;
1156
1156
  originalActionId?: string | undefined;
1157
+ eventId: string;
1157
1158
  keepAssignment?: boolean | undefined;
1158
1159
  keepAssignmentIfAccepted?: boolean | undefined;
1159
1160
  keepAssignmentIfRejected?: boolean | undefined;
1160
- createdAtLocation?: string | null | undefined;
1161
1161
  type: "APPROVE_CORRECTION" | "ARCHIVE" | "ASSIGN" | "CREATE" | "CUSTOM" | "DECLARE" | "DUPLICATE_DETECTED" | "EDIT" | "MARK_AS_DUPLICATE" | "MARK_AS_NOT_DUPLICATE" | "NOTIFY" | "PRINT_CERTIFICATE" | "READ" | "REGISTER" | "REJECT" | "REJECT_CORRECTION" | "REQUEST_CORRECTION" | "UNARCHIVE" | "UNASSIGN";
1162
1162
  status: "Accepted" | "Rejected" | "Requested";
1163
1163
  };
@@ -1167,6 +1167,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1167
1167
  transactionId: string;
1168
1168
  createdAt: string;
1169
1169
  action: {
1170
+ type: "APPROVE_CORRECTION" | "ARCHIVE" | "ASSIGN" | "CREATE" | "CUSTOM" | "DECLARE" | "DUPLICATE_DETECTED" | "EDIT" | "MARK_AS_DUPLICATE" | "MARK_AS_NOT_DUPLICATE" | "NOTIFY" | "PRINT_CERTIFICATE" | "READ" | "REGISTER" | "REJECT" | "REJECT_CORRECTION" | "REQUEST_CORRECTION" | "UNARCHIVE" | "UNASSIGN";
1170
1171
  transactionId: string;
1171
1172
  createdByUserType: "system" | "user";
1172
1173
  createdAt: string;
@@ -1177,7 +1178,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1177
1178
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
1178
1179
  status: "Accepted" | "Rejected" | "Requested";
1179
1180
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
1180
- type: "APPROVE_CORRECTION" | "ARCHIVE" | "ASSIGN" | "CREATE" | "CUSTOM" | "DECLARE" | "DUPLICATE_DETECTED" | "EDIT" | "MARK_AS_DUPLICATE" | "MARK_AS_NOT_DUPLICATE" | "NOTIFY" | "PRINT_CERTIFICATE" | "READ" | "REGISTER" | "REJECT" | "REJECT_CORRECTION" | "REQUEST_CORRECTION" | "UNARCHIVE" | "UNASSIGN";
1181
1181
  };
1182
1182
  };
1183
1183
  meta: import("trpc-to-openapi").OpenApiMeta;
@@ -1189,16 +1189,16 @@ 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
  signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
1199
1200
  primaryOfficeId: string & import("zod").$brand<"UUID">;
1200
1201
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
1201
- type: "user";
1202
1202
  };
1203
1203
  }>;
1204
1204
  meta: import("trpc-to-openapi").OpenApiMeta;
@@ -1211,16 +1211,16 @@ 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
  signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
1221
1222
  primaryOfficeId: string & import("zod").$brand<"UUID">;
1222
1223
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
1223
- type: "user";
1224
1224
  };
1225
1225
  }>;
1226
1226
  meta: import("trpc-to-openapi").OpenApiMeta;
@@ -1491,9 +1491,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1491
1491
  waitFor?: boolean | undefined;
1492
1492
  createdAtLocation?: string | null | undefined;
1493
1493
  type?: "EDIT" | undefined;
1494
- content: {
1495
- comment?: string | undefined;
1496
- };
1497
1494
  }, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected">) & {
1498
1495
  actionId: string;
1499
1496
  };
@@ -1518,16 +1515,16 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1518
1515
  user: {
1519
1516
  id: string & import("zod").$brand<"UUID">;
1520
1517
  type: "system";
1518
+ signature?: undefined;
1521
1519
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
1522
1520
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
1523
- signature?: undefined;
1524
1521
  } | {
1525
1522
  id: string & import("zod").$brand<"UUID">;
1523
+ type: "user";
1526
1524
  role: string;
1527
1525
  signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
1528
1526
  primaryOfficeId: string & import("zod").$brand<"UUID">;
1529
1527
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
1530
- type: "user";
1531
1528
  };
1532
1529
  }>;
1533
1530
  meta: import("trpc-to-openapi").OpenApiMeta;
@@ -1832,9 +1829,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1832
1829
  status: "Accepted" | "Rejected" | "Requested";
1833
1830
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
1834
1831
  type: "EDIT";
1835
- content: {
1832
+ content?: {
1836
1833
  comment?: string | undefined;
1837
- };
1834
+ } | undefined;
1838
1835
  } | {
1839
1836
  id: string & import("zod").$brand<"UUID">;
1840
1837
  transactionId: string;
@@ -1874,16 +1871,16 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1874
1871
  user: {
1875
1872
  id: string & import("zod").$brand<"UUID">;
1876
1873
  type: "system";
1874
+ signature?: undefined;
1877
1875
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
1878
1876
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
1879
- signature?: undefined;
1880
1877
  } | {
1881
1878
  id: string & import("zod").$brand<"UUID">;
1879
+ type: "user";
1882
1880
  role: string;
1883
1881
  signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
1884
1882
  primaryOfficeId: string & import("zod").$brand<"UUID">;
1885
1883
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
1886
- type: "user";
1887
1884
  };
1888
1885
  }>;
1889
1886
  meta: import("trpc-to-openapi").OpenApiMeta;
@@ -2149,9 +2146,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
2149
2146
  waitFor?: boolean | undefined;
2150
2147
  createdAtLocation?: string | null | undefined;
2151
2148
  type?: "EDIT" | undefined;
2152
- content: {
2153
- comment?: string | undefined;
2154
- };
2155
2149
  }, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected">) & {
2156
2150
  actionId: string;
2157
2151
  };
@@ -2468,9 +2462,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
2468
2462
  status: "Accepted" | "Rejected" | "Requested";
2469
2463
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
2470
2464
  type: "EDIT";
2471
- content: {
2465
+ content?: {
2472
2466
  comment?: string | undefined;
2473
- };
2467
+ } | undefined;
2474
2468
  } | {
2475
2469
  id: string & import("zod").$brand<"UUID">;
2476
2470
  transactionId: string;
@@ -2510,16 +2504,16 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
2510
2504
  user: {
2511
2505
  id: string & import("zod").$brand<"UUID">;
2512
2506
  type: "system";
2507
+ signature?: undefined;
2513
2508
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
2514
2509
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
2515
- signature?: undefined;
2516
2510
  } | {
2517
2511
  id: string & import("zod").$brand<"UUID">;
2512
+ type: "user";
2518
2513
  role: string;
2519
2514
  signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
2520
2515
  primaryOfficeId: string & import("zod").$brand<"UUID">;
2521
2516
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
2522
- type: "user";
2523
2517
  };
2524
2518
  }>;
2525
2519
  meta: import("trpc-to-openapi").OpenApiMeta;
@@ -2790,9 +2784,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
2790
2784
  waitFor?: boolean | undefined;
2791
2785
  createdAtLocation?: string | null | undefined;
2792
2786
  type?: "EDIT" | undefined;
2793
- content: {
2794
- comment?: string | undefined;
2795
- };
2796
2787
  }, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected">) & {
2797
2788
  actionId: string;
2798
2789
  };
@@ -2817,16 +2808,16 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
2817
2808
  user: {
2818
2809
  id: string & import("zod").$brand<"UUID">;
2819
2810
  type: "system";
2811
+ signature?: undefined;
2820
2812
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
2821
2813
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
2822
- signature?: undefined;
2823
2814
  } | {
2824
2815
  id: string & import("zod").$brand<"UUID">;
2816
+ type: "user";
2825
2817
  role: string;
2826
2818
  signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
2827
2819
  primaryOfficeId: string & import("zod").$brand<"UUID">;
2828
2820
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
2829
- type: "user";
2830
2821
  };
2831
2822
  }>;
2832
2823
  meta: import("trpc-to-openapi").OpenApiMeta;
@@ -3097,9 +3088,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
3097
3088
  waitFor?: boolean | undefined;
3098
3089
  createdAtLocation?: string | null | undefined;
3099
3090
  type?: "EDIT" | undefined;
3100
- content: {
3101
- comment?: string | undefined;
3102
- };
3103
3091
  }, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected">) & {
3104
3092
  actionId: string;
3105
3093
  };
@@ -3124,16 +3112,16 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
3124
3112
  user: {
3125
3113
  id: string & import("zod").$brand<"UUID">;
3126
3114
  type: "system";
3115
+ signature?: undefined;
3127
3116
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
3128
3117
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
3129
- signature?: undefined;
3130
3118
  } | {
3131
3119
  id: string & import("zod").$brand<"UUID">;
3120
+ type: "user";
3132
3121
  role: string;
3133
3122
  signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
3134
3123
  primaryOfficeId: string & import("zod").$brand<"UUID">;
3135
3124
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
3136
- type: "user";
3137
3125
  };
3138
3126
  }>;
3139
3127
  meta: import("trpc-to-openapi").OpenApiMeta;
@@ -3404,9 +3392,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
3404
3392
  waitFor?: boolean | undefined;
3405
3393
  createdAtLocation?: string | null | undefined;
3406
3394
  type?: "EDIT" | undefined;
3407
- content: {
3408
- comment?: string | undefined;
3409
- };
3410
3395
  }, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected">) & {
3411
3396
  actionId: string;
3412
3397
  };
@@ -3431,16 +3416,16 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
3431
3416
  user: {
3432
3417
  id: string & import("zod").$brand<"UUID">;
3433
3418
  type: "system";
3419
+ signature?: undefined;
3434
3420
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
3435
3421
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
3436
- signature?: undefined;
3437
3422
  } | {
3438
3423
  id: string & import("zod").$brand<"UUID">;
3424
+ type: "user";
3439
3425
  role: string;
3440
3426
  signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
3441
3427
  primaryOfficeId: string & import("zod").$brand<"UUID">;
3442
3428
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
3443
- type: "user";
3444
3429
  };
3445
3430
  }>;
3446
3431
  meta: import("trpc-to-openapi").OpenApiMeta;
@@ -3711,9 +3696,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
3711
3696
  waitFor?: boolean | undefined;
3712
3697
  createdAtLocation?: string | null | undefined;
3713
3698
  type?: "EDIT" | undefined;
3714
- content: {
3715
- comment?: string | undefined;
3716
- };
3717
3699
  }, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected">) & {
3718
3700
  actionId: string;
3719
3701
  };
@@ -3738,16 +3720,16 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
3738
3720
  user: {
3739
3721
  id: string & import("zod").$brand<"UUID">;
3740
3722
  type: "system";
3723
+ signature?: undefined;
3741
3724
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
3742
3725
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
3743
- signature?: undefined;
3744
3726
  } | {
3745
3727
  id: string & import("zod").$brand<"UUID">;
3728
+ type: "user";
3746
3729
  role: string;
3747
3730
  signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
3748
3731
  primaryOfficeId: string & import("zod").$brand<"UUID">;
3749
3732
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
3750
- type: "user";
3751
3733
  };
3752
3734
  }>;
3753
3735
  meta: import("trpc-to-openapi").OpenApiMeta;
@@ -4018,9 +4000,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4018
4000
  waitFor?: boolean | undefined;
4019
4001
  createdAtLocation?: string | null | undefined;
4020
4002
  type?: "EDIT" | undefined;
4021
- content: {
4022
- comment?: string | undefined;
4023
- };
4024
4003
  }, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected">) & {
4025
4004
  actionId: string;
4026
4005
  };
@@ -4045,16 +4024,16 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4045
4024
  user: {
4046
4025
  id: string & import("zod").$brand<"UUID">;
4047
4026
  type: "system";
4027
+ signature?: undefined;
4048
4028
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
4049
4029
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
4050
- signature?: undefined;
4051
4030
  } | {
4052
4031
  id: string & import("zod").$brand<"UUID">;
4032
+ type: "user";
4053
4033
  role: string;
4054
4034
  signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
4055
4035
  primaryOfficeId: string & import("zod").$brand<"UUID">;
4056
4036
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
4057
- type: "user";
4058
4037
  };
4059
4038
  }>;
4060
4039
  meta: import("trpc-to-openapi").OpenApiMeta;
@@ -4325,9 +4304,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4325
4304
  waitFor?: boolean | undefined;
4326
4305
  createdAtLocation?: string | null | undefined;
4327
4306
  type?: "EDIT" | undefined;
4328
- content: {
4329
- comment?: string | undefined;
4330
- };
4331
4307
  }, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected">) & {
4332
4308
  actionId: string;
4333
4309
  };
@@ -4352,16 +4328,16 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4352
4328
  user: {
4353
4329
  id: string & import("zod").$brand<"UUID">;
4354
4330
  type: "system";
4331
+ signature?: undefined;
4355
4332
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
4356
4333
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
4357
- signature?: undefined;
4358
4334
  } | {
4359
4335
  id: string & import("zod").$brand<"UUID">;
4336
+ type: "user";
4360
4337
  role: string;
4361
4338
  signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
4362
4339
  primaryOfficeId: string & import("zod").$brand<"UUID">;
4363
4340
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
4364
- type: "user";
4365
4341
  };
4366
4342
  }>;
4367
4343
  meta: import("trpc-to-openapi").OpenApiMeta;
@@ -4627,9 +4603,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4627
4603
  waitFor?: boolean | undefined;
4628
4604
  createdAtLocation?: string | null | undefined;
4629
4605
  type?: "EDIT" | undefined;
4630
- content: {
4631
- comment?: string | undefined;
4632
- };
4633
4606
  }, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected">) & {
4634
4607
  actionId: string;
4635
4608
  };
@@ -4947,9 +4920,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4947
4920
  status: "Accepted" | "Rejected" | "Requested";
4948
4921
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
4949
4922
  type: "EDIT";
4950
- content: {
4923
+ content?: {
4951
4924
  comment?: string | undefined;
4952
- };
4925
+ } | undefined;
4953
4926
  } | {
4954
4927
  id: string & import("zod").$brand<"UUID">;
4955
4928
  transactionId: string;
@@ -4989,16 +4962,16 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4989
4962
  user: {
4990
4963
  id: string & import("zod").$brand<"UUID">;
4991
4964
  type: "system";
4965
+ signature?: undefined;
4992
4966
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
4993
4967
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
4994
- signature?: undefined;
4995
4968
  } | {
4996
4969
  id: string & import("zod").$brand<"UUID">;
4970
+ type: "user";
4997
4971
  role: string;
4998
4972
  signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
4999
4973
  primaryOfficeId: string & import("zod").$brand<"UUID">;
5000
4974
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
5001
- type: "user";
5002
4975
  };
5003
4976
  }>;
5004
4977
  meta: import("trpc-to-openapi").OpenApiMeta;
@@ -5305,9 +5278,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5305
5278
  status: "Accepted" | "Rejected" | "Requested";
5306
5279
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
5307
5280
  type: "EDIT";
5308
- content: {
5281
+ content?: {
5309
5282
  comment?: string | undefined;
5310
- };
5283
+ } | undefined;
5311
5284
  } | {
5312
5285
  id: string & import("zod").$brand<"UUID">;
5313
5286
  transactionId: string;
@@ -5640,9 +5613,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5640
5613
  status: "Accepted" | "Rejected" | "Requested";
5641
5614
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
5642
5615
  type: "EDIT";
5643
- content: {
5616
+ content?: {
5644
5617
  comment?: string | undefined;
5645
- };
5618
+ } | undefined;
5646
5619
  } | {
5647
5620
  id: string & import("zod").$brand<"UUID">;
5648
5621
  transactionId: string;
@@ -5682,16 +5655,16 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5682
5655
  user: {
5683
5656
  id: string & import("zod").$brand<"UUID">;
5684
5657
  type: "system";
5658
+ signature?: undefined;
5685
5659
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
5686
5660
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
5687
- signature?: undefined;
5688
5661
  } | {
5689
5662
  id: string & import("zod").$brand<"UUID">;
5663
+ type: "user";
5690
5664
  role: string;
5691
5665
  signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
5692
5666
  primaryOfficeId: string & import("zod").$brand<"UUID">;
5693
5667
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
5694
- type: "user";
5695
5668
  };
5696
5669
  }>;
5697
5670
  meta: import("trpc-to-openapi").OpenApiMeta;
@@ -5704,16 +5677,16 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5704
5677
  user: {
5705
5678
  id: string & import("zod").$brand<"UUID">;
5706
5679
  type: "system";
5680
+ signature?: undefined;
5707
5681
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
5708
5682
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
5709
- signature?: undefined;
5710
5683
  } | {
5711
5684
  id: string & import("zod").$brand<"UUID">;
5685
+ type: "user";
5712
5686
  role: string;
5713
5687
  signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
5714
5688
  primaryOfficeId: string & import("zod").$brand<"UUID">;
5715
5689
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
5716
- type: "user";
5717
5690
  };
5718
5691
  }>;
5719
5692
  meta: import("trpc-to-openapi").OpenApiMeta;
@@ -5984,9 +5957,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5984
5957
  waitFor?: boolean | undefined;
5985
5958
  createdAtLocation?: string | null | undefined;
5986
5959
  type?: "EDIT" | undefined;
5987
- content: {
5988
- comment?: string | undefined;
5989
- };
5990
5960
  }, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected">) & {
5991
5961
  actionId: string;
5992
5962
  };
@@ -6011,16 +5981,16 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
6011
5981
  user: {
6012
5982
  id: string & import("zod").$brand<"UUID">;
6013
5983
  type: "system";
5984
+ signature?: undefined;
6014
5985
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
6015
5986
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
6016
- signature?: undefined;
6017
5987
  } | {
6018
5988
  id: string & import("zod").$brand<"UUID">;
5989
+ type: "user";
6019
5990
  role: string;
6020
5991
  signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
6021
5992
  primaryOfficeId: string & import("zod").$brand<"UUID">;
6022
5993
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
6023
- type: "user";
6024
5994
  };
6025
5995
  }>;
6026
5996
  meta: import("trpc-to-openapi").OpenApiMeta;
@@ -6291,9 +6261,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
6291
6261
  waitFor?: boolean | undefined;
6292
6262
  createdAtLocation?: string | null | undefined;
6293
6263
  type?: "EDIT" | undefined;
6294
- content: {
6295
- comment?: string | undefined;
6296
- };
6297
6264
  }, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected">) & {
6298
6265
  actionId: string;
6299
6266
  };
@@ -6318,16 +6285,16 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
6318
6285
  user: {
6319
6286
  id: string & import("zod").$brand<"UUID">;
6320
6287
  type: "system";
6288
+ signature?: undefined;
6321
6289
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
6322
6290
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
6323
- signature?: undefined;
6324
6291
  } | {
6325
6292
  id: string & import("zod").$brand<"UUID">;
6293
+ type: "user";
6326
6294
  role: string;
6327
6295
  signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
6328
6296
  primaryOfficeId: string & import("zod").$brand<"UUID">;
6329
6297
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
6330
- type: "user";
6331
6298
  };
6332
6299
  }>;
6333
6300
  meta: import("trpc-to-openapi").OpenApiMeta;
@@ -6598,9 +6565,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
6598
6565
  waitFor?: boolean | undefined;
6599
6566
  createdAtLocation?: string | null | undefined;
6600
6567
  type?: "EDIT" | undefined;
6601
- content: {
6602
- comment?: string | undefined;
6603
- };
6604
6568
  }, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected">) & {
6605
6569
  actionId: string;
6606
6570
  };
@@ -6626,16 +6590,16 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
6626
6590
  user: {
6627
6591
  id: string & import("zod").$brand<"UUID">;
6628
6592
  type: "system";
6593
+ signature?: undefined;
6629
6594
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
6630
6595
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
6631
- signature?: undefined;
6632
6596
  } | {
6633
6597
  id: string & import("zod").$brand<"UUID">;
6598
+ type: "user";
6634
6599
  role: string;
6635
6600
  signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
6636
6601
  primaryOfficeId: string & import("zod").$brand<"UUID">;
6637
6602
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
6638
- type: "user";
6639
6603
  };
6640
6604
  }>;
6641
6605
  meta: import("trpc-to-openapi").OpenApiMeta;
@@ -6944,9 +6908,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
6944
6908
  status: "Accepted" | "Rejected" | "Requested";
6945
6909
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
6946
6910
  type: "EDIT";
6947
- content: {
6911
+ content?: {
6948
6912
  comment?: string | undefined;
6949
- };
6913
+ } | undefined;
6950
6914
  } | {
6951
6915
  id: string & import("zod").$brand<"UUID">;
6952
6916
  transactionId: string;
@@ -7278,9 +7242,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
7278
7242
  status: "Accepted" | "Rejected" | "Requested";
7279
7243
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
7280
7244
  type: "EDIT";
7281
- content: {
7245
+ content?: {
7282
7246
  comment?: string | undefined;
7283
- };
7247
+ } | undefined;
7284
7248
  } | {
7285
7249
  id: string & import("zod").$brand<"UUID">;
7286
7250
  transactionId: string;
@@ -7663,9 +7627,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
7663
7627
  status: "Accepted" | "Rejected" | "Requested";
7664
7628
  originalActionId?: string | null | undefined;
7665
7629
  type: "EDIT";
7666
- content: {
7630
+ content?: {
7667
7631
  comment?: string | undefined;
7668
- };
7632
+ } | undefined;
7669
7633
  } | {
7670
7634
  id: string;
7671
7635
  transactionId: string;
@@ -7706,16 +7670,16 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
7706
7670
  user: {
7707
7671
  id: string & import("zod").$brand<"UUID">;
7708
7672
  type: "system";
7673
+ signature?: undefined;
7709
7674
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
7710
7675
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
7711
- signature?: undefined;
7712
7676
  } | {
7713
7677
  id: string & import("zod").$brand<"UUID">;
7678
+ type: "user";
7714
7679
  role: string;
7715
7680
  signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
7716
7681
  primaryOfficeId: string & import("zod").$brand<"UUID">;
7717
7682
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
7718
- type: "user";
7719
7683
  };
7720
7684
  }>;
7721
7685
  meta: import("trpc-to-openapi").OpenApiMeta;
@@ -7758,17 +7722,17 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
7758
7722
  }>;
7759
7723
  create: import("@trpc/server").TRPCMutationProcedure<{
7760
7724
  input: {
7725
+ data?: Record<string, unknown> | undefined;
7761
7726
  name: {
7762
7727
  firstname: string;
7763
7728
  surname: string;
7764
7729
  };
7730
+ email?: string | undefined;
7765
7731
  role: string;
7766
- primaryOfficeId: string;
7767
- device?: string | undefined;
7768
7732
  fullHonorificName?: string | undefined;
7733
+ device?: string | undefined;
7734
+ primaryOfficeId: string;
7769
7735
  mobile?: string | undefined;
7770
- email?: string | undefined;
7771
- data?: Record<string, unknown> | undefined;
7772
7736
  username?: undefined;
7773
7737
  password?: undefined;
7774
7738
  signature?: {
@@ -7800,17 +7764,17 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
7800
7764
  }>;
7801
7765
  update: import("@trpc/server").TRPCMutationProcedure<{
7802
7766
  input: {
7767
+ data?: Record<string, unknown> | undefined;
7803
7768
  name?: {
7804
7769
  firstname: string;
7805
7770
  surname: string;
7806
7771
  } | undefined;
7772
+ email?: string | undefined;
7807
7773
  role?: string | undefined;
7808
- primaryOfficeId?: string | undefined;
7809
- device?: string | undefined;
7810
7774
  fullHonorificName?: string | undefined;
7775
+ device?: string | undefined;
7776
+ primaryOfficeId?: string | undefined;
7811
7777
  mobile?: string | undefined;
7812
- email?: string | undefined;
7813
- data?: Record<string, unknown> | undefined;
7814
7778
  signature?: {
7815
7779
  path: string;
7816
7780
  originalFilename: string;
@@ -7844,20 +7808,20 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
7844
7808
  input: string[];
7845
7809
  output: ({
7846
7810
  id: string & import("zod").$brand<"UUID">;
7811
+ type: "user";
7847
7812
  name: {
7848
7813
  firstname: string;
7849
7814
  surname: string;
7850
7815
  };
7851
7816
  role: string;
7817
+ fullHonorificName?: string | undefined;
7852
7818
  avatar?: (string & import("zod").$brand<"DocumentPath">) | undefined;
7853
7819
  primaryOfficeId: string & import("zod").$brand<"UUID">;
7854
7820
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
7855
- fullHonorificName?: string | undefined;
7856
- type: "user";
7857
7821
  } | {
7858
7822
  id: string & import("zod").$brand<"UUID">;
7859
- name: string;
7860
7823
  type: "system";
7824
+ name: string;
7861
7825
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
7862
7826
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
7863
7827
  })[];
@@ -7877,21 +7841,21 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
7877
7841
  };
7878
7842
  output: ({
7879
7843
  id: string & import("zod").$brand<"UUID">;
7844
+ type: "user";
7880
7845
  name: {
7881
7846
  firstname: string;
7882
7847
  surname: string;
7883
7848
  };
7884
7849
  role: string;
7850
+ fullHonorificName?: string | undefined;
7885
7851
  avatar?: (string & import("zod").$brand<"DocumentPath">) | undefined;
7886
7852
  primaryOfficeId: string & import("zod").$brand<"UUID">;
7887
7853
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
7888
- fullHonorificName?: string | undefined;
7889
- type: "user";
7890
7854
  status: "active" | "deactivated" | "pending";
7891
7855
  } | {
7892
7856
  id: string & import("zod").$brand<"UUID">;
7893
- name: string;
7894
7857
  type: "system";
7858
+ name: string;
7895
7859
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
7896
7860
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
7897
7861
  status?: "active" | "deactivated" | "pending" | undefined;
@@ -7942,16 +7906,16 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
7942
7906
  user: {
7943
7907
  id: string & import("zod").$brand<"UUID">;
7944
7908
  type: "system";
7909
+ signature?: undefined;
7945
7910
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
7946
7911
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
7947
- signature?: undefined;
7948
7912
  } | {
7949
7913
  id: string & import("zod").$brand<"UUID">;
7914
+ type: "user";
7950
7915
  role: string;
7951
7916
  signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
7952
7917
  primaryOfficeId: string & import("zod").$brand<"UUID">;
7953
7918
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
7954
- type: "user";
7955
7919
  };
7956
7920
  }>;
7957
7921
  meta: import("trpc-to-openapi").OpenApiMeta;
@@ -8066,16 +8030,16 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
8066
8030
  user: {
8067
8031
  id: string & import("zod").$brand<"UUID">;
8068
8032
  type: "system";
8033
+ signature?: undefined;
8069
8034
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
8070
8035
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
8071
- signature?: undefined;
8072
8036
  } | {
8073
8037
  id: string & import("zod").$brand<"UUID">;
8038
+ type: "user";
8074
8039
  role: string;
8075
8040
  signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
8076
8041
  primaryOfficeId: string & import("zod").$brand<"UUID">;
8077
8042
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
8078
- type: "user";
8079
8043
  };
8080
8044
  }>;
8081
8045
  meta: import("trpc-to-openapi").OpenApiMeta;
@@ -8359,16 +8323,16 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
8359
8323
  user: {
8360
8324
  id: string & import("zod").$brand<"UUID">;
8361
8325
  type: "system";
8326
+ signature?: undefined;
8362
8327
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
8363
8328
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
8364
- signature?: undefined;
8365
8329
  } | {
8366
8330
  id: string & import("zod").$brand<"UUID">;
8331
+ type: "user";
8367
8332
  role: string;
8368
8333
  signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
8369
8334
  primaryOfficeId: string & import("zod").$brand<"UUID">;
8370
8335
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
8371
- type: "user";
8372
8336
  };
8373
8337
  }>;
8374
8338
  meta: import("trpc-to-openapi").OpenApiMeta;
@@ -8432,16 +8396,16 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
8432
8396
  user: {
8433
8397
  id: string & import("zod").$brand<"UUID">;
8434
8398
  type: "system";
8399
+ signature?: undefined;
8435
8400
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
8436
8401
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
8437
- signature?: undefined;
8438
8402
  } | {
8439
8403
  id: string & import("zod").$brand<"UUID">;
8404
+ type: "user";
8440
8405
  role: string;
8441
8406
  signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
8442
8407
  primaryOfficeId: string & import("zod").$brand<"UUID">;
8443
8408
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
8444
- type: "user";
8445
8409
  };
8446
8410
  }>;
8447
8411
  meta: import("trpc-to-openapi").OpenApiMeta;
@@ -8454,16 +8418,16 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
8454
8418
  user: {
8455
8419
  id: string & import("zod").$brand<"UUID">;
8456
8420
  type: "system";
8421
+ signature?: undefined;
8457
8422
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
8458
8423
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
8459
- signature?: undefined;
8460
8424
  } | {
8461
8425
  id: string & import("zod").$brand<"UUID">;
8426
+ type: "user";
8462
8427
  role: string;
8463
8428
  signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
8464
8429
  primaryOfficeId: string & import("zod").$brand<"UUID">;
8465
8430
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
8466
- type: "user";
8467
8431
  };
8468
8432
  }>;
8469
8433
  meta: import("trpc-to-openapi").OpenApiMeta;
@@ -8796,16 +8760,16 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
8796
8760
  user: {
8797
8761
  id: string & import("zod").$brand<"UUID">;
8798
8762
  type: "system";
8763
+ signature?: undefined;
8799
8764
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
8800
8765
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
8801
- signature?: undefined;
8802
8766
  } | {
8803
8767
  id: string & import("zod").$brand<"UUID">;
8768
+ type: "user";
8804
8769
  role: string;
8805
8770
  signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
8806
8771
  primaryOfficeId: string & import("zod").$brand<"UUID">;
8807
8772
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
8808
- type: "user";
8809
8773
  };
8810
8774
  }>;
8811
8775
  meta: import("trpc-to-openapi").OpenApiMeta;
@@ -8844,16 +8808,16 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
8844
8808
  user: {
8845
8809
  id: string & import("zod").$brand<"UUID">;
8846
8810
  type: "system";
8811
+ signature?: undefined;
8847
8812
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
8848
8813
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
8849
- signature?: undefined;
8850
8814
  } | {
8851
8815
  id: string & import("zod").$brand<"UUID">;
8816
+ type: "user";
8852
8817
  role: string;
8853
8818
  signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
8854
8819
  primaryOfficeId: string & import("zod").$brand<"UUID">;
8855
8820
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
8856
- type: "user";
8857
8821
  };
8858
8822
  }>;
8859
8823
  meta: import("trpc-to-openapi").OpenApiMeta;
@@ -8962,16 +8926,16 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
8962
8926
  user: {
8963
8927
  id: string & import("zod").$brand<"UUID">;
8964
8928
  type: "system";
8929
+ signature?: undefined;
8965
8930
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
8966
8931
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
8967
- signature?: undefined;
8968
8932
  } | {
8969
8933
  id: string & import("zod").$brand<"UUID">;
8934
+ type: "user";
8970
8935
  role: string;
8971
8936
  signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
8972
8937
  primaryOfficeId: string & import("zod").$brand<"UUID">;
8973
8938
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
8974
- type: "user";
8975
8939
  };
8976
8940
  }>;
8977
8941
  meta: import("trpc-to-openapi").OpenApiMeta;
@@ -8997,16 +8961,16 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
8997
8961
  user: {
8998
8962
  id: string & import("zod").$brand<"UUID">;
8999
8963
  type: "system";
8964
+ signature?: undefined;
9000
8965
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
9001
8966
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
9002
- signature?: undefined;
9003
8967
  } | {
9004
8968
  id: string & import("zod").$brand<"UUID">;
8969
+ type: "user";
9005
8970
  role: string;
9006
8971
  signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
9007
8972
  primaryOfficeId: string & import("zod").$brand<"UUID">;
9008
8973
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
9009
- type: "user";
9010
8974
  };
9011
8975
  }>;
9012
8976
  meta: import("trpc-to-openapi").OpenApiMeta;