squarecommonblhelper 6.0.0 → 6.1.0
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/README.md
CHANGED
|
@@ -15,6 +15,11 @@ helper for common bl for my projects.
|
|
|
15
15
|
|
|
16
16
|
## changelog
|
|
17
17
|
|
|
18
|
+
### v6.1.0
|
|
19
|
+
|
|
20
|
+
- AuthenticationCommonBL:
|
|
21
|
+
- update output types of sendResetPasswordEmailV0ResponseZ and sendVerificationEmailV0ResponseZ.
|
|
22
|
+
|
|
18
23
|
### v6.0.0
|
|
19
24
|
|
|
20
25
|
- AuthenticationCommonBL:
|
package/dist/authentication.d.ts
CHANGED
|
@@ -88,6 +88,7 @@ declare class AuthenticationCommonBL {
|
|
|
88
88
|
message: string | null;
|
|
89
89
|
data: {
|
|
90
90
|
expires_at: string;
|
|
91
|
+
cooldown_reset_at: string;
|
|
91
92
|
};
|
|
92
93
|
log?: any;
|
|
93
94
|
}>;
|
|
@@ -102,6 +103,7 @@ declare class AuthenticationCommonBL {
|
|
|
102
103
|
message: string | null;
|
|
103
104
|
data: {
|
|
104
105
|
expires_at: string;
|
|
106
|
+
cooldown_reset_at: string;
|
|
105
107
|
} | null;
|
|
106
108
|
log?: any;
|
|
107
109
|
}>;
|
|
@@ -409,21 +409,26 @@ declare const sendResetPasswordEmailV0ResponseZ: z.ZodObject<z.objectUtil.extend
|
|
|
409
409
|
}, {
|
|
410
410
|
data: z.ZodObject<{
|
|
411
411
|
expires_at: z.ZodString;
|
|
412
|
+
cooldown_reset_at: z.ZodString;
|
|
412
413
|
}, "strict", z.ZodTypeAny, {
|
|
413
414
|
expires_at: string;
|
|
415
|
+
cooldown_reset_at: string;
|
|
414
416
|
}, {
|
|
415
417
|
expires_at: string;
|
|
418
|
+
cooldown_reset_at: string;
|
|
416
419
|
}>;
|
|
417
420
|
}>, "strict", z.ZodTypeAny, {
|
|
418
421
|
message: string | null;
|
|
419
422
|
data: {
|
|
420
423
|
expires_at: string;
|
|
424
|
+
cooldown_reset_at: string;
|
|
421
425
|
};
|
|
422
426
|
log?: any;
|
|
423
427
|
}, {
|
|
424
428
|
message: string | null;
|
|
425
429
|
data: {
|
|
426
430
|
expires_at: string;
|
|
431
|
+
cooldown_reset_at: string;
|
|
427
432
|
};
|
|
428
433
|
log?: any;
|
|
429
434
|
}>;
|
|
@@ -463,21 +468,26 @@ declare const sendVerificationEmailV0ResponseZ: z.ZodObject<z.objectUtil.extendS
|
|
|
463
468
|
}, {
|
|
464
469
|
data: z.ZodNullable<z.ZodObject<{
|
|
465
470
|
expires_at: z.ZodString;
|
|
471
|
+
cooldown_reset_at: z.ZodString;
|
|
466
472
|
}, "strict", z.ZodTypeAny, {
|
|
467
473
|
expires_at: string;
|
|
474
|
+
cooldown_reset_at: string;
|
|
468
475
|
}, {
|
|
469
476
|
expires_at: string;
|
|
477
|
+
cooldown_reset_at: string;
|
|
470
478
|
}>>;
|
|
471
479
|
}>, "strict", z.ZodTypeAny, {
|
|
472
480
|
message: string | null;
|
|
473
481
|
data: {
|
|
474
482
|
expires_at: string;
|
|
483
|
+
cooldown_reset_at: string;
|
|
475
484
|
} | null;
|
|
476
485
|
log?: any;
|
|
477
486
|
}, {
|
|
478
487
|
message: string | null;
|
|
479
488
|
data: {
|
|
480
489
|
expires_at: string;
|
|
490
|
+
cooldown_reset_at: string;
|
|
481
491
|
} | null;
|
|
482
492
|
log?: any;
|
|
483
493
|
}>;
|
|
@@ -67,6 +67,7 @@ const updateProfileDetailsZ = APIOutputZ.extend({
|
|
|
67
67
|
const sendResetPasswordEmailV0ResponseZ = APIOutputZ.extend({
|
|
68
68
|
data: z.strictObject({
|
|
69
69
|
expires_at: z.string(),
|
|
70
|
+
cooldown_reset_at: z.string(),
|
|
70
71
|
}),
|
|
71
72
|
});
|
|
72
73
|
const RecoveryMethodEnumZ = z.enum(["EMAIL", "BACKUP_CODE"]);
|
|
@@ -78,6 +79,7 @@ const updateUserRecoveryMethodsV0ResponseZ = APIOutputZ.extend({
|
|
|
78
79
|
const sendVerificationEmailV0ResponseZ = APIOutputZ.extend({
|
|
79
80
|
data: z.nullable(z.strictObject({
|
|
80
81
|
expires_at: z.string(),
|
|
82
|
+
cooldown_reset_at: z.string(),
|
|
81
83
|
})),
|
|
82
84
|
});
|
|
83
85
|
const validateEmailVerificationCodeV0ResponseZ = APIOutputZ.extend({
|