vr-commons 1.0.96 → 1.0.97

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.
Files changed (28) hide show
  1. package/dist/utils/admin.device.utils.d.ts +59 -0
  2. package/dist/utils/admin.device.utils.js +231 -0
  3. package/dist/utils/admin.devicePayment.utils.d.ts +46 -0
  4. package/dist/utils/admin.devicePayment.utils.js +206 -0
  5. package/dist/utils/index.d.ts +3 -1
  6. package/dist/utils/index.js +5 -1
  7. package/dist/utils/types.d.ts +7 -0
  8. package/dist/validations/admin.devicePayment.validations.d.ts +270 -0
  9. package/dist/validations/admin.devicePayment.validations.js +98 -0
  10. package/dist/validations/admin.devices.validations.d.ts +250 -0
  11. package/dist/validations/admin.devices.validations.js +118 -0
  12. package/dist/validations/appSpecs.validations.d.ts +16 -16
  13. package/dist/validations/appeals.validations.d.ts +8 -8
  14. package/dist/validations/auth.validations.d.ts +2 -2
  15. package/dist/validations/bans.validations.d.ts +8 -8
  16. package/dist/validations/devicePaymentPlan.validations.d.ts +12 -12
  17. package/dist/validations/index.d.ts +2 -0
  18. package/dist/validations/index.js +20 -1
  19. package/dist/validations/moderation.validations.d.ts +105 -105
  20. package/dist/validations/payinstallment.validations.d.ts +5 -5
  21. package/dist/validations/pricing.validations.d.ts +313 -0
  22. package/dist/validations/pricing.validations.js +376 -0
  23. package/dist/validations/pricings.validations.d.ts +54 -54
  24. package/dist/validations/product.validations.d.ts +42 -42
  25. package/dist/validations/profiles.validations.d.ts +46 -46
  26. package/dist/validations/suspensions.validations.d.ts +8 -8
  27. package/dist/validations/users.admin.validations.d.ts +44 -44
  28. package/package.json +1 -1
@@ -17,7 +17,7 @@ export declare const createUserSchema: z.ZodObject<{
17
17
  firstName: string;
18
18
  lastName: string;
19
19
  nationalId: string;
20
- role: "RIDER" | "PASSENGER" | "ADMIN" | "AGENT" | "SUPER_ADMIN";
20
+ role: "ADMIN" | "PASSENGER" | "RIDER" | "AGENT" | "SUPER_ADMIN";
21
21
  phoneNumber: string;
22
22
  jacketId?: string | null | undefined;
23
23
  email?: string | null | undefined;
@@ -27,7 +27,7 @@ export declare const createUserSchema: z.ZodObject<{
27
27
  firstName: string;
28
28
  lastName: string;
29
29
  nationalId: string;
30
- role: "RIDER" | "PASSENGER" | "ADMIN" | "AGENT" | "SUPER_ADMIN";
30
+ role: "ADMIN" | "PASSENGER" | "RIDER" | "AGENT" | "SUPER_ADMIN";
31
31
  phoneNumber: string;
32
32
  jacketId?: string | null | undefined;
33
33
  email?: string | null | undefined;
@@ -46,7 +46,7 @@ export declare const createUserSchema: z.ZodObject<{
46
46
  firstName: string;
47
47
  lastName: string;
48
48
  nationalId: string;
49
- role: "RIDER" | "PASSENGER" | "ADMIN" | "AGENT" | "SUPER_ADMIN";
49
+ role: "ADMIN" | "PASSENGER" | "RIDER" | "AGENT" | "SUPER_ADMIN";
50
50
  phoneNumber: string;
51
51
  jacketId?: string | null | undefined;
52
52
  email?: string | null | undefined;
@@ -61,7 +61,7 @@ export declare const createUserSchema: z.ZodObject<{
61
61
  firstName: string;
62
62
  lastName: string;
63
63
  nationalId: string;
64
- role: "RIDER" | "PASSENGER" | "ADMIN" | "AGENT" | "SUPER_ADMIN";
64
+ role: "ADMIN" | "PASSENGER" | "RIDER" | "AGENT" | "SUPER_ADMIN";
65
65
  phoneNumber: string;
66
66
  jacketId?: string | null | undefined;
67
67
  email?: string | null | undefined;
@@ -121,42 +121,42 @@ export declare const updateUserProfileSchema: z.ZodObject<{
121
121
  isDeactivated: z.ZodOptional<z.ZodBoolean>;
122
122
  password: z.ZodOptional<z.ZodString>;
123
123
  }, "strip", z.ZodTypeAny, {
124
- isActive?: boolean | undefined;
125
124
  firstName?: string | undefined;
126
125
  lastName?: string | undefined;
127
126
  email?: string | null | undefined;
128
127
  password?: string | undefined;
129
128
  plateNumber?: string | null | undefined;
129
+ isActive?: boolean | undefined;
130
130
  isDeactivated?: boolean | undefined;
131
131
  phoneNumber?: string | undefined;
132
132
  isSuspended?: boolean | undefined;
133
133
  }, {
134
- isActive?: boolean | undefined;
135
134
  firstName?: string | undefined;
136
135
  lastName?: string | undefined;
137
136
  email?: string | null | undefined;
138
137
  password?: string | undefined;
139
138
  plateNumber?: string | null | undefined;
139
+ isActive?: boolean | undefined;
140
140
  isDeactivated?: boolean | undefined;
141
141
  phoneNumber?: string | undefined;
142
142
  isSuspended?: boolean | undefined;
143
143
  }>, {
144
- isActive?: boolean | undefined;
145
144
  firstName?: string | undefined;
146
145
  lastName?: string | undefined;
147
146
  email?: string | null | undefined;
148
147
  password?: string | undefined;
149
148
  plateNumber?: string | null | undefined;
149
+ isActive?: boolean | undefined;
150
150
  isDeactivated?: boolean | undefined;
151
151
  phoneNumber?: string | undefined;
152
152
  isSuspended?: boolean | undefined;
153
153
  }, {
154
- isActive?: boolean | undefined;
155
154
  firstName?: string | undefined;
156
155
  lastName?: string | undefined;
157
156
  email?: string | null | undefined;
158
157
  password?: string | undefined;
159
158
  plateNumber?: string | null | undefined;
159
+ isActive?: boolean | undefined;
160
160
  isDeactivated?: boolean | undefined;
161
161
  phoneNumber?: string | undefined;
162
162
  isSuspended?: boolean | undefined;
@@ -169,38 +169,38 @@ export declare const updateUserProfileSchema: z.ZodObject<{
169
169
  authorization: string;
170
170
  }>;
171
171
  }, "strip", z.ZodTypeAny, {
172
- params: {
173
- userId: string;
174
- };
175
172
  body: {
176
- isActive?: boolean | undefined;
177
173
  firstName?: string | undefined;
178
174
  lastName?: string | undefined;
179
175
  email?: string | null | undefined;
180
176
  password?: string | undefined;
181
177
  plateNumber?: string | null | undefined;
178
+ isActive?: boolean | undefined;
182
179
  isDeactivated?: boolean | undefined;
183
180
  phoneNumber?: string | undefined;
184
181
  isSuspended?: boolean | undefined;
185
182
  };
183
+ params: {
184
+ userId: string;
185
+ };
186
186
  headers: {
187
187
  authorization: string;
188
188
  };
189
189
  }, {
190
- params: {
191
- userId: string;
192
- };
193
190
  body: {
194
- isActive?: boolean | undefined;
195
191
  firstName?: string | undefined;
196
192
  lastName?: string | undefined;
197
193
  email?: string | null | undefined;
198
194
  password?: string | undefined;
199
195
  plateNumber?: string | null | undefined;
196
+ isActive?: boolean | undefined;
200
197
  isDeactivated?: boolean | undefined;
201
198
  phoneNumber?: string | undefined;
202
199
  isSuspended?: boolean | undefined;
203
200
  };
201
+ params: {
202
+ userId: string;
203
+ };
204
204
  headers: {
205
205
  authorization: string;
206
206
  };
@@ -219,29 +219,29 @@ export declare const getAllUsersSchema: z.ZodObject<{
219
219
  sortBy: z.ZodDefault<z.ZodEnum<["firstName", "lastLoginAt", "createdAt"]>>;
220
220
  order: z.ZodDefault<z.ZodEnum<["asc", "desc"]>>;
221
221
  }, "strip", z.ZodTypeAny, {
222
- sortBy: "createdAt" | "firstName" | "lastLoginAt";
223
222
  order: "asc" | "desc";
224
- isActive?: boolean | undefined;
225
- page?: number | undefined;
226
- limit?: number | undefined;
223
+ sortBy: "firstName" | "lastLoginAt" | "createdAt";
227
224
  search?: string | undefined;
228
- role?: "RIDER" | "PASSENGER" | "ADMIN" | "AGENT" | "SUPER_ADMIN" | undefined;
225
+ limit?: number | undefined;
226
+ isActive?: boolean | undefined;
227
+ role?: "ADMIN" | "PASSENGER" | "RIDER" | "AGENT" | "SUPER_ADMIN" | undefined;
229
228
  isBanned?: boolean | undefined;
230
229
  isSuspended?: boolean | undefined;
230
+ page?: number | undefined;
231
231
  startDate?: string | undefined;
232
232
  endDate?: string | undefined;
233
233
  }, {
234
- isActive?: "true" | "false" | undefined;
235
- page?: string | undefined;
236
- limit?: string | undefined;
237
234
  search?: string | undefined;
238
- sortBy?: "createdAt" | "firstName" | "lastLoginAt" | undefined;
239
235
  order?: "asc" | "desc" | undefined;
240
- role?: "RIDER" | "PASSENGER" | "ADMIN" | "AGENT" | "SUPER_ADMIN" | undefined;
236
+ limit?: string | undefined;
237
+ isActive?: "true" | "false" | undefined;
238
+ role?: "ADMIN" | "PASSENGER" | "RIDER" | "AGENT" | "SUPER_ADMIN" | undefined;
241
239
  isBanned?: "true" | "false" | undefined;
242
240
  isSuspended?: "true" | "false" | undefined;
241
+ page?: string | undefined;
243
242
  startDate?: string | undefined;
244
243
  endDate?: string | undefined;
244
+ sortBy?: "firstName" | "lastLoginAt" | "createdAt" | undefined;
245
245
  }>;
246
246
  headers: z.ZodObject<{
247
247
  authorization: z.ZodString;
@@ -252,15 +252,15 @@ export declare const getAllUsersSchema: z.ZodObject<{
252
252
  }>;
253
253
  }, "strip", z.ZodTypeAny, {
254
254
  query: {
255
- sortBy: "createdAt" | "firstName" | "lastLoginAt";
256
255
  order: "asc" | "desc";
257
- isActive?: boolean | undefined;
258
- page?: number | undefined;
259
- limit?: number | undefined;
256
+ sortBy: "firstName" | "lastLoginAt" | "createdAt";
260
257
  search?: string | undefined;
261
- role?: "RIDER" | "PASSENGER" | "ADMIN" | "AGENT" | "SUPER_ADMIN" | undefined;
258
+ limit?: number | undefined;
259
+ isActive?: boolean | undefined;
260
+ role?: "ADMIN" | "PASSENGER" | "RIDER" | "AGENT" | "SUPER_ADMIN" | undefined;
262
261
  isBanned?: boolean | undefined;
263
262
  isSuspended?: boolean | undefined;
263
+ page?: number | undefined;
264
264
  startDate?: string | undefined;
265
265
  endDate?: string | undefined;
266
266
  };
@@ -269,17 +269,17 @@ export declare const getAllUsersSchema: z.ZodObject<{
269
269
  };
270
270
  }, {
271
271
  query: {
272
- isActive?: "true" | "false" | undefined;
273
- page?: string | undefined;
274
- limit?: string | undefined;
275
272
  search?: string | undefined;
276
- sortBy?: "createdAt" | "firstName" | "lastLoginAt" | undefined;
277
273
  order?: "asc" | "desc" | undefined;
278
- role?: "RIDER" | "PASSENGER" | "ADMIN" | "AGENT" | "SUPER_ADMIN" | undefined;
274
+ limit?: string | undefined;
275
+ isActive?: "true" | "false" | undefined;
276
+ role?: "ADMIN" | "PASSENGER" | "RIDER" | "AGENT" | "SUPER_ADMIN" | undefined;
279
277
  isBanned?: "true" | "false" | undefined;
280
278
  isSuspended?: "true" | "false" | undefined;
279
+ page?: string | undefined;
281
280
  startDate?: string | undefined;
282
281
  endDate?: string | undefined;
282
+ sortBy?: "firstName" | "lastLoginAt" | "createdAt" | undefined;
283
283
  };
284
284
  headers: {
285
285
  authorization: string;
@@ -300,16 +300,16 @@ export declare const viewProfileSchema: z.ZodObject<{
300
300
  headers: {
301
301
  authorization: string;
302
302
  };
303
- params?: {} | undefined;
304
303
  body?: {} | undefined;
305
304
  query?: {} | undefined;
305
+ params?: {} | undefined;
306
306
  }, {
307
307
  headers: {
308
308
  authorization: string;
309
309
  };
310
- params?: {} | undefined;
311
310
  body?: {} | undefined;
312
311
  query?: {} | undefined;
312
+ params?: {} | undefined;
313
313
  }>;
314
314
  export declare const passengerSignupSchema: z.ZodObject<{
315
315
  body: z.ZodObject<{
@@ -444,8 +444,8 @@ export declare const createRiderSchema: z.ZodObject<{
444
444
  nationalId: string;
445
445
  phoneNumber: string;
446
446
  };
447
- params?: {} | undefined;
448
447
  query?: {} | undefined;
448
+ params?: {} | undefined;
449
449
  }, {
450
450
  body: {
451
451
  firstName: string;
@@ -455,8 +455,8 @@ export declare const createRiderSchema: z.ZodObject<{
455
455
  nationalId: string;
456
456
  phoneNumber: string;
457
457
  };
458
- params?: {} | undefined;
459
458
  query?: {} | undefined;
459
+ params?: {} | undefined;
460
460
  }>;
461
461
  export declare const updateRiderProfileSchema: z.ZodObject<{
462
462
  params: z.ZodObject<{
@@ -511,9 +511,6 @@ export declare const updateRiderProfileSchema: z.ZodObject<{
511
511
  authorization: string;
512
512
  }>;
513
513
  }, "strip", z.ZodTypeAny, {
514
- params: {
515
- id: string;
516
- };
517
514
  body: {
518
515
  firstName: string;
519
516
  lastName: string;
@@ -522,14 +519,14 @@ export declare const updateRiderProfileSchema: z.ZodObject<{
522
519
  nationalId: string;
523
520
  phoneNumber: string;
524
521
  };
522
+ params: {
523
+ id: string;
524
+ };
525
525
  headers: {
526
526
  authorization: string;
527
527
  };
528
528
  query?: {} | undefined;
529
529
  }, {
530
- params: {
531
- id: string;
532
- };
533
530
  body: {
534
531
  firstName: string;
535
532
  lastName: string;
@@ -538,6 +535,9 @@ export declare const updateRiderProfileSchema: z.ZodObject<{
538
535
  nationalId: string;
539
536
  phoneNumber: string;
540
537
  };
538
+ params: {
539
+ id: string;
540
+ };
541
541
  headers: {
542
542
  authorization: string;
543
543
  };
@@ -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
  }>;
@@ -24,25 +24,25 @@ export declare const upgradeToRiderSchema: z.ZodObject<{
24
24
  plateNumber?: string | undefined;
25
25
  }>;
26
26
  }, "strip", z.ZodTypeAny, {
27
- params: {
28
- userId: string;
29
- };
30
27
  body: {
31
28
  jacketId: string;
32
29
  nationalId: string;
33
30
  phoneNumber: string;
34
31
  plateNumber?: string | undefined;
35
32
  };
36
- }, {
37
33
  params: {
38
34
  userId: string;
39
35
  };
36
+ }, {
40
37
  body: {
41
38
  jacketId: string;
42
39
  nationalId: string;
43
40
  phoneNumber: string;
44
41
  plateNumber?: string | undefined;
45
42
  };
43
+ params: {
44
+ userId: string;
45
+ };
46
46
  }>;
47
47
  export declare const updateRiderSchema: z.ZodObject<{
48
48
  params: z.ZodObject<{
@@ -78,9 +78,6 @@ export declare const updateRiderSchema: z.ZodObject<{
78
78
  phoneNumber?: string | undefined;
79
79
  }>;
80
80
  }, "strip", z.ZodTypeAny, {
81
- params: {
82
- userId: string;
83
- };
84
81
  body: {
85
82
  firstName?: string | undefined;
86
83
  lastName?: string | undefined;
@@ -90,10 +87,10 @@ export declare const updateRiderSchema: z.ZodObject<{
90
87
  nationalId?: string | undefined;
91
88
  phoneNumber?: string | undefined;
92
89
  };
93
- }, {
94
90
  params: {
95
91
  userId: string;
96
92
  };
93
+ }, {
97
94
  body: {
98
95
  firstName?: string | undefined;
99
96
  lastName?: string | undefined;
@@ -103,6 +100,9 @@ export declare const updateRiderSchema: z.ZodObject<{
103
100
  nationalId?: string | undefined;
104
101
  phoneNumber?: string | undefined;
105
102
  };
103
+ params: {
104
+ userId: string;
105
+ };
106
106
  }>;
107
107
  export declare const deleteUserSchema: z.ZodObject<{
108
108
  params: z.ZodObject<{
@@ -149,45 +149,45 @@ export declare const getUsersSchema: z.ZodObject<{
149
149
  sortBy: z.ZodOptional<z.ZodEnum<["createdAt", "firstName", "lastName"]>>;
150
150
  sortOrder: z.ZodOptional<z.ZodEnum<["ASC", "DESC"]>>;
151
151
  }, "strip", z.ZodTypeAny, {
152
- isActive?: "true" | "false" | undefined;
153
- page?: number | undefined;
154
- limit?: number | undefined;
155
152
  search?: string | undefined;
156
- sortBy?: "createdAt" | "firstName" | "lastName" | undefined;
157
- sortOrder?: "ASC" | "DESC" | undefined;
153
+ limit?: number | undefined;
154
+ isActive?: "true" | "false" | undefined;
158
155
  isDeactivated?: "true" | "false" | undefined;
159
156
  role?: string | undefined;
157
+ page?: number | undefined;
158
+ sortBy?: "firstName" | "lastName" | "createdAt" | undefined;
159
+ sortOrder?: "DESC" | "ASC" | undefined;
160
160
  }, {
161
- isActive?: "true" | "false" | undefined;
162
- page?: string | undefined;
163
- limit?: string | undefined;
164
161
  search?: string | undefined;
165
- sortBy?: "createdAt" | "firstName" | "lastName" | undefined;
166
- sortOrder?: "ASC" | "DESC" | undefined;
162
+ limit?: string | undefined;
163
+ isActive?: "true" | "false" | undefined;
167
164
  isDeactivated?: "true" | "false" | undefined;
168
165
  role?: string | undefined;
166
+ page?: string | undefined;
167
+ sortBy?: "firstName" | "lastName" | "createdAt" | undefined;
168
+ sortOrder?: "DESC" | "ASC" | undefined;
169
169
  }>;
170
170
  }, "strip", z.ZodTypeAny, {
171
171
  query: {
172
- isActive?: "true" | "false" | undefined;
173
- page?: number | undefined;
174
- limit?: number | undefined;
175
172
  search?: string | undefined;
176
- sortBy?: "createdAt" | "firstName" | "lastName" | undefined;
177
- sortOrder?: "ASC" | "DESC" | undefined;
173
+ limit?: number | undefined;
174
+ isActive?: "true" | "false" | undefined;
178
175
  isDeactivated?: "true" | "false" | undefined;
179
176
  role?: string | undefined;
177
+ page?: number | undefined;
178
+ sortBy?: "firstName" | "lastName" | "createdAt" | undefined;
179
+ sortOrder?: "DESC" | "ASC" | undefined;
180
180
  };
181
181
  }, {
182
182
  query: {
183
- isActive?: "true" | "false" | undefined;
184
- page?: string | undefined;
185
- limit?: string | undefined;
186
183
  search?: string | undefined;
187
- sortBy?: "createdAt" | "firstName" | "lastName" | undefined;
188
- sortOrder?: "ASC" | "DESC" | undefined;
184
+ limit?: string | undefined;
185
+ isActive?: "true" | "false" | undefined;
189
186
  isDeactivated?: "true" | "false" | undefined;
190
187
  role?: string | undefined;
188
+ page?: string | undefined;
189
+ sortBy?: "firstName" | "lastName" | "createdAt" | undefined;
190
+ sortOrder?: "DESC" | "ASC" | undefined;
191
191
  };
192
192
  }>;
193
193
  export declare const hireAdminSchema: z.ZodObject<{
@@ -272,21 +272,21 @@ export declare const promoteAdminSchema: z.ZodObject<{
272
272
  password?: string | undefined;
273
273
  }>;
274
274
  }, "strip", z.ZodTypeAny, {
275
- params: {
276
- userId: string;
277
- };
278
275
  body: {
279
276
  targetRole: "ADMIN" | "SUPER_ADMIN";
280
277
  password?: string | undefined;
281
278
  };
282
- }, {
283
279
  params: {
284
280
  userId: string;
285
281
  };
282
+ }, {
286
283
  body: {
287
284
  targetRole: "ADMIN" | "SUPER_ADMIN";
288
285
  password?: string | undefined;
289
286
  };
287
+ params: {
288
+ userId: string;
289
+ };
290
290
  }>;
291
291
  export declare const demoteAdminSchema: z.ZodObject<{
292
292
  params: z.ZodObject<{
@@ -304,19 +304,19 @@ export declare const demoteAdminSchema: z.ZodObject<{
304
304
  targetRole: "ADMIN" | "AGENT";
305
305
  }>;
306
306
  }, "strip", z.ZodTypeAny, {
307
- params: {
308
- userId: string;
309
- };
310
307
  body: {
311
308
  targetRole: "ADMIN" | "AGENT";
312
309
  };
313
- }, {
314
310
  params: {
315
311
  userId: string;
316
312
  };
313
+ }, {
317
314
  body: {
318
315
  targetRole: "ADMIN" | "AGENT";
319
316
  };
317
+ params: {
318
+ userId: string;
319
+ };
320
320
  }>;
321
321
  export declare const fireEmployeeSchema: z.ZodObject<{
322
322
  params: z.ZodObject<{
@@ -334,19 +334,19 @@ export declare const fireEmployeeSchema: z.ZodObject<{
334
334
  reason?: string | undefined;
335
335
  }>;
336
336
  }, "strip", z.ZodTypeAny, {
337
- params: {
338
- userId: string;
339
- };
340
337
  body: {
341
338
  reason?: string | undefined;
342
339
  };
343
- }, {
344
340
  params: {
345
341
  userId: string;
346
342
  };
343
+ }, {
347
344
  body: {
348
345
  reason?: string | undefined;
349
346
  };
347
+ params: {
348
+ userId: string;
349
+ };
350
350
  }>;
351
351
  export declare const updateAdminSchema: z.ZodObject<{
352
352
  params: z.ZodObject<{
@@ -370,23 +370,23 @@ export declare const updateAdminSchema: z.ZodObject<{
370
370
  email?: string | undefined;
371
371
  }>;
372
372
  }, "strip", z.ZodTypeAny, {
373
- params: {
374
- userId: string;
375
- };
376
373
  body: {
377
374
  firstName?: string | undefined;
378
375
  lastName?: string | undefined;
379
376
  email?: string | undefined;
380
377
  };
381
- }, {
382
378
  params: {
383
379
  userId: string;
384
380
  };
381
+ }, {
385
382
  body: {
386
383
  firstName?: string | undefined;
387
384
  lastName?: string | undefined;
388
385
  email?: string | undefined;
389
386
  };
387
+ params: {
388
+ userId: string;
389
+ };
390
390
  }>;
391
391
  export declare const resetPasswordSchema: z.ZodObject<{
392
392
  params: z.ZodObject<{
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vr-commons",
3
- "version": "1.0.96",
3
+ "version": "1.0.97",
4
4
  "description": "Shared functions package",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",