vr-commons 1.0.34 → 1.0.35
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.
|
@@ -416,6 +416,7 @@ export declare const createRiderSchema: z.ZodObject<{
|
|
|
416
416
|
email: z.ZodUnion<[z.ZodNullable<z.ZodOptional<z.ZodString>>, z.ZodLiteral<"">]>;
|
|
417
417
|
password: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
418
418
|
plateNumber: z.ZodString;
|
|
419
|
+
jacketId: z.ZodString;
|
|
419
420
|
securityClearanceId: z.ZodString;
|
|
420
421
|
}, "strip", z.ZodTypeAny, {
|
|
421
422
|
firstName: string;
|
|
@@ -423,6 +424,7 @@ export declare const createRiderSchema: z.ZodObject<{
|
|
|
423
424
|
phoneNumber: string;
|
|
424
425
|
nationalId: string;
|
|
425
426
|
plateNumber: string;
|
|
427
|
+
jacketId: string;
|
|
426
428
|
securityClearanceId: string;
|
|
427
429
|
email?: string | null | undefined;
|
|
428
430
|
password?: string | null | undefined;
|
|
@@ -432,6 +434,7 @@ export declare const createRiderSchema: z.ZodObject<{
|
|
|
432
434
|
phoneNumber: string;
|
|
433
435
|
nationalId: string;
|
|
434
436
|
plateNumber: string;
|
|
437
|
+
jacketId: string;
|
|
435
438
|
securityClearanceId: string;
|
|
436
439
|
email?: string | null | undefined;
|
|
437
440
|
password?: string | null | undefined;
|
|
@@ -445,6 +448,7 @@ export declare const createRiderSchema: z.ZodObject<{
|
|
|
445
448
|
phoneNumber: string;
|
|
446
449
|
nationalId: string;
|
|
447
450
|
plateNumber: string;
|
|
451
|
+
jacketId: string;
|
|
448
452
|
securityClearanceId: string;
|
|
449
453
|
email?: string | null | undefined;
|
|
450
454
|
password?: string | null | undefined;
|
|
@@ -458,6 +462,7 @@ export declare const createRiderSchema: z.ZodObject<{
|
|
|
458
462
|
phoneNumber: string;
|
|
459
463
|
nationalId: string;
|
|
460
464
|
plateNumber: string;
|
|
465
|
+
jacketId: string;
|
|
461
466
|
securityClearanceId: string;
|
|
462
467
|
email?: string | null | undefined;
|
|
463
468
|
password?: string | null | undefined;
|
|
@@ -268,6 +268,9 @@ exports.createRiderSchema = zod_1.z.object({
|
|
|
268
268
|
.optional()
|
|
269
269
|
.nullable(),
|
|
270
270
|
plateNumber: zod_1.z.string().max(20, "Plate number cannot exceed 20 characters"),
|
|
271
|
+
jacketId: zod_1.z
|
|
272
|
+
.string()
|
|
273
|
+
.regex(jacketIdRegex, "jacketId required and must be of format JKT-"),
|
|
271
274
|
securityClearanceId: zod_1.z.string().max(50, "SecurityClearanceId required"),
|
|
272
275
|
}),
|
|
273
276
|
params: zod_1.z.object({}).optional(),
|