@opencrvs/toolkit 2.0.0-rc.71d2a40 → 2.0.0-rc.d288be8

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;
@@ -4020,7 +4018,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4020
4018
  email?: string | undefined;
4021
4019
  mobile?: string | undefined;
4022
4020
  username?: undefined;
4023
- password?: undefined;
4024
4021
  signature?: {
4025
4022
  path: string;
4026
4023
  originalFilename: string;
@@ -4030,10 +4027,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4030
4027
  output: {
4031
4028
  id: string & import("zod").$brand<"UUID">;
4032
4029
  name: {
4033
- use: string;
4034
- given: string[];
4035
- family: string;
4036
- }[];
4030
+ firstname: string;
4031
+ surname: string;
4032
+ };
4037
4033
  role: string;
4038
4034
  primaryOfficeId: string & import("zod").$brand<"UUID">;
4039
4035
  type: "user";
@@ -4054,10 +4050,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4054
4050
  id: string;
4055
4051
  data?: Record<string, unknown> | undefined;
4056
4052
  name?: {
4057
- use: string;
4058
- given: string[];
4059
- family: string;
4060
- }[] | undefined;
4053
+ firstname: string;
4054
+ surname: string;
4055
+ } | undefined;
4061
4056
  role?: string | undefined;
4062
4057
  fullHonorificName?: string | undefined;
4063
4058
  device?: string | undefined;
@@ -4070,14 +4065,15 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4070
4065
  type: string;
4071
4066
  } | undefined;
4072
4067
  status?: "active" | "deactivated" | undefined;
4068
+ } & {
4069
+ id: string;
4073
4070
  };
4074
4071
  output: {
4075
4072
  id: string & import("zod").$brand<"UUID">;
4076
4073
  name: {
4077
- use: string;
4078
- given: string[];
4079
- family: string;
4080
- }[];
4074
+ firstname: string;
4075
+ surname: string;
4076
+ };
4081
4077
  role: string;
4082
4078
  primaryOfficeId: string & import("zod").$brand<"UUID">;
4083
4079
  type: "user";
@@ -4098,10 +4094,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4098
4094
  output: ({
4099
4095
  id: string & import("zod").$brand<"UUID">;
4100
4096
  name: {
4101
- use: string;
4102
- given: string[];
4103
- family: string;
4104
- }[];
4097
+ firstname: string;
4098
+ surname: string;
4099
+ };
4105
4100
  role: string;
4106
4101
  primaryOfficeId: string & import("zod").$brand<"UUID">;
4107
4102
  type: "user";
@@ -4143,10 +4138,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4143
4138
  output: ({
4144
4139
  id: string & import("zod").$brand<"UUID">;
4145
4140
  name: {
4146
- use: string;
4147
- given: string[];
4148
- family: string;
4149
- }[];
4141
+ firstname: string;
4142
+ surname: string;
4143
+ };
4150
4144
  role: string;
4151
4145
  primaryOfficeId: string & import("zod").$brand<"UUID">;
4152
4146
  type: "user";
@@ -4772,7 +4766,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4772
4766
  'legalStatuses.DECLARED.createdAtLocation'?: {
4773
4767
  type: "within";
4774
4768
  location: string | {
4775
- $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";
4776
4770
  $location?: string | undefined;
4777
4771
  };
4778
4772
  } | undefined;
@@ -4794,7 +4788,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4794
4788
  'legalStatuses.REGISTERED.createdAtLocation'?: {
4795
4789
  type: "within";
4796
4790
  location: string | {
4797
- $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";
4798
4792
  $location?: string | undefined;
4799
4793
  };
4800
4794
  } | undefined;
@@ -4809,47 +4803,47 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4809
4803
  createdAtLocation?: {
4810
4804
  type: "within";
4811
4805
  location: string | {
4812
- $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";
4813
4807
  $location?: string | undefined;
4814
4808
  };
4815
4809
  } | {
4816
4810
  type: "exact";
4817
4811
  term: string | {
4818
- $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";
4819
4813
  $location?: string | undefined;
4820
4814
  };
4821
4815
  } | undefined;
4822
4816
  updatedAtLocation?: {
4823
4817
  type: "within";
4824
4818
  location: string | {
4825
- $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";
4826
4820
  $location?: string | undefined;
4827
4821
  };
4828
4822
  } | {
4829
4823
  type: "exact";
4830
4824
  term: string | {
4831
- $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";
4832
4826
  $location?: string | undefined;
4833
4827
  };
4834
4828
  } | undefined;
4835
4829
  updatedByUserRole?: {
4836
4830
  type: "exact";
4837
4831
  term: string | {
4838
- $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";
4839
4833
  $location?: string | undefined;
4840
4834
  };
4841
4835
  } | undefined;
4842
4836
  assignedTo?: {
4843
4837
  type: "exact";
4844
4838
  term: string | {
4845
- $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";
4846
4840
  $location?: string | undefined;
4847
4841
  };
4848
4842
  } | undefined;
4849
4843
  createdBy?: {
4850
4844
  type: "exact";
4851
4845
  term: string | {
4852
- $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";
4853
4847
  $location?: string | undefined;
4854
4848
  };
4855
4849
  } | undefined;
@@ -4860,7 +4854,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4860
4854
  updatedBy?: {
4861
4855
  type: "exact";
4862
4856
  term: string | {
4863
- $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";
4864
4858
  $location?: string | undefined;
4865
4859
  };
4866
4860
  } | undefined;
@@ -4910,7 +4904,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4910
4904
  'legalStatuses.DECLARED.createdAtLocation'?: {
4911
4905
  type: "within";
4912
4906
  location: string | {
4913
- $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";
4914
4908
  $location?: string | undefined;
4915
4909
  };
4916
4910
  } | undefined;
@@ -4932,7 +4926,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4932
4926
  'legalStatuses.REGISTERED.createdAtLocation'?: {
4933
4927
  type: "within";
4934
4928
  location: string | {
4935
- $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";
4936
4930
  $location?: string | undefined;
4937
4931
  };
4938
4932
  } | undefined;
@@ -4947,47 +4941,47 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4947
4941
  createdAtLocation?: {
4948
4942
  type: "within";
4949
4943
  location: string | {
4950
- $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";
4951
4945
  $location?: string | undefined;
4952
4946
  };
4953
4947
  } | {
4954
4948
  type: "exact";
4955
4949
  term: string | {
4956
- $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";
4957
4951
  $location?: string | undefined;
4958
4952
  };
4959
4953
  } | undefined;
4960
4954
  updatedAtLocation?: {
4961
4955
  type: "within";
4962
4956
  location: string | {
4963
- $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";
4964
4958
  $location?: string | undefined;
4965
4959
  };
4966
4960
  } | {
4967
4961
  type: "exact";
4968
4962
  term: string | {
4969
- $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";
4970
4964
  $location?: string | undefined;
4971
4965
  };
4972
4966
  } | undefined;
4973
4967
  updatedByUserRole?: {
4974
4968
  type: "exact";
4975
4969
  term: string | {
4976
- $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";
4977
4971
  $location?: string | undefined;
4978
4972
  };
4979
4973
  } | undefined;
4980
4974
  assignedTo?: {
4981
4975
  type: "exact";
4982
4976
  term: string | {
4983
- $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";
4984
4978
  $location?: string | undefined;
4985
4979
  };
4986
4980
  } | undefined;
4987
4981
  createdBy?: {
4988
4982
  type: "exact";
4989
4983
  term: string | {
4990
- $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";
4991
4985
  $location?: string | undefined;
4992
4986
  };
4993
4987
  } | undefined;
@@ -4998,7 +4992,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4998
4992
  updatedBy?: {
4999
4993
  type: "exact";
5000
4994
  term: string | {
5001
- $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";
5002
4996
  $location?: string | undefined;
5003
4997
  };
5004
4998
  } | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opencrvs/toolkit",
3
- "version": "2.0.0-rc.71d2a40",
3
+ "version": "2.0.0-rc.d288be8",
4
4
  "description": "OpenCRVS toolkit for building country configurations",
5
5
  "license": "MPL-2.0",
6
6
  "bin": {