@opencrvs/toolkit 2.0.0-rc.8d033a8 → 2.0.0-rc.dd60863

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.
@@ -2,7 +2,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
2
2
  ctx: Partial<{
3
3
  token: `Bearer ${string}`;
4
4
  user: {
5
- id: string & import("zod").$brand<"UUID">;
5
+ id: string;
6
6
  type: "system";
7
7
  signature?: undefined;
8
8
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
@@ -24,7 +24,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
24
24
  ctx: Partial<{
25
25
  token: `Bearer ${string}`;
26
26
  user: {
27
- id: string & import("zod").$brand<"UUID">;
27
+ id: string;
28
28
  type: "system";
29
29
  signature?: undefined;
30
30
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
@@ -46,7 +46,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
46
46
  ctx: Partial<{
47
47
  token: `Bearer ${string}`;
48
48
  user: {
49
- id: string & import("zod").$brand<"UUID">;
49
+ id: string;
50
50
  type: "system";
51
51
  signature?: undefined;
52
52
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
@@ -92,7 +92,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
92
92
  ctx: Partial<{
93
93
  token: `Bearer ${string}`;
94
94
  user: {
95
- id: string & import("zod").$brand<"UUID">;
95
+ id: string;
96
96
  type: "system";
97
97
  signature?: undefined;
98
98
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
@@ -1054,7 +1054,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1054
1054
  ctx: Partial<{
1055
1055
  token: `Bearer ${string}`;
1056
1056
  user: {
1057
- id: string & import("zod").$brand<"UUID">;
1057
+ id: string;
1058
1058
  type: "system";
1059
1059
  signature?: undefined;
1060
1060
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
@@ -1133,7 +1133,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1133
1133
  ctx: Partial<{
1134
1134
  token: `Bearer ${string}`;
1135
1135
  user: {
1136
- id: string & import("zod").$brand<"UUID">;
1136
+ id: string;
1137
1137
  type: "system";
1138
1138
  signature?: undefined;
1139
1139
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
@@ -1155,7 +1155,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1155
1155
  ctx: Partial<{
1156
1156
  token: `Bearer ${string}`;
1157
1157
  user: {
1158
- id: string & import("zod").$brand<"UUID">;
1158
+ id: string;
1159
1159
  type: "system";
1160
1160
  signature?: undefined;
1161
1161
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
@@ -1199,7 +1199,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1199
1199
  ctx: Partial<{
1200
1200
  token: `Bearer ${string}`;
1201
1201
  user: {
1202
- id: string & import("zod").$brand<"UUID">;
1202
+ id: string;
1203
1203
  type: "system";
1204
1204
  signature?: undefined;
1205
1205
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
@@ -1552,7 +1552,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1552
1552
  ctx: Partial<{
1553
1553
  token: `Bearer ${string}`;
1554
1554
  user: {
1555
- id: string & import("zod").$brand<"UUID">;
1555
+ id: string;
1556
1556
  type: "system";
1557
1557
  signature?: undefined;
1558
1558
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
@@ -1596,7 +1596,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1596
1596
  ctx: Partial<{
1597
1597
  token: `Bearer ${string}`;
1598
1598
  user: {
1599
- id: string & import("zod").$brand<"UUID">;
1599
+ id: string;
1600
1600
  type: "system";
1601
1601
  signature?: undefined;
1602
1602
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
@@ -1640,7 +1640,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1640
1640
  ctx: Partial<{
1641
1641
  token: `Bearer ${string}`;
1642
1642
  user: {
1643
- id: string & import("zod").$brand<"UUID">;
1643
+ id: string;
1644
1644
  type: "system";
1645
1645
  signature?: undefined;
1646
1646
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
@@ -1684,7 +1684,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1684
1684
  ctx: Partial<{
1685
1685
  token: `Bearer ${string}`;
1686
1686
  user: {
1687
- id: string & import("zod").$brand<"UUID">;
1687
+ id: string;
1688
1688
  type: "system";
1689
1689
  signature?: undefined;
1690
1690
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
@@ -1728,7 +1728,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1728
1728
  ctx: Partial<{
1729
1729
  token: `Bearer ${string}`;
1730
1730
  user: {
1731
- id: string & import("zod").$brand<"UUID">;
1731
+ id: string;
1732
1732
  type: "system";
1733
1733
  signature?: undefined;
1734
1734
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
@@ -1772,7 +1772,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1772
1772
  ctx: Partial<{
1773
1773
  token: `Bearer ${string}`;
1774
1774
  user: {
1775
- id: string & import("zod").$brand<"UUID">;
1775
+ id: string;
1776
1776
  type: "system";
1777
1777
  signature?: undefined;
1778
1778
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
@@ -2126,7 +2126,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
2126
2126
  ctx: Partial<{
2127
2127
  token: `Bearer ${string}`;
2128
2128
  user: {
2129
- id: string & import("zod").$brand<"UUID">;
2129
+ id: string;
2130
2130
  type: "system";
2131
2131
  signature?: undefined;
2132
2132
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
@@ -2779,7 +2779,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
2779
2779
  ctx: Partial<{
2780
2780
  token: `Bearer ${string}`;
2781
2781
  user: {
2782
- id: string & import("zod").$brand<"UUID">;
2782
+ id: string;
2783
2783
  type: "system";
2784
2784
  signature?: undefined;
2785
2785
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
@@ -2801,7 +2801,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
2801
2801
  ctx: Partial<{
2802
2802
  token: `Bearer ${string}`;
2803
2803
  user: {
2804
- id: string & import("zod").$brand<"UUID">;
2804
+ id: string;
2805
2805
  type: "system";
2806
2806
  signature?: undefined;
2807
2807
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
@@ -2845,7 +2845,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
2845
2845
  ctx: Partial<{
2846
2846
  token: `Bearer ${string}`;
2847
2847
  user: {
2848
- id: string & import("zod").$brand<"UUID">;
2848
+ id: string;
2849
2849
  type: "system";
2850
2850
  signature?: undefined;
2851
2851
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
@@ -2889,7 +2889,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
2889
2889
  ctx: Partial<{
2890
2890
  token: `Bearer ${string}`;
2891
2891
  user: {
2892
- id: string & import("zod").$brand<"UUID">;
2892
+ id: string;
2893
2893
  type: "system";
2894
2894
  signature?: undefined;
2895
2895
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
@@ -2934,7 +2934,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
2934
2934
  ctx: Partial<{
2935
2935
  token: `Bearer ${string}`;
2936
2936
  user: {
2937
- id: string & import("zod").$brand<"UUID">;
2937
+ id: string;
2938
2938
  type: "system";
2939
2939
  signature?: undefined;
2940
2940
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
@@ -3952,7 +3952,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
3952
3952
  ctx: Partial<{
3953
3953
  token: `Bearer ${string}`;
3954
3954
  user: {
3955
- id: string & import("zod").$brand<"UUID">;
3955
+ id: string;
3956
3956
  type: "system";
3957
3957
  signature?: undefined;
3958
3958
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
@@ -3992,7 +3992,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
3992
3992
  email?: string | undefined;
3993
3993
  data?: Record<string, import("../commons").FieldValue> | undefined;
3994
3994
  } | {
3995
- id: string & import("zod").$brand<"UUID">;
3995
+ id: string;
3996
3996
  name: string;
3997
3997
  type: "system";
3998
3998
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
@@ -4116,7 +4116,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4116
4116
  email?: string | undefined;
4117
4117
  data?: Record<string, import("../commons").FieldValue> | undefined;
4118
4118
  } | {
4119
- id: string & import("zod").$brand<"UUID">;
4119
+ id: string;
4120
4120
  name: string;
4121
4121
  type: "system";
4122
4122
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
@@ -4161,7 +4161,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4161
4161
  email?: string | undefined;
4162
4162
  data?: Record<string, import("../commons").FieldValue> | undefined;
4163
4163
  } | {
4164
- id: string & import("zod").$brand<"UUID">;
4164
+ id: string;
4165
4165
  name: string;
4166
4166
  type: "system";
4167
4167
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
@@ -4216,7 +4216,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4216
4216
  ctx: Partial<{
4217
4217
  token: `Bearer ${string}`;
4218
4218
  user: {
4219
- id: string & import("zod").$brand<"UUID">;
4219
+ id: string;
4220
4220
  type: "system";
4221
4221
  signature?: undefined;
4222
4222
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
@@ -4322,7 +4322,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4322
4322
  ctx: Partial<{
4323
4323
  token: `Bearer ${string}`;
4324
4324
  user: {
4325
- id: string & import("zod").$brand<"UUID">;
4325
+ id: string;
4326
4326
  type: "system";
4327
4327
  signature?: undefined;
4328
4328
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
@@ -4615,7 +4615,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4615
4615
  ctx: Partial<{
4616
4616
  token: `Bearer ${string}`;
4617
4617
  user: {
4618
- id: string & import("zod").$brand<"UUID">;
4618
+ id: string;
4619
4619
  type: "system";
4620
4620
  signature?: undefined;
4621
4621
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
@@ -4688,7 +4688,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4688
4688
  ctx: Partial<{
4689
4689
  token: `Bearer ${string}`;
4690
4690
  user: {
4691
- id: string & import("zod").$brand<"UUID">;
4691
+ id: string;
4692
4692
  type: "system";
4693
4693
  signature?: undefined;
4694
4694
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
@@ -4710,7 +4710,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4710
4710
  ctx: Partial<{
4711
4711
  token: `Bearer ${string}`;
4712
4712
  user: {
4713
- id: string & import("zod").$brand<"UUID">;
4713
+ id: string;
4714
4714
  type: "system";
4715
4715
  signature?: undefined;
4716
4716
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
@@ -4773,7 +4773,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4773
4773
  'legalStatuses.DECLARED.createdAtLocation'?: {
4774
4774
  type: "within";
4775
4775
  location: string | {
4776
- $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "middlename" | "avatar" | "signature" | "primaryOfficeId";
4776
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
4777
4777
  $location?: string | undefined;
4778
4778
  };
4779
4779
  } | undefined;
@@ -4795,7 +4795,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4795
4795
  'legalStatuses.REGISTERED.createdAtLocation'?: {
4796
4796
  type: "within";
4797
4797
  location: string | {
4798
- $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "middlename" | "avatar" | "signature" | "primaryOfficeId";
4798
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
4799
4799
  $location?: string | undefined;
4800
4800
  };
4801
4801
  } | undefined;
@@ -4810,47 +4810,47 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4810
4810
  createdAtLocation?: {
4811
4811
  type: "within";
4812
4812
  location: string | {
4813
- $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "middlename" | "avatar" | "signature" | "primaryOfficeId";
4813
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
4814
4814
  $location?: string | undefined;
4815
4815
  };
4816
4816
  } | {
4817
4817
  type: "exact";
4818
4818
  term: string | {
4819
- $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "middlename" | "avatar" | "signature" | "primaryOfficeId";
4819
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
4820
4820
  $location?: string | undefined;
4821
4821
  };
4822
4822
  } | undefined;
4823
4823
  updatedAtLocation?: {
4824
4824
  type: "within";
4825
4825
  location: string | {
4826
- $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "middlename" | "avatar" | "signature" | "primaryOfficeId";
4826
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
4827
4827
  $location?: string | undefined;
4828
4828
  };
4829
4829
  } | {
4830
4830
  type: "exact";
4831
4831
  term: string | {
4832
- $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "middlename" | "avatar" | "signature" | "primaryOfficeId";
4832
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
4833
4833
  $location?: string | undefined;
4834
4834
  };
4835
4835
  } | undefined;
4836
4836
  updatedByUserRole?: {
4837
4837
  type: "exact";
4838
4838
  term: string | {
4839
- $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "middlename" | "avatar" | "signature" | "primaryOfficeId";
4839
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
4840
4840
  $location?: string | undefined;
4841
4841
  };
4842
4842
  } | undefined;
4843
4843
  assignedTo?: {
4844
4844
  type: "exact";
4845
4845
  term: string | {
4846
- $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "middlename" | "avatar" | "signature" | "primaryOfficeId";
4846
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
4847
4847
  $location?: string | undefined;
4848
4848
  };
4849
4849
  } | undefined;
4850
4850
  createdBy?: {
4851
4851
  type: "exact";
4852
4852
  term: string | {
4853
- $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "middlename" | "avatar" | "signature" | "primaryOfficeId";
4853
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
4854
4854
  $location?: string | undefined;
4855
4855
  };
4856
4856
  } | undefined;
@@ -4861,7 +4861,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4861
4861
  updatedBy?: {
4862
4862
  type: "exact";
4863
4863
  term: string | {
4864
- $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "middlename" | "avatar" | "signature" | "primaryOfficeId";
4864
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
4865
4865
  $location?: string | undefined;
4866
4866
  };
4867
4867
  } | undefined;
@@ -4911,7 +4911,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4911
4911
  'legalStatuses.DECLARED.createdAtLocation'?: {
4912
4912
  type: "within";
4913
4913
  location: string | {
4914
- $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "middlename" | "avatar" | "signature" | "primaryOfficeId";
4914
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
4915
4915
  $location?: string | undefined;
4916
4916
  };
4917
4917
  } | undefined;
@@ -4933,7 +4933,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4933
4933
  'legalStatuses.REGISTERED.createdAtLocation'?: {
4934
4934
  type: "within";
4935
4935
  location: string | {
4936
- $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "middlename" | "avatar" | "signature" | "primaryOfficeId";
4936
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
4937
4937
  $location?: string | undefined;
4938
4938
  };
4939
4939
  } | undefined;
@@ -4948,47 +4948,47 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4948
4948
  createdAtLocation?: {
4949
4949
  type: "within";
4950
4950
  location: string | {
4951
- $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "middlename" | "avatar" | "signature" | "primaryOfficeId";
4951
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
4952
4952
  $location?: string | undefined;
4953
4953
  };
4954
4954
  } | {
4955
4955
  type: "exact";
4956
4956
  term: string | {
4957
- $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "middlename" | "avatar" | "signature" | "primaryOfficeId";
4957
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
4958
4958
  $location?: string | undefined;
4959
4959
  };
4960
4960
  } | undefined;
4961
4961
  updatedAtLocation?: {
4962
4962
  type: "within";
4963
4963
  location: string | {
4964
- $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "middlename" | "avatar" | "signature" | "primaryOfficeId";
4964
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
4965
4965
  $location?: string | undefined;
4966
4966
  };
4967
4967
  } | {
4968
4968
  type: "exact";
4969
4969
  term: string | {
4970
- $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "middlename" | "avatar" | "signature" | "primaryOfficeId";
4970
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
4971
4971
  $location?: string | undefined;
4972
4972
  };
4973
4973
  } | undefined;
4974
4974
  updatedByUserRole?: {
4975
4975
  type: "exact";
4976
4976
  term: string | {
4977
- $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "middlename" | "avatar" | "signature" | "primaryOfficeId";
4977
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
4978
4978
  $location?: string | undefined;
4979
4979
  };
4980
4980
  } | undefined;
4981
4981
  assignedTo?: {
4982
4982
  type: "exact";
4983
4983
  term: string | {
4984
- $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "middlename" | "avatar" | "signature" | "primaryOfficeId";
4984
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
4985
4985
  $location?: string | undefined;
4986
4986
  };
4987
4987
  } | undefined;
4988
4988
  createdBy?: {
4989
4989
  type: "exact";
4990
4990
  term: string | {
4991
- $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "middlename" | "avatar" | "signature" | "primaryOfficeId";
4991
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
4992
4992
  $location?: string | undefined;
4993
4993
  };
4994
4994
  } | undefined;
@@ -4999,7 +4999,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4999
4999
  updatedBy?: {
5000
5000
  type: "exact";
5001
5001
  term: string | {
5002
- $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "middlename" | "avatar" | "signature" | "primaryOfficeId";
5002
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
5003
5003
  $location?: string | undefined;
5004
5004
  };
5005
5005
  } | undefined;
@@ -5050,7 +5050,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5050
5050
  ctx: Partial<{
5051
5051
  token: `Bearer ${string}`;
5052
5052
  user: {
5053
- id: string & import("zod").$brand<"UUID">;
5053
+ id: string;
5054
5054
  type: "system";
5055
5055
  signature?: undefined;
5056
5056
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
@@ -5098,7 +5098,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5098
5098
  ctx: Partial<{
5099
5099
  token: `Bearer ${string}`;
5100
5100
  user: {
5101
- id: string & import("zod").$brand<"UUID">;
5101
+ id: string;
5102
5102
  type: "system";
5103
5103
  signature?: undefined;
5104
5104
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
@@ -5150,7 +5150,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5150
5150
  scopes: string[];
5151
5151
  status: string;
5152
5152
  createdAt: string;
5153
- createdBy: string & import("zod").$brand<"UUID">;
5153
+ createdBy: string;
5154
5154
  }[];
5155
5155
  meta: import("trpc-to-openapi").OpenApiMeta;
5156
5156
  }>;
@@ -5165,7 +5165,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5165
5165
  status: string;
5166
5166
  shaSecret: string | null;
5167
5167
  createdAt: string;
5168
- createdBy: string & import("zod").$brand<"UUID">;
5168
+ createdBy: string;
5169
5169
  };
5170
5170
  meta: import("trpc-to-openapi").OpenApiMeta;
5171
5171
  }>;
@@ -5216,7 +5216,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5216
5216
  ctx: Partial<{
5217
5217
  token: `Bearer ${string}`;
5218
5218
  user: {
5219
- id: string & import("zod").$brand<"UUID">;
5219
+ id: string;
5220
5220
  type: "system";
5221
5221
  signature?: undefined;
5222
5222
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
@@ -5251,7 +5251,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5251
5251
  ctx: Partial<{
5252
5252
  token: `Bearer ${string}`;
5253
5253
  user: {
5254
- id: string & import("zod").$brand<"UUID">;
5254
+ id: string;
5255
5255
  type: "system";
5256
5256
  signature?: undefined;
5257
5257
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opencrvs/toolkit",
3
- "version": "2.0.0-rc.8d033a8",
3
+ "version": "2.0.0-rc.dd60863",
4
4
  "description": "OpenCRVS toolkit for building country configurations",
5
5
  "license": "MPL-2.0",
6
6
  "bin": {