@opencrvs/toolkit 1.9.12-rc.9ad0c5f → 1.9.12-rc.9be45d7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (38) hide show
  1. package/dist/application-config/index.js +13 -21
  2. package/dist/cli.js +1246 -35
  3. package/dist/commons/api/router.d.ts +180 -161
  4. package/dist/commons/events/ActionInput.d.ts +36 -0
  5. package/dist/commons/events/Draft.d.ts +1 -0
  6. package/dist/commons/events/EventConfig.d.ts +3 -1
  7. package/dist/commons/events/FieldConfig.d.ts +2 -2
  8. package/dist/events/index.js +29 -23
  9. package/dist/migrations/v2.0/checkout-upstream-files.d.ts +3 -0
  10. package/dist/migrations/v2.0/checkout-upstream-files.d.ts.map +1 -0
  11. package/dist/migrations/v2.0/checkout-upstream-files.js +143 -0
  12. package/dist/migrations/v2.0/convert-config-files-to-ts.d.ts.map +1 -1
  13. package/dist/migrations/v2.0/convert-config-files-to-ts.js +97 -21
  14. package/dist/migrations/v2.0/create-events-index.d.ts +3 -0
  15. package/dist/migrations/v2.0/create-events-index.d.ts.map +1 -0
  16. package/dist/migrations/v2.0/create-events-index.js +326 -0
  17. package/dist/migrations/v2.0/index.d.ts.map +1 -1
  18. package/dist/migrations/v2.0/index.js +1244 -33
  19. package/dist/migrations/v2.0/migrate-scopes.d.ts.map +1 -1
  20. package/dist/migrations/v2.0/migrate-scopes.js +6 -5
  21. package/dist/migrations/v2.0/migrate-workqueue-configs.d.ts +3 -0
  22. package/dist/migrations/v2.0/migrate-workqueue-configs.d.ts.map +1 -0
  23. package/dist/migrations/v2.0/migrate-workqueue-configs.js +237 -0
  24. package/dist/migrations/v2.0/remove-demo-scope.d.ts +3 -0
  25. package/dist/migrations/v2.0/remove-demo-scope.d.ts.map +1 -0
  26. package/dist/migrations/v2.0/remove-demo-scope.js +75 -0
  27. package/dist/migrations/v2.0/remove-hearth-migrations.d.ts +3 -0
  28. package/dist/migrations/v2.0/remove-hearth-migrations.d.ts.map +1 -0
  29. package/dist/migrations/v2.0/remove-hearth-migrations.js +78 -0
  30. package/dist/migrations/v2.0/simplify-analytics-precalculations.d.ts +3 -0
  31. package/dist/migrations/v2.0/simplify-analytics-precalculations.d.ts.map +1 -0
  32. package/dist/migrations/v2.0/simplify-analytics-precalculations.js +196 -0
  33. package/dist/notification/index.js +17 -21
  34. package/opencrvs-toolkit-1.9.12-rc.9be45d7.tgz +0 -0
  35. package/package.json +1 -1
  36. package/tsconfig.json +3 -0
  37. package/tsconfig.tsbuildinfo +1 -1
  38. package/opencrvs-toolkit-1.9.12-rc.9ad0c5f.tgz +0 -0
@@ -5,14 +5,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5
5
  id: string;
6
6
  type: "system";
7
7
  signature?: undefined;
8
- primaryOfficeId?: undefined;
9
- administrativeAreaId?: undefined;
8
+ primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
9
+ administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
10
10
  } | {
11
- id: string;
11
+ id: string & import("zod").$brand<"UUID">;
12
12
  type: "user";
13
13
  role: string;
14
14
  primaryOfficeId: string & import("zod").$brand<"UUID">;
15
- signature?: (string & import("zod").$brand<"DocumentPath">) | undefined;
15
+ signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
16
16
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
17
17
  };
18
18
  }>;
@@ -27,14 +27,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
27
27
  id: string;
28
28
  type: "system";
29
29
  signature?: undefined;
30
- primaryOfficeId?: undefined;
31
- administrativeAreaId?: undefined;
30
+ primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
31
+ administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
32
32
  } | {
33
- id: string;
33
+ id: string & import("zod").$brand<"UUID">;
34
34
  type: "user";
35
35
  role: string;
36
36
  primaryOfficeId: string & import("zod").$brand<"UUID">;
37
- signature?: (string & import("zod").$brand<"DocumentPath">) | undefined;
37
+ signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
38
38
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
39
39
  };
40
40
  }>;
@@ -49,14 +49,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
49
49
  id: string;
50
50
  type: "system";
51
51
  signature?: undefined;
52
- primaryOfficeId?: undefined;
53
- administrativeAreaId?: undefined;
52
+ primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
53
+ administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
54
54
  } | {
55
- id: string;
55
+ id: string & import("zod").$brand<"UUID">;
56
56
  type: "user";
57
57
  role: string;
58
58
  primaryOfficeId: string & import("zod").$brand<"UUID">;
59
- signature?: (string & import("zod").$brand<"DocumentPath">) | undefined;
59
+ signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
60
60
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
61
61
  };
62
62
  }>;
@@ -95,14 +95,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
95
95
  id: string;
96
96
  type: "system";
97
97
  signature?: undefined;
98
- primaryOfficeId?: undefined;
99
- administrativeAreaId?: undefined;
98
+ primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
99
+ administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
100
100
  } | {
101
- id: string;
101
+ id: string & import("zod").$brand<"UUID">;
102
102
  type: "user";
103
103
  role: string;
104
104
  primaryOfficeId: string & import("zod").$brand<"UUID">;
105
- signature?: (string & import("zod").$brand<"DocumentPath">) | undefined;
105
+ signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
106
106
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
107
107
  };
108
108
  }>;
@@ -1057,14 +1057,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1057
1057
  id: string;
1058
1058
  type: "system";
1059
1059
  signature?: undefined;
1060
- primaryOfficeId?: undefined;
1061
- administrativeAreaId?: undefined;
1060
+ primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
1061
+ administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
1062
1062
  } | {
1063
- id: string;
1063
+ id: string & import("zod").$brand<"UUID">;
1064
1064
  type: "user";
1065
1065
  role: string;
1066
1066
  primaryOfficeId: string & import("zod").$brand<"UUID">;
1067
- signature?: (string & import("zod").$brand<"DocumentPath">) | undefined;
1067
+ signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
1068
1068
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
1069
1069
  };
1070
1070
  }>;
@@ -1105,6 +1105,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1105
1105
  annotation?: Record<string, unknown> | undefined;
1106
1106
  originalActionId?: string | undefined;
1107
1107
  keepAssignment?: boolean | undefined;
1108
+ waitFor?: boolean | undefined;
1108
1109
  createdAtLocation?: string | null | undefined;
1109
1110
  };
1110
1111
  output: {
@@ -1136,14 +1137,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1136
1137
  id: string;
1137
1138
  type: "system";
1138
1139
  signature?: undefined;
1139
- primaryOfficeId?: undefined;
1140
- administrativeAreaId?: undefined;
1140
+ primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
1141
+ administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
1141
1142
  } | {
1142
- id: string;
1143
+ id: string & import("zod").$brand<"UUID">;
1143
1144
  type: "user";
1144
1145
  role: string;
1145
1146
  primaryOfficeId: string & import("zod").$brand<"UUID">;
1146
- signature?: (string & import("zod").$brand<"DocumentPath">) | undefined;
1147
+ signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
1147
1148
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
1148
1149
  };
1149
1150
  }>;
@@ -1158,14 +1159,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1158
1159
  id: string;
1159
1160
  type: "system";
1160
1161
  signature?: undefined;
1161
- primaryOfficeId?: undefined;
1162
- administrativeAreaId?: undefined;
1162
+ primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
1163
+ administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
1163
1164
  } | {
1164
- id: string;
1165
+ id: string & import("zod").$brand<"UUID">;
1165
1166
  type: "user";
1166
1167
  role: string;
1167
1168
  primaryOfficeId: string & import("zod").$brand<"UUID">;
1168
- signature?: (string & import("zod").$brand<"DocumentPath">) | undefined;
1169
+ signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
1169
1170
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
1170
1171
  };
1171
1172
  }>;
@@ -1202,14 +1203,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1202
1203
  id: string;
1203
1204
  type: "system";
1204
1205
  signature?: undefined;
1205
- primaryOfficeId?: undefined;
1206
- administrativeAreaId?: undefined;
1206
+ primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
1207
+ administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
1207
1208
  } | {
1208
- id: string;
1209
+ id: string & import("zod").$brand<"UUID">;
1209
1210
  type: "user";
1210
1211
  role: string;
1211
1212
  primaryOfficeId: string & import("zod").$brand<"UUID">;
1212
- signature?: (string & import("zod").$brand<"DocumentPath">) | undefined;
1213
+ signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
1213
1214
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
1214
1215
  };
1215
1216
  }>;
@@ -1225,6 +1226,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1225
1226
  annotation?: Record<string, unknown> | undefined;
1226
1227
  originalActionId?: string | undefined;
1227
1228
  keepAssignment?: boolean | undefined;
1229
+ waitFor?: boolean | undefined;
1228
1230
  createdAtLocation?: string | null | undefined;
1229
1231
  type?: "DECLARE" | undefined;
1230
1232
  };
@@ -1555,14 +1557,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1555
1557
  id: string;
1556
1558
  type: "system";
1557
1559
  signature?: undefined;
1558
- primaryOfficeId?: undefined;
1559
- administrativeAreaId?: undefined;
1560
+ primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
1561
+ administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
1560
1562
  } | {
1561
- id: string;
1563
+ id: string & import("zod").$brand<"UUID">;
1562
1564
  type: "user";
1563
1565
  role: string;
1564
1566
  primaryOfficeId: string & import("zod").$brand<"UUID">;
1565
- signature?: (string & import("zod").$brand<"DocumentPath">) | undefined;
1567
+ signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
1566
1568
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
1567
1569
  };
1568
1570
  }>;
@@ -1599,14 +1601,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1599
1601
  id: string;
1600
1602
  type: "system";
1601
1603
  signature?: undefined;
1602
- primaryOfficeId?: undefined;
1603
- administrativeAreaId?: undefined;
1604
+ primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
1605
+ administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
1604
1606
  } | {
1605
- id: string;
1607
+ id: string & import("zod").$brand<"UUID">;
1606
1608
  type: "user";
1607
1609
  role: string;
1608
1610
  primaryOfficeId: string & import("zod").$brand<"UUID">;
1609
- signature?: (string & import("zod").$brand<"DocumentPath">) | undefined;
1611
+ signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
1610
1612
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
1611
1613
  };
1612
1614
  }>;
@@ -1643,14 +1645,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1643
1645
  id: string;
1644
1646
  type: "system";
1645
1647
  signature?: undefined;
1646
- primaryOfficeId?: undefined;
1647
- administrativeAreaId?: undefined;
1648
+ primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
1649
+ administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
1648
1650
  } | {
1649
- id: string;
1651
+ id: string & import("zod").$brand<"UUID">;
1650
1652
  type: "user";
1651
1653
  role: string;
1652
1654
  primaryOfficeId: string & import("zod").$brand<"UUID">;
1653
- signature?: (string & import("zod").$brand<"DocumentPath">) | undefined;
1655
+ signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
1654
1656
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
1655
1657
  };
1656
1658
  }>;
@@ -1687,14 +1689,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1687
1689
  id: string;
1688
1690
  type: "system";
1689
1691
  signature?: undefined;
1690
- primaryOfficeId?: undefined;
1691
- administrativeAreaId?: undefined;
1692
+ primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
1693
+ administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
1692
1694
  } | {
1693
- id: string;
1695
+ id: string & import("zod").$brand<"UUID">;
1694
1696
  type: "user";
1695
1697
  role: string;
1696
1698
  primaryOfficeId: string & import("zod").$brand<"UUID">;
1697
- signature?: (string & import("zod").$brand<"DocumentPath">) | undefined;
1699
+ signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
1698
1700
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
1699
1701
  };
1700
1702
  }>;
@@ -1731,14 +1733,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1731
1733
  id: string;
1732
1734
  type: "system";
1733
1735
  signature?: undefined;
1734
- primaryOfficeId?: undefined;
1735
- administrativeAreaId?: undefined;
1736
+ primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
1737
+ administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
1736
1738
  } | {
1737
- id: string;
1739
+ id: string & import("zod").$brand<"UUID">;
1738
1740
  type: "user";
1739
1741
  role: string;
1740
1742
  primaryOfficeId: string & import("zod").$brand<"UUID">;
1741
- signature?: (string & import("zod").$brand<"DocumentPath">) | undefined;
1743
+ signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
1742
1744
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
1743
1745
  };
1744
1746
  }>;
@@ -1775,14 +1777,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1775
1777
  id: string;
1776
1778
  type: "system";
1777
1779
  signature?: undefined;
1778
- primaryOfficeId?: undefined;
1779
- administrativeAreaId?: undefined;
1780
+ primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
1781
+ administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
1780
1782
  } | {
1781
- id: string;
1783
+ id: string & import("zod").$brand<"UUID">;
1782
1784
  type: "user";
1783
1785
  role: string;
1784
1786
  primaryOfficeId: string & import("zod").$brand<"UUID">;
1785
- signature?: (string & import("zod").$brand<"DocumentPath">) | undefined;
1787
+ signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
1786
1788
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
1787
1789
  };
1788
1790
  }>;
@@ -1799,6 +1801,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1799
1801
  annotation?: Record<string, unknown> | undefined;
1800
1802
  originalActionId?: string | undefined;
1801
1803
  keepAssignment?: boolean | undefined;
1804
+ waitFor?: boolean | undefined;
1802
1805
  createdAtLocation?: string | null | undefined;
1803
1806
  type?: "CUSTOM" | undefined;
1804
1807
  };
@@ -2129,14 +2132,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
2129
2132
  id: string;
2130
2133
  type: "system";
2131
2134
  signature?: undefined;
2132
- primaryOfficeId?: undefined;
2133
- administrativeAreaId?: undefined;
2135
+ primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
2136
+ administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
2134
2137
  } | {
2135
- id: string;
2138
+ id: string & import("zod").$brand<"UUID">;
2136
2139
  type: "user";
2137
2140
  role: string;
2138
2141
  primaryOfficeId: string & import("zod").$brand<"UUID">;
2139
- signature?: (string & import("zod").$brand<"DocumentPath">) | undefined;
2142
+ signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
2140
2143
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
2141
2144
  };
2142
2145
  }>;
@@ -2154,6 +2157,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
2154
2157
  annotation?: Record<string, unknown> | undefined;
2155
2158
  originalActionId?: string | undefined;
2156
2159
  keepAssignment?: boolean | undefined;
2160
+ waitFor?: boolean | undefined;
2157
2161
  createdAtLocation?: string | null | undefined;
2158
2162
  };
2159
2163
  output: {
@@ -2467,6 +2471,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
2467
2471
  annotation?: Record<string, unknown> | undefined;
2468
2472
  originalActionId?: string | undefined;
2469
2473
  keepAssignment?: boolean | undefined;
2474
+ waitFor?: boolean | undefined;
2470
2475
  createdAtLocation?: string | null | undefined;
2471
2476
  type?: "UNASSIGN" | undefined;
2472
2477
  assignedTo?: null | undefined;
@@ -2782,14 +2787,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
2782
2787
  id: string;
2783
2788
  type: "system";
2784
2789
  signature?: undefined;
2785
- primaryOfficeId?: undefined;
2786
- administrativeAreaId?: undefined;
2790
+ primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
2791
+ administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
2787
2792
  } | {
2788
- id: string;
2793
+ id: string & import("zod").$brand<"UUID">;
2789
2794
  type: "user";
2790
2795
  role: string;
2791
2796
  primaryOfficeId: string & import("zod").$brand<"UUID">;
2792
- signature?: (string & import("zod").$brand<"DocumentPath">) | undefined;
2797
+ signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
2793
2798
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
2794
2799
  };
2795
2800
  }>;
@@ -2804,14 +2809,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
2804
2809
  id: string;
2805
2810
  type: "system";
2806
2811
  signature?: undefined;
2807
- primaryOfficeId?: undefined;
2808
- administrativeAreaId?: undefined;
2812
+ primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
2813
+ administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
2809
2814
  } | {
2810
- id: string;
2815
+ id: string & import("zod").$brand<"UUID">;
2811
2816
  type: "user";
2812
2817
  role: string;
2813
2818
  primaryOfficeId: string & import("zod").$brand<"UUID">;
2814
- signature?: (string & import("zod").$brand<"DocumentPath">) | undefined;
2819
+ signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
2815
2820
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
2816
2821
  };
2817
2822
  }>;
@@ -2848,14 +2853,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
2848
2853
  id: string;
2849
2854
  type: "system";
2850
2855
  signature?: undefined;
2851
- primaryOfficeId?: undefined;
2852
- administrativeAreaId?: undefined;
2856
+ primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
2857
+ administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
2853
2858
  } | {
2854
- id: string;
2859
+ id: string & import("zod").$brand<"UUID">;
2855
2860
  type: "user";
2856
2861
  role: string;
2857
2862
  primaryOfficeId: string & import("zod").$brand<"UUID">;
2858
- signature?: (string & import("zod").$brand<"DocumentPath">) | undefined;
2863
+ signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
2859
2864
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
2860
2865
  };
2861
2866
  }>;
@@ -2892,14 +2897,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
2892
2897
  id: string;
2893
2898
  type: "system";
2894
2899
  signature?: undefined;
2895
- primaryOfficeId?: undefined;
2896
- administrativeAreaId?: undefined;
2900
+ primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
2901
+ administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
2897
2902
  } | {
2898
- id: string;
2903
+ id: string & import("zod").$brand<"UUID">;
2899
2904
  type: "user";
2900
2905
  role: string;
2901
2906
  primaryOfficeId: string & import("zod").$brand<"UUID">;
2902
- signature?: (string & import("zod").$brand<"DocumentPath">) | undefined;
2907
+ signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
2903
2908
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
2904
2909
  };
2905
2910
  }>;
@@ -2937,14 +2942,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
2937
2942
  id: string;
2938
2943
  type: "system";
2939
2944
  signature?: undefined;
2940
- primaryOfficeId?: undefined;
2941
- administrativeAreaId?: undefined;
2945
+ primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
2946
+ administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
2942
2947
  } | {
2943
- id: string;
2948
+ id: string & import("zod").$brand<"UUID">;
2944
2949
  type: "user";
2945
2950
  role: string;
2946
2951
  primaryOfficeId: string & import("zod").$brand<"UUID">;
2947
- signature?: (string & import("zod").$brand<"DocumentPath">) | undefined;
2952
+ signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
2948
2953
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
2949
2954
  };
2950
2955
  }>;
@@ -2960,6 +2965,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
2960
2965
  annotation?: Record<string, unknown> | undefined;
2961
2966
  originalActionId?: string | undefined;
2962
2967
  keepAssignment?: boolean | undefined;
2968
+ waitFor?: boolean | undefined;
2963
2969
  createdAtLocation?: string | null | undefined;
2964
2970
  type?: "MARK_AS_DUPLICATE" | undefined;
2965
2971
  content?: {
@@ -3277,6 +3283,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
3277
3283
  annotation?: Record<string, unknown> | undefined;
3278
3284
  originalActionId?: string | undefined;
3279
3285
  keepAssignment?: boolean | undefined;
3286
+ waitFor?: boolean | undefined;
3280
3287
  createdAtLocation?: string | null | undefined;
3281
3288
  type?: "MARK_AS_NOT_DUPLICATE" | undefined;
3282
3289
  };
@@ -3955,14 +3962,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
3955
3962
  id: string;
3956
3963
  type: "system";
3957
3964
  signature?: undefined;
3958
- primaryOfficeId?: undefined;
3959
- administrativeAreaId?: undefined;
3965
+ primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
3966
+ administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
3960
3967
  } | {
3961
- id: string;
3968
+ id: string & import("zod").$brand<"UUID">;
3962
3969
  type: "user";
3963
3970
  role: string;
3964
3971
  primaryOfficeId: string & import("zod").$brand<"UUID">;
3965
- signature?: (string & import("zod").$brand<"DocumentPath">) | undefined;
3972
+ signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
3966
3973
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
3967
3974
  };
3968
3975
  }>;
@@ -3973,7 +3980,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
3973
3980
  get: import("@trpc/server").TRPCQueryProcedure<{
3974
3981
  input: string;
3975
3982
  output: {
3976
- id: string;
3983
+ id: string & import("zod").$brand<"UUID">;
3977
3984
  name: {
3978
3985
  use: string;
3979
3986
  given: string[];
@@ -3984,7 +3991,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
3984
3991
  type: "user";
3985
3992
  status: "active" | "pending" | "deactivated";
3986
3993
  avatar?: (string & import("zod").$brand<"DocumentPath">) | undefined;
3987
- signature?: (string & import("zod").$brand<"DocumentPath">) | undefined;
3994
+ signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
3988
3995
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
3989
3996
  device?: string | undefined;
3990
3997
  fullHonorificName?: string | undefined;
@@ -3995,8 +4002,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
3995
4002
  id: string;
3996
4003
  name: string;
3997
4004
  type: "system";
3998
- primaryOfficeId?: undefined;
3999
- administrativeAreaId?: undefined;
4005
+ primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
4006
+ administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
4000
4007
  signature?: undefined;
4001
4008
  avatar?: undefined;
4002
4009
  fullHonorificName?: string | undefined;
@@ -4012,25 +4019,22 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4012
4019
  given: string[];
4013
4020
  family: string;
4014
4021
  }[];
4015
- email: string;
4016
4022
  role: string;
4017
4023
  primaryOfficeId: string;
4018
- username?: string | undefined;
4019
- mobile?: string | undefined;
4024
+ data?: Record<string, unknown> | undefined;
4020
4025
  fullHonorificName?: string | undefined;
4021
- emailForNotification?: string | undefined;
4022
- password?: string | undefined;
4023
4026
  device?: string | undefined;
4024
- status?: "active" | "pending" | undefined;
4027
+ email?: string | undefined;
4028
+ mobile?: string | undefined;
4029
+ username?: undefined;
4025
4030
  signature?: {
4026
4031
  path: string;
4027
4032
  originalFilename: string;
4028
4033
  type: string;
4029
4034
  } | undefined;
4030
- data?: Record<string, unknown> | undefined;
4031
4035
  };
4032
4036
  output: {
4033
- id: string;
4037
+ id: string & import("zod").$brand<"UUID">;
4034
4038
  name: {
4035
4039
  use: string;
4036
4040
  given: string[];
@@ -4041,7 +4045,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4041
4045
  type: "user";
4042
4046
  status: "active" | "pending" | "deactivated";
4043
4047
  avatar?: (string & import("zod").$brand<"DocumentPath">) | undefined;
4044
- signature?: (string & import("zod").$brand<"DocumentPath">) | undefined;
4048
+ signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
4045
4049
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
4046
4050
  device?: string | undefined;
4047
4051
  fullHonorificName?: string | undefined;
@@ -4053,32 +4057,30 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4053
4057
  }>;
4054
4058
  update: import("@trpc/server").TRPCMutationProcedure<{
4055
4059
  input: {
4056
- name: {
4060
+ id: string;
4061
+ data?: Record<string, unknown> | undefined;
4062
+ name?: {
4057
4063
  use: string;
4058
4064
  given: string[];
4059
4065
  family: string;
4060
- }[];
4061
- email: string;
4062
- role: string;
4063
- primaryOfficeId: string;
4064
- username?: string | undefined;
4065
- mobile?: string | undefined;
4066
+ }[] | undefined;
4067
+ role?: string | undefined;
4066
4068
  fullHonorificName?: string | undefined;
4067
- emailForNotification?: string | undefined;
4068
- password?: string | undefined;
4069
4069
  device?: string | undefined;
4070
- status?: "active" | "pending" | undefined;
4070
+ primaryOfficeId?: string | undefined;
4071
+ email?: string | undefined;
4072
+ mobile?: string | undefined;
4071
4073
  signature?: {
4072
4074
  path: string;
4073
4075
  originalFilename: string;
4074
4076
  type: string;
4075
4077
  } | undefined;
4076
- data?: Record<string, unknown> | undefined;
4078
+ status?: "active" | "deactivated" | undefined;
4077
4079
  } & {
4078
4080
  id: string;
4079
4081
  };
4080
4082
  output: {
4081
- id: string;
4083
+ id: string & import("zod").$brand<"UUID">;
4082
4084
  name: {
4083
4085
  use: string;
4084
4086
  given: string[];
@@ -4089,7 +4091,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4089
4091
  type: "user";
4090
4092
  status: "active" | "pending" | "deactivated";
4091
4093
  avatar?: (string & import("zod").$brand<"DocumentPath">) | undefined;
4092
- signature?: (string & import("zod").$brand<"DocumentPath">) | undefined;
4094
+ signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
4093
4095
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
4094
4096
  device?: string | undefined;
4095
4097
  fullHonorificName?: string | undefined;
@@ -4102,7 +4104,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4102
4104
  list: import("@trpc/server").TRPCQueryProcedure<{
4103
4105
  input: string[];
4104
4106
  output: ({
4105
- id: string;
4107
+ id: string & import("zod").$brand<"UUID">;
4106
4108
  name: {
4107
4109
  use: string;
4108
4110
  given: string[];
@@ -4113,7 +4115,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4113
4115
  type: "user";
4114
4116
  status: "active" | "pending" | "deactivated";
4115
4117
  avatar?: (string & import("zod").$brand<"DocumentPath">) | undefined;
4116
- signature?: (string & import("zod").$brand<"DocumentPath">) | undefined;
4118
+ signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
4117
4119
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
4118
4120
  device?: string | undefined;
4119
4121
  fullHonorificName?: string | undefined;
@@ -4124,8 +4126,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4124
4126
  id: string;
4125
4127
  name: string;
4126
4128
  type: "system";
4127
- primaryOfficeId?: undefined;
4128
- administrativeAreaId?: undefined;
4129
+ primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
4130
+ administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
4129
4131
  signature?: undefined;
4130
4132
  avatar?: undefined;
4131
4133
  fullHonorificName?: string | undefined;
@@ -4141,12 +4143,13 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4141
4143
  sortOrder: "desc" | "asc";
4142
4144
  username?: string | undefined;
4143
4145
  mobile?: string | undefined;
4146
+ email?: string | undefined;
4144
4147
  status?: string | undefined;
4145
4148
  primaryOfficeId?: string | undefined;
4146
- locationId?: string | undefined;
4149
+ sortBy?: "createdAt" | "status" | "username" | "firstname" | "surname" | "role" | "email" | undefined;
4147
4150
  };
4148
4151
  output: ({
4149
- id: string;
4152
+ id: string & import("zod").$brand<"UUID">;
4150
4153
  name: {
4151
4154
  use: string;
4152
4155
  given: string[];
@@ -4157,7 +4160,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4157
4160
  type: "user";
4158
4161
  status: "active" | "pending" | "deactivated";
4159
4162
  avatar?: (string & import("zod").$brand<"DocumentPath">) | undefined;
4160
- signature?: (string & import("zod").$brand<"DocumentPath">) | undefined;
4163
+ signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
4161
4164
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
4162
4165
  device?: string | undefined;
4163
4166
  fullHonorificName?: string | undefined;
@@ -4168,15 +4171,15 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4168
4171
  id: string;
4169
4172
  name: string;
4170
4173
  type: "system";
4171
- primaryOfficeId?: undefined;
4172
- administrativeAreaId?: undefined;
4174
+ primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
4175
+ administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
4173
4176
  signature?: undefined;
4174
4177
  avatar?: undefined;
4175
4178
  fullHonorificName?: string | undefined;
4176
4179
  legacyId?: string | undefined;
4177
4180
  status?: undefined;
4178
4181
  })[];
4179
- meta: import("trpc-to-openapi").OpenApiMeta;
4182
+ meta: object;
4180
4183
  }>;
4181
4184
  actions: import("@trpc/server").TRPCQueryProcedure<{
4182
4185
  input: {
@@ -4223,14 +4226,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4223
4226
  id: string;
4224
4227
  type: "system";
4225
4228
  signature?: undefined;
4226
- primaryOfficeId?: undefined;
4227
- administrativeAreaId?: undefined;
4229
+ primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
4230
+ administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
4228
4231
  } | {
4229
- id: string;
4232
+ id: string & import("zod").$brand<"UUID">;
4230
4233
  type: "user";
4231
4234
  role: string;
4232
4235
  primaryOfficeId: string & import("zod").$brand<"UUID">;
4233
- signature?: (string & import("zod").$brand<"DocumentPath">) | undefined;
4236
+ signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
4234
4237
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
4235
4238
  };
4236
4239
  }>;
@@ -4249,7 +4252,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4249
4252
  }>>;
4250
4253
  changePassword: import("@trpc/server").TRPCMutationProcedure<{
4251
4254
  input: {
4252
- userId: string;
4253
4255
  existingPassword: string;
4254
4256
  password: string;
4255
4257
  };
@@ -4297,7 +4299,24 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4297
4299
  meta: import("trpc-to-openapi").OpenApiMeta;
4298
4300
  }>;
4299
4301
  activate: import("@trpc/server").TRPCMutationProcedure<{
4300
- input: any;
4302
+ input: {
4303
+ userId: string;
4304
+ password: string;
4305
+ securityQNAs: {
4306
+ questionKey: string;
4307
+ answer: string;
4308
+ }[];
4309
+ };
4310
+ output: void;
4311
+ meta: import("trpc-to-openapi").OpenApiMeta;
4312
+ }>;
4313
+ sendUsernameReminder: import("@trpc/server").TRPCMutationProcedure<{
4314
+ input: string;
4315
+ output: void;
4316
+ meta: import("trpc-to-openapi").OpenApiMeta;
4317
+ }>;
4318
+ sendResetPasswordInvite: import("@trpc/server").TRPCMutationProcedure<{
4319
+ input: string;
4301
4320
  output: void;
4302
4321
  meta: import("trpc-to-openapi").OpenApiMeta;
4303
4322
  }>;
@@ -4308,14 +4327,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4308
4327
  id: string;
4309
4328
  type: "system";
4310
4329
  signature?: undefined;
4311
- primaryOfficeId?: undefined;
4312
- administrativeAreaId?: undefined;
4330
+ primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
4331
+ administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
4313
4332
  } | {
4314
- id: string;
4333
+ id: string & import("zod").$brand<"UUID">;
4315
4334
  type: "user";
4316
4335
  role: string;
4317
4336
  primaryOfficeId: string & import("zod").$brand<"UUID">;
4318
- signature?: (string & import("zod").$brand<"DocumentPath">) | undefined;
4337
+ signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
4319
4338
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
4320
4339
  };
4321
4340
  }>;
@@ -4601,14 +4620,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4601
4620
  id: string;
4602
4621
  type: "system";
4603
4622
  signature?: undefined;
4604
- primaryOfficeId?: undefined;
4605
- administrativeAreaId?: undefined;
4623
+ primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
4624
+ administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
4606
4625
  } | {
4607
- id: string;
4626
+ id: string & import("zod").$brand<"UUID">;
4608
4627
  type: "user";
4609
4628
  role: string;
4610
4629
  primaryOfficeId: string & import("zod").$brand<"UUID">;
4611
- signature?: (string & import("zod").$brand<"DocumentPath">) | undefined;
4630
+ signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
4612
4631
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
4613
4632
  };
4614
4633
  }>;
@@ -4631,7 +4650,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4631
4650
  locationType: string | null;
4632
4651
  externalId?: string | null | undefined;
4633
4652
  }[];
4634
- meta: import("trpc-to-openapi").OpenApiMeta;
4653
+ meta: object;
4635
4654
  }>;
4636
4655
  set: import("@trpc/server").TRPCMutationProcedure<{
4637
4656
  input: {
@@ -4643,7 +4662,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4643
4662
  externalId?: string | null | undefined;
4644
4663
  }[];
4645
4664
  output: void;
4646
- meta: import("trpc-to-openapi").OpenApiMeta;
4665
+ meta: object;
4647
4666
  }>;
4648
4667
  get: import("@trpc/server").TRPCQueryProcedure<{
4649
4668
  input: {
@@ -4674,14 +4693,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4674
4693
  id: string;
4675
4694
  type: "system";
4676
4695
  signature?: undefined;
4677
- primaryOfficeId?: undefined;
4678
- administrativeAreaId?: undefined;
4696
+ primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
4697
+ administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
4679
4698
  } | {
4680
- id: string;
4699
+ id: string & import("zod").$brand<"UUID">;
4681
4700
  type: "user";
4682
4701
  role: string;
4683
4702
  primaryOfficeId: string & import("zod").$brand<"UUID">;
4684
- signature?: (string & import("zod").$brand<"DocumentPath">) | undefined;
4703
+ signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
4685
4704
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
4686
4705
  };
4687
4706
  }>;
@@ -4696,14 +4715,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4696
4715
  id: string;
4697
4716
  type: "system";
4698
4717
  signature?: undefined;
4699
- primaryOfficeId?: undefined;
4700
- administrativeAreaId?: undefined;
4718
+ primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
4719
+ administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
4701
4720
  } | {
4702
- id: string;
4721
+ id: string & import("zod").$brand<"UUID">;
4703
4722
  type: "user";
4704
4723
  role: string;
4705
4724
  primaryOfficeId: string & import("zod").$brand<"UUID">;
4706
- signature?: (string & import("zod").$brand<"DocumentPath">) | undefined;
4725
+ signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
4707
4726
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
4708
4727
  };
4709
4728
  }>;
@@ -5036,14 +5055,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5036
5055
  id: string;
5037
5056
  type: "system";
5038
5057
  signature?: undefined;
5039
- primaryOfficeId?: undefined;
5040
- administrativeAreaId?: undefined;
5058
+ primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
5059
+ administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
5041
5060
  } | {
5042
- id: string;
5061
+ id: string & import("zod").$brand<"UUID">;
5043
5062
  type: "user";
5044
5063
  role: string;
5045
5064
  primaryOfficeId: string & import("zod").$brand<"UUID">;
5046
- signature?: (string & import("zod").$brand<"DocumentPath">) | undefined;
5065
+ signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
5047
5066
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
5048
5067
  };
5049
5068
  }>;
@@ -5074,7 +5093,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5074
5093
  externalId?: string | null | undefined;
5075
5094
  }[];
5076
5095
  output: void;
5077
- meta: import("trpc-to-openapi").OpenApiMeta;
5096
+ meta: object;
5078
5097
  }>;
5079
5098
  }>>;
5080
5099
  integrations: import("@trpc/server").TRPCBuiltRouter<{
@@ -5084,14 +5103,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5084
5103
  id: string;
5085
5104
  type: "system";
5086
5105
  signature?: undefined;
5087
- primaryOfficeId?: undefined;
5088
- administrativeAreaId?: undefined;
5106
+ primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
5107
+ administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
5089
5108
  } | {
5090
- id: string;
5109
+ id: string & import("zod").$brand<"UUID">;
5091
5110
  type: "user";
5092
5111
  role: string;
5093
5112
  primaryOfficeId: string & import("zod").$brand<"UUID">;
5094
- signature?: (string & import("zod").$brand<"DocumentPath">) | undefined;
5113
+ signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
5095
5114
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
5096
5115
  };
5097
5116
  }>;
@@ -5202,14 +5221,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5202
5221
  id: string;
5203
5222
  type: "system";
5204
5223
  signature?: undefined;
5205
- primaryOfficeId?: undefined;
5206
- administrativeAreaId?: undefined;
5224
+ primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
5225
+ administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
5207
5226
  } | {
5208
- id: string;
5227
+ id: string & import("zod").$brand<"UUID">;
5209
5228
  type: "user";
5210
5229
  role: string;
5211
5230
  primaryOfficeId: string & import("zod").$brand<"UUID">;
5212
- signature?: (string & import("zod").$brand<"DocumentPath">) | undefined;
5231
+ signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
5213
5232
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
5214
5233
  };
5215
5234
  }>;
@@ -5237,14 +5256,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5237
5256
  id: string;
5238
5257
  type: "system";
5239
5258
  signature?: undefined;
5240
- primaryOfficeId?: undefined;
5241
- administrativeAreaId?: undefined;
5259
+ primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
5260
+ administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
5242
5261
  } | {
5243
- id: string;
5262
+ id: string & import("zod").$brand<"UUID">;
5244
5263
  type: "user";
5245
5264
  role: string;
5246
5265
  primaryOfficeId: string & import("zod").$brand<"UUID">;
5247
- signature?: (string & import("zod").$brand<"DocumentPath">) | undefined;
5266
+ signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
5248
5267
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
5249
5268
  };
5250
5269
  }>;