@fnlb-project/database 1.0.67 → 1.0.69

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.
Files changed (3) hide show
  1. package/dist/index.d.ts +1647 -0
  2. package/dist/index.js +191 -191
  3. package/package.json +2 -2
package/dist/index.d.ts CHANGED
@@ -297,7 +297,9 @@ export declare const CategoryModel: import("mongoose").Model<{
297
297
  function?: string | null | undefined;
298
298
  id?: string | null | undefined;
299
299
  _id?: unknown;
300
+ parent?: string | null | undefined;
300
301
  command?: string | null | undefined;
302
+ statement?: string | null | undefined;
301
303
  condition?: string | null | undefined;
302
304
  }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
303
305
  type: any;
@@ -305,7 +307,9 @@ export declare const CategoryModel: import("mongoose").Model<{
305
307
  function?: string | null | undefined;
306
308
  id?: string | null | undefined;
307
309
  _id?: unknown;
310
+ parent?: string | null | undefined;
308
311
  command?: string | null | undefined;
312
+ statement?: string | null | undefined;
309
313
  condition?: string | null | undefined;
310
314
  }> & {
311
315
  type: any;
@@ -313,7 +317,9 @@ export declare const CategoryModel: import("mongoose").Model<{
313
317
  function?: string | null | undefined;
314
318
  id?: string | null | undefined;
315
319
  _id?: unknown;
320
+ parent?: string | null | undefined;
316
321
  command?: string | null | undefined;
322
+ statement?: string | null | undefined;
317
323
  condition?: string | null | undefined;
318
324
  }>;
319
325
  _id?: unknown;
@@ -330,7 +336,9 @@ export declare const CategoryModel: import("mongoose").Model<{
330
336
  function?: string | null | undefined;
331
337
  id?: string | null | undefined;
332
338
  _id?: unknown;
339
+ parent?: string | null | undefined;
333
340
  command?: string | null | undefined;
341
+ statement?: string | null | undefined;
334
342
  condition?: string | null | undefined;
335
343
  }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
336
344
  type: any;
@@ -338,7 +346,9 @@ export declare const CategoryModel: import("mongoose").Model<{
338
346
  function?: string | null | undefined;
339
347
  id?: string | null | undefined;
340
348
  _id?: unknown;
349
+ parent?: string | null | undefined;
341
350
  command?: string | null | undefined;
351
+ statement?: string | null | undefined;
342
352
  condition?: string | null | undefined;
343
353
  }> & {
344
354
  type: any;
@@ -346,7 +356,9 @@ export declare const CategoryModel: import("mongoose").Model<{
346
356
  function?: string | null | undefined;
347
357
  id?: string | null | undefined;
348
358
  _id?: unknown;
359
+ parent?: string | null | undefined;
349
360
  command?: string | null | undefined;
361
+ statement?: string | null | undefined;
350
362
  condition?: string | null | undefined;
351
363
  }>;
352
364
  _id?: unknown;
@@ -363,7 +375,9 @@ export declare const CategoryModel: import("mongoose").Model<{
363
375
  function?: string | null | undefined;
364
376
  id?: string | null | undefined;
365
377
  _id?: unknown;
378
+ parent?: string | null | undefined;
366
379
  command?: string | null | undefined;
380
+ statement?: string | null | undefined;
367
381
  condition?: string | null | undefined;
368
382
  }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
369
383
  type: any;
@@ -371,7 +385,9 @@ export declare const CategoryModel: import("mongoose").Model<{
371
385
  function?: string | null | undefined;
372
386
  id?: string | null | undefined;
373
387
  _id?: unknown;
388
+ parent?: string | null | undefined;
374
389
  command?: string | null | undefined;
390
+ statement?: string | null | undefined;
375
391
  condition?: string | null | undefined;
376
392
  }> & {
377
393
  type: any;
@@ -379,7 +395,9 @@ export declare const CategoryModel: import("mongoose").Model<{
379
395
  function?: string | null | undefined;
380
396
  id?: string | null | undefined;
381
397
  _id?: unknown;
398
+ parent?: string | null | undefined;
382
399
  command?: string | null | undefined;
400
+ statement?: string | null | undefined;
383
401
  condition?: string | null | undefined;
384
402
  }>;
385
403
  _id?: unknown;
@@ -753,7 +771,9 @@ export declare const CategoryModel: import("mongoose").Model<{
753
771
  function?: string | null | undefined;
754
772
  id?: string | null | undefined;
755
773
  _id?: unknown;
774
+ parent?: string | null | undefined;
756
775
  command?: string | null | undefined;
776
+ statement?: string | null | undefined;
757
777
  condition?: string | null | undefined;
758
778
  }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
759
779
  type: any;
@@ -761,7 +781,9 @@ export declare const CategoryModel: import("mongoose").Model<{
761
781
  function?: string | null | undefined;
762
782
  id?: string | null | undefined;
763
783
  _id?: unknown;
784
+ parent?: string | null | undefined;
764
785
  command?: string | null | undefined;
786
+ statement?: string | null | undefined;
765
787
  condition?: string | null | undefined;
766
788
  }> & {
767
789
  type: any;
@@ -769,7 +791,9 @@ export declare const CategoryModel: import("mongoose").Model<{
769
791
  function?: string | null | undefined;
770
792
  id?: string | null | undefined;
771
793
  _id?: unknown;
794
+ parent?: string | null | undefined;
772
795
  command?: string | null | undefined;
796
+ statement?: string | null | undefined;
773
797
  condition?: string | null | undefined;
774
798
  }>;
775
799
  _id?: unknown;
@@ -786,7 +810,9 @@ export declare const CategoryModel: import("mongoose").Model<{
786
810
  function?: string | null | undefined;
787
811
  id?: string | null | undefined;
788
812
  _id?: unknown;
813
+ parent?: string | null | undefined;
789
814
  command?: string | null | undefined;
815
+ statement?: string | null | undefined;
790
816
  condition?: string | null | undefined;
791
817
  }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
792
818
  type: any;
@@ -794,7 +820,9 @@ export declare const CategoryModel: import("mongoose").Model<{
794
820
  function?: string | null | undefined;
795
821
  id?: string | null | undefined;
796
822
  _id?: unknown;
823
+ parent?: string | null | undefined;
797
824
  command?: string | null | undefined;
825
+ statement?: string | null | undefined;
798
826
  condition?: string | null | undefined;
799
827
  }> & {
800
828
  type: any;
@@ -802,7 +830,9 @@ export declare const CategoryModel: import("mongoose").Model<{
802
830
  function?: string | null | undefined;
803
831
  id?: string | null | undefined;
804
832
  _id?: unknown;
833
+ parent?: string | null | undefined;
805
834
  command?: string | null | undefined;
835
+ statement?: string | null | undefined;
806
836
  condition?: string | null | undefined;
807
837
  }>;
808
838
  _id?: unknown;
@@ -819,7 +849,9 @@ export declare const CategoryModel: import("mongoose").Model<{
819
849
  function?: string | null | undefined;
820
850
  id?: string | null | undefined;
821
851
  _id?: unknown;
852
+ parent?: string | null | undefined;
822
853
  command?: string | null | undefined;
854
+ statement?: string | null | undefined;
823
855
  condition?: string | null | undefined;
824
856
  }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
825
857
  type: any;
@@ -827,7 +859,9 @@ export declare const CategoryModel: import("mongoose").Model<{
827
859
  function?: string | null | undefined;
828
860
  id?: string | null | undefined;
829
861
  _id?: unknown;
862
+ parent?: string | null | undefined;
830
863
  command?: string | null | undefined;
864
+ statement?: string | null | undefined;
831
865
  condition?: string | null | undefined;
832
866
  }> & {
833
867
  type: any;
@@ -835,7 +869,9 @@ export declare const CategoryModel: import("mongoose").Model<{
835
869
  function?: string | null | undefined;
836
870
  id?: string | null | undefined;
837
871
  _id?: unknown;
872
+ parent?: string | null | undefined;
838
873
  command?: string | null | undefined;
874
+ statement?: string | null | undefined;
839
875
  condition?: string | null | undefined;
840
876
  }>;
841
877
  _id?: unknown;
@@ -1209,7 +1245,9 @@ export declare const CategoryModel: import("mongoose").Model<{
1209
1245
  function?: string | null | undefined;
1210
1246
  id?: string | null | undefined;
1211
1247
  _id?: unknown;
1248
+ parent?: string | null | undefined;
1212
1249
  command?: string | null | undefined;
1250
+ statement?: string | null | undefined;
1213
1251
  condition?: string | null | undefined;
1214
1252
  }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
1215
1253
  type: any;
@@ -1217,7 +1255,9 @@ export declare const CategoryModel: import("mongoose").Model<{
1217
1255
  function?: string | null | undefined;
1218
1256
  id?: string | null | undefined;
1219
1257
  _id?: unknown;
1258
+ parent?: string | null | undefined;
1220
1259
  command?: string | null | undefined;
1260
+ statement?: string | null | undefined;
1221
1261
  condition?: string | null | undefined;
1222
1262
  }> & {
1223
1263
  type: any;
@@ -1225,7 +1265,9 @@ export declare const CategoryModel: import("mongoose").Model<{
1225
1265
  function?: string | null | undefined;
1226
1266
  id?: string | null | undefined;
1227
1267
  _id?: unknown;
1268
+ parent?: string | null | undefined;
1228
1269
  command?: string | null | undefined;
1270
+ statement?: string | null | undefined;
1229
1271
  condition?: string | null | undefined;
1230
1272
  }>;
1231
1273
  _id?: unknown;
@@ -1242,7 +1284,9 @@ export declare const CategoryModel: import("mongoose").Model<{
1242
1284
  function?: string | null | undefined;
1243
1285
  id?: string | null | undefined;
1244
1286
  _id?: unknown;
1287
+ parent?: string | null | undefined;
1245
1288
  command?: string | null | undefined;
1289
+ statement?: string | null | undefined;
1246
1290
  condition?: string | null | undefined;
1247
1291
  }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
1248
1292
  type: any;
@@ -1250,7 +1294,9 @@ export declare const CategoryModel: import("mongoose").Model<{
1250
1294
  function?: string | null | undefined;
1251
1295
  id?: string | null | undefined;
1252
1296
  _id?: unknown;
1297
+ parent?: string | null | undefined;
1253
1298
  command?: string | null | undefined;
1299
+ statement?: string | null | undefined;
1254
1300
  condition?: string | null | undefined;
1255
1301
  }> & {
1256
1302
  type: any;
@@ -1258,7 +1304,9 @@ export declare const CategoryModel: import("mongoose").Model<{
1258
1304
  function?: string | null | undefined;
1259
1305
  id?: string | null | undefined;
1260
1306
  _id?: unknown;
1307
+ parent?: string | null | undefined;
1261
1308
  command?: string | null | undefined;
1309
+ statement?: string | null | undefined;
1262
1310
  condition?: string | null | undefined;
1263
1311
  }>;
1264
1312
  _id?: unknown;
@@ -1275,7 +1323,9 @@ export declare const CategoryModel: import("mongoose").Model<{
1275
1323
  function?: string | null | undefined;
1276
1324
  id?: string | null | undefined;
1277
1325
  _id?: unknown;
1326
+ parent?: string | null | undefined;
1278
1327
  command?: string | null | undefined;
1328
+ statement?: string | null | undefined;
1279
1329
  condition?: string | null | undefined;
1280
1330
  }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
1281
1331
  type: any;
@@ -1283,7 +1333,9 @@ export declare const CategoryModel: import("mongoose").Model<{
1283
1333
  function?: string | null | undefined;
1284
1334
  id?: string | null | undefined;
1285
1335
  _id?: unknown;
1336
+ parent?: string | null | undefined;
1286
1337
  command?: string | null | undefined;
1338
+ statement?: string | null | undefined;
1287
1339
  condition?: string | null | undefined;
1288
1340
  }> & {
1289
1341
  type: any;
@@ -1291,7 +1343,9 @@ export declare const CategoryModel: import("mongoose").Model<{
1291
1343
  function?: string | null | undefined;
1292
1344
  id?: string | null | undefined;
1293
1345
  _id?: unknown;
1346
+ parent?: string | null | undefined;
1294
1347
  command?: string | null | undefined;
1348
+ statement?: string | null | undefined;
1295
1349
  condition?: string | null | undefined;
1296
1350
  }>;
1297
1351
  _id?: unknown;
@@ -1669,7 +1723,9 @@ export declare const CategoryModel: import("mongoose").Model<{
1669
1723
  function?: string | null | undefined;
1670
1724
  id?: string | null | undefined;
1671
1725
  _id?: unknown;
1726
+ parent?: string | null | undefined;
1672
1727
  command?: string | null | undefined;
1728
+ statement?: string | null | undefined;
1673
1729
  condition?: string | null | undefined;
1674
1730
  }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
1675
1731
  type: any;
@@ -1677,7 +1733,9 @@ export declare const CategoryModel: import("mongoose").Model<{
1677
1733
  function?: string | null | undefined;
1678
1734
  id?: string | null | undefined;
1679
1735
  _id?: unknown;
1736
+ parent?: string | null | undefined;
1680
1737
  command?: string | null | undefined;
1738
+ statement?: string | null | undefined;
1681
1739
  condition?: string | null | undefined;
1682
1740
  }> & {
1683
1741
  type: any;
@@ -1685,7 +1743,9 @@ export declare const CategoryModel: import("mongoose").Model<{
1685
1743
  function?: string | null | undefined;
1686
1744
  id?: string | null | undefined;
1687
1745
  _id?: unknown;
1746
+ parent?: string | null | undefined;
1688
1747
  command?: string | null | undefined;
1748
+ statement?: string | null | undefined;
1689
1749
  condition?: string | null | undefined;
1690
1750
  }>;
1691
1751
  _id?: unknown;
@@ -1702,7 +1762,9 @@ export declare const CategoryModel: import("mongoose").Model<{
1702
1762
  function?: string | null | undefined;
1703
1763
  id?: string | null | undefined;
1704
1764
  _id?: unknown;
1765
+ parent?: string | null | undefined;
1705
1766
  command?: string | null | undefined;
1767
+ statement?: string | null | undefined;
1706
1768
  condition?: string | null | undefined;
1707
1769
  }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
1708
1770
  type: any;
@@ -1710,7 +1772,9 @@ export declare const CategoryModel: import("mongoose").Model<{
1710
1772
  function?: string | null | undefined;
1711
1773
  id?: string | null | undefined;
1712
1774
  _id?: unknown;
1775
+ parent?: string | null | undefined;
1713
1776
  command?: string | null | undefined;
1777
+ statement?: string | null | undefined;
1714
1778
  condition?: string | null | undefined;
1715
1779
  }> & {
1716
1780
  type: any;
@@ -1718,7 +1782,9 @@ export declare const CategoryModel: import("mongoose").Model<{
1718
1782
  function?: string | null | undefined;
1719
1783
  id?: string | null | undefined;
1720
1784
  _id?: unknown;
1785
+ parent?: string | null | undefined;
1721
1786
  command?: string | null | undefined;
1787
+ statement?: string | null | undefined;
1722
1788
  condition?: string | null | undefined;
1723
1789
  }>;
1724
1790
  _id?: unknown;
@@ -1735,7 +1801,9 @@ export declare const CategoryModel: import("mongoose").Model<{
1735
1801
  function?: string | null | undefined;
1736
1802
  id?: string | null | undefined;
1737
1803
  _id?: unknown;
1804
+ parent?: string | null | undefined;
1738
1805
  command?: string | null | undefined;
1806
+ statement?: string | null | undefined;
1739
1807
  condition?: string | null | undefined;
1740
1808
  }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
1741
1809
  type: any;
@@ -1743,7 +1811,9 @@ export declare const CategoryModel: import("mongoose").Model<{
1743
1811
  function?: string | null | undefined;
1744
1812
  id?: string | null | undefined;
1745
1813
  _id?: unknown;
1814
+ parent?: string | null | undefined;
1746
1815
  command?: string | null | undefined;
1816
+ statement?: string | null | undefined;
1747
1817
  condition?: string | null | undefined;
1748
1818
  }> & {
1749
1819
  type: any;
@@ -1751,7 +1821,9 @@ export declare const CategoryModel: import("mongoose").Model<{
1751
1821
  function?: string | null | undefined;
1752
1822
  id?: string | null | undefined;
1753
1823
  _id?: unknown;
1824
+ parent?: string | null | undefined;
1754
1825
  command?: string | null | undefined;
1826
+ statement?: string | null | undefined;
1755
1827
  condition?: string | null | undefined;
1756
1828
  }>;
1757
1829
  _id?: unknown;
@@ -2125,7 +2197,9 @@ export declare const CategoryModel: import("mongoose").Model<{
2125
2197
  function?: string | null | undefined;
2126
2198
  id?: string | null | undefined;
2127
2199
  _id?: unknown;
2200
+ parent?: string | null | undefined;
2128
2201
  command?: string | null | undefined;
2202
+ statement?: string | null | undefined;
2129
2203
  condition?: string | null | undefined;
2130
2204
  }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
2131
2205
  type: any;
@@ -2133,7 +2207,9 @@ export declare const CategoryModel: import("mongoose").Model<{
2133
2207
  function?: string | null | undefined;
2134
2208
  id?: string | null | undefined;
2135
2209
  _id?: unknown;
2210
+ parent?: string | null | undefined;
2136
2211
  command?: string | null | undefined;
2212
+ statement?: string | null | undefined;
2137
2213
  condition?: string | null | undefined;
2138
2214
  }> & {
2139
2215
  type: any;
@@ -2141,7 +2217,9 @@ export declare const CategoryModel: import("mongoose").Model<{
2141
2217
  function?: string | null | undefined;
2142
2218
  id?: string | null | undefined;
2143
2219
  _id?: unknown;
2220
+ parent?: string | null | undefined;
2144
2221
  command?: string | null | undefined;
2222
+ statement?: string | null | undefined;
2145
2223
  condition?: string | null | undefined;
2146
2224
  }>;
2147
2225
  _id?: unknown;
@@ -2158,7 +2236,9 @@ export declare const CategoryModel: import("mongoose").Model<{
2158
2236
  function?: string | null | undefined;
2159
2237
  id?: string | null | undefined;
2160
2238
  _id?: unknown;
2239
+ parent?: string | null | undefined;
2161
2240
  command?: string | null | undefined;
2241
+ statement?: string | null | undefined;
2162
2242
  condition?: string | null | undefined;
2163
2243
  }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
2164
2244
  type: any;
@@ -2166,7 +2246,9 @@ export declare const CategoryModel: import("mongoose").Model<{
2166
2246
  function?: string | null | undefined;
2167
2247
  id?: string | null | undefined;
2168
2248
  _id?: unknown;
2249
+ parent?: string | null | undefined;
2169
2250
  command?: string | null | undefined;
2251
+ statement?: string | null | undefined;
2170
2252
  condition?: string | null | undefined;
2171
2253
  }> & {
2172
2254
  type: any;
@@ -2174,7 +2256,9 @@ export declare const CategoryModel: import("mongoose").Model<{
2174
2256
  function?: string | null | undefined;
2175
2257
  id?: string | null | undefined;
2176
2258
  _id?: unknown;
2259
+ parent?: string | null | undefined;
2177
2260
  command?: string | null | undefined;
2261
+ statement?: string | null | undefined;
2178
2262
  condition?: string | null | undefined;
2179
2263
  }>;
2180
2264
  _id?: unknown;
@@ -2191,7 +2275,9 @@ export declare const CategoryModel: import("mongoose").Model<{
2191
2275
  function?: string | null | undefined;
2192
2276
  id?: string | null | undefined;
2193
2277
  _id?: unknown;
2278
+ parent?: string | null | undefined;
2194
2279
  command?: string | null | undefined;
2280
+ statement?: string | null | undefined;
2195
2281
  condition?: string | null | undefined;
2196
2282
  }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
2197
2283
  type: any;
@@ -2199,7 +2285,9 @@ export declare const CategoryModel: import("mongoose").Model<{
2199
2285
  function?: string | null | undefined;
2200
2286
  id?: string | null | undefined;
2201
2287
  _id?: unknown;
2288
+ parent?: string | null | undefined;
2202
2289
  command?: string | null | undefined;
2290
+ statement?: string | null | undefined;
2203
2291
  condition?: string | null | undefined;
2204
2292
  }> & {
2205
2293
  type: any;
@@ -2207,7 +2295,9 @@ export declare const CategoryModel: import("mongoose").Model<{
2207
2295
  function?: string | null | undefined;
2208
2296
  id?: string | null | undefined;
2209
2297
  _id?: unknown;
2298
+ parent?: string | null | undefined;
2210
2299
  command?: string | null | undefined;
2300
+ statement?: string | null | undefined;
2211
2301
  condition?: string | null | undefined;
2212
2302
  }>;
2213
2303
  _id?: unknown;
@@ -2581,7 +2671,9 @@ export declare const CategoryModel: import("mongoose").Model<{
2581
2671
  function?: string | null | undefined;
2582
2672
  id?: string | null | undefined;
2583
2673
  _id?: unknown;
2674
+ parent?: string | null | undefined;
2584
2675
  command?: string | null | undefined;
2676
+ statement?: string | null | undefined;
2585
2677
  condition?: string | null | undefined;
2586
2678
  }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
2587
2679
  type: any;
@@ -2589,7 +2681,9 @@ export declare const CategoryModel: import("mongoose").Model<{
2589
2681
  function?: string | null | undefined;
2590
2682
  id?: string | null | undefined;
2591
2683
  _id?: unknown;
2684
+ parent?: string | null | undefined;
2592
2685
  command?: string | null | undefined;
2686
+ statement?: string | null | undefined;
2593
2687
  condition?: string | null | undefined;
2594
2688
  }> & {
2595
2689
  type: any;
@@ -2597,7 +2691,9 @@ export declare const CategoryModel: import("mongoose").Model<{
2597
2691
  function?: string | null | undefined;
2598
2692
  id?: string | null | undefined;
2599
2693
  _id?: unknown;
2694
+ parent?: string | null | undefined;
2600
2695
  command?: string | null | undefined;
2696
+ statement?: string | null | undefined;
2601
2697
  condition?: string | null | undefined;
2602
2698
  }>;
2603
2699
  _id?: unknown;
@@ -2614,7 +2710,9 @@ export declare const CategoryModel: import("mongoose").Model<{
2614
2710
  function?: string | null | undefined;
2615
2711
  id?: string | null | undefined;
2616
2712
  _id?: unknown;
2713
+ parent?: string | null | undefined;
2617
2714
  command?: string | null | undefined;
2715
+ statement?: string | null | undefined;
2618
2716
  condition?: string | null | undefined;
2619
2717
  }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
2620
2718
  type: any;
@@ -2622,7 +2720,9 @@ export declare const CategoryModel: import("mongoose").Model<{
2622
2720
  function?: string | null | undefined;
2623
2721
  id?: string | null | undefined;
2624
2722
  _id?: unknown;
2723
+ parent?: string | null | undefined;
2625
2724
  command?: string | null | undefined;
2725
+ statement?: string | null | undefined;
2626
2726
  condition?: string | null | undefined;
2627
2727
  }> & {
2628
2728
  type: any;
@@ -2630,7 +2730,9 @@ export declare const CategoryModel: import("mongoose").Model<{
2630
2730
  function?: string | null | undefined;
2631
2731
  id?: string | null | undefined;
2632
2732
  _id?: unknown;
2733
+ parent?: string | null | undefined;
2633
2734
  command?: string | null | undefined;
2735
+ statement?: string | null | undefined;
2634
2736
  condition?: string | null | undefined;
2635
2737
  }>;
2636
2738
  _id?: unknown;
@@ -2647,7 +2749,9 @@ export declare const CategoryModel: import("mongoose").Model<{
2647
2749
  function?: string | null | undefined;
2648
2750
  id?: string | null | undefined;
2649
2751
  _id?: unknown;
2752
+ parent?: string | null | undefined;
2650
2753
  command?: string | null | undefined;
2754
+ statement?: string | null | undefined;
2651
2755
  condition?: string | null | undefined;
2652
2756
  }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
2653
2757
  type: any;
@@ -2655,7 +2759,9 @@ export declare const CategoryModel: import("mongoose").Model<{
2655
2759
  function?: string | null | undefined;
2656
2760
  id?: string | null | undefined;
2657
2761
  _id?: unknown;
2762
+ parent?: string | null | undefined;
2658
2763
  command?: string | null | undefined;
2764
+ statement?: string | null | undefined;
2659
2765
  condition?: string | null | undefined;
2660
2766
  }> & {
2661
2767
  type: any;
@@ -2663,7 +2769,9 @@ export declare const CategoryModel: import("mongoose").Model<{
2663
2769
  function?: string | null | undefined;
2664
2770
  id?: string | null | undefined;
2665
2771
  _id?: unknown;
2772
+ parent?: string | null | undefined;
2666
2773
  command?: string | null | undefined;
2774
+ statement?: string | null | undefined;
2667
2775
  condition?: string | null | undefined;
2668
2776
  }>;
2669
2777
  _id?: unknown;
@@ -2982,6 +3090,25 @@ export declare const UserModel: import("mongoose").Model<{
2982
3090
  token: string;
2983
3091
  _id?: unknown;
2984
3092
  }> | null | undefined;
3093
+ mfa?: {
3094
+ totp?: {
3095
+ enabled: boolean;
3096
+ secret?: string | null | undefined;
3097
+ } | null | undefined;
3098
+ recoveryCodes?: import("mongoose").Types.DocumentArray<{
3099
+ hash: string;
3100
+ _id?: unknown;
3101
+ usedAt?: NativeDate | null | undefined;
3102
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
3103
+ hash: string;
3104
+ _id?: unknown;
3105
+ usedAt?: NativeDate | null | undefined;
3106
+ }> & {
3107
+ hash: string;
3108
+ _id?: unknown;
3109
+ usedAt?: NativeDate | null | undefined;
3110
+ }> | null | undefined;
3111
+ } | null | undefined;
2985
3112
  }, {}, {}, {}, import("mongoose").Document<unknown, {}, {
2986
3113
  password: string;
2987
3114
  email: string;
@@ -3017,6 +3144,25 @@ export declare const UserModel: import("mongoose").Model<{
3017
3144
  token: string;
3018
3145
  _id?: unknown;
3019
3146
  }> | null | undefined;
3147
+ mfa?: {
3148
+ totp?: {
3149
+ enabled: boolean;
3150
+ secret?: string | null | undefined;
3151
+ } | null | undefined;
3152
+ recoveryCodes?: import("mongoose").Types.DocumentArray<{
3153
+ hash: string;
3154
+ _id?: unknown;
3155
+ usedAt?: NativeDate | null | undefined;
3156
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
3157
+ hash: string;
3158
+ _id?: unknown;
3159
+ usedAt?: NativeDate | null | undefined;
3160
+ }> & {
3161
+ hash: string;
3162
+ _id?: unknown;
3163
+ usedAt?: NativeDate | null | undefined;
3164
+ }> | null | undefined;
3165
+ } | null | undefined;
3020
3166
  }, {}, {
3021
3167
  statics: {
3022
3168
  verifyPassword(this: import("mongoose").Model<{
@@ -3054,6 +3200,25 @@ export declare const UserModel: import("mongoose").Model<{
3054
3200
  token: string;
3055
3201
  _id?: unknown;
3056
3202
  }> | null | undefined;
3203
+ mfa?: {
3204
+ totp?: {
3205
+ enabled: boolean;
3206
+ secret?: string | null | undefined;
3207
+ } | null | undefined;
3208
+ recoveryCodes?: import("mongoose").Types.DocumentArray<{
3209
+ hash: string;
3210
+ _id?: unknown;
3211
+ usedAt?: NativeDate | null | undefined;
3212
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
3213
+ hash: string;
3214
+ _id?: unknown;
3215
+ usedAt?: NativeDate | null | undefined;
3216
+ }> & {
3217
+ hash: string;
3218
+ _id?: unknown;
3219
+ usedAt?: NativeDate | null | undefined;
3220
+ }> | null | undefined;
3221
+ } | null | undefined;
3057
3222
  }, {}, {}, {}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
3058
3223
  password: string;
3059
3224
  email: string;
@@ -3089,6 +3254,25 @@ export declare const UserModel: import("mongoose").Model<{
3089
3254
  token: string;
3090
3255
  _id?: unknown;
3091
3256
  }> | null | undefined;
3257
+ mfa?: {
3258
+ totp?: {
3259
+ enabled: boolean;
3260
+ secret?: string | null | undefined;
3261
+ } | null | undefined;
3262
+ recoveryCodes?: import("mongoose").Types.DocumentArray<{
3263
+ hash: string;
3264
+ _id?: unknown;
3265
+ usedAt?: NativeDate | null | undefined;
3266
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
3267
+ hash: string;
3268
+ _id?: unknown;
3269
+ usedAt?: NativeDate | null | undefined;
3270
+ }> & {
3271
+ hash: string;
3272
+ _id?: unknown;
3273
+ usedAt?: NativeDate | null | undefined;
3274
+ }> | null | undefined;
3275
+ } | null | undefined;
3092
3276
  }>, {}, import("mongoose").DefaultSchemaOptions> & import("mongoose").FlatRecord<{
3093
3277
  password: string;
3094
3278
  email: string;
@@ -3124,6 +3308,25 @@ export declare const UserModel: import("mongoose").Model<{
3124
3308
  token: string;
3125
3309
  _id?: unknown;
3126
3310
  }> | null | undefined;
3311
+ mfa?: {
3312
+ totp?: {
3313
+ enabled: boolean;
3314
+ secret?: string | null | undefined;
3315
+ } | null | undefined;
3316
+ recoveryCodes?: import("mongoose").Types.DocumentArray<{
3317
+ hash: string;
3318
+ _id?: unknown;
3319
+ usedAt?: NativeDate | null | undefined;
3320
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
3321
+ hash: string;
3322
+ _id?: unknown;
3323
+ usedAt?: NativeDate | null | undefined;
3324
+ }> & {
3325
+ hash: string;
3326
+ _id?: unknown;
3327
+ usedAt?: NativeDate | null | undefined;
3328
+ }> | null | undefined;
3329
+ } | null | undefined;
3127
3330
  }> & {
3128
3331
  _id: import("mongoose").Types.ObjectId;
3129
3332
  } & {
@@ -3164,6 +3367,25 @@ export declare const UserModel: import("mongoose").Model<{
3164
3367
  token: string;
3165
3368
  _id?: unknown;
3166
3369
  }> | null | undefined;
3370
+ mfa?: {
3371
+ totp?: {
3372
+ enabled: boolean;
3373
+ secret?: string | null | undefined;
3374
+ } | null | undefined;
3375
+ recoveryCodes?: import("mongoose").Types.DocumentArray<{
3376
+ hash: string;
3377
+ _id?: unknown;
3378
+ usedAt?: NativeDate | null | undefined;
3379
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
3380
+ hash: string;
3381
+ _id?: unknown;
3382
+ usedAt?: NativeDate | null | undefined;
3383
+ }> & {
3384
+ hash: string;
3385
+ _id?: unknown;
3386
+ usedAt?: NativeDate | null | undefined;
3387
+ }> | null | undefined;
3388
+ } | null | undefined;
3167
3389
  }, {}, {}, {}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
3168
3390
  password: string;
3169
3391
  email: string;
@@ -3199,6 +3421,25 @@ export declare const UserModel: import("mongoose").Model<{
3199
3421
  token: string;
3200
3422
  _id?: unknown;
3201
3423
  }> | null | undefined;
3424
+ mfa?: {
3425
+ totp?: {
3426
+ enabled: boolean;
3427
+ secret?: string | null | undefined;
3428
+ } | null | undefined;
3429
+ recoveryCodes?: import("mongoose").Types.DocumentArray<{
3430
+ hash: string;
3431
+ _id?: unknown;
3432
+ usedAt?: NativeDate | null | undefined;
3433
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
3434
+ hash: string;
3435
+ _id?: unknown;
3436
+ usedAt?: NativeDate | null | undefined;
3437
+ }> & {
3438
+ hash: string;
3439
+ _id?: unknown;
3440
+ usedAt?: NativeDate | null | undefined;
3441
+ }> | null | undefined;
3442
+ } | null | undefined;
3202
3443
  }>, {}, import("mongoose").DefaultSchemaOptions> & import("mongoose").FlatRecord<{
3203
3444
  password: string;
3204
3445
  email: string;
@@ -3234,6 +3475,25 @@ export declare const UserModel: import("mongoose").Model<{
3234
3475
  token: string;
3235
3476
  _id?: unknown;
3236
3477
  }> | null | undefined;
3478
+ mfa?: {
3479
+ totp?: {
3480
+ enabled: boolean;
3481
+ secret?: string | null | undefined;
3482
+ } | null | undefined;
3483
+ recoveryCodes?: import("mongoose").Types.DocumentArray<{
3484
+ hash: string;
3485
+ _id?: unknown;
3486
+ usedAt?: NativeDate | null | undefined;
3487
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
3488
+ hash: string;
3489
+ _id?: unknown;
3490
+ usedAt?: NativeDate | null | undefined;
3491
+ }> & {
3492
+ hash: string;
3493
+ _id?: unknown;
3494
+ usedAt?: NativeDate | null | undefined;
3495
+ }> | null | undefined;
3496
+ } | null | undefined;
3237
3497
  }> & {
3238
3498
  _id: import("mongoose").Types.ObjectId;
3239
3499
  } & {
@@ -3273,6 +3533,25 @@ export declare const UserModel: import("mongoose").Model<{
3273
3533
  token: string;
3274
3534
  _id?: unknown;
3275
3535
  }> | null | undefined;
3536
+ mfa?: {
3537
+ totp?: {
3538
+ enabled: boolean;
3539
+ secret?: string | null | undefined;
3540
+ } | null | undefined;
3541
+ recoveryCodes?: import("mongoose").Types.DocumentArray<{
3542
+ hash: string;
3543
+ _id?: unknown;
3544
+ usedAt?: NativeDate | null | undefined;
3545
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
3546
+ hash: string;
3547
+ _id?: unknown;
3548
+ usedAt?: NativeDate | null | undefined;
3549
+ }> & {
3550
+ hash: string;
3551
+ _id?: unknown;
3552
+ usedAt?: NativeDate | null | undefined;
3553
+ }> | null | undefined;
3554
+ } | null | undefined;
3276
3555
  }>, {}, import("mongoose").DefaultSchemaOptions> & import("mongoose").FlatRecord<{
3277
3556
  password: string;
3278
3557
  email: string;
@@ -3308,6 +3587,25 @@ export declare const UserModel: import("mongoose").Model<{
3308
3587
  token: string;
3309
3588
  _id?: unknown;
3310
3589
  }> | null | undefined;
3590
+ mfa?: {
3591
+ totp?: {
3592
+ enabled: boolean;
3593
+ secret?: string | null | undefined;
3594
+ } | null | undefined;
3595
+ recoveryCodes?: import("mongoose").Types.DocumentArray<{
3596
+ hash: string;
3597
+ _id?: unknown;
3598
+ usedAt?: NativeDate | null | undefined;
3599
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
3600
+ hash: string;
3601
+ _id?: unknown;
3602
+ usedAt?: NativeDate | null | undefined;
3603
+ }> & {
3604
+ hash: string;
3605
+ _id?: unknown;
3606
+ usedAt?: NativeDate | null | undefined;
3607
+ }> | null | undefined;
3608
+ } | null | undefined;
3311
3609
  }> & {
3312
3610
  _id: import("mongoose").Types.ObjectId;
3313
3611
  } & {
@@ -3348,6 +3646,25 @@ export declare const UserModel: import("mongoose").Model<{
3348
3646
  token: string;
3349
3647
  _id?: unknown;
3350
3648
  }> | null | undefined;
3649
+ mfa?: {
3650
+ totp?: {
3651
+ enabled: boolean;
3652
+ secret?: string | null | undefined;
3653
+ } | null | undefined;
3654
+ recoveryCodes?: import("mongoose").Types.DocumentArray<{
3655
+ hash: string;
3656
+ _id?: unknown;
3657
+ usedAt?: NativeDate | null | undefined;
3658
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
3659
+ hash: string;
3660
+ _id?: unknown;
3661
+ usedAt?: NativeDate | null | undefined;
3662
+ }> & {
3663
+ hash: string;
3664
+ _id?: unknown;
3665
+ usedAt?: NativeDate | null | undefined;
3666
+ }> | null | undefined;
3667
+ } | null | undefined;
3351
3668
  }, {}, {}, {}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
3352
3669
  password: string;
3353
3670
  email: string;
@@ -3383,6 +3700,25 @@ export declare const UserModel: import("mongoose").Model<{
3383
3700
  token: string;
3384
3701
  _id?: unknown;
3385
3702
  }> | null | undefined;
3703
+ mfa?: {
3704
+ totp?: {
3705
+ enabled: boolean;
3706
+ secret?: string | null | undefined;
3707
+ } | null | undefined;
3708
+ recoveryCodes?: import("mongoose").Types.DocumentArray<{
3709
+ hash: string;
3710
+ _id?: unknown;
3711
+ usedAt?: NativeDate | null | undefined;
3712
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
3713
+ hash: string;
3714
+ _id?: unknown;
3715
+ usedAt?: NativeDate | null | undefined;
3716
+ }> & {
3717
+ hash: string;
3718
+ _id?: unknown;
3719
+ usedAt?: NativeDate | null | undefined;
3720
+ }> | null | undefined;
3721
+ } | null | undefined;
3386
3722
  }>, {}, import("mongoose").DefaultSchemaOptions> & import("mongoose").FlatRecord<{
3387
3723
  password: string;
3388
3724
  email: string;
@@ -3418,6 +3754,25 @@ export declare const UserModel: import("mongoose").Model<{
3418
3754
  token: string;
3419
3755
  _id?: unknown;
3420
3756
  }> | null | undefined;
3757
+ mfa?: {
3758
+ totp?: {
3759
+ enabled: boolean;
3760
+ secret?: string | null | undefined;
3761
+ } | null | undefined;
3762
+ recoveryCodes?: import("mongoose").Types.DocumentArray<{
3763
+ hash: string;
3764
+ _id?: unknown;
3765
+ usedAt?: NativeDate | null | undefined;
3766
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
3767
+ hash: string;
3768
+ _id?: unknown;
3769
+ usedAt?: NativeDate | null | undefined;
3770
+ }> & {
3771
+ hash: string;
3772
+ _id?: unknown;
3773
+ usedAt?: NativeDate | null | undefined;
3774
+ }> | null | undefined;
3775
+ } | null | undefined;
3421
3776
  }> & {
3422
3777
  _id: import("mongoose").Types.ObjectId;
3423
3778
  } & {
@@ -3457,6 +3812,25 @@ export declare const UserModel: import("mongoose").Model<{
3457
3812
  token: string;
3458
3813
  _id?: unknown;
3459
3814
  }> | null | undefined;
3815
+ mfa?: {
3816
+ totp?: {
3817
+ enabled: boolean;
3818
+ secret?: string | null | undefined;
3819
+ } | null | undefined;
3820
+ recoveryCodes?: import("mongoose").Types.DocumentArray<{
3821
+ hash: string;
3822
+ _id?: unknown;
3823
+ usedAt?: NativeDate | null | undefined;
3824
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
3825
+ hash: string;
3826
+ _id?: unknown;
3827
+ usedAt?: NativeDate | null | undefined;
3828
+ }> & {
3829
+ hash: string;
3830
+ _id?: unknown;
3831
+ usedAt?: NativeDate | null | undefined;
3832
+ }> | null | undefined;
3833
+ } | null | undefined;
3460
3834
  }>, {}, import("mongoose").DefaultSchemaOptions> & import("mongoose").FlatRecord<{
3461
3835
  password: string;
3462
3836
  email: string;
@@ -3492,6 +3866,25 @@ export declare const UserModel: import("mongoose").Model<{
3492
3866
  token: string;
3493
3867
  _id?: unknown;
3494
3868
  }> | null | undefined;
3869
+ mfa?: {
3870
+ totp?: {
3871
+ enabled: boolean;
3872
+ secret?: string | null | undefined;
3873
+ } | null | undefined;
3874
+ recoveryCodes?: import("mongoose").Types.DocumentArray<{
3875
+ hash: string;
3876
+ _id?: unknown;
3877
+ usedAt?: NativeDate | null | undefined;
3878
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
3879
+ hash: string;
3880
+ _id?: unknown;
3881
+ usedAt?: NativeDate | null | undefined;
3882
+ }> & {
3883
+ hash: string;
3884
+ _id?: unknown;
3885
+ usedAt?: NativeDate | null | undefined;
3886
+ }> | null | undefined;
3887
+ } | null | undefined;
3495
3888
  }> & {
3496
3889
  _id: import("mongoose").Types.ObjectId;
3497
3890
  } & {
@@ -3532,6 +3925,25 @@ export declare const UserModel: import("mongoose").Model<{
3532
3925
  token: string;
3533
3926
  _id?: unknown;
3534
3927
  }> | null | undefined;
3928
+ mfa?: {
3929
+ totp?: {
3930
+ enabled: boolean;
3931
+ secret?: string | null | undefined;
3932
+ } | null | undefined;
3933
+ recoveryCodes?: import("mongoose").Types.DocumentArray<{
3934
+ hash: string;
3935
+ _id?: unknown;
3936
+ usedAt?: NativeDate | null | undefined;
3937
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
3938
+ hash: string;
3939
+ _id?: unknown;
3940
+ usedAt?: NativeDate | null | undefined;
3941
+ }> & {
3942
+ hash: string;
3943
+ _id?: unknown;
3944
+ usedAt?: NativeDate | null | undefined;
3945
+ }> | null | undefined;
3946
+ } | null | undefined;
3535
3947
  }, {}, {}, {}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
3536
3948
  password: string;
3537
3949
  email: string;
@@ -3567,6 +3979,25 @@ export declare const UserModel: import("mongoose").Model<{
3567
3979
  token: string;
3568
3980
  _id?: unknown;
3569
3981
  }> | null | undefined;
3982
+ mfa?: {
3983
+ totp?: {
3984
+ enabled: boolean;
3985
+ secret?: string | null | undefined;
3986
+ } | null | undefined;
3987
+ recoveryCodes?: import("mongoose").Types.DocumentArray<{
3988
+ hash: string;
3989
+ _id?: unknown;
3990
+ usedAt?: NativeDate | null | undefined;
3991
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
3992
+ hash: string;
3993
+ _id?: unknown;
3994
+ usedAt?: NativeDate | null | undefined;
3995
+ }> & {
3996
+ hash: string;
3997
+ _id?: unknown;
3998
+ usedAt?: NativeDate | null | undefined;
3999
+ }> | null | undefined;
4000
+ } | null | undefined;
3570
4001
  }>, {}, import("mongoose").DefaultSchemaOptions> & import("mongoose").FlatRecord<{
3571
4002
  password: string;
3572
4003
  email: string;
@@ -3602,6 +4033,25 @@ export declare const UserModel: import("mongoose").Model<{
3602
4033
  token: string;
3603
4034
  _id?: unknown;
3604
4035
  }> | null | undefined;
4036
+ mfa?: {
4037
+ totp?: {
4038
+ enabled: boolean;
4039
+ secret?: string | null | undefined;
4040
+ } | null | undefined;
4041
+ recoveryCodes?: import("mongoose").Types.DocumentArray<{
4042
+ hash: string;
4043
+ _id?: unknown;
4044
+ usedAt?: NativeDate | null | undefined;
4045
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
4046
+ hash: string;
4047
+ _id?: unknown;
4048
+ usedAt?: NativeDate | null | undefined;
4049
+ }> & {
4050
+ hash: string;
4051
+ _id?: unknown;
4052
+ usedAt?: NativeDate | null | undefined;
4053
+ }> | null | undefined;
4054
+ } | null | undefined;
3605
4055
  }> & {
3606
4056
  _id: import("mongoose").Types.ObjectId;
3607
4057
  } & {
@@ -3642,6 +4092,25 @@ export declare const UserModel: import("mongoose").Model<{
3642
4092
  token: string;
3643
4093
  _id?: unknown;
3644
4094
  }> | null | undefined;
4095
+ mfa?: {
4096
+ totp?: {
4097
+ enabled: boolean;
4098
+ secret?: string | null | undefined;
4099
+ } | null | undefined;
4100
+ recoveryCodes?: import("mongoose").Types.DocumentArray<{
4101
+ hash: string;
4102
+ _id?: unknown;
4103
+ usedAt?: NativeDate | null | undefined;
4104
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
4105
+ hash: string;
4106
+ _id?: unknown;
4107
+ usedAt?: NativeDate | null | undefined;
4108
+ }> & {
4109
+ hash: string;
4110
+ _id?: unknown;
4111
+ usedAt?: NativeDate | null | undefined;
4112
+ }> | null | undefined;
4113
+ } | null | undefined;
3645
4114
  }>, {}, import("mongoose").DefaultSchemaOptions> & import("mongoose").FlatRecord<{
3646
4115
  password: string;
3647
4116
  email: string;
@@ -3677,6 +4146,25 @@ export declare const UserModel: import("mongoose").Model<{
3677
4146
  token: string;
3678
4147
  _id?: unknown;
3679
4148
  }> | null | undefined;
4149
+ mfa?: {
4150
+ totp?: {
4151
+ enabled: boolean;
4152
+ secret?: string | null | undefined;
4153
+ } | null | undefined;
4154
+ recoveryCodes?: import("mongoose").Types.DocumentArray<{
4155
+ hash: string;
4156
+ _id?: unknown;
4157
+ usedAt?: NativeDate | null | undefined;
4158
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
4159
+ hash: string;
4160
+ _id?: unknown;
4161
+ usedAt?: NativeDate | null | undefined;
4162
+ }> & {
4163
+ hash: string;
4164
+ _id?: unknown;
4165
+ usedAt?: NativeDate | null | undefined;
4166
+ }> | null | undefined;
4167
+ } | null | undefined;
3680
4168
  }> & {
3681
4169
  _id: import("mongoose").Types.ObjectId;
3682
4170
  } & {
@@ -3730,6 +4218,25 @@ export declare const UserModel: import("mongoose").Model<{
3730
4218
  token: string;
3731
4219
  _id?: unknown;
3732
4220
  }> | null | undefined;
4221
+ mfa?: {
4222
+ totp?: {
4223
+ enabled: boolean;
4224
+ secret?: string | null | undefined;
4225
+ } | null | undefined;
4226
+ recoveryCodes?: import("mongoose").Types.DocumentArray<{
4227
+ hash: string;
4228
+ _id?: unknown;
4229
+ usedAt?: NativeDate | null | undefined;
4230
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
4231
+ hash: string;
4232
+ _id?: unknown;
4233
+ usedAt?: NativeDate | null | undefined;
4234
+ }> & {
4235
+ hash: string;
4236
+ _id?: unknown;
4237
+ usedAt?: NativeDate | null | undefined;
4238
+ }> | null | undefined;
4239
+ } | null | undefined;
3733
4240
  } & {
3734
4241
  _id: import("mongoose").Types.ObjectId;
3735
4242
  } & {
@@ -3769,6 +4276,25 @@ export declare const UserModel: import("mongoose").Model<{
3769
4276
  token: string;
3770
4277
  _id?: unknown;
3771
4278
  }> | null | undefined;
4279
+ mfa?: {
4280
+ totp?: {
4281
+ enabled: boolean;
4282
+ secret?: string | null | undefined;
4283
+ } | null | undefined;
4284
+ recoveryCodes?: import("mongoose").Types.DocumentArray<{
4285
+ hash: string;
4286
+ _id?: unknown;
4287
+ usedAt?: NativeDate | null | undefined;
4288
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
4289
+ hash: string;
4290
+ _id?: unknown;
4291
+ usedAt?: NativeDate | null | undefined;
4292
+ }> & {
4293
+ hash: string;
4294
+ _id?: unknown;
4295
+ usedAt?: NativeDate | null | undefined;
4296
+ }> | null | undefined;
4297
+ } | null | undefined;
3772
4298
  }, {}, {}, {}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
3773
4299
  password: string;
3774
4300
  email: string;
@@ -3804,6 +4330,25 @@ export declare const UserModel: import("mongoose").Model<{
3804
4330
  token: string;
3805
4331
  _id?: unknown;
3806
4332
  }> | null | undefined;
4333
+ mfa?: {
4334
+ totp?: {
4335
+ enabled: boolean;
4336
+ secret?: string | null | undefined;
4337
+ } | null | undefined;
4338
+ recoveryCodes?: import("mongoose").Types.DocumentArray<{
4339
+ hash: string;
4340
+ _id?: unknown;
4341
+ usedAt?: NativeDate | null | undefined;
4342
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
4343
+ hash: string;
4344
+ _id?: unknown;
4345
+ usedAt?: NativeDate | null | undefined;
4346
+ }> & {
4347
+ hash: string;
4348
+ _id?: unknown;
4349
+ usedAt?: NativeDate | null | undefined;
4350
+ }> | null | undefined;
4351
+ } | null | undefined;
3807
4352
  }>, {}, import("mongoose").DefaultSchemaOptions> & import("mongoose").FlatRecord<{
3808
4353
  password: string;
3809
4354
  email: string;
@@ -3839,6 +4384,25 @@ export declare const UserModel: import("mongoose").Model<{
3839
4384
  token: string;
3840
4385
  _id?: unknown;
3841
4386
  }> | null | undefined;
4387
+ mfa?: {
4388
+ totp?: {
4389
+ enabled: boolean;
4390
+ secret?: string | null | undefined;
4391
+ } | null | undefined;
4392
+ recoveryCodes?: import("mongoose").Types.DocumentArray<{
4393
+ hash: string;
4394
+ _id?: unknown;
4395
+ usedAt?: NativeDate | null | undefined;
4396
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
4397
+ hash: string;
4398
+ _id?: unknown;
4399
+ usedAt?: NativeDate | null | undefined;
4400
+ }> & {
4401
+ hash: string;
4402
+ _id?: unknown;
4403
+ usedAt?: NativeDate | null | undefined;
4404
+ }> | null | undefined;
4405
+ } | null | undefined;
3842
4406
  }> & {
3843
4407
  _id: import("mongoose").Types.ObjectId;
3844
4408
  } & {
@@ -3879,6 +4443,25 @@ export declare const UserModel: import("mongoose").Model<{
3879
4443
  token: string;
3880
4444
  _id?: unknown;
3881
4445
  }> | null | undefined;
4446
+ mfa?: {
4447
+ totp?: {
4448
+ enabled: boolean;
4449
+ secret?: string | null | undefined;
4450
+ } | null | undefined;
4451
+ recoveryCodes?: import("mongoose").Types.DocumentArray<{
4452
+ hash: string;
4453
+ _id?: unknown;
4454
+ usedAt?: NativeDate | null | undefined;
4455
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
4456
+ hash: string;
4457
+ _id?: unknown;
4458
+ usedAt?: NativeDate | null | undefined;
4459
+ }> & {
4460
+ hash: string;
4461
+ _id?: unknown;
4462
+ usedAt?: NativeDate | null | undefined;
4463
+ }> | null | undefined;
4464
+ } | null | undefined;
3882
4465
  }, {}, {}, {}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
3883
4466
  password: string;
3884
4467
  email: string;
@@ -3914,6 +4497,25 @@ export declare const UserModel: import("mongoose").Model<{
3914
4497
  token: string;
3915
4498
  _id?: unknown;
3916
4499
  }> | null | undefined;
4500
+ mfa?: {
4501
+ totp?: {
4502
+ enabled: boolean;
4503
+ secret?: string | null | undefined;
4504
+ } | null | undefined;
4505
+ recoveryCodes?: import("mongoose").Types.DocumentArray<{
4506
+ hash: string;
4507
+ _id?: unknown;
4508
+ usedAt?: NativeDate | null | undefined;
4509
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
4510
+ hash: string;
4511
+ _id?: unknown;
4512
+ usedAt?: NativeDate | null | undefined;
4513
+ }> & {
4514
+ hash: string;
4515
+ _id?: unknown;
4516
+ usedAt?: NativeDate | null | undefined;
4517
+ }> | null | undefined;
4518
+ } | null | undefined;
3917
4519
  }>, {}, import("mongoose").DefaultSchemaOptions> & import("mongoose").FlatRecord<{
3918
4520
  password: string;
3919
4521
  email: string;
@@ -3949,6 +4551,25 @@ export declare const UserModel: import("mongoose").Model<{
3949
4551
  token: string;
3950
4552
  _id?: unknown;
3951
4553
  }> | null | undefined;
4554
+ mfa?: {
4555
+ totp?: {
4556
+ enabled: boolean;
4557
+ secret?: string | null | undefined;
4558
+ } | null | undefined;
4559
+ recoveryCodes?: import("mongoose").Types.DocumentArray<{
4560
+ hash: string;
4561
+ _id?: unknown;
4562
+ usedAt?: NativeDate | null | undefined;
4563
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
4564
+ hash: string;
4565
+ _id?: unknown;
4566
+ usedAt?: NativeDate | null | undefined;
4567
+ }> & {
4568
+ hash: string;
4569
+ _id?: unknown;
4570
+ usedAt?: NativeDate | null | undefined;
4571
+ }> | null | undefined;
4572
+ } | null | undefined;
3952
4573
  }> & {
3953
4574
  _id: import("mongoose").Types.ObjectId;
3954
4575
  } & {
@@ -3989,6 +4610,25 @@ export declare const UserModel: import("mongoose").Model<{
3989
4610
  token: string;
3990
4611
  _id?: unknown;
3991
4612
  }> | null | undefined;
4613
+ mfa?: {
4614
+ totp?: {
4615
+ enabled: boolean;
4616
+ secret?: string | null | undefined;
4617
+ } | null | undefined;
4618
+ recoveryCodes?: import("mongoose").Types.DocumentArray<{
4619
+ hash: string;
4620
+ _id?: unknown;
4621
+ usedAt?: NativeDate | null | undefined;
4622
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
4623
+ hash: string;
4624
+ _id?: unknown;
4625
+ usedAt?: NativeDate | null | undefined;
4626
+ }> & {
4627
+ hash: string;
4628
+ _id?: unknown;
4629
+ usedAt?: NativeDate | null | undefined;
4630
+ }> | null | undefined;
4631
+ } | null | undefined;
3992
4632
  }, {}, {}, {}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
3993
4633
  password: string;
3994
4634
  email: string;
@@ -4024,6 +4664,25 @@ export declare const UserModel: import("mongoose").Model<{
4024
4664
  token: string;
4025
4665
  _id?: unknown;
4026
4666
  }> | null | undefined;
4667
+ mfa?: {
4668
+ totp?: {
4669
+ enabled: boolean;
4670
+ secret?: string | null | undefined;
4671
+ } | null | undefined;
4672
+ recoveryCodes?: import("mongoose").Types.DocumentArray<{
4673
+ hash: string;
4674
+ _id?: unknown;
4675
+ usedAt?: NativeDate | null | undefined;
4676
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
4677
+ hash: string;
4678
+ _id?: unknown;
4679
+ usedAt?: NativeDate | null | undefined;
4680
+ }> & {
4681
+ hash: string;
4682
+ _id?: unknown;
4683
+ usedAt?: NativeDate | null | undefined;
4684
+ }> | null | undefined;
4685
+ } | null | undefined;
4027
4686
  }>, {}, import("mongoose").DefaultSchemaOptions> & import("mongoose").FlatRecord<{
4028
4687
  password: string;
4029
4688
  email: string;
@@ -4059,6 +4718,25 @@ export declare const UserModel: import("mongoose").Model<{
4059
4718
  token: string;
4060
4719
  _id?: unknown;
4061
4720
  }> | null | undefined;
4721
+ mfa?: {
4722
+ totp?: {
4723
+ enabled: boolean;
4724
+ secret?: string | null | undefined;
4725
+ } | null | undefined;
4726
+ recoveryCodes?: import("mongoose").Types.DocumentArray<{
4727
+ hash: string;
4728
+ _id?: unknown;
4729
+ usedAt?: NativeDate | null | undefined;
4730
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
4731
+ hash: string;
4732
+ _id?: unknown;
4733
+ usedAt?: NativeDate | null | undefined;
4734
+ }> & {
4735
+ hash: string;
4736
+ _id?: unknown;
4737
+ usedAt?: NativeDate | null | undefined;
4738
+ }> | null | undefined;
4739
+ } | null | undefined;
4062
4740
  }> & {
4063
4741
  _id: import("mongoose").Types.ObjectId;
4064
4742
  } & {
@@ -4098,6 +4776,25 @@ export declare const UserModel: import("mongoose").Model<{
4098
4776
  token: string;
4099
4777
  _id?: unknown;
4100
4778
  }> | null | undefined;
4779
+ mfa?: {
4780
+ totp?: {
4781
+ enabled: boolean;
4782
+ secret?: string | null | undefined;
4783
+ } | null | undefined;
4784
+ recoveryCodes?: import("mongoose").Types.DocumentArray<{
4785
+ hash: string;
4786
+ _id?: unknown;
4787
+ usedAt?: NativeDate | null | undefined;
4788
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
4789
+ hash: string;
4790
+ _id?: unknown;
4791
+ usedAt?: NativeDate | null | undefined;
4792
+ }> & {
4793
+ hash: string;
4794
+ _id?: unknown;
4795
+ usedAt?: NativeDate | null | undefined;
4796
+ }> | null | undefined;
4797
+ } | null | undefined;
4101
4798
  }>, {}, import("mongoose").DefaultSchemaOptions> & import("mongoose").FlatRecord<{
4102
4799
  password: string;
4103
4800
  email: string;
@@ -4133,6 +4830,25 @@ export declare const UserModel: import("mongoose").Model<{
4133
4830
  token: string;
4134
4831
  _id?: unknown;
4135
4832
  }> | null | undefined;
4833
+ mfa?: {
4834
+ totp?: {
4835
+ enabled: boolean;
4836
+ secret?: string | null | undefined;
4837
+ } | null | undefined;
4838
+ recoveryCodes?: import("mongoose").Types.DocumentArray<{
4839
+ hash: string;
4840
+ _id?: unknown;
4841
+ usedAt?: NativeDate | null | undefined;
4842
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
4843
+ hash: string;
4844
+ _id?: unknown;
4845
+ usedAt?: NativeDate | null | undefined;
4846
+ }> & {
4847
+ hash: string;
4848
+ _id?: unknown;
4849
+ usedAt?: NativeDate | null | undefined;
4850
+ }> | null | undefined;
4851
+ } | null | undefined;
4136
4852
  }> & {
4137
4853
  _id: import("mongoose").Types.ObjectId;
4138
4854
  } & {
@@ -4173,6 +4889,25 @@ export declare const UserModel: import("mongoose").Model<{
4173
4889
  token: string;
4174
4890
  _id?: unknown;
4175
4891
  }> | null | undefined;
4892
+ mfa?: {
4893
+ totp?: {
4894
+ enabled: boolean;
4895
+ secret?: string | null | undefined;
4896
+ } | null | undefined;
4897
+ recoveryCodes?: import("mongoose").Types.DocumentArray<{
4898
+ hash: string;
4899
+ _id?: unknown;
4900
+ usedAt?: NativeDate | null | undefined;
4901
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
4902
+ hash: string;
4903
+ _id?: unknown;
4904
+ usedAt?: NativeDate | null | undefined;
4905
+ }> & {
4906
+ hash: string;
4907
+ _id?: unknown;
4908
+ usedAt?: NativeDate | null | undefined;
4909
+ }> | null | undefined;
4910
+ } | null | undefined;
4176
4911
  }, {}, {}, {}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
4177
4912
  password: string;
4178
4913
  email: string;
@@ -4208,6 +4943,25 @@ export declare const UserModel: import("mongoose").Model<{
4208
4943
  token: string;
4209
4944
  _id?: unknown;
4210
4945
  }> | null | undefined;
4946
+ mfa?: {
4947
+ totp?: {
4948
+ enabled: boolean;
4949
+ secret?: string | null | undefined;
4950
+ } | null | undefined;
4951
+ recoveryCodes?: import("mongoose").Types.DocumentArray<{
4952
+ hash: string;
4953
+ _id?: unknown;
4954
+ usedAt?: NativeDate | null | undefined;
4955
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
4956
+ hash: string;
4957
+ _id?: unknown;
4958
+ usedAt?: NativeDate | null | undefined;
4959
+ }> & {
4960
+ hash: string;
4961
+ _id?: unknown;
4962
+ usedAt?: NativeDate | null | undefined;
4963
+ }> | null | undefined;
4964
+ } | null | undefined;
4211
4965
  }>, {}, import("mongoose").DefaultSchemaOptions> & import("mongoose").FlatRecord<{
4212
4966
  password: string;
4213
4967
  email: string;
@@ -4243,6 +4997,25 @@ export declare const UserModel: import("mongoose").Model<{
4243
4997
  token: string;
4244
4998
  _id?: unknown;
4245
4999
  }> | null | undefined;
5000
+ mfa?: {
5001
+ totp?: {
5002
+ enabled: boolean;
5003
+ secret?: string | null | undefined;
5004
+ } | null | undefined;
5005
+ recoveryCodes?: import("mongoose").Types.DocumentArray<{
5006
+ hash: string;
5007
+ _id?: unknown;
5008
+ usedAt?: NativeDate | null | undefined;
5009
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
5010
+ hash: string;
5011
+ _id?: unknown;
5012
+ usedAt?: NativeDate | null | undefined;
5013
+ }> & {
5014
+ hash: string;
5015
+ _id?: unknown;
5016
+ usedAt?: NativeDate | null | undefined;
5017
+ }> | null | undefined;
5018
+ } | null | undefined;
4246
5019
  }> & {
4247
5020
  _id: import("mongoose").Types.ObjectId;
4248
5021
  } & {
@@ -4282,6 +5055,25 @@ export declare const UserModel: import("mongoose").Model<{
4282
5055
  token: string;
4283
5056
  _id?: unknown;
4284
5057
  }> | null | undefined;
5058
+ mfa?: {
5059
+ totp?: {
5060
+ enabled: boolean;
5061
+ secret?: string | null | undefined;
5062
+ } | null | undefined;
5063
+ recoveryCodes?: import("mongoose").Types.DocumentArray<{
5064
+ hash: string;
5065
+ _id?: unknown;
5066
+ usedAt?: NativeDate | null | undefined;
5067
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
5068
+ hash: string;
5069
+ _id?: unknown;
5070
+ usedAt?: NativeDate | null | undefined;
5071
+ }> & {
5072
+ hash: string;
5073
+ _id?: unknown;
5074
+ usedAt?: NativeDate | null | undefined;
5075
+ }> | null | undefined;
5076
+ } | null | undefined;
4285
5077
  }>, {}, import("mongoose").DefaultSchemaOptions> & import("mongoose").FlatRecord<{
4286
5078
  password: string;
4287
5079
  email: string;
@@ -4317,6 +5109,25 @@ export declare const UserModel: import("mongoose").Model<{
4317
5109
  token: string;
4318
5110
  _id?: unknown;
4319
5111
  }> | null | undefined;
5112
+ mfa?: {
5113
+ totp?: {
5114
+ enabled: boolean;
5115
+ secret?: string | null | undefined;
5116
+ } | null | undefined;
5117
+ recoveryCodes?: import("mongoose").Types.DocumentArray<{
5118
+ hash: string;
5119
+ _id?: unknown;
5120
+ usedAt?: NativeDate | null | undefined;
5121
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
5122
+ hash: string;
5123
+ _id?: unknown;
5124
+ usedAt?: NativeDate | null | undefined;
5125
+ }> & {
5126
+ hash: string;
5127
+ _id?: unknown;
5128
+ usedAt?: NativeDate | null | undefined;
5129
+ }> | null | undefined;
5130
+ } | null | undefined;
4320
5131
  }> & {
4321
5132
  _id: import("mongoose").Types.ObjectId;
4322
5133
  } & {
@@ -4357,6 +5168,25 @@ export declare const UserModel: import("mongoose").Model<{
4357
5168
  token: string;
4358
5169
  _id?: unknown;
4359
5170
  }> | null | undefined;
5171
+ mfa?: {
5172
+ totp?: {
5173
+ enabled: boolean;
5174
+ secret?: string | null | undefined;
5175
+ } | null | undefined;
5176
+ recoveryCodes?: import("mongoose").Types.DocumentArray<{
5177
+ hash: string;
5178
+ _id?: unknown;
5179
+ usedAt?: NativeDate | null | undefined;
5180
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
5181
+ hash: string;
5182
+ _id?: unknown;
5183
+ usedAt?: NativeDate | null | undefined;
5184
+ }> & {
5185
+ hash: string;
5186
+ _id?: unknown;
5187
+ usedAt?: NativeDate | null | undefined;
5188
+ }> | null | undefined;
5189
+ } | null | undefined;
4360
5190
  }, {}, {}, {}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
4361
5191
  password: string;
4362
5192
  email: string;
@@ -4392,6 +5222,25 @@ export declare const UserModel: import("mongoose").Model<{
4392
5222
  token: string;
4393
5223
  _id?: unknown;
4394
5224
  }> | null | undefined;
5225
+ mfa?: {
5226
+ totp?: {
5227
+ enabled: boolean;
5228
+ secret?: string | null | undefined;
5229
+ } | null | undefined;
5230
+ recoveryCodes?: import("mongoose").Types.DocumentArray<{
5231
+ hash: string;
5232
+ _id?: unknown;
5233
+ usedAt?: NativeDate | null | undefined;
5234
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
5235
+ hash: string;
5236
+ _id?: unknown;
5237
+ usedAt?: NativeDate | null | undefined;
5238
+ }> & {
5239
+ hash: string;
5240
+ _id?: unknown;
5241
+ usedAt?: NativeDate | null | undefined;
5242
+ }> | null | undefined;
5243
+ } | null | undefined;
4395
5244
  }>, {}, import("mongoose").DefaultSchemaOptions> & import("mongoose").FlatRecord<{
4396
5245
  password: string;
4397
5246
  email: string;
@@ -4427,6 +5276,25 @@ export declare const UserModel: import("mongoose").Model<{
4427
5276
  token: string;
4428
5277
  _id?: unknown;
4429
5278
  }> | null | undefined;
5279
+ mfa?: {
5280
+ totp?: {
5281
+ enabled: boolean;
5282
+ secret?: string | null | undefined;
5283
+ } | null | undefined;
5284
+ recoveryCodes?: import("mongoose").Types.DocumentArray<{
5285
+ hash: string;
5286
+ _id?: unknown;
5287
+ usedAt?: NativeDate | null | undefined;
5288
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
5289
+ hash: string;
5290
+ _id?: unknown;
5291
+ usedAt?: NativeDate | null | undefined;
5292
+ }> & {
5293
+ hash: string;
5294
+ _id?: unknown;
5295
+ usedAt?: NativeDate | null | undefined;
5296
+ }> | null | undefined;
5297
+ } | null | undefined;
4430
5298
  }> & {
4431
5299
  _id: import("mongoose").Types.ObjectId;
4432
5300
  } & {
@@ -4467,6 +5335,25 @@ export declare const UserModel: import("mongoose").Model<{
4467
5335
  token: string;
4468
5336
  _id?: unknown;
4469
5337
  }> | null | undefined;
5338
+ mfa?: {
5339
+ totp?: {
5340
+ enabled: boolean;
5341
+ secret?: string | null | undefined;
5342
+ } | null | undefined;
5343
+ recoveryCodes?: import("mongoose").Types.DocumentArray<{
5344
+ hash: string;
5345
+ _id?: unknown;
5346
+ usedAt?: NativeDate | null | undefined;
5347
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
5348
+ hash: string;
5349
+ _id?: unknown;
5350
+ usedAt?: NativeDate | null | undefined;
5351
+ }> & {
5352
+ hash: string;
5353
+ _id?: unknown;
5354
+ usedAt?: NativeDate | null | undefined;
5355
+ }> | null | undefined;
5356
+ } | null | undefined;
4470
5357
  }>, {}, import("mongoose").DefaultSchemaOptions> & import("mongoose").FlatRecord<{
4471
5358
  password: string;
4472
5359
  email: string;
@@ -4502,6 +5389,25 @@ export declare const UserModel: import("mongoose").Model<{
4502
5389
  token: string;
4503
5390
  _id?: unknown;
4504
5391
  }> | null | undefined;
5392
+ mfa?: {
5393
+ totp?: {
5394
+ enabled: boolean;
5395
+ secret?: string | null | undefined;
5396
+ } | null | undefined;
5397
+ recoveryCodes?: import("mongoose").Types.DocumentArray<{
5398
+ hash: string;
5399
+ _id?: unknown;
5400
+ usedAt?: NativeDate | null | undefined;
5401
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
5402
+ hash: string;
5403
+ _id?: unknown;
5404
+ usedAt?: NativeDate | null | undefined;
5405
+ }> & {
5406
+ hash: string;
5407
+ _id?: unknown;
5408
+ usedAt?: NativeDate | null | undefined;
5409
+ }> | null | undefined;
5410
+ } | null | undefined;
4505
5411
  }> & {
4506
5412
  _id: import("mongoose").Types.ObjectId;
4507
5413
  } & {
@@ -4556,6 +5462,25 @@ export declare const UserModel: import("mongoose").Model<{
4556
5462
  token: string;
4557
5463
  _id?: unknown;
4558
5464
  }> | null | undefined;
5465
+ mfa?: {
5466
+ totp?: {
5467
+ enabled: boolean;
5468
+ secret?: string | null | undefined;
5469
+ } | null | undefined;
5470
+ recoveryCodes?: import("mongoose").Types.DocumentArray<{
5471
+ hash: string;
5472
+ _id?: unknown;
5473
+ usedAt?: NativeDate | null | undefined;
5474
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
5475
+ hash: string;
5476
+ _id?: unknown;
5477
+ usedAt?: NativeDate | null | undefined;
5478
+ }> & {
5479
+ hash: string;
5480
+ _id?: unknown;
5481
+ usedAt?: NativeDate | null | undefined;
5482
+ }> | null | undefined;
5483
+ } | null | undefined;
4559
5484
  }, {}, {}, {}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
4560
5485
  password: string;
4561
5486
  email: string;
@@ -4591,6 +5516,25 @@ export declare const UserModel: import("mongoose").Model<{
4591
5516
  token: string;
4592
5517
  _id?: unknown;
4593
5518
  }> | null | undefined;
5519
+ mfa?: {
5520
+ totp?: {
5521
+ enabled: boolean;
5522
+ secret?: string | null | undefined;
5523
+ } | null | undefined;
5524
+ recoveryCodes?: import("mongoose").Types.DocumentArray<{
5525
+ hash: string;
5526
+ _id?: unknown;
5527
+ usedAt?: NativeDate | null | undefined;
5528
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
5529
+ hash: string;
5530
+ _id?: unknown;
5531
+ usedAt?: NativeDate | null | undefined;
5532
+ }> & {
5533
+ hash: string;
5534
+ _id?: unknown;
5535
+ usedAt?: NativeDate | null | undefined;
5536
+ }> | null | undefined;
5537
+ } | null | undefined;
4594
5538
  }>, {}, import("mongoose").DefaultSchemaOptions> & import("mongoose").FlatRecord<{
4595
5539
  password: string;
4596
5540
  email: string;
@@ -4626,6 +5570,25 @@ export declare const UserModel: import("mongoose").Model<{
4626
5570
  token: string;
4627
5571
  _id?: unknown;
4628
5572
  }> | null | undefined;
5573
+ mfa?: {
5574
+ totp?: {
5575
+ enabled: boolean;
5576
+ secret?: string | null | undefined;
5577
+ } | null | undefined;
5578
+ recoveryCodes?: import("mongoose").Types.DocumentArray<{
5579
+ hash: string;
5580
+ _id?: unknown;
5581
+ usedAt?: NativeDate | null | undefined;
5582
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
5583
+ hash: string;
5584
+ _id?: unknown;
5585
+ usedAt?: NativeDate | null | undefined;
5586
+ }> & {
5587
+ hash: string;
5588
+ _id?: unknown;
5589
+ usedAt?: NativeDate | null | undefined;
5590
+ }> | null | undefined;
5591
+ } | null | undefined;
4629
5592
  }> & {
4630
5593
  _id: import("mongoose").Types.ObjectId;
4631
5594
  } & {
@@ -4666,6 +5629,25 @@ export declare const UserModel: import("mongoose").Model<{
4666
5629
  token: string;
4667
5630
  _id?: unknown;
4668
5631
  }> | null | undefined;
5632
+ mfa?: {
5633
+ totp?: {
5634
+ enabled: boolean;
5635
+ secret?: string | null | undefined;
5636
+ } | null | undefined;
5637
+ recoveryCodes?: import("mongoose").Types.DocumentArray<{
5638
+ hash: string;
5639
+ _id?: unknown;
5640
+ usedAt?: NativeDate | null | undefined;
5641
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
5642
+ hash: string;
5643
+ _id?: unknown;
5644
+ usedAt?: NativeDate | null | undefined;
5645
+ }> & {
5646
+ hash: string;
5647
+ _id?: unknown;
5648
+ usedAt?: NativeDate | null | undefined;
5649
+ }> | null | undefined;
5650
+ } | null | undefined;
4669
5651
  }, {}, {}, {}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
4670
5652
  password: string;
4671
5653
  email: string;
@@ -4701,6 +5683,25 @@ export declare const UserModel: import("mongoose").Model<{
4701
5683
  token: string;
4702
5684
  _id?: unknown;
4703
5685
  }> | null | undefined;
5686
+ mfa?: {
5687
+ totp?: {
5688
+ enabled: boolean;
5689
+ secret?: string | null | undefined;
5690
+ } | null | undefined;
5691
+ recoveryCodes?: import("mongoose").Types.DocumentArray<{
5692
+ hash: string;
5693
+ _id?: unknown;
5694
+ usedAt?: NativeDate | null | undefined;
5695
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
5696
+ hash: string;
5697
+ _id?: unknown;
5698
+ usedAt?: NativeDate | null | undefined;
5699
+ }> & {
5700
+ hash: string;
5701
+ _id?: unknown;
5702
+ usedAt?: NativeDate | null | undefined;
5703
+ }> | null | undefined;
5704
+ } | null | undefined;
4704
5705
  }>, {}, import("mongoose").DefaultSchemaOptions> & import("mongoose").FlatRecord<{
4705
5706
  password: string;
4706
5707
  email: string;
@@ -4736,6 +5737,25 @@ export declare const UserModel: import("mongoose").Model<{
4736
5737
  token: string;
4737
5738
  _id?: unknown;
4738
5739
  }> | null | undefined;
5740
+ mfa?: {
5741
+ totp?: {
5742
+ enabled: boolean;
5743
+ secret?: string | null | undefined;
5744
+ } | null | undefined;
5745
+ recoveryCodes?: import("mongoose").Types.DocumentArray<{
5746
+ hash: string;
5747
+ _id?: unknown;
5748
+ usedAt?: NativeDate | null | undefined;
5749
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
5750
+ hash: string;
5751
+ _id?: unknown;
5752
+ usedAt?: NativeDate | null | undefined;
5753
+ }> & {
5754
+ hash: string;
5755
+ _id?: unknown;
5756
+ usedAt?: NativeDate | null | undefined;
5757
+ }> | null | undefined;
5758
+ } | null | undefined;
4739
5759
  }> & {
4740
5760
  _id: import("mongoose").Types.ObjectId;
4741
5761
  } & {
@@ -4775,6 +5795,25 @@ export declare const UserModel: import("mongoose").Model<{
4775
5795
  token: string;
4776
5796
  _id?: unknown;
4777
5797
  }> | null | undefined;
5798
+ mfa?: {
5799
+ totp?: {
5800
+ enabled: boolean;
5801
+ secret?: string | null | undefined;
5802
+ } | null | undefined;
5803
+ recoveryCodes?: import("mongoose").Types.DocumentArray<{
5804
+ hash: string;
5805
+ _id?: unknown;
5806
+ usedAt?: NativeDate | null | undefined;
5807
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
5808
+ hash: string;
5809
+ _id?: unknown;
5810
+ usedAt?: NativeDate | null | undefined;
5811
+ }> & {
5812
+ hash: string;
5813
+ _id?: unknown;
5814
+ usedAt?: NativeDate | null | undefined;
5815
+ }> | null | undefined;
5816
+ } | null | undefined;
4778
5817
  }>, {}, import("mongoose").DefaultSchemaOptions> & import("mongoose").FlatRecord<{
4779
5818
  password: string;
4780
5819
  email: string;
@@ -4810,6 +5849,25 @@ export declare const UserModel: import("mongoose").Model<{
4810
5849
  token: string;
4811
5850
  _id?: unknown;
4812
5851
  }> | null | undefined;
5852
+ mfa?: {
5853
+ totp?: {
5854
+ enabled: boolean;
5855
+ secret?: string | null | undefined;
5856
+ } | null | undefined;
5857
+ recoveryCodes?: import("mongoose").Types.DocumentArray<{
5858
+ hash: string;
5859
+ _id?: unknown;
5860
+ usedAt?: NativeDate | null | undefined;
5861
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
5862
+ hash: string;
5863
+ _id?: unknown;
5864
+ usedAt?: NativeDate | null | undefined;
5865
+ }> & {
5866
+ hash: string;
5867
+ _id?: unknown;
5868
+ usedAt?: NativeDate | null | undefined;
5869
+ }> | null | undefined;
5870
+ } | null | undefined;
4813
5871
  }> & {
4814
5872
  _id: import("mongoose").Types.ObjectId;
4815
5873
  } & {
@@ -4850,6 +5908,25 @@ export declare const UserModel: import("mongoose").Model<{
4850
5908
  token: string;
4851
5909
  _id?: unknown;
4852
5910
  }> | null | undefined;
5911
+ mfa?: {
5912
+ totp?: {
5913
+ enabled: boolean;
5914
+ secret?: string | null | undefined;
5915
+ } | null | undefined;
5916
+ recoveryCodes?: import("mongoose").Types.DocumentArray<{
5917
+ hash: string;
5918
+ _id?: unknown;
5919
+ usedAt?: NativeDate | null | undefined;
5920
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
5921
+ hash: string;
5922
+ _id?: unknown;
5923
+ usedAt?: NativeDate | null | undefined;
5924
+ }> & {
5925
+ hash: string;
5926
+ _id?: unknown;
5927
+ usedAt?: NativeDate | null | undefined;
5928
+ }> | null | undefined;
5929
+ } | null | undefined;
4853
5930
  }, {}, {}, {}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
4854
5931
  password: string;
4855
5932
  email: string;
@@ -4885,6 +5962,25 @@ export declare const UserModel: import("mongoose").Model<{
4885
5962
  token: string;
4886
5963
  _id?: unknown;
4887
5964
  }> | null | undefined;
5965
+ mfa?: {
5966
+ totp?: {
5967
+ enabled: boolean;
5968
+ secret?: string | null | undefined;
5969
+ } | null | undefined;
5970
+ recoveryCodes?: import("mongoose").Types.DocumentArray<{
5971
+ hash: string;
5972
+ _id?: unknown;
5973
+ usedAt?: NativeDate | null | undefined;
5974
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
5975
+ hash: string;
5976
+ _id?: unknown;
5977
+ usedAt?: NativeDate | null | undefined;
5978
+ }> & {
5979
+ hash: string;
5980
+ _id?: unknown;
5981
+ usedAt?: NativeDate | null | undefined;
5982
+ }> | null | undefined;
5983
+ } | null | undefined;
4888
5984
  }>, {}, import("mongoose").DefaultSchemaOptions> & import("mongoose").FlatRecord<{
4889
5985
  password: string;
4890
5986
  email: string;
@@ -4920,6 +6016,25 @@ export declare const UserModel: import("mongoose").Model<{
4920
6016
  token: string;
4921
6017
  _id?: unknown;
4922
6018
  }> | null | undefined;
6019
+ mfa?: {
6020
+ totp?: {
6021
+ enabled: boolean;
6022
+ secret?: string | null | undefined;
6023
+ } | null | undefined;
6024
+ recoveryCodes?: import("mongoose").Types.DocumentArray<{
6025
+ hash: string;
6026
+ _id?: unknown;
6027
+ usedAt?: NativeDate | null | undefined;
6028
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
6029
+ hash: string;
6030
+ _id?: unknown;
6031
+ usedAt?: NativeDate | null | undefined;
6032
+ }> & {
6033
+ hash: string;
6034
+ _id?: unknown;
6035
+ usedAt?: NativeDate | null | undefined;
6036
+ }> | null | undefined;
6037
+ } | null | undefined;
4923
6038
  }> & {
4924
6039
  _id: import("mongoose").Types.ObjectId;
4925
6040
  } & {
@@ -4959,6 +6074,25 @@ export declare const UserModel: import("mongoose").Model<{
4959
6074
  token: string;
4960
6075
  _id?: unknown;
4961
6076
  }> | null | undefined;
6077
+ mfa?: {
6078
+ totp?: {
6079
+ enabled: boolean;
6080
+ secret?: string | null | undefined;
6081
+ } | null | undefined;
6082
+ recoveryCodes?: import("mongoose").Types.DocumentArray<{
6083
+ hash: string;
6084
+ _id?: unknown;
6085
+ usedAt?: NativeDate | null | undefined;
6086
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
6087
+ hash: string;
6088
+ _id?: unknown;
6089
+ usedAt?: NativeDate | null | undefined;
6090
+ }> & {
6091
+ hash: string;
6092
+ _id?: unknown;
6093
+ usedAt?: NativeDate | null | undefined;
6094
+ }> | null | undefined;
6095
+ } | null | undefined;
4962
6096
  }>, {}, import("mongoose").DefaultSchemaOptions> & import("mongoose").FlatRecord<{
4963
6097
  password: string;
4964
6098
  email: string;
@@ -4994,6 +6128,25 @@ export declare const UserModel: import("mongoose").Model<{
4994
6128
  token: string;
4995
6129
  _id?: unknown;
4996
6130
  }> | null | undefined;
6131
+ mfa?: {
6132
+ totp?: {
6133
+ enabled: boolean;
6134
+ secret?: string | null | undefined;
6135
+ } | null | undefined;
6136
+ recoveryCodes?: import("mongoose").Types.DocumentArray<{
6137
+ hash: string;
6138
+ _id?: unknown;
6139
+ usedAt?: NativeDate | null | undefined;
6140
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
6141
+ hash: string;
6142
+ _id?: unknown;
6143
+ usedAt?: NativeDate | null | undefined;
6144
+ }> & {
6145
+ hash: string;
6146
+ _id?: unknown;
6147
+ usedAt?: NativeDate | null | undefined;
6148
+ }> | null | undefined;
6149
+ } | null | undefined;
4997
6150
  }> & {
4998
6151
  _id: import("mongoose").Types.ObjectId;
4999
6152
  } & {
@@ -5034,6 +6187,25 @@ export declare const UserModel: import("mongoose").Model<{
5034
6187
  token: string;
5035
6188
  _id?: unknown;
5036
6189
  }> | null | undefined;
6190
+ mfa?: {
6191
+ totp?: {
6192
+ enabled: boolean;
6193
+ secret?: string | null | undefined;
6194
+ } | null | undefined;
6195
+ recoveryCodes?: import("mongoose").Types.DocumentArray<{
6196
+ hash: string;
6197
+ _id?: unknown;
6198
+ usedAt?: NativeDate | null | undefined;
6199
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
6200
+ hash: string;
6201
+ _id?: unknown;
6202
+ usedAt?: NativeDate | null | undefined;
6203
+ }> & {
6204
+ hash: string;
6205
+ _id?: unknown;
6206
+ usedAt?: NativeDate | null | undefined;
6207
+ }> | null | undefined;
6208
+ } | null | undefined;
5037
6209
  }, {}, {}, {}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
5038
6210
  password: string;
5039
6211
  email: string;
@@ -5069,6 +6241,25 @@ export declare const UserModel: import("mongoose").Model<{
5069
6241
  token: string;
5070
6242
  _id?: unknown;
5071
6243
  }> | null | undefined;
6244
+ mfa?: {
6245
+ totp?: {
6246
+ enabled: boolean;
6247
+ secret?: string | null | undefined;
6248
+ } | null | undefined;
6249
+ recoveryCodes?: import("mongoose").Types.DocumentArray<{
6250
+ hash: string;
6251
+ _id?: unknown;
6252
+ usedAt?: NativeDate | null | undefined;
6253
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
6254
+ hash: string;
6255
+ _id?: unknown;
6256
+ usedAt?: NativeDate | null | undefined;
6257
+ }> & {
6258
+ hash: string;
6259
+ _id?: unknown;
6260
+ usedAt?: NativeDate | null | undefined;
6261
+ }> | null | undefined;
6262
+ } | null | undefined;
5072
6263
  }>, {}, import("mongoose").DefaultSchemaOptions> & import("mongoose").FlatRecord<{
5073
6264
  password: string;
5074
6265
  email: string;
@@ -5104,6 +6295,25 @@ export declare const UserModel: import("mongoose").Model<{
5104
6295
  token: string;
5105
6296
  _id?: unknown;
5106
6297
  }> | null | undefined;
6298
+ mfa?: {
6299
+ totp?: {
6300
+ enabled: boolean;
6301
+ secret?: string | null | undefined;
6302
+ } | null | undefined;
6303
+ recoveryCodes?: import("mongoose").Types.DocumentArray<{
6304
+ hash: string;
6305
+ _id?: unknown;
6306
+ usedAt?: NativeDate | null | undefined;
6307
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
6308
+ hash: string;
6309
+ _id?: unknown;
6310
+ usedAt?: NativeDate | null | undefined;
6311
+ }> & {
6312
+ hash: string;
6313
+ _id?: unknown;
6314
+ usedAt?: NativeDate | null | undefined;
6315
+ }> | null | undefined;
6316
+ } | null | undefined;
5107
6317
  }> & {
5108
6318
  _id: import("mongoose").Types.ObjectId;
5109
6319
  } & {
@@ -5144,6 +6354,25 @@ export declare const UserModel: import("mongoose").Model<{
5144
6354
  token: string;
5145
6355
  _id?: unknown;
5146
6356
  }> | null | undefined;
6357
+ mfa?: {
6358
+ totp?: {
6359
+ enabled: boolean;
6360
+ secret?: string | null | undefined;
6361
+ } | null | undefined;
6362
+ recoveryCodes?: import("mongoose").Types.DocumentArray<{
6363
+ hash: string;
6364
+ _id?: unknown;
6365
+ usedAt?: NativeDate | null | undefined;
6366
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
6367
+ hash: string;
6368
+ _id?: unknown;
6369
+ usedAt?: NativeDate | null | undefined;
6370
+ }> & {
6371
+ hash: string;
6372
+ _id?: unknown;
6373
+ usedAt?: NativeDate | null | undefined;
6374
+ }> | null | undefined;
6375
+ } | null | undefined;
5147
6376
  }>, {}, import("mongoose").DefaultSchemaOptions> & import("mongoose").FlatRecord<{
5148
6377
  password: string;
5149
6378
  email: string;
@@ -5179,6 +6408,25 @@ export declare const UserModel: import("mongoose").Model<{
5179
6408
  token: string;
5180
6409
  _id?: unknown;
5181
6410
  }> | null | undefined;
6411
+ mfa?: {
6412
+ totp?: {
6413
+ enabled: boolean;
6414
+ secret?: string | null | undefined;
6415
+ } | null | undefined;
6416
+ recoveryCodes?: import("mongoose").Types.DocumentArray<{
6417
+ hash: string;
6418
+ _id?: unknown;
6419
+ usedAt?: NativeDate | null | undefined;
6420
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
6421
+ hash: string;
6422
+ _id?: unknown;
6423
+ usedAt?: NativeDate | null | undefined;
6424
+ }> & {
6425
+ hash: string;
6426
+ _id?: unknown;
6427
+ usedAt?: NativeDate | null | undefined;
6428
+ }> | null | undefined;
6429
+ } | null | undefined;
5182
6430
  }> & {
5183
6431
  _id: import("mongoose").Types.ObjectId;
5184
6432
  } & {
@@ -5232,6 +6480,25 @@ export declare const UserModel: import("mongoose").Model<{
5232
6480
  token: string;
5233
6481
  _id?: unknown;
5234
6482
  }> | null | undefined;
6483
+ mfa?: {
6484
+ totp?: {
6485
+ enabled: boolean;
6486
+ secret?: string | null | undefined;
6487
+ } | null | undefined;
6488
+ recoveryCodes?: import("mongoose").Types.DocumentArray<{
6489
+ hash: string;
6490
+ _id?: unknown;
6491
+ usedAt?: NativeDate | null | undefined;
6492
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
6493
+ hash: string;
6494
+ _id?: unknown;
6495
+ usedAt?: NativeDate | null | undefined;
6496
+ }> & {
6497
+ hash: string;
6498
+ _id?: unknown;
6499
+ usedAt?: NativeDate | null | undefined;
6500
+ }> | null | undefined;
6501
+ } | null | undefined;
5235
6502
  }, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
5236
6503
  password: string;
5237
6504
  email: string;
@@ -5267,6 +6534,25 @@ export declare const UserModel: import("mongoose").Model<{
5267
6534
  token: string;
5268
6535
  _id?: unknown;
5269
6536
  }> | null | undefined;
6537
+ mfa?: {
6538
+ totp?: {
6539
+ enabled: boolean;
6540
+ secret?: string | null | undefined;
6541
+ } | null | undefined;
6542
+ recoveryCodes?: import("mongoose").Types.DocumentArray<{
6543
+ hash: string;
6544
+ _id?: unknown;
6545
+ usedAt?: NativeDate | null | undefined;
6546
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
6547
+ hash: string;
6548
+ _id?: unknown;
6549
+ usedAt?: NativeDate | null | undefined;
6550
+ }> & {
6551
+ hash: string;
6552
+ _id?: unknown;
6553
+ usedAt?: NativeDate | null | undefined;
6554
+ }> | null | undefined;
6555
+ } | null | undefined;
5270
6556
  }>, {}, import("mongoose").DefaultSchemaOptions> & import("mongoose").FlatRecord<{
5271
6557
  password: string;
5272
6558
  email: string;
@@ -5302,6 +6588,25 @@ export declare const UserModel: import("mongoose").Model<{
5302
6588
  token: string;
5303
6589
  _id?: unknown;
5304
6590
  }> | null | undefined;
6591
+ mfa?: {
6592
+ totp?: {
6593
+ enabled: boolean;
6594
+ secret?: string | null | undefined;
6595
+ } | null | undefined;
6596
+ recoveryCodes?: import("mongoose").Types.DocumentArray<{
6597
+ hash: string;
6598
+ _id?: unknown;
6599
+ usedAt?: NativeDate | null | undefined;
6600
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
6601
+ hash: string;
6602
+ _id?: unknown;
6603
+ usedAt?: NativeDate | null | undefined;
6604
+ }> & {
6605
+ hash: string;
6606
+ _id?: unknown;
6607
+ usedAt?: NativeDate | null | undefined;
6608
+ }> | null | undefined;
6609
+ } | null | undefined;
5305
6610
  }> & {
5306
6611
  _id: import("mongoose").Types.ObjectId;
5307
6612
  } & {
@@ -5342,6 +6647,25 @@ export declare const UserModel: import("mongoose").Model<{
5342
6647
  token: string;
5343
6648
  _id?: unknown;
5344
6649
  }> | null | undefined;
6650
+ mfa?: {
6651
+ totp?: {
6652
+ enabled: boolean;
6653
+ secret?: string | null | undefined;
6654
+ } | null | undefined;
6655
+ recoveryCodes?: import("mongoose").Types.DocumentArray<{
6656
+ hash: string;
6657
+ _id?: unknown;
6658
+ usedAt?: NativeDate | null | undefined;
6659
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
6660
+ hash: string;
6661
+ _id?: unknown;
6662
+ usedAt?: NativeDate | null | undefined;
6663
+ }> & {
6664
+ hash: string;
6665
+ _id?: unknown;
6666
+ usedAt?: NativeDate | null | undefined;
6667
+ }> | null | undefined;
6668
+ } | null | undefined;
5345
6669
  }, {}, {}, {}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
5346
6670
  password: string;
5347
6671
  email: string;
@@ -5377,6 +6701,25 @@ export declare const UserModel: import("mongoose").Model<{
5377
6701
  token: string;
5378
6702
  _id?: unknown;
5379
6703
  }> | null | undefined;
6704
+ mfa?: {
6705
+ totp?: {
6706
+ enabled: boolean;
6707
+ secret?: string | null | undefined;
6708
+ } | null | undefined;
6709
+ recoveryCodes?: import("mongoose").Types.DocumentArray<{
6710
+ hash: string;
6711
+ _id?: unknown;
6712
+ usedAt?: NativeDate | null | undefined;
6713
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
6714
+ hash: string;
6715
+ _id?: unknown;
6716
+ usedAt?: NativeDate | null | undefined;
6717
+ }> & {
6718
+ hash: string;
6719
+ _id?: unknown;
6720
+ usedAt?: NativeDate | null | undefined;
6721
+ }> | null | undefined;
6722
+ } | null | undefined;
5380
6723
  }>, {}, import("mongoose").DefaultSchemaOptions> & import("mongoose").FlatRecord<{
5381
6724
  password: string;
5382
6725
  email: string;
@@ -5412,6 +6755,25 @@ export declare const UserModel: import("mongoose").Model<{
5412
6755
  token: string;
5413
6756
  _id?: unknown;
5414
6757
  }> | null | undefined;
6758
+ mfa?: {
6759
+ totp?: {
6760
+ enabled: boolean;
6761
+ secret?: string | null | undefined;
6762
+ } | null | undefined;
6763
+ recoveryCodes?: import("mongoose").Types.DocumentArray<{
6764
+ hash: string;
6765
+ _id?: unknown;
6766
+ usedAt?: NativeDate | null | undefined;
6767
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
6768
+ hash: string;
6769
+ _id?: unknown;
6770
+ usedAt?: NativeDate | null | undefined;
6771
+ }> & {
6772
+ hash: string;
6773
+ _id?: unknown;
6774
+ usedAt?: NativeDate | null | undefined;
6775
+ }> | null | undefined;
6776
+ } | null | undefined;
5415
6777
  }> & {
5416
6778
  _id: import("mongoose").Types.ObjectId;
5417
6779
  } & {
@@ -5452,6 +6814,25 @@ export declare const UserModel: import("mongoose").Model<{
5452
6814
  token: string;
5453
6815
  _id?: unknown;
5454
6816
  }> | null | undefined;
6817
+ mfa?: {
6818
+ totp?: {
6819
+ enabled: boolean;
6820
+ secret?: string | null | undefined;
6821
+ } | null | undefined;
6822
+ recoveryCodes?: import("mongoose").Types.DocumentArray<{
6823
+ hash: string;
6824
+ _id?: unknown;
6825
+ usedAt?: NativeDate | null | undefined;
6826
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
6827
+ hash: string;
6828
+ _id?: unknown;
6829
+ usedAt?: NativeDate | null | undefined;
6830
+ }> & {
6831
+ hash: string;
6832
+ _id?: unknown;
6833
+ usedAt?: NativeDate | null | undefined;
6834
+ }> | null | undefined;
6835
+ } | null | undefined;
5455
6836
  }, {}, {}, {}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
5456
6837
  password: string;
5457
6838
  email: string;
@@ -5487,6 +6868,25 @@ export declare const UserModel: import("mongoose").Model<{
5487
6868
  token: string;
5488
6869
  _id?: unknown;
5489
6870
  }> | null | undefined;
6871
+ mfa?: {
6872
+ totp?: {
6873
+ enabled: boolean;
6874
+ secret?: string | null | undefined;
6875
+ } | null | undefined;
6876
+ recoveryCodes?: import("mongoose").Types.DocumentArray<{
6877
+ hash: string;
6878
+ _id?: unknown;
6879
+ usedAt?: NativeDate | null | undefined;
6880
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
6881
+ hash: string;
6882
+ _id?: unknown;
6883
+ usedAt?: NativeDate | null | undefined;
6884
+ }> & {
6885
+ hash: string;
6886
+ _id?: unknown;
6887
+ usedAt?: NativeDate | null | undefined;
6888
+ }> | null | undefined;
6889
+ } | null | undefined;
5490
6890
  }>, {}, import("mongoose").DefaultSchemaOptions> & import("mongoose").FlatRecord<{
5491
6891
  password: string;
5492
6892
  email: string;
@@ -5522,6 +6922,25 @@ export declare const UserModel: import("mongoose").Model<{
5522
6922
  token: string;
5523
6923
  _id?: unknown;
5524
6924
  }> | null | undefined;
6925
+ mfa?: {
6926
+ totp?: {
6927
+ enabled: boolean;
6928
+ secret?: string | null | undefined;
6929
+ } | null | undefined;
6930
+ recoveryCodes?: import("mongoose").Types.DocumentArray<{
6931
+ hash: string;
6932
+ _id?: unknown;
6933
+ usedAt?: NativeDate | null | undefined;
6934
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
6935
+ hash: string;
6936
+ _id?: unknown;
6937
+ usedAt?: NativeDate | null | undefined;
6938
+ }> & {
6939
+ hash: string;
6940
+ _id?: unknown;
6941
+ usedAt?: NativeDate | null | undefined;
6942
+ }> | null | undefined;
6943
+ } | null | undefined;
5525
6944
  }> & {
5526
6945
  _id: import("mongoose").Types.ObjectId;
5527
6946
  } & {
@@ -5561,6 +6980,25 @@ export declare const UserModel: import("mongoose").Model<{
5561
6980
  token: string;
5562
6981
  _id?: unknown;
5563
6982
  }> | null | undefined;
6983
+ mfa?: {
6984
+ totp?: {
6985
+ enabled: boolean;
6986
+ secret?: string | null | undefined;
6987
+ } | null | undefined;
6988
+ recoveryCodes?: import("mongoose").Types.DocumentArray<{
6989
+ hash: string;
6990
+ _id?: unknown;
6991
+ usedAt?: NativeDate | null | undefined;
6992
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
6993
+ hash: string;
6994
+ _id?: unknown;
6995
+ usedAt?: NativeDate | null | undefined;
6996
+ }> & {
6997
+ hash: string;
6998
+ _id?: unknown;
6999
+ usedAt?: NativeDate | null | undefined;
7000
+ }> | null | undefined;
7001
+ } | null | undefined;
5564
7002
  }>, {}, import("mongoose").DefaultSchemaOptions> & import("mongoose").FlatRecord<{
5565
7003
  password: string;
5566
7004
  email: string;
@@ -5596,6 +7034,25 @@ export declare const UserModel: import("mongoose").Model<{
5596
7034
  token: string;
5597
7035
  _id?: unknown;
5598
7036
  }> | null | undefined;
7037
+ mfa?: {
7038
+ totp?: {
7039
+ enabled: boolean;
7040
+ secret?: string | null | undefined;
7041
+ } | null | undefined;
7042
+ recoveryCodes?: import("mongoose").Types.DocumentArray<{
7043
+ hash: string;
7044
+ _id?: unknown;
7045
+ usedAt?: NativeDate | null | undefined;
7046
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
7047
+ hash: string;
7048
+ _id?: unknown;
7049
+ usedAt?: NativeDate | null | undefined;
7050
+ }> & {
7051
+ hash: string;
7052
+ _id?: unknown;
7053
+ usedAt?: NativeDate | null | undefined;
7054
+ }> | null | undefined;
7055
+ } | null | undefined;
5599
7056
  }> & {
5600
7057
  _id: import("mongoose").Types.ObjectId;
5601
7058
  } & {
@@ -5636,6 +7093,25 @@ export declare const UserModel: import("mongoose").Model<{
5636
7093
  token: string;
5637
7094
  _id?: unknown;
5638
7095
  }> | null | undefined;
7096
+ mfa?: {
7097
+ totp?: {
7098
+ enabled: boolean;
7099
+ secret?: string | null | undefined;
7100
+ } | null | undefined;
7101
+ recoveryCodes?: import("mongoose").Types.DocumentArray<{
7102
+ hash: string;
7103
+ _id?: unknown;
7104
+ usedAt?: NativeDate | null | undefined;
7105
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
7106
+ hash: string;
7107
+ _id?: unknown;
7108
+ usedAt?: NativeDate | null | undefined;
7109
+ }> & {
7110
+ hash: string;
7111
+ _id?: unknown;
7112
+ usedAt?: NativeDate | null | undefined;
7113
+ }> | null | undefined;
7114
+ } | null | undefined;
5639
7115
  }, {}, {}, {}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
5640
7116
  password: string;
5641
7117
  email: string;
@@ -5671,6 +7147,25 @@ export declare const UserModel: import("mongoose").Model<{
5671
7147
  token: string;
5672
7148
  _id?: unknown;
5673
7149
  }> | null | undefined;
7150
+ mfa?: {
7151
+ totp?: {
7152
+ enabled: boolean;
7153
+ secret?: string | null | undefined;
7154
+ } | null | undefined;
7155
+ recoveryCodes?: import("mongoose").Types.DocumentArray<{
7156
+ hash: string;
7157
+ _id?: unknown;
7158
+ usedAt?: NativeDate | null | undefined;
7159
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
7160
+ hash: string;
7161
+ _id?: unknown;
7162
+ usedAt?: NativeDate | null | undefined;
7163
+ }> & {
7164
+ hash: string;
7165
+ _id?: unknown;
7166
+ usedAt?: NativeDate | null | undefined;
7167
+ }> | null | undefined;
7168
+ } | null | undefined;
5674
7169
  }>, {}, import("mongoose").DefaultSchemaOptions> & import("mongoose").FlatRecord<{
5675
7170
  password: string;
5676
7171
  email: string;
@@ -5706,6 +7201,25 @@ export declare const UserModel: import("mongoose").Model<{
5706
7201
  token: string;
5707
7202
  _id?: unknown;
5708
7203
  }> | null | undefined;
7204
+ mfa?: {
7205
+ totp?: {
7206
+ enabled: boolean;
7207
+ secret?: string | null | undefined;
7208
+ } | null | undefined;
7209
+ recoveryCodes?: import("mongoose").Types.DocumentArray<{
7210
+ hash: string;
7211
+ _id?: unknown;
7212
+ usedAt?: NativeDate | null | undefined;
7213
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
7214
+ hash: string;
7215
+ _id?: unknown;
7216
+ usedAt?: NativeDate | null | undefined;
7217
+ }> & {
7218
+ hash: string;
7219
+ _id?: unknown;
7220
+ usedAt?: NativeDate | null | undefined;
7221
+ }> | null | undefined;
7222
+ } | null | undefined;
5709
7223
  }> & {
5710
7224
  _id: import("mongoose").Types.ObjectId;
5711
7225
  } & {
@@ -5745,6 +7259,25 @@ export declare const UserModel: import("mongoose").Model<{
5745
7259
  token: string;
5746
7260
  _id?: unknown;
5747
7261
  }> | null | undefined;
7262
+ mfa?: {
7263
+ totp?: {
7264
+ enabled: boolean;
7265
+ secret?: string | null | undefined;
7266
+ } | null | undefined;
7267
+ recoveryCodes?: import("mongoose").Types.DocumentArray<{
7268
+ hash: string;
7269
+ _id?: unknown;
7270
+ usedAt?: NativeDate | null | undefined;
7271
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
7272
+ hash: string;
7273
+ _id?: unknown;
7274
+ usedAt?: NativeDate | null | undefined;
7275
+ }> & {
7276
+ hash: string;
7277
+ _id?: unknown;
7278
+ usedAt?: NativeDate | null | undefined;
7279
+ }> | null | undefined;
7280
+ } | null | undefined;
5748
7281
  }>, {}, import("mongoose").DefaultSchemaOptions> & import("mongoose").FlatRecord<{
5749
7282
  password: string;
5750
7283
  email: string;
@@ -5780,6 +7313,25 @@ export declare const UserModel: import("mongoose").Model<{
5780
7313
  token: string;
5781
7314
  _id?: unknown;
5782
7315
  }> | null | undefined;
7316
+ mfa?: {
7317
+ totp?: {
7318
+ enabled: boolean;
7319
+ secret?: string | null | undefined;
7320
+ } | null | undefined;
7321
+ recoveryCodes?: import("mongoose").Types.DocumentArray<{
7322
+ hash: string;
7323
+ _id?: unknown;
7324
+ usedAt?: NativeDate | null | undefined;
7325
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
7326
+ hash: string;
7327
+ _id?: unknown;
7328
+ usedAt?: NativeDate | null | undefined;
7329
+ }> & {
7330
+ hash: string;
7331
+ _id?: unknown;
7332
+ usedAt?: NativeDate | null | undefined;
7333
+ }> | null | undefined;
7334
+ } | null | undefined;
5783
7335
  }> & {
5784
7336
  _id: import("mongoose").Types.ObjectId;
5785
7337
  } & {
@@ -5820,6 +7372,25 @@ export declare const UserModel: import("mongoose").Model<{
5820
7372
  token: string;
5821
7373
  _id?: unknown;
5822
7374
  }> | null | undefined;
7375
+ mfa?: {
7376
+ totp?: {
7377
+ enabled: boolean;
7378
+ secret?: string | null | undefined;
7379
+ } | null | undefined;
7380
+ recoveryCodes?: import("mongoose").Types.DocumentArray<{
7381
+ hash: string;
7382
+ _id?: unknown;
7383
+ usedAt?: NativeDate | null | undefined;
7384
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
7385
+ hash: string;
7386
+ _id?: unknown;
7387
+ usedAt?: NativeDate | null | undefined;
7388
+ }> & {
7389
+ hash: string;
7390
+ _id?: unknown;
7391
+ usedAt?: NativeDate | null | undefined;
7392
+ }> | null | undefined;
7393
+ } | null | undefined;
5823
7394
  }, {}, {}, {}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
5824
7395
  password: string;
5825
7396
  email: string;
@@ -5855,6 +7426,25 @@ export declare const UserModel: import("mongoose").Model<{
5855
7426
  token: string;
5856
7427
  _id?: unknown;
5857
7428
  }> | null | undefined;
7429
+ mfa?: {
7430
+ totp?: {
7431
+ enabled: boolean;
7432
+ secret?: string | null | undefined;
7433
+ } | null | undefined;
7434
+ recoveryCodes?: import("mongoose").Types.DocumentArray<{
7435
+ hash: string;
7436
+ _id?: unknown;
7437
+ usedAt?: NativeDate | null | undefined;
7438
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
7439
+ hash: string;
7440
+ _id?: unknown;
7441
+ usedAt?: NativeDate | null | undefined;
7442
+ }> & {
7443
+ hash: string;
7444
+ _id?: unknown;
7445
+ usedAt?: NativeDate | null | undefined;
7446
+ }> | null | undefined;
7447
+ } | null | undefined;
5858
7448
  }>, {}, import("mongoose").DefaultSchemaOptions> & import("mongoose").FlatRecord<{
5859
7449
  password: string;
5860
7450
  email: string;
@@ -5890,6 +7480,25 @@ export declare const UserModel: import("mongoose").Model<{
5890
7480
  token: string;
5891
7481
  _id?: unknown;
5892
7482
  }> | null | undefined;
7483
+ mfa?: {
7484
+ totp?: {
7485
+ enabled: boolean;
7486
+ secret?: string | null | undefined;
7487
+ } | null | undefined;
7488
+ recoveryCodes?: import("mongoose").Types.DocumentArray<{
7489
+ hash: string;
7490
+ _id?: unknown;
7491
+ usedAt?: NativeDate | null | undefined;
7492
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
7493
+ hash: string;
7494
+ _id?: unknown;
7495
+ usedAt?: NativeDate | null | undefined;
7496
+ }> & {
7497
+ hash: string;
7498
+ _id?: unknown;
7499
+ usedAt?: NativeDate | null | undefined;
7500
+ }> | null | undefined;
7501
+ } | null | undefined;
5893
7502
  }> & {
5894
7503
  _id: import("mongoose").Types.ObjectId;
5895
7504
  } & {
@@ -5930,6 +7539,25 @@ export declare const UserModel: import("mongoose").Model<{
5930
7539
  token: string;
5931
7540
  _id?: unknown;
5932
7541
  }> | null | undefined;
7542
+ mfa?: {
7543
+ totp?: {
7544
+ enabled: boolean;
7545
+ secret?: string | null | undefined;
7546
+ } | null | undefined;
7547
+ recoveryCodes?: import("mongoose").Types.DocumentArray<{
7548
+ hash: string;
7549
+ _id?: unknown;
7550
+ usedAt?: NativeDate | null | undefined;
7551
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
7552
+ hash: string;
7553
+ _id?: unknown;
7554
+ usedAt?: NativeDate | null | undefined;
7555
+ }> & {
7556
+ hash: string;
7557
+ _id?: unknown;
7558
+ usedAt?: NativeDate | null | undefined;
7559
+ }> | null | undefined;
7560
+ } | null | undefined;
5933
7561
  }>, {}, import("mongoose").DefaultSchemaOptions> & import("mongoose").FlatRecord<{
5934
7562
  password: string;
5935
7563
  email: string;
@@ -5965,6 +7593,25 @@ export declare const UserModel: import("mongoose").Model<{
5965
7593
  token: string;
5966
7594
  _id?: unknown;
5967
7595
  }> | null | undefined;
7596
+ mfa?: {
7597
+ totp?: {
7598
+ enabled: boolean;
7599
+ secret?: string | null | undefined;
7600
+ } | null | undefined;
7601
+ recoveryCodes?: import("mongoose").Types.DocumentArray<{
7602
+ hash: string;
7603
+ _id?: unknown;
7604
+ usedAt?: NativeDate | null | undefined;
7605
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
7606
+ hash: string;
7607
+ _id?: unknown;
7608
+ usedAt?: NativeDate | null | undefined;
7609
+ }> & {
7610
+ hash: string;
7611
+ _id?: unknown;
7612
+ usedAt?: NativeDate | null | undefined;
7613
+ }> | null | undefined;
7614
+ } | null | undefined;
5968
7615
  }> & {
5969
7616
  _id: import("mongoose").Types.ObjectId;
5970
7617
  } & {