vr-commons 1.0.112 → 1.0.113
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/utils/profiles.utils.d.ts +1 -2
- package/dist/utils/profiles.utils.js +3 -4
- package/dist/validations/admin.devicePayment.validations.d.ts +50 -50
- package/dist/validations/admin.devices.validations.d.ts +28 -28
- package/dist/validations/appSpecs.validations.d.ts +18 -18
- package/dist/validations/appeals.validations.d.ts +8 -8
- package/dist/validations/auth.validations.d.ts +12 -12
- package/dist/validations/bans.validations.d.ts +8 -8
- package/dist/validations/devicePaymentPlan.validations.d.ts +16 -16
- package/dist/validations/eventlogs.admin.validations.d.ts +14 -14
- package/dist/validations/moderation.validations.d.ts +114 -114
- package/dist/validations/payinstallment.validations.d.ts +5 -5
- package/dist/validations/pricing.validations.d.ts +30 -30
- package/dist/validations/pricings.validations.d.ts +30 -30
- package/dist/validations/product.validations.d.ts +28 -28
- package/dist/validations/profiles.validations.d.ts +62 -62
- package/dist/validations/suspensions.validations.d.ts +8 -8
- package/dist/validations/users.admin.validations.d.ts +60 -60
- package/package.json +2 -2
|
@@ -25,9 +25,9 @@ export declare const createUserSchema: z.ZodObject<{
|
|
|
25
25
|
role: "ADMIN" | "PASSENGER" | "RIDER" | "AGENT" | "SUPER_ADMIN";
|
|
26
26
|
phoneNumber: string;
|
|
27
27
|
jacketId?: string | null | undefined;
|
|
28
|
-
email?: string | null | undefined;
|
|
29
28
|
password?: string | undefined;
|
|
30
29
|
plateNumber?: string | null | undefined;
|
|
30
|
+
email?: string | null | undefined;
|
|
31
31
|
}, {
|
|
32
32
|
firstName: string;
|
|
33
33
|
lastName: string;
|
|
@@ -38,9 +38,9 @@ export declare const createUserSchema: z.ZodObject<{
|
|
|
38
38
|
role: "ADMIN" | "PASSENGER" | "RIDER" | "AGENT" | "SUPER_ADMIN";
|
|
39
39
|
phoneNumber: string;
|
|
40
40
|
jacketId?: string | null | undefined;
|
|
41
|
-
email?: string | null | undefined;
|
|
42
41
|
password?: string | undefined;
|
|
43
42
|
plateNumber?: string | null | undefined;
|
|
43
|
+
email?: string | null | undefined;
|
|
44
44
|
}>, {
|
|
45
45
|
firstName: string;
|
|
46
46
|
lastName: string;
|
|
@@ -51,9 +51,9 @@ export declare const createUserSchema: z.ZodObject<{
|
|
|
51
51
|
role: "ADMIN" | "PASSENGER" | "RIDER" | "AGENT" | "SUPER_ADMIN";
|
|
52
52
|
phoneNumber: string;
|
|
53
53
|
jacketId?: string | null | undefined;
|
|
54
|
-
email?: string | null | undefined;
|
|
55
54
|
password?: string | undefined;
|
|
56
55
|
plateNumber?: string | null | undefined;
|
|
56
|
+
email?: string | null | undefined;
|
|
57
57
|
}, {
|
|
58
58
|
firstName: string;
|
|
59
59
|
lastName: string;
|
|
@@ -64,9 +64,9 @@ export declare const createUserSchema: z.ZodObject<{
|
|
|
64
64
|
role: "ADMIN" | "PASSENGER" | "RIDER" | "AGENT" | "SUPER_ADMIN";
|
|
65
65
|
phoneNumber: string;
|
|
66
66
|
jacketId?: string | null | undefined;
|
|
67
|
-
email?: string | null | undefined;
|
|
68
67
|
password?: string | undefined;
|
|
69
68
|
plateNumber?: string | null | undefined;
|
|
69
|
+
email?: string | null | undefined;
|
|
70
70
|
}>;
|
|
71
71
|
headers: z.ZodObject<{
|
|
72
72
|
authorization: z.ZodString;
|
|
@@ -86,9 +86,9 @@ export declare const createUserSchema: z.ZodObject<{
|
|
|
86
86
|
role: "ADMIN" | "PASSENGER" | "RIDER" | "AGENT" | "SUPER_ADMIN";
|
|
87
87
|
phoneNumber: string;
|
|
88
88
|
jacketId?: string | null | undefined;
|
|
89
|
-
email?: string | null | undefined;
|
|
90
89
|
password?: string | undefined;
|
|
91
90
|
plateNumber?: string | null | undefined;
|
|
91
|
+
email?: string | null | undefined;
|
|
92
92
|
};
|
|
93
93
|
headers: {
|
|
94
94
|
authorization: string;
|
|
@@ -104,9 +104,9 @@ export declare const createUserSchema: z.ZodObject<{
|
|
|
104
104
|
role: "ADMIN" | "PASSENGER" | "RIDER" | "AGENT" | "SUPER_ADMIN";
|
|
105
105
|
phoneNumber: string;
|
|
106
106
|
jacketId?: string | null | undefined;
|
|
107
|
-
email?: string | null | undefined;
|
|
108
107
|
password?: string | undefined;
|
|
109
108
|
plateNumber?: string | null | undefined;
|
|
109
|
+
email?: string | null | undefined;
|
|
110
110
|
};
|
|
111
111
|
headers: {
|
|
112
112
|
authorization: string;
|
|
@@ -167,7 +167,6 @@ export declare const updateUserProfileSchema: z.ZodObject<{
|
|
|
167
167
|
}, "strip", z.ZodTypeAny, {
|
|
168
168
|
firstName?: string | undefined;
|
|
169
169
|
lastName?: string | undefined;
|
|
170
|
-
email?: string | null | undefined;
|
|
171
170
|
password?: string | undefined;
|
|
172
171
|
plateNumber?: string | null | undefined;
|
|
173
172
|
gender?: "male" | "female" | undefined;
|
|
@@ -176,12 +175,12 @@ export declare const updateUserProfileSchema: z.ZodObject<{
|
|
|
176
175
|
birthYear?: number | undefined;
|
|
177
176
|
isActive?: boolean | undefined;
|
|
178
177
|
isDeactivated?: boolean | undefined;
|
|
179
|
-
phoneNumber?: string | undefined;
|
|
180
178
|
isSuspended?: boolean | undefined;
|
|
179
|
+
email?: string | null | undefined;
|
|
180
|
+
phoneNumber?: string | undefined;
|
|
181
181
|
}, {
|
|
182
182
|
firstName?: string | undefined;
|
|
183
183
|
lastName?: string | undefined;
|
|
184
|
-
email?: string | null | undefined;
|
|
185
184
|
password?: string | undefined;
|
|
186
185
|
plateNumber?: string | null | undefined;
|
|
187
186
|
gender?: "male" | "female" | undefined;
|
|
@@ -190,12 +189,12 @@ export declare const updateUserProfileSchema: z.ZodObject<{
|
|
|
190
189
|
birthYear?: number | undefined;
|
|
191
190
|
isActive?: boolean | undefined;
|
|
192
191
|
isDeactivated?: boolean | undefined;
|
|
193
|
-
phoneNumber?: string | undefined;
|
|
194
192
|
isSuspended?: boolean | undefined;
|
|
193
|
+
email?: string | null | undefined;
|
|
194
|
+
phoneNumber?: string | undefined;
|
|
195
195
|
}>, {
|
|
196
196
|
firstName?: string | undefined;
|
|
197
197
|
lastName?: string | undefined;
|
|
198
|
-
email?: string | null | undefined;
|
|
199
198
|
password?: string | undefined;
|
|
200
199
|
plateNumber?: string | null | undefined;
|
|
201
200
|
gender?: "male" | "female" | undefined;
|
|
@@ -204,12 +203,12 @@ export declare const updateUserProfileSchema: z.ZodObject<{
|
|
|
204
203
|
birthYear?: number | undefined;
|
|
205
204
|
isActive?: boolean | undefined;
|
|
206
205
|
isDeactivated?: boolean | undefined;
|
|
207
|
-
phoneNumber?: string | undefined;
|
|
208
206
|
isSuspended?: boolean | undefined;
|
|
207
|
+
email?: string | null | undefined;
|
|
208
|
+
phoneNumber?: string | undefined;
|
|
209
209
|
}, {
|
|
210
210
|
firstName?: string | undefined;
|
|
211
211
|
lastName?: string | undefined;
|
|
212
|
-
email?: string | null | undefined;
|
|
213
212
|
password?: string | undefined;
|
|
214
213
|
plateNumber?: string | null | undefined;
|
|
215
214
|
gender?: "male" | "female" | undefined;
|
|
@@ -218,12 +217,12 @@ export declare const updateUserProfileSchema: z.ZodObject<{
|
|
|
218
217
|
birthYear?: number | undefined;
|
|
219
218
|
isActive?: boolean | undefined;
|
|
220
219
|
isDeactivated?: boolean | undefined;
|
|
221
|
-
phoneNumber?: string | undefined;
|
|
222
220
|
isSuspended?: boolean | undefined;
|
|
221
|
+
email?: string | null | undefined;
|
|
222
|
+
phoneNumber?: string | undefined;
|
|
223
223
|
}>, {
|
|
224
224
|
firstName?: string | undefined;
|
|
225
225
|
lastName?: string | undefined;
|
|
226
|
-
email?: string | null | undefined;
|
|
227
226
|
password?: string | undefined;
|
|
228
227
|
plateNumber?: string | null | undefined;
|
|
229
228
|
gender?: "male" | "female" | undefined;
|
|
@@ -232,12 +231,12 @@ export declare const updateUserProfileSchema: z.ZodObject<{
|
|
|
232
231
|
birthYear?: number | undefined;
|
|
233
232
|
isActive?: boolean | undefined;
|
|
234
233
|
isDeactivated?: boolean | undefined;
|
|
235
|
-
phoneNumber?: string | undefined;
|
|
236
234
|
isSuspended?: boolean | undefined;
|
|
235
|
+
email?: string | null | undefined;
|
|
236
|
+
phoneNumber?: string | undefined;
|
|
237
237
|
}, {
|
|
238
238
|
firstName?: string | undefined;
|
|
239
239
|
lastName?: string | undefined;
|
|
240
|
-
email?: string | null | undefined;
|
|
241
240
|
password?: string | undefined;
|
|
242
241
|
plateNumber?: string | null | undefined;
|
|
243
242
|
gender?: "male" | "female" | undefined;
|
|
@@ -246,8 +245,9 @@ export declare const updateUserProfileSchema: z.ZodObject<{
|
|
|
246
245
|
birthYear?: number | undefined;
|
|
247
246
|
isActive?: boolean | undefined;
|
|
248
247
|
isDeactivated?: boolean | undefined;
|
|
249
|
-
phoneNumber?: string | undefined;
|
|
250
248
|
isSuspended?: boolean | undefined;
|
|
249
|
+
email?: string | null | undefined;
|
|
250
|
+
phoneNumber?: string | undefined;
|
|
251
251
|
}>;
|
|
252
252
|
headers: z.ZodObject<{
|
|
253
253
|
authorization: z.ZodString;
|
|
@@ -257,13 +257,9 @@ export declare const updateUserProfileSchema: z.ZodObject<{
|
|
|
257
257
|
authorization: string;
|
|
258
258
|
}>;
|
|
259
259
|
}, "strip", z.ZodTypeAny, {
|
|
260
|
-
params: {
|
|
261
|
-
userId: string;
|
|
262
|
-
};
|
|
263
260
|
body: {
|
|
264
261
|
firstName?: string | undefined;
|
|
265
262
|
lastName?: string | undefined;
|
|
266
|
-
email?: string | null | undefined;
|
|
267
263
|
password?: string | undefined;
|
|
268
264
|
plateNumber?: string | null | undefined;
|
|
269
265
|
gender?: "male" | "female" | undefined;
|
|
@@ -272,20 +268,20 @@ export declare const updateUserProfileSchema: z.ZodObject<{
|
|
|
272
268
|
birthYear?: number | undefined;
|
|
273
269
|
isActive?: boolean | undefined;
|
|
274
270
|
isDeactivated?: boolean | undefined;
|
|
275
|
-
phoneNumber?: string | undefined;
|
|
276
271
|
isSuspended?: boolean | undefined;
|
|
272
|
+
email?: string | null | undefined;
|
|
273
|
+
phoneNumber?: string | undefined;
|
|
274
|
+
};
|
|
275
|
+
params: {
|
|
276
|
+
userId: string;
|
|
277
277
|
};
|
|
278
278
|
headers: {
|
|
279
279
|
authorization: string;
|
|
280
280
|
};
|
|
281
281
|
}, {
|
|
282
|
-
params: {
|
|
283
|
-
userId: string;
|
|
284
|
-
};
|
|
285
282
|
body: {
|
|
286
283
|
firstName?: string | undefined;
|
|
287
284
|
lastName?: string | undefined;
|
|
288
|
-
email?: string | null | undefined;
|
|
289
285
|
password?: string | undefined;
|
|
290
286
|
plateNumber?: string | null | undefined;
|
|
291
287
|
gender?: "male" | "female" | undefined;
|
|
@@ -294,8 +290,12 @@ export declare const updateUserProfileSchema: z.ZodObject<{
|
|
|
294
290
|
birthYear?: number | undefined;
|
|
295
291
|
isActive?: boolean | undefined;
|
|
296
292
|
isDeactivated?: boolean | undefined;
|
|
297
|
-
phoneNumber?: string | undefined;
|
|
298
293
|
isSuspended?: boolean | undefined;
|
|
294
|
+
email?: string | null | undefined;
|
|
295
|
+
phoneNumber?: string | undefined;
|
|
296
|
+
};
|
|
297
|
+
params: {
|
|
298
|
+
userId: string;
|
|
299
299
|
};
|
|
300
300
|
headers: {
|
|
301
301
|
authorization: string;
|
|
@@ -316,31 +316,31 @@ export declare const getAllUsersSchema: z.ZodObject<{
|
|
|
316
316
|
sortBy: z.ZodDefault<z.ZodEnum<["firstName", "lastLoginAt", "createdAt", "gender"]>>;
|
|
317
317
|
order: z.ZodDefault<z.ZodEnum<["asc", "desc"]>>;
|
|
318
318
|
}, "strip", z.ZodTypeAny, {
|
|
319
|
-
sortBy: "createdAt" | "firstName" | "gender" | "lastLoginAt";
|
|
320
319
|
order: "asc" | "desc";
|
|
321
|
-
|
|
322
|
-
limit?: number | undefined;
|
|
320
|
+
sortBy: "firstName" | "gender" | "lastLoginAt" | "createdAt";
|
|
323
321
|
search?: string | undefined;
|
|
322
|
+
limit?: number | undefined;
|
|
324
323
|
gender?: "male" | "female" | undefined;
|
|
325
324
|
isActive?: boolean | undefined;
|
|
326
325
|
role?: "ADMIN" | "PASSENGER" | "RIDER" | "AGENT" | "SUPER_ADMIN" | undefined;
|
|
327
326
|
isBanned?: boolean | undefined;
|
|
328
327
|
isSuspended?: boolean | undefined;
|
|
328
|
+
page?: number | undefined;
|
|
329
329
|
startDate?: string | undefined;
|
|
330
330
|
endDate?: string | undefined;
|
|
331
331
|
}, {
|
|
332
|
-
page?: string | undefined;
|
|
333
|
-
limit?: string | undefined;
|
|
334
332
|
search?: string | undefined;
|
|
335
|
-
sortBy?: "createdAt" | "firstName" | "gender" | "lastLoginAt" | undefined;
|
|
336
333
|
order?: "asc" | "desc" | undefined;
|
|
334
|
+
limit?: string | undefined;
|
|
337
335
|
gender?: "male" | "female" | undefined;
|
|
338
336
|
isActive?: "true" | "false" | undefined;
|
|
339
337
|
role?: "ADMIN" | "PASSENGER" | "RIDER" | "AGENT" | "SUPER_ADMIN" | undefined;
|
|
340
338
|
isBanned?: "true" | "false" | undefined;
|
|
341
339
|
isSuspended?: "true" | "false" | undefined;
|
|
340
|
+
page?: string | undefined;
|
|
342
341
|
startDate?: string | undefined;
|
|
343
342
|
endDate?: string | undefined;
|
|
343
|
+
sortBy?: "firstName" | "gender" | "lastLoginAt" | "createdAt" | undefined;
|
|
344
344
|
}>;
|
|
345
345
|
headers: z.ZodObject<{
|
|
346
346
|
authorization: z.ZodString;
|
|
@@ -351,16 +351,16 @@ export declare const getAllUsersSchema: z.ZodObject<{
|
|
|
351
351
|
}>;
|
|
352
352
|
}, "strip", z.ZodTypeAny, {
|
|
353
353
|
query: {
|
|
354
|
-
sortBy: "createdAt" | "firstName" | "gender" | "lastLoginAt";
|
|
355
354
|
order: "asc" | "desc";
|
|
356
|
-
|
|
357
|
-
limit?: number | undefined;
|
|
355
|
+
sortBy: "firstName" | "gender" | "lastLoginAt" | "createdAt";
|
|
358
356
|
search?: string | undefined;
|
|
357
|
+
limit?: number | undefined;
|
|
359
358
|
gender?: "male" | "female" | undefined;
|
|
360
359
|
isActive?: boolean | undefined;
|
|
361
360
|
role?: "ADMIN" | "PASSENGER" | "RIDER" | "AGENT" | "SUPER_ADMIN" | undefined;
|
|
362
361
|
isBanned?: boolean | undefined;
|
|
363
362
|
isSuspended?: boolean | undefined;
|
|
363
|
+
page?: number | undefined;
|
|
364
364
|
startDate?: string | undefined;
|
|
365
365
|
endDate?: string | undefined;
|
|
366
366
|
};
|
|
@@ -369,18 +369,18 @@ export declare const getAllUsersSchema: z.ZodObject<{
|
|
|
369
369
|
};
|
|
370
370
|
}, {
|
|
371
371
|
query: {
|
|
372
|
-
page?: string | undefined;
|
|
373
|
-
limit?: string | undefined;
|
|
374
372
|
search?: string | undefined;
|
|
375
|
-
sortBy?: "createdAt" | "firstName" | "gender" | "lastLoginAt" | undefined;
|
|
376
373
|
order?: "asc" | "desc" | undefined;
|
|
374
|
+
limit?: string | undefined;
|
|
377
375
|
gender?: "male" | "female" | undefined;
|
|
378
376
|
isActive?: "true" | "false" | undefined;
|
|
379
377
|
role?: "ADMIN" | "PASSENGER" | "RIDER" | "AGENT" | "SUPER_ADMIN" | undefined;
|
|
380
378
|
isBanned?: "true" | "false" | undefined;
|
|
381
379
|
isSuspended?: "true" | "false" | undefined;
|
|
380
|
+
page?: string | undefined;
|
|
382
381
|
startDate?: string | undefined;
|
|
383
382
|
endDate?: string | undefined;
|
|
383
|
+
sortBy?: "firstName" | "gender" | "lastLoginAt" | "createdAt" | undefined;
|
|
384
384
|
};
|
|
385
385
|
headers: {
|
|
386
386
|
authorization: string;
|
|
@@ -401,16 +401,16 @@ export declare const viewProfileSchema: z.ZodObject<{
|
|
|
401
401
|
headers: {
|
|
402
402
|
authorization: string;
|
|
403
403
|
};
|
|
404
|
-
params?: {} | undefined;
|
|
405
404
|
body?: {} | undefined;
|
|
406
405
|
query?: {} | undefined;
|
|
406
|
+
params?: {} | undefined;
|
|
407
407
|
}, {
|
|
408
408
|
headers: {
|
|
409
409
|
authorization: string;
|
|
410
410
|
};
|
|
411
|
-
params?: {} | undefined;
|
|
412
411
|
body?: {} | undefined;
|
|
413
412
|
query?: {} | undefined;
|
|
413
|
+
params?: {} | undefined;
|
|
414
414
|
}>;
|
|
415
415
|
export declare const passengerSignupSchema: z.ZodObject<{
|
|
416
416
|
body: z.ZodEffects<z.ZodObject<{
|
|
@@ -434,9 +434,9 @@ export declare const passengerSignupSchema: z.ZodObject<{
|
|
|
434
434
|
birthYear: number;
|
|
435
435
|
phoneNumber: string;
|
|
436
436
|
jacketId?: string | undefined;
|
|
437
|
-
email?: string | null | undefined;
|
|
438
437
|
password?: string | null | undefined;
|
|
439
438
|
plateNumber?: string | null | undefined;
|
|
439
|
+
email?: string | null | undefined;
|
|
440
440
|
}, {
|
|
441
441
|
firstName: string;
|
|
442
442
|
lastName: string;
|
|
@@ -446,9 +446,9 @@ export declare const passengerSignupSchema: z.ZodObject<{
|
|
|
446
446
|
birthYear: number;
|
|
447
447
|
phoneNumber: string;
|
|
448
448
|
jacketId?: string | undefined;
|
|
449
|
-
email?: string | null | undefined;
|
|
450
449
|
password?: string | null | undefined;
|
|
451
450
|
plateNumber?: string | null | undefined;
|
|
451
|
+
email?: string | null | undefined;
|
|
452
452
|
}>, {
|
|
453
453
|
firstName: string;
|
|
454
454
|
lastName: string;
|
|
@@ -458,9 +458,9 @@ export declare const passengerSignupSchema: z.ZodObject<{
|
|
|
458
458
|
birthYear: number;
|
|
459
459
|
phoneNumber: string;
|
|
460
460
|
jacketId?: string | undefined;
|
|
461
|
-
email?: string | null | undefined;
|
|
462
461
|
password?: string | null | undefined;
|
|
463
462
|
plateNumber?: string | null | undefined;
|
|
463
|
+
email?: string | null | undefined;
|
|
464
464
|
}, {
|
|
465
465
|
firstName: string;
|
|
466
466
|
lastName: string;
|
|
@@ -470,9 +470,9 @@ export declare const passengerSignupSchema: z.ZodObject<{
|
|
|
470
470
|
birthYear: number;
|
|
471
471
|
phoneNumber: string;
|
|
472
472
|
jacketId?: string | undefined;
|
|
473
|
-
email?: string | null | undefined;
|
|
474
473
|
password?: string | null | undefined;
|
|
475
474
|
plateNumber?: string | null | undefined;
|
|
475
|
+
email?: string | null | undefined;
|
|
476
476
|
}>;
|
|
477
477
|
headers: z.ZodOptional<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>>;
|
|
478
478
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -485,9 +485,9 @@ export declare const passengerSignupSchema: z.ZodObject<{
|
|
|
485
485
|
birthYear: number;
|
|
486
486
|
phoneNumber: string;
|
|
487
487
|
jacketId?: string | undefined;
|
|
488
|
-
email?: string | null | undefined;
|
|
489
488
|
password?: string | null | undefined;
|
|
490
489
|
plateNumber?: string | null | undefined;
|
|
490
|
+
email?: string | null | undefined;
|
|
491
491
|
};
|
|
492
492
|
headers?: {} | undefined;
|
|
493
493
|
}, {
|
|
@@ -500,9 +500,9 @@ export declare const passengerSignupSchema: z.ZodObject<{
|
|
|
500
500
|
birthYear: number;
|
|
501
501
|
phoneNumber: string;
|
|
502
502
|
jacketId?: string | undefined;
|
|
503
|
-
email?: string | null | undefined;
|
|
504
503
|
password?: string | null | undefined;
|
|
505
504
|
plateNumber?: string | null | undefined;
|
|
505
|
+
email?: string | null | undefined;
|
|
506
506
|
};
|
|
507
507
|
headers?: {} | undefined;
|
|
508
508
|
}>;
|
|
@@ -658,8 +658,8 @@ export declare const createRiderSchema: z.ZodObject<{
|
|
|
658
658
|
birthYear: number;
|
|
659
659
|
phoneNumber: string;
|
|
660
660
|
};
|
|
661
|
-
params?: {} | undefined;
|
|
662
661
|
query?: {} | undefined;
|
|
662
|
+
params?: {} | undefined;
|
|
663
663
|
}, {
|
|
664
664
|
body: {
|
|
665
665
|
firstName: string;
|
|
@@ -672,8 +672,8 @@ export declare const createRiderSchema: z.ZodObject<{
|
|
|
672
672
|
birthYear: number;
|
|
673
673
|
phoneNumber: string;
|
|
674
674
|
};
|
|
675
|
-
params?: {} | undefined;
|
|
676
675
|
query?: {} | undefined;
|
|
676
|
+
params?: {} | undefined;
|
|
677
677
|
}>;
|
|
678
678
|
export declare const updateRiderProfileSchema: z.ZodObject<{
|
|
679
679
|
params: z.ZodObject<{
|
|
@@ -763,9 +763,6 @@ export declare const updateRiderProfileSchema: z.ZodObject<{
|
|
|
763
763
|
authorization: string;
|
|
764
764
|
}>;
|
|
765
765
|
}, "strip", z.ZodTypeAny, {
|
|
766
|
-
params: {
|
|
767
|
-
id: string;
|
|
768
|
-
};
|
|
769
766
|
body: {
|
|
770
767
|
firstName?: string | undefined;
|
|
771
768
|
lastName?: string | undefined;
|
|
@@ -777,14 +774,14 @@ export declare const updateRiderProfileSchema: z.ZodObject<{
|
|
|
777
774
|
birthYear?: number | undefined;
|
|
778
775
|
phoneNumber?: string | undefined;
|
|
779
776
|
};
|
|
777
|
+
params: {
|
|
778
|
+
id: string;
|
|
779
|
+
};
|
|
780
780
|
headers: {
|
|
781
781
|
authorization: string;
|
|
782
782
|
};
|
|
783
783
|
query?: {} | undefined;
|
|
784
784
|
}, {
|
|
785
|
-
params: {
|
|
786
|
-
id: string;
|
|
787
|
-
};
|
|
788
785
|
body: {
|
|
789
786
|
firstName?: string | undefined;
|
|
790
787
|
lastName?: string | undefined;
|
|
@@ -796,6 +793,9 @@ export declare const updateRiderProfileSchema: z.ZodObject<{
|
|
|
796
793
|
birthYear?: number | undefined;
|
|
797
794
|
phoneNumber?: string | undefined;
|
|
798
795
|
};
|
|
796
|
+
params: {
|
|
797
|
+
id: string;
|
|
798
|
+
};
|
|
799
799
|
headers: {
|
|
800
800
|
authorization: string;
|
|
801
801
|
};
|
|
@@ -890,60 +890,60 @@ export declare const updateProfileSchema: z.ZodObject<{
|
|
|
890
890
|
}, "strict", z.ZodTypeAny, {
|
|
891
891
|
firstName?: string | undefined;
|
|
892
892
|
lastName?: string | undefined;
|
|
893
|
-
email?: string | undefined;
|
|
894
893
|
gender?: "male" | "female" | undefined;
|
|
895
894
|
birthDate?: number | undefined;
|
|
896
895
|
birthMonth?: number | undefined;
|
|
897
896
|
birthYear?: number | undefined;
|
|
897
|
+
email?: string | undefined;
|
|
898
898
|
phoneNumber?: string | undefined;
|
|
899
899
|
}, {
|
|
900
900
|
firstName?: string | undefined;
|
|
901
901
|
lastName?: string | undefined;
|
|
902
|
-
email?: string | undefined;
|
|
903
902
|
gender?: "male" | "female" | undefined;
|
|
904
903
|
birthDate?: number | undefined;
|
|
905
904
|
birthMonth?: number | undefined;
|
|
906
905
|
birthYear?: number | undefined;
|
|
906
|
+
email?: string | undefined;
|
|
907
907
|
phoneNumber?: string | undefined;
|
|
908
908
|
}>, {
|
|
909
909
|
firstName?: string | undefined;
|
|
910
910
|
lastName?: string | undefined;
|
|
911
|
-
email?: string | undefined;
|
|
912
911
|
gender?: "male" | "female" | undefined;
|
|
913
912
|
birthDate?: number | undefined;
|
|
914
913
|
birthMonth?: number | undefined;
|
|
915
914
|
birthYear?: number | undefined;
|
|
915
|
+
email?: string | undefined;
|
|
916
916
|
phoneNumber?: string | undefined;
|
|
917
917
|
}, {
|
|
918
918
|
firstName?: string | undefined;
|
|
919
919
|
lastName?: string | undefined;
|
|
920
|
-
email?: string | undefined;
|
|
921
920
|
gender?: "male" | "female" | undefined;
|
|
922
921
|
birthDate?: number | undefined;
|
|
923
922
|
birthMonth?: number | undefined;
|
|
924
923
|
birthYear?: number | undefined;
|
|
924
|
+
email?: string | undefined;
|
|
925
925
|
phoneNumber?: string | undefined;
|
|
926
926
|
}>;
|
|
927
927
|
}, "strip", z.ZodTypeAny, {
|
|
928
928
|
body: {
|
|
929
929
|
firstName?: string | undefined;
|
|
930
930
|
lastName?: string | undefined;
|
|
931
|
-
email?: string | undefined;
|
|
932
931
|
gender?: "male" | "female" | undefined;
|
|
933
932
|
birthDate?: number | undefined;
|
|
934
933
|
birthMonth?: number | undefined;
|
|
935
934
|
birthYear?: number | undefined;
|
|
935
|
+
email?: string | undefined;
|
|
936
936
|
phoneNumber?: string | undefined;
|
|
937
937
|
};
|
|
938
938
|
}, {
|
|
939
939
|
body: {
|
|
940
940
|
firstName?: string | undefined;
|
|
941
941
|
lastName?: string | undefined;
|
|
942
|
-
email?: string | undefined;
|
|
943
942
|
gender?: "male" | "female" | undefined;
|
|
944
943
|
birthDate?: number | undefined;
|
|
945
944
|
birthMonth?: number | undefined;
|
|
946
945
|
birthYear?: number | undefined;
|
|
946
|
+
email?: string | undefined;
|
|
947
947
|
phoneNumber?: string | undefined;
|
|
948
948
|
};
|
|
949
949
|
}>;
|
|
@@ -35,21 +35,21 @@ export declare const getUserSuspensionsSchema: z.ZodObject<{
|
|
|
35
35
|
includeResolved?: "true" | "false" | undefined;
|
|
36
36
|
}>;
|
|
37
37
|
}, "strip", z.ZodTypeAny, {
|
|
38
|
-
params: {
|
|
39
|
-
userId: string;
|
|
40
|
-
};
|
|
41
38
|
query: {
|
|
42
39
|
status?: "active" | "expired" | "revoked" | undefined;
|
|
43
40
|
includeResolved?: "true" | "false" | undefined;
|
|
44
41
|
};
|
|
45
|
-
}, {
|
|
46
42
|
params: {
|
|
47
43
|
userId: string;
|
|
48
44
|
};
|
|
45
|
+
}, {
|
|
49
46
|
query: {
|
|
50
47
|
status?: "active" | "expired" | "revoked" | undefined;
|
|
51
48
|
includeResolved?: "true" | "false" | undefined;
|
|
52
49
|
};
|
|
50
|
+
params: {
|
|
51
|
+
userId: string;
|
|
52
|
+
};
|
|
53
53
|
}>;
|
|
54
54
|
export declare const createSuspensionSchema: z.ZodObject<{
|
|
55
55
|
params: z.ZodObject<{
|
|
@@ -70,19 +70,19 @@ export declare const createSuspensionSchema: z.ZodObject<{
|
|
|
70
70
|
endsAt: string;
|
|
71
71
|
}>;
|
|
72
72
|
}, "strip", z.ZodTypeAny, {
|
|
73
|
-
params: {
|
|
74
|
-
userId: string;
|
|
75
|
-
};
|
|
76
73
|
body: {
|
|
77
74
|
reason: string;
|
|
78
75
|
endsAt: string;
|
|
79
76
|
};
|
|
80
|
-
}, {
|
|
81
77
|
params: {
|
|
82
78
|
userId: string;
|
|
83
79
|
};
|
|
80
|
+
}, {
|
|
84
81
|
body: {
|
|
85
82
|
reason: string;
|
|
86
83
|
endsAt: string;
|
|
87
84
|
};
|
|
85
|
+
params: {
|
|
86
|
+
userId: string;
|
|
87
|
+
};
|
|
88
88
|
}>;
|