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

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;
@@ -3975,10 +3975,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
3975
3975
  output: {
3976
3976
  id: string & import("zod").$brand<"UUID">;
3977
3977
  name: {
3978
- use: string;
3979
- given: string[];
3980
- family: string;
3981
- }[];
3978
+ firstname: string;
3979
+ surname: string;
3980
+ };
3982
3981
  role: string;
3983
3982
  primaryOfficeId: string & import("zod").$brand<"UUID">;
3984
3983
  type: "user";
@@ -3992,7 +3991,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
3992
3991
  email?: string | undefined;
3993
3992
  data?: Record<string, import("../commons").FieldValue> | undefined;
3994
3993
  } | {
3995
- id: string & import("zod").$brand<"UUID">;
3994
+ id: string;
3996
3995
  name: string;
3997
3996
  type: "system";
3998
3997
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
@@ -4008,10 +4007,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4008
4007
  create: import("@trpc/server").TRPCMutationProcedure<{
4009
4008
  input: {
4010
4009
  name: {
4011
- use: string;
4012
- given: string[];
4013
- family: string;
4014
- }[];
4010
+ firstname: string;
4011
+ surname: string;
4012
+ };
4015
4013
  role: string;
4016
4014
  primaryOfficeId: string;
4017
4015
  data?: Record<string, unknown> | undefined;
@@ -4029,10 +4027,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4029
4027
  output: {
4030
4028
  id: string & import("zod").$brand<"UUID">;
4031
4029
  name: {
4032
- use: string;
4033
- given: string[];
4034
- family: string;
4035
- }[];
4030
+ firstname: string;
4031
+ surname: string;
4032
+ };
4036
4033
  role: string;
4037
4034
  primaryOfficeId: string & import("zod").$brand<"UUID">;
4038
4035
  type: "user";
@@ -4053,10 +4050,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4053
4050
  id: string;
4054
4051
  data?: Record<string, unknown> | undefined;
4055
4052
  name?: {
4056
- use: string;
4057
- given: string[];
4058
- family: string;
4059
- }[] | undefined;
4053
+ firstname: string;
4054
+ surname: string;
4055
+ } | undefined;
4060
4056
  role?: string | undefined;
4061
4057
  fullHonorificName?: string | undefined;
4062
4058
  device?: string | undefined;
@@ -4075,10 +4071,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4075
4071
  output: {
4076
4072
  id: string & import("zod").$brand<"UUID">;
4077
4073
  name: {
4078
- use: string;
4079
- given: string[];
4080
- family: string;
4081
- }[];
4074
+ firstname: string;
4075
+ surname: string;
4076
+ };
4082
4077
  role: string;
4083
4078
  primaryOfficeId: string & import("zod").$brand<"UUID">;
4084
4079
  type: "user";
@@ -4099,10 +4094,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4099
4094
  output: ({
4100
4095
  id: string & import("zod").$brand<"UUID">;
4101
4096
  name: {
4102
- use: string;
4103
- given: string[];
4104
- family: string;
4105
- }[];
4097
+ firstname: string;
4098
+ surname: string;
4099
+ };
4106
4100
  role: string;
4107
4101
  primaryOfficeId: string & import("zod").$brand<"UUID">;
4108
4102
  type: "user";
@@ -4116,7 +4110,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4116
4110
  email?: string | undefined;
4117
4111
  data?: Record<string, import("../commons").FieldValue> | undefined;
4118
4112
  } | {
4119
- id: string & import("zod").$brand<"UUID">;
4113
+ id: string;
4120
4114
  name: string;
4121
4115
  type: "system";
4122
4116
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
@@ -4144,10 +4138,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4144
4138
  output: ({
4145
4139
  id: string & import("zod").$brand<"UUID">;
4146
4140
  name: {
4147
- use: string;
4148
- given: string[];
4149
- family: string;
4150
- }[];
4141
+ firstname: string;
4142
+ surname: string;
4143
+ };
4151
4144
  role: string;
4152
4145
  primaryOfficeId: string & import("zod").$brand<"UUID">;
4153
4146
  type: "user";
@@ -4161,7 +4154,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4161
4154
  email?: string | undefined;
4162
4155
  data?: Record<string, import("../commons").FieldValue> | undefined;
4163
4156
  } | {
4164
- id: string & import("zod").$brand<"UUID">;
4157
+ id: string;
4165
4158
  name: string;
4166
4159
  type: "system";
4167
4160
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
@@ -4216,7 +4209,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4216
4209
  ctx: Partial<{
4217
4210
  token: `Bearer ${string}`;
4218
4211
  user: {
4219
- id: string & import("zod").$brand<"UUID">;
4212
+ id: string;
4220
4213
  type: "system";
4221
4214
  signature?: undefined;
4222
4215
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
@@ -4322,7 +4315,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4322
4315
  ctx: Partial<{
4323
4316
  token: `Bearer ${string}`;
4324
4317
  user: {
4325
- id: string & import("zod").$brand<"UUID">;
4318
+ id: string;
4326
4319
  type: "system";
4327
4320
  signature?: undefined;
4328
4321
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
@@ -4615,7 +4608,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4615
4608
  ctx: Partial<{
4616
4609
  token: `Bearer ${string}`;
4617
4610
  user: {
4618
- id: string & import("zod").$brand<"UUID">;
4611
+ id: string;
4619
4612
  type: "system";
4620
4613
  signature?: undefined;
4621
4614
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
@@ -4688,7 +4681,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4688
4681
  ctx: Partial<{
4689
4682
  token: `Bearer ${string}`;
4690
4683
  user: {
4691
- id: string & import("zod").$brand<"UUID">;
4684
+ id: string;
4692
4685
  type: "system";
4693
4686
  signature?: undefined;
4694
4687
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
@@ -4710,7 +4703,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4710
4703
  ctx: Partial<{
4711
4704
  token: `Bearer ${string}`;
4712
4705
  user: {
4713
- id: string & import("zod").$brand<"UUID">;
4706
+ id: string;
4714
4707
  type: "system";
4715
4708
  signature?: undefined;
4716
4709
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
@@ -4773,7 +4766,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4773
4766
  'legalStatuses.DECLARED.createdAtLocation'?: {
4774
4767
  type: "within";
4775
4768
  location: string | {
4776
- $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "middlename" | "avatar" | "signature" | "primaryOfficeId";
4769
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
4777
4770
  $location?: string | undefined;
4778
4771
  };
4779
4772
  } | undefined;
@@ -4795,7 +4788,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4795
4788
  'legalStatuses.REGISTERED.createdAtLocation'?: {
4796
4789
  type: "within";
4797
4790
  location: string | {
4798
- $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "middlename" | "avatar" | "signature" | "primaryOfficeId";
4791
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
4799
4792
  $location?: string | undefined;
4800
4793
  };
4801
4794
  } | undefined;
@@ -4810,47 +4803,47 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4810
4803
  createdAtLocation?: {
4811
4804
  type: "within";
4812
4805
  location: string | {
4813
- $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "middlename" | "avatar" | "signature" | "primaryOfficeId";
4806
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
4814
4807
  $location?: string | undefined;
4815
4808
  };
4816
4809
  } | {
4817
4810
  type: "exact";
4818
4811
  term: string | {
4819
- $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "middlename" | "avatar" | "signature" | "primaryOfficeId";
4812
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
4820
4813
  $location?: string | undefined;
4821
4814
  };
4822
4815
  } | undefined;
4823
4816
  updatedAtLocation?: {
4824
4817
  type: "within";
4825
4818
  location: string | {
4826
- $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";
4827
4820
  $location?: string | undefined;
4828
4821
  };
4829
4822
  } | {
4830
4823
  type: "exact";
4831
4824
  term: string | {
4832
- $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "middlename" | "avatar" | "signature" | "primaryOfficeId";
4825
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
4833
4826
  $location?: string | undefined;
4834
4827
  };
4835
4828
  } | undefined;
4836
4829
  updatedByUserRole?: {
4837
4830
  type: "exact";
4838
4831
  term: string | {
4839
- $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";
4840
4833
  $location?: string | undefined;
4841
4834
  };
4842
4835
  } | undefined;
4843
4836
  assignedTo?: {
4844
4837
  type: "exact";
4845
4838
  term: string | {
4846
- $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";
4847
4840
  $location?: string | undefined;
4848
4841
  };
4849
4842
  } | undefined;
4850
4843
  createdBy?: {
4851
4844
  type: "exact";
4852
4845
  term: string | {
4853
- $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";
4854
4847
  $location?: string | undefined;
4855
4848
  };
4856
4849
  } | undefined;
@@ -4861,7 +4854,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4861
4854
  updatedBy?: {
4862
4855
  type: "exact";
4863
4856
  term: string | {
4864
- $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "middlename" | "avatar" | "signature" | "primaryOfficeId";
4857
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
4865
4858
  $location?: string | undefined;
4866
4859
  };
4867
4860
  } | undefined;
@@ -4911,7 +4904,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4911
4904
  'legalStatuses.DECLARED.createdAtLocation'?: {
4912
4905
  type: "within";
4913
4906
  location: string | {
4914
- $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "middlename" | "avatar" | "signature" | "primaryOfficeId";
4907
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
4915
4908
  $location?: string | undefined;
4916
4909
  };
4917
4910
  } | undefined;
@@ -4933,7 +4926,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4933
4926
  'legalStatuses.REGISTERED.createdAtLocation'?: {
4934
4927
  type: "within";
4935
4928
  location: string | {
4936
- $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "middlename" | "avatar" | "signature" | "primaryOfficeId";
4929
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
4937
4930
  $location?: string | undefined;
4938
4931
  };
4939
4932
  } | undefined;
@@ -4948,47 +4941,47 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4948
4941
  createdAtLocation?: {
4949
4942
  type: "within";
4950
4943
  location: string | {
4951
- $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "middlename" | "avatar" | "signature" | "primaryOfficeId";
4944
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
4952
4945
  $location?: string | undefined;
4953
4946
  };
4954
4947
  } | {
4955
4948
  type: "exact";
4956
4949
  term: string | {
4957
- $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "middlename" | "avatar" | "signature" | "primaryOfficeId";
4950
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
4958
4951
  $location?: string | undefined;
4959
4952
  };
4960
4953
  } | undefined;
4961
4954
  updatedAtLocation?: {
4962
4955
  type: "within";
4963
4956
  location: string | {
4964
- $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";
4965
4958
  $location?: string | undefined;
4966
4959
  };
4967
4960
  } | {
4968
4961
  type: "exact";
4969
4962
  term: string | {
4970
- $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "middlename" | "avatar" | "signature" | "primaryOfficeId";
4963
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
4971
4964
  $location?: string | undefined;
4972
4965
  };
4973
4966
  } | undefined;
4974
4967
  updatedByUserRole?: {
4975
4968
  type: "exact";
4976
4969
  term: string | {
4977
- $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";
4978
4971
  $location?: string | undefined;
4979
4972
  };
4980
4973
  } | undefined;
4981
4974
  assignedTo?: {
4982
4975
  type: "exact";
4983
4976
  term: string | {
4984
- $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";
4985
4978
  $location?: string | undefined;
4986
4979
  };
4987
4980
  } | undefined;
4988
4981
  createdBy?: {
4989
4982
  type: "exact";
4990
4983
  term: string | {
4991
- $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";
4992
4985
  $location?: string | undefined;
4993
4986
  };
4994
4987
  } | undefined;
@@ -4999,7 +4992,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4999
4992
  updatedBy?: {
5000
4993
  type: "exact";
5001
4994
  term: string | {
5002
- $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "middlename" | "avatar" | "signature" | "primaryOfficeId";
4995
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
5003
4996
  $location?: string | undefined;
5004
4997
  };
5005
4998
  } | undefined;
@@ -5050,7 +5043,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5050
5043
  ctx: Partial<{
5051
5044
  token: `Bearer ${string}`;
5052
5045
  user: {
5053
- id: string & import("zod").$brand<"UUID">;
5046
+ id: string;
5054
5047
  type: "system";
5055
5048
  signature?: undefined;
5056
5049
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
@@ -5098,7 +5091,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5098
5091
  ctx: Partial<{
5099
5092
  token: `Bearer ${string}`;
5100
5093
  user: {
5101
- id: string & import("zod").$brand<"UUID">;
5094
+ id: string;
5102
5095
  type: "system";
5103
5096
  signature?: undefined;
5104
5097
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
@@ -5150,7 +5143,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5150
5143
  scopes: string[];
5151
5144
  status: string;
5152
5145
  createdAt: string;
5153
- createdBy: string & import("zod").$brand<"UUID">;
5146
+ createdBy: string;
5154
5147
  }[];
5155
5148
  meta: import("trpc-to-openapi").OpenApiMeta;
5156
5149
  }>;
@@ -5165,7 +5158,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5165
5158
  status: string;
5166
5159
  shaSecret: string | null;
5167
5160
  createdAt: string;
5168
- createdBy: string & import("zod").$brand<"UUID">;
5161
+ createdBy: string;
5169
5162
  };
5170
5163
  meta: import("trpc-to-openapi").OpenApiMeta;
5171
5164
  }>;
@@ -5216,7 +5209,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5216
5209
  ctx: Partial<{
5217
5210
  token: `Bearer ${string}`;
5218
5211
  user: {
5219
- id: string & import("zod").$brand<"UUID">;
5212
+ id: string;
5220
5213
  type: "system";
5221
5214
  signature?: undefined;
5222
5215
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
@@ -5251,7 +5244,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5251
5244
  ctx: Partial<{
5252
5245
  token: `Bearer ${string}`;
5253
5246
  user: {
5254
- id: string & import("zod").$brand<"UUID">;
5247
+ id: string;
5255
5248
  type: "system";
5256
5249
  signature?: undefined;
5257
5250
  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.d846143",
4
4
  "description": "OpenCRVS toolkit for building country configurations",
5
5
  "license": "MPL-2.0",
6
6
  "bin": {