@opencrvs/toolkit 2.0.0-rc.23619e2 → 2.0.0-rc.71d2a40
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.
|
@@ -2078,8 +2078,8 @@ var ApplicationConfig = z20.object({
|
|
|
2078
2078
|
})
|
|
2079
2079
|
),
|
|
2080
2080
|
PHONE_NUMBER_PATTERN: z20.string().or(z20.instanceof(RegExp)),
|
|
2081
|
-
USER_NOTIFICATION_DELIVERY_METHOD: z20.
|
|
2082
|
-
INFORMANT_NOTIFICATION_DELIVERY_METHOD: z20.
|
|
2081
|
+
USER_NOTIFICATION_DELIVERY_METHOD: z20.string(),
|
|
2082
|
+
INFORMANT_NOTIFICATION_DELIVERY_METHOD: z20.string(),
|
|
2083
2083
|
SEARCH_DEFAULT_CRITERIA: SearchCriteria.optional().default("TRACKING_ID"),
|
|
2084
2084
|
ADDITIONAL_USER_FIELDS: z20.array(FieldConfig).optional().default([])
|
|
2085
2085
|
});
|
|
@@ -2097,8 +2097,8 @@ var BackgroundConfig = z20.object({
|
|
|
2097
2097
|
var LoginConfig = z20.object({
|
|
2098
2098
|
COUNTRY: z20.string(),
|
|
2099
2099
|
LANGUAGES: z20.array(z20.string()),
|
|
2100
|
-
USER_NOTIFICATION_DELIVERY_METHOD: z20.
|
|
2101
|
-
INFORMANT_NOTIFICATION_DELIVERY_METHOD: z20.
|
|
2100
|
+
USER_NOTIFICATION_DELIVERY_METHOD: z20.string(),
|
|
2101
|
+
INFORMANT_NOTIFICATION_DELIVERY_METHOD: z20.string(),
|
|
2102
2102
|
PHONE_NUMBER_PATTERN: z20.string().or(z20.instanceof(RegExp)),
|
|
2103
2103
|
LOGIN_BACKGROUND: BackgroundConfig,
|
|
2104
2104
|
SENTRY: z20.string().optional()
|
|
@@ -4020,6 +4020,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4020
4020
|
email?: string | undefined;
|
|
4021
4021
|
mobile?: string | undefined;
|
|
4022
4022
|
username?: undefined;
|
|
4023
|
+
password?: undefined;
|
|
4023
4024
|
signature?: {
|
|
4024
4025
|
path: string;
|
|
4025
4026
|
originalFilename: string;
|
|
@@ -4069,8 +4070,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4069
4070
|
type: string;
|
|
4070
4071
|
} | undefined;
|
|
4071
4072
|
status?: "active" | "deactivated" | undefined;
|
|
4072
|
-
} & {
|
|
4073
|
-
id: string;
|
|
4074
4073
|
};
|
|
4075
4074
|
output: {
|
|
4076
4075
|
id: string & import("zod").$brand<"UUID">;
|
|
@@ -4773,7 +4772,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4773
4772
|
'legalStatuses.DECLARED.createdAtLocation'?: {
|
|
4774
4773
|
type: "within";
|
|
4775
4774
|
location: string | {
|
|
4776
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "middlename" | "
|
|
4775
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "middlename" | "avatar" | "signature" | "primaryOfficeId";
|
|
4777
4776
|
$location?: string | undefined;
|
|
4778
4777
|
};
|
|
4779
4778
|
} | undefined;
|
|
@@ -4795,7 +4794,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4795
4794
|
'legalStatuses.REGISTERED.createdAtLocation'?: {
|
|
4796
4795
|
type: "within";
|
|
4797
4796
|
location: string | {
|
|
4798
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "middlename" | "
|
|
4797
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "middlename" | "avatar" | "signature" | "primaryOfficeId";
|
|
4799
4798
|
$location?: string | undefined;
|
|
4800
4799
|
};
|
|
4801
4800
|
} | undefined;
|
|
@@ -4810,47 +4809,47 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4810
4809
|
createdAtLocation?: {
|
|
4811
4810
|
type: "within";
|
|
4812
4811
|
location: string | {
|
|
4813
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "middlename" | "
|
|
4812
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "middlename" | "avatar" | "signature" | "primaryOfficeId";
|
|
4814
4813
|
$location?: string | undefined;
|
|
4815
4814
|
};
|
|
4816
4815
|
} | {
|
|
4817
4816
|
type: "exact";
|
|
4818
4817
|
term: string | {
|
|
4819
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "middlename" | "
|
|
4818
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "middlename" | "avatar" | "signature" | "primaryOfficeId";
|
|
4820
4819
|
$location?: string | undefined;
|
|
4821
4820
|
};
|
|
4822
4821
|
} | undefined;
|
|
4823
4822
|
updatedAtLocation?: {
|
|
4824
4823
|
type: "within";
|
|
4825
4824
|
location: string | {
|
|
4826
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "middlename" | "
|
|
4825
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "middlename" | "avatar" | "signature" | "primaryOfficeId";
|
|
4827
4826
|
$location?: string | undefined;
|
|
4828
4827
|
};
|
|
4829
4828
|
} | {
|
|
4830
4829
|
type: "exact";
|
|
4831
4830
|
term: string | {
|
|
4832
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "middlename" | "
|
|
4831
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "middlename" | "avatar" | "signature" | "primaryOfficeId";
|
|
4833
4832
|
$location?: string | undefined;
|
|
4834
4833
|
};
|
|
4835
4834
|
} | undefined;
|
|
4836
4835
|
updatedByUserRole?: {
|
|
4837
4836
|
type: "exact";
|
|
4838
4837
|
term: string | {
|
|
4839
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "middlename" | "
|
|
4838
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "middlename" | "avatar" | "signature" | "primaryOfficeId";
|
|
4840
4839
|
$location?: string | undefined;
|
|
4841
4840
|
};
|
|
4842
4841
|
} | undefined;
|
|
4843
4842
|
assignedTo?: {
|
|
4844
4843
|
type: "exact";
|
|
4845
4844
|
term: string | {
|
|
4846
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "middlename" | "
|
|
4845
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "middlename" | "avatar" | "signature" | "primaryOfficeId";
|
|
4847
4846
|
$location?: string | undefined;
|
|
4848
4847
|
};
|
|
4849
4848
|
} | undefined;
|
|
4850
4849
|
createdBy?: {
|
|
4851
4850
|
type: "exact";
|
|
4852
4851
|
term: string | {
|
|
4853
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "middlename" | "
|
|
4852
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "middlename" | "avatar" | "signature" | "primaryOfficeId";
|
|
4854
4853
|
$location?: string | undefined;
|
|
4855
4854
|
};
|
|
4856
4855
|
} | undefined;
|
|
@@ -4861,7 +4860,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4861
4860
|
updatedBy?: {
|
|
4862
4861
|
type: "exact";
|
|
4863
4862
|
term: string | {
|
|
4864
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "middlename" | "
|
|
4863
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "middlename" | "avatar" | "signature" | "primaryOfficeId";
|
|
4865
4864
|
$location?: string | undefined;
|
|
4866
4865
|
};
|
|
4867
4866
|
} | undefined;
|
|
@@ -4911,7 +4910,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4911
4910
|
'legalStatuses.DECLARED.createdAtLocation'?: {
|
|
4912
4911
|
type: "within";
|
|
4913
4912
|
location: string | {
|
|
4914
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "middlename" | "
|
|
4913
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "middlename" | "avatar" | "signature" | "primaryOfficeId";
|
|
4915
4914
|
$location?: string | undefined;
|
|
4916
4915
|
};
|
|
4917
4916
|
} | undefined;
|
|
@@ -4933,7 +4932,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4933
4932
|
'legalStatuses.REGISTERED.createdAtLocation'?: {
|
|
4934
4933
|
type: "within";
|
|
4935
4934
|
location: string | {
|
|
4936
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "middlename" | "
|
|
4935
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "middlename" | "avatar" | "signature" | "primaryOfficeId";
|
|
4937
4936
|
$location?: string | undefined;
|
|
4938
4937
|
};
|
|
4939
4938
|
} | undefined;
|
|
@@ -4948,47 +4947,47 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4948
4947
|
createdAtLocation?: {
|
|
4949
4948
|
type: "within";
|
|
4950
4949
|
location: string | {
|
|
4951
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "middlename" | "
|
|
4950
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "middlename" | "avatar" | "signature" | "primaryOfficeId";
|
|
4952
4951
|
$location?: string | undefined;
|
|
4953
4952
|
};
|
|
4954
4953
|
} | {
|
|
4955
4954
|
type: "exact";
|
|
4956
4955
|
term: string | {
|
|
4957
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "middlename" | "
|
|
4956
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "middlename" | "avatar" | "signature" | "primaryOfficeId";
|
|
4958
4957
|
$location?: string | undefined;
|
|
4959
4958
|
};
|
|
4960
4959
|
} | undefined;
|
|
4961
4960
|
updatedAtLocation?: {
|
|
4962
4961
|
type: "within";
|
|
4963
4962
|
location: string | {
|
|
4964
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "middlename" | "
|
|
4963
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "middlename" | "avatar" | "signature" | "primaryOfficeId";
|
|
4965
4964
|
$location?: string | undefined;
|
|
4966
4965
|
};
|
|
4967
4966
|
} | {
|
|
4968
4967
|
type: "exact";
|
|
4969
4968
|
term: string | {
|
|
4970
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "middlename" | "
|
|
4969
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "middlename" | "avatar" | "signature" | "primaryOfficeId";
|
|
4971
4970
|
$location?: string | undefined;
|
|
4972
4971
|
};
|
|
4973
4972
|
} | undefined;
|
|
4974
4973
|
updatedByUserRole?: {
|
|
4975
4974
|
type: "exact";
|
|
4976
4975
|
term: string | {
|
|
4977
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "middlename" | "
|
|
4976
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "middlename" | "avatar" | "signature" | "primaryOfficeId";
|
|
4978
4977
|
$location?: string | undefined;
|
|
4979
4978
|
};
|
|
4980
4979
|
} | undefined;
|
|
4981
4980
|
assignedTo?: {
|
|
4982
4981
|
type: "exact";
|
|
4983
4982
|
term: string | {
|
|
4984
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "middlename" | "
|
|
4983
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "middlename" | "avatar" | "signature" | "primaryOfficeId";
|
|
4985
4984
|
$location?: string | undefined;
|
|
4986
4985
|
};
|
|
4987
4986
|
} | undefined;
|
|
4988
4987
|
createdBy?: {
|
|
4989
4988
|
type: "exact";
|
|
4990
4989
|
term: string | {
|
|
4991
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "middlename" | "
|
|
4990
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "middlename" | "avatar" | "signature" | "primaryOfficeId";
|
|
4992
4991
|
$location?: string | undefined;
|
|
4993
4992
|
};
|
|
4994
4993
|
} | undefined;
|
|
@@ -4999,7 +4998,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4999
4998
|
updatedBy?: {
|
|
5000
4999
|
type: "exact";
|
|
5001
5000
|
term: string | {
|
|
5002
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "middlename" | "
|
|
5001
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "middlename" | "avatar" | "signature" | "primaryOfficeId";
|
|
5003
5002
|
$location?: string | undefined;
|
|
5004
5003
|
};
|
|
5005
5004
|
} | undefined;
|
|
@@ -24,14 +24,8 @@ export declare const ApplicationConfig: z.ZodObject<{
|
|
|
24
24
|
label: z.ZodObject<import("./events/TranslationConfig").MessageDescriptorZod, z.core.$strip>;
|
|
25
25
|
}, z.core.$strip>>;
|
|
26
26
|
PHONE_NUMBER_PATTERN: z.ZodUnion<[z.ZodString, z.ZodCustom<RegExp, RegExp>]>;
|
|
27
|
-
USER_NOTIFICATION_DELIVERY_METHOD: z.
|
|
28
|
-
|
|
29
|
-
sms: "sms";
|
|
30
|
-
}>;
|
|
31
|
-
INFORMANT_NOTIFICATION_DELIVERY_METHOD: z.ZodEnum<{
|
|
32
|
-
email: "email";
|
|
33
|
-
sms: "sms";
|
|
34
|
-
}>;
|
|
27
|
+
USER_NOTIFICATION_DELIVERY_METHOD: z.ZodString;
|
|
28
|
+
INFORMANT_NOTIFICATION_DELIVERY_METHOD: z.ZodString;
|
|
35
29
|
SEARCH_DEFAULT_CRITERIA: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
36
30
|
NAME: "NAME";
|
|
37
31
|
EMAIL: "EMAIL";
|
|
@@ -52,14 +46,8 @@ export declare const BackgroundConfig: z.ZodObject<{
|
|
|
52
46
|
export declare const LoginConfig: z.ZodObject<{
|
|
53
47
|
COUNTRY: z.ZodString;
|
|
54
48
|
LANGUAGES: z.ZodArray<z.ZodString>;
|
|
55
|
-
USER_NOTIFICATION_DELIVERY_METHOD: z.
|
|
56
|
-
|
|
57
|
-
sms: "sms";
|
|
58
|
-
}>;
|
|
59
|
-
INFORMANT_NOTIFICATION_DELIVERY_METHOD: z.ZodEnum<{
|
|
60
|
-
email: "email";
|
|
61
|
-
sms: "sms";
|
|
62
|
-
}>;
|
|
49
|
+
USER_NOTIFICATION_DELIVERY_METHOD: z.ZodString;
|
|
50
|
+
INFORMANT_NOTIFICATION_DELIVERY_METHOD: z.ZodString;
|
|
63
51
|
PHONE_NUMBER_PATTERN: z.ZodUnion<[z.ZodString, z.ZodCustom<RegExp, RegExp>]>;
|
|
64
52
|
LOGIN_BACKGROUND: z.ZodObject<{
|
|
65
53
|
backgroundColor: z.ZodOptional<z.ZodString>;
|
|
Binary file
|
package/package.json
CHANGED
|
Binary file
|