vr-commons 1.0.133 → 1.0.134

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.
@@ -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
  firstName?: string | undefined;
246
249
  lastName?: 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
  firstName?: string | undefined;
266
269
  lastName?: 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
+ sortBy: "createdAt" | "firstName" | "gender" | "lastLoginAt";
299
300
  order: "asc" | "desc";
300
- sortBy: "firstName" | "gender" | "lastLoginAt" | "createdAt";
301
- search?: string | undefined;
301
+ page?: number | undefined;
302
302
  limit?: number | undefined;
303
+ search?: string | undefined;
303
304
  gender?: "male" | "female" | undefined;
304
305
  isActive?: boolean | undefined;
305
306
  isDeactivated?: boolean | undefined;
306
307
  role?: "ADMIN" | "PASSENGER" | "RIDER" | "AGENT" | "SUPER_ADMIN" | undefined;
307
- page?: number | undefined;
308
308
  contactType?: "EMAIL" | "PHONE" | "WHATSAPP" | undefined;
309
309
  startDate?: string | undefined;
310
310
  endDate?: string | undefined;
311
311
  }, {
312
+ page?: string | undefined;
313
+ limit?: string | undefined;
312
314
  search?: string | undefined;
315
+ sortBy?: "createdAt" | "firstName" | "gender" | "lastLoginAt" | undefined;
313
316
  order?: "asc" | "desc" | undefined;
314
- limit?: string | undefined;
315
317
  gender?: "male" | "female" | undefined;
316
318
  isActive?: "true" | "false" | undefined;
317
319
  isDeactivated?: "true" | "false" | undefined;
318
320
  role?: "ADMIN" | "PASSENGER" | "RIDER" | "AGENT" | "SUPER_ADMIN" | undefined;
319
- page?: string | undefined;
320
321
  contactType?: "EMAIL" | "PHONE" | "WHATSAPP" | undefined;
321
322
  startDate?: string | undefined;
322
323
  endDate?: string | undefined;
323
- sortBy?: "firstName" | "gender" | "lastLoginAt" | "createdAt" | 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
+ sortBy: "createdAt" | "firstName" | "gender" | "lastLoginAt";
334
335
  order: "asc" | "desc";
335
- sortBy: "firstName" | "gender" | "lastLoginAt" | "createdAt";
336
- search?: string | undefined;
336
+ page?: number | undefined;
337
337
  limit?: number | undefined;
338
+ search?: string | undefined;
338
339
  gender?: "male" | "female" | undefined;
339
340
  isActive?: boolean | undefined;
340
341
  isDeactivated?: boolean | undefined;
341
342
  role?: "ADMIN" | "PASSENGER" | "RIDER" | "AGENT" | "SUPER_ADMIN" | undefined;
342
- page?: number | 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
+ page?: string | undefined;
353
+ limit?: string | undefined;
352
354
  search?: string | undefined;
355
+ sortBy?: "createdAt" | "firstName" | "gender" | "lastLoginAt" | undefined;
353
356
  order?: "asc" | "desc" | undefined;
354
- limit?: string | undefined;
355
357
  gender?: "male" | "female" | undefined;
356
358
  isActive?: "true" | "false" | undefined;
357
359
  isDeactivated?: "true" | "false" | undefined;
358
360
  role?: "ADMIN" | "PASSENGER" | "RIDER" | "AGENT" | "SUPER_ADMIN" | undefined;
359
- page?: string | undefined;
360
361
  contactType?: "EMAIL" | "PHONE" | "WHATSAPP" | undefined;
361
362
  startDate?: string | undefined;
362
363
  endDate?: string | undefined;
363
- sortBy?: "firstName" | "gender" | "lastLoginAt" | "createdAt" | 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
  }>;
@@ -16,36 +16,36 @@ export declare const upgradeToRiderSchema: z.ZodObject<{
16
16
  birthMonth: z.ZodNumber;
17
17
  birthYear: z.ZodNumber;
18
18
  }, "strip", z.ZodTypeAny, {
19
+ jacketId: string;
19
20
  gender: "male" | "female";
20
21
  birthDate: number;
21
22
  birthMonth: number;
22
23
  birthYear: number;
23
24
  contactValue: string;
24
- jacketId: string;
25
25
  plateNumber?: string | undefined;
26
26
  }, {
27
+ jacketId: string;
27
28
  gender: "male" | "female";
28
29
  birthDate: number;
29
30
  birthMonth: number;
30
31
  birthYear: number;
31
32
  contactValue: string;
32
- jacketId: string;
33
33
  plateNumber?: string | undefined;
34
34
  }>, {
35
+ jacketId: string;
35
36
  gender: "male" | "female";
36
37
  birthDate: number;
37
38
  birthMonth: number;
38
39
  birthYear: number;
39
40
  contactValue: string;
40
- jacketId: string;
41
41
  plateNumber?: string | undefined;
42
42
  }, {
43
+ jacketId: string;
43
44
  gender: "male" | "female";
44
45
  birthDate: number;
45
46
  birthMonth: number;
46
47
  birthYear: number;
47
48
  contactValue: string;
48
- jacketId: string;
49
49
  plateNumber?: string | undefined;
50
50
  }>;
51
51
  }, "strip", z.ZodTypeAny, {
@@ -53,12 +53,12 @@ export declare const upgradeToRiderSchema: z.ZodObject<{
53
53
  userId: string;
54
54
  };
55
55
  body: {
56
+ jacketId: string;
56
57
  gender: "male" | "female";
57
58
  birthDate: number;
58
59
  birthMonth: number;
59
60
  birthYear: number;
60
61
  contactValue: string;
61
- jacketId: string;
62
62
  plateNumber?: string | undefined;
63
63
  };
64
64
  }, {
@@ -66,12 +66,12 @@ export declare const upgradeToRiderSchema: z.ZodObject<{
66
66
  userId: string;
67
67
  };
68
68
  body: {
69
+ jacketId: string;
69
70
  gender: "male" | "female";
70
71
  birthDate: number;
71
72
  birthMonth: number;
72
73
  birthYear: number;
73
74
  contactValue: string;
74
- jacketId: string;
75
75
  plateNumber?: string | undefined;
76
76
  };
77
77
  }>;
@@ -96,43 +96,43 @@ export declare const updateRiderSchema: z.ZodObject<{
96
96
  }, "strip", z.ZodTypeAny, {
97
97
  firstName?: string | undefined;
98
98
  lastName?: string | undefined;
99
+ jacketId?: string | undefined;
99
100
  plateNumber?: string | undefined;
100
101
  gender?: "male" | "female" | undefined;
101
102
  birthDate?: number | undefined;
102
103
  birthMonth?: number | undefined;
103
104
  birthYear?: number | undefined;
104
105
  contactValue?: string | undefined;
105
- jacketId?: string | undefined;
106
106
  }, {
107
107
  firstName?: string | undefined;
108
108
  lastName?: string | undefined;
109
+ jacketId?: string | undefined;
109
110
  plateNumber?: string | undefined;
110
111
  gender?: "male" | "female" | undefined;
111
112
  birthDate?: number | undefined;
112
113
  birthMonth?: number | undefined;
113
114
  birthYear?: number | undefined;
114
115
  contactValue?: string | undefined;
115
- jacketId?: string | undefined;
116
116
  }>, {
117
117
  firstName?: string | undefined;
118
118
  lastName?: string | undefined;
119
+ jacketId?: string | undefined;
119
120
  plateNumber?: string | undefined;
120
121
  gender?: "male" | "female" | undefined;
121
122
  birthDate?: number | undefined;
122
123
  birthMonth?: number | undefined;
123
124
  birthYear?: number | undefined;
124
125
  contactValue?: string | undefined;
125
- jacketId?: string | undefined;
126
126
  }, {
127
127
  firstName?: string | undefined;
128
128
  lastName?: string | undefined;
129
+ jacketId?: string | undefined;
129
130
  plateNumber?: string | undefined;
130
131
  gender?: "male" | "female" | undefined;
131
132
  birthDate?: number | undefined;
132
133
  birthMonth?: number | undefined;
133
134
  birthYear?: number | undefined;
134
135
  contactValue?: string | undefined;
135
- jacketId?: string | undefined;
136
136
  }>;
137
137
  }, "strip", z.ZodTypeAny, {
138
138
  params: {
@@ -141,13 +141,13 @@ export declare const updateRiderSchema: z.ZodObject<{
141
141
  body: {
142
142
  firstName?: string | undefined;
143
143
  lastName?: string | undefined;
144
+ jacketId?: string | undefined;
144
145
  plateNumber?: string | undefined;
145
146
  gender?: "male" | "female" | undefined;
146
147
  birthDate?: number | undefined;
147
148
  birthMonth?: number | undefined;
148
149
  birthYear?: number | undefined;
149
150
  contactValue?: string | undefined;
150
- jacketId?: string | undefined;
151
151
  };
152
152
  }, {
153
153
  params: {
@@ -156,13 +156,13 @@ export declare const updateRiderSchema: z.ZodObject<{
156
156
  body: {
157
157
  firstName?: string | undefined;
158
158
  lastName?: string | undefined;
159
+ jacketId?: string | undefined;
159
160
  plateNumber?: string | undefined;
160
161
  gender?: "male" | "female" | undefined;
161
162
  birthDate?: number | undefined;
162
163
  birthMonth?: number | undefined;
163
164
  birthYear?: number | undefined;
164
165
  contactValue?: string | undefined;
165
- jacketId?: string | undefined;
166
166
  };
167
167
  }>;
168
168
  export declare const deleteUserSchema: z.ZodObject<{
@@ -212,53 +212,53 @@ export declare const getUsersSchema: z.ZodObject<{
212
212
  sortBy: z.ZodOptional<z.ZodEnum<["createdAt", "firstName", "lastName", "gender"]>>;
213
213
  sortOrder: z.ZodOptional<z.ZodEnum<["ASC", "DESC"]>>;
214
214
  }, "strip", z.ZodTypeAny, {
215
- gender?: "male" | "female" | undefined;
216
215
  page?: number | undefined;
217
216
  limit?: number | undefined;
218
217
  search?: string | undefined;
218
+ sortBy?: "createdAt" | "firstName" | "lastName" | "gender" | undefined;
219
+ sortOrder?: "ASC" | "DESC" | undefined;
220
+ gender?: "male" | "female" | undefined;
219
221
  isActive?: "true" | "false" | undefined;
220
222
  isDeactivated?: "true" | "false" | undefined;
221
223
  role?: string | undefined;
222
224
  contactType?: "EMAIL" | "PHONE" | "WHATSAPP" | undefined;
223
- sortBy?: "firstName" | "lastName" | "gender" | "createdAt" | undefined;
224
- sortOrder?: "ASC" | "DESC" | undefined;
225
225
  }, {
226
- gender?: "male" | "female" | undefined;
227
226
  page?: string | undefined;
228
227
  limit?: string | undefined;
229
228
  search?: string | undefined;
229
+ sortBy?: "createdAt" | "firstName" | "lastName" | "gender" | undefined;
230
+ sortOrder?: "ASC" | "DESC" | undefined;
231
+ gender?: "male" | "female" | undefined;
230
232
  isActive?: "true" | "false" | undefined;
231
233
  isDeactivated?: "true" | "false" | undefined;
232
234
  role?: string | undefined;
233
235
  contactType?: "EMAIL" | "PHONE" | "WHATSAPP" | undefined;
234
- sortBy?: "firstName" | "lastName" | "gender" | "createdAt" | undefined;
235
- sortOrder?: "ASC" | "DESC" | undefined;
236
236
  }>;
237
237
  }, "strip", z.ZodTypeAny, {
238
238
  query: {
239
- gender?: "male" | "female" | undefined;
240
239
  page?: number | undefined;
241
240
  limit?: number | undefined;
242
241
  search?: string | undefined;
242
+ sortBy?: "createdAt" | "firstName" | "lastName" | "gender" | undefined;
243
+ sortOrder?: "ASC" | "DESC" | undefined;
244
+ gender?: "male" | "female" | undefined;
243
245
  isActive?: "true" | "false" | undefined;
244
246
  isDeactivated?: "true" | "false" | undefined;
245
247
  role?: string | undefined;
246
248
  contactType?: "EMAIL" | "PHONE" | "WHATSAPP" | undefined;
247
- sortBy?: "firstName" | "lastName" | "gender" | "createdAt" | undefined;
248
- sortOrder?: "ASC" | "DESC" | undefined;
249
249
  };
250
250
  }, {
251
251
  query: {
252
- gender?: "male" | "female" | undefined;
253
252
  page?: string | undefined;
254
253
  limit?: string | undefined;
255
254
  search?: string | undefined;
255
+ sortBy?: "createdAt" | "firstName" | "lastName" | "gender" | undefined;
256
+ sortOrder?: "ASC" | "DESC" | undefined;
257
+ gender?: "male" | "female" | undefined;
256
258
  isActive?: "true" | "false" | undefined;
257
259
  isDeactivated?: "true" | "false" | undefined;
258
260
  role?: string | undefined;
259
261
  contactType?: "EMAIL" | "PHONE" | "WHATSAPP" | undefined;
260
- sortBy?: "firstName" | "lastName" | "gender" | "createdAt" | undefined;
261
- sortOrder?: "ASC" | "DESC" | undefined;
262
262
  };
263
263
  }>;
264
264
  export declare const hireAdminSchema: z.ZodObject<{
@@ -279,8 +279,8 @@ export declare const hireAdminSchema: z.ZodObject<{
279
279
  birthDate: number;
280
280
  birthMonth: number;
281
281
  birthYear: number;
282
+ role: "ADMIN" | "AGENT" | "SUPER_ADMIN";
282
283
  contactValue: string;
283
- role: "AGENT" | "ADMIN" | "SUPER_ADMIN";
284
284
  superAdminPassword?: string | undefined;
285
285
  }, {
286
286
  firstName: string;
@@ -289,8 +289,8 @@ export declare const hireAdminSchema: z.ZodObject<{
289
289
  birthDate: number;
290
290
  birthMonth: number;
291
291
  birthYear: number;
292
+ role: "ADMIN" | "AGENT" | "SUPER_ADMIN";
292
293
  contactValue: string;
293
- role: "AGENT" | "ADMIN" | "SUPER_ADMIN";
294
294
  superAdminPassword?: string | undefined;
295
295
  }>, {
296
296
  firstName: string;
@@ -299,8 +299,8 @@ export declare const hireAdminSchema: z.ZodObject<{
299
299
  birthDate: number;
300
300
  birthMonth: number;
301
301
  birthYear: number;
302
+ role: "ADMIN" | "AGENT" | "SUPER_ADMIN";
302
303
  contactValue: string;
303
- role: "AGENT" | "ADMIN" | "SUPER_ADMIN";
304
304
  superAdminPassword?: string | undefined;
305
305
  }, {
306
306
  firstName: string;
@@ -309,8 +309,8 @@ export declare const hireAdminSchema: z.ZodObject<{
309
309
  birthDate: number;
310
310
  birthMonth: number;
311
311
  birthYear: number;
312
+ role: "ADMIN" | "AGENT" | "SUPER_ADMIN";
312
313
  contactValue: string;
313
- role: "AGENT" | "ADMIN" | "SUPER_ADMIN";
314
314
  superAdminPassword?: string | undefined;
315
315
  }>, {
316
316
  firstName: string;
@@ -319,8 +319,8 @@ export declare const hireAdminSchema: z.ZodObject<{
319
319
  birthDate: number;
320
320
  birthMonth: number;
321
321
  birthYear: number;
322
+ role: "ADMIN" | "AGENT" | "SUPER_ADMIN";
322
323
  contactValue: string;
323
- role: "AGENT" | "ADMIN" | "SUPER_ADMIN";
324
324
  superAdminPassword?: string | undefined;
325
325
  }, {
326
326
  firstName: string;
@@ -329,8 +329,8 @@ export declare const hireAdminSchema: z.ZodObject<{
329
329
  birthDate: number;
330
330
  birthMonth: number;
331
331
  birthYear: number;
332
+ role: "ADMIN" | "AGENT" | "SUPER_ADMIN";
332
333
  contactValue: string;
333
- role: "AGENT" | "ADMIN" | "SUPER_ADMIN";
334
334
  superAdminPassword?: string | undefined;
335
335
  }>;
336
336
  }, "strip", z.ZodTypeAny, {
@@ -341,8 +341,8 @@ export declare const hireAdminSchema: z.ZodObject<{
341
341
  birthDate: number;
342
342
  birthMonth: number;
343
343
  birthYear: number;
344
+ role: "ADMIN" | "AGENT" | "SUPER_ADMIN";
344
345
  contactValue: string;
345
- role: "AGENT" | "ADMIN" | "SUPER_ADMIN";
346
346
  superAdminPassword?: string | undefined;
347
347
  };
348
348
  }, {
@@ -353,8 +353,8 @@ export declare const hireAdminSchema: z.ZodObject<{
353
353
  birthDate: number;
354
354
  birthMonth: number;
355
355
  birthYear: number;
356
+ role: "ADMIN" | "AGENT" | "SUPER_ADMIN";
356
357
  contactValue: string;
357
- role: "AGENT" | "ADMIN" | "SUPER_ADMIN";
358
358
  superAdminPassword?: string | undefined;
359
359
  };
360
360
  }>;
@@ -404,23 +404,23 @@ export declare const demoteAdminSchema: z.ZodObject<{
404
404
  body: z.ZodObject<{
405
405
  targetRole: z.ZodEnum<["AGENT", "ADMIN"]>;
406
406
  }, "strip", z.ZodTypeAny, {
407
- targetRole: "AGENT" | "ADMIN";
407
+ targetRole: "ADMIN" | "AGENT";
408
408
  }, {
409
- targetRole: "AGENT" | "ADMIN";
409
+ targetRole: "ADMIN" | "AGENT";
410
410
  }>;
411
411
  }, "strip", z.ZodTypeAny, {
412
412
  params: {
413
413
  userId: string;
414
414
  };
415
415
  body: {
416
- targetRole: "AGENT" | "ADMIN";
416
+ targetRole: "ADMIN" | "AGENT";
417
417
  };
418
418
  }, {
419
419
  params: {
420
420
  userId: string;
421
421
  };
422
422
  body: {
423
- targetRole: "AGENT" | "ADMIN";
423
+ targetRole: "ADMIN" | "AGENT";
424
424
  };
425
425
  }>;
426
426
  export declare const fireEmployeeSchema: z.ZodObject<{
@@ -631,21 +631,21 @@ export declare const verifyUserContactSchema: z.ZodObject<{
631
631
  userId: z.ZodString;
632
632
  contactId: z.ZodString;
633
633
  }, "strip", z.ZodTypeAny, {
634
- contactId: string;
635
634
  userId: string;
636
- }, {
637
635
  contactId: string;
636
+ }, {
638
637
  userId: string;
638
+ contactId: string;
639
639
  }>;
640
640
  }, "strip", z.ZodTypeAny, {
641
641
  params: {
642
- contactId: string;
643
642
  userId: string;
643
+ contactId: string;
644
644
  };
645
645
  }, {
646
646
  params: {
647
- contactId: string;
648
647
  userId: string;
648
+ contactId: string;
649
649
  };
650
650
  }>;
651
651
  export declare const deleteUserContactSchema: z.ZodObject<{
@@ -653,21 +653,21 @@ export declare const deleteUserContactSchema: z.ZodObject<{
653
653
  userId: z.ZodString;
654
654
  contactId: z.ZodString;
655
655
  }, "strip", z.ZodTypeAny, {
656
- contactId: string;
657
656
  userId: string;
658
- }, {
659
657
  contactId: string;
658
+ }, {
660
659
  userId: string;
660
+ contactId: string;
661
661
  }>;
662
662
  }, "strip", z.ZodTypeAny, {
663
663
  params: {
664
- contactId: string;
665
664
  userId: string;
665
+ contactId: string;
666
666
  };
667
667
  }, {
668
668
  params: {
669
- contactId: string;
670
669
  userId: string;
670
+ contactId: string;
671
671
  };
672
672
  }>;
673
673
  export declare const setUserPrimaryContactSchema: z.ZodObject<{
@@ -675,21 +675,21 @@ export declare const setUserPrimaryContactSchema: z.ZodObject<{
675
675
  userId: z.ZodString;
676
676
  contactId: z.ZodString;
677
677
  }, "strip", z.ZodTypeAny, {
678
- contactId: string;
679
678
  userId: string;
680
- }, {
681
679
  contactId: string;
680
+ }, {
682
681
  userId: string;
682
+ contactId: string;
683
683
  }>;
684
684
  }, "strip", z.ZodTypeAny, {
685
685
  params: {
686
- contactId: string;
687
686
  userId: string;
687
+ contactId: string;
688
688
  };
689
689
  }, {
690
690
  params: {
691
- contactId: string;
692
691
  userId: string;
692
+ contactId: string;
693
693
  };
694
694
  }>;
695
695
  export type UpgradeToRiderInput = z.infer<typeof upgradeToRiderSchema>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vr-commons",
3
- "version": "1.0.133",
3
+ "version": "1.0.134",
4
4
  "description": "Shared functions package",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
@@ -103,7 +103,7 @@
103
103
  "rimraf": "^5.0.5",
104
104
  "streamifier": "^0.1.1",
105
105
  "typescript": "^5.3.3",
106
- "vr-models": "^1.0.66",
106
+ "vr-models": "^1.0.67",
107
107
  "zod": "^3.25.20"
108
108
  },
109
109
  "dependencies": {