vr-commons 1.0.35 → 1.0.36
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.
|
@@ -413,8 +413,6 @@ export declare const createRiderSchema: z.ZodObject<{
|
|
|
413
413
|
lastName: z.ZodString;
|
|
414
414
|
phoneNumber: z.ZodString;
|
|
415
415
|
nationalId: z.ZodString;
|
|
416
|
-
email: z.ZodUnion<[z.ZodNullable<z.ZodOptional<z.ZodString>>, z.ZodLiteral<"">]>;
|
|
417
|
-
password: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
418
416
|
plateNumber: z.ZodString;
|
|
419
417
|
jacketId: z.ZodString;
|
|
420
418
|
securityClearanceId: z.ZodString;
|
|
@@ -426,8 +424,6 @@ export declare const createRiderSchema: z.ZodObject<{
|
|
|
426
424
|
plateNumber: string;
|
|
427
425
|
jacketId: string;
|
|
428
426
|
securityClearanceId: string;
|
|
429
|
-
email?: string | null | undefined;
|
|
430
|
-
password?: string | null | undefined;
|
|
431
427
|
}, {
|
|
432
428
|
firstName: string;
|
|
433
429
|
lastName: string;
|
|
@@ -436,8 +432,6 @@ export declare const createRiderSchema: z.ZodObject<{
|
|
|
436
432
|
plateNumber: string;
|
|
437
433
|
jacketId: string;
|
|
438
434
|
securityClearanceId: string;
|
|
439
|
-
email?: string | null | undefined;
|
|
440
|
-
password?: string | null | undefined;
|
|
441
435
|
}>;
|
|
442
436
|
params: z.ZodOptional<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>>;
|
|
443
437
|
query: z.ZodOptional<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>>;
|
|
@@ -450,8 +444,6 @@ export declare const createRiderSchema: z.ZodObject<{
|
|
|
450
444
|
plateNumber: string;
|
|
451
445
|
jacketId: string;
|
|
452
446
|
securityClearanceId: string;
|
|
453
|
-
email?: string | null | undefined;
|
|
454
|
-
password?: string | null | undefined;
|
|
455
447
|
};
|
|
456
448
|
params?: {} | undefined;
|
|
457
449
|
query?: {} | undefined;
|
|
@@ -464,8 +456,6 @@ export declare const createRiderSchema: z.ZodObject<{
|
|
|
464
456
|
plateNumber: string;
|
|
465
457
|
jacketId: string;
|
|
466
458
|
securityClearanceId: string;
|
|
467
|
-
email?: string | null | undefined;
|
|
468
|
-
password?: string | null | undefined;
|
|
469
459
|
};
|
|
470
460
|
params?: {} | undefined;
|
|
471
461
|
query?: {} | undefined;
|
|
@@ -255,18 +255,6 @@ exports.createRiderSchema = zod_1.z.object({
|
|
|
255
255
|
nationalId: zod_1.z
|
|
256
256
|
.string()
|
|
257
257
|
.regex(nationalIdRegex, "National ID must be 16 digits"),
|
|
258
|
-
email: zod_1.z
|
|
259
|
-
.string()
|
|
260
|
-
.email("Invalid email address")
|
|
261
|
-
.optional()
|
|
262
|
-
.nullable()
|
|
263
|
-
.or(zod_1.z.literal("")),
|
|
264
|
-
password: zod_1.z
|
|
265
|
-
.string()
|
|
266
|
-
.min(6, "Password must be at least 6 characters")
|
|
267
|
-
.max(100, "Password cannot exceed 100 characters")
|
|
268
|
-
.optional()
|
|
269
|
-
.nullable(),
|
|
270
258
|
plateNumber: zod_1.z.string().max(20, "Plate number cannot exceed 20 characters"),
|
|
271
259
|
jacketId: zod_1.z
|
|
272
260
|
.string()
|