@opencrvs/toolkit 1.9.12-rc.8a4bacb → 1.9.12-rc.8a639ce

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.
@@ -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
11
  id: string;
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
33
  id: string;
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
55
  id: string;
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
101
  id: string;
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
1063
  id: string;
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
  }>;
@@ -1136,14 +1136,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1136
1136
  id: string;
1137
1137
  type: "system";
1138
1138
  signature?: undefined;
1139
- primaryOfficeId?: undefined;
1140
- administrativeAreaId?: undefined;
1139
+ primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
1140
+ administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
1141
1141
  } | {
1142
1142
  id: string;
1143
1143
  type: "user";
1144
1144
  role: string;
1145
1145
  primaryOfficeId: string & import("zod").$brand<"UUID">;
1146
- signature?: (string & import("zod").$brand<"DocumentPath">) | undefined;
1146
+ signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
1147
1147
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
1148
1148
  };
1149
1149
  }>;
@@ -1158,14 +1158,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1158
1158
  id: string;
1159
1159
  type: "system";
1160
1160
  signature?: undefined;
1161
- primaryOfficeId?: undefined;
1162
- administrativeAreaId?: undefined;
1161
+ primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
1162
+ administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
1163
1163
  } | {
1164
1164
  id: string;
1165
1165
  type: "user";
1166
1166
  role: string;
1167
1167
  primaryOfficeId: string & import("zod").$brand<"UUID">;
1168
- signature?: (string & import("zod").$brand<"DocumentPath">) | undefined;
1168
+ signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
1169
1169
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
1170
1170
  };
1171
1171
  }>;
@@ -1202,14 +1202,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1202
1202
  id: string;
1203
1203
  type: "system";
1204
1204
  signature?: undefined;
1205
- primaryOfficeId?: undefined;
1206
- administrativeAreaId?: undefined;
1205
+ primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
1206
+ administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
1207
1207
  } | {
1208
1208
  id: string;
1209
1209
  type: "user";
1210
1210
  role: string;
1211
1211
  primaryOfficeId: string & import("zod").$brand<"UUID">;
1212
- signature?: (string & import("zod").$brand<"DocumentPath">) | undefined;
1212
+ signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
1213
1213
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
1214
1214
  };
1215
1215
  }>;
@@ -1555,14 +1555,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1555
1555
  id: string;
1556
1556
  type: "system";
1557
1557
  signature?: undefined;
1558
- primaryOfficeId?: undefined;
1559
- administrativeAreaId?: undefined;
1558
+ primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
1559
+ administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
1560
1560
  } | {
1561
1561
  id: string;
1562
1562
  type: "user";
1563
1563
  role: string;
1564
1564
  primaryOfficeId: string & import("zod").$brand<"UUID">;
1565
- signature?: (string & import("zod").$brand<"DocumentPath">) | undefined;
1565
+ signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
1566
1566
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
1567
1567
  };
1568
1568
  }>;
@@ -1599,14 +1599,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1599
1599
  id: string;
1600
1600
  type: "system";
1601
1601
  signature?: undefined;
1602
- primaryOfficeId?: undefined;
1603
- administrativeAreaId?: undefined;
1602
+ primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
1603
+ administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
1604
1604
  } | {
1605
1605
  id: string;
1606
1606
  type: "user";
1607
1607
  role: string;
1608
1608
  primaryOfficeId: string & import("zod").$brand<"UUID">;
1609
- signature?: (string & import("zod").$brand<"DocumentPath">) | undefined;
1609
+ signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
1610
1610
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
1611
1611
  };
1612
1612
  }>;
@@ -1643,14 +1643,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1643
1643
  id: string;
1644
1644
  type: "system";
1645
1645
  signature?: undefined;
1646
- primaryOfficeId?: undefined;
1647
- administrativeAreaId?: undefined;
1646
+ primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
1647
+ administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
1648
1648
  } | {
1649
1649
  id: string;
1650
1650
  type: "user";
1651
1651
  role: string;
1652
1652
  primaryOfficeId: string & import("zod").$brand<"UUID">;
1653
- signature?: (string & import("zod").$brand<"DocumentPath">) | undefined;
1653
+ signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
1654
1654
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
1655
1655
  };
1656
1656
  }>;
@@ -1687,14 +1687,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1687
1687
  id: string;
1688
1688
  type: "system";
1689
1689
  signature?: undefined;
1690
- primaryOfficeId?: undefined;
1691
- administrativeAreaId?: undefined;
1690
+ primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
1691
+ administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
1692
1692
  } | {
1693
1693
  id: string;
1694
1694
  type: "user";
1695
1695
  role: string;
1696
1696
  primaryOfficeId: string & import("zod").$brand<"UUID">;
1697
- signature?: (string & import("zod").$brand<"DocumentPath">) | undefined;
1697
+ signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
1698
1698
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
1699
1699
  };
1700
1700
  }>;
@@ -1731,14 +1731,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1731
1731
  id: string;
1732
1732
  type: "system";
1733
1733
  signature?: undefined;
1734
- primaryOfficeId?: undefined;
1735
- administrativeAreaId?: undefined;
1734
+ primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
1735
+ administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
1736
1736
  } | {
1737
1737
  id: string;
1738
1738
  type: "user";
1739
1739
  role: string;
1740
1740
  primaryOfficeId: string & import("zod").$brand<"UUID">;
1741
- signature?: (string & import("zod").$brand<"DocumentPath">) | undefined;
1741
+ signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
1742
1742
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
1743
1743
  };
1744
1744
  }>;
@@ -1775,14 +1775,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1775
1775
  id: string;
1776
1776
  type: "system";
1777
1777
  signature?: undefined;
1778
- primaryOfficeId?: undefined;
1779
- administrativeAreaId?: undefined;
1778
+ primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
1779
+ administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
1780
1780
  } | {
1781
1781
  id: string;
1782
1782
  type: "user";
1783
1783
  role: string;
1784
1784
  primaryOfficeId: string & import("zod").$brand<"UUID">;
1785
- signature?: (string & import("zod").$brand<"DocumentPath">) | undefined;
1785
+ signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
1786
1786
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
1787
1787
  };
1788
1788
  }>;
@@ -2129,14 +2129,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
2129
2129
  id: string;
2130
2130
  type: "system";
2131
2131
  signature?: undefined;
2132
- primaryOfficeId?: undefined;
2133
- administrativeAreaId?: undefined;
2132
+ primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
2133
+ administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
2134
2134
  } | {
2135
2135
  id: string;
2136
2136
  type: "user";
2137
2137
  role: string;
2138
2138
  primaryOfficeId: string & import("zod").$brand<"UUID">;
2139
- signature?: (string & import("zod").$brand<"DocumentPath">) | undefined;
2139
+ signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
2140
2140
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
2141
2141
  };
2142
2142
  }>;
@@ -2782,14 +2782,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
2782
2782
  id: string;
2783
2783
  type: "system";
2784
2784
  signature?: undefined;
2785
- primaryOfficeId?: undefined;
2786
- administrativeAreaId?: undefined;
2785
+ primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
2786
+ administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
2787
2787
  } | {
2788
2788
  id: string;
2789
2789
  type: "user";
2790
2790
  role: string;
2791
2791
  primaryOfficeId: string & import("zod").$brand<"UUID">;
2792
- signature?: (string & import("zod").$brand<"DocumentPath">) | undefined;
2792
+ signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
2793
2793
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
2794
2794
  };
2795
2795
  }>;
@@ -2804,14 +2804,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
2804
2804
  id: string;
2805
2805
  type: "system";
2806
2806
  signature?: undefined;
2807
- primaryOfficeId?: undefined;
2808
- administrativeAreaId?: undefined;
2807
+ primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
2808
+ administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
2809
2809
  } | {
2810
2810
  id: string;
2811
2811
  type: "user";
2812
2812
  role: string;
2813
2813
  primaryOfficeId: string & import("zod").$brand<"UUID">;
2814
- signature?: (string & import("zod").$brand<"DocumentPath">) | undefined;
2814
+ signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
2815
2815
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
2816
2816
  };
2817
2817
  }>;
@@ -2848,14 +2848,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
2848
2848
  id: string;
2849
2849
  type: "system";
2850
2850
  signature?: undefined;
2851
- primaryOfficeId?: undefined;
2852
- administrativeAreaId?: undefined;
2851
+ primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
2852
+ administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
2853
2853
  } | {
2854
2854
  id: string;
2855
2855
  type: "user";
2856
2856
  role: string;
2857
2857
  primaryOfficeId: string & import("zod").$brand<"UUID">;
2858
- signature?: (string & import("zod").$brand<"DocumentPath">) | undefined;
2858
+ signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
2859
2859
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
2860
2860
  };
2861
2861
  }>;
@@ -2892,14 +2892,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
2892
2892
  id: string;
2893
2893
  type: "system";
2894
2894
  signature?: undefined;
2895
- primaryOfficeId?: undefined;
2896
- administrativeAreaId?: undefined;
2895
+ primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
2896
+ administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
2897
2897
  } | {
2898
2898
  id: string;
2899
2899
  type: "user";
2900
2900
  role: string;
2901
2901
  primaryOfficeId: string & import("zod").$brand<"UUID">;
2902
- signature?: (string & import("zod").$brand<"DocumentPath">) | undefined;
2902
+ signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
2903
2903
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
2904
2904
  };
2905
2905
  }>;
@@ -2937,14 +2937,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
2937
2937
  id: string;
2938
2938
  type: "system";
2939
2939
  signature?: undefined;
2940
- primaryOfficeId?: undefined;
2941
- administrativeAreaId?: undefined;
2940
+ primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
2941
+ administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
2942
2942
  } | {
2943
2943
  id: string;
2944
2944
  type: "user";
2945
2945
  role: string;
2946
2946
  primaryOfficeId: string & import("zod").$brand<"UUID">;
2947
- signature?: (string & import("zod").$brand<"DocumentPath">) | undefined;
2947
+ signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
2948
2948
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
2949
2949
  };
2950
2950
  }>;
@@ -3955,14 +3955,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
3955
3955
  id: string;
3956
3956
  type: "system";
3957
3957
  signature?: undefined;
3958
- primaryOfficeId?: undefined;
3959
- administrativeAreaId?: undefined;
3958
+ primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
3959
+ administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
3960
3960
  } | {
3961
3961
  id: string;
3962
3962
  type: "user";
3963
3963
  role: string;
3964
3964
  primaryOfficeId: string & import("zod").$brand<"UUID">;
3965
- signature?: (string & import("zod").$brand<"DocumentPath">) | undefined;
3965
+ signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
3966
3966
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
3967
3967
  };
3968
3968
  }>;
@@ -3984,7 +3984,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
3984
3984
  type: "user";
3985
3985
  status: "active" | "pending" | "deactivated";
3986
3986
  avatar?: (string & import("zod").$brand<"DocumentPath">) | undefined;
3987
- signature?: (string & import("zod").$brand<"DocumentPath">) | undefined;
3987
+ signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
3988
3988
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
3989
3989
  device?: string | undefined;
3990
3990
  fullHonorificName?: string | undefined;
@@ -3995,8 +3995,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
3995
3995
  id: string;
3996
3996
  name: string;
3997
3997
  type: "system";
3998
- primaryOfficeId?: undefined;
3999
- administrativeAreaId?: undefined;
3998
+ primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
3999
+ administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
4000
4000
  signature?: undefined;
4001
4001
  avatar?: undefined;
4002
4002
  fullHonorificName?: string | undefined;
@@ -4041,7 +4041,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4041
4041
  type: "user";
4042
4042
  status: "active" | "pending" | "deactivated";
4043
4043
  avatar?: (string & import("zod").$brand<"DocumentPath">) | undefined;
4044
- signature?: (string & import("zod").$brand<"DocumentPath">) | undefined;
4044
+ signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
4045
4045
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
4046
4046
  device?: string | undefined;
4047
4047
  fullHonorificName?: string | undefined;
@@ -4049,23 +4049,23 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4049
4049
  email?: string | undefined;
4050
4050
  data?: Record<string, import("../commons").FieldValue> | undefined;
4051
4051
  };
4052
- meta: import("trpc-to-openapi").OpenApiMeta;
4052
+ meta: object;
4053
4053
  }>;
4054
4054
  update: import("@trpc/server").TRPCMutationProcedure<{
4055
4055
  input: {
4056
- name: {
4056
+ name?: {
4057
4057
  use: string;
4058
4058
  given: string[];
4059
4059
  family: string;
4060
- }[];
4061
- email: string;
4062
- role: string;
4063
- primaryOfficeId: string;
4060
+ }[] | undefined;
4064
4061
  username?: string | undefined;
4062
+ email?: string | undefined;
4065
4063
  mobile?: string | undefined;
4066
4064
  fullHonorificName?: string | undefined;
4067
4065
  emailForNotification?: string | undefined;
4068
4066
  password?: string | undefined;
4067
+ role?: string | undefined;
4068
+ primaryOfficeId?: string | undefined;
4069
4069
  device?: string | undefined;
4070
4070
  status?: "active" | "pending" | undefined;
4071
4071
  signature?: {
@@ -4089,7 +4089,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4089
4089
  type: "user";
4090
4090
  status: "active" | "pending" | "deactivated";
4091
4091
  avatar?: (string & import("zod").$brand<"DocumentPath">) | undefined;
4092
- signature?: (string & import("zod").$brand<"DocumentPath">) | undefined;
4092
+ signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
4093
4093
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
4094
4094
  device?: string | undefined;
4095
4095
  fullHonorificName?: string | undefined;
@@ -4113,7 +4113,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4113
4113
  type: "user";
4114
4114
  status: "active" | "pending" | "deactivated";
4115
4115
  avatar?: (string & import("zod").$brand<"DocumentPath">) | undefined;
4116
- signature?: (string & import("zod").$brand<"DocumentPath">) | undefined;
4116
+ signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
4117
4117
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
4118
4118
  device?: string | undefined;
4119
4119
  fullHonorificName?: string | undefined;
@@ -4124,8 +4124,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4124
4124
  id: string;
4125
4125
  name: string;
4126
4126
  type: "system";
4127
- primaryOfficeId?: undefined;
4128
- administrativeAreaId?: undefined;
4127
+ primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
4128
+ administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
4129
4129
  signature?: undefined;
4130
4130
  avatar?: undefined;
4131
4131
  fullHonorificName?: string | undefined;
@@ -4141,9 +4141,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4141
4141
  sortOrder: "desc" | "asc";
4142
4142
  username?: string | undefined;
4143
4143
  mobile?: string | undefined;
4144
+ email?: string | undefined;
4144
4145
  status?: string | undefined;
4145
4146
  primaryOfficeId?: string | undefined;
4146
- locationId?: string | undefined;
4147
+ sortBy?: "createdAt" | "status" | "username" | "firstname" | "surname" | "role" | "email" | undefined;
4147
4148
  };
4148
4149
  output: ({
4149
4150
  id: string;
@@ -4157,7 +4158,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4157
4158
  type: "user";
4158
4159
  status: "active" | "pending" | "deactivated";
4159
4160
  avatar?: (string & import("zod").$brand<"DocumentPath">) | undefined;
4160
- signature?: (string & import("zod").$brand<"DocumentPath">) | undefined;
4161
+ signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
4161
4162
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
4162
4163
  device?: string | undefined;
4163
4164
  fullHonorificName?: string | undefined;
@@ -4168,15 +4169,15 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4168
4169
  id: string;
4169
4170
  name: string;
4170
4171
  type: "system";
4171
- primaryOfficeId?: undefined;
4172
- administrativeAreaId?: undefined;
4172
+ primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
4173
+ administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
4173
4174
  signature?: undefined;
4174
4175
  avatar?: undefined;
4175
4176
  fullHonorificName?: string | undefined;
4176
4177
  legacyId?: string | undefined;
4177
4178
  status?: undefined;
4178
4179
  })[];
4179
- meta: import("trpc-to-openapi").OpenApiMeta;
4180
+ meta: object;
4180
4181
  }>;
4181
4182
  actions: import("@trpc/server").TRPCQueryProcedure<{
4182
4183
  input: {
@@ -4223,14 +4224,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4223
4224
  id: string;
4224
4225
  type: "system";
4225
4226
  signature?: undefined;
4226
- primaryOfficeId?: undefined;
4227
- administrativeAreaId?: undefined;
4227
+ primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
4228
+ administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
4228
4229
  } | {
4229
4230
  id: string;
4230
4231
  type: "user";
4231
4232
  role: string;
4232
4233
  primaryOfficeId: string & import("zod").$brand<"UUID">;
4233
- signature?: (string & import("zod").$brand<"DocumentPath">) | undefined;
4234
+ signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
4234
4235
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
4235
4236
  };
4236
4237
  }>;
@@ -4249,7 +4250,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4249
4250
  }>>;
4250
4251
  changePassword: import("@trpc/server").TRPCMutationProcedure<{
4251
4252
  input: {
4252
- userId: string;
4253
4253
  existingPassword: string;
4254
4254
  password: string;
4255
4255
  };
@@ -4296,8 +4296,20 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4296
4296
  output: void;
4297
4297
  meta: import("trpc-to-openapi").OpenApiMeta;
4298
4298
  }>;
4299
+ resendInvite: import("@trpc/server").TRPCMutationProcedure<{
4300
+ input: string;
4301
+ output: void;
4302
+ meta: import("trpc-to-openapi").OpenApiMeta;
4303
+ }>;
4299
4304
  activate: import("@trpc/server").TRPCMutationProcedure<{
4300
- input: any;
4305
+ input: {
4306
+ userId: string;
4307
+ password: string;
4308
+ securityQNAs: {
4309
+ questionKey: string;
4310
+ answer: string;
4311
+ }[];
4312
+ };
4301
4313
  output: void;
4302
4314
  meta: import("trpc-to-openapi").OpenApiMeta;
4303
4315
  }>;
@@ -4308,14 +4320,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4308
4320
  id: string;
4309
4321
  type: "system";
4310
4322
  signature?: undefined;
4311
- primaryOfficeId?: undefined;
4312
- administrativeAreaId?: undefined;
4323
+ primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
4324
+ administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
4313
4325
  } | {
4314
4326
  id: string;
4315
4327
  type: "user";
4316
4328
  role: string;
4317
4329
  primaryOfficeId: string & import("zod").$brand<"UUID">;
4318
- signature?: (string & import("zod").$brand<"DocumentPath">) | undefined;
4330
+ signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
4319
4331
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
4320
4332
  };
4321
4333
  }>;
@@ -4339,7 +4351,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4339
4351
  comment?: string | undefined;
4340
4352
  };
4341
4353
  } | {
4342
- operation: "user.edit_user" | "user.logged_in" | "user.logged_out" | "user.password_changed" | "user.password_reset" | "user.password_reset_by_admin" | "user.username_reminder" | "user.username_reminder_by_admin";
4354
+ operation: "user.edit_user" | "user.logged_in" | "user.logged_out" | "user.password_changed" | "user.password_reset" | "user.password_reset_by_admin" | "user.resend_invite" | "user.username_reminder" | "user.username_reminder_by_admin";
4343
4355
  requestData: {
4344
4356
  subjectId: string;
4345
4357
  };
@@ -4559,7 +4571,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4559
4571
  clientId: string;
4560
4572
  clientType: "system" | "user";
4561
4573
  createdAt: string;
4562
- operation: "user.edit_user" | "user.logged_in" | "user.logged_out" | "user.password_changed" | "user.password_reset" | "user.password_reset_by_admin" | "user.username_reminder" | "user.username_reminder_by_admin";
4574
+ operation: "user.edit_user" | "user.logged_in" | "user.logged_out" | "user.password_changed" | "user.password_reset" | "user.password_reset_by_admin" | "user.resend_invite" | "user.username_reminder" | "user.username_reminder_by_admin";
4563
4575
  requestData: {
4564
4576
  subjectId: string;
4565
4577
  };
@@ -4601,14 +4613,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4601
4613
  id: string;
4602
4614
  type: "system";
4603
4615
  signature?: undefined;
4604
- primaryOfficeId?: undefined;
4605
- administrativeAreaId?: undefined;
4616
+ primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
4617
+ administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
4606
4618
  } | {
4607
4619
  id: string;
4608
4620
  type: "user";
4609
4621
  role: string;
4610
4622
  primaryOfficeId: string & import("zod").$brand<"UUID">;
4611
- signature?: (string & import("zod").$brand<"DocumentPath">) | undefined;
4623
+ signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
4612
4624
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
4613
4625
  };
4614
4626
  }>;
@@ -4631,7 +4643,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4631
4643
  locationType: string | null;
4632
4644
  externalId?: string | null | undefined;
4633
4645
  }[];
4634
- meta: import("trpc-to-openapi").OpenApiMeta;
4646
+ meta: object;
4635
4647
  }>;
4636
4648
  set: import("@trpc/server").TRPCMutationProcedure<{
4637
4649
  input: {
@@ -4643,7 +4655,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4643
4655
  externalId?: string | null | undefined;
4644
4656
  }[];
4645
4657
  output: void;
4646
- meta: import("trpc-to-openapi").OpenApiMeta;
4658
+ meta: object;
4647
4659
  }>;
4648
4660
  get: import("@trpc/server").TRPCQueryProcedure<{
4649
4661
  input: {
@@ -4674,14 +4686,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4674
4686
  id: string;
4675
4687
  type: "system";
4676
4688
  signature?: undefined;
4677
- primaryOfficeId?: undefined;
4678
- administrativeAreaId?: undefined;
4689
+ primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
4690
+ administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
4679
4691
  } | {
4680
4692
  id: string;
4681
4693
  type: "user";
4682
4694
  role: string;
4683
4695
  primaryOfficeId: string & import("zod").$brand<"UUID">;
4684
- signature?: (string & import("zod").$brand<"DocumentPath">) | undefined;
4696
+ signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
4685
4697
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
4686
4698
  };
4687
4699
  }>;
@@ -4696,14 +4708,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4696
4708
  id: string;
4697
4709
  type: "system";
4698
4710
  signature?: undefined;
4699
- primaryOfficeId?: undefined;
4700
- administrativeAreaId?: undefined;
4711
+ primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
4712
+ administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
4701
4713
  } | {
4702
4714
  id: string;
4703
4715
  type: "user";
4704
4716
  role: string;
4705
4717
  primaryOfficeId: string & import("zod").$brand<"UUID">;
4706
- signature?: (string & import("zod").$brand<"DocumentPath">) | undefined;
4718
+ signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
4707
4719
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
4708
4720
  };
4709
4721
  }>;
@@ -4756,7 +4768,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4756
4768
  'legalStatuses.DECLARED.createdAtLocation'?: {
4757
4769
  type: "within";
4758
4770
  location: string | {
4759
- $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
4771
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "signature" | "middlename" | "avatar";
4760
4772
  $location?: string | undefined;
4761
4773
  };
4762
4774
  } | undefined;
@@ -4778,7 +4790,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4778
4790
  'legalStatuses.REGISTERED.createdAtLocation'?: {
4779
4791
  type: "within";
4780
4792
  location: string | {
4781
- $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
4793
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "signature" | "middlename" | "avatar";
4782
4794
  $location?: string | undefined;
4783
4795
  };
4784
4796
  } | undefined;
@@ -4793,47 +4805,47 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4793
4805
  createdAtLocation?: {
4794
4806
  type: "within";
4795
4807
  location: string | {
4796
- $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
4808
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "signature" | "middlename" | "avatar";
4797
4809
  $location?: string | undefined;
4798
4810
  };
4799
4811
  } | {
4800
4812
  type: "exact";
4801
4813
  term: string | {
4802
- $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
4814
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "signature" | "middlename" | "avatar";
4803
4815
  $location?: string | undefined;
4804
4816
  };
4805
4817
  } | undefined;
4806
4818
  updatedAtLocation?: {
4807
4819
  type: "within";
4808
4820
  location: string | {
4809
- $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
4821
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "signature" | "middlename" | "avatar";
4810
4822
  $location?: string | undefined;
4811
4823
  };
4812
4824
  } | {
4813
4825
  type: "exact";
4814
4826
  term: string | {
4815
- $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
4827
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "signature" | "middlename" | "avatar";
4816
4828
  $location?: string | undefined;
4817
4829
  };
4818
4830
  } | undefined;
4819
4831
  updatedByUserRole?: {
4820
4832
  type: "exact";
4821
4833
  term: string | {
4822
- $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
4834
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "signature" | "middlename" | "avatar";
4823
4835
  $location?: string | undefined;
4824
4836
  };
4825
4837
  } | undefined;
4826
4838
  assignedTo?: {
4827
4839
  type: "exact";
4828
4840
  term: string | {
4829
- $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
4841
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "signature" | "middlename" | "avatar";
4830
4842
  $location?: string | undefined;
4831
4843
  };
4832
4844
  } | undefined;
4833
4845
  createdBy?: {
4834
4846
  type: "exact";
4835
4847
  term: string | {
4836
- $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
4848
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "signature" | "middlename" | "avatar";
4837
4849
  $location?: string | undefined;
4838
4850
  };
4839
4851
  } | undefined;
@@ -4844,7 +4856,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4844
4856
  updatedBy?: {
4845
4857
  type: "exact";
4846
4858
  term: string | {
4847
- $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
4859
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "signature" | "middlename" | "avatar";
4848
4860
  $location?: string | undefined;
4849
4861
  };
4850
4862
  } | undefined;
@@ -4894,7 +4906,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4894
4906
  'legalStatuses.DECLARED.createdAtLocation'?: {
4895
4907
  type: "within";
4896
4908
  location: string | {
4897
- $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
4909
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "signature" | "middlename" | "avatar";
4898
4910
  $location?: string | undefined;
4899
4911
  };
4900
4912
  } | undefined;
@@ -4916,7 +4928,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4916
4928
  'legalStatuses.REGISTERED.createdAtLocation'?: {
4917
4929
  type: "within";
4918
4930
  location: string | {
4919
- $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
4931
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "signature" | "middlename" | "avatar";
4920
4932
  $location?: string | undefined;
4921
4933
  };
4922
4934
  } | undefined;
@@ -4931,47 +4943,47 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4931
4943
  createdAtLocation?: {
4932
4944
  type: "within";
4933
4945
  location: string | {
4934
- $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
4946
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "signature" | "middlename" | "avatar";
4935
4947
  $location?: string | undefined;
4936
4948
  };
4937
4949
  } | {
4938
4950
  type: "exact";
4939
4951
  term: string | {
4940
- $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
4952
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "signature" | "middlename" | "avatar";
4941
4953
  $location?: string | undefined;
4942
4954
  };
4943
4955
  } | undefined;
4944
4956
  updatedAtLocation?: {
4945
4957
  type: "within";
4946
4958
  location: string | {
4947
- $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
4959
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "signature" | "middlename" | "avatar";
4948
4960
  $location?: string | undefined;
4949
4961
  };
4950
4962
  } | {
4951
4963
  type: "exact";
4952
4964
  term: string | {
4953
- $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
4965
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "signature" | "middlename" | "avatar";
4954
4966
  $location?: string | undefined;
4955
4967
  };
4956
4968
  } | undefined;
4957
4969
  updatedByUserRole?: {
4958
4970
  type: "exact";
4959
4971
  term: string | {
4960
- $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
4972
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "signature" | "middlename" | "avatar";
4961
4973
  $location?: string | undefined;
4962
4974
  };
4963
4975
  } | undefined;
4964
4976
  assignedTo?: {
4965
4977
  type: "exact";
4966
4978
  term: string | {
4967
- $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
4979
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "signature" | "middlename" | "avatar";
4968
4980
  $location?: string | undefined;
4969
4981
  };
4970
4982
  } | undefined;
4971
4983
  createdBy?: {
4972
4984
  type: "exact";
4973
4985
  term: string | {
4974
- $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
4986
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "signature" | "middlename" | "avatar";
4975
4987
  $location?: string | undefined;
4976
4988
  };
4977
4989
  } | undefined;
@@ -4982,7 +4994,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4982
4994
  updatedBy?: {
4983
4995
  type: "exact";
4984
4996
  term: string | {
4985
- $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
4997
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "signature" | "middlename" | "avatar";
4986
4998
  $location?: string | undefined;
4987
4999
  };
4988
5000
  } | undefined;
@@ -5036,14 +5048,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5036
5048
  id: string;
5037
5049
  type: "system";
5038
5050
  signature?: undefined;
5039
- primaryOfficeId?: undefined;
5040
- administrativeAreaId?: undefined;
5051
+ primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
5052
+ administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
5041
5053
  } | {
5042
5054
  id: string;
5043
5055
  type: "user";
5044
5056
  role: string;
5045
5057
  primaryOfficeId: string & import("zod").$brand<"UUID">;
5046
- signature?: (string & import("zod").$brand<"DocumentPath">) | undefined;
5058
+ signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
5047
5059
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
5048
5060
  };
5049
5061
  }>;
@@ -5074,7 +5086,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5074
5086
  externalId?: string | null | undefined;
5075
5087
  }[];
5076
5088
  output: void;
5077
- meta: import("trpc-to-openapi").OpenApiMeta;
5089
+ meta: object;
5078
5090
  }>;
5079
5091
  }>>;
5080
5092
  integrations: import("@trpc/server").TRPCBuiltRouter<{
@@ -5084,14 +5096,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5084
5096
  id: string;
5085
5097
  type: "system";
5086
5098
  signature?: undefined;
5087
- primaryOfficeId?: undefined;
5088
- administrativeAreaId?: undefined;
5099
+ primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
5100
+ administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
5089
5101
  } | {
5090
5102
  id: string;
5091
5103
  type: "user";
5092
5104
  role: string;
5093
5105
  primaryOfficeId: string & import("zod").$brand<"UUID">;
5094
- signature?: (string & import("zod").$brand<"DocumentPath">) | undefined;
5106
+ signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
5095
5107
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
5096
5108
  };
5097
5109
  }>;
@@ -5202,14 +5214,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5202
5214
  id: string;
5203
5215
  type: "system";
5204
5216
  signature?: undefined;
5205
- primaryOfficeId?: undefined;
5206
- administrativeAreaId?: undefined;
5217
+ primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
5218
+ administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
5207
5219
  } | {
5208
5220
  id: string;
5209
5221
  type: "user";
5210
5222
  role: string;
5211
5223
  primaryOfficeId: string & import("zod").$brand<"UUID">;
5212
- signature?: (string & import("zod").$brand<"DocumentPath">) | undefined;
5224
+ signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
5213
5225
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
5214
5226
  };
5215
5227
  }>;
@@ -5237,14 +5249,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5237
5249
  id: string;
5238
5250
  type: "system";
5239
5251
  signature?: undefined;
5240
- primaryOfficeId?: undefined;
5241
- administrativeAreaId?: undefined;
5252
+ primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
5253
+ administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
5242
5254
  } | {
5243
5255
  id: string;
5244
5256
  type: "user";
5245
5257
  role: string;
5246
5258
  primaryOfficeId: string & import("zod").$brand<"UUID">;
5247
- signature?: (string & import("zod").$brand<"DocumentPath">) | undefined;
5259
+ signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
5248
5260
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
5249
5261
  };
5250
5262
  }>;