vr-commons 1.0.113 → 1.0.115

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.
@@ -9,7 +9,7 @@ export declare const upgradeToRiderSchema: z.ZodObject<{
9
9
  }>;
10
10
  body: z.ZodEffects<z.ZodObject<{
11
11
  jacketId: z.ZodString;
12
- phoneNumber: z.ZodString;
12
+ contactValue: z.ZodEffects<z.ZodString, string, string>;
13
13
  plateNumber: z.ZodOptional<z.ZodString>;
14
14
  gender: z.ZodEnum<["male", "female"]>;
15
15
  birthDate: z.ZodNumber;
@@ -21,7 +21,7 @@ export declare const upgradeToRiderSchema: z.ZodObject<{
21
21
  birthDate: number;
22
22
  birthMonth: number;
23
23
  birthYear: number;
24
- phoneNumber: string;
24
+ contactValue: string;
25
25
  plateNumber?: string | undefined;
26
26
  }, {
27
27
  jacketId: string;
@@ -29,7 +29,7 @@ export declare const upgradeToRiderSchema: z.ZodObject<{
29
29
  birthDate: number;
30
30
  birthMonth: number;
31
31
  birthYear: number;
32
- phoneNumber: string;
32
+ contactValue: string;
33
33
  plateNumber?: string | undefined;
34
34
  }>, {
35
35
  jacketId: string;
@@ -37,7 +37,7 @@ export declare const upgradeToRiderSchema: z.ZodObject<{
37
37
  birthDate: number;
38
38
  birthMonth: number;
39
39
  birthYear: number;
40
- phoneNumber: string;
40
+ contactValue: string;
41
41
  plateNumber?: string | undefined;
42
42
  }, {
43
43
  jacketId: string;
@@ -45,35 +45,35 @@ export declare const upgradeToRiderSchema: z.ZodObject<{
45
45
  birthDate: number;
46
46
  birthMonth: number;
47
47
  birthYear: number;
48
- phoneNumber: string;
48
+ contactValue: string;
49
49
  plateNumber?: string | undefined;
50
50
  }>;
51
51
  }, "strip", z.ZodTypeAny, {
52
+ params: {
53
+ userId: string;
54
+ };
52
55
  body: {
53
56
  jacketId: string;
54
57
  gender: "male" | "female";
55
58
  birthDate: number;
56
59
  birthMonth: number;
57
60
  birthYear: number;
58
- phoneNumber: string;
61
+ contactValue: string;
59
62
  plateNumber?: string | undefined;
60
63
  };
64
+ }, {
61
65
  params: {
62
66
  userId: string;
63
67
  };
64
- }, {
65
68
  body: {
66
69
  jacketId: string;
67
70
  gender: "male" | "female";
68
71
  birthDate: number;
69
72
  birthMonth: number;
70
73
  birthYear: number;
71
- phoneNumber: string;
74
+ contactValue: string;
72
75
  plateNumber?: string | undefined;
73
76
  };
74
- params: {
75
- userId: string;
76
- };
77
77
  }>;
78
78
  export declare const updateRiderSchema: z.ZodObject<{
79
79
  params: z.ZodObject<{
@@ -86,10 +86,9 @@ export declare const updateRiderSchema: z.ZodObject<{
86
86
  body: z.ZodEffects<z.ZodObject<{
87
87
  firstName: z.ZodOptional<z.ZodString>;
88
88
  lastName: z.ZodOptional<z.ZodString>;
89
- phoneNumber: z.ZodOptional<z.ZodString>;
89
+ contactValue: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
90
90
  jacketId: z.ZodOptional<z.ZodString>;
91
91
  plateNumber: z.ZodOptional<z.ZodString>;
92
- email: z.ZodOptional<z.ZodString>;
93
92
  gender: z.ZodOptional<z.ZodEnum<["male", "female"]>>;
94
93
  birthDate: z.ZodOptional<z.ZodNumber>;
95
94
  birthMonth: z.ZodOptional<z.ZodNumber>;
@@ -103,8 +102,7 @@ export declare const updateRiderSchema: z.ZodObject<{
103
102
  birthDate?: number | undefined;
104
103
  birthMonth?: number | undefined;
105
104
  birthYear?: number | undefined;
106
- email?: string | undefined;
107
- phoneNumber?: string | undefined;
105
+ contactValue?: string | undefined;
108
106
  }, {
109
107
  firstName?: string | undefined;
110
108
  lastName?: string | undefined;
@@ -114,8 +112,7 @@ export declare const updateRiderSchema: z.ZodObject<{
114
112
  birthDate?: number | undefined;
115
113
  birthMonth?: number | undefined;
116
114
  birthYear?: number | undefined;
117
- email?: string | undefined;
118
- phoneNumber?: string | undefined;
115
+ contactValue?: string | undefined;
119
116
  }>, {
120
117
  firstName?: string | undefined;
121
118
  lastName?: string | undefined;
@@ -125,8 +122,7 @@ export declare const updateRiderSchema: z.ZodObject<{
125
122
  birthDate?: number | undefined;
126
123
  birthMonth?: number | undefined;
127
124
  birthYear?: number | undefined;
128
- email?: string | undefined;
129
- phoneNumber?: string | undefined;
125
+ contactValue?: string | undefined;
130
126
  }, {
131
127
  firstName?: string | undefined;
132
128
  lastName?: string | undefined;
@@ -136,10 +132,12 @@ export declare const updateRiderSchema: z.ZodObject<{
136
132
  birthDate?: number | undefined;
137
133
  birthMonth?: number | undefined;
138
134
  birthYear?: number | undefined;
139
- email?: string | undefined;
140
- phoneNumber?: string | undefined;
135
+ contactValue?: string | undefined;
141
136
  }>;
142
137
  }, "strip", z.ZodTypeAny, {
138
+ params: {
139
+ userId: string;
140
+ };
143
141
  body: {
144
142
  firstName?: string | undefined;
145
143
  lastName?: string | undefined;
@@ -149,13 +147,12 @@ export declare const updateRiderSchema: z.ZodObject<{
149
147
  birthDate?: number | undefined;
150
148
  birthMonth?: number | undefined;
151
149
  birthYear?: number | undefined;
152
- email?: string | undefined;
153
- phoneNumber?: string | undefined;
150
+ contactValue?: string | undefined;
154
151
  };
152
+ }, {
155
153
  params: {
156
154
  userId: string;
157
155
  };
158
- }, {
159
156
  body: {
160
157
  firstName?: string | undefined;
161
158
  lastName?: string | undefined;
@@ -165,11 +162,7 @@ export declare const updateRiderSchema: z.ZodObject<{
165
162
  birthDate?: number | undefined;
166
163
  birthMonth?: number | undefined;
167
164
  birthYear?: number | undefined;
168
- email?: string | undefined;
169
- phoneNumber?: string | undefined;
170
- };
171
- params: {
172
- userId: string;
165
+ contactValue?: string | undefined;
173
166
  };
174
167
  }>;
175
168
  export declare const deleteUserSchema: z.ZodObject<{
@@ -215,6 +208,7 @@ export declare const getUsersSchema: z.ZodObject<{
215
208
  isDeactivated: z.ZodOptional<z.ZodEnum<["true", "false"]>>;
216
209
  role: z.ZodOptional<z.ZodString>;
217
210
  gender: z.ZodOptional<z.ZodEnum<["male", "female"]>>;
211
+ contactType: z.ZodOptional<z.ZodEnum<["EMAIL", "PHONE", "WHATSAPP"]>>;
218
212
  sortBy: z.ZodOptional<z.ZodEnum<["createdAt", "firstName", "lastName", "gender"]>>;
219
213
  sortOrder: z.ZodOptional<z.ZodEnum<["ASC", "DESC"]>>;
220
214
  }, "strip", z.ZodTypeAny, {
@@ -225,8 +219,9 @@ export declare const getUsersSchema: z.ZodObject<{
225
219
  isDeactivated?: "true" | "false" | undefined;
226
220
  role?: string | undefined;
227
221
  page?: number | undefined;
222
+ contactType?: "EMAIL" | "PHONE" | "WHATSAPP" | undefined;
228
223
  sortBy?: "firstName" | "lastName" | "gender" | "createdAt" | undefined;
229
- sortOrder?: "DESC" | "ASC" | undefined;
224
+ sortOrder?: "ASC" | "DESC" | undefined;
230
225
  }, {
231
226
  search?: string | undefined;
232
227
  limit?: string | undefined;
@@ -235,8 +230,9 @@ export declare const getUsersSchema: z.ZodObject<{
235
230
  isDeactivated?: "true" | "false" | undefined;
236
231
  role?: string | undefined;
237
232
  page?: string | undefined;
233
+ contactType?: "EMAIL" | "PHONE" | "WHATSAPP" | undefined;
238
234
  sortBy?: "firstName" | "lastName" | "gender" | "createdAt" | undefined;
239
- sortOrder?: "DESC" | "ASC" | undefined;
235
+ sortOrder?: "ASC" | "DESC" | undefined;
240
236
  }>;
241
237
  }, "strip", z.ZodTypeAny, {
242
238
  query: {
@@ -247,8 +243,9 @@ export declare const getUsersSchema: z.ZodObject<{
247
243
  isDeactivated?: "true" | "false" | undefined;
248
244
  role?: string | undefined;
249
245
  page?: number | undefined;
246
+ contactType?: "EMAIL" | "PHONE" | "WHATSAPP" | undefined;
250
247
  sortBy?: "firstName" | "lastName" | "gender" | "createdAt" | undefined;
251
- sortOrder?: "DESC" | "ASC" | undefined;
248
+ sortOrder?: "ASC" | "DESC" | undefined;
252
249
  };
253
250
  }, {
254
251
  query: {
@@ -259,16 +256,16 @@ export declare const getUsersSchema: z.ZodObject<{
259
256
  isDeactivated?: "true" | "false" | undefined;
260
257
  role?: string | undefined;
261
258
  page?: string | undefined;
259
+ contactType?: "EMAIL" | "PHONE" | "WHATSAPP" | undefined;
262
260
  sortBy?: "firstName" | "lastName" | "gender" | "createdAt" | undefined;
263
- sortOrder?: "DESC" | "ASC" | undefined;
261
+ sortOrder?: "ASC" | "DESC" | undefined;
264
262
  };
265
263
  }>;
266
264
  export declare const hireAdminSchema: z.ZodObject<{
267
265
  body: z.ZodEffects<z.ZodEffects<z.ZodObject<{
268
- email: z.ZodString;
266
+ contactValue: z.ZodEffects<z.ZodString, string, string>;
269
267
  firstName: z.ZodString;
270
268
  lastName: z.ZodString;
271
- phoneNumber: z.ZodString;
272
269
  password: z.ZodString;
273
270
  role: z.ZodEnum<["AGENT", "ADMIN", "SUPER_ADMIN"]>;
274
271
  superAdminPassword: z.ZodOptional<z.ZodString>;
@@ -285,8 +282,7 @@ export declare const hireAdminSchema: z.ZodObject<{
285
282
  birthMonth: number;
286
283
  birthYear: number;
287
284
  role: "ADMIN" | "AGENT" | "SUPER_ADMIN";
288
- email: string;
289
- phoneNumber: string;
285
+ contactValue: string;
290
286
  superAdminPassword?: string | undefined;
291
287
  }, {
292
288
  firstName: string;
@@ -297,8 +293,7 @@ export declare const hireAdminSchema: z.ZodObject<{
297
293
  birthMonth: number;
298
294
  birthYear: number;
299
295
  role: "ADMIN" | "AGENT" | "SUPER_ADMIN";
300
- email: string;
301
- phoneNumber: string;
296
+ contactValue: string;
302
297
  superAdminPassword?: string | undefined;
303
298
  }>, {
304
299
  firstName: string;
@@ -309,8 +304,7 @@ export declare const hireAdminSchema: z.ZodObject<{
309
304
  birthMonth: number;
310
305
  birthYear: number;
311
306
  role: "ADMIN" | "AGENT" | "SUPER_ADMIN";
312
- email: string;
313
- phoneNumber: string;
307
+ contactValue: string;
314
308
  superAdminPassword?: string | undefined;
315
309
  }, {
316
310
  firstName: string;
@@ -321,8 +315,7 @@ export declare const hireAdminSchema: z.ZodObject<{
321
315
  birthMonth: number;
322
316
  birthYear: number;
323
317
  role: "ADMIN" | "AGENT" | "SUPER_ADMIN";
324
- email: string;
325
- phoneNumber: string;
318
+ contactValue: string;
326
319
  superAdminPassword?: string | undefined;
327
320
  }>, {
328
321
  firstName: string;
@@ -333,8 +326,7 @@ export declare const hireAdminSchema: z.ZodObject<{
333
326
  birthMonth: number;
334
327
  birthYear: number;
335
328
  role: "ADMIN" | "AGENT" | "SUPER_ADMIN";
336
- email: string;
337
- phoneNumber: string;
329
+ contactValue: string;
338
330
  superAdminPassword?: string | undefined;
339
331
  }, {
340
332
  firstName: string;
@@ -345,8 +337,7 @@ export declare const hireAdminSchema: z.ZodObject<{
345
337
  birthMonth: number;
346
338
  birthYear: number;
347
339
  role: "ADMIN" | "AGENT" | "SUPER_ADMIN";
348
- email: string;
349
- phoneNumber: string;
340
+ contactValue: string;
350
341
  superAdminPassword?: string | undefined;
351
342
  }>;
352
343
  }, "strip", z.ZodTypeAny, {
@@ -359,8 +350,7 @@ export declare const hireAdminSchema: z.ZodObject<{
359
350
  birthMonth: number;
360
351
  birthYear: number;
361
352
  role: "ADMIN" | "AGENT" | "SUPER_ADMIN";
362
- email: string;
363
- phoneNumber: string;
353
+ contactValue: string;
364
354
  superAdminPassword?: string | undefined;
365
355
  };
366
356
  }, {
@@ -373,8 +363,7 @@ export declare const hireAdminSchema: z.ZodObject<{
373
363
  birthMonth: number;
374
364
  birthYear: number;
375
365
  role: "ADMIN" | "AGENT" | "SUPER_ADMIN";
376
- email: string;
377
- phoneNumber: string;
366
+ contactValue: string;
378
367
  superAdminPassword?: string | undefined;
379
368
  };
380
369
  }>;
@@ -397,21 +386,21 @@ export declare const promoteAdminSchema: z.ZodObject<{
397
386
  password?: string | undefined;
398
387
  }>;
399
388
  }, "strip", z.ZodTypeAny, {
389
+ params: {
390
+ userId: string;
391
+ };
400
392
  body: {
401
393
  targetRole: "ADMIN" | "SUPER_ADMIN";
402
394
  password?: string | undefined;
403
395
  };
396
+ }, {
404
397
  params: {
405
398
  userId: string;
406
399
  };
407
- }, {
408
400
  body: {
409
401
  targetRole: "ADMIN" | "SUPER_ADMIN";
410
402
  password?: string | undefined;
411
403
  };
412
- params: {
413
- userId: string;
414
- };
415
404
  }>;
416
405
  export declare const demoteAdminSchema: z.ZodObject<{
417
406
  params: z.ZodObject<{
@@ -429,19 +418,19 @@ export declare const demoteAdminSchema: z.ZodObject<{
429
418
  targetRole: "ADMIN" | "AGENT";
430
419
  }>;
431
420
  }, "strip", z.ZodTypeAny, {
432
- body: {
433
- targetRole: "ADMIN" | "AGENT";
434
- };
435
421
  params: {
436
422
  userId: string;
437
423
  };
438
- }, {
439
424
  body: {
440
425
  targetRole: "ADMIN" | "AGENT";
441
426
  };
427
+ }, {
442
428
  params: {
443
429
  userId: string;
444
430
  };
431
+ body: {
432
+ targetRole: "ADMIN" | "AGENT";
433
+ };
445
434
  }>;
446
435
  export declare const fireEmployeeSchema: z.ZodObject<{
447
436
  params: z.ZodObject<{
@@ -459,19 +448,19 @@ export declare const fireEmployeeSchema: z.ZodObject<{
459
448
  reason?: string | undefined;
460
449
  }>;
461
450
  }, "strip", z.ZodTypeAny, {
462
- body: {
463
- reason?: string | undefined;
464
- };
465
451
  params: {
466
452
  userId: string;
467
453
  };
468
- }, {
469
454
  body: {
470
455
  reason?: string | undefined;
471
456
  };
457
+ }, {
472
458
  params: {
473
459
  userId: string;
474
460
  };
461
+ body: {
462
+ reason?: string | undefined;
463
+ };
475
464
  }>;
476
465
  export declare const updateAdminSchema: z.ZodObject<{
477
466
  params: z.ZodObject<{
@@ -484,7 +473,7 @@ export declare const updateAdminSchema: z.ZodObject<{
484
473
  body: z.ZodEffects<z.ZodObject<{
485
474
  firstName: z.ZodOptional<z.ZodString>;
486
475
  lastName: z.ZodOptional<z.ZodString>;
487
- email: z.ZodOptional<z.ZodString>;
476
+ contactValue: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
488
477
  gender: z.ZodOptional<z.ZodEnum<["male", "female"]>>;
489
478
  birthDate: z.ZodOptional<z.ZodNumber>;
490
479
  birthMonth: z.ZodOptional<z.ZodNumber>;
@@ -496,7 +485,7 @@ export declare const updateAdminSchema: z.ZodObject<{
496
485
  birthDate?: number | undefined;
497
486
  birthMonth?: number | undefined;
498
487
  birthYear?: number | undefined;
499
- email?: string | undefined;
488
+ contactValue?: string | undefined;
500
489
  }, {
501
490
  firstName?: string | undefined;
502
491
  lastName?: string | undefined;
@@ -504,7 +493,7 @@ export declare const updateAdminSchema: z.ZodObject<{
504
493
  birthDate?: number | undefined;
505
494
  birthMonth?: number | undefined;
506
495
  birthYear?: number | undefined;
507
- email?: string | undefined;
496
+ contactValue?: string | undefined;
508
497
  }>, {
509
498
  firstName?: string | undefined;
510
499
  lastName?: string | undefined;
@@ -512,7 +501,7 @@ export declare const updateAdminSchema: z.ZodObject<{
512
501
  birthDate?: number | undefined;
513
502
  birthMonth?: number | undefined;
514
503
  birthYear?: number | undefined;
515
- email?: string | undefined;
504
+ contactValue?: string | undefined;
516
505
  }, {
517
506
  firstName?: string | undefined;
518
507
  lastName?: string | undefined;
@@ -520,9 +509,12 @@ export declare const updateAdminSchema: z.ZodObject<{
520
509
  birthDate?: number | undefined;
521
510
  birthMonth?: number | undefined;
522
511
  birthYear?: number | undefined;
523
- email?: string | undefined;
512
+ contactValue?: string | undefined;
524
513
  }>;
525
514
  }, "strip", z.ZodTypeAny, {
515
+ params: {
516
+ userId: string;
517
+ };
526
518
  body: {
527
519
  firstName?: string | undefined;
528
520
  lastName?: string | undefined;
@@ -530,12 +522,12 @@ export declare const updateAdminSchema: z.ZodObject<{
530
522
  birthDate?: number | undefined;
531
523
  birthMonth?: number | undefined;
532
524
  birthYear?: number | undefined;
533
- email?: string | undefined;
525
+ contactValue?: string | undefined;
534
526
  };
527
+ }, {
535
528
  params: {
536
529
  userId: string;
537
530
  };
538
- }, {
539
531
  body: {
540
532
  firstName?: string | undefined;
541
533
  lastName?: string | undefined;
@@ -543,26 +535,185 @@ export declare const updateAdminSchema: z.ZodObject<{
543
535
  birthDate?: number | undefined;
544
536
  birthMonth?: number | undefined;
545
537
  birthYear?: number | undefined;
546
- email?: string | undefined;
538
+ contactValue?: string | undefined;
547
539
  };
540
+ }>;
541
+ export declare const resetPasswordSchema: z.ZodObject<{
542
+ params: z.ZodObject<{
543
+ userId: z.ZodString;
544
+ }, "strip", z.ZodTypeAny, {
545
+ userId: string;
546
+ }, {
547
+ userId: string;
548
+ }>;
549
+ }, "strip", z.ZodTypeAny, {
550
+ params: {
551
+ userId: string;
552
+ };
553
+ }, {
548
554
  params: {
549
555
  userId: string;
550
556
  };
551
557
  }>;
552
- export declare const resetPasswordSchema: z.ZodObject<{
558
+ export declare const bulkResetPasswordsSchema: z.ZodObject<{
559
+ body: z.ZodObject<{
560
+ userIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
561
+ allUsers: z.ZodOptional<z.ZodBoolean>;
562
+ }, "strip", z.ZodTypeAny, {
563
+ userIds?: string[] | undefined;
564
+ allUsers?: boolean | undefined;
565
+ }, {
566
+ userIds?: string[] | undefined;
567
+ allUsers?: boolean | undefined;
568
+ }>;
569
+ headers: z.ZodObject<{
570
+ authorization: z.ZodString;
571
+ }, "strip", z.ZodTypeAny, {
572
+ authorization: string;
573
+ }, {
574
+ authorization: string;
575
+ }>;
576
+ }, "strip", z.ZodTypeAny, {
577
+ body: {
578
+ userIds?: string[] | undefined;
579
+ allUsers?: boolean | undefined;
580
+ };
581
+ headers: {
582
+ authorization: string;
583
+ };
584
+ }, {
585
+ body: {
586
+ userIds?: string[] | undefined;
587
+ allUsers?: boolean | undefined;
588
+ };
589
+ headers: {
590
+ authorization: string;
591
+ };
592
+ }>;
593
+ export declare const addUserContactSchema: z.ZodObject<{
594
+ params: z.ZodObject<{
595
+ userId: z.ZodString;
596
+ }, "strip", z.ZodTypeAny, {
597
+ userId: string;
598
+ }, {
599
+ userId: string;
600
+ }>;
601
+ body: z.ZodObject<{
602
+ contactValue: z.ZodEffects<z.ZodString, string, string>;
603
+ type: z.ZodOptional<z.ZodEnum<["EMAIL", "PHONE", "WHATSAPP"]>>;
604
+ isVerified: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
605
+ isPrimary: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
606
+ }, "strip", z.ZodTypeAny, {
607
+ contactValue: string;
608
+ type?: "EMAIL" | "PHONE" | "WHATSAPP" | undefined;
609
+ isVerified?: boolean | undefined;
610
+ isPrimary?: boolean | undefined;
611
+ }, {
612
+ contactValue: string;
613
+ type?: "EMAIL" | "PHONE" | "WHATSAPP" | undefined;
614
+ isVerified?: boolean | undefined;
615
+ isPrimary?: boolean | undefined;
616
+ }>;
617
+ }, "strip", z.ZodTypeAny, {
618
+ params: {
619
+ userId: string;
620
+ };
621
+ body: {
622
+ contactValue: string;
623
+ type?: "EMAIL" | "PHONE" | "WHATSAPP" | undefined;
624
+ isVerified?: boolean | undefined;
625
+ isPrimary?: boolean | undefined;
626
+ };
627
+ }, {
628
+ params: {
629
+ userId: string;
630
+ };
631
+ body: {
632
+ contactValue: string;
633
+ type?: "EMAIL" | "PHONE" | "WHATSAPP" | undefined;
634
+ isVerified?: boolean | undefined;
635
+ isPrimary?: boolean | undefined;
636
+ };
637
+ }>;
638
+ export declare const verifyUserContactSchema: z.ZodObject<{
639
+ params: z.ZodObject<{
640
+ userId: z.ZodString;
641
+ contactId: z.ZodString;
642
+ }, "strip", z.ZodTypeAny, {
643
+ userId: string;
644
+ contactId: string;
645
+ }, {
646
+ userId: string;
647
+ contactId: string;
648
+ }>;
649
+ }, "strip", z.ZodTypeAny, {
650
+ params: {
651
+ userId: string;
652
+ contactId: string;
653
+ };
654
+ }, {
655
+ params: {
656
+ userId: string;
657
+ contactId: string;
658
+ };
659
+ }>;
660
+ export declare const deleteUserContactSchema: z.ZodObject<{
661
+ params: z.ZodObject<{
662
+ userId: z.ZodString;
663
+ contactId: z.ZodString;
664
+ }, "strip", z.ZodTypeAny, {
665
+ userId: string;
666
+ contactId: string;
667
+ }, {
668
+ userId: string;
669
+ contactId: string;
670
+ }>;
671
+ }, "strip", z.ZodTypeAny, {
672
+ params: {
673
+ userId: string;
674
+ contactId: string;
675
+ };
676
+ }, {
677
+ params: {
678
+ userId: string;
679
+ contactId: string;
680
+ };
681
+ }>;
682
+ export declare const setUserPrimaryContactSchema: z.ZodObject<{
553
683
  params: z.ZodObject<{
554
684
  userId: z.ZodString;
685
+ contactId: z.ZodString;
555
686
  }, "strip", z.ZodTypeAny, {
556
687
  userId: string;
688
+ contactId: string;
557
689
  }, {
558
690
  userId: string;
691
+ contactId: string;
559
692
  }>;
560
693
  }, "strip", z.ZodTypeAny, {
561
694
  params: {
562
695
  userId: string;
696
+ contactId: string;
563
697
  };
564
698
  }, {
565
699
  params: {
566
700
  userId: string;
701
+ contactId: string;
567
702
  };
568
703
  }>;
704
+ export type UpgradeToRiderInput = z.infer<typeof upgradeToRiderSchema>;
705
+ export type UpdateRiderInput = z.infer<typeof updateRiderSchema>;
706
+ export type DeleteUserInput = z.infer<typeof deleteUserSchema>;
707
+ export type GetUserInput = z.infer<typeof getUserSchema>;
708
+ export type GetUsersInput = z.infer<typeof getUsersSchema>;
709
+ export type HireAdminInput = z.infer<typeof hireAdminSchema>;
710
+ export type PromoteAdminInput = z.infer<typeof promoteAdminSchema>;
711
+ export type DemoteAdminInput = z.infer<typeof demoteAdminSchema>;
712
+ export type FireEmployeeInput = z.infer<typeof fireEmployeeSchema>;
713
+ export type UpdateAdminInput = z.infer<typeof updateAdminSchema>;
714
+ export type ResetPasswordInput = z.infer<typeof resetPasswordSchema>;
715
+ export type BulkResetPasswordsInput = z.infer<typeof bulkResetPasswordsSchema>;
716
+ export type AddUserContactInput = z.infer<typeof addUserContactSchema>;
717
+ export type VerifyUserContactInput = z.infer<typeof verifyUserContactSchema>;
718
+ export type DeleteUserContactInput = z.infer<typeof deleteUserContactSchema>;
719
+ export type SetUserPrimaryContactInput = z.infer<typeof setUserPrimaryContactSchema>;