squarecommonblhelper 9.0.2 → 9.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
+ ### v9.1.0
19
+
20
+ - AuthenticationCommonBL:
21
+ - add email_verification_details in GetUserDetailsV0ResponseZ.
22
+
18
23
  ### v9.0.2
19
24
 
20
25
  - AuthenticationCommonBL:
@@ -39,6 +39,10 @@ declare class AuthenticationCommonBL {
39
39
  active_sessions: number;
40
40
  }[];
41
41
  recovery_methods: Record<string, boolean>;
42
+ email_verification_details: {
43
+ expires_at: string;
44
+ cooldown_reset_at: string;
45
+ } | null;
42
46
  };
43
47
  };
44
48
  log?: any;
@@ -95,6 +95,16 @@ declare const GetUserDetailsV0ResponseZ: z.ZodObject<z.objectUtil.extendShape<{
95
95
  active_sessions: number;
96
96
  }>, "many">;
97
97
  recovery_methods: z.ZodRecord<z.ZodString, z.ZodBoolean>;
98
+ email_verification_details: z.ZodNullable<z.ZodObject<{
99
+ expires_at: z.ZodString;
100
+ cooldown_reset_at: z.ZodString;
101
+ }, "strict", z.ZodTypeAny, {
102
+ expires_at: string;
103
+ cooldown_reset_at: string;
104
+ }, {
105
+ expires_at: string;
106
+ cooldown_reset_at: string;
107
+ }>>;
98
108
  }, "strict", z.ZodTypeAny, {
99
109
  user_id: string;
100
110
  username: string;
@@ -114,6 +124,10 @@ declare const GetUserDetailsV0ResponseZ: z.ZodObject<z.objectUtil.extendShape<{
114
124
  active_sessions: number;
115
125
  }[];
116
126
  recovery_methods: Record<string, boolean>;
127
+ email_verification_details: {
128
+ expires_at: string;
129
+ cooldown_reset_at: string;
130
+ } | null;
117
131
  }, {
118
132
  user_id: string;
119
133
  username: string;
@@ -133,6 +147,10 @@ declare const GetUserDetailsV0ResponseZ: z.ZodObject<z.objectUtil.extendShape<{
133
147
  active_sessions: number;
134
148
  }[];
135
149
  recovery_methods: Record<string, boolean>;
150
+ email_verification_details: {
151
+ expires_at: string;
152
+ cooldown_reset_at: string;
153
+ } | null;
136
154
  }>;
137
155
  }, "strict", z.ZodTypeAny, {
138
156
  main: {
@@ -154,6 +172,10 @@ declare const GetUserDetailsV0ResponseZ: z.ZodObject<z.objectUtil.extendShape<{
154
172
  active_sessions: number;
155
173
  }[];
156
174
  recovery_methods: Record<string, boolean>;
175
+ email_verification_details: {
176
+ expires_at: string;
177
+ cooldown_reset_at: string;
178
+ } | null;
157
179
  };
158
180
  }, {
159
181
  main: {
@@ -175,6 +197,10 @@ declare const GetUserDetailsV0ResponseZ: z.ZodObject<z.objectUtil.extendShape<{
175
197
  active_sessions: number;
176
198
  }[];
177
199
  recovery_methods: Record<string, boolean>;
200
+ email_verification_details: {
201
+ expires_at: string;
202
+ cooldown_reset_at: string;
203
+ } | null;
178
204
  };
179
205
  }>;
180
206
  }>, "strict", z.ZodTypeAny, {
@@ -199,6 +225,10 @@ declare const GetUserDetailsV0ResponseZ: z.ZodObject<z.objectUtil.extendShape<{
199
225
  active_sessions: number;
200
226
  }[];
201
227
  recovery_methods: Record<string, boolean>;
228
+ email_verification_details: {
229
+ expires_at: string;
230
+ cooldown_reset_at: string;
231
+ } | null;
202
232
  };
203
233
  };
204
234
  log?: any;
@@ -224,6 +254,10 @@ declare const GetUserDetailsV0ResponseZ: z.ZodObject<z.objectUtil.extendShape<{
224
254
  active_sessions: number;
225
255
  }[];
226
256
  recovery_methods: Record<string, boolean>;
257
+ email_verification_details: {
258
+ expires_at: string;
259
+ cooldown_reset_at: string;
260
+ } | null;
227
261
  };
228
262
  };
229
263
  log?: any;
@@ -29,6 +29,9 @@ const GetUserDetailsV0ResponseZ = APIOutputZ.extend({
29
29
  active_sessions: z.number(),
30
30
  })),
31
31
  recovery_methods: z.record(z.string(), z.boolean()),
32
+ email_verification_details: z
33
+ .strictObject({ expires_at: z.string(), cooldown_reset_at: z.string() })
34
+ .nullable(),
32
35
  }),
33
36
  }),
34
37
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "squarecommonblhelper",
3
- "version": "9.0.2",
3
+ "version": "9.1.0",
4
4
  "description": "helper for common bl for my projects.",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",