@fnlb-project/database 1.0.34 → 1.0.37

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 +578 -295
  2. package/dist/index.js +450 -456
  3. package/package.json +5 -5
package/dist/index.d.ts CHANGED
@@ -11,7 +11,6 @@ export declare class DatabaseErrorHandler {
11
11
  }
12
12
  export declare const BotModel: import("mongoose").Model<{
13
13
  owner: import("mongoose").Types.ObjectId;
14
- type: number;
15
14
  nickname: string;
16
15
  deviceAuth: {
17
16
  accountId: string;
@@ -19,12 +18,11 @@ export declare const BotModel: import("mongoose").Model<{
19
18
  secret: string;
20
19
  };
21
20
  parent?: import("mongoose").Types.ObjectId | null | undefined;
21
+ flags?: number | null | undefined;
22
22
  email?: string | null | undefined;
23
- disabled?: boolean | null | undefined;
24
23
  mmsBannedUntil?: number | null | undefined;
25
24
  }, {}, {}, {}, import("mongoose").Document<unknown, {}, {
26
25
  owner: import("mongoose").Types.ObjectId;
27
- type: number;
28
26
  nickname: string;
29
27
  deviceAuth: {
30
28
  accountId: string;
@@ -32,12 +30,11 @@ export declare const BotModel: import("mongoose").Model<{
32
30
  secret: string;
33
31
  };
34
32
  parent?: import("mongoose").Types.ObjectId | null | undefined;
33
+ flags?: number | null | undefined;
35
34
  email?: string | null | undefined;
36
- disabled?: boolean | null | undefined;
37
35
  mmsBannedUntil?: number | null | undefined;
38
- }, {}> & {
36
+ }, {}, import("mongoose").DefaultSchemaOptions> & {
39
37
  owner: import("mongoose").Types.ObjectId;
40
- type: number;
41
38
  nickname: string;
42
39
  deviceAuth: {
43
40
  accountId: string;
@@ -45,8 +42,8 @@ export declare const BotModel: import("mongoose").Model<{
45
42
  secret: string;
46
43
  };
47
44
  parent?: import("mongoose").Types.ObjectId | null | undefined;
45
+ flags?: number | null | undefined;
48
46
  email?: string | null | undefined;
49
- disabled?: boolean | null | undefined;
50
47
  mmsBannedUntil?: number | null | undefined;
51
48
  } & {
52
49
  _id: import("mongoose").Types.ObjectId;
@@ -54,7 +51,6 @@ export declare const BotModel: import("mongoose").Model<{
54
51
  __v: number;
55
52
  }, Schema<any, import("mongoose").Model<any, any, any, any, any, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, {
56
53
  owner: import("mongoose").Types.ObjectId;
57
- type: number;
58
54
  nickname: string;
59
55
  deviceAuth: {
60
56
  accountId: string;
@@ -62,12 +58,11 @@ export declare const BotModel: import("mongoose").Model<{
62
58
  secret: string;
63
59
  };
64
60
  parent?: import("mongoose").Types.ObjectId | null | undefined;
61
+ flags?: number | null | undefined;
65
62
  email?: string | null | undefined;
66
- disabled?: boolean | null | undefined;
67
63
  mmsBannedUntil?: number | null | undefined;
68
64
  }, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
69
65
  owner: import("mongoose").Types.ObjectId;
70
- type: number;
71
66
  nickname: string;
72
67
  deviceAuth: {
73
68
  accountId: string;
@@ -75,12 +70,11 @@ export declare const BotModel: import("mongoose").Model<{
75
70
  secret: string;
76
71
  };
77
72
  parent?: import("mongoose").Types.ObjectId | null | undefined;
73
+ flags?: number | null | undefined;
78
74
  email?: string | null | undefined;
79
- disabled?: boolean | null | undefined;
80
75
  mmsBannedUntil?: number | null | undefined;
81
- }>, {}> & import("mongoose").FlatRecord<{
76
+ }>, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").FlatRecord<{
82
77
  owner: import("mongoose").Types.ObjectId;
83
- type: number;
84
78
  nickname: string;
85
79
  deviceAuth: {
86
80
  accountId: string;
@@ -88,8 +82,8 @@ export declare const BotModel: import("mongoose").Model<{
88
82
  secret: string;
89
83
  };
90
84
  parent?: import("mongoose").Types.ObjectId | null | undefined;
85
+ flags?: number | null | undefined;
91
86
  email?: string | null | undefined;
92
- disabled?: boolean | null | undefined;
93
87
  mmsBannedUntil?: number | null | undefined;
94
88
  }> & {
95
89
  _id: import("mongoose").Types.ObjectId;
@@ -99,7 +93,7 @@ export declare const BotModel: import("mongoose").Model<{
99
93
  export declare const CategoryModel: import("mongoose").Model<{
100
94
  owner: import("mongoose").Types.ObjectId;
101
95
  name: string;
102
- disabled?: boolean | null | undefined;
96
+ flags?: number | null | undefined;
103
97
  managed?: boolean | null | undefined;
104
98
  config?: {
105
99
  replyLangs?: string[] | null | undefined;
@@ -115,7 +109,7 @@ export declare const CategoryModel: import("mongoose").Model<{
115
109
  id?: string | null | undefined;
116
110
  _id?: unknown;
117
111
  name?: string | null | undefined;
118
- }, import("mongoose").Types.Subdocument<unknown, any, {
112
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
119
113
  id?: string | null | undefined;
120
114
  _id?: unknown;
121
115
  name?: string | null | undefined;
@@ -128,7 +122,7 @@ export declare const CategoryModel: import("mongoose").Model<{
128
122
  id?: string | null | undefined;
129
123
  _id?: unknown;
130
124
  name?: string | null | undefined;
131
- }, import("mongoose").Types.Subdocument<unknown, any, {
125
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
132
126
  id?: string | null | undefined;
133
127
  _id?: unknown;
134
128
  name?: string | null | undefined;
@@ -141,7 +135,7 @@ export declare const CategoryModel: import("mongoose").Model<{
141
135
  id?: string | null | undefined;
142
136
  _id?: unknown;
143
137
  name?: string | null | undefined;
144
- }, import("mongoose").Types.Subdocument<unknown, any, {
138
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
145
139
  id?: string | null | undefined;
146
140
  _id?: unknown;
147
141
  name?: string | null | undefined;
@@ -154,7 +148,7 @@ export declare const CategoryModel: import("mongoose").Model<{
154
148
  id?: string | null | undefined;
155
149
  _id?: unknown;
156
150
  name?: string | null | undefined;
157
- }, import("mongoose").Types.Subdocument<unknown, any, {
151
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
158
152
  id?: string | null | undefined;
159
153
  _id?: unknown;
160
154
  name?: string | null | undefined;
@@ -167,7 +161,7 @@ export declare const CategoryModel: import("mongoose").Model<{
167
161
  id?: string | null | undefined;
168
162
  _id?: unknown;
169
163
  name?: string | null | undefined;
170
- }, import("mongoose").Types.Subdocument<unknown, any, {
164
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
171
165
  id?: string | null | undefined;
172
166
  _id?: unknown;
173
167
  name?: string | null | undefined;
@@ -180,7 +174,7 @@ export declare const CategoryModel: import("mongoose").Model<{
180
174
  id?: string | null | undefined;
181
175
  _id?: unknown;
182
176
  name?: string | null | undefined;
183
- }, import("mongoose").Types.Subdocument<unknown, any, {
177
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
184
178
  id?: string | null | undefined;
185
179
  _id?: unknown;
186
180
  name?: string | null | undefined;
@@ -213,7 +207,7 @@ export declare const CategoryModel: import("mongoose").Model<{
213
207
  detectionMethods?: number[] | null | undefined;
214
208
  actions?: number[] | null | undefined;
215
209
  messages?: string[] | null | undefined;
216
- }, import("mongoose").Types.Subdocument<unknown, any, {
210
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
217
211
  _id?: unknown;
218
212
  triggers?: string[] | null | undefined;
219
213
  detectionMethods?: number[] | null | undefined;
@@ -232,7 +226,7 @@ export declare const CategoryModel: import("mongoose").Model<{
232
226
  detectionMethods?: number[] | null | undefined;
233
227
  actions?: number[] | null | undefined;
234
228
  messages?: string[] | null | undefined;
235
- }, import("mongoose").Types.Subdocument<unknown, any, {
229
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
236
230
  _id?: unknown;
237
231
  triggers?: string[] | null | undefined;
238
232
  detectionMethods?: number[] | null | undefined;
@@ -251,7 +245,7 @@ export declare const CategoryModel: import("mongoose").Model<{
251
245
  detectionMethods?: number[] | null | undefined;
252
246
  actions?: number[] | null | undefined;
253
247
  messages?: string[] | null | undefined;
254
- }, import("mongoose").Types.Subdocument<unknown, any, {
248
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
255
249
  _id?: unknown;
256
250
  triggers?: string[] | null | undefined;
257
251
  detectionMethods?: number[] | null | undefined;
@@ -270,7 +264,7 @@ export declare const CategoryModel: import("mongoose").Model<{
270
264
  detectionMethods?: number[] | null | undefined;
271
265
  actions?: number[] | null | undefined;
272
266
  messages?: string[] | null | undefined;
273
- }, import("mongoose").Types.Subdocument<unknown, any, {
267
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
274
268
  _id?: unknown;
275
269
  triggers?: string[] | null | undefined;
276
270
  detectionMethods?: number[] | null | undefined;
@@ -289,7 +283,7 @@ export declare const CategoryModel: import("mongoose").Model<{
289
283
  detectionMethods?: number[] | null | undefined;
290
284
  actions?: number[] | null | undefined;
291
285
  messages?: string[] | null | undefined;
292
- }, import("mongoose").Types.Subdocument<unknown, any, {
286
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
293
287
  _id?: unknown;
294
288
  triggers?: string[] | null | undefined;
295
289
  detectionMethods?: number[] | null | undefined;
@@ -308,7 +302,7 @@ export declare const CategoryModel: import("mongoose").Model<{
308
302
  detectionMethods?: number[] | null | undefined;
309
303
  actions?: number[] | null | undefined;
310
304
  messages?: string[] | null | undefined;
311
- }, import("mongoose").Types.Subdocument<unknown, any, {
305
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
312
306
  _id?: unknown;
313
307
  triggers?: string[] | null | undefined;
314
308
  detectionMethods?: number[] | null | undefined;
@@ -331,7 +325,7 @@ export declare const CategoryModel: import("mongoose").Model<{
331
325
  variants: number[];
332
326
  id?: string | null | undefined;
333
327
  _id?: unknown;
334
- }, import("mongoose").Types.Subdocument<unknown, any, {
328
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
335
329
  variants: number[];
336
330
  id?: string | null | undefined;
337
331
  _id?: unknown;
@@ -344,7 +338,7 @@ export declare const CategoryModel: import("mongoose").Model<{
344
338
  variants: number[];
345
339
  id?: string | null | undefined;
346
340
  _id?: unknown;
347
- }, import("mongoose").Types.Subdocument<unknown, any, {
341
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
348
342
  variants: number[];
349
343
  id?: string | null | undefined;
350
344
  _id?: unknown;
@@ -357,7 +351,7 @@ export declare const CategoryModel: import("mongoose").Model<{
357
351
  variants: number[];
358
352
  id?: string | null | undefined;
359
353
  _id?: unknown;
360
- }, import("mongoose").Types.Subdocument<unknown, any, {
354
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
361
355
  variants: number[];
362
356
  id?: string | null | undefined;
363
357
  _id?: unknown;
@@ -370,7 +364,7 @@ export declare const CategoryModel: import("mongoose").Model<{
370
364
  variants: number[];
371
365
  id?: string | null | undefined;
372
366
  _id?: unknown;
373
- }, import("mongoose").Types.Subdocument<unknown, any, {
367
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
374
368
  variants: number[];
375
369
  id?: string | null | undefined;
376
370
  _id?: unknown;
@@ -382,7 +376,7 @@ export declare const CategoryModel: import("mongoose").Model<{
382
376
  startBanner?: import("mongoose").Types.DocumentArray<{
383
377
  id?: string | null | undefined;
384
378
  _id?: unknown;
385
- }, import("mongoose").Types.Subdocument<unknown, any, {
379
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
386
380
  id?: string | null | undefined;
387
381
  _id?: unknown;
388
382
  }> & {
@@ -392,7 +386,7 @@ export declare const CategoryModel: import("mongoose").Model<{
392
386
  startBannerColor?: import("mongoose").Types.DocumentArray<{
393
387
  id?: string | null | undefined;
394
388
  _id?: unknown;
395
- }, import("mongoose").Types.Subdocument<unknown, any, {
389
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
396
390
  id?: string | null | undefined;
397
391
  _id?: unknown;
398
392
  }> & {
@@ -403,7 +397,7 @@ export declare const CategoryModel: import("mongoose").Model<{
403
397
  variants: number[];
404
398
  id?: string | null | undefined;
405
399
  _id?: unknown;
406
- }, import("mongoose").Types.Subdocument<unknown, any, {
400
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
407
401
  variants: number[];
408
402
  id?: string | null | undefined;
409
403
  _id?: unknown;
@@ -416,7 +410,7 @@ export declare const CategoryModel: import("mongoose").Model<{
416
410
  variants: number[];
417
411
  id?: string | null | undefined;
418
412
  _id?: unknown;
419
- }, import("mongoose").Types.Subdocument<unknown, any, {
413
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
420
414
  variants: number[];
421
415
  id?: string | null | undefined;
422
416
  _id?: unknown;
@@ -429,7 +423,7 @@ export declare const CategoryModel: import("mongoose").Model<{
429
423
  variants: number[];
430
424
  id?: string | null | undefined;
431
425
  _id?: unknown;
432
- }, import("mongoose").Types.Subdocument<unknown, any, {
426
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
433
427
  variants: number[];
434
428
  id?: string | null | undefined;
435
429
  _id?: unknown;
@@ -441,7 +435,7 @@ export declare const CategoryModel: import("mongoose").Model<{
441
435
  joinEmote?: import("mongoose").Types.DocumentArray<{
442
436
  id?: string | null | undefined;
443
437
  _id?: unknown;
444
- }, import("mongoose").Types.Subdocument<unknown, any, {
438
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
445
439
  id?: string | null | undefined;
446
440
  _id?: unknown;
447
441
  }> & {
@@ -452,7 +446,7 @@ export declare const CategoryModel: import("mongoose").Model<{
452
446
  variants: number[];
453
447
  id?: string | null | undefined;
454
448
  _id?: unknown;
455
- }, import("mongoose").Types.Subdocument<unknown, any, {
449
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
456
450
  variants: number[];
457
451
  id?: string | null | undefined;
458
452
  _id?: unknown;
@@ -464,7 +458,7 @@ export declare const CategoryModel: import("mongoose").Model<{
464
458
  joinBanner?: import("mongoose").Types.DocumentArray<{
465
459
  id?: string | null | undefined;
466
460
  _id?: unknown;
467
- }, import("mongoose").Types.Subdocument<unknown, any, {
461
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
468
462
  id?: string | null | undefined;
469
463
  _id?: unknown;
470
464
  }> & {
@@ -474,7 +468,7 @@ export declare const CategoryModel: import("mongoose").Model<{
474
468
  joinBannerColor?: import("mongoose").Types.DocumentArray<{
475
469
  id?: string | null | undefined;
476
470
  _id?: unknown;
477
- }, import("mongoose").Types.Subdocument<unknown, any, {
471
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
478
472
  id?: string | null | undefined;
479
473
  _id?: unknown;
480
474
  }> & {
@@ -485,7 +479,7 @@ export declare const CategoryModel: import("mongoose").Model<{
485
479
  variants: number[];
486
480
  id?: string | null | undefined;
487
481
  _id?: unknown;
488
- }, import("mongoose").Types.Subdocument<unknown, any, {
482
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
489
483
  variants: number[];
490
484
  id?: string | null | undefined;
491
485
  _id?: unknown;
@@ -498,7 +492,7 @@ export declare const CategoryModel: import("mongoose").Model<{
498
492
  variants: number[];
499
493
  id?: string | null | undefined;
500
494
  _id?: unknown;
501
- }, import("mongoose").Types.Subdocument<unknown, any, {
495
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
502
496
  variants: number[];
503
497
  id?: string | null | undefined;
504
498
  _id?: unknown;
@@ -511,7 +505,7 @@ export declare const CategoryModel: import("mongoose").Model<{
511
505
  variants: number[];
512
506
  id?: string | null | undefined;
513
507
  _id?: unknown;
514
- }, import("mongoose").Types.Subdocument<unknown, any, {
508
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
515
509
  variants: number[];
516
510
  id?: string | null | undefined;
517
511
  _id?: unknown;
@@ -523,7 +517,7 @@ export declare const CategoryModel: import("mongoose").Model<{
523
517
  memberJoinEmote?: import("mongoose").Types.DocumentArray<{
524
518
  id?: string | null | undefined;
525
519
  _id?: unknown;
526
- }, import("mongoose").Types.Subdocument<unknown, any, {
520
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
527
521
  id?: string | null | undefined;
528
522
  _id?: unknown;
529
523
  }> & {
@@ -534,7 +528,7 @@ export declare const CategoryModel: import("mongoose").Model<{
534
528
  variants: number[];
535
529
  id?: string | null | undefined;
536
530
  _id?: unknown;
537
- }, import("mongoose").Types.Subdocument<unknown, any, {
531
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
538
532
  variants: number[];
539
533
  id?: string | null | undefined;
540
534
  _id?: unknown;
@@ -546,7 +540,7 @@ export declare const CategoryModel: import("mongoose").Model<{
546
540
  memberJoinBanner?: import("mongoose").Types.DocumentArray<{
547
541
  id?: string | null | undefined;
548
542
  _id?: unknown;
549
- }, import("mongoose").Types.Subdocument<unknown, any, {
543
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
550
544
  id?: string | null | undefined;
551
545
  _id?: unknown;
552
546
  }> & {
@@ -556,7 +550,7 @@ export declare const CategoryModel: import("mongoose").Model<{
556
550
  memberJoinBannerColor?: import("mongoose").Types.DocumentArray<{
557
551
  id?: string | null | undefined;
558
552
  _id?: unknown;
559
- }, import("mongoose").Types.Subdocument<unknown, any, {
553
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
560
554
  id?: string | null | undefined;
561
555
  _id?: unknown;
562
556
  }> & {
@@ -567,7 +561,7 @@ export declare const CategoryModel: import("mongoose").Model<{
567
561
  }, {}, {}, {}, import("mongoose").Document<unknown, {}, {
568
562
  owner: import("mongoose").Types.ObjectId;
569
563
  name: string;
570
- disabled?: boolean | null | undefined;
564
+ flags?: number | null | undefined;
571
565
  managed?: boolean | null | undefined;
572
566
  config?: {
573
567
  replyLangs?: string[] | null | undefined;
@@ -583,7 +577,7 @@ export declare const CategoryModel: import("mongoose").Model<{
583
577
  id?: string | null | undefined;
584
578
  _id?: unknown;
585
579
  name?: string | null | undefined;
586
- }, import("mongoose").Types.Subdocument<unknown, any, {
580
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
587
581
  id?: string | null | undefined;
588
582
  _id?: unknown;
589
583
  name?: string | null | undefined;
@@ -596,7 +590,7 @@ export declare const CategoryModel: import("mongoose").Model<{
596
590
  id?: string | null | undefined;
597
591
  _id?: unknown;
598
592
  name?: string | null | undefined;
599
- }, import("mongoose").Types.Subdocument<unknown, any, {
593
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
600
594
  id?: string | null | undefined;
601
595
  _id?: unknown;
602
596
  name?: string | null | undefined;
@@ -609,7 +603,7 @@ export declare const CategoryModel: import("mongoose").Model<{
609
603
  id?: string | null | undefined;
610
604
  _id?: unknown;
611
605
  name?: string | null | undefined;
612
- }, import("mongoose").Types.Subdocument<unknown, any, {
606
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
613
607
  id?: string | null | undefined;
614
608
  _id?: unknown;
615
609
  name?: string | null | undefined;
@@ -622,7 +616,7 @@ export declare const CategoryModel: import("mongoose").Model<{
622
616
  id?: string | null | undefined;
623
617
  _id?: unknown;
624
618
  name?: string | null | undefined;
625
- }, import("mongoose").Types.Subdocument<unknown, any, {
619
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
626
620
  id?: string | null | undefined;
627
621
  _id?: unknown;
628
622
  name?: string | null | undefined;
@@ -635,7 +629,7 @@ export declare const CategoryModel: import("mongoose").Model<{
635
629
  id?: string | null | undefined;
636
630
  _id?: unknown;
637
631
  name?: string | null | undefined;
638
- }, import("mongoose").Types.Subdocument<unknown, any, {
632
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
639
633
  id?: string | null | undefined;
640
634
  _id?: unknown;
641
635
  name?: string | null | undefined;
@@ -648,7 +642,7 @@ export declare const CategoryModel: import("mongoose").Model<{
648
642
  id?: string | null | undefined;
649
643
  _id?: unknown;
650
644
  name?: string | null | undefined;
651
- }, import("mongoose").Types.Subdocument<unknown, any, {
645
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
652
646
  id?: string | null | undefined;
653
647
  _id?: unknown;
654
648
  name?: string | null | undefined;
@@ -681,7 +675,7 @@ export declare const CategoryModel: import("mongoose").Model<{
681
675
  detectionMethods?: number[] | null | undefined;
682
676
  actions?: number[] | null | undefined;
683
677
  messages?: string[] | null | undefined;
684
- }, import("mongoose").Types.Subdocument<unknown, any, {
678
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
685
679
  _id?: unknown;
686
680
  triggers?: string[] | null | undefined;
687
681
  detectionMethods?: number[] | null | undefined;
@@ -700,7 +694,7 @@ export declare const CategoryModel: import("mongoose").Model<{
700
694
  detectionMethods?: number[] | null | undefined;
701
695
  actions?: number[] | null | undefined;
702
696
  messages?: string[] | null | undefined;
703
- }, import("mongoose").Types.Subdocument<unknown, any, {
697
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
704
698
  _id?: unknown;
705
699
  triggers?: string[] | null | undefined;
706
700
  detectionMethods?: number[] | null | undefined;
@@ -719,7 +713,7 @@ export declare const CategoryModel: import("mongoose").Model<{
719
713
  detectionMethods?: number[] | null | undefined;
720
714
  actions?: number[] | null | undefined;
721
715
  messages?: string[] | null | undefined;
722
- }, import("mongoose").Types.Subdocument<unknown, any, {
716
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
723
717
  _id?: unknown;
724
718
  triggers?: string[] | null | undefined;
725
719
  detectionMethods?: number[] | null | undefined;
@@ -738,7 +732,7 @@ export declare const CategoryModel: import("mongoose").Model<{
738
732
  detectionMethods?: number[] | null | undefined;
739
733
  actions?: number[] | null | undefined;
740
734
  messages?: string[] | null | undefined;
741
- }, import("mongoose").Types.Subdocument<unknown, any, {
735
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
742
736
  _id?: unknown;
743
737
  triggers?: string[] | null | undefined;
744
738
  detectionMethods?: number[] | null | undefined;
@@ -757,7 +751,7 @@ export declare const CategoryModel: import("mongoose").Model<{
757
751
  detectionMethods?: number[] | null | undefined;
758
752
  actions?: number[] | null | undefined;
759
753
  messages?: string[] | null | undefined;
760
- }, import("mongoose").Types.Subdocument<unknown, any, {
754
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
761
755
  _id?: unknown;
762
756
  triggers?: string[] | null | undefined;
763
757
  detectionMethods?: number[] | null | undefined;
@@ -776,7 +770,7 @@ export declare const CategoryModel: import("mongoose").Model<{
776
770
  detectionMethods?: number[] | null | undefined;
777
771
  actions?: number[] | null | undefined;
778
772
  messages?: string[] | null | undefined;
779
- }, import("mongoose").Types.Subdocument<unknown, any, {
773
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
780
774
  _id?: unknown;
781
775
  triggers?: string[] | null | undefined;
782
776
  detectionMethods?: number[] | null | undefined;
@@ -799,7 +793,7 @@ export declare const CategoryModel: import("mongoose").Model<{
799
793
  variants: number[];
800
794
  id?: string | null | undefined;
801
795
  _id?: unknown;
802
- }, import("mongoose").Types.Subdocument<unknown, any, {
796
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
803
797
  variants: number[];
804
798
  id?: string | null | undefined;
805
799
  _id?: unknown;
@@ -812,7 +806,7 @@ export declare const CategoryModel: import("mongoose").Model<{
812
806
  variants: number[];
813
807
  id?: string | null | undefined;
814
808
  _id?: unknown;
815
- }, import("mongoose").Types.Subdocument<unknown, any, {
809
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
816
810
  variants: number[];
817
811
  id?: string | null | undefined;
818
812
  _id?: unknown;
@@ -825,7 +819,7 @@ export declare const CategoryModel: import("mongoose").Model<{
825
819
  variants: number[];
826
820
  id?: string | null | undefined;
827
821
  _id?: unknown;
828
- }, import("mongoose").Types.Subdocument<unknown, any, {
822
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
829
823
  variants: number[];
830
824
  id?: string | null | undefined;
831
825
  _id?: unknown;
@@ -838,7 +832,7 @@ export declare const CategoryModel: import("mongoose").Model<{
838
832
  variants: number[];
839
833
  id?: string | null | undefined;
840
834
  _id?: unknown;
841
- }, import("mongoose").Types.Subdocument<unknown, any, {
835
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
842
836
  variants: number[];
843
837
  id?: string | null | undefined;
844
838
  _id?: unknown;
@@ -850,7 +844,7 @@ export declare const CategoryModel: import("mongoose").Model<{
850
844
  startBanner?: import("mongoose").Types.DocumentArray<{
851
845
  id?: string | null | undefined;
852
846
  _id?: unknown;
853
- }, import("mongoose").Types.Subdocument<unknown, any, {
847
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
854
848
  id?: string | null | undefined;
855
849
  _id?: unknown;
856
850
  }> & {
@@ -860,7 +854,7 @@ export declare const CategoryModel: import("mongoose").Model<{
860
854
  startBannerColor?: import("mongoose").Types.DocumentArray<{
861
855
  id?: string | null | undefined;
862
856
  _id?: unknown;
863
- }, import("mongoose").Types.Subdocument<unknown, any, {
857
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
864
858
  id?: string | null | undefined;
865
859
  _id?: unknown;
866
860
  }> & {
@@ -871,7 +865,7 @@ export declare const CategoryModel: import("mongoose").Model<{
871
865
  variants: number[];
872
866
  id?: string | null | undefined;
873
867
  _id?: unknown;
874
- }, import("mongoose").Types.Subdocument<unknown, any, {
868
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
875
869
  variants: number[];
876
870
  id?: string | null | undefined;
877
871
  _id?: unknown;
@@ -884,7 +878,7 @@ export declare const CategoryModel: import("mongoose").Model<{
884
878
  variants: number[];
885
879
  id?: string | null | undefined;
886
880
  _id?: unknown;
887
- }, import("mongoose").Types.Subdocument<unknown, any, {
881
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
888
882
  variants: number[];
889
883
  id?: string | null | undefined;
890
884
  _id?: unknown;
@@ -897,7 +891,7 @@ export declare const CategoryModel: import("mongoose").Model<{
897
891
  variants: number[];
898
892
  id?: string | null | undefined;
899
893
  _id?: unknown;
900
- }, import("mongoose").Types.Subdocument<unknown, any, {
894
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
901
895
  variants: number[];
902
896
  id?: string | null | undefined;
903
897
  _id?: unknown;
@@ -909,7 +903,7 @@ export declare const CategoryModel: import("mongoose").Model<{
909
903
  joinEmote?: import("mongoose").Types.DocumentArray<{
910
904
  id?: string | null | undefined;
911
905
  _id?: unknown;
912
- }, import("mongoose").Types.Subdocument<unknown, any, {
906
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
913
907
  id?: string | null | undefined;
914
908
  _id?: unknown;
915
909
  }> & {
@@ -920,7 +914,7 @@ export declare const CategoryModel: import("mongoose").Model<{
920
914
  variants: number[];
921
915
  id?: string | null | undefined;
922
916
  _id?: unknown;
923
- }, import("mongoose").Types.Subdocument<unknown, any, {
917
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
924
918
  variants: number[];
925
919
  id?: string | null | undefined;
926
920
  _id?: unknown;
@@ -932,7 +926,7 @@ export declare const CategoryModel: import("mongoose").Model<{
932
926
  joinBanner?: import("mongoose").Types.DocumentArray<{
933
927
  id?: string | null | undefined;
934
928
  _id?: unknown;
935
- }, import("mongoose").Types.Subdocument<unknown, any, {
929
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
936
930
  id?: string | null | undefined;
937
931
  _id?: unknown;
938
932
  }> & {
@@ -942,7 +936,7 @@ export declare const CategoryModel: import("mongoose").Model<{
942
936
  joinBannerColor?: import("mongoose").Types.DocumentArray<{
943
937
  id?: string | null | undefined;
944
938
  _id?: unknown;
945
- }, import("mongoose").Types.Subdocument<unknown, any, {
939
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
946
940
  id?: string | null | undefined;
947
941
  _id?: unknown;
948
942
  }> & {
@@ -953,7 +947,7 @@ export declare const CategoryModel: import("mongoose").Model<{
953
947
  variants: number[];
954
948
  id?: string | null | undefined;
955
949
  _id?: unknown;
956
- }, import("mongoose").Types.Subdocument<unknown, any, {
950
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
957
951
  variants: number[];
958
952
  id?: string | null | undefined;
959
953
  _id?: unknown;
@@ -966,7 +960,7 @@ export declare const CategoryModel: import("mongoose").Model<{
966
960
  variants: number[];
967
961
  id?: string | null | undefined;
968
962
  _id?: unknown;
969
- }, import("mongoose").Types.Subdocument<unknown, any, {
963
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
970
964
  variants: number[];
971
965
  id?: string | null | undefined;
972
966
  _id?: unknown;
@@ -979,7 +973,7 @@ export declare const CategoryModel: import("mongoose").Model<{
979
973
  variants: number[];
980
974
  id?: string | null | undefined;
981
975
  _id?: unknown;
982
- }, import("mongoose").Types.Subdocument<unknown, any, {
976
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
983
977
  variants: number[];
984
978
  id?: string | null | undefined;
985
979
  _id?: unknown;
@@ -991,7 +985,7 @@ export declare const CategoryModel: import("mongoose").Model<{
991
985
  memberJoinEmote?: import("mongoose").Types.DocumentArray<{
992
986
  id?: string | null | undefined;
993
987
  _id?: unknown;
994
- }, import("mongoose").Types.Subdocument<unknown, any, {
988
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
995
989
  id?: string | null | undefined;
996
990
  _id?: unknown;
997
991
  }> & {
@@ -1002,7 +996,7 @@ export declare const CategoryModel: import("mongoose").Model<{
1002
996
  variants: number[];
1003
997
  id?: string | null | undefined;
1004
998
  _id?: unknown;
1005
- }, import("mongoose").Types.Subdocument<unknown, any, {
999
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
1006
1000
  variants: number[];
1007
1001
  id?: string | null | undefined;
1008
1002
  _id?: unknown;
@@ -1014,7 +1008,7 @@ export declare const CategoryModel: import("mongoose").Model<{
1014
1008
  memberJoinBanner?: import("mongoose").Types.DocumentArray<{
1015
1009
  id?: string | null | undefined;
1016
1010
  _id?: unknown;
1017
- }, import("mongoose").Types.Subdocument<unknown, any, {
1011
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
1018
1012
  id?: string | null | undefined;
1019
1013
  _id?: unknown;
1020
1014
  }> & {
@@ -1024,7 +1018,7 @@ export declare const CategoryModel: import("mongoose").Model<{
1024
1018
  memberJoinBannerColor?: import("mongoose").Types.DocumentArray<{
1025
1019
  id?: string | null | undefined;
1026
1020
  _id?: unknown;
1027
- }, import("mongoose").Types.Subdocument<unknown, any, {
1021
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
1028
1022
  id?: string | null | undefined;
1029
1023
  _id?: unknown;
1030
1024
  }> & {
@@ -1032,10 +1026,10 @@ export declare const CategoryModel: import("mongoose").Model<{
1032
1026
  _id?: unknown;
1033
1027
  }> | null | undefined;
1034
1028
  } | null | undefined;
1035
- }, {}> & {
1029
+ }, {}, import("mongoose").DefaultSchemaOptions> & {
1036
1030
  owner: import("mongoose").Types.ObjectId;
1037
1031
  name: string;
1038
- disabled?: boolean | null | undefined;
1032
+ flags?: number | null | undefined;
1039
1033
  managed?: boolean | null | undefined;
1040
1034
  config?: {
1041
1035
  replyLangs?: string[] | null | undefined;
@@ -1051,7 +1045,7 @@ export declare const CategoryModel: import("mongoose").Model<{
1051
1045
  id?: string | null | undefined;
1052
1046
  _id?: unknown;
1053
1047
  name?: string | null | undefined;
1054
- }, import("mongoose").Types.Subdocument<unknown, any, {
1048
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
1055
1049
  id?: string | null | undefined;
1056
1050
  _id?: unknown;
1057
1051
  name?: string | null | undefined;
@@ -1064,7 +1058,7 @@ export declare const CategoryModel: import("mongoose").Model<{
1064
1058
  id?: string | null | undefined;
1065
1059
  _id?: unknown;
1066
1060
  name?: string | null | undefined;
1067
- }, import("mongoose").Types.Subdocument<unknown, any, {
1061
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
1068
1062
  id?: string | null | undefined;
1069
1063
  _id?: unknown;
1070
1064
  name?: string | null | undefined;
@@ -1077,7 +1071,7 @@ export declare const CategoryModel: import("mongoose").Model<{
1077
1071
  id?: string | null | undefined;
1078
1072
  _id?: unknown;
1079
1073
  name?: string | null | undefined;
1080
- }, import("mongoose").Types.Subdocument<unknown, any, {
1074
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
1081
1075
  id?: string | null | undefined;
1082
1076
  _id?: unknown;
1083
1077
  name?: string | null | undefined;
@@ -1090,7 +1084,7 @@ export declare const CategoryModel: import("mongoose").Model<{
1090
1084
  id?: string | null | undefined;
1091
1085
  _id?: unknown;
1092
1086
  name?: string | null | undefined;
1093
- }, import("mongoose").Types.Subdocument<unknown, any, {
1087
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
1094
1088
  id?: string | null | undefined;
1095
1089
  _id?: unknown;
1096
1090
  name?: string | null | undefined;
@@ -1103,7 +1097,7 @@ export declare const CategoryModel: import("mongoose").Model<{
1103
1097
  id?: string | null | undefined;
1104
1098
  _id?: unknown;
1105
1099
  name?: string | null | undefined;
1106
- }, import("mongoose").Types.Subdocument<unknown, any, {
1100
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
1107
1101
  id?: string | null | undefined;
1108
1102
  _id?: unknown;
1109
1103
  name?: string | null | undefined;
@@ -1116,7 +1110,7 @@ export declare const CategoryModel: import("mongoose").Model<{
1116
1110
  id?: string | null | undefined;
1117
1111
  _id?: unknown;
1118
1112
  name?: string | null | undefined;
1119
- }, import("mongoose").Types.Subdocument<unknown, any, {
1113
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
1120
1114
  id?: string | null | undefined;
1121
1115
  _id?: unknown;
1122
1116
  name?: string | null | undefined;
@@ -1149,7 +1143,7 @@ export declare const CategoryModel: import("mongoose").Model<{
1149
1143
  detectionMethods?: number[] | null | undefined;
1150
1144
  actions?: number[] | null | undefined;
1151
1145
  messages?: string[] | null | undefined;
1152
- }, import("mongoose").Types.Subdocument<unknown, any, {
1146
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
1153
1147
  _id?: unknown;
1154
1148
  triggers?: string[] | null | undefined;
1155
1149
  detectionMethods?: number[] | null | undefined;
@@ -1168,7 +1162,7 @@ export declare const CategoryModel: import("mongoose").Model<{
1168
1162
  detectionMethods?: number[] | null | undefined;
1169
1163
  actions?: number[] | null | undefined;
1170
1164
  messages?: string[] | null | undefined;
1171
- }, import("mongoose").Types.Subdocument<unknown, any, {
1165
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
1172
1166
  _id?: unknown;
1173
1167
  triggers?: string[] | null | undefined;
1174
1168
  detectionMethods?: number[] | null | undefined;
@@ -1187,7 +1181,7 @@ export declare const CategoryModel: import("mongoose").Model<{
1187
1181
  detectionMethods?: number[] | null | undefined;
1188
1182
  actions?: number[] | null | undefined;
1189
1183
  messages?: string[] | null | undefined;
1190
- }, import("mongoose").Types.Subdocument<unknown, any, {
1184
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
1191
1185
  _id?: unknown;
1192
1186
  triggers?: string[] | null | undefined;
1193
1187
  detectionMethods?: number[] | null | undefined;
@@ -1206,7 +1200,7 @@ export declare const CategoryModel: import("mongoose").Model<{
1206
1200
  detectionMethods?: number[] | null | undefined;
1207
1201
  actions?: number[] | null | undefined;
1208
1202
  messages?: string[] | null | undefined;
1209
- }, import("mongoose").Types.Subdocument<unknown, any, {
1203
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
1210
1204
  _id?: unknown;
1211
1205
  triggers?: string[] | null | undefined;
1212
1206
  detectionMethods?: number[] | null | undefined;
@@ -1225,7 +1219,7 @@ export declare const CategoryModel: import("mongoose").Model<{
1225
1219
  detectionMethods?: number[] | null | undefined;
1226
1220
  actions?: number[] | null | undefined;
1227
1221
  messages?: string[] | null | undefined;
1228
- }, import("mongoose").Types.Subdocument<unknown, any, {
1222
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
1229
1223
  _id?: unknown;
1230
1224
  triggers?: string[] | null | undefined;
1231
1225
  detectionMethods?: number[] | null | undefined;
@@ -1244,7 +1238,7 @@ export declare const CategoryModel: import("mongoose").Model<{
1244
1238
  detectionMethods?: number[] | null | undefined;
1245
1239
  actions?: number[] | null | undefined;
1246
1240
  messages?: string[] | null | undefined;
1247
- }, import("mongoose").Types.Subdocument<unknown, any, {
1241
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
1248
1242
  _id?: unknown;
1249
1243
  triggers?: string[] | null | undefined;
1250
1244
  detectionMethods?: number[] | null | undefined;
@@ -1267,7 +1261,7 @@ export declare const CategoryModel: import("mongoose").Model<{
1267
1261
  variants: number[];
1268
1262
  id?: string | null | undefined;
1269
1263
  _id?: unknown;
1270
- }, import("mongoose").Types.Subdocument<unknown, any, {
1264
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
1271
1265
  variants: number[];
1272
1266
  id?: string | null | undefined;
1273
1267
  _id?: unknown;
@@ -1280,7 +1274,7 @@ export declare const CategoryModel: import("mongoose").Model<{
1280
1274
  variants: number[];
1281
1275
  id?: string | null | undefined;
1282
1276
  _id?: unknown;
1283
- }, import("mongoose").Types.Subdocument<unknown, any, {
1277
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
1284
1278
  variants: number[];
1285
1279
  id?: string | null | undefined;
1286
1280
  _id?: unknown;
@@ -1293,7 +1287,7 @@ export declare const CategoryModel: import("mongoose").Model<{
1293
1287
  variants: number[];
1294
1288
  id?: string | null | undefined;
1295
1289
  _id?: unknown;
1296
- }, import("mongoose").Types.Subdocument<unknown, any, {
1290
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
1297
1291
  variants: number[];
1298
1292
  id?: string | null | undefined;
1299
1293
  _id?: unknown;
@@ -1306,7 +1300,7 @@ export declare const CategoryModel: import("mongoose").Model<{
1306
1300
  variants: number[];
1307
1301
  id?: string | null | undefined;
1308
1302
  _id?: unknown;
1309
- }, import("mongoose").Types.Subdocument<unknown, any, {
1303
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
1310
1304
  variants: number[];
1311
1305
  id?: string | null | undefined;
1312
1306
  _id?: unknown;
@@ -1318,7 +1312,7 @@ export declare const CategoryModel: import("mongoose").Model<{
1318
1312
  startBanner?: import("mongoose").Types.DocumentArray<{
1319
1313
  id?: string | null | undefined;
1320
1314
  _id?: unknown;
1321
- }, import("mongoose").Types.Subdocument<unknown, any, {
1315
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
1322
1316
  id?: string | null | undefined;
1323
1317
  _id?: unknown;
1324
1318
  }> & {
@@ -1328,7 +1322,7 @@ export declare const CategoryModel: import("mongoose").Model<{
1328
1322
  startBannerColor?: import("mongoose").Types.DocumentArray<{
1329
1323
  id?: string | null | undefined;
1330
1324
  _id?: unknown;
1331
- }, import("mongoose").Types.Subdocument<unknown, any, {
1325
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
1332
1326
  id?: string | null | undefined;
1333
1327
  _id?: unknown;
1334
1328
  }> & {
@@ -1339,7 +1333,7 @@ export declare const CategoryModel: import("mongoose").Model<{
1339
1333
  variants: number[];
1340
1334
  id?: string | null | undefined;
1341
1335
  _id?: unknown;
1342
- }, import("mongoose").Types.Subdocument<unknown, any, {
1336
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
1343
1337
  variants: number[];
1344
1338
  id?: string | null | undefined;
1345
1339
  _id?: unknown;
@@ -1352,7 +1346,7 @@ export declare const CategoryModel: import("mongoose").Model<{
1352
1346
  variants: number[];
1353
1347
  id?: string | null | undefined;
1354
1348
  _id?: unknown;
1355
- }, import("mongoose").Types.Subdocument<unknown, any, {
1349
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
1356
1350
  variants: number[];
1357
1351
  id?: string | null | undefined;
1358
1352
  _id?: unknown;
@@ -1365,7 +1359,7 @@ export declare const CategoryModel: import("mongoose").Model<{
1365
1359
  variants: number[];
1366
1360
  id?: string | null | undefined;
1367
1361
  _id?: unknown;
1368
- }, import("mongoose").Types.Subdocument<unknown, any, {
1362
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
1369
1363
  variants: number[];
1370
1364
  id?: string | null | undefined;
1371
1365
  _id?: unknown;
@@ -1377,7 +1371,7 @@ export declare const CategoryModel: import("mongoose").Model<{
1377
1371
  joinEmote?: import("mongoose").Types.DocumentArray<{
1378
1372
  id?: string | null | undefined;
1379
1373
  _id?: unknown;
1380
- }, import("mongoose").Types.Subdocument<unknown, any, {
1374
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
1381
1375
  id?: string | null | undefined;
1382
1376
  _id?: unknown;
1383
1377
  }> & {
@@ -1388,7 +1382,7 @@ export declare const CategoryModel: import("mongoose").Model<{
1388
1382
  variants: number[];
1389
1383
  id?: string | null | undefined;
1390
1384
  _id?: unknown;
1391
- }, import("mongoose").Types.Subdocument<unknown, any, {
1385
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
1392
1386
  variants: number[];
1393
1387
  id?: string | null | undefined;
1394
1388
  _id?: unknown;
@@ -1400,7 +1394,7 @@ export declare const CategoryModel: import("mongoose").Model<{
1400
1394
  joinBanner?: import("mongoose").Types.DocumentArray<{
1401
1395
  id?: string | null | undefined;
1402
1396
  _id?: unknown;
1403
- }, import("mongoose").Types.Subdocument<unknown, any, {
1397
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
1404
1398
  id?: string | null | undefined;
1405
1399
  _id?: unknown;
1406
1400
  }> & {
@@ -1410,7 +1404,7 @@ export declare const CategoryModel: import("mongoose").Model<{
1410
1404
  joinBannerColor?: import("mongoose").Types.DocumentArray<{
1411
1405
  id?: string | null | undefined;
1412
1406
  _id?: unknown;
1413
- }, import("mongoose").Types.Subdocument<unknown, any, {
1407
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
1414
1408
  id?: string | null | undefined;
1415
1409
  _id?: unknown;
1416
1410
  }> & {
@@ -1421,7 +1415,7 @@ export declare const CategoryModel: import("mongoose").Model<{
1421
1415
  variants: number[];
1422
1416
  id?: string | null | undefined;
1423
1417
  _id?: unknown;
1424
- }, import("mongoose").Types.Subdocument<unknown, any, {
1418
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
1425
1419
  variants: number[];
1426
1420
  id?: string | null | undefined;
1427
1421
  _id?: unknown;
@@ -1434,7 +1428,7 @@ export declare const CategoryModel: import("mongoose").Model<{
1434
1428
  variants: number[];
1435
1429
  id?: string | null | undefined;
1436
1430
  _id?: unknown;
1437
- }, import("mongoose").Types.Subdocument<unknown, any, {
1431
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
1438
1432
  variants: number[];
1439
1433
  id?: string | null | undefined;
1440
1434
  _id?: unknown;
@@ -1447,7 +1441,7 @@ export declare const CategoryModel: import("mongoose").Model<{
1447
1441
  variants: number[];
1448
1442
  id?: string | null | undefined;
1449
1443
  _id?: unknown;
1450
- }, import("mongoose").Types.Subdocument<unknown, any, {
1444
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
1451
1445
  variants: number[];
1452
1446
  id?: string | null | undefined;
1453
1447
  _id?: unknown;
@@ -1459,7 +1453,7 @@ export declare const CategoryModel: import("mongoose").Model<{
1459
1453
  memberJoinEmote?: import("mongoose").Types.DocumentArray<{
1460
1454
  id?: string | null | undefined;
1461
1455
  _id?: unknown;
1462
- }, import("mongoose").Types.Subdocument<unknown, any, {
1456
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
1463
1457
  id?: string | null | undefined;
1464
1458
  _id?: unknown;
1465
1459
  }> & {
@@ -1470,7 +1464,7 @@ export declare const CategoryModel: import("mongoose").Model<{
1470
1464
  variants: number[];
1471
1465
  id?: string | null | undefined;
1472
1466
  _id?: unknown;
1473
- }, import("mongoose").Types.Subdocument<unknown, any, {
1467
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
1474
1468
  variants: number[];
1475
1469
  id?: string | null | undefined;
1476
1470
  _id?: unknown;
@@ -1482,7 +1476,7 @@ export declare const CategoryModel: import("mongoose").Model<{
1482
1476
  memberJoinBanner?: import("mongoose").Types.DocumentArray<{
1483
1477
  id?: string | null | undefined;
1484
1478
  _id?: unknown;
1485
- }, import("mongoose").Types.Subdocument<unknown, any, {
1479
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
1486
1480
  id?: string | null | undefined;
1487
1481
  _id?: unknown;
1488
1482
  }> & {
@@ -1492,7 +1486,7 @@ export declare const CategoryModel: import("mongoose").Model<{
1492
1486
  memberJoinBannerColor?: import("mongoose").Types.DocumentArray<{
1493
1487
  id?: string | null | undefined;
1494
1488
  _id?: unknown;
1495
- }, import("mongoose").Types.Subdocument<unknown, any, {
1489
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
1496
1490
  id?: string | null | undefined;
1497
1491
  _id?: unknown;
1498
1492
  }> & {
@@ -1507,7 +1501,7 @@ export declare const CategoryModel: import("mongoose").Model<{
1507
1501
  }, Schema<any, import("mongoose").Model<any, any, any, any, any, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, {
1508
1502
  owner: import("mongoose").Types.ObjectId;
1509
1503
  name: string;
1510
- disabled?: boolean | null | undefined;
1504
+ flags?: number | null | undefined;
1511
1505
  managed?: boolean | null | undefined;
1512
1506
  config?: {
1513
1507
  replyLangs?: string[] | null | undefined;
@@ -1523,7 +1517,7 @@ export declare const CategoryModel: import("mongoose").Model<{
1523
1517
  id?: string | null | undefined;
1524
1518
  _id?: unknown;
1525
1519
  name?: string | null | undefined;
1526
- }, import("mongoose").Types.Subdocument<unknown, any, {
1520
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
1527
1521
  id?: string | null | undefined;
1528
1522
  _id?: unknown;
1529
1523
  name?: string | null | undefined;
@@ -1536,7 +1530,7 @@ export declare const CategoryModel: import("mongoose").Model<{
1536
1530
  id?: string | null | undefined;
1537
1531
  _id?: unknown;
1538
1532
  name?: string | null | undefined;
1539
- }, import("mongoose").Types.Subdocument<unknown, any, {
1533
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
1540
1534
  id?: string | null | undefined;
1541
1535
  _id?: unknown;
1542
1536
  name?: string | null | undefined;
@@ -1549,7 +1543,7 @@ export declare const CategoryModel: import("mongoose").Model<{
1549
1543
  id?: string | null | undefined;
1550
1544
  _id?: unknown;
1551
1545
  name?: string | null | undefined;
1552
- }, import("mongoose").Types.Subdocument<unknown, any, {
1546
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
1553
1547
  id?: string | null | undefined;
1554
1548
  _id?: unknown;
1555
1549
  name?: string | null | undefined;
@@ -1562,7 +1556,7 @@ export declare const CategoryModel: import("mongoose").Model<{
1562
1556
  id?: string | null | undefined;
1563
1557
  _id?: unknown;
1564
1558
  name?: string | null | undefined;
1565
- }, import("mongoose").Types.Subdocument<unknown, any, {
1559
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
1566
1560
  id?: string | null | undefined;
1567
1561
  _id?: unknown;
1568
1562
  name?: string | null | undefined;
@@ -1575,7 +1569,7 @@ export declare const CategoryModel: import("mongoose").Model<{
1575
1569
  id?: string | null | undefined;
1576
1570
  _id?: unknown;
1577
1571
  name?: string | null | undefined;
1578
- }, import("mongoose").Types.Subdocument<unknown, any, {
1572
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
1579
1573
  id?: string | null | undefined;
1580
1574
  _id?: unknown;
1581
1575
  name?: string | null | undefined;
@@ -1588,7 +1582,7 @@ export declare const CategoryModel: import("mongoose").Model<{
1588
1582
  id?: string | null | undefined;
1589
1583
  _id?: unknown;
1590
1584
  name?: string | null | undefined;
1591
- }, import("mongoose").Types.Subdocument<unknown, any, {
1585
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
1592
1586
  id?: string | null | undefined;
1593
1587
  _id?: unknown;
1594
1588
  name?: string | null | undefined;
@@ -1621,7 +1615,7 @@ export declare const CategoryModel: import("mongoose").Model<{
1621
1615
  detectionMethods?: number[] | null | undefined;
1622
1616
  actions?: number[] | null | undefined;
1623
1617
  messages?: string[] | null | undefined;
1624
- }, import("mongoose").Types.Subdocument<unknown, any, {
1618
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
1625
1619
  _id?: unknown;
1626
1620
  triggers?: string[] | null | undefined;
1627
1621
  detectionMethods?: number[] | null | undefined;
@@ -1640,7 +1634,7 @@ export declare const CategoryModel: import("mongoose").Model<{
1640
1634
  detectionMethods?: number[] | null | undefined;
1641
1635
  actions?: number[] | null | undefined;
1642
1636
  messages?: string[] | null | undefined;
1643
- }, import("mongoose").Types.Subdocument<unknown, any, {
1637
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
1644
1638
  _id?: unknown;
1645
1639
  triggers?: string[] | null | undefined;
1646
1640
  detectionMethods?: number[] | null | undefined;
@@ -1659,7 +1653,7 @@ export declare const CategoryModel: import("mongoose").Model<{
1659
1653
  detectionMethods?: number[] | null | undefined;
1660
1654
  actions?: number[] | null | undefined;
1661
1655
  messages?: string[] | null | undefined;
1662
- }, import("mongoose").Types.Subdocument<unknown, any, {
1656
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
1663
1657
  _id?: unknown;
1664
1658
  triggers?: string[] | null | undefined;
1665
1659
  detectionMethods?: number[] | null | undefined;
@@ -1678,7 +1672,7 @@ export declare const CategoryModel: import("mongoose").Model<{
1678
1672
  detectionMethods?: number[] | null | undefined;
1679
1673
  actions?: number[] | null | undefined;
1680
1674
  messages?: string[] | null | undefined;
1681
- }, import("mongoose").Types.Subdocument<unknown, any, {
1675
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
1682
1676
  _id?: unknown;
1683
1677
  triggers?: string[] | null | undefined;
1684
1678
  detectionMethods?: number[] | null | undefined;
@@ -1697,7 +1691,7 @@ export declare const CategoryModel: import("mongoose").Model<{
1697
1691
  detectionMethods?: number[] | null | undefined;
1698
1692
  actions?: number[] | null | undefined;
1699
1693
  messages?: string[] | null | undefined;
1700
- }, import("mongoose").Types.Subdocument<unknown, any, {
1694
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
1701
1695
  _id?: unknown;
1702
1696
  triggers?: string[] | null | undefined;
1703
1697
  detectionMethods?: number[] | null | undefined;
@@ -1716,7 +1710,7 @@ export declare const CategoryModel: import("mongoose").Model<{
1716
1710
  detectionMethods?: number[] | null | undefined;
1717
1711
  actions?: number[] | null | undefined;
1718
1712
  messages?: string[] | null | undefined;
1719
- }, import("mongoose").Types.Subdocument<unknown, any, {
1713
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
1720
1714
  _id?: unknown;
1721
1715
  triggers?: string[] | null | undefined;
1722
1716
  detectionMethods?: number[] | null | undefined;
@@ -1739,7 +1733,7 @@ export declare const CategoryModel: import("mongoose").Model<{
1739
1733
  variants: number[];
1740
1734
  id?: string | null | undefined;
1741
1735
  _id?: unknown;
1742
- }, import("mongoose").Types.Subdocument<unknown, any, {
1736
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
1743
1737
  variants: number[];
1744
1738
  id?: string | null | undefined;
1745
1739
  _id?: unknown;
@@ -1752,7 +1746,7 @@ export declare const CategoryModel: import("mongoose").Model<{
1752
1746
  variants: number[];
1753
1747
  id?: string | null | undefined;
1754
1748
  _id?: unknown;
1755
- }, import("mongoose").Types.Subdocument<unknown, any, {
1749
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
1756
1750
  variants: number[];
1757
1751
  id?: string | null | undefined;
1758
1752
  _id?: unknown;
@@ -1765,7 +1759,7 @@ export declare const CategoryModel: import("mongoose").Model<{
1765
1759
  variants: number[];
1766
1760
  id?: string | null | undefined;
1767
1761
  _id?: unknown;
1768
- }, import("mongoose").Types.Subdocument<unknown, any, {
1762
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
1769
1763
  variants: number[];
1770
1764
  id?: string | null | undefined;
1771
1765
  _id?: unknown;
@@ -1778,7 +1772,7 @@ export declare const CategoryModel: import("mongoose").Model<{
1778
1772
  variants: number[];
1779
1773
  id?: string | null | undefined;
1780
1774
  _id?: unknown;
1781
- }, import("mongoose").Types.Subdocument<unknown, any, {
1775
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
1782
1776
  variants: number[];
1783
1777
  id?: string | null | undefined;
1784
1778
  _id?: unknown;
@@ -1790,7 +1784,7 @@ export declare const CategoryModel: import("mongoose").Model<{
1790
1784
  startBanner?: import("mongoose").Types.DocumentArray<{
1791
1785
  id?: string | null | undefined;
1792
1786
  _id?: unknown;
1793
- }, import("mongoose").Types.Subdocument<unknown, any, {
1787
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
1794
1788
  id?: string | null | undefined;
1795
1789
  _id?: unknown;
1796
1790
  }> & {
@@ -1800,7 +1794,7 @@ export declare const CategoryModel: import("mongoose").Model<{
1800
1794
  startBannerColor?: import("mongoose").Types.DocumentArray<{
1801
1795
  id?: string | null | undefined;
1802
1796
  _id?: unknown;
1803
- }, import("mongoose").Types.Subdocument<unknown, any, {
1797
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
1804
1798
  id?: string | null | undefined;
1805
1799
  _id?: unknown;
1806
1800
  }> & {
@@ -1811,7 +1805,7 @@ export declare const CategoryModel: import("mongoose").Model<{
1811
1805
  variants: number[];
1812
1806
  id?: string | null | undefined;
1813
1807
  _id?: unknown;
1814
- }, import("mongoose").Types.Subdocument<unknown, any, {
1808
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
1815
1809
  variants: number[];
1816
1810
  id?: string | null | undefined;
1817
1811
  _id?: unknown;
@@ -1824,7 +1818,7 @@ export declare const CategoryModel: import("mongoose").Model<{
1824
1818
  variants: number[];
1825
1819
  id?: string | null | undefined;
1826
1820
  _id?: unknown;
1827
- }, import("mongoose").Types.Subdocument<unknown, any, {
1821
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
1828
1822
  variants: number[];
1829
1823
  id?: string | null | undefined;
1830
1824
  _id?: unknown;
@@ -1837,7 +1831,7 @@ export declare const CategoryModel: import("mongoose").Model<{
1837
1831
  variants: number[];
1838
1832
  id?: string | null | undefined;
1839
1833
  _id?: unknown;
1840
- }, import("mongoose").Types.Subdocument<unknown, any, {
1834
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
1841
1835
  variants: number[];
1842
1836
  id?: string | null | undefined;
1843
1837
  _id?: unknown;
@@ -1849,7 +1843,7 @@ export declare const CategoryModel: import("mongoose").Model<{
1849
1843
  joinEmote?: import("mongoose").Types.DocumentArray<{
1850
1844
  id?: string | null | undefined;
1851
1845
  _id?: unknown;
1852
- }, import("mongoose").Types.Subdocument<unknown, any, {
1846
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
1853
1847
  id?: string | null | undefined;
1854
1848
  _id?: unknown;
1855
1849
  }> & {
@@ -1860,7 +1854,7 @@ export declare const CategoryModel: import("mongoose").Model<{
1860
1854
  variants: number[];
1861
1855
  id?: string | null | undefined;
1862
1856
  _id?: unknown;
1863
- }, import("mongoose").Types.Subdocument<unknown, any, {
1857
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
1864
1858
  variants: number[];
1865
1859
  id?: string | null | undefined;
1866
1860
  _id?: unknown;
@@ -1872,7 +1866,7 @@ export declare const CategoryModel: import("mongoose").Model<{
1872
1866
  joinBanner?: import("mongoose").Types.DocumentArray<{
1873
1867
  id?: string | null | undefined;
1874
1868
  _id?: unknown;
1875
- }, import("mongoose").Types.Subdocument<unknown, any, {
1869
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
1876
1870
  id?: string | null | undefined;
1877
1871
  _id?: unknown;
1878
1872
  }> & {
@@ -1882,7 +1876,7 @@ export declare const CategoryModel: import("mongoose").Model<{
1882
1876
  joinBannerColor?: import("mongoose").Types.DocumentArray<{
1883
1877
  id?: string | null | undefined;
1884
1878
  _id?: unknown;
1885
- }, import("mongoose").Types.Subdocument<unknown, any, {
1879
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
1886
1880
  id?: string | null | undefined;
1887
1881
  _id?: unknown;
1888
1882
  }> & {
@@ -1893,7 +1887,7 @@ export declare const CategoryModel: import("mongoose").Model<{
1893
1887
  variants: number[];
1894
1888
  id?: string | null | undefined;
1895
1889
  _id?: unknown;
1896
- }, import("mongoose").Types.Subdocument<unknown, any, {
1890
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
1897
1891
  variants: number[];
1898
1892
  id?: string | null | undefined;
1899
1893
  _id?: unknown;
@@ -1906,7 +1900,7 @@ export declare const CategoryModel: import("mongoose").Model<{
1906
1900
  variants: number[];
1907
1901
  id?: string | null | undefined;
1908
1902
  _id?: unknown;
1909
- }, import("mongoose").Types.Subdocument<unknown, any, {
1903
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
1910
1904
  variants: number[];
1911
1905
  id?: string | null | undefined;
1912
1906
  _id?: unknown;
@@ -1919,7 +1913,7 @@ export declare const CategoryModel: import("mongoose").Model<{
1919
1913
  variants: number[];
1920
1914
  id?: string | null | undefined;
1921
1915
  _id?: unknown;
1922
- }, import("mongoose").Types.Subdocument<unknown, any, {
1916
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
1923
1917
  variants: number[];
1924
1918
  id?: string | null | undefined;
1925
1919
  _id?: unknown;
@@ -1931,7 +1925,7 @@ export declare const CategoryModel: import("mongoose").Model<{
1931
1925
  memberJoinEmote?: import("mongoose").Types.DocumentArray<{
1932
1926
  id?: string | null | undefined;
1933
1927
  _id?: unknown;
1934
- }, import("mongoose").Types.Subdocument<unknown, any, {
1928
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
1935
1929
  id?: string | null | undefined;
1936
1930
  _id?: unknown;
1937
1931
  }> & {
@@ -1942,7 +1936,7 @@ export declare const CategoryModel: import("mongoose").Model<{
1942
1936
  variants: number[];
1943
1937
  id?: string | null | undefined;
1944
1938
  _id?: unknown;
1945
- }, import("mongoose").Types.Subdocument<unknown, any, {
1939
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
1946
1940
  variants: number[];
1947
1941
  id?: string | null | undefined;
1948
1942
  _id?: unknown;
@@ -1954,7 +1948,7 @@ export declare const CategoryModel: import("mongoose").Model<{
1954
1948
  memberJoinBanner?: import("mongoose").Types.DocumentArray<{
1955
1949
  id?: string | null | undefined;
1956
1950
  _id?: unknown;
1957
- }, import("mongoose").Types.Subdocument<unknown, any, {
1951
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
1958
1952
  id?: string | null | undefined;
1959
1953
  _id?: unknown;
1960
1954
  }> & {
@@ -1964,7 +1958,7 @@ export declare const CategoryModel: import("mongoose").Model<{
1964
1958
  memberJoinBannerColor?: import("mongoose").Types.DocumentArray<{
1965
1959
  id?: string | null | undefined;
1966
1960
  _id?: unknown;
1967
- }, import("mongoose").Types.Subdocument<unknown, any, {
1961
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
1968
1962
  id?: string | null | undefined;
1969
1963
  _id?: unknown;
1970
1964
  }> & {
@@ -1975,7 +1969,7 @@ export declare const CategoryModel: import("mongoose").Model<{
1975
1969
  }, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
1976
1970
  owner: import("mongoose").Types.ObjectId;
1977
1971
  name: string;
1978
- disabled?: boolean | null | undefined;
1972
+ flags?: number | null | undefined;
1979
1973
  managed?: boolean | null | undefined;
1980
1974
  config?: {
1981
1975
  replyLangs?: string[] | null | undefined;
@@ -1991,7 +1985,7 @@ export declare const CategoryModel: import("mongoose").Model<{
1991
1985
  id?: string | null | undefined;
1992
1986
  _id?: unknown;
1993
1987
  name?: string | null | undefined;
1994
- }, import("mongoose").Types.Subdocument<unknown, any, {
1988
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
1995
1989
  id?: string | null | undefined;
1996
1990
  _id?: unknown;
1997
1991
  name?: string | null | undefined;
@@ -2004,7 +1998,7 @@ export declare const CategoryModel: import("mongoose").Model<{
2004
1998
  id?: string | null | undefined;
2005
1999
  _id?: unknown;
2006
2000
  name?: string | null | undefined;
2007
- }, import("mongoose").Types.Subdocument<unknown, any, {
2001
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
2008
2002
  id?: string | null | undefined;
2009
2003
  _id?: unknown;
2010
2004
  name?: string | null | undefined;
@@ -2017,7 +2011,7 @@ export declare const CategoryModel: import("mongoose").Model<{
2017
2011
  id?: string | null | undefined;
2018
2012
  _id?: unknown;
2019
2013
  name?: string | null | undefined;
2020
- }, import("mongoose").Types.Subdocument<unknown, any, {
2014
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
2021
2015
  id?: string | null | undefined;
2022
2016
  _id?: unknown;
2023
2017
  name?: string | null | undefined;
@@ -2030,7 +2024,7 @@ export declare const CategoryModel: import("mongoose").Model<{
2030
2024
  id?: string | null | undefined;
2031
2025
  _id?: unknown;
2032
2026
  name?: string | null | undefined;
2033
- }, import("mongoose").Types.Subdocument<unknown, any, {
2027
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
2034
2028
  id?: string | null | undefined;
2035
2029
  _id?: unknown;
2036
2030
  name?: string | null | undefined;
@@ -2043,7 +2037,7 @@ export declare const CategoryModel: import("mongoose").Model<{
2043
2037
  id?: string | null | undefined;
2044
2038
  _id?: unknown;
2045
2039
  name?: string | null | undefined;
2046
- }, import("mongoose").Types.Subdocument<unknown, any, {
2040
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
2047
2041
  id?: string | null | undefined;
2048
2042
  _id?: unknown;
2049
2043
  name?: string | null | undefined;
@@ -2056,7 +2050,7 @@ export declare const CategoryModel: import("mongoose").Model<{
2056
2050
  id?: string | null | undefined;
2057
2051
  _id?: unknown;
2058
2052
  name?: string | null | undefined;
2059
- }, import("mongoose").Types.Subdocument<unknown, any, {
2053
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
2060
2054
  id?: string | null | undefined;
2061
2055
  _id?: unknown;
2062
2056
  name?: string | null | undefined;
@@ -2089,7 +2083,7 @@ export declare const CategoryModel: import("mongoose").Model<{
2089
2083
  detectionMethods?: number[] | null | undefined;
2090
2084
  actions?: number[] | null | undefined;
2091
2085
  messages?: string[] | null | undefined;
2092
- }, import("mongoose").Types.Subdocument<unknown, any, {
2086
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
2093
2087
  _id?: unknown;
2094
2088
  triggers?: string[] | null | undefined;
2095
2089
  detectionMethods?: number[] | null | undefined;
@@ -2108,7 +2102,7 @@ export declare const CategoryModel: import("mongoose").Model<{
2108
2102
  detectionMethods?: number[] | null | undefined;
2109
2103
  actions?: number[] | null | undefined;
2110
2104
  messages?: string[] | null | undefined;
2111
- }, import("mongoose").Types.Subdocument<unknown, any, {
2105
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
2112
2106
  _id?: unknown;
2113
2107
  triggers?: string[] | null | undefined;
2114
2108
  detectionMethods?: number[] | null | undefined;
@@ -2127,7 +2121,7 @@ export declare const CategoryModel: import("mongoose").Model<{
2127
2121
  detectionMethods?: number[] | null | undefined;
2128
2122
  actions?: number[] | null | undefined;
2129
2123
  messages?: string[] | null | undefined;
2130
- }, import("mongoose").Types.Subdocument<unknown, any, {
2124
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
2131
2125
  _id?: unknown;
2132
2126
  triggers?: string[] | null | undefined;
2133
2127
  detectionMethods?: number[] | null | undefined;
@@ -2146,7 +2140,7 @@ export declare const CategoryModel: import("mongoose").Model<{
2146
2140
  detectionMethods?: number[] | null | undefined;
2147
2141
  actions?: number[] | null | undefined;
2148
2142
  messages?: string[] | null | undefined;
2149
- }, import("mongoose").Types.Subdocument<unknown, any, {
2143
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
2150
2144
  _id?: unknown;
2151
2145
  triggers?: string[] | null | undefined;
2152
2146
  detectionMethods?: number[] | null | undefined;
@@ -2165,7 +2159,7 @@ export declare const CategoryModel: import("mongoose").Model<{
2165
2159
  detectionMethods?: number[] | null | undefined;
2166
2160
  actions?: number[] | null | undefined;
2167
2161
  messages?: string[] | null | undefined;
2168
- }, import("mongoose").Types.Subdocument<unknown, any, {
2162
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
2169
2163
  _id?: unknown;
2170
2164
  triggers?: string[] | null | undefined;
2171
2165
  detectionMethods?: number[] | null | undefined;
@@ -2184,7 +2178,7 @@ export declare const CategoryModel: import("mongoose").Model<{
2184
2178
  detectionMethods?: number[] | null | undefined;
2185
2179
  actions?: number[] | null | undefined;
2186
2180
  messages?: string[] | null | undefined;
2187
- }, import("mongoose").Types.Subdocument<unknown, any, {
2181
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
2188
2182
  _id?: unknown;
2189
2183
  triggers?: string[] | null | undefined;
2190
2184
  detectionMethods?: number[] | null | undefined;
@@ -2207,7 +2201,7 @@ export declare const CategoryModel: import("mongoose").Model<{
2207
2201
  variants: number[];
2208
2202
  id?: string | null | undefined;
2209
2203
  _id?: unknown;
2210
- }, import("mongoose").Types.Subdocument<unknown, any, {
2204
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
2211
2205
  variants: number[];
2212
2206
  id?: string | null | undefined;
2213
2207
  _id?: unknown;
@@ -2220,7 +2214,7 @@ export declare const CategoryModel: import("mongoose").Model<{
2220
2214
  variants: number[];
2221
2215
  id?: string | null | undefined;
2222
2216
  _id?: unknown;
2223
- }, import("mongoose").Types.Subdocument<unknown, any, {
2217
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
2224
2218
  variants: number[];
2225
2219
  id?: string | null | undefined;
2226
2220
  _id?: unknown;
@@ -2233,7 +2227,7 @@ export declare const CategoryModel: import("mongoose").Model<{
2233
2227
  variants: number[];
2234
2228
  id?: string | null | undefined;
2235
2229
  _id?: unknown;
2236
- }, import("mongoose").Types.Subdocument<unknown, any, {
2230
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
2237
2231
  variants: number[];
2238
2232
  id?: string | null | undefined;
2239
2233
  _id?: unknown;
@@ -2246,7 +2240,7 @@ export declare const CategoryModel: import("mongoose").Model<{
2246
2240
  variants: number[];
2247
2241
  id?: string | null | undefined;
2248
2242
  _id?: unknown;
2249
- }, import("mongoose").Types.Subdocument<unknown, any, {
2243
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
2250
2244
  variants: number[];
2251
2245
  id?: string | null | undefined;
2252
2246
  _id?: unknown;
@@ -2258,7 +2252,7 @@ export declare const CategoryModel: import("mongoose").Model<{
2258
2252
  startBanner?: import("mongoose").Types.DocumentArray<{
2259
2253
  id?: string | null | undefined;
2260
2254
  _id?: unknown;
2261
- }, import("mongoose").Types.Subdocument<unknown, any, {
2255
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
2262
2256
  id?: string | null | undefined;
2263
2257
  _id?: unknown;
2264
2258
  }> & {
@@ -2268,7 +2262,7 @@ export declare const CategoryModel: import("mongoose").Model<{
2268
2262
  startBannerColor?: import("mongoose").Types.DocumentArray<{
2269
2263
  id?: string | null | undefined;
2270
2264
  _id?: unknown;
2271
- }, import("mongoose").Types.Subdocument<unknown, any, {
2265
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
2272
2266
  id?: string | null | undefined;
2273
2267
  _id?: unknown;
2274
2268
  }> & {
@@ -2279,7 +2273,7 @@ export declare const CategoryModel: import("mongoose").Model<{
2279
2273
  variants: number[];
2280
2274
  id?: string | null | undefined;
2281
2275
  _id?: unknown;
2282
- }, import("mongoose").Types.Subdocument<unknown, any, {
2276
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
2283
2277
  variants: number[];
2284
2278
  id?: string | null | undefined;
2285
2279
  _id?: unknown;
@@ -2292,7 +2286,7 @@ export declare const CategoryModel: import("mongoose").Model<{
2292
2286
  variants: number[];
2293
2287
  id?: string | null | undefined;
2294
2288
  _id?: unknown;
2295
- }, import("mongoose").Types.Subdocument<unknown, any, {
2289
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
2296
2290
  variants: number[];
2297
2291
  id?: string | null | undefined;
2298
2292
  _id?: unknown;
@@ -2305,7 +2299,7 @@ export declare const CategoryModel: import("mongoose").Model<{
2305
2299
  variants: number[];
2306
2300
  id?: string | null | undefined;
2307
2301
  _id?: unknown;
2308
- }, import("mongoose").Types.Subdocument<unknown, any, {
2302
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
2309
2303
  variants: number[];
2310
2304
  id?: string | null | undefined;
2311
2305
  _id?: unknown;
@@ -2317,7 +2311,7 @@ export declare const CategoryModel: import("mongoose").Model<{
2317
2311
  joinEmote?: import("mongoose").Types.DocumentArray<{
2318
2312
  id?: string | null | undefined;
2319
2313
  _id?: unknown;
2320
- }, import("mongoose").Types.Subdocument<unknown, any, {
2314
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
2321
2315
  id?: string | null | undefined;
2322
2316
  _id?: unknown;
2323
2317
  }> & {
@@ -2328,7 +2322,7 @@ export declare const CategoryModel: import("mongoose").Model<{
2328
2322
  variants: number[];
2329
2323
  id?: string | null | undefined;
2330
2324
  _id?: unknown;
2331
- }, import("mongoose").Types.Subdocument<unknown, any, {
2325
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
2332
2326
  variants: number[];
2333
2327
  id?: string | null | undefined;
2334
2328
  _id?: unknown;
@@ -2340,7 +2334,7 @@ export declare const CategoryModel: import("mongoose").Model<{
2340
2334
  joinBanner?: import("mongoose").Types.DocumentArray<{
2341
2335
  id?: string | null | undefined;
2342
2336
  _id?: unknown;
2343
- }, import("mongoose").Types.Subdocument<unknown, any, {
2337
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
2344
2338
  id?: string | null | undefined;
2345
2339
  _id?: unknown;
2346
2340
  }> & {
@@ -2350,7 +2344,7 @@ export declare const CategoryModel: import("mongoose").Model<{
2350
2344
  joinBannerColor?: import("mongoose").Types.DocumentArray<{
2351
2345
  id?: string | null | undefined;
2352
2346
  _id?: unknown;
2353
- }, import("mongoose").Types.Subdocument<unknown, any, {
2347
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
2354
2348
  id?: string | null | undefined;
2355
2349
  _id?: unknown;
2356
2350
  }> & {
@@ -2361,7 +2355,7 @@ export declare const CategoryModel: import("mongoose").Model<{
2361
2355
  variants: number[];
2362
2356
  id?: string | null | undefined;
2363
2357
  _id?: unknown;
2364
- }, import("mongoose").Types.Subdocument<unknown, any, {
2358
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
2365
2359
  variants: number[];
2366
2360
  id?: string | null | undefined;
2367
2361
  _id?: unknown;
@@ -2374,7 +2368,7 @@ export declare const CategoryModel: import("mongoose").Model<{
2374
2368
  variants: number[];
2375
2369
  id?: string | null | undefined;
2376
2370
  _id?: unknown;
2377
- }, import("mongoose").Types.Subdocument<unknown, any, {
2371
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
2378
2372
  variants: number[];
2379
2373
  id?: string | null | undefined;
2380
2374
  _id?: unknown;
@@ -2387,7 +2381,7 @@ export declare const CategoryModel: import("mongoose").Model<{
2387
2381
  variants: number[];
2388
2382
  id?: string | null | undefined;
2389
2383
  _id?: unknown;
2390
- }, import("mongoose").Types.Subdocument<unknown, any, {
2384
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
2391
2385
  variants: number[];
2392
2386
  id?: string | null | undefined;
2393
2387
  _id?: unknown;
@@ -2399,7 +2393,7 @@ export declare const CategoryModel: import("mongoose").Model<{
2399
2393
  memberJoinEmote?: import("mongoose").Types.DocumentArray<{
2400
2394
  id?: string | null | undefined;
2401
2395
  _id?: unknown;
2402
- }, import("mongoose").Types.Subdocument<unknown, any, {
2396
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
2403
2397
  id?: string | null | undefined;
2404
2398
  _id?: unknown;
2405
2399
  }> & {
@@ -2410,7 +2404,7 @@ export declare const CategoryModel: import("mongoose").Model<{
2410
2404
  variants: number[];
2411
2405
  id?: string | null | undefined;
2412
2406
  _id?: unknown;
2413
- }, import("mongoose").Types.Subdocument<unknown, any, {
2407
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
2414
2408
  variants: number[];
2415
2409
  id?: string | null | undefined;
2416
2410
  _id?: unknown;
@@ -2422,7 +2416,7 @@ export declare const CategoryModel: import("mongoose").Model<{
2422
2416
  memberJoinBanner?: import("mongoose").Types.DocumentArray<{
2423
2417
  id?: string | null | undefined;
2424
2418
  _id?: unknown;
2425
- }, import("mongoose").Types.Subdocument<unknown, any, {
2419
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
2426
2420
  id?: string | null | undefined;
2427
2421
  _id?: unknown;
2428
2422
  }> & {
@@ -2432,7 +2426,7 @@ export declare const CategoryModel: import("mongoose").Model<{
2432
2426
  memberJoinBannerColor?: import("mongoose").Types.DocumentArray<{
2433
2427
  id?: string | null | undefined;
2434
2428
  _id?: unknown;
2435
- }, import("mongoose").Types.Subdocument<unknown, any, {
2429
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
2436
2430
  id?: string | null | undefined;
2437
2431
  _id?: unknown;
2438
2432
  }> & {
@@ -2440,10 +2434,10 @@ export declare const CategoryModel: import("mongoose").Model<{
2440
2434
  _id?: unknown;
2441
2435
  }> | null | undefined;
2442
2436
  } | null | undefined;
2443
- }>, {}> & import("mongoose").FlatRecord<{
2437
+ }>, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").FlatRecord<{
2444
2438
  owner: import("mongoose").Types.ObjectId;
2445
2439
  name: string;
2446
- disabled?: boolean | null | undefined;
2440
+ flags?: number | null | undefined;
2447
2441
  managed?: boolean | null | undefined;
2448
2442
  config?: {
2449
2443
  replyLangs?: string[] | null | undefined;
@@ -2459,7 +2453,7 @@ export declare const CategoryModel: import("mongoose").Model<{
2459
2453
  id?: string | null | undefined;
2460
2454
  _id?: unknown;
2461
2455
  name?: string | null | undefined;
2462
- }, import("mongoose").Types.Subdocument<unknown, any, {
2456
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
2463
2457
  id?: string | null | undefined;
2464
2458
  _id?: unknown;
2465
2459
  name?: string | null | undefined;
@@ -2472,7 +2466,7 @@ export declare const CategoryModel: import("mongoose").Model<{
2472
2466
  id?: string | null | undefined;
2473
2467
  _id?: unknown;
2474
2468
  name?: string | null | undefined;
2475
- }, import("mongoose").Types.Subdocument<unknown, any, {
2469
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
2476
2470
  id?: string | null | undefined;
2477
2471
  _id?: unknown;
2478
2472
  name?: string | null | undefined;
@@ -2485,7 +2479,7 @@ export declare const CategoryModel: import("mongoose").Model<{
2485
2479
  id?: string | null | undefined;
2486
2480
  _id?: unknown;
2487
2481
  name?: string | null | undefined;
2488
- }, import("mongoose").Types.Subdocument<unknown, any, {
2482
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
2489
2483
  id?: string | null | undefined;
2490
2484
  _id?: unknown;
2491
2485
  name?: string | null | undefined;
@@ -2498,7 +2492,7 @@ export declare const CategoryModel: import("mongoose").Model<{
2498
2492
  id?: string | null | undefined;
2499
2493
  _id?: unknown;
2500
2494
  name?: string | null | undefined;
2501
- }, import("mongoose").Types.Subdocument<unknown, any, {
2495
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
2502
2496
  id?: string | null | undefined;
2503
2497
  _id?: unknown;
2504
2498
  name?: string | null | undefined;
@@ -2511,7 +2505,7 @@ export declare const CategoryModel: import("mongoose").Model<{
2511
2505
  id?: string | null | undefined;
2512
2506
  _id?: unknown;
2513
2507
  name?: string | null | undefined;
2514
- }, import("mongoose").Types.Subdocument<unknown, any, {
2508
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
2515
2509
  id?: string | null | undefined;
2516
2510
  _id?: unknown;
2517
2511
  name?: string | null | undefined;
@@ -2524,7 +2518,7 @@ export declare const CategoryModel: import("mongoose").Model<{
2524
2518
  id?: string | null | undefined;
2525
2519
  _id?: unknown;
2526
2520
  name?: string | null | undefined;
2527
- }, import("mongoose").Types.Subdocument<unknown, any, {
2521
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
2528
2522
  id?: string | null | undefined;
2529
2523
  _id?: unknown;
2530
2524
  name?: string | null | undefined;
@@ -2557,7 +2551,7 @@ export declare const CategoryModel: import("mongoose").Model<{
2557
2551
  detectionMethods?: number[] | null | undefined;
2558
2552
  actions?: number[] | null | undefined;
2559
2553
  messages?: string[] | null | undefined;
2560
- }, import("mongoose").Types.Subdocument<unknown, any, {
2554
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
2561
2555
  _id?: unknown;
2562
2556
  triggers?: string[] | null | undefined;
2563
2557
  detectionMethods?: number[] | null | undefined;
@@ -2576,7 +2570,7 @@ export declare const CategoryModel: import("mongoose").Model<{
2576
2570
  detectionMethods?: number[] | null | undefined;
2577
2571
  actions?: number[] | null | undefined;
2578
2572
  messages?: string[] | null | undefined;
2579
- }, import("mongoose").Types.Subdocument<unknown, any, {
2573
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
2580
2574
  _id?: unknown;
2581
2575
  triggers?: string[] | null | undefined;
2582
2576
  detectionMethods?: number[] | null | undefined;
@@ -2595,7 +2589,7 @@ export declare const CategoryModel: import("mongoose").Model<{
2595
2589
  detectionMethods?: number[] | null | undefined;
2596
2590
  actions?: number[] | null | undefined;
2597
2591
  messages?: string[] | null | undefined;
2598
- }, import("mongoose").Types.Subdocument<unknown, any, {
2592
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
2599
2593
  _id?: unknown;
2600
2594
  triggers?: string[] | null | undefined;
2601
2595
  detectionMethods?: number[] | null | undefined;
@@ -2614,7 +2608,7 @@ export declare const CategoryModel: import("mongoose").Model<{
2614
2608
  detectionMethods?: number[] | null | undefined;
2615
2609
  actions?: number[] | null | undefined;
2616
2610
  messages?: string[] | null | undefined;
2617
- }, import("mongoose").Types.Subdocument<unknown, any, {
2611
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
2618
2612
  _id?: unknown;
2619
2613
  triggers?: string[] | null | undefined;
2620
2614
  detectionMethods?: number[] | null | undefined;
@@ -2633,7 +2627,7 @@ export declare const CategoryModel: import("mongoose").Model<{
2633
2627
  detectionMethods?: number[] | null | undefined;
2634
2628
  actions?: number[] | null | undefined;
2635
2629
  messages?: string[] | null | undefined;
2636
- }, import("mongoose").Types.Subdocument<unknown, any, {
2630
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
2637
2631
  _id?: unknown;
2638
2632
  triggers?: string[] | null | undefined;
2639
2633
  detectionMethods?: number[] | null | undefined;
@@ -2652,7 +2646,7 @@ export declare const CategoryModel: import("mongoose").Model<{
2652
2646
  detectionMethods?: number[] | null | undefined;
2653
2647
  actions?: number[] | null | undefined;
2654
2648
  messages?: string[] | null | undefined;
2655
- }, import("mongoose").Types.Subdocument<unknown, any, {
2649
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
2656
2650
  _id?: unknown;
2657
2651
  triggers?: string[] | null | undefined;
2658
2652
  detectionMethods?: number[] | null | undefined;
@@ -2675,7 +2669,7 @@ export declare const CategoryModel: import("mongoose").Model<{
2675
2669
  variants: number[];
2676
2670
  id?: string | null | undefined;
2677
2671
  _id?: unknown;
2678
- }, import("mongoose").Types.Subdocument<unknown, any, {
2672
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
2679
2673
  variants: number[];
2680
2674
  id?: string | null | undefined;
2681
2675
  _id?: unknown;
@@ -2688,7 +2682,7 @@ export declare const CategoryModel: import("mongoose").Model<{
2688
2682
  variants: number[];
2689
2683
  id?: string | null | undefined;
2690
2684
  _id?: unknown;
2691
- }, import("mongoose").Types.Subdocument<unknown, any, {
2685
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
2692
2686
  variants: number[];
2693
2687
  id?: string | null | undefined;
2694
2688
  _id?: unknown;
@@ -2701,7 +2695,7 @@ export declare const CategoryModel: import("mongoose").Model<{
2701
2695
  variants: number[];
2702
2696
  id?: string | null | undefined;
2703
2697
  _id?: unknown;
2704
- }, import("mongoose").Types.Subdocument<unknown, any, {
2698
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
2705
2699
  variants: number[];
2706
2700
  id?: string | null | undefined;
2707
2701
  _id?: unknown;
@@ -2714,7 +2708,7 @@ export declare const CategoryModel: import("mongoose").Model<{
2714
2708
  variants: number[];
2715
2709
  id?: string | null | undefined;
2716
2710
  _id?: unknown;
2717
- }, import("mongoose").Types.Subdocument<unknown, any, {
2711
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
2718
2712
  variants: number[];
2719
2713
  id?: string | null | undefined;
2720
2714
  _id?: unknown;
@@ -2726,7 +2720,7 @@ export declare const CategoryModel: import("mongoose").Model<{
2726
2720
  startBanner?: import("mongoose").Types.DocumentArray<{
2727
2721
  id?: string | null | undefined;
2728
2722
  _id?: unknown;
2729
- }, import("mongoose").Types.Subdocument<unknown, any, {
2723
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
2730
2724
  id?: string | null | undefined;
2731
2725
  _id?: unknown;
2732
2726
  }> & {
@@ -2736,7 +2730,7 @@ export declare const CategoryModel: import("mongoose").Model<{
2736
2730
  startBannerColor?: import("mongoose").Types.DocumentArray<{
2737
2731
  id?: string | null | undefined;
2738
2732
  _id?: unknown;
2739
- }, import("mongoose").Types.Subdocument<unknown, any, {
2733
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
2740
2734
  id?: string | null | undefined;
2741
2735
  _id?: unknown;
2742
2736
  }> & {
@@ -2747,7 +2741,7 @@ export declare const CategoryModel: import("mongoose").Model<{
2747
2741
  variants: number[];
2748
2742
  id?: string | null | undefined;
2749
2743
  _id?: unknown;
2750
- }, import("mongoose").Types.Subdocument<unknown, any, {
2744
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
2751
2745
  variants: number[];
2752
2746
  id?: string | null | undefined;
2753
2747
  _id?: unknown;
@@ -2760,7 +2754,7 @@ export declare const CategoryModel: import("mongoose").Model<{
2760
2754
  variants: number[];
2761
2755
  id?: string | null | undefined;
2762
2756
  _id?: unknown;
2763
- }, import("mongoose").Types.Subdocument<unknown, any, {
2757
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
2764
2758
  variants: number[];
2765
2759
  id?: string | null | undefined;
2766
2760
  _id?: unknown;
@@ -2773,7 +2767,7 @@ export declare const CategoryModel: import("mongoose").Model<{
2773
2767
  variants: number[];
2774
2768
  id?: string | null | undefined;
2775
2769
  _id?: unknown;
2776
- }, import("mongoose").Types.Subdocument<unknown, any, {
2770
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
2777
2771
  variants: number[];
2778
2772
  id?: string | null | undefined;
2779
2773
  _id?: unknown;
@@ -2785,7 +2779,7 @@ export declare const CategoryModel: import("mongoose").Model<{
2785
2779
  joinEmote?: import("mongoose").Types.DocumentArray<{
2786
2780
  id?: string | null | undefined;
2787
2781
  _id?: unknown;
2788
- }, import("mongoose").Types.Subdocument<unknown, any, {
2782
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
2789
2783
  id?: string | null | undefined;
2790
2784
  _id?: unknown;
2791
2785
  }> & {
@@ -2796,7 +2790,7 @@ export declare const CategoryModel: import("mongoose").Model<{
2796
2790
  variants: number[];
2797
2791
  id?: string | null | undefined;
2798
2792
  _id?: unknown;
2799
- }, import("mongoose").Types.Subdocument<unknown, any, {
2793
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
2800
2794
  variants: number[];
2801
2795
  id?: string | null | undefined;
2802
2796
  _id?: unknown;
@@ -2808,7 +2802,7 @@ export declare const CategoryModel: import("mongoose").Model<{
2808
2802
  joinBanner?: import("mongoose").Types.DocumentArray<{
2809
2803
  id?: string | null | undefined;
2810
2804
  _id?: unknown;
2811
- }, import("mongoose").Types.Subdocument<unknown, any, {
2805
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
2812
2806
  id?: string | null | undefined;
2813
2807
  _id?: unknown;
2814
2808
  }> & {
@@ -2818,7 +2812,7 @@ export declare const CategoryModel: import("mongoose").Model<{
2818
2812
  joinBannerColor?: import("mongoose").Types.DocumentArray<{
2819
2813
  id?: string | null | undefined;
2820
2814
  _id?: unknown;
2821
- }, import("mongoose").Types.Subdocument<unknown, any, {
2815
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
2822
2816
  id?: string | null | undefined;
2823
2817
  _id?: unknown;
2824
2818
  }> & {
@@ -2829,7 +2823,7 @@ export declare const CategoryModel: import("mongoose").Model<{
2829
2823
  variants: number[];
2830
2824
  id?: string | null | undefined;
2831
2825
  _id?: unknown;
2832
- }, import("mongoose").Types.Subdocument<unknown, any, {
2826
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
2833
2827
  variants: number[];
2834
2828
  id?: string | null | undefined;
2835
2829
  _id?: unknown;
@@ -2842,7 +2836,7 @@ export declare const CategoryModel: import("mongoose").Model<{
2842
2836
  variants: number[];
2843
2837
  id?: string | null | undefined;
2844
2838
  _id?: unknown;
2845
- }, import("mongoose").Types.Subdocument<unknown, any, {
2839
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
2846
2840
  variants: number[];
2847
2841
  id?: string | null | undefined;
2848
2842
  _id?: unknown;
@@ -2855,7 +2849,7 @@ export declare const CategoryModel: import("mongoose").Model<{
2855
2849
  variants: number[];
2856
2850
  id?: string | null | undefined;
2857
2851
  _id?: unknown;
2858
- }, import("mongoose").Types.Subdocument<unknown, any, {
2852
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
2859
2853
  variants: number[];
2860
2854
  id?: string | null | undefined;
2861
2855
  _id?: unknown;
@@ -2867,7 +2861,7 @@ export declare const CategoryModel: import("mongoose").Model<{
2867
2861
  memberJoinEmote?: import("mongoose").Types.DocumentArray<{
2868
2862
  id?: string | null | undefined;
2869
2863
  _id?: unknown;
2870
- }, import("mongoose").Types.Subdocument<unknown, any, {
2864
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
2871
2865
  id?: string | null | undefined;
2872
2866
  _id?: unknown;
2873
2867
  }> & {
@@ -2878,7 +2872,7 @@ export declare const CategoryModel: import("mongoose").Model<{
2878
2872
  variants: number[];
2879
2873
  id?: string | null | undefined;
2880
2874
  _id?: unknown;
2881
- }, import("mongoose").Types.Subdocument<unknown, any, {
2875
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
2882
2876
  variants: number[];
2883
2877
  id?: string | null | undefined;
2884
2878
  _id?: unknown;
@@ -2890,7 +2884,7 @@ export declare const CategoryModel: import("mongoose").Model<{
2890
2884
  memberJoinBanner?: import("mongoose").Types.DocumentArray<{
2891
2885
  id?: string | null | undefined;
2892
2886
  _id?: unknown;
2893
- }, import("mongoose").Types.Subdocument<unknown, any, {
2887
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
2894
2888
  id?: string | null | undefined;
2895
2889
  _id?: unknown;
2896
2890
  }> & {
@@ -2900,7 +2894,7 @@ export declare const CategoryModel: import("mongoose").Model<{
2900
2894
  memberJoinBannerColor?: import("mongoose").Types.DocumentArray<{
2901
2895
  id?: string | null | undefined;
2902
2896
  _id?: unknown;
2903
- }, import("mongoose").Types.Subdocument<unknown, any, {
2897
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
2904
2898
  id?: string | null | undefined;
2905
2899
  _id?: unknown;
2906
2900
  }> & {
@@ -2920,7 +2914,6 @@ export declare const UserModel: import("mongoose").Model<{
2920
2914
  username: string;
2921
2915
  apiToken: string;
2922
2916
  flags?: number | null | undefined;
2923
- verified?: boolean | null | undefined;
2924
2917
  connections?: {
2925
2918
  discord?: {
2926
2919
  id?: string | null | undefined;
@@ -2940,7 +2933,6 @@ export declare const UserModel: import("mongoose").Model<{
2940
2933
  username: string;
2941
2934
  apiToken: string;
2942
2935
  flags?: number | null | undefined;
2943
- verified?: boolean | null | undefined;
2944
2936
  connections?: {
2945
2937
  discord?: {
2946
2938
  id?: string | null | undefined;
@@ -2953,14 +2945,286 @@ export declare const UserModel: import("mongoose").Model<{
2953
2945
  verified?: boolean | null | undefined;
2954
2946
  } | null | undefined;
2955
2947
  } | null | undefined;
2956
- }, {}> & {
2948
+ }, {}, {
2949
+ statics: {
2950
+ verifyPassword(this: import("mongoose").Model<{
2951
+ password: string;
2952
+ email: string;
2953
+ token: string;
2954
+ username: string;
2955
+ apiToken: string;
2956
+ flags?: number | null | undefined;
2957
+ connections?: {
2958
+ discord?: {
2959
+ id?: string | null | undefined;
2960
+ username?: string | null | undefined;
2961
+ verified?: boolean | null | undefined;
2962
+ } | null | undefined;
2963
+ epic?: {
2964
+ id?: string | null | undefined;
2965
+ username?: string | null | undefined;
2966
+ verified?: boolean | null | undefined;
2967
+ } | null | undefined;
2968
+ } | null | undefined;
2969
+ }, {}, {}, {}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
2970
+ password: string;
2971
+ email: string;
2972
+ token: string;
2973
+ username: string;
2974
+ apiToken: string;
2975
+ flags?: number | null | undefined;
2976
+ connections?: {
2977
+ discord?: {
2978
+ id?: string | null | undefined;
2979
+ username?: string | null | undefined;
2980
+ verified?: boolean | null | undefined;
2981
+ } | null | undefined;
2982
+ epic?: {
2983
+ id?: string | null | undefined;
2984
+ username?: string | null | undefined;
2985
+ verified?: boolean | null | undefined;
2986
+ } | null | undefined;
2987
+ } | null | undefined;
2988
+ }>, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").FlatRecord<{
2989
+ password: string;
2990
+ email: string;
2991
+ token: string;
2992
+ username: string;
2993
+ apiToken: string;
2994
+ flags?: number | null | undefined;
2995
+ connections?: {
2996
+ discord?: {
2997
+ id?: string | null | undefined;
2998
+ username?: string | null | undefined;
2999
+ verified?: boolean | null | undefined;
3000
+ } | null | undefined;
3001
+ epic?: {
3002
+ id?: string | null | undefined;
3003
+ username?: string | null | undefined;
3004
+ verified?: boolean | null | undefined;
3005
+ } | null | undefined;
3006
+ } | null | undefined;
3007
+ }> & {
3008
+ _id: import("mongoose").Types.ObjectId;
3009
+ } & {
3010
+ __v: number;
3011
+ }, any>, password: string, hash: string): Promise<boolean>;
3012
+ findByToken(this: import("mongoose").Model<{
3013
+ password: string;
3014
+ email: string;
3015
+ token: string;
3016
+ username: string;
3017
+ apiToken: string;
3018
+ flags?: number | null | undefined;
3019
+ connections?: {
3020
+ discord?: {
3021
+ id?: string | null | undefined;
3022
+ username?: string | null | undefined;
3023
+ verified?: boolean | null | undefined;
3024
+ } | null | undefined;
3025
+ epic?: {
3026
+ id?: string | null | undefined;
3027
+ username?: string | null | undefined;
3028
+ verified?: boolean | null | undefined;
3029
+ } | null | undefined;
3030
+ } | null | undefined;
3031
+ }, {}, {}, {}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
3032
+ password: string;
3033
+ email: string;
3034
+ token: string;
3035
+ username: string;
3036
+ apiToken: string;
3037
+ flags?: number | null | undefined;
3038
+ connections?: {
3039
+ discord?: {
3040
+ id?: string | null | undefined;
3041
+ username?: string | null | undefined;
3042
+ verified?: boolean | null | undefined;
3043
+ } | null | undefined;
3044
+ epic?: {
3045
+ id?: string | null | undefined;
3046
+ username?: string | null | undefined;
3047
+ verified?: boolean | null | undefined;
3048
+ } | null | undefined;
3049
+ } | null | undefined;
3050
+ }>, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").FlatRecord<{
3051
+ password: string;
3052
+ email: string;
3053
+ token: string;
3054
+ username: string;
3055
+ apiToken: string;
3056
+ flags?: number | null | undefined;
3057
+ connections?: {
3058
+ discord?: {
3059
+ id?: string | null | undefined;
3060
+ username?: string | null | undefined;
3061
+ verified?: boolean | null | undefined;
3062
+ } | null | undefined;
3063
+ epic?: {
3064
+ id?: string | null | undefined;
3065
+ username?: string | null | undefined;
3066
+ verified?: boolean | null | undefined;
3067
+ } | null | undefined;
3068
+ } | null | undefined;
3069
+ }> & {
3070
+ _id: import("mongoose").Types.ObjectId;
3071
+ } & {
3072
+ __v: number;
3073
+ }, any>, id: string, auth: string): Promise<(import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
3074
+ password: string;
3075
+ email: string;
3076
+ token: string;
3077
+ username: string;
3078
+ apiToken: string;
3079
+ flags?: number | null | undefined;
3080
+ connections?: {
3081
+ discord?: {
3082
+ id?: string | null | undefined;
3083
+ username?: string | null | undefined;
3084
+ verified?: boolean | null | undefined;
3085
+ } | null | undefined;
3086
+ epic?: {
3087
+ id?: string | null | undefined;
3088
+ username?: string | null | undefined;
3089
+ verified?: boolean | null | undefined;
3090
+ } | null | undefined;
3091
+ } | null | undefined;
3092
+ }>, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").FlatRecord<{
3093
+ password: string;
3094
+ email: string;
3095
+ token: string;
3096
+ username: string;
3097
+ apiToken: string;
3098
+ flags?: number | null | undefined;
3099
+ connections?: {
3100
+ discord?: {
3101
+ id?: string | null | undefined;
3102
+ username?: string | null | undefined;
3103
+ verified?: boolean | null | undefined;
3104
+ } | null | undefined;
3105
+ epic?: {
3106
+ id?: string | null | undefined;
3107
+ username?: string | null | undefined;
3108
+ verified?: boolean | null | undefined;
3109
+ } | null | undefined;
3110
+ } | null | undefined;
3111
+ }> & {
3112
+ _id: import("mongoose").Types.ObjectId;
3113
+ } & {
3114
+ __v: number;
3115
+ }) | null>;
3116
+ findByAPIToken(this: import("mongoose").Model<{
3117
+ password: string;
3118
+ email: string;
3119
+ token: string;
3120
+ username: string;
3121
+ apiToken: string;
3122
+ flags?: number | null | undefined;
3123
+ connections?: {
3124
+ discord?: {
3125
+ id?: string | null | undefined;
3126
+ username?: string | null | undefined;
3127
+ verified?: boolean | null | undefined;
3128
+ } | null | undefined;
3129
+ epic?: {
3130
+ id?: string | null | undefined;
3131
+ username?: string | null | undefined;
3132
+ verified?: boolean | null | undefined;
3133
+ } | null | undefined;
3134
+ } | null | undefined;
3135
+ }, {}, {}, {}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
3136
+ password: string;
3137
+ email: string;
3138
+ token: string;
3139
+ username: string;
3140
+ apiToken: string;
3141
+ flags?: number | null | undefined;
3142
+ connections?: {
3143
+ discord?: {
3144
+ id?: string | null | undefined;
3145
+ username?: string | null | undefined;
3146
+ verified?: boolean | null | undefined;
3147
+ } | null | undefined;
3148
+ epic?: {
3149
+ id?: string | null | undefined;
3150
+ username?: string | null | undefined;
3151
+ verified?: boolean | null | undefined;
3152
+ } | null | undefined;
3153
+ } | null | undefined;
3154
+ }>, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").FlatRecord<{
3155
+ password: string;
3156
+ email: string;
3157
+ token: string;
3158
+ username: string;
3159
+ apiToken: string;
3160
+ flags?: number | null | undefined;
3161
+ connections?: {
3162
+ discord?: {
3163
+ id?: string | null | undefined;
3164
+ username?: string | null | undefined;
3165
+ verified?: boolean | null | undefined;
3166
+ } | null | undefined;
3167
+ epic?: {
3168
+ id?: string | null | undefined;
3169
+ username?: string | null | undefined;
3170
+ verified?: boolean | null | undefined;
3171
+ } | null | undefined;
3172
+ } | null | undefined;
3173
+ }> & {
3174
+ _id: import("mongoose").Types.ObjectId;
3175
+ } & {
3176
+ __v: number;
3177
+ }, any>, id: string, auth: string): Promise<(import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
3178
+ password: string;
3179
+ email: string;
3180
+ token: string;
3181
+ username: string;
3182
+ apiToken: string;
3183
+ flags?: number | null | undefined;
3184
+ connections?: {
3185
+ discord?: {
3186
+ id?: string | null | undefined;
3187
+ username?: string | null | undefined;
3188
+ verified?: boolean | null | undefined;
3189
+ } | null | undefined;
3190
+ epic?: {
3191
+ id?: string | null | undefined;
3192
+ username?: string | null | undefined;
3193
+ verified?: boolean | null | undefined;
3194
+ } | null | undefined;
3195
+ } | null | undefined;
3196
+ }>, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").FlatRecord<{
3197
+ password: string;
3198
+ email: string;
3199
+ token: string;
3200
+ username: string;
3201
+ apiToken: string;
3202
+ flags?: number | null | undefined;
3203
+ connections?: {
3204
+ discord?: {
3205
+ id?: string | null | undefined;
3206
+ username?: string | null | undefined;
3207
+ verified?: boolean | null | undefined;
3208
+ } | null | undefined;
3209
+ epic?: {
3210
+ id?: string | null | undefined;
3211
+ username?: string | null | undefined;
3212
+ verified?: boolean | null | undefined;
3213
+ } | null | undefined;
3214
+ } | null | undefined;
3215
+ }> & {
3216
+ _id: import("mongoose").Types.ObjectId;
3217
+ } & {
3218
+ __v: number;
3219
+ }) | null>;
3220
+ };
3221
+ }> & {
2957
3222
  password: string;
2958
3223
  email: string;
2959
3224
  token: string;
2960
3225
  username: string;
2961
3226
  apiToken: string;
2962
3227
  flags?: number | null | undefined;
2963
- verified?: boolean | null | undefined;
2964
3228
  connections?: {
2965
3229
  discord?: {
2966
3230
  id?: string | null | undefined;
@@ -2977,15 +3241,75 @@ export declare const UserModel: import("mongoose").Model<{
2977
3241
  _id: import("mongoose").Types.ObjectId;
2978
3242
  } & {
2979
3243
  __v: number;
2980
- }, Schema<any, import("mongoose").Model<any, any, any, any, any, any>, {}, {}, {}, {
2981
- verifyPassword: (this: import("mongoose").Model<import("mongoose").FlatRecord<{
3244
+ }, Schema<any, import("mongoose").Model<{
3245
+ password: string;
3246
+ email: string;
3247
+ token: string;
3248
+ username: string;
3249
+ apiToken: string;
3250
+ flags?: number | null | undefined;
3251
+ connections?: {
3252
+ discord?: {
3253
+ id?: string | null | undefined;
3254
+ username?: string | null | undefined;
3255
+ verified?: boolean | null | undefined;
3256
+ } | null | undefined;
3257
+ epic?: {
3258
+ id?: string | null | undefined;
3259
+ username?: string | null | undefined;
3260
+ verified?: boolean | null | undefined;
3261
+ } | null | undefined;
3262
+ } | null | undefined;
3263
+ }, {}, {}, {}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
3264
+ password: string;
3265
+ email: string;
3266
+ token: string;
3267
+ username: string;
3268
+ apiToken: string;
3269
+ flags?: number | null | undefined;
3270
+ connections?: {
3271
+ discord?: {
3272
+ id?: string | null | undefined;
3273
+ username?: string | null | undefined;
3274
+ verified?: boolean | null | undefined;
3275
+ } | null | undefined;
3276
+ epic?: {
3277
+ id?: string | null | undefined;
3278
+ username?: string | null | undefined;
3279
+ verified?: boolean | null | undefined;
3280
+ } | null | undefined;
3281
+ } | null | undefined;
3282
+ }>, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").FlatRecord<{
3283
+ password: string;
3284
+ email: string;
3285
+ token: string;
3286
+ username: string;
3287
+ apiToken: string;
3288
+ flags?: number | null | undefined;
3289
+ connections?: {
3290
+ discord?: {
3291
+ id?: string | null | undefined;
3292
+ username?: string | null | undefined;
3293
+ verified?: boolean | null | undefined;
3294
+ } | null | undefined;
3295
+ epic?: {
3296
+ id?: string | null | undefined;
3297
+ username?: string | null | undefined;
3298
+ verified?: boolean | null | undefined;
3299
+ } | null | undefined;
3300
+ } | null | undefined;
3301
+ }> & {
3302
+ _id: import("mongoose").Types.ObjectId;
3303
+ } & {
3304
+ __v: number;
3305
+ }, any>, {}, {}, {}, {
3306
+ verifyPassword: (this: import("mongoose").Model<{
2982
3307
  password: string;
2983
3308
  email: string;
2984
3309
  token: string;
2985
3310
  username: string;
2986
3311
  apiToken: string;
2987
3312
  flags?: number | null | undefined;
2988
- verified?: boolean | null | undefined;
2989
3313
  connections?: {
2990
3314
  discord?: {
2991
3315
  id?: string | null | undefined;
@@ -2998,14 +3322,13 @@ export declare const UserModel: import("mongoose").Model<{
2998
3322
  verified?: boolean | null | undefined;
2999
3323
  } | null | undefined;
3000
3324
  } | null | undefined;
3001
- }>, {}, {}, {}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
3325
+ }, {}, {}, {}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
3002
3326
  password: string;
3003
3327
  email: string;
3004
3328
  token: string;
3005
3329
  username: string;
3006
3330
  apiToken: string;
3007
3331
  flags?: number | null | undefined;
3008
- verified?: boolean | null | undefined;
3009
3332
  connections?: {
3010
3333
  discord?: {
3011
3334
  id?: string | null | undefined;
@@ -3018,14 +3341,13 @@ export declare const UserModel: import("mongoose").Model<{
3018
3341
  verified?: boolean | null | undefined;
3019
3342
  } | null | undefined;
3020
3343
  } | null | undefined;
3021
- }>, {}> & import("mongoose").FlatRecord<{
3344
+ }>, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").FlatRecord<{
3022
3345
  password: string;
3023
3346
  email: string;
3024
3347
  token: string;
3025
3348
  username: string;
3026
3349
  apiToken: string;
3027
3350
  flags?: number | null | undefined;
3028
- verified?: boolean | null | undefined;
3029
3351
  connections?: {
3030
3352
  discord?: {
3031
3353
  id?: string | null | undefined;
@@ -3043,14 +3365,13 @@ export declare const UserModel: import("mongoose").Model<{
3043
3365
  } & {
3044
3366
  __v: number;
3045
3367
  }, any>, password: string, hash: string) => Promise<boolean>;
3046
- findByToken: (this: import("mongoose").Model<import("mongoose").FlatRecord<{
3368
+ findByToken: (this: import("mongoose").Model<{
3047
3369
  password: string;
3048
3370
  email: string;
3049
3371
  token: string;
3050
3372
  username: string;
3051
3373
  apiToken: string;
3052
3374
  flags?: number | null | undefined;
3053
- verified?: boolean | null | undefined;
3054
3375
  connections?: {
3055
3376
  discord?: {
3056
3377
  id?: string | null | undefined;
@@ -3063,14 +3384,13 @@ export declare const UserModel: import("mongoose").Model<{
3063
3384
  verified?: boolean | null | undefined;
3064
3385
  } | null | undefined;
3065
3386
  } | null | undefined;
3066
- }>, {}, {}, {}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
3387
+ }, {}, {}, {}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
3067
3388
  password: string;
3068
3389
  email: string;
3069
3390
  token: string;
3070
3391
  username: string;
3071
3392
  apiToken: string;
3072
3393
  flags?: number | null | undefined;
3073
- verified?: boolean | null | undefined;
3074
3394
  connections?: {
3075
3395
  discord?: {
3076
3396
  id?: string | null | undefined;
@@ -3083,14 +3403,13 @@ export declare const UserModel: import("mongoose").Model<{
3083
3403
  verified?: boolean | null | undefined;
3084
3404
  } | null | undefined;
3085
3405
  } | null | undefined;
3086
- }>, {}> & import("mongoose").FlatRecord<{
3406
+ }>, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").FlatRecord<{
3087
3407
  password: string;
3088
3408
  email: string;
3089
3409
  token: string;
3090
3410
  username: string;
3091
3411
  apiToken: string;
3092
3412
  flags?: number | null | undefined;
3093
- verified?: boolean | null | undefined;
3094
3413
  connections?: {
3095
3414
  discord?: {
3096
3415
  id?: string | null | undefined;
@@ -3114,7 +3433,6 @@ export declare const UserModel: import("mongoose").Model<{
3114
3433
  username: string;
3115
3434
  apiToken: string;
3116
3435
  flags?: number | null | undefined;
3117
- verified?: boolean | null | undefined;
3118
3436
  connections?: {
3119
3437
  discord?: {
3120
3438
  id?: string | null | undefined;
@@ -3127,14 +3445,13 @@ export declare const UserModel: import("mongoose").Model<{
3127
3445
  verified?: boolean | null | undefined;
3128
3446
  } | null | undefined;
3129
3447
  } | null | undefined;
3130
- }>, {}> & import("mongoose").FlatRecord<{
3448
+ }>, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").FlatRecord<{
3131
3449
  password: string;
3132
3450
  email: string;
3133
3451
  token: string;
3134
3452
  username: string;
3135
3453
  apiToken: string;
3136
3454
  flags?: number | null | undefined;
3137
- verified?: boolean | null | undefined;
3138
3455
  connections?: {
3139
3456
  discord?: {
3140
3457
  id?: string | null | undefined;
@@ -3152,14 +3469,13 @@ export declare const UserModel: import("mongoose").Model<{
3152
3469
  } & {
3153
3470
  __v: number;
3154
3471
  }) | null>;
3155
- findByAPIToken: (this: import("mongoose").Model<import("mongoose").FlatRecord<{
3472
+ findByAPIToken: (this: import("mongoose").Model<{
3156
3473
  password: string;
3157
3474
  email: string;
3158
3475
  token: string;
3159
3476
  username: string;
3160
3477
  apiToken: string;
3161
3478
  flags?: number | null | undefined;
3162
- verified?: boolean | null | undefined;
3163
3479
  connections?: {
3164
3480
  discord?: {
3165
3481
  id?: string | null | undefined;
@@ -3172,14 +3488,13 @@ export declare const UserModel: import("mongoose").Model<{
3172
3488
  verified?: boolean | null | undefined;
3173
3489
  } | null | undefined;
3174
3490
  } | null | undefined;
3175
- }>, {}, {}, {}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
3491
+ }, {}, {}, {}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
3176
3492
  password: string;
3177
3493
  email: string;
3178
3494
  token: string;
3179
3495
  username: string;
3180
3496
  apiToken: string;
3181
3497
  flags?: number | null | undefined;
3182
- verified?: boolean | null | undefined;
3183
3498
  connections?: {
3184
3499
  discord?: {
3185
3500
  id?: string | null | undefined;
@@ -3192,14 +3507,13 @@ export declare const UserModel: import("mongoose").Model<{
3192
3507
  verified?: boolean | null | undefined;
3193
3508
  } | null | undefined;
3194
3509
  } | null | undefined;
3195
- }>, {}> & import("mongoose").FlatRecord<{
3510
+ }>, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").FlatRecord<{
3196
3511
  password: string;
3197
3512
  email: string;
3198
3513
  token: string;
3199
3514
  username: string;
3200
3515
  apiToken: string;
3201
3516
  flags?: number | null | undefined;
3202
- verified?: boolean | null | undefined;
3203
3517
  connections?: {
3204
3518
  discord?: {
3205
3519
  id?: string | null | undefined;
@@ -3223,7 +3537,6 @@ export declare const UserModel: import("mongoose").Model<{
3223
3537
  username: string;
3224
3538
  apiToken: string;
3225
3539
  flags?: number | null | undefined;
3226
- verified?: boolean | null | undefined;
3227
3540
  connections?: {
3228
3541
  discord?: {
3229
3542
  id?: string | null | undefined;
@@ -3236,14 +3549,13 @@ export declare const UserModel: import("mongoose").Model<{
3236
3549
  verified?: boolean | null | undefined;
3237
3550
  } | null | undefined;
3238
3551
  } | null | undefined;
3239
- }>, {}> & import("mongoose").FlatRecord<{
3552
+ }>, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").FlatRecord<{
3240
3553
  password: string;
3241
3554
  email: string;
3242
3555
  token: string;
3243
3556
  username: string;
3244
3557
  apiToken: string;
3245
3558
  flags?: number | null | undefined;
3246
- verified?: boolean | null | undefined;
3247
3559
  connections?: {
3248
3560
  discord?: {
3249
3561
  id?: string | null | undefined;
@@ -3263,14 +3575,13 @@ export declare const UserModel: import("mongoose").Model<{
3263
3575
  }) | null>;
3264
3576
  }, {
3265
3577
  statics: {
3266
- verifyPassword(this: import("mongoose").Model<import("mongoose").FlatRecord<{
3578
+ verifyPassword(this: import("mongoose").Model<{
3267
3579
  password: string;
3268
3580
  email: string;
3269
3581
  token: string;
3270
3582
  username: string;
3271
3583
  apiToken: string;
3272
3584
  flags?: number | null | undefined;
3273
- verified?: boolean | null | undefined;
3274
3585
  connections?: {
3275
3586
  discord?: {
3276
3587
  id?: string | null | undefined;
@@ -3283,14 +3594,13 @@ export declare const UserModel: import("mongoose").Model<{
3283
3594
  verified?: boolean | null | undefined;
3284
3595
  } | null | undefined;
3285
3596
  } | null | undefined;
3286
- }>, {}, {}, {}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
3597
+ }, {}, {}, {}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
3287
3598
  password: string;
3288
3599
  email: string;
3289
3600
  token: string;
3290
3601
  username: string;
3291
3602
  apiToken: string;
3292
3603
  flags?: number | null | undefined;
3293
- verified?: boolean | null | undefined;
3294
3604
  connections?: {
3295
3605
  discord?: {
3296
3606
  id?: string | null | undefined;
@@ -3303,14 +3613,13 @@ export declare const UserModel: import("mongoose").Model<{
3303
3613
  verified?: boolean | null | undefined;
3304
3614
  } | null | undefined;
3305
3615
  } | null | undefined;
3306
- }>, {}> & import("mongoose").FlatRecord<{
3616
+ }>, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").FlatRecord<{
3307
3617
  password: string;
3308
3618
  email: string;
3309
3619
  token: string;
3310
3620
  username: string;
3311
3621
  apiToken: string;
3312
3622
  flags?: number | null | undefined;
3313
- verified?: boolean | null | undefined;
3314
3623
  connections?: {
3315
3624
  discord?: {
3316
3625
  id?: string | null | undefined;
@@ -3328,14 +3637,13 @@ export declare const UserModel: import("mongoose").Model<{
3328
3637
  } & {
3329
3638
  __v: number;
3330
3639
  }, any>, password: string, hash: string): Promise<boolean>;
3331
- findByToken(this: import("mongoose").Model<import("mongoose").FlatRecord<{
3640
+ findByToken(this: import("mongoose").Model<{
3332
3641
  password: string;
3333
3642
  email: string;
3334
3643
  token: string;
3335
3644
  username: string;
3336
3645
  apiToken: string;
3337
3646
  flags?: number | null | undefined;
3338
- verified?: boolean | null | undefined;
3339
3647
  connections?: {
3340
3648
  discord?: {
3341
3649
  id?: string | null | undefined;
@@ -3348,14 +3656,13 @@ export declare const UserModel: import("mongoose").Model<{
3348
3656
  verified?: boolean | null | undefined;
3349
3657
  } | null | undefined;
3350
3658
  } | null | undefined;
3351
- }>, {}, {}, {}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
3659
+ }, {}, {}, {}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
3352
3660
  password: string;
3353
3661
  email: string;
3354
3662
  token: string;
3355
3663
  username: string;
3356
3664
  apiToken: string;
3357
3665
  flags?: number | null | undefined;
3358
- verified?: boolean | null | undefined;
3359
3666
  connections?: {
3360
3667
  discord?: {
3361
3668
  id?: string | null | undefined;
@@ -3368,14 +3675,13 @@ export declare const UserModel: import("mongoose").Model<{
3368
3675
  verified?: boolean | null | undefined;
3369
3676
  } | null | undefined;
3370
3677
  } | null | undefined;
3371
- }>, {}> & import("mongoose").FlatRecord<{
3678
+ }>, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").FlatRecord<{
3372
3679
  password: string;
3373
3680
  email: string;
3374
3681
  token: string;
3375
3682
  username: string;
3376
3683
  apiToken: string;
3377
3684
  flags?: number | null | undefined;
3378
- verified?: boolean | null | undefined;
3379
3685
  connections?: {
3380
3686
  discord?: {
3381
3687
  id?: string | null | undefined;
@@ -3399,7 +3705,6 @@ export declare const UserModel: import("mongoose").Model<{
3399
3705
  username: string;
3400
3706
  apiToken: string;
3401
3707
  flags?: number | null | undefined;
3402
- verified?: boolean | null | undefined;
3403
3708
  connections?: {
3404
3709
  discord?: {
3405
3710
  id?: string | null | undefined;
@@ -3412,14 +3717,13 @@ export declare const UserModel: import("mongoose").Model<{
3412
3717
  verified?: boolean | null | undefined;
3413
3718
  } | null | undefined;
3414
3719
  } | null | undefined;
3415
- }>, {}> & import("mongoose").FlatRecord<{
3720
+ }>, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").FlatRecord<{
3416
3721
  password: string;
3417
3722
  email: string;
3418
3723
  token: string;
3419
3724
  username: string;
3420
3725
  apiToken: string;
3421
3726
  flags?: number | null | undefined;
3422
- verified?: boolean | null | undefined;
3423
3727
  connections?: {
3424
3728
  discord?: {
3425
3729
  id?: string | null | undefined;
@@ -3437,14 +3741,13 @@ export declare const UserModel: import("mongoose").Model<{
3437
3741
  } & {
3438
3742
  __v: number;
3439
3743
  }) | null>;
3440
- findByAPIToken(this: import("mongoose").Model<import("mongoose").FlatRecord<{
3744
+ findByAPIToken(this: import("mongoose").Model<{
3441
3745
  password: string;
3442
3746
  email: string;
3443
3747
  token: string;
3444
3748
  username: string;
3445
3749
  apiToken: string;
3446
3750
  flags?: number | null | undefined;
3447
- verified?: boolean | null | undefined;
3448
3751
  connections?: {
3449
3752
  discord?: {
3450
3753
  id?: string | null | undefined;
@@ -3457,14 +3760,13 @@ export declare const UserModel: import("mongoose").Model<{
3457
3760
  verified?: boolean | null | undefined;
3458
3761
  } | null | undefined;
3459
3762
  } | null | undefined;
3460
- }>, {}, {}, {}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
3763
+ }, {}, {}, {}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
3461
3764
  password: string;
3462
3765
  email: string;
3463
3766
  token: string;
3464
3767
  username: string;
3465
3768
  apiToken: string;
3466
3769
  flags?: number | null | undefined;
3467
- verified?: boolean | null | undefined;
3468
3770
  connections?: {
3469
3771
  discord?: {
3470
3772
  id?: string | null | undefined;
@@ -3477,14 +3779,13 @@ export declare const UserModel: import("mongoose").Model<{
3477
3779
  verified?: boolean | null | undefined;
3478
3780
  } | null | undefined;
3479
3781
  } | null | undefined;
3480
- }>, {}> & import("mongoose").FlatRecord<{
3782
+ }>, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").FlatRecord<{
3481
3783
  password: string;
3482
3784
  email: string;
3483
3785
  token: string;
3484
3786
  username: string;
3485
3787
  apiToken: string;
3486
3788
  flags?: number | null | undefined;
3487
- verified?: boolean | null | undefined;
3488
3789
  connections?: {
3489
3790
  discord?: {
3490
3791
  id?: string | null | undefined;
@@ -3508,7 +3809,6 @@ export declare const UserModel: import("mongoose").Model<{
3508
3809
  username: string;
3509
3810
  apiToken: string;
3510
3811
  flags?: number | null | undefined;
3511
- verified?: boolean | null | undefined;
3512
3812
  connections?: {
3513
3813
  discord?: {
3514
3814
  id?: string | null | undefined;
@@ -3521,14 +3821,13 @@ export declare const UserModel: import("mongoose").Model<{
3521
3821
  verified?: boolean | null | undefined;
3522
3822
  } | null | undefined;
3523
3823
  } | null | undefined;
3524
- }>, {}> & import("mongoose").FlatRecord<{
3824
+ }>, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").FlatRecord<{
3525
3825
  password: string;
3526
3826
  email: string;
3527
3827
  token: string;
3528
3828
  username: string;
3529
3829
  apiToken: string;
3530
3830
  flags?: number | null | undefined;
3531
- verified?: boolean | null | undefined;
3532
3831
  connections?: {
3533
3832
  discord?: {
3534
3833
  id?: string | null | undefined;
@@ -3554,7 +3853,6 @@ export declare const UserModel: import("mongoose").Model<{
3554
3853
  username: string;
3555
3854
  apiToken: string;
3556
3855
  flags?: number | null | undefined;
3557
- verified?: boolean | null | undefined;
3558
3856
  connections?: {
3559
3857
  discord?: {
3560
3858
  id?: string | null | undefined;
@@ -3574,7 +3872,6 @@ export declare const UserModel: import("mongoose").Model<{
3574
3872
  username: string;
3575
3873
  apiToken: string;
3576
3874
  flags?: number | null | undefined;
3577
- verified?: boolean | null | undefined;
3578
3875
  connections?: {
3579
3876
  discord?: {
3580
3877
  id?: string | null | undefined;
@@ -3587,14 +3884,13 @@ export declare const UserModel: import("mongoose").Model<{
3587
3884
  verified?: boolean | null | undefined;
3588
3885
  } | null | undefined;
3589
3886
  } | null | undefined;
3590
- }>, {}> & import("mongoose").FlatRecord<{
3887
+ }>, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").FlatRecord<{
3591
3888
  password: string;
3592
3889
  email: string;
3593
3890
  token: string;
3594
3891
  username: string;
3595
3892
  apiToken: string;
3596
3893
  flags?: number | null | undefined;
3597
- verified?: boolean | null | undefined;
3598
3894
  connections?: {
3599
3895
  discord?: {
3600
3896
  id?: string | null | undefined;
@@ -3612,14 +3908,13 @@ export declare const UserModel: import("mongoose").Model<{
3612
3908
  } & {
3613
3909
  __v: number;
3614
3910
  }>> & {
3615
- verifyPassword: (this: import("mongoose").Model<import("mongoose").FlatRecord<{
3911
+ verifyPassword: (this: import("mongoose").Model<{
3616
3912
  password: string;
3617
3913
  email: string;
3618
3914
  token: string;
3619
3915
  username: string;
3620
3916
  apiToken: string;
3621
3917
  flags?: number | null | undefined;
3622
- verified?: boolean | null | undefined;
3623
3918
  connections?: {
3624
3919
  discord?: {
3625
3920
  id?: string | null | undefined;
@@ -3632,14 +3927,13 @@ export declare const UserModel: import("mongoose").Model<{
3632
3927
  verified?: boolean | null | undefined;
3633
3928
  } | null | undefined;
3634
3929
  } | null | undefined;
3635
- }>, {}, {}, {}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
3930
+ }, {}, {}, {}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
3636
3931
  password: string;
3637
3932
  email: string;
3638
3933
  token: string;
3639
3934
  username: string;
3640
3935
  apiToken: string;
3641
3936
  flags?: number | null | undefined;
3642
- verified?: boolean | null | undefined;
3643
3937
  connections?: {
3644
3938
  discord?: {
3645
3939
  id?: string | null | undefined;
@@ -3652,14 +3946,13 @@ export declare const UserModel: import("mongoose").Model<{
3652
3946
  verified?: boolean | null | undefined;
3653
3947
  } | null | undefined;
3654
3948
  } | null | undefined;
3655
- }>, {}> & import("mongoose").FlatRecord<{
3949
+ }>, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").FlatRecord<{
3656
3950
  password: string;
3657
3951
  email: string;
3658
3952
  token: string;
3659
3953
  username: string;
3660
3954
  apiToken: string;
3661
3955
  flags?: number | null | undefined;
3662
- verified?: boolean | null | undefined;
3663
3956
  connections?: {
3664
3957
  discord?: {
3665
3958
  id?: string | null | undefined;
@@ -3677,14 +3970,13 @@ export declare const UserModel: import("mongoose").Model<{
3677
3970
  } & {
3678
3971
  __v: number;
3679
3972
  }, any>, password: string, hash: string) => Promise<boolean>;
3680
- findByToken: (this: import("mongoose").Model<import("mongoose").FlatRecord<{
3973
+ findByToken: (this: import("mongoose").Model<{
3681
3974
  password: string;
3682
3975
  email: string;
3683
3976
  token: string;
3684
3977
  username: string;
3685
3978
  apiToken: string;
3686
3979
  flags?: number | null | undefined;
3687
- verified?: boolean | null | undefined;
3688
3980
  connections?: {
3689
3981
  discord?: {
3690
3982
  id?: string | null | undefined;
@@ -3697,14 +3989,13 @@ export declare const UserModel: import("mongoose").Model<{
3697
3989
  verified?: boolean | null | undefined;
3698
3990
  } | null | undefined;
3699
3991
  } | null | undefined;
3700
- }>, {}, {}, {}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
3992
+ }, {}, {}, {}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
3701
3993
  password: string;
3702
3994
  email: string;
3703
3995
  token: string;
3704
3996
  username: string;
3705
3997
  apiToken: string;
3706
3998
  flags?: number | null | undefined;
3707
- verified?: boolean | null | undefined;
3708
3999
  connections?: {
3709
4000
  discord?: {
3710
4001
  id?: string | null | undefined;
@@ -3717,14 +4008,13 @@ export declare const UserModel: import("mongoose").Model<{
3717
4008
  verified?: boolean | null | undefined;
3718
4009
  } | null | undefined;
3719
4010
  } | null | undefined;
3720
- }>, {}> & import("mongoose").FlatRecord<{
4011
+ }>, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").FlatRecord<{
3721
4012
  password: string;
3722
4013
  email: string;
3723
4014
  token: string;
3724
4015
  username: string;
3725
4016
  apiToken: string;
3726
4017
  flags?: number | null | undefined;
3727
- verified?: boolean | null | undefined;
3728
4018
  connections?: {
3729
4019
  discord?: {
3730
4020
  id?: string | null | undefined;
@@ -3748,7 +4038,6 @@ export declare const UserModel: import("mongoose").Model<{
3748
4038
  username: string;
3749
4039
  apiToken: string;
3750
4040
  flags?: number | null | undefined;
3751
- verified?: boolean | null | undefined;
3752
4041
  connections?: {
3753
4042
  discord?: {
3754
4043
  id?: string | null | undefined;
@@ -3761,14 +4050,13 @@ export declare const UserModel: import("mongoose").Model<{
3761
4050
  verified?: boolean | null | undefined;
3762
4051
  } | null | undefined;
3763
4052
  } | null | undefined;
3764
- }>, {}> & import("mongoose").FlatRecord<{
4053
+ }>, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").FlatRecord<{
3765
4054
  password: string;
3766
4055
  email: string;
3767
4056
  token: string;
3768
4057
  username: string;
3769
4058
  apiToken: string;
3770
4059
  flags?: number | null | undefined;
3771
- verified?: boolean | null | undefined;
3772
4060
  connections?: {
3773
4061
  discord?: {
3774
4062
  id?: string | null | undefined;
@@ -3786,14 +4074,13 @@ export declare const UserModel: import("mongoose").Model<{
3786
4074
  } & {
3787
4075
  __v: number;
3788
4076
  }) | null>;
3789
- findByAPIToken: (this: import("mongoose").Model<import("mongoose").FlatRecord<{
4077
+ findByAPIToken: (this: import("mongoose").Model<{
3790
4078
  password: string;
3791
4079
  email: string;
3792
4080
  token: string;
3793
4081
  username: string;
3794
4082
  apiToken: string;
3795
4083
  flags?: number | null | undefined;
3796
- verified?: boolean | null | undefined;
3797
4084
  connections?: {
3798
4085
  discord?: {
3799
4086
  id?: string | null | undefined;
@@ -3806,14 +4093,13 @@ export declare const UserModel: import("mongoose").Model<{
3806
4093
  verified?: boolean | null | undefined;
3807
4094
  } | null | undefined;
3808
4095
  } | null | undefined;
3809
- }>, {}, {}, {}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
4096
+ }, {}, {}, {}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
3810
4097
  password: string;
3811
4098
  email: string;
3812
4099
  token: string;
3813
4100
  username: string;
3814
4101
  apiToken: string;
3815
4102
  flags?: number | null | undefined;
3816
- verified?: boolean | null | undefined;
3817
4103
  connections?: {
3818
4104
  discord?: {
3819
4105
  id?: string | null | undefined;
@@ -3826,14 +4112,13 @@ export declare const UserModel: import("mongoose").Model<{
3826
4112
  verified?: boolean | null | undefined;
3827
4113
  } | null | undefined;
3828
4114
  } | null | undefined;
3829
- }>, {}> & import("mongoose").FlatRecord<{
4115
+ }>, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").FlatRecord<{
3830
4116
  password: string;
3831
4117
  email: string;
3832
4118
  token: string;
3833
4119
  username: string;
3834
4120
  apiToken: string;
3835
4121
  flags?: number | null | undefined;
3836
- verified?: boolean | null | undefined;
3837
4122
  connections?: {
3838
4123
  discord?: {
3839
4124
  id?: string | null | undefined;
@@ -3857,7 +4142,6 @@ export declare const UserModel: import("mongoose").Model<{
3857
4142
  username: string;
3858
4143
  apiToken: string;
3859
4144
  flags?: number | null | undefined;
3860
- verified?: boolean | null | undefined;
3861
4145
  connections?: {
3862
4146
  discord?: {
3863
4147
  id?: string | null | undefined;
@@ -3870,14 +4154,13 @@ export declare const UserModel: import("mongoose").Model<{
3870
4154
  verified?: boolean | null | undefined;
3871
4155
  } | null | undefined;
3872
4156
  } | null | undefined;
3873
- }>, {}> & import("mongoose").FlatRecord<{
4157
+ }>, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").FlatRecord<{
3874
4158
  password: string;
3875
4159
  email: string;
3876
4160
  token: string;
3877
4161
  username: string;
3878
4162
  apiToken: string;
3879
4163
  flags?: number | null | undefined;
3880
- verified?: boolean | null | undefined;
3881
4164
  connections?: {
3882
4165
  discord?: {
3883
4166
  id?: string | null | undefined;