vr-commons 1.0.121 → 1.0.122
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.
|
@@ -67,19 +67,19 @@ export declare const changeEmailSchema: z.ZodObject<{
|
|
|
67
67
|
}>;
|
|
68
68
|
export declare const requestPhoneChangeSchema: z.ZodObject<{
|
|
69
69
|
body: z.ZodObject<{
|
|
70
|
-
|
|
70
|
+
newContactValue: z.ZodString;
|
|
71
71
|
}, "strip", z.ZodTypeAny, {
|
|
72
|
-
|
|
72
|
+
newContactValue: string;
|
|
73
73
|
}, {
|
|
74
|
-
|
|
74
|
+
newContactValue: string;
|
|
75
75
|
}>;
|
|
76
76
|
}, "strip", z.ZodTypeAny, {
|
|
77
77
|
body: {
|
|
78
|
-
|
|
78
|
+
newContactValue: string;
|
|
79
79
|
};
|
|
80
80
|
}, {
|
|
81
81
|
body: {
|
|
82
|
-
|
|
82
|
+
newContactValue: string;
|
|
83
83
|
};
|
|
84
84
|
}>;
|
|
85
85
|
export declare const verifyPhoneChangeSchema: z.ZodObject<{
|
|
@@ -61,7 +61,7 @@ exports.changeEmailSchema = zod_1.z.object({
|
|
|
61
61
|
// Schema for changing phone number specifically
|
|
62
62
|
exports.requestPhoneChangeSchema = zod_1.z.object({
|
|
63
63
|
body: zod_1.z.object({
|
|
64
|
-
|
|
64
|
+
newContactValue: zod_1.z
|
|
65
65
|
.string()
|
|
66
66
|
.regex(exports.phoneRegex, "Invalid phone number format. Must be a valid Rwandan phone number (+250...)"),
|
|
67
67
|
}),
|