squarecommonblhelper 9.2.3 → 9.3.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.3.0
19
+
20
+ - AuthenticationCommonBL:
21
+ - add backup_code_details in GetUserDetailsV0ResponseZ.
22
+
18
23
  ### v9.2.3
19
24
 
20
25
  - AuthenticationCommonBL:
@@ -43,6 +43,11 @@ declare class AuthenticationCommonBL {
43
43
  expires_at: string;
44
44
  cooldown_reset_at: string;
45
45
  } | null;
46
+ backup_code_details: {
47
+ total: number;
48
+ available: number;
49
+ generated_at: string | null;
50
+ } | null;
46
51
  };
47
52
  };
48
53
  log?: any;
@@ -107,6 +107,19 @@ declare const GetUserDetailsV0ResponseZ: z.ZodObject<z.objectUtil.extendShape<{
107
107
  expires_at: string;
108
108
  cooldown_reset_at: string;
109
109
  }>>;
110
+ backup_code_details: z.ZodNullable<z.ZodObject<{
111
+ total: z.ZodNumber;
112
+ available: z.ZodNumber;
113
+ generated_at: z.ZodNullable<z.ZodString>;
114
+ }, "strict", z.ZodTypeAny, {
115
+ total: number;
116
+ available: number;
117
+ generated_at: string | null;
118
+ }, {
119
+ total: number;
120
+ available: number;
121
+ generated_at: string | null;
122
+ }>>;
110
123
  }, "strict", z.ZodTypeAny, {
111
124
  user_id: string;
112
125
  username: string;
@@ -130,6 +143,11 @@ declare const GetUserDetailsV0ResponseZ: z.ZodObject<z.objectUtil.extendShape<{
130
143
  expires_at: string;
131
144
  cooldown_reset_at: string;
132
145
  } | null;
146
+ backup_code_details: {
147
+ total: number;
148
+ available: number;
149
+ generated_at: string | null;
150
+ } | null;
133
151
  }, {
134
152
  user_id: string;
135
153
  username: string;
@@ -153,6 +171,11 @@ declare const GetUserDetailsV0ResponseZ: z.ZodObject<z.objectUtil.extendShape<{
153
171
  expires_at: string;
154
172
  cooldown_reset_at: string;
155
173
  } | null;
174
+ backup_code_details: {
175
+ total: number;
176
+ available: number;
177
+ generated_at: string | null;
178
+ } | null;
156
179
  }>;
157
180
  }, "strict", z.ZodTypeAny, {
158
181
  main: {
@@ -178,6 +201,11 @@ declare const GetUserDetailsV0ResponseZ: z.ZodObject<z.objectUtil.extendShape<{
178
201
  expires_at: string;
179
202
  cooldown_reset_at: string;
180
203
  } | null;
204
+ backup_code_details: {
205
+ total: number;
206
+ available: number;
207
+ generated_at: string | null;
208
+ } | null;
181
209
  };
182
210
  }, {
183
211
  main: {
@@ -203,6 +231,11 @@ declare const GetUserDetailsV0ResponseZ: z.ZodObject<z.objectUtil.extendShape<{
203
231
  expires_at: string;
204
232
  cooldown_reset_at: string;
205
233
  } | null;
234
+ backup_code_details: {
235
+ total: number;
236
+ available: number;
237
+ generated_at: string | null;
238
+ } | null;
206
239
  };
207
240
  }>;
208
241
  }>, "strict", z.ZodTypeAny, {
@@ -231,6 +264,11 @@ declare const GetUserDetailsV0ResponseZ: z.ZodObject<z.objectUtil.extendShape<{
231
264
  expires_at: string;
232
265
  cooldown_reset_at: string;
233
266
  } | null;
267
+ backup_code_details: {
268
+ total: number;
269
+ available: number;
270
+ generated_at: string | null;
271
+ } | null;
234
272
  };
235
273
  };
236
274
  log?: any;
@@ -260,6 +298,11 @@ declare const GetUserDetailsV0ResponseZ: z.ZodObject<z.objectUtil.extendShape<{
260
298
  expires_at: string;
261
299
  cooldown_reset_at: string;
262
300
  } | null;
301
+ backup_code_details: {
302
+ total: number;
303
+ available: number;
304
+ generated_at: string | null;
305
+ } | null;
263
306
  };
264
307
  };
265
308
  log?: any;
@@ -33,6 +33,13 @@ const GetUserDetailsV0ResponseZ = APIOutputZ.extend({
33
33
  email_verification_details: z
34
34
  .strictObject({ expires_at: z.string(), cooldown_reset_at: z.string() })
35
35
  .nullable(),
36
+ backup_code_details: z
37
+ .strictObject({
38
+ total: z.number(),
39
+ available: z.number(),
40
+ generated_at: z.string().nullable(),
41
+ })
42
+ .nullable(),
36
43
  }),
37
44
  }),
38
45
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "squarecommonblhelper",
3
- "version": "9.2.3",
3
+ "version": "9.3.0",
4
4
  "description": "helper for common bl for my projects.",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",