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