vr-commons 1.0.148 → 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.
- package/dist/utils/admin.device.utils.d.ts +17 -0
- package/dist/utils/admin.device.utils.js +57 -0
- package/dist/validations/admin.devicePayment.validations.d.ts +24 -24
- package/dist/validations/admin.devices.validations.d.ts +137 -83
- package/dist/validations/admin.devices.validations.js +67 -36
- package/dist/validations/admin.installment.validations.d.ts +8 -8
- package/dist/validations/appSpecs.validations.d.ts +16 -16
- package/dist/validations/appeals.validations.d.ts +8 -8
- package/dist/validations/auth.validations.d.ts +8 -8
- package/dist/validations/bans.validations.d.ts +8 -8
- package/dist/validations/devicePaymentPlan.validations.d.ts +12 -12
- package/dist/validations/eventlogs.admin.validations.d.ts +15 -15
- package/dist/validations/index.d.ts +1 -1
- package/dist/validations/index.js +8 -7
- package/dist/validations/moderation.validations.d.ts +99 -99
- package/dist/validations/pricings.validations.d.ts +30 -30
- package/dist/validations/product.validations.d.ts +24 -24
- package/dist/validations/profiles.validations.d.ts +42 -42
- package/dist/validations/suspensions.validations.d.ts +8 -8
- package/dist/validations/users.admin.validations.d.ts +40 -40
- package/package.json +2 -2
|
@@ -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: "
|
|
202
|
+
operation: "set" | "increment" | "decrement";
|
|
203
203
|
}, {
|
|
204
204
|
amount: number;
|
|
205
|
-
operation: "
|
|
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: "
|
|
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: "
|
|
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: "
|
|
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: "
|
|
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: "
|
|
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: "
|
|
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: "
|
|
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?: "
|
|
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
|
-
|
|
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?: "
|
|
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?: "
|
|
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
|
-
|
|
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?: "
|
|
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
|
}>;
|