vr-commons 1.0.127 → 1.0.128
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/validations/account.validations.d.ts +4 -4
- package/dist/validations/admin.devicePayment.validations.d.ts +50 -50
- package/dist/validations/auth.validations.d.ts +36 -36
- package/dist/validations/profiles.validations.d.ts +122 -122
- package/dist/validations/users.admin.validations.d.ts +108 -108
- package/package.json +2 -2
|
@@ -16,64 +16,64 @@ export declare const upgradeToRiderSchema: z.ZodObject<{
|
|
|
16
16
|
birthMonth: z.ZodNumber;
|
|
17
17
|
birthYear: z.ZodNumber;
|
|
18
18
|
}, "strip", z.ZodTypeAny, {
|
|
19
|
-
|
|
19
|
+
jacketId: string;
|
|
20
20
|
gender: "male" | "female";
|
|
21
21
|
birthDate: number;
|
|
22
22
|
birthMonth: number;
|
|
23
23
|
birthYear: number;
|
|
24
|
-
|
|
24
|
+
contactValue: string;
|
|
25
25
|
plateNumber?: string | undefined;
|
|
26
26
|
}, {
|
|
27
|
-
|
|
27
|
+
jacketId: string;
|
|
28
28
|
gender: "male" | "female";
|
|
29
29
|
birthDate: number;
|
|
30
30
|
birthMonth: number;
|
|
31
31
|
birthYear: number;
|
|
32
|
-
|
|
32
|
+
contactValue: string;
|
|
33
33
|
plateNumber?: string | undefined;
|
|
34
34
|
}>, {
|
|
35
|
-
|
|
35
|
+
jacketId: string;
|
|
36
36
|
gender: "male" | "female";
|
|
37
37
|
birthDate: number;
|
|
38
38
|
birthMonth: number;
|
|
39
39
|
birthYear: number;
|
|
40
|
-
|
|
40
|
+
contactValue: string;
|
|
41
41
|
plateNumber?: string | undefined;
|
|
42
42
|
}, {
|
|
43
|
-
|
|
43
|
+
jacketId: string;
|
|
44
44
|
gender: "male" | "female";
|
|
45
45
|
birthDate: number;
|
|
46
46
|
birthMonth: number;
|
|
47
47
|
birthYear: number;
|
|
48
|
-
|
|
48
|
+
contactValue: string;
|
|
49
49
|
plateNumber?: string | undefined;
|
|
50
50
|
}>;
|
|
51
51
|
}, "strip", z.ZodTypeAny, {
|
|
52
|
-
params: {
|
|
53
|
-
userId: string;
|
|
54
|
-
};
|
|
55
52
|
body: {
|
|
56
|
-
|
|
53
|
+
jacketId: string;
|
|
57
54
|
gender: "male" | "female";
|
|
58
55
|
birthDate: number;
|
|
59
56
|
birthMonth: number;
|
|
60
57
|
birthYear: number;
|
|
61
|
-
|
|
58
|
+
contactValue: string;
|
|
62
59
|
plateNumber?: string | undefined;
|
|
63
60
|
};
|
|
64
|
-
}, {
|
|
65
61
|
params: {
|
|
66
62
|
userId: string;
|
|
67
63
|
};
|
|
64
|
+
}, {
|
|
68
65
|
body: {
|
|
69
|
-
|
|
66
|
+
jacketId: string;
|
|
70
67
|
gender: "male" | "female";
|
|
71
68
|
birthDate: number;
|
|
72
69
|
birthMonth: number;
|
|
73
70
|
birthYear: number;
|
|
74
|
-
|
|
71
|
+
contactValue: string;
|
|
75
72
|
plateNumber?: string | undefined;
|
|
76
73
|
};
|
|
74
|
+
params: {
|
|
75
|
+
userId: string;
|
|
76
|
+
};
|
|
77
77
|
}>;
|
|
78
78
|
export declare const updateRiderSchema: z.ZodObject<{
|
|
79
79
|
params: z.ZodObject<{
|
|
@@ -94,75 +94,75 @@ export declare const updateRiderSchema: z.ZodObject<{
|
|
|
94
94
|
birthMonth: z.ZodOptional<z.ZodNumber>;
|
|
95
95
|
birthYear: z.ZodOptional<z.ZodNumber>;
|
|
96
96
|
}, "strip", z.ZodTypeAny, {
|
|
97
|
-
contactValue?: string | undefined;
|
|
98
97
|
firstName?: string | undefined;
|
|
99
98
|
lastName?: string | undefined;
|
|
99
|
+
jacketId?: string | undefined;
|
|
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
|
-
jacketId?: string | undefined;
|
|
105
|
-
plateNumber?: string | undefined;
|
|
106
|
-
}, {
|
|
107
105
|
contactValue?: string | undefined;
|
|
106
|
+
}, {
|
|
108
107
|
firstName?: string | undefined;
|
|
109
108
|
lastName?: string | undefined;
|
|
109
|
+
jacketId?: string | undefined;
|
|
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
|
-
jacketId?: string | undefined;
|
|
115
|
-
plateNumber?: string | undefined;
|
|
116
|
-
}>, {
|
|
117
115
|
contactValue?: string | undefined;
|
|
116
|
+
}>, {
|
|
118
117
|
firstName?: string | undefined;
|
|
119
118
|
lastName?: string | undefined;
|
|
119
|
+
jacketId?: string | undefined;
|
|
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
|
-
jacketId?: string | undefined;
|
|
125
|
-
plateNumber?: string | undefined;
|
|
126
|
-
}, {
|
|
127
125
|
contactValue?: string | undefined;
|
|
126
|
+
}, {
|
|
128
127
|
firstName?: string | undefined;
|
|
129
128
|
lastName?: string | undefined;
|
|
129
|
+
jacketId?: string | undefined;
|
|
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
|
-
plateNumber?: string | undefined;
|
|
135
|
+
contactValue?: string | undefined;
|
|
136
136
|
}>;
|
|
137
137
|
}, "strip", z.ZodTypeAny, {
|
|
138
|
-
params: {
|
|
139
|
-
userId: string;
|
|
140
|
-
};
|
|
141
138
|
body: {
|
|
142
|
-
contactValue?: string | undefined;
|
|
143
139
|
firstName?: string | undefined;
|
|
144
140
|
lastName?: string | undefined;
|
|
141
|
+
jacketId?: string | undefined;
|
|
142
|
+
plateNumber?: string | undefined;
|
|
145
143
|
gender?: "male" | "female" | undefined;
|
|
146
144
|
birthDate?: number | undefined;
|
|
147
145
|
birthMonth?: number | undefined;
|
|
148
146
|
birthYear?: number | undefined;
|
|
149
|
-
|
|
150
|
-
plateNumber?: string | undefined;
|
|
147
|
+
contactValue?: string | undefined;
|
|
151
148
|
};
|
|
152
|
-
}, {
|
|
153
149
|
params: {
|
|
154
150
|
userId: string;
|
|
155
151
|
};
|
|
152
|
+
}, {
|
|
156
153
|
body: {
|
|
157
|
-
contactValue?: string | undefined;
|
|
158
154
|
firstName?: string | undefined;
|
|
159
155
|
lastName?: string | undefined;
|
|
156
|
+
jacketId?: string | undefined;
|
|
157
|
+
plateNumber?: string | undefined;
|
|
160
158
|
gender?: "male" | "female" | undefined;
|
|
161
159
|
birthDate?: number | undefined;
|
|
162
160
|
birthMonth?: number | undefined;
|
|
163
161
|
birthYear?: number | undefined;
|
|
164
|
-
|
|
165
|
-
|
|
162
|
+
contactValue?: string | undefined;
|
|
163
|
+
};
|
|
164
|
+
params: {
|
|
165
|
+
userId: string;
|
|
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
|
-
role?: string | undefined;
|
|
216
|
-
gender?: "male" | "female" | undefined;
|
|
217
|
-
page?: number | undefined;
|
|
218
|
-
limit?: number | undefined;
|
|
219
215
|
search?: string | undefined;
|
|
216
|
+
limit?: number | undefined;
|
|
217
|
+
gender?: "male" | "female" | undefined;
|
|
220
218
|
isActive?: "true" | "false" | undefined;
|
|
221
219
|
isDeactivated?: "true" | "false" | undefined;
|
|
220
|
+
role?: string | undefined;
|
|
221
|
+
page?: number | undefined;
|
|
222
222
|
contactType?: "EMAIL" | "PHONE" | "WHATSAPP" | undefined;
|
|
223
223
|
sortBy?: "firstName" | "lastName" | "gender" | "createdAt" | undefined;
|
|
224
|
-
sortOrder?: "
|
|
224
|
+
sortOrder?: "DESC" | "ASC" | undefined;
|
|
225
225
|
}, {
|
|
226
|
-
role?: string | undefined;
|
|
227
|
-
gender?: "male" | "female" | undefined;
|
|
228
|
-
page?: string | undefined;
|
|
229
|
-
limit?: string | undefined;
|
|
230
226
|
search?: string | undefined;
|
|
227
|
+
limit?: string | undefined;
|
|
228
|
+
gender?: "male" | "female" | undefined;
|
|
231
229
|
isActive?: "true" | "false" | undefined;
|
|
232
230
|
isDeactivated?: "true" | "false" | undefined;
|
|
231
|
+
role?: string | undefined;
|
|
232
|
+
page?: string | undefined;
|
|
233
233
|
contactType?: "EMAIL" | "PHONE" | "WHATSAPP" | undefined;
|
|
234
234
|
sortBy?: "firstName" | "lastName" | "gender" | "createdAt" | undefined;
|
|
235
|
-
sortOrder?: "
|
|
235
|
+
sortOrder?: "DESC" | "ASC" | undefined;
|
|
236
236
|
}>;
|
|
237
237
|
}, "strip", z.ZodTypeAny, {
|
|
238
238
|
query: {
|
|
239
|
-
role?: string | undefined;
|
|
240
|
-
gender?: "male" | "female" | undefined;
|
|
241
|
-
page?: number | undefined;
|
|
242
|
-
limit?: number | undefined;
|
|
243
239
|
search?: string | undefined;
|
|
240
|
+
limit?: number | undefined;
|
|
241
|
+
gender?: "male" | "female" | undefined;
|
|
244
242
|
isActive?: "true" | "false" | undefined;
|
|
245
243
|
isDeactivated?: "true" | "false" | undefined;
|
|
244
|
+
role?: string | undefined;
|
|
245
|
+
page?: number | undefined;
|
|
246
246
|
contactType?: "EMAIL" | "PHONE" | "WHATSAPP" | undefined;
|
|
247
247
|
sortBy?: "firstName" | "lastName" | "gender" | "createdAt" | undefined;
|
|
248
|
-
sortOrder?: "
|
|
248
|
+
sortOrder?: "DESC" | "ASC" | undefined;
|
|
249
249
|
};
|
|
250
250
|
}, {
|
|
251
251
|
query: {
|
|
252
|
-
role?: string | undefined;
|
|
253
|
-
gender?: "male" | "female" | undefined;
|
|
254
|
-
page?: string | undefined;
|
|
255
|
-
limit?: string | undefined;
|
|
256
252
|
search?: string | undefined;
|
|
253
|
+
limit?: string | undefined;
|
|
254
|
+
gender?: "male" | "female" | undefined;
|
|
257
255
|
isActive?: "true" | "false" | undefined;
|
|
258
256
|
isDeactivated?: "true" | "false" | undefined;
|
|
257
|
+
role?: string | undefined;
|
|
258
|
+
page?: string | undefined;
|
|
259
259
|
contactType?: "EMAIL" | "PHONE" | "WHATSAPP" | undefined;
|
|
260
260
|
sortBy?: "firstName" | "lastName" | "gender" | "createdAt" | undefined;
|
|
261
|
-
sortOrder?: "
|
|
261
|
+
sortOrder?: "DESC" | "ASC" | undefined;
|
|
262
262
|
};
|
|
263
263
|
}>;
|
|
264
264
|
export declare const hireAdminSchema: z.ZodObject<{
|
|
@@ -274,96 +274,96 @@ export declare const hireAdminSchema: z.ZodObject<{
|
|
|
274
274
|
birthMonth: z.ZodNumber;
|
|
275
275
|
birthYear: z.ZodNumber;
|
|
276
276
|
}, "strip", z.ZodTypeAny, {
|
|
277
|
-
contactValue: string;
|
|
278
|
-
password: string;
|
|
279
277
|
firstName: string;
|
|
280
278
|
lastName: string;
|
|
281
|
-
|
|
279
|
+
password: string;
|
|
282
280
|
gender: "male" | "female";
|
|
283
281
|
birthDate: number;
|
|
284
282
|
birthMonth: number;
|
|
285
283
|
birthYear: number;
|
|
284
|
+
role: "ADMIN" | "AGENT" | "SUPER_ADMIN";
|
|
285
|
+
contactValue: string;
|
|
286
286
|
superAdminPassword?: string | undefined;
|
|
287
287
|
}, {
|
|
288
|
-
contactValue: string;
|
|
289
|
-
password: string;
|
|
290
288
|
firstName: string;
|
|
291
289
|
lastName: string;
|
|
292
|
-
|
|
290
|
+
password: string;
|
|
293
291
|
gender: "male" | "female";
|
|
294
292
|
birthDate: number;
|
|
295
293
|
birthMonth: number;
|
|
296
294
|
birthYear: number;
|
|
295
|
+
role: "ADMIN" | "AGENT" | "SUPER_ADMIN";
|
|
296
|
+
contactValue: string;
|
|
297
297
|
superAdminPassword?: string | undefined;
|
|
298
298
|
}>, {
|
|
299
|
-
contactValue: string;
|
|
300
|
-
password: string;
|
|
301
299
|
firstName: string;
|
|
302
300
|
lastName: string;
|
|
303
|
-
|
|
301
|
+
password: string;
|
|
304
302
|
gender: "male" | "female";
|
|
305
303
|
birthDate: number;
|
|
306
304
|
birthMonth: number;
|
|
307
305
|
birthYear: number;
|
|
306
|
+
role: "ADMIN" | "AGENT" | "SUPER_ADMIN";
|
|
307
|
+
contactValue: string;
|
|
308
308
|
superAdminPassword?: string | undefined;
|
|
309
309
|
}, {
|
|
310
|
-
contactValue: string;
|
|
311
|
-
password: string;
|
|
312
310
|
firstName: string;
|
|
313
311
|
lastName: string;
|
|
314
|
-
|
|
312
|
+
password: string;
|
|
315
313
|
gender: "male" | "female";
|
|
316
314
|
birthDate: number;
|
|
317
315
|
birthMonth: number;
|
|
318
316
|
birthYear: number;
|
|
317
|
+
role: "ADMIN" | "AGENT" | "SUPER_ADMIN";
|
|
318
|
+
contactValue: string;
|
|
319
319
|
superAdminPassword?: string | undefined;
|
|
320
320
|
}>, {
|
|
321
|
-
contactValue: string;
|
|
322
|
-
password: string;
|
|
323
321
|
firstName: string;
|
|
324
322
|
lastName: string;
|
|
325
|
-
|
|
323
|
+
password: string;
|
|
326
324
|
gender: "male" | "female";
|
|
327
325
|
birthDate: number;
|
|
328
326
|
birthMonth: number;
|
|
329
327
|
birthYear: number;
|
|
328
|
+
role: "ADMIN" | "AGENT" | "SUPER_ADMIN";
|
|
329
|
+
contactValue: string;
|
|
330
330
|
superAdminPassword?: string | undefined;
|
|
331
331
|
}, {
|
|
332
|
-
contactValue: string;
|
|
333
|
-
password: string;
|
|
334
332
|
firstName: string;
|
|
335
333
|
lastName: string;
|
|
336
|
-
|
|
334
|
+
password: string;
|
|
337
335
|
gender: "male" | "female";
|
|
338
336
|
birthDate: number;
|
|
339
337
|
birthMonth: number;
|
|
340
338
|
birthYear: number;
|
|
339
|
+
role: "ADMIN" | "AGENT" | "SUPER_ADMIN";
|
|
340
|
+
contactValue: string;
|
|
341
341
|
superAdminPassword?: string | undefined;
|
|
342
342
|
}>;
|
|
343
343
|
}, "strip", z.ZodTypeAny, {
|
|
344
344
|
body: {
|
|
345
|
-
contactValue: string;
|
|
346
|
-
password: string;
|
|
347
345
|
firstName: string;
|
|
348
346
|
lastName: string;
|
|
349
|
-
|
|
347
|
+
password: string;
|
|
350
348
|
gender: "male" | "female";
|
|
351
349
|
birthDate: number;
|
|
352
350
|
birthMonth: number;
|
|
353
351
|
birthYear: number;
|
|
352
|
+
role: "ADMIN" | "AGENT" | "SUPER_ADMIN";
|
|
353
|
+
contactValue: string;
|
|
354
354
|
superAdminPassword?: string | undefined;
|
|
355
355
|
};
|
|
356
356
|
}, {
|
|
357
357
|
body: {
|
|
358
|
-
contactValue: string;
|
|
359
|
-
password: string;
|
|
360
358
|
firstName: string;
|
|
361
359
|
lastName: string;
|
|
362
|
-
|
|
360
|
+
password: string;
|
|
363
361
|
gender: "male" | "female";
|
|
364
362
|
birthDate: number;
|
|
365
363
|
birthMonth: number;
|
|
366
364
|
birthYear: number;
|
|
365
|
+
role: "ADMIN" | "AGENT" | "SUPER_ADMIN";
|
|
366
|
+
contactValue: string;
|
|
367
367
|
superAdminPassword?: string | undefined;
|
|
368
368
|
};
|
|
369
369
|
}>;
|
|
@@ -386,21 +386,21 @@ export declare const promoteAdminSchema: z.ZodObject<{
|
|
|
386
386
|
password?: string | undefined;
|
|
387
387
|
}>;
|
|
388
388
|
}, "strip", z.ZodTypeAny, {
|
|
389
|
-
params: {
|
|
390
|
-
userId: string;
|
|
391
|
-
};
|
|
392
389
|
body: {
|
|
393
390
|
targetRole: "ADMIN" | "SUPER_ADMIN";
|
|
394
391
|
password?: string | undefined;
|
|
395
392
|
};
|
|
396
|
-
}, {
|
|
397
393
|
params: {
|
|
398
394
|
userId: string;
|
|
399
395
|
};
|
|
396
|
+
}, {
|
|
400
397
|
body: {
|
|
401
398
|
targetRole: "ADMIN" | "SUPER_ADMIN";
|
|
402
399
|
password?: string | undefined;
|
|
403
400
|
};
|
|
401
|
+
params: {
|
|
402
|
+
userId: string;
|
|
403
|
+
};
|
|
404
404
|
}>;
|
|
405
405
|
export declare const demoteAdminSchema: z.ZodObject<{
|
|
406
406
|
params: z.ZodObject<{
|
|
@@ -418,19 +418,19 @@ export declare const demoteAdminSchema: z.ZodObject<{
|
|
|
418
418
|
targetRole: "ADMIN" | "AGENT";
|
|
419
419
|
}>;
|
|
420
420
|
}, "strip", z.ZodTypeAny, {
|
|
421
|
-
params: {
|
|
422
|
-
userId: string;
|
|
423
|
-
};
|
|
424
421
|
body: {
|
|
425
422
|
targetRole: "ADMIN" | "AGENT";
|
|
426
423
|
};
|
|
427
|
-
}, {
|
|
428
424
|
params: {
|
|
429
425
|
userId: string;
|
|
430
426
|
};
|
|
427
|
+
}, {
|
|
431
428
|
body: {
|
|
432
429
|
targetRole: "ADMIN" | "AGENT";
|
|
433
430
|
};
|
|
431
|
+
params: {
|
|
432
|
+
userId: string;
|
|
433
|
+
};
|
|
434
434
|
}>;
|
|
435
435
|
export declare const fireEmployeeSchema: z.ZodObject<{
|
|
436
436
|
params: z.ZodObject<{
|
|
@@ -448,19 +448,19 @@ export declare const fireEmployeeSchema: z.ZodObject<{
|
|
|
448
448
|
reason?: string | undefined;
|
|
449
449
|
}>;
|
|
450
450
|
}, "strip", z.ZodTypeAny, {
|
|
451
|
-
params: {
|
|
452
|
-
userId: string;
|
|
453
|
-
};
|
|
454
451
|
body: {
|
|
455
452
|
reason?: string | undefined;
|
|
456
453
|
};
|
|
457
|
-
}, {
|
|
458
454
|
params: {
|
|
459
455
|
userId: string;
|
|
460
456
|
};
|
|
457
|
+
}, {
|
|
461
458
|
body: {
|
|
462
459
|
reason?: string | undefined;
|
|
463
460
|
};
|
|
461
|
+
params: {
|
|
462
|
+
userId: string;
|
|
463
|
+
};
|
|
464
464
|
}>;
|
|
465
465
|
export declare const updateAdminSchema: z.ZodObject<{
|
|
466
466
|
params: z.ZodObject<{
|
|
@@ -479,63 +479,63 @@ export declare const updateAdminSchema: z.ZodObject<{
|
|
|
479
479
|
birthMonth: z.ZodOptional<z.ZodNumber>;
|
|
480
480
|
birthYear: z.ZodOptional<z.ZodNumber>;
|
|
481
481
|
}, "strip", z.ZodTypeAny, {
|
|
482
|
-
contactValue?: string | undefined;
|
|
483
482
|
firstName?: string | undefined;
|
|
484
483
|
lastName?: string | undefined;
|
|
485
484
|
gender?: "male" | "female" | undefined;
|
|
486
485
|
birthDate?: number | undefined;
|
|
487
486
|
birthMonth?: number | undefined;
|
|
488
487
|
birthYear?: number | undefined;
|
|
489
|
-
}, {
|
|
490
488
|
contactValue?: string | undefined;
|
|
489
|
+
}, {
|
|
491
490
|
firstName?: string | undefined;
|
|
492
491
|
lastName?: string | undefined;
|
|
493
492
|
gender?: "male" | "female" | undefined;
|
|
494
493
|
birthDate?: number | undefined;
|
|
495
494
|
birthMonth?: number | undefined;
|
|
496
495
|
birthYear?: number | undefined;
|
|
497
|
-
}>, {
|
|
498
496
|
contactValue?: string | undefined;
|
|
497
|
+
}>, {
|
|
499
498
|
firstName?: string | undefined;
|
|
500
499
|
lastName?: string | undefined;
|
|
501
500
|
gender?: "male" | "female" | undefined;
|
|
502
501
|
birthDate?: number | undefined;
|
|
503
502
|
birthMonth?: number | undefined;
|
|
504
503
|
birthYear?: number | undefined;
|
|
505
|
-
}, {
|
|
506
504
|
contactValue?: string | undefined;
|
|
505
|
+
}, {
|
|
507
506
|
firstName?: string | undefined;
|
|
508
507
|
lastName?: string | undefined;
|
|
509
508
|
gender?: "male" | "female" | undefined;
|
|
510
509
|
birthDate?: number | undefined;
|
|
511
510
|
birthMonth?: number | undefined;
|
|
512
511
|
birthYear?: number | undefined;
|
|
512
|
+
contactValue?: string | undefined;
|
|
513
513
|
}>;
|
|
514
514
|
}, "strip", z.ZodTypeAny, {
|
|
515
|
-
params: {
|
|
516
|
-
userId: string;
|
|
517
|
-
};
|
|
518
515
|
body: {
|
|
519
|
-
contactValue?: string | undefined;
|
|
520
516
|
firstName?: string | undefined;
|
|
521
517
|
lastName?: string | undefined;
|
|
522
518
|
gender?: "male" | "female" | undefined;
|
|
523
519
|
birthDate?: number | undefined;
|
|
524
520
|
birthMonth?: number | undefined;
|
|
525
521
|
birthYear?: number | undefined;
|
|
522
|
+
contactValue?: string | undefined;
|
|
526
523
|
};
|
|
527
|
-
}, {
|
|
528
524
|
params: {
|
|
529
525
|
userId: string;
|
|
530
526
|
};
|
|
527
|
+
}, {
|
|
531
528
|
body: {
|
|
532
|
-
contactValue?: string | undefined;
|
|
533
529
|
firstName?: string | undefined;
|
|
534
530
|
lastName?: string | undefined;
|
|
535
531
|
gender?: "male" | "female" | undefined;
|
|
536
532
|
birthDate?: number | undefined;
|
|
537
533
|
birthMonth?: number | undefined;
|
|
538
534
|
birthYear?: number | undefined;
|
|
535
|
+
contactValue?: string | undefined;
|
|
536
|
+
};
|
|
537
|
+
params: {
|
|
538
|
+
userId: string;
|
|
539
539
|
};
|
|
540
540
|
}>;
|
|
541
541
|
export declare const resetPasswordSchema: z.ZodObject<{
|
|
@@ -615,25 +615,25 @@ export declare const addUserContactSchema: z.ZodObject<{
|
|
|
615
615
|
isPrimary?: boolean | undefined;
|
|
616
616
|
}>;
|
|
617
617
|
}, "strip", z.ZodTypeAny, {
|
|
618
|
-
params: {
|
|
619
|
-
userId: string;
|
|
620
|
-
};
|
|
621
618
|
body: {
|
|
622
619
|
contactValue: string;
|
|
623
620
|
type?: "EMAIL" | "PHONE" | "WHATSAPP" | undefined;
|
|
624
621
|
isVerified?: boolean | undefined;
|
|
625
622
|
isPrimary?: boolean | undefined;
|
|
626
623
|
};
|
|
627
|
-
}, {
|
|
628
624
|
params: {
|
|
629
625
|
userId: string;
|
|
630
626
|
};
|
|
627
|
+
}, {
|
|
631
628
|
body: {
|
|
632
629
|
contactValue: string;
|
|
633
630
|
type?: "EMAIL" | "PHONE" | "WHATSAPP" | undefined;
|
|
634
631
|
isVerified?: boolean | undefined;
|
|
635
632
|
isPrimary?: boolean | undefined;
|
|
636
633
|
};
|
|
634
|
+
params: {
|
|
635
|
+
userId: string;
|
|
636
|
+
};
|
|
637
637
|
}>;
|
|
638
638
|
export declare const verifyUserContactSchema: z.ZodObject<{
|
|
639
639
|
params: z.ZodObject<{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vr-commons",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.128",
|
|
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.
|
|
106
|
+
"vr-models": "^1.0.66",
|
|
107
107
|
"zod": "^3.25.20"
|
|
108
108
|
},
|
|
109
109
|
"dependencies": {
|