vr-commons 1.0.188 → 1.0.190
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.
- package/dist/middlewares/index.d.ts +1 -0
- package/dist/middlewares/index.js +4 -1
- package/dist/middlewares/shared/shared.appVersion.middleware.d.ts +9 -0
- package/dist/middlewares/shared/shared.appVersion.middleware.js +175 -0
- package/dist/utils/index.d.ts +1 -0
- package/dist/utils/index.js +9 -1
- package/dist/utils/users/users.accountRecovery.utils.d.ts +13 -0
- package/dist/utils/users/users.accountRecovery.utils.js +52 -0
- package/dist/validations/admin/admin.devicePayments.validations.d.ts +6 -6
- package/dist/validations/admin/admin.devices.validations.d.ts +12 -12
- package/dist/validations/admin/admin.eventLogs.validations.d.ts +24 -24
- package/dist/validations/admin/admin.installments.validations.d.ts +4 -4
- package/dist/validations/admin/admin.pricings.validations.d.ts +8 -8
- package/dist/validations/admin/admin.products.validations.d.ts +12 -12
- package/dist/validations/admin/admin.users.validations.d.ts +50 -50
- package/dist/validations/index.d.ts +1 -0
- package/dist/validations/index.js +5 -2
- package/dist/validations/shared/shared.account.validations.d.ts +10 -10
- package/dist/validations/shared/shared.appSpecs.validations.d.ts +70 -48
- package/dist/validations/shared/shared.appSpecs.validations.js +7 -2
- package/dist/validations/shared/shared.auth.validations.d.ts +28 -28
- package/dist/validations/shared/shared.moderation.validations.d.ts +18 -18
- package/dist/validations/shared/shared.profiles.validations.d.ts +86 -86
- package/dist/validations/users/users.accountRecovery.validations.d.ts +98 -0
- package/dist/validations/users/users.accountRecovery.validations.js +41 -0
- package/dist/validations/users/users.devicePaymentPlans.validations.d.ts +6 -6
- package/package.json +2 -2
|
@@ -20,52 +20,52 @@ export declare const createUserSchema: z.ZodObject<{
|
|
|
20
20
|
birthMonth: z.ZodNumber;
|
|
21
21
|
birthYear: z.ZodNumber;
|
|
22
22
|
}, "strip", z.ZodTypeAny, {
|
|
23
|
-
contactValue: string;
|
|
24
|
-
role: "RIDER" | "PASSENGER" | "AGENT" | "ADMIN" | "SUPER_ADMIN";
|
|
25
23
|
firstName: string;
|
|
26
24
|
lastName: string;
|
|
27
25
|
gender: "male" | "female";
|
|
28
26
|
birthDate: number;
|
|
29
27
|
birthMonth: number;
|
|
30
28
|
birthYear: number;
|
|
31
|
-
|
|
29
|
+
role: "ADMIN" | "PASSENGER" | "RIDER" | "AGENT" | "SUPER_ADMIN";
|
|
30
|
+
contactValue: string;
|
|
32
31
|
jacketId?: string | null | undefined;
|
|
32
|
+
password?: string | undefined;
|
|
33
33
|
plateNumber?: string | null | undefined;
|
|
34
34
|
}, {
|
|
35
|
-
contactValue: string;
|
|
36
|
-
role: "RIDER" | "PASSENGER" | "AGENT" | "ADMIN" | "SUPER_ADMIN";
|
|
37
35
|
firstName: string;
|
|
38
36
|
lastName: string;
|
|
39
37
|
gender: "male" | "female";
|
|
40
38
|
birthDate: number;
|
|
41
39
|
birthMonth: number;
|
|
42
40
|
birthYear: number;
|
|
43
|
-
|
|
41
|
+
role: "ADMIN" | "PASSENGER" | "RIDER" | "AGENT" | "SUPER_ADMIN";
|
|
42
|
+
contactValue: string;
|
|
44
43
|
jacketId?: string | null | undefined;
|
|
44
|
+
password?: string | undefined;
|
|
45
45
|
plateNumber?: string | null | undefined;
|
|
46
46
|
}>, {
|
|
47
|
-
contactValue: string;
|
|
48
|
-
role: "RIDER" | "PASSENGER" | "AGENT" | "ADMIN" | "SUPER_ADMIN";
|
|
49
47
|
firstName: string;
|
|
50
48
|
lastName: string;
|
|
51
49
|
gender: "male" | "female";
|
|
52
50
|
birthDate: number;
|
|
53
51
|
birthMonth: number;
|
|
54
52
|
birthYear: number;
|
|
55
|
-
|
|
53
|
+
role: "ADMIN" | "PASSENGER" | "RIDER" | "AGENT" | "SUPER_ADMIN";
|
|
54
|
+
contactValue: string;
|
|
56
55
|
jacketId?: string | null | undefined;
|
|
56
|
+
password?: string | undefined;
|
|
57
57
|
plateNumber?: string | null | undefined;
|
|
58
58
|
}, {
|
|
59
|
-
contactValue: string;
|
|
60
|
-
role: "RIDER" | "PASSENGER" | "AGENT" | "ADMIN" | "SUPER_ADMIN";
|
|
61
59
|
firstName: string;
|
|
62
60
|
lastName: string;
|
|
63
61
|
gender: "male" | "female";
|
|
64
62
|
birthDate: number;
|
|
65
63
|
birthMonth: number;
|
|
66
64
|
birthYear: number;
|
|
67
|
-
|
|
65
|
+
role: "ADMIN" | "PASSENGER" | "RIDER" | "AGENT" | "SUPER_ADMIN";
|
|
66
|
+
contactValue: string;
|
|
68
67
|
jacketId?: string | null | undefined;
|
|
68
|
+
password?: string | undefined;
|
|
69
69
|
plateNumber?: string | null | undefined;
|
|
70
70
|
}>;
|
|
71
71
|
headers: z.ZodObject<{
|
|
@@ -77,16 +77,16 @@ export declare const createUserSchema: z.ZodObject<{
|
|
|
77
77
|
}>;
|
|
78
78
|
}, "strip", z.ZodTypeAny, {
|
|
79
79
|
body: {
|
|
80
|
-
contactValue: string;
|
|
81
|
-
role: "RIDER" | "PASSENGER" | "AGENT" | "ADMIN" | "SUPER_ADMIN";
|
|
82
80
|
firstName: string;
|
|
83
81
|
lastName: string;
|
|
84
82
|
gender: "male" | "female";
|
|
85
83
|
birthDate: number;
|
|
86
84
|
birthMonth: number;
|
|
87
85
|
birthYear: number;
|
|
88
|
-
|
|
86
|
+
role: "ADMIN" | "PASSENGER" | "RIDER" | "AGENT" | "SUPER_ADMIN";
|
|
87
|
+
contactValue: string;
|
|
89
88
|
jacketId?: string | null | undefined;
|
|
89
|
+
password?: string | undefined;
|
|
90
90
|
plateNumber?: string | null | undefined;
|
|
91
91
|
};
|
|
92
92
|
headers: {
|
|
@@ -94,16 +94,16 @@ export declare const createUserSchema: z.ZodObject<{
|
|
|
94
94
|
};
|
|
95
95
|
}, {
|
|
96
96
|
body: {
|
|
97
|
-
contactValue: string;
|
|
98
|
-
role: "RIDER" | "PASSENGER" | "AGENT" | "ADMIN" | "SUPER_ADMIN";
|
|
99
97
|
firstName: string;
|
|
100
98
|
lastName: string;
|
|
101
99
|
gender: "male" | "female";
|
|
102
100
|
birthDate: number;
|
|
103
101
|
birthMonth: number;
|
|
104
102
|
birthYear: number;
|
|
105
|
-
|
|
103
|
+
role: "ADMIN" | "PASSENGER" | "RIDER" | "AGENT" | "SUPER_ADMIN";
|
|
104
|
+
contactValue: string;
|
|
106
105
|
jacketId?: string | null | undefined;
|
|
106
|
+
password?: string | undefined;
|
|
107
107
|
plateNumber?: string | null | undefined;
|
|
108
108
|
};
|
|
109
109
|
headers: {
|
|
@@ -161,10 +161,9 @@ export declare const updateUserProfileSchema: z.ZodObject<{
|
|
|
161
161
|
birthMonth: z.ZodOptional<z.ZodNumber>;
|
|
162
162
|
birthYear: z.ZodOptional<z.ZodNumber>;
|
|
163
163
|
}, "strip", z.ZodTypeAny, {
|
|
164
|
-
contactValue?: string | undefined;
|
|
165
|
-
password?: string | undefined;
|
|
166
164
|
firstName?: string | undefined;
|
|
167
165
|
lastName?: string | undefined;
|
|
166
|
+
password?: string | undefined;
|
|
168
167
|
plateNumber?: string | null | undefined;
|
|
169
168
|
gender?: "male" | "female" | undefined;
|
|
170
169
|
birthDate?: number | undefined;
|
|
@@ -172,11 +171,11 @@ export declare const updateUserProfileSchema: z.ZodObject<{
|
|
|
172
171
|
birthYear?: number | undefined;
|
|
173
172
|
isActive?: boolean | undefined;
|
|
174
173
|
isDeactivated?: boolean | undefined;
|
|
175
|
-
}, {
|
|
176
174
|
contactValue?: string | undefined;
|
|
177
|
-
|
|
175
|
+
}, {
|
|
178
176
|
firstName?: string | undefined;
|
|
179
177
|
lastName?: string | undefined;
|
|
178
|
+
password?: string | undefined;
|
|
180
179
|
plateNumber?: string | null | undefined;
|
|
181
180
|
gender?: "male" | "female" | undefined;
|
|
182
181
|
birthDate?: number | undefined;
|
|
@@ -184,11 +183,11 @@ export declare const updateUserProfileSchema: z.ZodObject<{
|
|
|
184
183
|
birthYear?: number | undefined;
|
|
185
184
|
isActive?: boolean | undefined;
|
|
186
185
|
isDeactivated?: boolean | undefined;
|
|
187
|
-
}>, {
|
|
188
186
|
contactValue?: string | undefined;
|
|
189
|
-
|
|
187
|
+
}>, {
|
|
190
188
|
firstName?: string | undefined;
|
|
191
189
|
lastName?: string | undefined;
|
|
190
|
+
password?: string | undefined;
|
|
192
191
|
plateNumber?: string | null | undefined;
|
|
193
192
|
gender?: "male" | "female" | undefined;
|
|
194
193
|
birthDate?: number | undefined;
|
|
@@ -196,11 +195,11 @@ export declare const updateUserProfileSchema: z.ZodObject<{
|
|
|
196
195
|
birthYear?: number | undefined;
|
|
197
196
|
isActive?: boolean | undefined;
|
|
198
197
|
isDeactivated?: boolean | undefined;
|
|
199
|
-
}, {
|
|
200
198
|
contactValue?: string | undefined;
|
|
201
|
-
|
|
199
|
+
}, {
|
|
202
200
|
firstName?: string | undefined;
|
|
203
201
|
lastName?: string | undefined;
|
|
202
|
+
password?: string | undefined;
|
|
204
203
|
plateNumber?: string | null | undefined;
|
|
205
204
|
gender?: "male" | "female" | undefined;
|
|
206
205
|
birthDate?: number | undefined;
|
|
@@ -208,11 +207,11 @@ export declare const updateUserProfileSchema: z.ZodObject<{
|
|
|
208
207
|
birthYear?: number | undefined;
|
|
209
208
|
isActive?: boolean | undefined;
|
|
210
209
|
isDeactivated?: boolean | undefined;
|
|
211
|
-
}>, {
|
|
212
210
|
contactValue?: string | undefined;
|
|
213
|
-
|
|
211
|
+
}>, {
|
|
214
212
|
firstName?: string | undefined;
|
|
215
213
|
lastName?: string | undefined;
|
|
214
|
+
password?: string | undefined;
|
|
216
215
|
plateNumber?: string | null | undefined;
|
|
217
216
|
gender?: "male" | "female" | undefined;
|
|
218
217
|
birthDate?: number | undefined;
|
|
@@ -220,11 +219,11 @@ export declare const updateUserProfileSchema: z.ZodObject<{
|
|
|
220
219
|
birthYear?: number | undefined;
|
|
221
220
|
isActive?: boolean | undefined;
|
|
222
221
|
isDeactivated?: boolean | undefined;
|
|
223
|
-
}, {
|
|
224
222
|
contactValue?: string | undefined;
|
|
225
|
-
|
|
223
|
+
}, {
|
|
226
224
|
firstName?: string | undefined;
|
|
227
225
|
lastName?: string | undefined;
|
|
226
|
+
password?: string | undefined;
|
|
228
227
|
plateNumber?: string | null | undefined;
|
|
229
228
|
gender?: "male" | "female" | undefined;
|
|
230
229
|
birthDate?: number | undefined;
|
|
@@ -232,6 +231,7 @@ export declare const updateUserProfileSchema: z.ZodObject<{
|
|
|
232
231
|
birthYear?: number | undefined;
|
|
233
232
|
isActive?: boolean | undefined;
|
|
234
233
|
isDeactivated?: boolean | undefined;
|
|
234
|
+
contactValue?: string | undefined;
|
|
235
235
|
}>;
|
|
236
236
|
headers: z.ZodObject<{
|
|
237
237
|
authorization: z.ZodString;
|
|
@@ -242,10 +242,9 @@ export declare const updateUserProfileSchema: z.ZodObject<{
|
|
|
242
242
|
}>;
|
|
243
243
|
}, "strip", z.ZodTypeAny, {
|
|
244
244
|
body: {
|
|
245
|
-
contactValue?: string | undefined;
|
|
246
|
-
password?: string | undefined;
|
|
247
245
|
firstName?: string | undefined;
|
|
248
246
|
lastName?: string | undefined;
|
|
247
|
+
password?: string | undefined;
|
|
249
248
|
plateNumber?: string | null | undefined;
|
|
250
249
|
gender?: "male" | "female" | undefined;
|
|
251
250
|
birthDate?: number | undefined;
|
|
@@ -253,6 +252,7 @@ export declare const updateUserProfileSchema: z.ZodObject<{
|
|
|
253
252
|
birthYear?: number | undefined;
|
|
254
253
|
isActive?: boolean | undefined;
|
|
255
254
|
isDeactivated?: boolean | undefined;
|
|
255
|
+
contactValue?: string | undefined;
|
|
256
256
|
};
|
|
257
257
|
params: {
|
|
258
258
|
userId: string;
|
|
@@ -262,10 +262,9 @@ export declare const updateUserProfileSchema: z.ZodObject<{
|
|
|
262
262
|
};
|
|
263
263
|
}, {
|
|
264
264
|
body: {
|
|
265
|
-
contactValue?: string | undefined;
|
|
266
|
-
password?: string | undefined;
|
|
267
265
|
firstName?: string | undefined;
|
|
268
266
|
lastName?: string | undefined;
|
|
267
|
+
password?: string | undefined;
|
|
269
268
|
plateNumber?: string | null | undefined;
|
|
270
269
|
gender?: "male" | "female" | undefined;
|
|
271
270
|
birthDate?: number | undefined;
|
|
@@ -273,6 +272,7 @@ export declare const updateUserProfileSchema: z.ZodObject<{
|
|
|
273
272
|
birthYear?: number | undefined;
|
|
274
273
|
isActive?: boolean | undefined;
|
|
275
274
|
isDeactivated?: boolean | undefined;
|
|
275
|
+
contactValue?: string | undefined;
|
|
276
276
|
};
|
|
277
277
|
params: {
|
|
278
278
|
userId: string;
|
|
@@ -296,31 +296,31 @@ export declare const getAllUsersSchema: z.ZodObject<{
|
|
|
296
296
|
sortBy: z.ZodDefault<z.ZodEnum<["firstName", "lastLoginAt", "createdAt", "gender"]>>;
|
|
297
297
|
order: z.ZodDefault<z.ZodEnum<["asc", "desc"]>>;
|
|
298
298
|
}, "strip", z.ZodTypeAny, {
|
|
299
|
-
order: "
|
|
300
|
-
sortBy: "
|
|
301
|
-
role?: "RIDER" | "PASSENGER" | "AGENT" | "ADMIN" | "SUPER_ADMIN" | undefined;
|
|
299
|
+
order: "asc" | "desc";
|
|
300
|
+
sortBy: "firstName" | "gender" | "lastLoginAt" | "createdAt";
|
|
302
301
|
search?: string | undefined;
|
|
303
302
|
limit?: number | undefined;
|
|
304
303
|
gender?: "male" | "female" | undefined;
|
|
305
304
|
isActive?: boolean | undefined;
|
|
306
305
|
isDeactivated?: boolean | undefined;
|
|
306
|
+
role?: "ADMIN" | "PASSENGER" | "RIDER" | "AGENT" | "SUPER_ADMIN" | undefined;
|
|
307
307
|
page?: number | undefined;
|
|
308
308
|
contactType?: "EMAIL" | "PHONE" | "WHATSAPP" | undefined;
|
|
309
309
|
startDate?: string | undefined;
|
|
310
310
|
endDate?: string | undefined;
|
|
311
311
|
}, {
|
|
312
|
-
role?: "RIDER" | "PASSENGER" | "AGENT" | "ADMIN" | "SUPER_ADMIN" | undefined;
|
|
313
312
|
search?: string | undefined;
|
|
313
|
+
order?: "asc" | "desc" | undefined;
|
|
314
314
|
limit?: string | undefined;
|
|
315
|
-
order?: "desc" | "asc" | undefined;
|
|
316
315
|
gender?: "male" | "female" | undefined;
|
|
317
316
|
isActive?: "true" | "false" | undefined;
|
|
318
317
|
isDeactivated?: "true" | "false" | undefined;
|
|
318
|
+
role?: "ADMIN" | "PASSENGER" | "RIDER" | "AGENT" | "SUPER_ADMIN" | undefined;
|
|
319
319
|
page?: string | undefined;
|
|
320
320
|
contactType?: "EMAIL" | "PHONE" | "WHATSAPP" | undefined;
|
|
321
321
|
startDate?: string | undefined;
|
|
322
322
|
endDate?: string | undefined;
|
|
323
|
-
sortBy?: "
|
|
323
|
+
sortBy?: "firstName" | "gender" | "lastLoginAt" | "createdAt" | undefined;
|
|
324
324
|
}>;
|
|
325
325
|
headers: z.ZodObject<{
|
|
326
326
|
authorization: z.ZodString;
|
|
@@ -331,14 +331,14 @@ export declare const getAllUsersSchema: z.ZodObject<{
|
|
|
331
331
|
}>;
|
|
332
332
|
}, "strip", z.ZodTypeAny, {
|
|
333
333
|
query: {
|
|
334
|
-
order: "
|
|
335
|
-
sortBy: "
|
|
336
|
-
role?: "RIDER" | "PASSENGER" | "AGENT" | "ADMIN" | "SUPER_ADMIN" | undefined;
|
|
334
|
+
order: "asc" | "desc";
|
|
335
|
+
sortBy: "firstName" | "gender" | "lastLoginAt" | "createdAt";
|
|
337
336
|
search?: string | undefined;
|
|
338
337
|
limit?: number | undefined;
|
|
339
338
|
gender?: "male" | "female" | undefined;
|
|
340
339
|
isActive?: boolean | undefined;
|
|
341
340
|
isDeactivated?: boolean | undefined;
|
|
341
|
+
role?: "ADMIN" | "PASSENGER" | "RIDER" | "AGENT" | "SUPER_ADMIN" | undefined;
|
|
342
342
|
page?: number | undefined;
|
|
343
343
|
contactType?: "EMAIL" | "PHONE" | "WHATSAPP" | undefined;
|
|
344
344
|
startDate?: string | undefined;
|
|
@@ -349,18 +349,18 @@ export declare const getAllUsersSchema: z.ZodObject<{
|
|
|
349
349
|
};
|
|
350
350
|
}, {
|
|
351
351
|
query: {
|
|
352
|
-
role?: "RIDER" | "PASSENGER" | "AGENT" | "ADMIN" | "SUPER_ADMIN" | undefined;
|
|
353
352
|
search?: string | undefined;
|
|
353
|
+
order?: "asc" | "desc" | undefined;
|
|
354
354
|
limit?: string | undefined;
|
|
355
|
-
order?: "desc" | "asc" | undefined;
|
|
356
355
|
gender?: "male" | "female" | undefined;
|
|
357
356
|
isActive?: "true" | "false" | undefined;
|
|
358
357
|
isDeactivated?: "true" | "false" | undefined;
|
|
358
|
+
role?: "ADMIN" | "PASSENGER" | "RIDER" | "AGENT" | "SUPER_ADMIN" | undefined;
|
|
359
359
|
page?: string | undefined;
|
|
360
360
|
contactType?: "EMAIL" | "PHONE" | "WHATSAPP" | undefined;
|
|
361
361
|
startDate?: string | undefined;
|
|
362
362
|
endDate?: string | undefined;
|
|
363
|
-
sortBy?: "
|
|
363
|
+
sortBy?: "firstName" | "gender" | "lastLoginAt" | "createdAt" | undefined;
|
|
364
364
|
};
|
|
365
365
|
headers: {
|
|
366
366
|
authorization: string;
|
|
@@ -405,76 +405,76 @@ export declare const passengerSignupSchema: z.ZodObject<{
|
|
|
405
405
|
birthMonth: z.ZodNumber;
|
|
406
406
|
birthYear: z.ZodNumber;
|
|
407
407
|
}, "strip", z.ZodTypeAny, {
|
|
408
|
-
contactValue: string;
|
|
409
408
|
firstName: string;
|
|
410
409
|
lastName: string;
|
|
411
410
|
gender: "male" | "female";
|
|
412
411
|
birthDate: number;
|
|
413
412
|
birthMonth: number;
|
|
414
413
|
birthYear: number;
|
|
415
|
-
|
|
414
|
+
contactValue: string;
|
|
416
415
|
jacketId?: string | undefined;
|
|
416
|
+
password?: string | null | undefined;
|
|
417
417
|
plateNumber?: string | null | undefined;
|
|
418
418
|
}, {
|
|
419
|
-
contactValue: string;
|
|
420
419
|
firstName: string;
|
|
421
420
|
lastName: string;
|
|
422
421
|
gender: "male" | "female";
|
|
423
422
|
birthDate: number;
|
|
424
423
|
birthMonth: number;
|
|
425
424
|
birthYear: number;
|
|
426
|
-
|
|
425
|
+
contactValue: string;
|
|
427
426
|
jacketId?: string | undefined;
|
|
427
|
+
password?: string | null | undefined;
|
|
428
428
|
plateNumber?: string | null | undefined;
|
|
429
429
|
}>, {
|
|
430
|
-
contactValue: string;
|
|
431
430
|
firstName: string;
|
|
432
431
|
lastName: string;
|
|
433
432
|
gender: "male" | "female";
|
|
434
433
|
birthDate: number;
|
|
435
434
|
birthMonth: number;
|
|
436
435
|
birthYear: number;
|
|
437
|
-
|
|
436
|
+
contactValue: string;
|
|
438
437
|
jacketId?: string | undefined;
|
|
438
|
+
password?: string | null | undefined;
|
|
439
439
|
plateNumber?: string | null | undefined;
|
|
440
440
|
}, {
|
|
441
|
-
contactValue: string;
|
|
442
441
|
firstName: string;
|
|
443
442
|
lastName: string;
|
|
444
443
|
gender: "male" | "female";
|
|
445
444
|
birthDate: number;
|
|
446
445
|
birthMonth: number;
|
|
447
446
|
birthYear: number;
|
|
448
|
-
|
|
447
|
+
contactValue: string;
|
|
449
448
|
jacketId?: string | undefined;
|
|
449
|
+
password?: string | null | undefined;
|
|
450
450
|
plateNumber?: string | null | undefined;
|
|
451
451
|
}>;
|
|
452
452
|
headers: z.ZodOptional<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>>;
|
|
453
453
|
}, "strip", z.ZodTypeAny, {
|
|
454
454
|
body: {
|
|
455
|
-
contactValue: string;
|
|
456
455
|
firstName: string;
|
|
457
456
|
lastName: string;
|
|
458
457
|
gender: "male" | "female";
|
|
459
458
|
birthDate: number;
|
|
460
459
|
birthMonth: number;
|
|
461
460
|
birthYear: number;
|
|
462
|
-
|
|
461
|
+
contactValue: string;
|
|
463
462
|
jacketId?: string | undefined;
|
|
463
|
+
password?: string | null | undefined;
|
|
464
464
|
plateNumber?: string | null | undefined;
|
|
465
465
|
};
|
|
466
466
|
headers?: {} | undefined;
|
|
467
467
|
}, {
|
|
468
468
|
body: {
|
|
469
|
-
contactValue: string;
|
|
470
469
|
firstName: string;
|
|
471
470
|
lastName: string;
|
|
472
471
|
gender: "male" | "female";
|
|
473
472
|
birthDate: number;
|
|
474
473
|
birthMonth: number;
|
|
475
474
|
birthYear: number;
|
|
476
|
-
|
|
475
|
+
contactValue: string;
|
|
477
476
|
jacketId?: string | undefined;
|
|
477
|
+
password?: string | null | undefined;
|
|
478
478
|
plateNumber?: string | null | undefined;
|
|
479
479
|
};
|
|
480
480
|
headers?: {} | undefined;
|
|
@@ -490,53 +490,53 @@ export declare const updatePassengerProfileSchema: z.ZodObject<{
|
|
|
490
490
|
birthMonth: z.ZodOptional<z.ZodNumber>;
|
|
491
491
|
birthYear: z.ZodOptional<z.ZodNumber>;
|
|
492
492
|
}, "strip", z.ZodTypeAny, {
|
|
493
|
-
contactValue?: string | undefined;
|
|
494
493
|
firstName?: string | undefined;
|
|
495
494
|
lastName?: string | undefined;
|
|
496
495
|
gender?: "male" | "female" | undefined;
|
|
497
496
|
birthDate?: number | undefined;
|
|
498
497
|
birthMonth?: number | undefined;
|
|
499
498
|
birthYear?: number | undefined;
|
|
500
|
-
}, {
|
|
501
499
|
contactValue?: string | undefined;
|
|
500
|
+
}, {
|
|
502
501
|
firstName?: string | undefined;
|
|
503
502
|
lastName?: string | undefined;
|
|
504
503
|
gender?: "male" | "female" | undefined;
|
|
505
504
|
birthDate?: number | undefined;
|
|
506
505
|
birthMonth?: number | undefined;
|
|
507
506
|
birthYear?: number | undefined;
|
|
508
|
-
}>, {
|
|
509
507
|
contactValue?: string | undefined;
|
|
508
|
+
}>, {
|
|
510
509
|
firstName?: string | undefined;
|
|
511
510
|
lastName?: string | undefined;
|
|
512
511
|
gender?: "male" | "female" | undefined;
|
|
513
512
|
birthDate?: number | undefined;
|
|
514
513
|
birthMonth?: number | undefined;
|
|
515
514
|
birthYear?: number | undefined;
|
|
516
|
-
}, {
|
|
517
515
|
contactValue?: string | undefined;
|
|
516
|
+
}, {
|
|
518
517
|
firstName?: string | undefined;
|
|
519
518
|
lastName?: string | undefined;
|
|
520
519
|
gender?: "male" | "female" | undefined;
|
|
521
520
|
birthDate?: number | undefined;
|
|
522
521
|
birthMonth?: number | undefined;
|
|
523
522
|
birthYear?: number | undefined;
|
|
524
|
-
}>, {
|
|
525
523
|
contactValue?: string | undefined;
|
|
524
|
+
}>, {
|
|
526
525
|
firstName?: string | undefined;
|
|
527
526
|
lastName?: string | undefined;
|
|
528
527
|
gender?: "male" | "female" | undefined;
|
|
529
528
|
birthDate?: number | undefined;
|
|
530
529
|
birthMonth?: number | undefined;
|
|
531
530
|
birthYear?: number | undefined;
|
|
532
|
-
}, {
|
|
533
531
|
contactValue?: string | undefined;
|
|
532
|
+
}, {
|
|
534
533
|
firstName?: string | undefined;
|
|
535
534
|
lastName?: string | undefined;
|
|
536
535
|
gender?: "male" | "female" | undefined;
|
|
537
536
|
birthDate?: number | undefined;
|
|
538
537
|
birthMonth?: number | undefined;
|
|
539
538
|
birthYear?: number | undefined;
|
|
539
|
+
contactValue?: string | undefined;
|
|
540
540
|
}>;
|
|
541
541
|
headers: z.ZodObject<{
|
|
542
542
|
authorization: z.ZodString;
|
|
@@ -547,13 +547,13 @@ export declare const updatePassengerProfileSchema: z.ZodObject<{
|
|
|
547
547
|
}>;
|
|
548
548
|
}, "strip", z.ZodTypeAny, {
|
|
549
549
|
body: {
|
|
550
|
-
contactValue?: string | undefined;
|
|
551
550
|
firstName?: string | undefined;
|
|
552
551
|
lastName?: string | undefined;
|
|
553
552
|
gender?: "male" | "female" | undefined;
|
|
554
553
|
birthDate?: number | undefined;
|
|
555
554
|
birthMonth?: number | undefined;
|
|
556
555
|
birthYear?: number | undefined;
|
|
556
|
+
contactValue?: string | undefined;
|
|
557
557
|
};
|
|
558
558
|
headers: {
|
|
559
559
|
authorization: string;
|
|
@@ -561,13 +561,13 @@ export declare const updatePassengerProfileSchema: z.ZodObject<{
|
|
|
561
561
|
params?: {} | undefined;
|
|
562
562
|
}, {
|
|
563
563
|
body: {
|
|
564
|
-
contactValue?: string | undefined;
|
|
565
564
|
firstName?: string | undefined;
|
|
566
565
|
lastName?: string | undefined;
|
|
567
566
|
gender?: "male" | "female" | undefined;
|
|
568
567
|
birthDate?: number | undefined;
|
|
569
568
|
birthMonth?: number | undefined;
|
|
570
569
|
birthYear?: number | undefined;
|
|
570
|
+
contactValue?: string | undefined;
|
|
571
571
|
};
|
|
572
572
|
headers: {
|
|
573
573
|
authorization: string;
|
|
@@ -586,7 +586,6 @@ export declare const createRiderSchema: z.ZodObject<{
|
|
|
586
586
|
birthMonth: z.ZodNumber;
|
|
587
587
|
birthYear: z.ZodNumber;
|
|
588
588
|
}, "strip", z.ZodTypeAny, {
|
|
589
|
-
contactValue: string;
|
|
590
589
|
firstName: string;
|
|
591
590
|
lastName: string;
|
|
592
591
|
jacketId: string;
|
|
@@ -595,8 +594,8 @@ export declare const createRiderSchema: z.ZodObject<{
|
|
|
595
594
|
birthDate: number;
|
|
596
595
|
birthMonth: number;
|
|
597
596
|
birthYear: number;
|
|
598
|
-
}, {
|
|
599
597
|
contactValue: string;
|
|
598
|
+
}, {
|
|
600
599
|
firstName: string;
|
|
601
600
|
lastName: string;
|
|
602
601
|
jacketId: string;
|
|
@@ -605,8 +604,8 @@ export declare const createRiderSchema: z.ZodObject<{
|
|
|
605
604
|
birthDate: number;
|
|
606
605
|
birthMonth: number;
|
|
607
606
|
birthYear: number;
|
|
608
|
-
}>, {
|
|
609
607
|
contactValue: string;
|
|
608
|
+
}>, {
|
|
610
609
|
firstName: string;
|
|
611
610
|
lastName: string;
|
|
612
611
|
jacketId: string;
|
|
@@ -615,8 +614,8 @@ export declare const createRiderSchema: z.ZodObject<{
|
|
|
615
614
|
birthDate: number;
|
|
616
615
|
birthMonth: number;
|
|
617
616
|
birthYear: number;
|
|
618
|
-
}, {
|
|
619
617
|
contactValue: string;
|
|
618
|
+
}, {
|
|
620
619
|
firstName: string;
|
|
621
620
|
lastName: string;
|
|
622
621
|
jacketId: string;
|
|
@@ -625,12 +624,12 @@ export declare const createRiderSchema: z.ZodObject<{
|
|
|
625
624
|
birthDate: number;
|
|
626
625
|
birthMonth: number;
|
|
627
626
|
birthYear: number;
|
|
627
|
+
contactValue: string;
|
|
628
628
|
}>;
|
|
629
629
|
params: z.ZodOptional<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>>;
|
|
630
630
|
query: z.ZodOptional<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>>;
|
|
631
631
|
}, "strip", z.ZodTypeAny, {
|
|
632
632
|
body: {
|
|
633
|
-
contactValue: string;
|
|
634
633
|
firstName: string;
|
|
635
634
|
lastName: string;
|
|
636
635
|
jacketId: string;
|
|
@@ -639,12 +638,12 @@ export declare const createRiderSchema: z.ZodObject<{
|
|
|
639
638
|
birthDate: number;
|
|
640
639
|
birthMonth: number;
|
|
641
640
|
birthYear: number;
|
|
641
|
+
contactValue: string;
|
|
642
642
|
};
|
|
643
643
|
query?: {} | undefined;
|
|
644
644
|
params?: {} | undefined;
|
|
645
645
|
}, {
|
|
646
646
|
body: {
|
|
647
|
-
contactValue: string;
|
|
648
647
|
firstName: string;
|
|
649
648
|
lastName: string;
|
|
650
649
|
jacketId: string;
|
|
@@ -653,6 +652,7 @@ export declare const createRiderSchema: z.ZodObject<{
|
|
|
653
652
|
birthDate: number;
|
|
654
653
|
birthMonth: number;
|
|
655
654
|
birthYear: number;
|
|
655
|
+
contactValue: string;
|
|
656
656
|
};
|
|
657
657
|
query?: {} | undefined;
|
|
658
658
|
params?: {} | undefined;
|
|
@@ -676,7 +676,6 @@ export declare const updateRiderProfileSchema: z.ZodObject<{
|
|
|
676
676
|
birthMonth: z.ZodOptional<z.ZodNumber>;
|
|
677
677
|
birthYear: z.ZodOptional<z.ZodNumber>;
|
|
678
678
|
}, "strip", z.ZodTypeAny, {
|
|
679
|
-
contactValue?: string | undefined;
|
|
680
679
|
firstName?: string | undefined;
|
|
681
680
|
lastName?: string | undefined;
|
|
682
681
|
jacketId?: string | undefined;
|
|
@@ -685,8 +684,8 @@ export declare const updateRiderProfileSchema: z.ZodObject<{
|
|
|
685
684
|
birthDate?: number | undefined;
|
|
686
685
|
birthMonth?: number | undefined;
|
|
687
686
|
birthYear?: number | undefined;
|
|
688
|
-
}, {
|
|
689
687
|
contactValue?: string | undefined;
|
|
688
|
+
}, {
|
|
690
689
|
firstName?: string | undefined;
|
|
691
690
|
lastName?: string | undefined;
|
|
692
691
|
jacketId?: string | undefined;
|
|
@@ -695,8 +694,8 @@ export declare const updateRiderProfileSchema: z.ZodObject<{
|
|
|
695
694
|
birthDate?: number | undefined;
|
|
696
695
|
birthMonth?: number | undefined;
|
|
697
696
|
birthYear?: number | undefined;
|
|
698
|
-
}>, {
|
|
699
697
|
contactValue?: string | undefined;
|
|
698
|
+
}>, {
|
|
700
699
|
firstName?: string | undefined;
|
|
701
700
|
lastName?: string | undefined;
|
|
702
701
|
jacketId?: string | undefined;
|
|
@@ -705,8 +704,8 @@ export declare const updateRiderProfileSchema: z.ZodObject<{
|
|
|
705
704
|
birthDate?: number | undefined;
|
|
706
705
|
birthMonth?: number | undefined;
|
|
707
706
|
birthYear?: number | undefined;
|
|
708
|
-
}, {
|
|
709
707
|
contactValue?: string | undefined;
|
|
708
|
+
}, {
|
|
710
709
|
firstName?: string | undefined;
|
|
711
710
|
lastName?: string | undefined;
|
|
712
711
|
jacketId?: string | undefined;
|
|
@@ -715,8 +714,8 @@ export declare const updateRiderProfileSchema: z.ZodObject<{
|
|
|
715
714
|
birthDate?: number | undefined;
|
|
716
715
|
birthMonth?: number | undefined;
|
|
717
716
|
birthYear?: number | undefined;
|
|
718
|
-
}>, {
|
|
719
717
|
contactValue?: string | undefined;
|
|
718
|
+
}>, {
|
|
720
719
|
firstName?: string | undefined;
|
|
721
720
|
lastName?: string | undefined;
|
|
722
721
|
jacketId?: string | undefined;
|
|
@@ -725,8 +724,8 @@ export declare const updateRiderProfileSchema: z.ZodObject<{
|
|
|
725
724
|
birthDate?: number | undefined;
|
|
726
725
|
birthMonth?: number | undefined;
|
|
727
726
|
birthYear?: number | undefined;
|
|
728
|
-
}, {
|
|
729
727
|
contactValue?: string | undefined;
|
|
728
|
+
}, {
|
|
730
729
|
firstName?: string | undefined;
|
|
731
730
|
lastName?: string | undefined;
|
|
732
731
|
jacketId?: string | undefined;
|
|
@@ -735,6 +734,7 @@ export declare const updateRiderProfileSchema: z.ZodObject<{
|
|
|
735
734
|
birthDate?: number | undefined;
|
|
736
735
|
birthMonth?: number | undefined;
|
|
737
736
|
birthYear?: number | undefined;
|
|
737
|
+
contactValue?: string | undefined;
|
|
738
738
|
}>;
|
|
739
739
|
query: z.ZodOptional<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>>;
|
|
740
740
|
headers: z.ZodObject<{
|
|
@@ -746,7 +746,6 @@ export declare const updateRiderProfileSchema: z.ZodObject<{
|
|
|
746
746
|
}>;
|
|
747
747
|
}, "strip", z.ZodTypeAny, {
|
|
748
748
|
body: {
|
|
749
|
-
contactValue?: string | undefined;
|
|
750
749
|
firstName?: string | undefined;
|
|
751
750
|
lastName?: string | undefined;
|
|
752
751
|
jacketId?: string | undefined;
|
|
@@ -755,6 +754,7 @@ export declare const updateRiderProfileSchema: z.ZodObject<{
|
|
|
755
754
|
birthDate?: number | undefined;
|
|
756
755
|
birthMonth?: number | undefined;
|
|
757
756
|
birthYear?: number | undefined;
|
|
757
|
+
contactValue?: string | undefined;
|
|
758
758
|
};
|
|
759
759
|
params: {
|
|
760
760
|
id: string;
|
|
@@ -765,7 +765,6 @@ export declare const updateRiderProfileSchema: z.ZodObject<{
|
|
|
765
765
|
query?: {} | undefined;
|
|
766
766
|
}, {
|
|
767
767
|
body: {
|
|
768
|
-
contactValue?: string | undefined;
|
|
769
768
|
firstName?: string | undefined;
|
|
770
769
|
lastName?: string | undefined;
|
|
771
770
|
jacketId?: string | undefined;
|
|
@@ -774,6 +773,7 @@ export declare const updateRiderProfileSchema: z.ZodObject<{
|
|
|
774
773
|
birthDate?: number | undefined;
|
|
775
774
|
birthMonth?: number | undefined;
|
|
776
775
|
birthYear?: number | undefined;
|
|
776
|
+
contactValue?: string | undefined;
|
|
777
777
|
};
|
|
778
778
|
params: {
|
|
779
779
|
id: string;
|
|
@@ -869,57 +869,57 @@ export declare const updateProfileSchema: z.ZodObject<{
|
|
|
869
869
|
birthMonth: z.ZodOptional<z.ZodNumber>;
|
|
870
870
|
birthYear: z.ZodOptional<z.ZodNumber>;
|
|
871
871
|
}, "strict", z.ZodTypeAny, {
|
|
872
|
-
contactValue?: string | undefined;
|
|
873
872
|
firstName?: string | undefined;
|
|
874
873
|
lastName?: string | undefined;
|
|
875
874
|
gender?: "male" | "female" | undefined;
|
|
876
875
|
birthDate?: number | undefined;
|
|
877
876
|
birthMonth?: number | undefined;
|
|
878
877
|
birthYear?: number | undefined;
|
|
879
|
-
}, {
|
|
880
878
|
contactValue?: string | undefined;
|
|
879
|
+
}, {
|
|
881
880
|
firstName?: string | undefined;
|
|
882
881
|
lastName?: string | undefined;
|
|
883
882
|
gender?: "male" | "female" | undefined;
|
|
884
883
|
birthDate?: number | undefined;
|
|
885
884
|
birthMonth?: number | undefined;
|
|
886
885
|
birthYear?: number | undefined;
|
|
887
|
-
}>, {
|
|
888
886
|
contactValue?: string | undefined;
|
|
887
|
+
}>, {
|
|
889
888
|
firstName?: string | undefined;
|
|
890
889
|
lastName?: string | undefined;
|
|
891
890
|
gender?: "male" | "female" | undefined;
|
|
892
891
|
birthDate?: number | undefined;
|
|
893
892
|
birthMonth?: number | undefined;
|
|
894
893
|
birthYear?: number | undefined;
|
|
895
|
-
}, {
|
|
896
894
|
contactValue?: string | undefined;
|
|
895
|
+
}, {
|
|
897
896
|
firstName?: string | undefined;
|
|
898
897
|
lastName?: string | undefined;
|
|
899
898
|
gender?: "male" | "female" | undefined;
|
|
900
899
|
birthDate?: number | undefined;
|
|
901
900
|
birthMonth?: number | undefined;
|
|
902
901
|
birthYear?: number | undefined;
|
|
902
|
+
contactValue?: string | undefined;
|
|
903
903
|
}>;
|
|
904
904
|
}, "strip", z.ZodTypeAny, {
|
|
905
905
|
body: {
|
|
906
|
-
contactValue?: string | undefined;
|
|
907
906
|
firstName?: string | undefined;
|
|
908
907
|
lastName?: string | undefined;
|
|
909
908
|
gender?: "male" | "female" | undefined;
|
|
910
909
|
birthDate?: number | undefined;
|
|
911
910
|
birthMonth?: number | undefined;
|
|
912
911
|
birthYear?: number | undefined;
|
|
912
|
+
contactValue?: string | undefined;
|
|
913
913
|
};
|
|
914
914
|
}, {
|
|
915
915
|
body: {
|
|
916
|
-
contactValue?: string | undefined;
|
|
917
916
|
firstName?: string | undefined;
|
|
918
917
|
lastName?: string | undefined;
|
|
919
918
|
gender?: "male" | "female" | undefined;
|
|
920
919
|
birthDate?: number | undefined;
|
|
921
920
|
birthMonth?: number | undefined;
|
|
922
921
|
birthYear?: number | undefined;
|
|
922
|
+
contactValue?: string | undefined;
|
|
923
923
|
};
|
|
924
924
|
}>;
|
|
925
925
|
export declare const addContactSchema: z.ZodObject<{
|