vr-commons 1.0.149 → 1.0.150

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.
@@ -15,9 +15,9 @@ export declare const createPricingSchema: z.ZodObject<{
15
15
  maxOrderQuantity: z.ZodOptional<z.ZodNumber>;
16
16
  isActive: z.ZodOptional<z.ZodBoolean>;
17
17
  }, "strip", z.ZodTypeAny, {
18
+ productId: string;
18
19
  type: "HIRE_PURCHASE" | "FULL_PAYMENT";
19
20
  name: string;
20
- productId: string;
21
21
  unitPrice: number;
22
22
  isActive?: boolean | undefined;
23
23
  downPayment?: number | undefined;
@@ -29,9 +29,9 @@ export declare const createPricingSchema: z.ZodObject<{
29
29
  minOrderQuantity?: number | undefined;
30
30
  maxOrderQuantity?: number | undefined;
31
31
  }, {
32
+ productId: string;
32
33
  type: "HIRE_PURCHASE" | "FULL_PAYMENT";
33
34
  name: string;
34
- productId: string;
35
35
  unitPrice: number;
36
36
  isActive?: boolean | undefined;
37
37
  downPayment?: number | undefined;
@@ -43,9 +43,9 @@ export declare const createPricingSchema: z.ZodObject<{
43
43
  minOrderQuantity?: number | undefined;
44
44
  maxOrderQuantity?: number | undefined;
45
45
  }>, {
46
+ productId: string;
46
47
  type: "HIRE_PURCHASE" | "FULL_PAYMENT";
47
48
  name: string;
48
- productId: string;
49
49
  unitPrice: number;
50
50
  isActive?: boolean | undefined;
51
51
  downPayment?: number | undefined;
@@ -57,9 +57,9 @@ export declare const createPricingSchema: z.ZodObject<{
57
57
  minOrderQuantity?: number | undefined;
58
58
  maxOrderQuantity?: number | undefined;
59
59
  }, {
60
+ productId: string;
60
61
  type: "HIRE_PURCHASE" | "FULL_PAYMENT";
61
62
  name: string;
62
- productId: string;
63
63
  unitPrice: number;
64
64
  isActive?: boolean | undefined;
65
65
  downPayment?: number | undefined;
@@ -73,9 +73,9 @@ export declare const createPricingSchema: z.ZodObject<{
73
73
  }>;
74
74
  }, "strip", z.ZodTypeAny, {
75
75
  body: {
76
+ productId: string;
76
77
  type: "HIRE_PURCHASE" | "FULL_PAYMENT";
77
78
  name: string;
78
- productId: string;
79
79
  unitPrice: number;
80
80
  isActive?: boolean | undefined;
81
81
  downPayment?: number | undefined;
@@ -89,9 +89,9 @@ export declare const createPricingSchema: z.ZodObject<{
89
89
  };
90
90
  }, {
91
91
  body: {
92
+ productId: string;
92
93
  type: "HIRE_PURCHASE" | "FULL_PAYMENT";
93
94
  name: string;
94
- productId: string;
95
95
  unitPrice: number;
96
96
  isActive?: boolean | undefined;
97
97
  downPayment?: number | undefined;
@@ -179,6 +179,9 @@ export declare const updatePricingSchema: z.ZodObject<{
179
179
  maxOrderQuantity?: number | undefined;
180
180
  }>;
181
181
  }, "strip", z.ZodTypeAny, {
182
+ params: {
183
+ id: string;
184
+ };
182
185
  body: {
183
186
  type?: "HIRE_PURCHASE" | "FULL_PAYMENT" | undefined;
184
187
  name?: string | undefined;
@@ -193,10 +196,10 @@ export declare const updatePricingSchema: z.ZodObject<{
193
196
  minOrderQuantity?: number | undefined;
194
197
  maxOrderQuantity?: number | undefined;
195
198
  };
199
+ }, {
196
200
  params: {
197
201
  id: string;
198
202
  };
199
- }, {
200
203
  body: {
201
204
  type?: "HIRE_PURCHASE" | "FULL_PAYMENT" | undefined;
202
205
  name?: string | undefined;
@@ -211,9 +214,6 @@ export declare const updatePricingSchema: z.ZodObject<{
211
214
  minOrderQuantity?: number | undefined;
212
215
  maxOrderQuantity?: number | undefined;
213
216
  };
214
- params: {
215
- id: string;
216
- };
217
217
  }>;
218
218
  export declare const getPricingSchema: z.ZodObject<{
219
219
  params: z.ZodObject<{
@@ -245,51 +245,51 @@ export declare const getPricingsSchema: z.ZodObject<{
245
245
  sortBy: z.ZodOptional<z.ZodEnum<["name", "unitPrice", "createdAt", "updatedAt"]>>;
246
246
  sortOrder: z.ZodOptional<z.ZodEnum<["ASC", "DESC"]>>;
247
247
  }, "strip", z.ZodTypeAny, {
248
- limit?: number | undefined;
248
+ productId?: string | undefined;
249
249
  type?: "HIRE_PURCHASE" | "FULL_PAYMENT" | undefined;
250
+ page?: number | undefined;
251
+ limit?: number | undefined;
250
252
  search?: string | undefined;
253
+ sortBy?: "createdAt" | "updatedAt" | "name" | "unitPrice" | undefined;
254
+ sortOrder?: "ASC" | "DESC" | undefined;
251
255
  isActive?: "true" | "false" | undefined;
252
- productId?: string | undefined;
253
- page?: number | undefined;
254
- sortBy?: "name" | "createdAt" | "updatedAt" | "unitPrice" | undefined;
255
- sortOrder?: "DESC" | "ASC" | undefined;
256
256
  minAmount?: number | undefined;
257
257
  maxAmount?: number | undefined;
258
258
  }, {
259
- limit?: string | undefined;
259
+ productId?: string | undefined;
260
260
  type?: "HIRE_PURCHASE" | "FULL_PAYMENT" | undefined;
261
+ page?: string | undefined;
262
+ limit?: string | undefined;
261
263
  search?: string | undefined;
264
+ sortBy?: "createdAt" | "updatedAt" | "name" | "unitPrice" | undefined;
265
+ sortOrder?: "ASC" | "DESC" | undefined;
262
266
  isActive?: "true" | "false" | undefined;
263
- productId?: string | undefined;
264
- page?: string | undefined;
265
- sortBy?: "name" | "createdAt" | "updatedAt" | "unitPrice" | undefined;
266
- sortOrder?: "DESC" | "ASC" | undefined;
267
267
  minAmount?: string | undefined;
268
268
  maxAmount?: string | undefined;
269
269
  }>;
270
270
  }, "strip", z.ZodTypeAny, {
271
271
  query: {
272
- limit?: number | undefined;
272
+ productId?: string | undefined;
273
273
  type?: "HIRE_PURCHASE" | "FULL_PAYMENT" | undefined;
274
+ page?: number | undefined;
275
+ limit?: number | undefined;
274
276
  search?: string | undefined;
277
+ sortBy?: "createdAt" | "updatedAt" | "name" | "unitPrice" | undefined;
278
+ sortOrder?: "ASC" | "DESC" | undefined;
275
279
  isActive?: "true" | "false" | undefined;
276
- productId?: string | undefined;
277
- page?: number | undefined;
278
- sortBy?: "name" | "createdAt" | "updatedAt" | "unitPrice" | undefined;
279
- sortOrder?: "DESC" | "ASC" | undefined;
280
280
  minAmount?: number | undefined;
281
281
  maxAmount?: number | undefined;
282
282
  };
283
283
  }, {
284
284
  query: {
285
- limit?: string | undefined;
285
+ productId?: string | undefined;
286
286
  type?: "HIRE_PURCHASE" | "FULL_PAYMENT" | undefined;
287
+ page?: string | undefined;
288
+ limit?: string | undefined;
287
289
  search?: string | undefined;
290
+ sortBy?: "createdAt" | "updatedAt" | "name" | "unitPrice" | undefined;
291
+ sortOrder?: "ASC" | "DESC" | undefined;
288
292
  isActive?: "true" | "false" | undefined;
289
- productId?: string | undefined;
290
- page?: string | undefined;
291
- sortBy?: "name" | "createdAt" | "updatedAt" | "unitPrice" | undefined;
292
- sortOrder?: "DESC" | "ASC" | undefined;
293
293
  minAmount?: string | undefined;
294
294
  maxAmount?: string | undefined;
295
295
  };
@@ -51,25 +51,25 @@ export declare const updateProductSchema: z.ZodObject<{
51
51
  isActive?: unknown;
52
52
  }>;
53
53
  }, "strip", z.ZodTypeAny, {
54
+ params: {
55
+ id: string;
56
+ };
54
57
  body: {
55
58
  name?: string | undefined;
56
59
  description?: string | null | undefined;
57
60
  stock?: number | undefined;
58
61
  isActive?: boolean | undefined;
59
62
  };
63
+ }, {
60
64
  params: {
61
65
  id: string;
62
66
  };
63
- }, {
64
67
  body: {
65
68
  name?: unknown;
66
69
  description?: unknown;
67
70
  stock?: unknown;
68
71
  isActive?: unknown;
69
72
  };
70
- params: {
71
- id: string;
72
- };
73
73
  }>;
74
74
  export declare const getProductSchema: z.ZodObject<{
75
75
  params: z.ZodObject<{
@@ -98,40 +98,40 @@ export declare const getProductsSchema: z.ZodObject<{
98
98
  sortBy: z.ZodOptional<z.ZodEnum<["name", "stock", "createdAt", "updatedAt"]>>;
99
99
  sortOrder: z.ZodOptional<z.ZodEnum<["ASC", "DESC"]>>;
100
100
  }, "strip", z.ZodTypeAny, {
101
+ page?: number | undefined;
101
102
  limit?: number | undefined;
102
103
  search?: string | undefined;
104
+ sortBy?: "createdAt" | "updatedAt" | "name" | "stock" | undefined;
105
+ sortOrder?: "ASC" | "DESC" | undefined;
103
106
  isActive?: "true" | "false" | undefined;
104
- page?: number | undefined;
105
- sortBy?: "name" | "stock" | "createdAt" | "updatedAt" | undefined;
106
- sortOrder?: "DESC" | "ASC" | undefined;
107
107
  minStock?: number | undefined;
108
108
  }, {
109
+ page?: string | undefined;
109
110
  limit?: string | undefined;
110
111
  search?: string | undefined;
112
+ sortBy?: "createdAt" | "updatedAt" | "name" | "stock" | undefined;
113
+ sortOrder?: "ASC" | "DESC" | undefined;
111
114
  isActive?: "true" | "false" | undefined;
112
- page?: string | undefined;
113
- sortBy?: "name" | "stock" | "createdAt" | "updatedAt" | undefined;
114
- sortOrder?: "DESC" | "ASC" | undefined;
115
115
  minStock?: string | undefined;
116
116
  }>;
117
117
  }, "strip", z.ZodTypeAny, {
118
118
  query: {
119
+ page?: number | undefined;
119
120
  limit?: number | undefined;
120
121
  search?: string | undefined;
122
+ sortBy?: "createdAt" | "updatedAt" | "name" | "stock" | undefined;
123
+ sortOrder?: "ASC" | "DESC" | undefined;
121
124
  isActive?: "true" | "false" | undefined;
122
- page?: number | undefined;
123
- sortBy?: "name" | "stock" | "createdAt" | "updatedAt" | undefined;
124
- sortOrder?: "DESC" | "ASC" | undefined;
125
125
  minStock?: number | undefined;
126
126
  };
127
127
  }, {
128
128
  query: {
129
+ page?: string | undefined;
129
130
  limit?: string | undefined;
130
131
  search?: string | undefined;
132
+ sortBy?: "createdAt" | "updatedAt" | "name" | "stock" | undefined;
133
+ sortOrder?: "ASC" | "DESC" | undefined;
131
134
  isActive?: "true" | "false" | undefined;
132
- page?: string | undefined;
133
- sortBy?: "name" | "stock" | "createdAt" | "updatedAt" | undefined;
134
- sortOrder?: "DESC" | "ASC" | undefined;
135
135
  minStock?: string | undefined;
136
136
  };
137
137
  }>;
@@ -199,25 +199,25 @@ export declare const updateStockSchema: z.ZodObject<{
199
199
  amount: z.ZodNumber;
200
200
  }, "strip", z.ZodTypeAny, {
201
201
  amount: number;
202
- operation: "increment" | "decrement" | "set";
202
+ operation: "set" | "increment" | "decrement";
203
203
  }, {
204
204
  amount: number;
205
- operation: "increment" | "decrement" | "set";
205
+ operation: "set" | "increment" | "decrement";
206
206
  }>;
207
207
  }, "strip", z.ZodTypeAny, {
208
- body: {
209
- amount: number;
210
- operation: "increment" | "decrement" | "set";
211
- };
212
208
  params: {
213
209
  id: string;
214
210
  };
215
- }, {
216
211
  body: {
217
212
  amount: number;
218
- operation: "increment" | "decrement" | "set";
213
+ operation: "set" | "increment" | "decrement";
219
214
  };
215
+ }, {
220
216
  params: {
221
217
  id: string;
222
218
  };
219
+ body: {
220
+ amount: number;
221
+ operation: "set" | "increment" | "decrement";
222
+ };
223
223
  }>;
@@ -26,7 +26,7 @@ export declare const createUserSchema: z.ZodObject<{
26
26
  birthDate: number;
27
27
  birthMonth: number;
28
28
  birthYear: number;
29
- role: "RIDER" | "PASSENGER" | "ADMIN" | "AGENT" | "SUPER_ADMIN";
29
+ role: "PASSENGER" | "RIDER" | "ADMIN" | "AGENT" | "SUPER_ADMIN";
30
30
  contactValue: string;
31
31
  jacketId?: string | null | undefined;
32
32
  password?: string | undefined;
@@ -38,7 +38,7 @@ export declare const createUserSchema: z.ZodObject<{
38
38
  birthDate: number;
39
39
  birthMonth: number;
40
40
  birthYear: number;
41
- role: "RIDER" | "PASSENGER" | "ADMIN" | "AGENT" | "SUPER_ADMIN";
41
+ role: "PASSENGER" | "RIDER" | "ADMIN" | "AGENT" | "SUPER_ADMIN";
42
42
  contactValue: string;
43
43
  jacketId?: string | null | undefined;
44
44
  password?: string | undefined;
@@ -50,7 +50,7 @@ export declare const createUserSchema: z.ZodObject<{
50
50
  birthDate: number;
51
51
  birthMonth: number;
52
52
  birthYear: number;
53
- role: "RIDER" | "PASSENGER" | "ADMIN" | "AGENT" | "SUPER_ADMIN";
53
+ role: "PASSENGER" | "RIDER" | "ADMIN" | "AGENT" | "SUPER_ADMIN";
54
54
  contactValue: string;
55
55
  jacketId?: string | null | undefined;
56
56
  password?: string | undefined;
@@ -62,7 +62,7 @@ export declare const createUserSchema: z.ZodObject<{
62
62
  birthDate: number;
63
63
  birthMonth: number;
64
64
  birthYear: number;
65
- role: "RIDER" | "PASSENGER" | "ADMIN" | "AGENT" | "SUPER_ADMIN";
65
+ role: "PASSENGER" | "RIDER" | "ADMIN" | "AGENT" | "SUPER_ADMIN";
66
66
  contactValue: string;
67
67
  jacketId?: string | null | undefined;
68
68
  password?: string | undefined;
@@ -83,7 +83,7 @@ export declare const createUserSchema: z.ZodObject<{
83
83
  birthDate: number;
84
84
  birthMonth: number;
85
85
  birthYear: number;
86
- role: "RIDER" | "PASSENGER" | "ADMIN" | "AGENT" | "SUPER_ADMIN";
86
+ role: "PASSENGER" | "RIDER" | "ADMIN" | "AGENT" | "SUPER_ADMIN";
87
87
  contactValue: string;
88
88
  jacketId?: string | null | undefined;
89
89
  password?: string | undefined;
@@ -100,7 +100,7 @@ export declare const createUserSchema: z.ZodObject<{
100
100
  birthDate: number;
101
101
  birthMonth: number;
102
102
  birthYear: number;
103
- role: "RIDER" | "PASSENGER" | "ADMIN" | "AGENT" | "SUPER_ADMIN";
103
+ role: "PASSENGER" | "RIDER" | "ADMIN" | "AGENT" | "SUPER_ADMIN";
104
104
  contactValue: string;
105
105
  jacketId?: string | null | undefined;
106
106
  password?: string | undefined;
@@ -241,6 +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
+ };
244
247
  body: {
245
248
  isActive?: boolean | undefined;
246
249
  firstName?: string | undefined;
@@ -254,13 +257,13 @@ export declare const updateUserProfileSchema: z.ZodObject<{
254
257
  isDeactivated?: boolean | undefined;
255
258
  contactValue?: string | undefined;
256
259
  };
257
- params: {
258
- userId: string;
259
- };
260
260
  headers: {
261
261
  authorization: string;
262
262
  };
263
263
  }, {
264
+ params: {
265
+ userId: string;
266
+ };
264
267
  body: {
265
268
  isActive?: boolean | undefined;
266
269
  firstName?: string | undefined;
@@ -274,9 +277,6 @@ export declare const updateUserProfileSchema: z.ZodObject<{
274
277
  isDeactivated?: boolean | undefined;
275
278
  contactValue?: string | undefined;
276
279
  };
277
- params: {
278
- userId: string;
279
- };
280
280
  headers: {
281
281
  authorization: string;
282
282
  };
@@ -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: "asc" | "desc";
300
299
  sortBy: "createdAt" | "firstName" | "gender" | "lastLoginAt";
300
+ order: "asc" | "desc";
301
+ page?: number | undefined;
301
302
  limit?: number | undefined;
302
303
  search?: string | undefined;
303
304
  isActive?: boolean | undefined;
304
305
  gender?: "male" | "female" | undefined;
305
306
  isDeactivated?: boolean | undefined;
306
- role?: "RIDER" | "PASSENGER" | "ADMIN" | "AGENT" | "SUPER_ADMIN" | undefined;
307
- page?: number | undefined;
307
+ role?: "PASSENGER" | "RIDER" | "ADMIN" | "AGENT" | "SUPER_ADMIN" | undefined;
308
308
  contactType?: "EMAIL" | "PHONE" | "WHATSAPP" | undefined;
309
309
  startDate?: string | undefined;
310
310
  endDate?: string | undefined;
311
311
  }, {
312
- order?: "asc" | "desc" | undefined;
312
+ page?: string | undefined;
313
313
  limit?: string | undefined;
314
314
  search?: string | undefined;
315
+ sortBy?: "createdAt" | "firstName" | "gender" | "lastLoginAt" | undefined;
316
+ order?: "asc" | "desc" | undefined;
315
317
  isActive?: "true" | "false" | undefined;
316
318
  gender?: "male" | "female" | undefined;
317
319
  isDeactivated?: "true" | "false" | undefined;
318
- role?: "RIDER" | "PASSENGER" | "ADMIN" | "AGENT" | "SUPER_ADMIN" | undefined;
319
- page?: string | undefined;
320
+ role?: "PASSENGER" | "RIDER" | "ADMIN" | "AGENT" | "SUPER_ADMIN" | undefined;
320
321
  contactType?: "EMAIL" | "PHONE" | "WHATSAPP" | undefined;
321
322
  startDate?: string | undefined;
322
323
  endDate?: string | undefined;
323
- sortBy?: "createdAt" | "firstName" | "gender" | "lastLoginAt" | undefined;
324
324
  }>;
325
325
  headers: z.ZodObject<{
326
326
  authorization: z.ZodString;
@@ -331,15 +331,15 @@ export declare const getAllUsersSchema: z.ZodObject<{
331
331
  }>;
332
332
  }, "strip", z.ZodTypeAny, {
333
333
  query: {
334
- order: "asc" | "desc";
335
334
  sortBy: "createdAt" | "firstName" | "gender" | "lastLoginAt";
335
+ order: "asc" | "desc";
336
+ page?: number | undefined;
336
337
  limit?: number | undefined;
337
338
  search?: string | undefined;
338
339
  isActive?: boolean | undefined;
339
340
  gender?: "male" | "female" | undefined;
340
341
  isDeactivated?: boolean | undefined;
341
- role?: "RIDER" | "PASSENGER" | "ADMIN" | "AGENT" | "SUPER_ADMIN" | undefined;
342
- page?: number | undefined;
342
+ role?: "PASSENGER" | "RIDER" | "ADMIN" | "AGENT" | "SUPER_ADMIN" | undefined;
343
343
  contactType?: "EMAIL" | "PHONE" | "WHATSAPP" | undefined;
344
344
  startDate?: string | undefined;
345
345
  endDate?: string | undefined;
@@ -349,18 +349,18 @@ export declare const getAllUsersSchema: z.ZodObject<{
349
349
  };
350
350
  }, {
351
351
  query: {
352
- order?: "asc" | "desc" | undefined;
352
+ page?: string | undefined;
353
353
  limit?: string | undefined;
354
354
  search?: string | undefined;
355
+ sortBy?: "createdAt" | "firstName" | "gender" | "lastLoginAt" | undefined;
356
+ order?: "asc" | "desc" | undefined;
355
357
  isActive?: "true" | "false" | undefined;
356
358
  gender?: "male" | "female" | undefined;
357
359
  isDeactivated?: "true" | "false" | undefined;
358
- role?: "RIDER" | "PASSENGER" | "ADMIN" | "AGENT" | "SUPER_ADMIN" | undefined;
359
- page?: string | undefined;
360
+ role?: "PASSENGER" | "RIDER" | "ADMIN" | "AGENT" | "SUPER_ADMIN" | undefined;
360
361
  contactType?: "EMAIL" | "PHONE" | "WHATSAPP" | undefined;
361
362
  startDate?: string | undefined;
362
363
  endDate?: string | undefined;
363
- sortBy?: "createdAt" | "firstName" | "gender" | "lastLoginAt" | undefined;
364
364
  };
365
365
  headers: {
366
366
  authorization: string;
@@ -381,16 +381,16 @@ export declare const viewProfileSchema: z.ZodObject<{
381
381
  headers: {
382
382
  authorization: string;
383
383
  };
384
+ params?: {} | undefined;
384
385
  body?: {} | undefined;
385
386
  query?: {} | undefined;
386
- params?: {} | undefined;
387
387
  }, {
388
388
  headers: {
389
389
  authorization: string;
390
390
  };
391
+ params?: {} | undefined;
391
392
  body?: {} | undefined;
392
393
  query?: {} | undefined;
393
- params?: {} | undefined;
394
394
  }>;
395
395
  export declare const passengerSignupSchema: z.ZodObject<{
396
396
  body: z.ZodEffects<z.ZodObject<{
@@ -640,8 +640,8 @@ export declare const createRiderSchema: z.ZodObject<{
640
640
  birthYear: number;
641
641
  contactValue: string;
642
642
  };
643
- query?: {} | undefined;
644
643
  params?: {} | undefined;
644
+ query?: {} | undefined;
645
645
  }, {
646
646
  body: {
647
647
  firstName: string;
@@ -654,8 +654,8 @@ export declare const createRiderSchema: z.ZodObject<{
654
654
  birthYear: number;
655
655
  contactValue: string;
656
656
  };
657
- query?: {} | undefined;
658
657
  params?: {} | undefined;
658
+ query?: {} | undefined;
659
659
  }>;
660
660
  export declare const updateRiderProfileSchema: z.ZodObject<{
661
661
  params: z.ZodObject<{
@@ -745,6 +745,9 @@ export declare const updateRiderProfileSchema: z.ZodObject<{
745
745
  authorization: string;
746
746
  }>;
747
747
  }, "strip", z.ZodTypeAny, {
748
+ params: {
749
+ id: string;
750
+ };
748
751
  body: {
749
752
  firstName?: string | undefined;
750
753
  lastName?: string | undefined;
@@ -756,14 +759,14 @@ export declare const updateRiderProfileSchema: z.ZodObject<{
756
759
  birthYear?: number | undefined;
757
760
  contactValue?: string | undefined;
758
761
  };
759
- params: {
760
- id: string;
761
- };
762
762
  headers: {
763
763
  authorization: string;
764
764
  };
765
765
  query?: {} | undefined;
766
766
  }, {
767
+ params: {
768
+ id: string;
769
+ };
767
770
  body: {
768
771
  firstName?: string | undefined;
769
772
  lastName?: string | undefined;
@@ -775,9 +778,6 @@ export declare const updateRiderProfileSchema: z.ZodObject<{
775
778
  birthYear?: number | undefined;
776
779
  contactValue?: string | undefined;
777
780
  };
778
- params: {
779
- id: string;
780
- };
781
781
  headers: {
782
782
  authorization: string;
783
783
  };
@@ -1010,22 +1010,22 @@ export declare const confirmVerificationSchema: z.ZodObject<{
1010
1010
  authorization: string;
1011
1011
  }>;
1012
1012
  }, "strip", z.ZodTypeAny, {
1013
- body: {
1014
- otp: string;
1015
- };
1016
1013
  params: {
1017
1014
  contactId: string;
1018
1015
  };
1016
+ body: {
1017
+ otp: string;
1018
+ };
1019
1019
  headers: {
1020
1020
  authorization: string;
1021
1021
  };
1022
1022
  }, {
1023
- body: {
1024
- otp: string;
1025
- };
1026
1023
  params: {
1027
1024
  contactId: string;
1028
1025
  };
1026
+ body: {
1027
+ otp: string;
1028
+ };
1029
1029
  headers: {
1030
1030
  authorization: string;
1031
1031
  };
@@ -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
+ };
38
41
  query: {
39
42
  status?: "active" | "expired" | "revoked" | undefined;
40
43
  includeResolved?: "true" | "false" | undefined;
41
44
  };
45
+ }, {
42
46
  params: {
43
47
  userId: string;
44
48
  };
45
- }, {
46
49
  query: {
47
50
  status?: "active" | "expired" | "revoked" | undefined;
48
51
  includeResolved?: "true" | "false" | undefined;
49
52
  };
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
+ };
73
76
  body: {
74
77
  reason: string;
75
78
  endsAt: string;
76
79
  };
80
+ }, {
77
81
  params: {
78
82
  userId: string;
79
83
  };
80
- }, {
81
84
  body: {
82
85
  reason: string;
83
86
  endsAt: string;
84
87
  };
85
- params: {
86
- userId: string;
87
- };
88
88
  }>;