@opencrvs/toolkit 1.9.12-rc.c7cdf59 → 1.9.12-rc.ca9336d

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.
@@ -1738,7 +1738,7 @@ var LocationInput = BaseField.extend({
1738
1738
  configuration: import_v43.default.object({
1739
1739
  locationTypes: import_v43.default.array(import_v43.default.string()).optional().describe("Types of the locations that are available for selection."),
1740
1740
  allowedLocations: AllowedLocations
1741
- })
1741
+ }).optional()
1742
1742
  }).describe("Input field for a location");
1743
1743
  var FileUploadWithOptions = BaseField.extend({
1744
1744
  type: import_v43.default.literal(FieldType.FILE_WITH_OPTIONS),
@@ -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?: (string & import("zod").$brand<"UUID">) | undefined;
9
- administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
8
+ primaryOfficeId?: undefined;
9
+ administrativeAreaId?: 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">) | null | undefined;
15
+ signature?: (string & import("zod").$brand<"DocumentPath">) | 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?: (string & import("zod").$brand<"UUID">) | undefined;
31
- administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
30
+ primaryOfficeId?: undefined;
31
+ administrativeAreaId?: 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">) | null | undefined;
37
+ signature?: (string & import("zod").$brand<"DocumentPath">) | 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?: (string & import("zod").$brand<"UUID">) | undefined;
53
- administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
52
+ primaryOfficeId?: undefined;
53
+ administrativeAreaId?: 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">) | null | undefined;
59
+ signature?: (string & import("zod").$brand<"DocumentPath">) | 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?: (string & import("zod").$brand<"UUID">) | undefined;
99
- administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
98
+ primaryOfficeId?: undefined;
99
+ administrativeAreaId?: 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">) | null | undefined;
105
+ signature?: (string & import("zod").$brand<"DocumentPath">) | 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?: (string & import("zod").$brand<"UUID">) | undefined;
1061
- administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
1060
+ primaryOfficeId?: undefined;
1061
+ administrativeAreaId?: 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">) | null | undefined;
1067
+ signature?: (string & import("zod").$brand<"DocumentPath">) | 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?: (string & import("zod").$brand<"UUID">) | undefined;
1140
- administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
1139
+ primaryOfficeId?: undefined;
1140
+ administrativeAreaId?: 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">) | null | undefined;
1146
+ signature?: (string & import("zod").$brand<"DocumentPath">) | 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?: (string & import("zod").$brand<"UUID">) | undefined;
1162
- administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
1161
+ primaryOfficeId?: undefined;
1162
+ administrativeAreaId?: 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">) | null | undefined;
1168
+ signature?: (string & import("zod").$brand<"DocumentPath">) | 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?: (string & import("zod").$brand<"UUID">) | undefined;
1206
- administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
1205
+ primaryOfficeId?: undefined;
1206
+ administrativeAreaId?: 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">) | null | undefined;
1212
+ signature?: (string & import("zod").$brand<"DocumentPath">) | 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?: (string & import("zod").$brand<"UUID">) | undefined;
1559
- administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
1558
+ primaryOfficeId?: undefined;
1559
+ administrativeAreaId?: 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">) | null | undefined;
1565
+ signature?: (string & import("zod").$brand<"DocumentPath">) | 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?: (string & import("zod").$brand<"UUID">) | undefined;
1603
- administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
1602
+ primaryOfficeId?: undefined;
1603
+ administrativeAreaId?: 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">) | null | undefined;
1609
+ signature?: (string & import("zod").$brand<"DocumentPath">) | 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?: (string & import("zod").$brand<"UUID">) | undefined;
1647
- administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
1646
+ primaryOfficeId?: undefined;
1647
+ administrativeAreaId?: 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">) | null | undefined;
1653
+ signature?: (string & import("zod").$brand<"DocumentPath">) | 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?: (string & import("zod").$brand<"UUID">) | undefined;
1691
- administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
1690
+ primaryOfficeId?: undefined;
1691
+ administrativeAreaId?: 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">) | null | undefined;
1697
+ signature?: (string & import("zod").$brand<"DocumentPath">) | 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?: (string & import("zod").$brand<"UUID">) | undefined;
1735
- administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
1734
+ primaryOfficeId?: undefined;
1735
+ administrativeAreaId?: 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">) | null | undefined;
1741
+ signature?: (string & import("zod").$brand<"DocumentPath">) | 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?: (string & import("zod").$brand<"UUID">) | undefined;
1779
- administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
1778
+ primaryOfficeId?: undefined;
1779
+ administrativeAreaId?: 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">) | null | undefined;
1785
+ signature?: (string & import("zod").$brand<"DocumentPath">) | 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?: (string & import("zod").$brand<"UUID">) | undefined;
2133
- administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
2132
+ primaryOfficeId?: undefined;
2133
+ administrativeAreaId?: 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">) | null | undefined;
2139
+ signature?: (string & import("zod").$brand<"DocumentPath">) | 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?: (string & import("zod").$brand<"UUID">) | undefined;
2786
- administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
2785
+ primaryOfficeId?: undefined;
2786
+ administrativeAreaId?: 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">) | null | undefined;
2792
+ signature?: (string & import("zod").$brand<"DocumentPath">) | 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?: (string & import("zod").$brand<"UUID">) | undefined;
2808
- administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
2807
+ primaryOfficeId?: undefined;
2808
+ administrativeAreaId?: 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">) | null | undefined;
2814
+ signature?: (string & import("zod").$brand<"DocumentPath">) | 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?: (string & import("zod").$brand<"UUID">) | undefined;
2852
- administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
2851
+ primaryOfficeId?: undefined;
2852
+ administrativeAreaId?: 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">) | null | undefined;
2858
+ signature?: (string & import("zod").$brand<"DocumentPath">) | 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?: (string & import("zod").$brand<"UUID">) | undefined;
2896
- administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
2895
+ primaryOfficeId?: undefined;
2896
+ administrativeAreaId?: 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">) | null | undefined;
2902
+ signature?: (string & import("zod").$brand<"DocumentPath">) | 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?: (string & import("zod").$brand<"UUID">) | undefined;
2941
- administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
2940
+ primaryOfficeId?: undefined;
2941
+ administrativeAreaId?: 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">) | null | undefined;
2947
+ signature?: (string & import("zod").$brand<"DocumentPath">) | 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?: (string & import("zod").$brand<"UUID">) | undefined;
3959
- administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
3958
+ primaryOfficeId?: undefined;
3959
+ administrativeAreaId?: 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">) | null | undefined;
3965
+ signature?: (string & import("zod").$brand<"DocumentPath">) | 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">) | null | undefined;
3987
+ signature?: (string & import("zod").$brand<"DocumentPath">) | 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?: (string & import("zod").$brand<"UUID">) | undefined;
3999
- administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
3998
+ primaryOfficeId?: undefined;
3999
+ administrativeAreaId?: 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">) | null | undefined;
4044
+ signature?: (string & import("zod").$brand<"DocumentPath">) | undefined;
4045
4045
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
4046
4046
  device?: string | undefined;
4047
4047
  fullHonorificName?: string | undefined;
@@ -4053,19 +4053,19 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
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
- }[] | undefined;
4060
+ }[];
4061
+ email: string;
4062
+ role: string;
4063
+ primaryOfficeId: string;
4061
4064
  username?: string | undefined;
4062
- email?: string | undefined;
4063
4065
  mobile?: string | undefined;
4064
4066
  fullHonorificName?: string | undefined;
4065
4067
  emailForNotification?: string | undefined;
4066
4068
  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">) | null | undefined;
4092
+ signature?: (string & import("zod").$brand<"DocumentPath">) | 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">) | null | undefined;
4116
+ signature?: (string & import("zod").$brand<"DocumentPath">) | 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?: (string & import("zod").$brand<"UUID">) | undefined;
4128
- administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
4127
+ primaryOfficeId?: undefined;
4128
+ administrativeAreaId?: undefined;
4129
4129
  signature?: undefined;
4130
4130
  avatar?: undefined;
4131
4131
  fullHonorificName?: string | undefined;
@@ -4141,9 +4141,9 @@ 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;
4145
4144
  status?: string | undefined;
4146
4145
  primaryOfficeId?: string | undefined;
4146
+ locationId?: string | undefined;
4147
4147
  };
4148
4148
  output: ({
4149
4149
  id: string;
@@ -4157,7 +4157,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4157
4157
  type: "user";
4158
4158
  status: "active" | "pending" | "deactivated";
4159
4159
  avatar?: (string & import("zod").$brand<"DocumentPath">) | undefined;
4160
- signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
4160
+ signature?: (string & import("zod").$brand<"DocumentPath">) | undefined;
4161
4161
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
4162
4162
  device?: string | undefined;
4163
4163
  fullHonorificName?: string | undefined;
@@ -4168,8 +4168,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4168
4168
  id: string;
4169
4169
  name: string;
4170
4170
  type: "system";
4171
- primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
4172
- administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
4171
+ primaryOfficeId?: undefined;
4172
+ administrativeAreaId?: undefined;
4173
4173
  signature?: undefined;
4174
4174
  avatar?: undefined;
4175
4175
  fullHonorificName?: string | undefined;
@@ -4223,14 +4223,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4223
4223
  id: string;
4224
4224
  type: "system";
4225
4225
  signature?: undefined;
4226
- primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
4227
- administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
4226
+ primaryOfficeId?: undefined;
4227
+ administrativeAreaId?: undefined;
4228
4228
  } | {
4229
4229
  id: string;
4230
4230
  type: "user";
4231
4231
  role: string;
4232
4232
  primaryOfficeId: string & import("zod").$brand<"UUID">;
4233
- signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
4233
+ signature?: (string & import("zod").$brand<"DocumentPath">) | undefined;
4234
4234
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
4235
4235
  };
4236
4236
  }>;
@@ -4249,6 +4249,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4249
4249
  }>>;
4250
4250
  changePassword: import("@trpc/server").TRPCMutationProcedure<{
4251
4251
  input: {
4252
+ userId: string;
4252
4253
  existingPassword: string;
4253
4254
  password: string;
4254
4255
  };
@@ -4296,21 +4297,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4296
4297
  meta: import("trpc-to-openapi").OpenApiMeta;
4297
4298
  }>;
4298
4299
  activate: import("@trpc/server").TRPCMutationProcedure<{
4299
- input: {
4300
- userId: string;
4301
- password: string;
4302
- securityQNAs: {
4303
- questionKey: string;
4304
- answer: string;
4305
- }[];
4306
- };
4307
- output: void;
4308
- meta: import("trpc-to-openapi").OpenApiMeta;
4309
- }>;
4310
- deactivateSuperUser: import("@trpc/server").TRPCMutationProcedure<{
4311
- input: {
4312
- username: string;
4313
- };
4300
+ input: any;
4314
4301
  output: void;
4315
4302
  meta: import("trpc-to-openapi").OpenApiMeta;
4316
4303
  }>;
@@ -4321,14 +4308,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4321
4308
  id: string;
4322
4309
  type: "system";
4323
4310
  signature?: undefined;
4324
- primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
4325
- administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
4311
+ primaryOfficeId?: undefined;
4312
+ administrativeAreaId?: undefined;
4326
4313
  } | {
4327
4314
  id: string;
4328
4315
  type: "user";
4329
4316
  role: string;
4330
4317
  primaryOfficeId: string & import("zod").$brand<"UUID">;
4331
- signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
4318
+ signature?: (string & import("zod").$brand<"DocumentPath">) | undefined;
4332
4319
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
4333
4320
  };
4334
4321
  }>;
@@ -4614,14 +4601,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4614
4601
  id: string;
4615
4602
  type: "system";
4616
4603
  signature?: undefined;
4617
- primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
4618
- administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
4604
+ primaryOfficeId?: undefined;
4605
+ administrativeAreaId?: undefined;
4619
4606
  } | {
4620
4607
  id: string;
4621
4608
  type: "user";
4622
4609
  role: string;
4623
4610
  primaryOfficeId: string & import("zod").$brand<"UUID">;
4624
- signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
4611
+ signature?: (string & import("zod").$brand<"DocumentPath">) | undefined;
4625
4612
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
4626
4613
  };
4627
4614
  }>;
@@ -4687,14 +4674,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4687
4674
  id: string;
4688
4675
  type: "system";
4689
4676
  signature?: undefined;
4690
- primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
4691
- administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
4677
+ primaryOfficeId?: undefined;
4678
+ administrativeAreaId?: undefined;
4692
4679
  } | {
4693
4680
  id: string;
4694
4681
  type: "user";
4695
4682
  role: string;
4696
4683
  primaryOfficeId: string & import("zod").$brand<"UUID">;
4697
- signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
4684
+ signature?: (string & import("zod").$brand<"DocumentPath">) | undefined;
4698
4685
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
4699
4686
  };
4700
4687
  }>;
@@ -4709,14 +4696,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4709
4696
  id: string;
4710
4697
  type: "system";
4711
4698
  signature?: undefined;
4712
- primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
4713
- administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
4699
+ primaryOfficeId?: undefined;
4700
+ administrativeAreaId?: undefined;
4714
4701
  } | {
4715
4702
  id: string;
4716
4703
  type: "user";
4717
4704
  role: string;
4718
4705
  primaryOfficeId: string & import("zod").$brand<"UUID">;
4719
- signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
4706
+ signature?: (string & import("zod").$brand<"DocumentPath">) | undefined;
4720
4707
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
4721
4708
  };
4722
4709
  }>;
@@ -4769,7 +4756,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4769
4756
  'legalStatuses.DECLARED.createdAtLocation'?: {
4770
4757
  type: "within";
4771
4758
  location: string | {
4772
- $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "signature" | "middlename" | "avatar";
4759
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
4773
4760
  $location?: string | undefined;
4774
4761
  };
4775
4762
  } | undefined;
@@ -4791,7 +4778,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4791
4778
  'legalStatuses.REGISTERED.createdAtLocation'?: {
4792
4779
  type: "within";
4793
4780
  location: string | {
4794
- $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "signature" | "middlename" | "avatar";
4781
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
4795
4782
  $location?: string | undefined;
4796
4783
  };
4797
4784
  } | undefined;
@@ -4806,47 +4793,47 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4806
4793
  createdAtLocation?: {
4807
4794
  type: "within";
4808
4795
  location: string | {
4809
- $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "signature" | "middlename" | "avatar";
4796
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
4810
4797
  $location?: string | undefined;
4811
4798
  };
4812
4799
  } | {
4813
4800
  type: "exact";
4814
4801
  term: string | {
4815
- $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "signature" | "middlename" | "avatar";
4802
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
4816
4803
  $location?: string | undefined;
4817
4804
  };
4818
4805
  } | undefined;
4819
4806
  updatedAtLocation?: {
4820
4807
  type: "within";
4821
4808
  location: string | {
4822
- $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "signature" | "middlename" | "avatar";
4809
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
4823
4810
  $location?: string | undefined;
4824
4811
  };
4825
4812
  } | {
4826
4813
  type: "exact";
4827
4814
  term: string | {
4828
- $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "signature" | "middlename" | "avatar";
4815
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
4829
4816
  $location?: string | undefined;
4830
4817
  };
4831
4818
  } | undefined;
4832
4819
  updatedByUserRole?: {
4833
4820
  type: "exact";
4834
4821
  term: string | {
4835
- $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "signature" | "middlename" | "avatar";
4822
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
4836
4823
  $location?: string | undefined;
4837
4824
  };
4838
4825
  } | undefined;
4839
4826
  assignedTo?: {
4840
4827
  type: "exact";
4841
4828
  term: string | {
4842
- $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "signature" | "middlename" | "avatar";
4829
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
4843
4830
  $location?: string | undefined;
4844
4831
  };
4845
4832
  } | undefined;
4846
4833
  createdBy?: {
4847
4834
  type: "exact";
4848
4835
  term: string | {
4849
- $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "signature" | "middlename" | "avatar";
4836
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
4850
4837
  $location?: string | undefined;
4851
4838
  };
4852
4839
  } | undefined;
@@ -4857,7 +4844,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4857
4844
  updatedBy?: {
4858
4845
  type: "exact";
4859
4846
  term: string | {
4860
- $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "signature" | "middlename" | "avatar";
4847
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
4861
4848
  $location?: string | undefined;
4862
4849
  };
4863
4850
  } | undefined;
@@ -4907,7 +4894,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4907
4894
  'legalStatuses.DECLARED.createdAtLocation'?: {
4908
4895
  type: "within";
4909
4896
  location: string | {
4910
- $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "signature" | "middlename" | "avatar";
4897
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
4911
4898
  $location?: string | undefined;
4912
4899
  };
4913
4900
  } | undefined;
@@ -4929,7 +4916,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4929
4916
  'legalStatuses.REGISTERED.createdAtLocation'?: {
4930
4917
  type: "within";
4931
4918
  location: string | {
4932
- $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "signature" | "middlename" | "avatar";
4919
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
4933
4920
  $location?: string | undefined;
4934
4921
  };
4935
4922
  } | undefined;
@@ -4944,47 +4931,47 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4944
4931
  createdAtLocation?: {
4945
4932
  type: "within";
4946
4933
  location: string | {
4947
- $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "signature" | "middlename" | "avatar";
4934
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
4948
4935
  $location?: string | undefined;
4949
4936
  };
4950
4937
  } | {
4951
4938
  type: "exact";
4952
4939
  term: string | {
4953
- $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "signature" | "middlename" | "avatar";
4940
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
4954
4941
  $location?: string | undefined;
4955
4942
  };
4956
4943
  } | undefined;
4957
4944
  updatedAtLocation?: {
4958
4945
  type: "within";
4959
4946
  location: string | {
4960
- $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "signature" | "middlename" | "avatar";
4947
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
4961
4948
  $location?: string | undefined;
4962
4949
  };
4963
4950
  } | {
4964
4951
  type: "exact";
4965
4952
  term: string | {
4966
- $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "signature" | "middlename" | "avatar";
4953
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
4967
4954
  $location?: string | undefined;
4968
4955
  };
4969
4956
  } | undefined;
4970
4957
  updatedByUserRole?: {
4971
4958
  type: "exact";
4972
4959
  term: string | {
4973
- $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "signature" | "middlename" | "avatar";
4960
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
4974
4961
  $location?: string | undefined;
4975
4962
  };
4976
4963
  } | undefined;
4977
4964
  assignedTo?: {
4978
4965
  type: "exact";
4979
4966
  term: string | {
4980
- $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "signature" | "middlename" | "avatar";
4967
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
4981
4968
  $location?: string | undefined;
4982
4969
  };
4983
4970
  } | undefined;
4984
4971
  createdBy?: {
4985
4972
  type: "exact";
4986
4973
  term: string | {
4987
- $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "signature" | "middlename" | "avatar";
4974
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
4988
4975
  $location?: string | undefined;
4989
4976
  };
4990
4977
  } | undefined;
@@ -4995,7 +4982,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4995
4982
  updatedBy?: {
4996
4983
  type: "exact";
4997
4984
  term: string | {
4998
- $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "signature" | "middlename" | "avatar";
4985
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
4999
4986
  $location?: string | undefined;
5000
4987
  };
5001
4988
  } | undefined;
@@ -5049,14 +5036,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5049
5036
  id: string;
5050
5037
  type: "system";
5051
5038
  signature?: undefined;
5052
- primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
5053
- administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
5039
+ primaryOfficeId?: undefined;
5040
+ administrativeAreaId?: undefined;
5054
5041
  } | {
5055
5042
  id: string;
5056
5043
  type: "user";
5057
5044
  role: string;
5058
5045
  primaryOfficeId: string & import("zod").$brand<"UUID">;
5059
- signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
5046
+ signature?: (string & import("zod").$brand<"DocumentPath">) | undefined;
5060
5047
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
5061
5048
  };
5062
5049
  }>;
@@ -5097,14 +5084,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5097
5084
  id: string;
5098
5085
  type: "system";
5099
5086
  signature?: undefined;
5100
- primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
5101
- administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
5087
+ primaryOfficeId?: undefined;
5088
+ administrativeAreaId?: undefined;
5102
5089
  } | {
5103
5090
  id: string;
5104
5091
  type: "user";
5105
5092
  role: string;
5106
5093
  primaryOfficeId: string & import("zod").$brand<"UUID">;
5107
- signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
5094
+ signature?: (string & import("zod").$brand<"DocumentPath">) | undefined;
5108
5095
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
5109
5096
  };
5110
5097
  }>;
@@ -5215,14 +5202,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5215
5202
  id: string;
5216
5203
  type: "system";
5217
5204
  signature?: undefined;
5218
- primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
5219
- administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
5205
+ primaryOfficeId?: undefined;
5206
+ administrativeAreaId?: undefined;
5220
5207
  } | {
5221
5208
  id: string;
5222
5209
  type: "user";
5223
5210
  role: string;
5224
5211
  primaryOfficeId: string & import("zod").$brand<"UUID">;
5225
- signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
5212
+ signature?: (string & import("zod").$brand<"DocumentPath">) | undefined;
5226
5213
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
5227
5214
  };
5228
5215
  }>;
@@ -5250,14 +5237,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5250
5237
  id: string;
5251
5238
  type: "system";
5252
5239
  signature?: undefined;
5253
- primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
5254
- administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
5240
+ primaryOfficeId?: undefined;
5241
+ administrativeAreaId?: undefined;
5255
5242
  } | {
5256
5243
  id: string;
5257
5244
  type: "user";
5258
5245
  role: string;
5259
5246
  primaryOfficeId: string & import("zod").$brand<"UUID">;
5260
- signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
5247
+ signature?: (string & import("zod").$brand<"DocumentPath">) | undefined;
5261
5248
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
5262
5249
  };
5263
5250
  }>;
@@ -1799,7 +1799,7 @@ declare const LocationInput: z.ZodObject<{
1799
1799
  }>;
1800
1800
  $location: z.ZodOptional<z.ZodString>;
1801
1801
  }, z.core.$strip>]>>;
1802
- configuration: z.ZodObject<{
1802
+ configuration: z.ZodOptional<z.ZodObject<{
1803
1803
  locationTypes: z.ZodOptional<z.ZodArray<z.ZodString>>;
1804
1804
  allowedLocations: z.ZodOptional<z.ZodObject<{
1805
1805
  $jurisdiction: z.ZodUnion<[z.ZodEnum<{
@@ -1856,7 +1856,7 @@ declare const LocationInput: z.ZodObject<{
1856
1856
  }>;
1857
1857
  }, z.core.$strip>]>;
1858
1858
  }, z.core.$strip>>;
1859
- }, z.core.$strip>;
1859
+ }, z.core.$strip>>;
1860
1860
  }, z.core.$strip>;
1861
1861
  export type LocationInput = z.infer<typeof LocationInput>;
1862
1862
  declare const FileUploadWithOptions: z.ZodObject<{
@@ -2500,7 +2500,7 @@ var LocationInput = BaseField.extend({
2500
2500
  configuration: import_v43.default.object({
2501
2501
  locationTypes: import_v43.default.array(import_v43.default.string()).optional().describe("Types of the locations that are available for selection."),
2502
2502
  allowedLocations: AllowedLocations
2503
- })
2503
+ }).optional()
2504
2504
  }).describe("Input field for a location");
2505
2505
  var FileUploadWithOptions = BaseField.extend({
2506
2506
  type: import_v43.default.literal(FieldType.FILE_WITH_OPTIONS),
@@ -10013,8 +10013,7 @@ function userDeserializer(serializedUserField, user2) {
10013
10013
  `Deserializer for ${serializedUserField.$userField} is not implemented yet`
10014
10014
  );
10015
10015
  }
10016
- const value = user2[serializedUserField.$userField];
10017
- return typeof value === "string" ? value : void 0;
10016
+ return user2[serializedUserField.$userField] ?? void 0;
10018
10017
  }
10019
10018
  function isDefined(value) {
10020
10019
  return value !== void 0;
@@ -1992,7 +1992,7 @@ var LocationInput = BaseField.extend({
1992
1992
  configuration: import_v43.default.object({
1993
1993
  locationTypes: import_v43.default.array(import_v43.default.string()).optional().describe("Types of the locations that are available for selection."),
1994
1994
  allowedLocations: AllowedLocations
1995
- })
1995
+ }).optional()
1996
1996
  }).describe("Input field for a location");
1997
1997
  var FileUploadWithOptions = BaseField.extend({
1998
1998
  type: import_v43.default.literal(FieldType.FILE_WITH_OPTIONS),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opencrvs/toolkit",
3
- "version": "1.9.12-rc.c7cdf59",
3
+ "version": "1.9.12-rc.ca9336d",
4
4
  "description": "OpenCRVS toolkit for building country configurations",
5
5
  "license": "MPL-2.0",
6
6
  "bin": {