@opencrvs/toolkit 2.0.0-rc.32c9d97 → 2.0.0-rc.33379e6

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.
@@ -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";
@@ -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;
@@ -4030,10 +4028,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4030
4028
  output: {
4031
4029
  id: string & import("zod").$brand<"UUID">;
4032
4030
  name: {
4033
- use: string;
4034
- given: string[];
4035
- family: string;
4036
- }[];
4031
+ firstname: string;
4032
+ surname: string;
4033
+ };
4037
4034
  role: string;
4038
4035
  primaryOfficeId: string & import("zod").$brand<"UUID">;
4039
4036
  type: "user";
@@ -4054,10 +4051,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4054
4051
  id: string;
4055
4052
  data?: Record<string, unknown> | undefined;
4056
4053
  name?: {
4057
- use: string;
4058
- given: string[];
4059
- family: string;
4060
- }[] | undefined;
4054
+ firstname: string;
4055
+ surname: string;
4056
+ } | undefined;
4061
4057
  role?: string | undefined;
4062
4058
  fullHonorificName?: string | undefined;
4063
4059
  device?: string | undefined;
@@ -4074,10 +4070,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4074
4070
  output: {
4075
4071
  id: string & import("zod").$brand<"UUID">;
4076
4072
  name: {
4077
- use: string;
4078
- given: string[];
4079
- family: string;
4080
- }[];
4073
+ firstname: string;
4074
+ surname: string;
4075
+ };
4081
4076
  role: string;
4082
4077
  primaryOfficeId: string & import("zod").$brand<"UUID">;
4083
4078
  type: "user";
@@ -4098,10 +4093,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4098
4093
  output: ({
4099
4094
  id: string & import("zod").$brand<"UUID">;
4100
4095
  name: {
4101
- use: string;
4102
- given: string[];
4103
- family: string;
4104
- }[];
4096
+ firstname: string;
4097
+ surname: string;
4098
+ };
4105
4099
  role: string;
4106
4100
  primaryOfficeId: string & import("zod").$brand<"UUID">;
4107
4101
  type: "user";
@@ -4143,10 +4137,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4143
4137
  output: ({
4144
4138
  id: string & import("zod").$brand<"UUID">;
4145
4139
  name: {
4146
- use: string;
4147
- given: string[];
4148
- family: string;
4149
- }[];
4140
+ firstname: string;
4141
+ surname: string;
4142
+ };
4150
4143
  role: string;
4151
4144
  primaryOfficeId: string & import("zod").$brand<"UUID">;
4152
4145
  type: "user";
@@ -4282,10 +4275,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4282
4275
  changeAvatar: import("@trpc/server").TRPCMutationProcedure<{
4283
4276
  input: {
4284
4277
  userId: string;
4285
- avatar: {
4286
- type: string;
4287
- data: string;
4288
- };
4278
+ avatar: string;
4289
4279
  };
4290
4280
  output: void;
4291
4281
  meta: import("trpc-to-openapi").OpenApiMeta;
@@ -4772,7 +4762,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4772
4762
  'legalStatuses.DECLARED.createdAtLocation'?: {
4773
4763
  type: "within";
4774
4764
  location: string | {
4775
- $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "middlename" | "avatar" | "signature" | "primaryOfficeId";
4765
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
4776
4766
  $location?: string | undefined;
4777
4767
  };
4778
4768
  } | undefined;
@@ -4794,7 +4784,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4794
4784
  'legalStatuses.REGISTERED.createdAtLocation'?: {
4795
4785
  type: "within";
4796
4786
  location: string | {
4797
- $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "middlename" | "avatar" | "signature" | "primaryOfficeId";
4787
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
4798
4788
  $location?: string | undefined;
4799
4789
  };
4800
4790
  } | undefined;
@@ -4809,47 +4799,47 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4809
4799
  createdAtLocation?: {
4810
4800
  type: "within";
4811
4801
  location: string | {
4812
- $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "middlename" | "avatar" | "signature" | "primaryOfficeId";
4802
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
4813
4803
  $location?: string | undefined;
4814
4804
  };
4815
4805
  } | {
4816
4806
  type: "exact";
4817
4807
  term: string | {
4818
- $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "middlename" | "avatar" | "signature" | "primaryOfficeId";
4808
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
4819
4809
  $location?: string | undefined;
4820
4810
  };
4821
4811
  } | undefined;
4822
4812
  updatedAtLocation?: {
4823
4813
  type: "within";
4824
4814
  location: string | {
4825
- $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "middlename" | "avatar" | "signature" | "primaryOfficeId";
4815
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
4826
4816
  $location?: string | undefined;
4827
4817
  };
4828
4818
  } | {
4829
4819
  type: "exact";
4830
4820
  term: string | {
4831
- $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "middlename" | "avatar" | "signature" | "primaryOfficeId";
4821
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
4832
4822
  $location?: string | undefined;
4833
4823
  };
4834
4824
  } | undefined;
4835
4825
  updatedByUserRole?: {
4836
4826
  type: "exact";
4837
4827
  term: string | {
4838
- $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "middlename" | "avatar" | "signature" | "primaryOfficeId";
4828
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
4839
4829
  $location?: string | undefined;
4840
4830
  };
4841
4831
  } | undefined;
4842
4832
  assignedTo?: {
4843
4833
  type: "exact";
4844
4834
  term: string | {
4845
- $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "middlename" | "avatar" | "signature" | "primaryOfficeId";
4835
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
4846
4836
  $location?: string | undefined;
4847
4837
  };
4848
4838
  } | undefined;
4849
4839
  createdBy?: {
4850
4840
  type: "exact";
4851
4841
  term: string | {
4852
- $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "middlename" | "avatar" | "signature" | "primaryOfficeId";
4842
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
4853
4843
  $location?: string | undefined;
4854
4844
  };
4855
4845
  } | undefined;
@@ -4860,7 +4850,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4860
4850
  updatedBy?: {
4861
4851
  type: "exact";
4862
4852
  term: string | {
4863
- $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";
4864
4854
  $location?: string | undefined;
4865
4855
  };
4866
4856
  } | undefined;
@@ -4910,7 +4900,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4910
4900
  'legalStatuses.DECLARED.createdAtLocation'?: {
4911
4901
  type: "within";
4912
4902
  location: string | {
4913
- $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "middlename" | "avatar" | "signature" | "primaryOfficeId";
4903
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
4914
4904
  $location?: string | undefined;
4915
4905
  };
4916
4906
  } | undefined;
@@ -4932,7 +4922,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4932
4922
  'legalStatuses.REGISTERED.createdAtLocation'?: {
4933
4923
  type: "within";
4934
4924
  location: string | {
4935
- $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "middlename" | "avatar" | "signature" | "primaryOfficeId";
4925
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
4936
4926
  $location?: string | undefined;
4937
4927
  };
4938
4928
  } | undefined;
@@ -4947,47 +4937,47 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4947
4937
  createdAtLocation?: {
4948
4938
  type: "within";
4949
4939
  location: string | {
4950
- $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "middlename" | "avatar" | "signature" | "primaryOfficeId";
4940
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
4951
4941
  $location?: string | undefined;
4952
4942
  };
4953
4943
  } | {
4954
4944
  type: "exact";
4955
4945
  term: string | {
4956
- $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "middlename" | "avatar" | "signature" | "primaryOfficeId";
4946
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
4957
4947
  $location?: string | undefined;
4958
4948
  };
4959
4949
  } | undefined;
4960
4950
  updatedAtLocation?: {
4961
4951
  type: "within";
4962
4952
  location: string | {
4963
- $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "middlename" | "avatar" | "signature" | "primaryOfficeId";
4953
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
4964
4954
  $location?: string | undefined;
4965
4955
  };
4966
4956
  } | {
4967
4957
  type: "exact";
4968
4958
  term: string | {
4969
- $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "middlename" | "avatar" | "signature" | "primaryOfficeId";
4959
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
4970
4960
  $location?: string | undefined;
4971
4961
  };
4972
4962
  } | undefined;
4973
4963
  updatedByUserRole?: {
4974
4964
  type: "exact";
4975
4965
  term: string | {
4976
- $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "middlename" | "avatar" | "signature" | "primaryOfficeId";
4966
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
4977
4967
  $location?: string | undefined;
4978
4968
  };
4979
4969
  } | undefined;
4980
4970
  assignedTo?: {
4981
4971
  type: "exact";
4982
4972
  term: string | {
4983
- $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "middlename" | "avatar" | "signature" | "primaryOfficeId";
4973
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
4984
4974
  $location?: string | undefined;
4985
4975
  };
4986
4976
  } | undefined;
4987
4977
  createdBy?: {
4988
4978
  type: "exact";
4989
4979
  term: string | {
4990
- $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "middlename" | "avatar" | "signature" | "primaryOfficeId";
4980
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
4991
4981
  $location?: string | undefined;
4992
4982
  };
4993
4983
  } | undefined;
@@ -4998,7 +4988,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4998
4988
  updatedBy?: {
4999
4989
  type: "exact";
5000
4990
  term: string | {
5001
- $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";
5002
4992
  $location?: string | undefined;
5003
4993
  };
5004
4994
  } | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opencrvs/toolkit",
3
- "version": "2.0.0-rc.32c9d97",
3
+ "version": "2.0.0-rc.33379e6",
4
4
  "description": "OpenCRVS toolkit for building country configurations",
5
5
  "license": "MPL-2.0",
6
6
  "bin": {