vr-commons 1.0.126 → 1.0.128
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/validations/account.validations.d.ts +4 -4
- package/dist/validations/admin.devicePayment.validations.d.ts +65 -65
- package/dist/validations/admin.devicePayment.validations.js +4 -5
- package/dist/validations/auth.validations.d.ts +36 -36
- package/dist/validations/profiles.validations.d.ts +122 -122
- package/dist/validations/users.admin.validations.d.ts +108 -108
- package/package.json +2 -2
|
@@ -22,51 +22,51 @@ export declare const createUserSchema: z.ZodObject<{
|
|
|
22
22
|
}, "strip", z.ZodTypeAny, {
|
|
23
23
|
firstName: string;
|
|
24
24
|
lastName: string;
|
|
25
|
-
contactValue: string;
|
|
26
|
-
role: "AGENT" | "RIDER" | "PASSENGER" | "ADMIN" | "SUPER_ADMIN";
|
|
27
25
|
gender: "male" | "female";
|
|
28
26
|
birthDate: number;
|
|
29
27
|
birthMonth: number;
|
|
30
28
|
birthYear: number;
|
|
29
|
+
role: "ADMIN" | "PASSENGER" | "RIDER" | "AGENT" | "SUPER_ADMIN";
|
|
30
|
+
contactValue: string;
|
|
31
|
+
jacketId?: string | null | undefined;
|
|
31
32
|
password?: string | undefined;
|
|
32
33
|
plateNumber?: string | null | undefined;
|
|
33
|
-
jacketId?: string | null | undefined;
|
|
34
34
|
}, {
|
|
35
35
|
firstName: string;
|
|
36
36
|
lastName: string;
|
|
37
|
-
contactValue: string;
|
|
38
|
-
role: "AGENT" | "RIDER" | "PASSENGER" | "ADMIN" | "SUPER_ADMIN";
|
|
39
37
|
gender: "male" | "female";
|
|
40
38
|
birthDate: number;
|
|
41
39
|
birthMonth: number;
|
|
42
40
|
birthYear: number;
|
|
41
|
+
role: "ADMIN" | "PASSENGER" | "RIDER" | "AGENT" | "SUPER_ADMIN";
|
|
42
|
+
contactValue: string;
|
|
43
|
+
jacketId?: string | null | undefined;
|
|
43
44
|
password?: string | undefined;
|
|
44
45
|
plateNumber?: string | null | undefined;
|
|
45
|
-
jacketId?: string | null | undefined;
|
|
46
46
|
}>, {
|
|
47
47
|
firstName: string;
|
|
48
48
|
lastName: string;
|
|
49
|
-
contactValue: string;
|
|
50
|
-
role: "AGENT" | "RIDER" | "PASSENGER" | "ADMIN" | "SUPER_ADMIN";
|
|
51
49
|
gender: "male" | "female";
|
|
52
50
|
birthDate: number;
|
|
53
51
|
birthMonth: number;
|
|
54
52
|
birthYear: number;
|
|
53
|
+
role: "ADMIN" | "PASSENGER" | "RIDER" | "AGENT" | "SUPER_ADMIN";
|
|
54
|
+
contactValue: string;
|
|
55
|
+
jacketId?: string | null | undefined;
|
|
55
56
|
password?: string | undefined;
|
|
56
57
|
plateNumber?: string | null | undefined;
|
|
57
|
-
jacketId?: string | null | undefined;
|
|
58
58
|
}, {
|
|
59
59
|
firstName: string;
|
|
60
60
|
lastName: string;
|
|
61
|
-
contactValue: string;
|
|
62
|
-
role: "AGENT" | "RIDER" | "PASSENGER" | "ADMIN" | "SUPER_ADMIN";
|
|
63
61
|
gender: "male" | "female";
|
|
64
62
|
birthDate: number;
|
|
65
63
|
birthMonth: number;
|
|
66
64
|
birthYear: number;
|
|
65
|
+
role: "ADMIN" | "PASSENGER" | "RIDER" | "AGENT" | "SUPER_ADMIN";
|
|
66
|
+
contactValue: string;
|
|
67
|
+
jacketId?: string | null | undefined;
|
|
67
68
|
password?: string | undefined;
|
|
68
69
|
plateNumber?: string | null | undefined;
|
|
69
|
-
jacketId?: string | null | undefined;
|
|
70
70
|
}>;
|
|
71
71
|
headers: z.ZodObject<{
|
|
72
72
|
authorization: z.ZodString;
|
|
@@ -79,15 +79,15 @@ export declare const createUserSchema: z.ZodObject<{
|
|
|
79
79
|
body: {
|
|
80
80
|
firstName: string;
|
|
81
81
|
lastName: string;
|
|
82
|
-
contactValue: string;
|
|
83
|
-
role: "AGENT" | "RIDER" | "PASSENGER" | "ADMIN" | "SUPER_ADMIN";
|
|
84
82
|
gender: "male" | "female";
|
|
85
83
|
birthDate: number;
|
|
86
84
|
birthMonth: number;
|
|
87
85
|
birthYear: number;
|
|
86
|
+
role: "ADMIN" | "PASSENGER" | "RIDER" | "AGENT" | "SUPER_ADMIN";
|
|
87
|
+
contactValue: string;
|
|
88
|
+
jacketId?: string | null | undefined;
|
|
88
89
|
password?: string | undefined;
|
|
89
90
|
plateNumber?: string | null | undefined;
|
|
90
|
-
jacketId?: string | null | undefined;
|
|
91
91
|
};
|
|
92
92
|
headers: {
|
|
93
93
|
authorization: string;
|
|
@@ -96,15 +96,15 @@ export declare const createUserSchema: z.ZodObject<{
|
|
|
96
96
|
body: {
|
|
97
97
|
firstName: string;
|
|
98
98
|
lastName: string;
|
|
99
|
-
contactValue: string;
|
|
100
|
-
role: "AGENT" | "RIDER" | "PASSENGER" | "ADMIN" | "SUPER_ADMIN";
|
|
101
99
|
gender: "male" | "female";
|
|
102
100
|
birthDate: number;
|
|
103
101
|
birthMonth: number;
|
|
104
102
|
birthYear: number;
|
|
103
|
+
role: "ADMIN" | "PASSENGER" | "RIDER" | "AGENT" | "SUPER_ADMIN";
|
|
104
|
+
contactValue: string;
|
|
105
|
+
jacketId?: string | null | undefined;
|
|
105
106
|
password?: string | undefined;
|
|
106
107
|
plateNumber?: string | null | undefined;
|
|
107
|
-
jacketId?: string | null | undefined;
|
|
108
108
|
};
|
|
109
109
|
headers: {
|
|
110
110
|
authorization: string;
|
|
@@ -163,7 +163,6 @@ export declare const updateUserProfileSchema: z.ZodObject<{
|
|
|
163
163
|
}, "strip", z.ZodTypeAny, {
|
|
164
164
|
firstName?: string | undefined;
|
|
165
165
|
lastName?: string | undefined;
|
|
166
|
-
contactValue?: string | undefined;
|
|
167
166
|
password?: string | undefined;
|
|
168
167
|
plateNumber?: string | null | undefined;
|
|
169
168
|
gender?: "male" | "female" | undefined;
|
|
@@ -172,10 +171,10 @@ export declare const updateUserProfileSchema: z.ZodObject<{
|
|
|
172
171
|
birthYear?: number | undefined;
|
|
173
172
|
isActive?: boolean | undefined;
|
|
174
173
|
isDeactivated?: boolean | undefined;
|
|
174
|
+
contactValue?: string | undefined;
|
|
175
175
|
}, {
|
|
176
176
|
firstName?: string | undefined;
|
|
177
177
|
lastName?: string | undefined;
|
|
178
|
-
contactValue?: string | undefined;
|
|
179
178
|
password?: string | undefined;
|
|
180
179
|
plateNumber?: string | null | undefined;
|
|
181
180
|
gender?: "male" | "female" | undefined;
|
|
@@ -184,10 +183,10 @@ export declare const updateUserProfileSchema: z.ZodObject<{
|
|
|
184
183
|
birthYear?: number | undefined;
|
|
185
184
|
isActive?: boolean | undefined;
|
|
186
185
|
isDeactivated?: boolean | undefined;
|
|
186
|
+
contactValue?: string | undefined;
|
|
187
187
|
}>, {
|
|
188
188
|
firstName?: string | undefined;
|
|
189
189
|
lastName?: string | undefined;
|
|
190
|
-
contactValue?: string | undefined;
|
|
191
190
|
password?: string | undefined;
|
|
192
191
|
plateNumber?: string | null | undefined;
|
|
193
192
|
gender?: "male" | "female" | undefined;
|
|
@@ -196,10 +195,10 @@ export declare const updateUserProfileSchema: z.ZodObject<{
|
|
|
196
195
|
birthYear?: number | undefined;
|
|
197
196
|
isActive?: boolean | undefined;
|
|
198
197
|
isDeactivated?: boolean | undefined;
|
|
198
|
+
contactValue?: string | undefined;
|
|
199
199
|
}, {
|
|
200
200
|
firstName?: string | undefined;
|
|
201
201
|
lastName?: string | undefined;
|
|
202
|
-
contactValue?: string | undefined;
|
|
203
202
|
password?: string | undefined;
|
|
204
203
|
plateNumber?: string | null | undefined;
|
|
205
204
|
gender?: "male" | "female" | undefined;
|
|
@@ -208,10 +207,10 @@ export declare const updateUserProfileSchema: z.ZodObject<{
|
|
|
208
207
|
birthYear?: number | undefined;
|
|
209
208
|
isActive?: boolean | undefined;
|
|
210
209
|
isDeactivated?: boolean | undefined;
|
|
210
|
+
contactValue?: string | undefined;
|
|
211
211
|
}>, {
|
|
212
212
|
firstName?: string | undefined;
|
|
213
213
|
lastName?: string | undefined;
|
|
214
|
-
contactValue?: string | undefined;
|
|
215
214
|
password?: string | undefined;
|
|
216
215
|
plateNumber?: string | null | undefined;
|
|
217
216
|
gender?: "male" | "female" | undefined;
|
|
@@ -220,10 +219,10 @@ export declare const updateUserProfileSchema: z.ZodObject<{
|
|
|
220
219
|
birthYear?: number | undefined;
|
|
221
220
|
isActive?: boolean | undefined;
|
|
222
221
|
isDeactivated?: boolean | undefined;
|
|
222
|
+
contactValue?: string | undefined;
|
|
223
223
|
}, {
|
|
224
224
|
firstName?: string | undefined;
|
|
225
225
|
lastName?: string | undefined;
|
|
226
|
-
contactValue?: string | undefined;
|
|
227
226
|
password?: string | undefined;
|
|
228
227
|
plateNumber?: string | null | undefined;
|
|
229
228
|
gender?: "male" | "female" | 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;
|
|
@@ -241,13 +241,9 @@ export declare const updateUserProfileSchema: z.ZodObject<{
|
|
|
241
241
|
authorization: string;
|
|
242
242
|
}>;
|
|
243
243
|
}, "strip", z.ZodTypeAny, {
|
|
244
|
-
params: {
|
|
245
|
-
userId: string;
|
|
246
|
-
};
|
|
247
244
|
body: {
|
|
248
245
|
firstName?: string | undefined;
|
|
249
246
|
lastName?: string | undefined;
|
|
250
|
-
contactValue?: string | undefined;
|
|
251
247
|
password?: string | undefined;
|
|
252
248
|
plateNumber?: string | null | undefined;
|
|
253
249
|
gender?: "male" | "female" | undefined;
|
|
@@ -256,18 +252,18 @@ export declare const updateUserProfileSchema: z.ZodObject<{
|
|
|
256
252
|
birthYear?: number | undefined;
|
|
257
253
|
isActive?: boolean | undefined;
|
|
258
254
|
isDeactivated?: boolean | undefined;
|
|
255
|
+
contactValue?: string | undefined;
|
|
256
|
+
};
|
|
257
|
+
params: {
|
|
258
|
+
userId: string;
|
|
259
259
|
};
|
|
260
260
|
headers: {
|
|
261
261
|
authorization: string;
|
|
262
262
|
};
|
|
263
263
|
}, {
|
|
264
|
-
params: {
|
|
265
|
-
userId: string;
|
|
266
|
-
};
|
|
267
264
|
body: {
|
|
268
265
|
firstName?: string | undefined;
|
|
269
266
|
lastName?: string | undefined;
|
|
270
|
-
contactValue?: string | undefined;
|
|
271
267
|
password?: string | undefined;
|
|
272
268
|
plateNumber?: string | null | undefined;
|
|
273
269
|
gender?: "male" | "female" | undefined;
|
|
@@ -276,6 +272,10 @@ export declare const updateUserProfileSchema: z.ZodObject<{
|
|
|
276
272
|
birthYear?: number | undefined;
|
|
277
273
|
isActive?: boolean | undefined;
|
|
278
274
|
isDeactivated?: boolean | undefined;
|
|
275
|
+
contactValue?: string | undefined;
|
|
276
|
+
};
|
|
277
|
+
params: {
|
|
278
|
+
userId: string;
|
|
279
279
|
};
|
|
280
280
|
headers: {
|
|
281
281
|
authorization: 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
|
-
sortBy: "firstName" | "gender" | "lastLoginAt" | "createdAt";
|
|
300
299
|
order: "asc" | "desc";
|
|
301
|
-
|
|
300
|
+
sortBy: "firstName" | "gender" | "lastLoginAt" | "createdAt";
|
|
301
|
+
search?: string | undefined;
|
|
302
|
+
limit?: number | undefined;
|
|
302
303
|
gender?: "male" | "female" | undefined;
|
|
303
304
|
isActive?: boolean | undefined;
|
|
304
305
|
isDeactivated?: boolean | undefined;
|
|
306
|
+
role?: "ADMIN" | "PASSENGER" | "RIDER" | "AGENT" | "SUPER_ADMIN" | undefined;
|
|
305
307
|
page?: number | undefined;
|
|
306
|
-
limit?: number | undefined;
|
|
307
308
|
contactType?: "EMAIL" | "PHONE" | "WHATSAPP" | undefined;
|
|
308
|
-
search?: string | undefined;
|
|
309
309
|
startDate?: string | undefined;
|
|
310
310
|
endDate?: string | undefined;
|
|
311
311
|
}, {
|
|
312
|
-
|
|
312
|
+
search?: string | undefined;
|
|
313
|
+
order?: "asc" | "desc" | undefined;
|
|
314
|
+
limit?: string | undefined;
|
|
313
315
|
gender?: "male" | "female" | undefined;
|
|
314
316
|
isActive?: "true" | "false" | undefined;
|
|
315
317
|
isDeactivated?: "true" | "false" | undefined;
|
|
318
|
+
role?: "ADMIN" | "PASSENGER" | "RIDER" | "AGENT" | "SUPER_ADMIN" | undefined;
|
|
316
319
|
page?: string | undefined;
|
|
317
|
-
limit?: string | undefined;
|
|
318
320
|
contactType?: "EMAIL" | "PHONE" | "WHATSAPP" | undefined;
|
|
319
|
-
search?: string | undefined;
|
|
320
321
|
startDate?: string | undefined;
|
|
321
322
|
endDate?: string | undefined;
|
|
322
323
|
sortBy?: "firstName" | "gender" | "lastLoginAt" | "createdAt" | undefined;
|
|
323
|
-
order?: "asc" | "desc" | undefined;
|
|
324
324
|
}>;
|
|
325
325
|
headers: z.ZodObject<{
|
|
326
326
|
authorization: z.ZodString;
|
|
@@ -330,40 +330,40 @@ export declare const getAllUsersSchema: z.ZodObject<{
|
|
|
330
330
|
authorization: string;
|
|
331
331
|
}>;
|
|
332
332
|
}, "strip", z.ZodTypeAny, {
|
|
333
|
-
headers: {
|
|
334
|
-
authorization: string;
|
|
335
|
-
};
|
|
336
333
|
query: {
|
|
337
|
-
sortBy: "firstName" | "gender" | "lastLoginAt" | "createdAt";
|
|
338
334
|
order: "asc" | "desc";
|
|
339
|
-
|
|
335
|
+
sortBy: "firstName" | "gender" | "lastLoginAt" | "createdAt";
|
|
336
|
+
search?: string | undefined;
|
|
337
|
+
limit?: number | undefined;
|
|
340
338
|
gender?: "male" | "female" | undefined;
|
|
341
339
|
isActive?: boolean | undefined;
|
|
342
340
|
isDeactivated?: boolean | undefined;
|
|
341
|
+
role?: "ADMIN" | "PASSENGER" | "RIDER" | "AGENT" | "SUPER_ADMIN" | undefined;
|
|
343
342
|
page?: number | undefined;
|
|
344
|
-
limit?: number | undefined;
|
|
345
343
|
contactType?: "EMAIL" | "PHONE" | "WHATSAPP" | undefined;
|
|
346
|
-
search?: string | undefined;
|
|
347
344
|
startDate?: string | undefined;
|
|
348
345
|
endDate?: string | undefined;
|
|
349
346
|
};
|
|
350
|
-
}, {
|
|
351
347
|
headers: {
|
|
352
348
|
authorization: string;
|
|
353
349
|
};
|
|
350
|
+
}, {
|
|
354
351
|
query: {
|
|
355
|
-
|
|
352
|
+
search?: string | undefined;
|
|
353
|
+
order?: "asc" | "desc" | undefined;
|
|
354
|
+
limit?: string | 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
|
-
limit?: string | undefined;
|
|
361
360
|
contactType?: "EMAIL" | "PHONE" | "WHATSAPP" | undefined;
|
|
362
|
-
search?: string | undefined;
|
|
363
361
|
startDate?: string | undefined;
|
|
364
362
|
endDate?: string | undefined;
|
|
365
363
|
sortBy?: "firstName" | "gender" | "lastLoginAt" | "createdAt" | undefined;
|
|
366
|
-
|
|
364
|
+
};
|
|
365
|
+
headers: {
|
|
366
|
+
authorization: string;
|
|
367
367
|
};
|
|
368
368
|
}>;
|
|
369
369
|
export declare const viewProfileSchema: z.ZodObject<{
|
|
@@ -381,16 +381,16 @@ export declare const viewProfileSchema: z.ZodObject<{
|
|
|
381
381
|
headers: {
|
|
382
382
|
authorization: string;
|
|
383
383
|
};
|
|
384
|
-
params?: {} | undefined;
|
|
385
384
|
body?: {} | undefined;
|
|
386
385
|
query?: {} | undefined;
|
|
386
|
+
params?: {} | undefined;
|
|
387
387
|
}, {
|
|
388
388
|
headers: {
|
|
389
389
|
authorization: string;
|
|
390
390
|
};
|
|
391
|
-
params?: {} | undefined;
|
|
392
391
|
body?: {} | undefined;
|
|
393
392
|
query?: {} | undefined;
|
|
393
|
+
params?: {} | undefined;
|
|
394
394
|
}>;
|
|
395
395
|
export declare const passengerSignupSchema: z.ZodObject<{
|
|
396
396
|
body: z.ZodEffects<z.ZodObject<{
|
|
@@ -407,75 +407,75 @@ export declare const passengerSignupSchema: z.ZodObject<{
|
|
|
407
407
|
}, "strip", z.ZodTypeAny, {
|
|
408
408
|
firstName: string;
|
|
409
409
|
lastName: string;
|
|
410
|
-
contactValue: string;
|
|
411
410
|
gender: "male" | "female";
|
|
412
411
|
birthDate: number;
|
|
413
412
|
birthMonth: number;
|
|
414
413
|
birthYear: number;
|
|
414
|
+
contactValue: string;
|
|
415
|
+
jacketId?: string | undefined;
|
|
415
416
|
password?: string | null | undefined;
|
|
416
417
|
plateNumber?: string | null | undefined;
|
|
417
|
-
jacketId?: string | undefined;
|
|
418
418
|
}, {
|
|
419
419
|
firstName: string;
|
|
420
420
|
lastName: string;
|
|
421
|
-
contactValue: string;
|
|
422
421
|
gender: "male" | "female";
|
|
423
422
|
birthDate: number;
|
|
424
423
|
birthMonth: number;
|
|
425
424
|
birthYear: number;
|
|
425
|
+
contactValue: string;
|
|
426
|
+
jacketId?: string | undefined;
|
|
426
427
|
password?: string | null | undefined;
|
|
427
428
|
plateNumber?: string | null | undefined;
|
|
428
|
-
jacketId?: string | undefined;
|
|
429
429
|
}>, {
|
|
430
430
|
firstName: string;
|
|
431
431
|
lastName: string;
|
|
432
|
-
contactValue: string;
|
|
433
432
|
gender: "male" | "female";
|
|
434
433
|
birthDate: number;
|
|
435
434
|
birthMonth: number;
|
|
436
435
|
birthYear: number;
|
|
436
|
+
contactValue: string;
|
|
437
|
+
jacketId?: string | undefined;
|
|
437
438
|
password?: string | null | undefined;
|
|
438
439
|
plateNumber?: string | null | undefined;
|
|
439
|
-
jacketId?: string | undefined;
|
|
440
440
|
}, {
|
|
441
441
|
firstName: string;
|
|
442
442
|
lastName: string;
|
|
443
|
-
contactValue: string;
|
|
444
443
|
gender: "male" | "female";
|
|
445
444
|
birthDate: number;
|
|
446
445
|
birthMonth: number;
|
|
447
446
|
birthYear: number;
|
|
447
|
+
contactValue: string;
|
|
448
|
+
jacketId?: string | undefined;
|
|
448
449
|
password?: string | null | undefined;
|
|
449
450
|
plateNumber?: string | null | undefined;
|
|
450
|
-
jacketId?: string | undefined;
|
|
451
451
|
}>;
|
|
452
452
|
headers: z.ZodOptional<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>>;
|
|
453
453
|
}, "strip", z.ZodTypeAny, {
|
|
454
454
|
body: {
|
|
455
455
|
firstName: string;
|
|
456
456
|
lastName: string;
|
|
457
|
-
contactValue: string;
|
|
458
457
|
gender: "male" | "female";
|
|
459
458
|
birthDate: number;
|
|
460
459
|
birthMonth: number;
|
|
461
460
|
birthYear: number;
|
|
461
|
+
contactValue: string;
|
|
462
|
+
jacketId?: string | undefined;
|
|
462
463
|
password?: string | null | undefined;
|
|
463
464
|
plateNumber?: string | null | undefined;
|
|
464
|
-
jacketId?: string | undefined;
|
|
465
465
|
};
|
|
466
466
|
headers?: {} | undefined;
|
|
467
467
|
}, {
|
|
468
468
|
body: {
|
|
469
469
|
firstName: string;
|
|
470
470
|
lastName: string;
|
|
471
|
-
contactValue: string;
|
|
472
471
|
gender: "male" | "female";
|
|
473
472
|
birthDate: number;
|
|
474
473
|
birthMonth: number;
|
|
475
474
|
birthYear: number;
|
|
475
|
+
contactValue: string;
|
|
476
|
+
jacketId?: string | undefined;
|
|
476
477
|
password?: string | null | undefined;
|
|
477
478
|
plateNumber?: string | null | undefined;
|
|
478
|
-
jacketId?: string | undefined;
|
|
479
479
|
};
|
|
480
480
|
headers?: {} | undefined;
|
|
481
481
|
}>;
|
|
@@ -492,51 +492,51 @@ export declare const updatePassengerProfileSchema: z.ZodObject<{
|
|
|
492
492
|
}, "strip", z.ZodTypeAny, {
|
|
493
493
|
firstName?: string | undefined;
|
|
494
494
|
lastName?: string | undefined;
|
|
495
|
-
contactValue?: string | undefined;
|
|
496
495
|
gender?: "male" | "female" | undefined;
|
|
497
496
|
birthDate?: number | undefined;
|
|
498
497
|
birthMonth?: number | undefined;
|
|
499
498
|
birthYear?: number | undefined;
|
|
499
|
+
contactValue?: string | undefined;
|
|
500
500
|
}, {
|
|
501
501
|
firstName?: string | undefined;
|
|
502
502
|
lastName?: string | undefined;
|
|
503
|
-
contactValue?: string | undefined;
|
|
504
503
|
gender?: "male" | "female" | undefined;
|
|
505
504
|
birthDate?: number | undefined;
|
|
506
505
|
birthMonth?: number | undefined;
|
|
507
506
|
birthYear?: number | undefined;
|
|
507
|
+
contactValue?: string | undefined;
|
|
508
508
|
}>, {
|
|
509
509
|
firstName?: string | undefined;
|
|
510
510
|
lastName?: string | undefined;
|
|
511
|
-
contactValue?: string | undefined;
|
|
512
511
|
gender?: "male" | "female" | undefined;
|
|
513
512
|
birthDate?: number | undefined;
|
|
514
513
|
birthMonth?: number | undefined;
|
|
515
514
|
birthYear?: number | undefined;
|
|
515
|
+
contactValue?: string | undefined;
|
|
516
516
|
}, {
|
|
517
517
|
firstName?: string | undefined;
|
|
518
518
|
lastName?: string | undefined;
|
|
519
|
-
contactValue?: string | undefined;
|
|
520
519
|
gender?: "male" | "female" | undefined;
|
|
521
520
|
birthDate?: number | undefined;
|
|
522
521
|
birthMonth?: number | undefined;
|
|
523
522
|
birthYear?: number | undefined;
|
|
523
|
+
contactValue?: string | undefined;
|
|
524
524
|
}>, {
|
|
525
525
|
firstName?: string | undefined;
|
|
526
526
|
lastName?: string | undefined;
|
|
527
|
-
contactValue?: string | undefined;
|
|
528
527
|
gender?: "male" | "female" | undefined;
|
|
529
528
|
birthDate?: number | undefined;
|
|
530
529
|
birthMonth?: number | undefined;
|
|
531
530
|
birthYear?: number | undefined;
|
|
531
|
+
contactValue?: string | undefined;
|
|
532
532
|
}, {
|
|
533
533
|
firstName?: string | undefined;
|
|
534
534
|
lastName?: string | undefined;
|
|
535
|
-
contactValue?: 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;
|
|
@@ -549,11 +549,11 @@ export declare const updatePassengerProfileSchema: z.ZodObject<{
|
|
|
549
549
|
body: {
|
|
550
550
|
firstName?: string | undefined;
|
|
551
551
|
lastName?: string | undefined;
|
|
552
|
-
contactValue?: 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;
|
|
@@ -563,11 +563,11 @@ export declare const updatePassengerProfileSchema: z.ZodObject<{
|
|
|
563
563
|
body: {
|
|
564
564
|
firstName?: string | undefined;
|
|
565
565
|
lastName?: string | undefined;
|
|
566
|
-
contactValue?: 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;
|
|
@@ -588,43 +588,43 @@ export declare const createRiderSchema: z.ZodObject<{
|
|
|
588
588
|
}, "strip", z.ZodTypeAny, {
|
|
589
589
|
firstName: string;
|
|
590
590
|
lastName: string;
|
|
591
|
-
contactValue: string;
|
|
592
|
-
plateNumber: string;
|
|
593
591
|
jacketId: string;
|
|
592
|
+
plateNumber: string;
|
|
594
593
|
gender: "male" | "female";
|
|
595
594
|
birthDate: number;
|
|
596
595
|
birthMonth: number;
|
|
597
596
|
birthYear: number;
|
|
597
|
+
contactValue: string;
|
|
598
598
|
}, {
|
|
599
599
|
firstName: string;
|
|
600
600
|
lastName: string;
|
|
601
|
-
contactValue: string;
|
|
602
|
-
plateNumber: string;
|
|
603
601
|
jacketId: string;
|
|
602
|
+
plateNumber: string;
|
|
604
603
|
gender: "male" | "female";
|
|
605
604
|
birthDate: number;
|
|
606
605
|
birthMonth: number;
|
|
607
606
|
birthYear: number;
|
|
607
|
+
contactValue: string;
|
|
608
608
|
}>, {
|
|
609
609
|
firstName: string;
|
|
610
610
|
lastName: string;
|
|
611
|
-
contactValue: string;
|
|
612
|
-
plateNumber: string;
|
|
613
611
|
jacketId: string;
|
|
612
|
+
plateNumber: string;
|
|
614
613
|
gender: "male" | "female";
|
|
615
614
|
birthDate: number;
|
|
616
615
|
birthMonth: number;
|
|
617
616
|
birthYear: number;
|
|
617
|
+
contactValue: string;
|
|
618
618
|
}, {
|
|
619
619
|
firstName: string;
|
|
620
620
|
lastName: string;
|
|
621
|
-
contactValue: string;
|
|
622
|
-
plateNumber: string;
|
|
623
621
|
jacketId: string;
|
|
622
|
+
plateNumber: string;
|
|
624
623
|
gender: "male" | "female";
|
|
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, {}, {}>>;
|
|
@@ -632,30 +632,30 @@ export declare const createRiderSchema: z.ZodObject<{
|
|
|
632
632
|
body: {
|
|
633
633
|
firstName: string;
|
|
634
634
|
lastName: string;
|
|
635
|
-
contactValue: string;
|
|
636
|
-
plateNumber: string;
|
|
637
635
|
jacketId: string;
|
|
636
|
+
plateNumber: string;
|
|
638
637
|
gender: "male" | "female";
|
|
639
638
|
birthDate: number;
|
|
640
639
|
birthMonth: number;
|
|
641
640
|
birthYear: number;
|
|
641
|
+
contactValue: string;
|
|
642
642
|
};
|
|
643
|
-
params?: {} | undefined;
|
|
644
643
|
query?: {} | undefined;
|
|
644
|
+
params?: {} | undefined;
|
|
645
645
|
}, {
|
|
646
646
|
body: {
|
|
647
647
|
firstName: string;
|
|
648
648
|
lastName: string;
|
|
649
|
-
contactValue: string;
|
|
650
|
-
plateNumber: string;
|
|
651
649
|
jacketId: string;
|
|
650
|
+
plateNumber: string;
|
|
652
651
|
gender: "male" | "female";
|
|
653
652
|
birthDate: number;
|
|
654
653
|
birthMonth: number;
|
|
655
654
|
birthYear: number;
|
|
655
|
+
contactValue: string;
|
|
656
656
|
};
|
|
657
|
-
params?: {} | undefined;
|
|
658
657
|
query?: {} | undefined;
|
|
658
|
+
params?: {} | undefined;
|
|
659
659
|
}>;
|
|
660
660
|
export declare const updateRiderProfileSchema: z.ZodObject<{
|
|
661
661
|
params: z.ZodObject<{
|
|
@@ -678,63 +678,63 @@ export declare const updateRiderProfileSchema: z.ZodObject<{
|
|
|
678
678
|
}, "strip", z.ZodTypeAny, {
|
|
679
679
|
firstName?: string | undefined;
|
|
680
680
|
lastName?: string | undefined;
|
|
681
|
-
contactValue?: string | undefined;
|
|
682
|
-
plateNumber?: string | undefined;
|
|
683
681
|
jacketId?: string | undefined;
|
|
682
|
+
plateNumber?: string | undefined;
|
|
684
683
|
gender?: "male" | "female" | undefined;
|
|
685
684
|
birthDate?: number | undefined;
|
|
686
685
|
birthMonth?: number | undefined;
|
|
687
686
|
birthYear?: number | undefined;
|
|
687
|
+
contactValue?: string | undefined;
|
|
688
688
|
}, {
|
|
689
689
|
firstName?: string | undefined;
|
|
690
690
|
lastName?: string | undefined;
|
|
691
|
-
contactValue?: string | undefined;
|
|
692
|
-
plateNumber?: string | undefined;
|
|
693
691
|
jacketId?: string | undefined;
|
|
692
|
+
plateNumber?: string | undefined;
|
|
694
693
|
gender?: "male" | "female" | undefined;
|
|
695
694
|
birthDate?: number | undefined;
|
|
696
695
|
birthMonth?: number | undefined;
|
|
697
696
|
birthYear?: number | undefined;
|
|
697
|
+
contactValue?: string | undefined;
|
|
698
698
|
}>, {
|
|
699
699
|
firstName?: string | undefined;
|
|
700
700
|
lastName?: string | undefined;
|
|
701
|
-
contactValue?: string | undefined;
|
|
702
|
-
plateNumber?: string | undefined;
|
|
703
701
|
jacketId?: string | undefined;
|
|
702
|
+
plateNumber?: string | undefined;
|
|
704
703
|
gender?: "male" | "female" | undefined;
|
|
705
704
|
birthDate?: number | undefined;
|
|
706
705
|
birthMonth?: number | undefined;
|
|
707
706
|
birthYear?: number | undefined;
|
|
707
|
+
contactValue?: string | undefined;
|
|
708
708
|
}, {
|
|
709
709
|
firstName?: string | undefined;
|
|
710
710
|
lastName?: string | undefined;
|
|
711
|
-
contactValue?: string | undefined;
|
|
712
|
-
plateNumber?: string | undefined;
|
|
713
711
|
jacketId?: string | undefined;
|
|
712
|
+
plateNumber?: string | undefined;
|
|
714
713
|
gender?: "male" | "female" | undefined;
|
|
715
714
|
birthDate?: number | undefined;
|
|
716
715
|
birthMonth?: number | undefined;
|
|
717
716
|
birthYear?: number | undefined;
|
|
717
|
+
contactValue?: string | undefined;
|
|
718
718
|
}>, {
|
|
719
719
|
firstName?: string | undefined;
|
|
720
720
|
lastName?: string | undefined;
|
|
721
|
-
contactValue?: string | undefined;
|
|
722
|
-
plateNumber?: string | undefined;
|
|
723
721
|
jacketId?: string | undefined;
|
|
722
|
+
plateNumber?: string | undefined;
|
|
724
723
|
gender?: "male" | "female" | undefined;
|
|
725
724
|
birthDate?: number | undefined;
|
|
726
725
|
birthMonth?: number | undefined;
|
|
727
726
|
birthYear?: number | undefined;
|
|
727
|
+
contactValue?: string | undefined;
|
|
728
728
|
}, {
|
|
729
729
|
firstName?: string | undefined;
|
|
730
730
|
lastName?: string | undefined;
|
|
731
|
-
contactValue?: string | undefined;
|
|
732
|
-
plateNumber?: string | undefined;
|
|
733
731
|
jacketId?: string | undefined;
|
|
732
|
+
plateNumber?: string | undefined;
|
|
734
733
|
gender?: "male" | "female" | undefined;
|
|
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<{
|
|
@@ -745,38 +745,38 @@ export declare const updateRiderProfileSchema: z.ZodObject<{
|
|
|
745
745
|
authorization: string;
|
|
746
746
|
}>;
|
|
747
747
|
}, "strip", z.ZodTypeAny, {
|
|
748
|
-
params: {
|
|
749
|
-
id: string;
|
|
750
|
-
};
|
|
751
748
|
body: {
|
|
752
749
|
firstName?: string | undefined;
|
|
753
750
|
lastName?: string | undefined;
|
|
754
|
-
contactValue?: string | undefined;
|
|
755
|
-
plateNumber?: string | undefined;
|
|
756
751
|
jacketId?: string | undefined;
|
|
752
|
+
plateNumber?: string | undefined;
|
|
757
753
|
gender?: "male" | "female" | undefined;
|
|
758
754
|
birthDate?: number | undefined;
|
|
759
755
|
birthMonth?: number | undefined;
|
|
760
756
|
birthYear?: number | undefined;
|
|
757
|
+
contactValue?: string | undefined;
|
|
758
|
+
};
|
|
759
|
+
params: {
|
|
760
|
+
id: string;
|
|
761
761
|
};
|
|
762
762
|
headers: {
|
|
763
763
|
authorization: string;
|
|
764
764
|
};
|
|
765
765
|
query?: {} | undefined;
|
|
766
766
|
}, {
|
|
767
|
-
params: {
|
|
768
|
-
id: string;
|
|
769
|
-
};
|
|
770
767
|
body: {
|
|
771
768
|
firstName?: string | undefined;
|
|
772
769
|
lastName?: string | undefined;
|
|
773
|
-
contactValue?: string | undefined;
|
|
774
|
-
plateNumber?: string | undefined;
|
|
775
770
|
jacketId?: string | undefined;
|
|
771
|
+
plateNumber?: string | undefined;
|
|
776
772
|
gender?: "male" | "female" | undefined;
|
|
777
773
|
birthDate?: number | undefined;
|
|
778
774
|
birthMonth?: number | undefined;
|
|
779
775
|
birthYear?: number | undefined;
|
|
776
|
+
contactValue?: string | undefined;
|
|
777
|
+
};
|
|
778
|
+
params: {
|
|
779
|
+
id: string;
|
|
780
780
|
};
|
|
781
781
|
headers: {
|
|
782
782
|
authorization: string;
|
|
@@ -871,55 +871,55 @@ export declare const updateProfileSchema: z.ZodObject<{
|
|
|
871
871
|
}, "strict", z.ZodTypeAny, {
|
|
872
872
|
firstName?: string | undefined;
|
|
873
873
|
lastName?: string | undefined;
|
|
874
|
-
contactValue?: string | undefined;
|
|
875
874
|
gender?: "male" | "female" | undefined;
|
|
876
875
|
birthDate?: number | undefined;
|
|
877
876
|
birthMonth?: number | undefined;
|
|
878
877
|
birthYear?: number | undefined;
|
|
878
|
+
contactValue?: string | undefined;
|
|
879
879
|
}, {
|
|
880
880
|
firstName?: string | undefined;
|
|
881
881
|
lastName?: string | undefined;
|
|
882
|
-
contactValue?: string | undefined;
|
|
883
882
|
gender?: "male" | "female" | undefined;
|
|
884
883
|
birthDate?: number | undefined;
|
|
885
884
|
birthMonth?: number | undefined;
|
|
886
885
|
birthYear?: number | undefined;
|
|
886
|
+
contactValue?: string | undefined;
|
|
887
887
|
}>, {
|
|
888
888
|
firstName?: string | undefined;
|
|
889
889
|
lastName?: string | undefined;
|
|
890
|
-
contactValue?: string | undefined;
|
|
891
890
|
gender?: "male" | "female" | undefined;
|
|
892
891
|
birthDate?: number | undefined;
|
|
893
892
|
birthMonth?: number | undefined;
|
|
894
893
|
birthYear?: number | undefined;
|
|
894
|
+
contactValue?: string | undefined;
|
|
895
895
|
}, {
|
|
896
896
|
firstName?: string | undefined;
|
|
897
897
|
lastName?: string | undefined;
|
|
898
|
-
contactValue?: 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
906
|
firstName?: string | undefined;
|
|
907
907
|
lastName?: string | undefined;
|
|
908
|
-
contactValue?: 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
916
|
firstName?: string | undefined;
|
|
917
917
|
lastName?: string | undefined;
|
|
918
|
-
contactValue?: 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<{
|
|
@@ -1010,22 +1010,22 @@ export declare const confirmVerificationSchema: z.ZodObject<{
|
|
|
1010
1010
|
authorization: string;
|
|
1011
1011
|
}>;
|
|
1012
1012
|
}, "strip", z.ZodTypeAny, {
|
|
1013
|
-
params: {
|
|
1014
|
-
contactId: string;
|
|
1015
|
-
};
|
|
1016
1013
|
body: {
|
|
1017
1014
|
otp: string;
|
|
1018
1015
|
};
|
|
1016
|
+
params: {
|
|
1017
|
+
contactId: string;
|
|
1018
|
+
};
|
|
1019
1019
|
headers: {
|
|
1020
1020
|
authorization: string;
|
|
1021
1021
|
};
|
|
1022
1022
|
}, {
|
|
1023
|
-
params: {
|
|
1024
|
-
contactId: string;
|
|
1025
|
-
};
|
|
1026
1023
|
body: {
|
|
1027
1024
|
otp: string;
|
|
1028
1025
|
};
|
|
1026
|
+
params: {
|
|
1027
|
+
contactId: string;
|
|
1028
|
+
};
|
|
1029
1029
|
headers: {
|
|
1030
1030
|
authorization: string;
|
|
1031
1031
|
};
|