vr-commons 1.0.188 → 1.0.190
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/middlewares/index.d.ts +1 -0
- package/dist/middlewares/index.js +4 -1
- package/dist/middlewares/shared/shared.appVersion.middleware.d.ts +9 -0
- package/dist/middlewares/shared/shared.appVersion.middleware.js +175 -0
- package/dist/utils/index.d.ts +1 -0
- package/dist/utils/index.js +9 -1
- package/dist/utils/users/users.accountRecovery.utils.d.ts +13 -0
- package/dist/utils/users/users.accountRecovery.utils.js +52 -0
- package/dist/validations/admin/admin.devicePayments.validations.d.ts +6 -6
- package/dist/validations/admin/admin.devices.validations.d.ts +12 -12
- package/dist/validations/admin/admin.eventLogs.validations.d.ts +24 -24
- package/dist/validations/admin/admin.installments.validations.d.ts +4 -4
- package/dist/validations/admin/admin.pricings.validations.d.ts +8 -8
- package/dist/validations/admin/admin.products.validations.d.ts +12 -12
- package/dist/validations/admin/admin.users.validations.d.ts +50 -50
- package/dist/validations/index.d.ts +1 -0
- package/dist/validations/index.js +5 -2
- package/dist/validations/shared/shared.account.validations.d.ts +10 -10
- package/dist/validations/shared/shared.appSpecs.validations.d.ts +70 -48
- package/dist/validations/shared/shared.appSpecs.validations.js +7 -2
- package/dist/validations/shared/shared.auth.validations.d.ts +28 -28
- package/dist/validations/shared/shared.moderation.validations.d.ts +18 -18
- package/dist/validations/shared/shared.profiles.validations.d.ts +86 -86
- package/dist/validations/users/users.accountRecovery.validations.d.ts +98 -0
- package/dist/validations/users/users.accountRecovery.validations.js +41 -0
- package/dist/validations/users/users.devicePaymentPlans.validations.d.ts +6 -6
- package/package.json +2 -2
|
@@ -283,19 +283,19 @@ export declare const listBansSchema: z.ZodObject<{
|
|
|
283
283
|
sortBy?: "createdAt" | "reason" | "bannedAt" | undefined;
|
|
284
284
|
fromDate?: string | undefined;
|
|
285
285
|
toDate?: string | undefined;
|
|
286
|
-
sortOrder?: "
|
|
286
|
+
sortOrder?: "DESC" | "ASC" | undefined;
|
|
287
287
|
}, {
|
|
288
288
|
search?: string | undefined;
|
|
289
289
|
limit?: string | undefined;
|
|
290
290
|
userId?: string | undefined;
|
|
291
|
-
page?: string | undefined;
|
|
292
291
|
isPermanent?: "true" | "false" | undefined;
|
|
293
292
|
appealStatus?: "pending" | "approved" | "rejected" | undefined;
|
|
294
293
|
status?: "active" | "revoked" | undefined;
|
|
294
|
+
page?: string | undefined;
|
|
295
295
|
sortBy?: "createdAt" | "reason" | "bannedAt" | undefined;
|
|
296
296
|
fromDate?: string | undefined;
|
|
297
297
|
toDate?: string | undefined;
|
|
298
|
-
sortOrder?: "
|
|
298
|
+
sortOrder?: "DESC" | "ASC" | undefined;
|
|
299
299
|
}>, {
|
|
300
300
|
limit: number;
|
|
301
301
|
page: number;
|
|
@@ -307,19 +307,19 @@ export declare const listBansSchema: z.ZodObject<{
|
|
|
307
307
|
sortBy?: "createdAt" | "reason" | "bannedAt" | undefined;
|
|
308
308
|
fromDate?: string | undefined;
|
|
309
309
|
toDate?: string | undefined;
|
|
310
|
-
sortOrder?: "
|
|
310
|
+
sortOrder?: "DESC" | "ASC" | undefined;
|
|
311
311
|
}, {
|
|
312
312
|
search?: string | undefined;
|
|
313
313
|
limit?: string | undefined;
|
|
314
314
|
userId?: string | undefined;
|
|
315
|
-
page?: string | undefined;
|
|
316
315
|
isPermanent?: "true" | "false" | undefined;
|
|
317
316
|
appealStatus?: "pending" | "approved" | "rejected" | undefined;
|
|
318
317
|
status?: "active" | "revoked" | undefined;
|
|
318
|
+
page?: string | undefined;
|
|
319
319
|
sortBy?: "createdAt" | "reason" | "bannedAt" | undefined;
|
|
320
320
|
fromDate?: string | undefined;
|
|
321
321
|
toDate?: string | undefined;
|
|
322
|
-
sortOrder?: "
|
|
322
|
+
sortOrder?: "DESC" | "ASC" | undefined;
|
|
323
323
|
}>;
|
|
324
324
|
}, "strip", z.ZodTypeAny, {
|
|
325
325
|
query: {
|
|
@@ -333,21 +333,21 @@ export declare const listBansSchema: z.ZodObject<{
|
|
|
333
333
|
sortBy?: "createdAt" | "reason" | "bannedAt" | undefined;
|
|
334
334
|
fromDate?: string | undefined;
|
|
335
335
|
toDate?: string | undefined;
|
|
336
|
-
sortOrder?: "
|
|
336
|
+
sortOrder?: "DESC" | "ASC" | undefined;
|
|
337
337
|
};
|
|
338
338
|
}, {
|
|
339
339
|
query: {
|
|
340
340
|
search?: string | undefined;
|
|
341
341
|
limit?: string | undefined;
|
|
342
342
|
userId?: string | undefined;
|
|
343
|
-
page?: string | undefined;
|
|
344
343
|
isPermanent?: "true" | "false" | undefined;
|
|
345
344
|
appealStatus?: "pending" | "approved" | "rejected" | undefined;
|
|
346
345
|
status?: "active" | "revoked" | undefined;
|
|
346
|
+
page?: string | undefined;
|
|
347
347
|
sortBy?: "createdAt" | "reason" | "bannedAt" | undefined;
|
|
348
348
|
fromDate?: string | undefined;
|
|
349
349
|
toDate?: string | undefined;
|
|
350
|
-
sortOrder?: "
|
|
350
|
+
sortOrder?: "DESC" | "ASC" | undefined;
|
|
351
351
|
};
|
|
352
352
|
}>;
|
|
353
353
|
export declare const listSuspensionsSchema: z.ZodObject<{
|
|
@@ -373,18 +373,18 @@ export declare const listSuspensionsSchema: z.ZodObject<{
|
|
|
373
373
|
sortBy?: "createdAt" | "reason" | "endsAt" | "startedAt" | undefined;
|
|
374
374
|
fromDate?: string | undefined;
|
|
375
375
|
toDate?: string | undefined;
|
|
376
|
-
sortOrder?: "
|
|
376
|
+
sortOrder?: "DESC" | "ASC" | undefined;
|
|
377
377
|
}, {
|
|
378
378
|
search?: string | undefined;
|
|
379
379
|
limit?: string | undefined;
|
|
380
380
|
userId?: string | undefined;
|
|
381
|
-
page?: string | undefined;
|
|
382
381
|
appealStatus?: "pending" | "approved" | "rejected" | undefined;
|
|
383
382
|
status?: "active" | "expired" | "revoked" | undefined;
|
|
383
|
+
page?: string | undefined;
|
|
384
384
|
sortBy?: "createdAt" | "reason" | "endsAt" | "startedAt" | undefined;
|
|
385
385
|
fromDate?: string | undefined;
|
|
386
386
|
toDate?: string | undefined;
|
|
387
|
-
sortOrder?: "
|
|
387
|
+
sortOrder?: "DESC" | "ASC" | undefined;
|
|
388
388
|
}>, {
|
|
389
389
|
limit: number;
|
|
390
390
|
page: number;
|
|
@@ -395,18 +395,18 @@ export declare const listSuspensionsSchema: z.ZodObject<{
|
|
|
395
395
|
sortBy?: "createdAt" | "reason" | "endsAt" | "startedAt" | undefined;
|
|
396
396
|
fromDate?: string | undefined;
|
|
397
397
|
toDate?: string | undefined;
|
|
398
|
-
sortOrder?: "
|
|
398
|
+
sortOrder?: "DESC" | "ASC" | undefined;
|
|
399
399
|
}, {
|
|
400
400
|
search?: string | undefined;
|
|
401
401
|
limit?: string | undefined;
|
|
402
402
|
userId?: string | undefined;
|
|
403
|
-
page?: string | undefined;
|
|
404
403
|
appealStatus?: "pending" | "approved" | "rejected" | undefined;
|
|
405
404
|
status?: "active" | "expired" | "revoked" | undefined;
|
|
405
|
+
page?: string | undefined;
|
|
406
406
|
sortBy?: "createdAt" | "reason" | "endsAt" | "startedAt" | undefined;
|
|
407
407
|
fromDate?: string | undefined;
|
|
408
408
|
toDate?: string | undefined;
|
|
409
|
-
sortOrder?: "
|
|
409
|
+
sortOrder?: "DESC" | "ASC" | undefined;
|
|
410
410
|
}>;
|
|
411
411
|
}, "strip", z.ZodTypeAny, {
|
|
412
412
|
query: {
|
|
@@ -419,20 +419,20 @@ export declare const listSuspensionsSchema: z.ZodObject<{
|
|
|
419
419
|
sortBy?: "createdAt" | "reason" | "endsAt" | "startedAt" | undefined;
|
|
420
420
|
fromDate?: string | undefined;
|
|
421
421
|
toDate?: string | undefined;
|
|
422
|
-
sortOrder?: "
|
|
422
|
+
sortOrder?: "DESC" | "ASC" | undefined;
|
|
423
423
|
};
|
|
424
424
|
}, {
|
|
425
425
|
query: {
|
|
426
426
|
search?: string | undefined;
|
|
427
427
|
limit?: string | undefined;
|
|
428
428
|
userId?: string | undefined;
|
|
429
|
-
page?: string | undefined;
|
|
430
429
|
appealStatus?: "pending" | "approved" | "rejected" | undefined;
|
|
431
430
|
status?: "active" | "expired" | "revoked" | undefined;
|
|
431
|
+
page?: string | undefined;
|
|
432
432
|
sortBy?: "createdAt" | "reason" | "endsAt" | "startedAt" | undefined;
|
|
433
433
|
fromDate?: string | undefined;
|
|
434
434
|
toDate?: string | undefined;
|
|
435
|
-
sortOrder?: "
|
|
435
|
+
sortOrder?: "DESC" | "ASC" | undefined;
|
|
436
436
|
};
|
|
437
437
|
}>;
|
|
438
438
|
export declare const listPendingAppealsSchema: z.ZodObject<{
|