@opencrvs/toolkit 2.0.0-rc.a456517 → 2.0.0-rc.b4856ad

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;
@@ -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";
@@ -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";
@@ -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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opencrvs/toolkit",
3
- "version": "2.0.0-rc.a456517",
3
+ "version": "2.0.0-rc.b4856ad",
4
4
  "description": "OpenCRVS toolkit for building country configurations",
5
5
  "license": "MPL-2.0",
6
6
  "bin": {