@fnlb-project/database 1.0.34 → 1.0.38

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 +584 -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;
@@ -207,13 +201,14 @@ export declare const CategoryModel: import("mongoose").Model<{
207
201
  setCosmeticsWithoutCommands?: boolean | null | undefined;
208
202
  setCosmeticsWithPrefix?: boolean | null | undefined;
209
203
  acceptInvites?: boolean | null | undefined;
204
+ startBannedBots?: boolean | null | undefined;
210
205
  usernameTriggers?: import("mongoose").Types.DocumentArray<{
211
206
  _id?: unknown;
212
207
  triggers?: string[] | null | undefined;
213
208
  detectionMethods?: number[] | null | undefined;
214
209
  actions?: number[] | null | undefined;
215
210
  messages?: string[] | null | undefined;
216
- }, import("mongoose").Types.Subdocument<unknown, any, {
211
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
217
212
  _id?: unknown;
218
213
  triggers?: string[] | null | undefined;
219
214
  detectionMethods?: number[] | null | undefined;
@@ -232,7 +227,7 @@ export declare const CategoryModel: import("mongoose").Model<{
232
227
  detectionMethods?: number[] | null | undefined;
233
228
  actions?: number[] | null | undefined;
234
229
  messages?: string[] | null | undefined;
235
- }, import("mongoose").Types.Subdocument<unknown, any, {
230
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
236
231
  _id?: unknown;
237
232
  triggers?: string[] | null | undefined;
238
233
  detectionMethods?: number[] | null | undefined;
@@ -251,7 +246,7 @@ export declare const CategoryModel: import("mongoose").Model<{
251
246
  detectionMethods?: number[] | null | undefined;
252
247
  actions?: number[] | null | undefined;
253
248
  messages?: string[] | null | undefined;
254
- }, import("mongoose").Types.Subdocument<unknown, any, {
249
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
255
250
  _id?: unknown;
256
251
  triggers?: string[] | null | undefined;
257
252
  detectionMethods?: number[] | null | undefined;
@@ -270,7 +265,7 @@ export declare const CategoryModel: import("mongoose").Model<{
270
265
  detectionMethods?: number[] | null | undefined;
271
266
  actions?: number[] | null | undefined;
272
267
  messages?: string[] | null | undefined;
273
- }, import("mongoose").Types.Subdocument<unknown, any, {
268
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
274
269
  _id?: unknown;
275
270
  triggers?: string[] | null | undefined;
276
271
  detectionMethods?: number[] | null | undefined;
@@ -289,7 +284,7 @@ export declare const CategoryModel: import("mongoose").Model<{
289
284
  detectionMethods?: number[] | null | undefined;
290
285
  actions?: number[] | null | undefined;
291
286
  messages?: string[] | null | undefined;
292
- }, import("mongoose").Types.Subdocument<unknown, any, {
287
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
293
288
  _id?: unknown;
294
289
  triggers?: string[] | null | undefined;
295
290
  detectionMethods?: number[] | null | undefined;
@@ -308,7 +303,7 @@ export declare const CategoryModel: import("mongoose").Model<{
308
303
  detectionMethods?: number[] | null | undefined;
309
304
  actions?: number[] | null | undefined;
310
305
  messages?: string[] | null | undefined;
311
- }, import("mongoose").Types.Subdocument<unknown, any, {
306
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
312
307
  _id?: unknown;
313
308
  triggers?: string[] | null | undefined;
314
309
  detectionMethods?: number[] | null | undefined;
@@ -331,7 +326,7 @@ export declare const CategoryModel: import("mongoose").Model<{
331
326
  variants: number[];
332
327
  id?: string | null | undefined;
333
328
  _id?: unknown;
334
- }, import("mongoose").Types.Subdocument<unknown, any, {
329
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
335
330
  variants: number[];
336
331
  id?: string | null | undefined;
337
332
  _id?: unknown;
@@ -344,7 +339,7 @@ export declare const CategoryModel: import("mongoose").Model<{
344
339
  variants: number[];
345
340
  id?: string | null | undefined;
346
341
  _id?: unknown;
347
- }, import("mongoose").Types.Subdocument<unknown, any, {
342
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
348
343
  variants: number[];
349
344
  id?: string | null | undefined;
350
345
  _id?: unknown;
@@ -357,7 +352,7 @@ export declare const CategoryModel: import("mongoose").Model<{
357
352
  variants: number[];
358
353
  id?: string | null | undefined;
359
354
  _id?: unknown;
360
- }, import("mongoose").Types.Subdocument<unknown, any, {
355
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
361
356
  variants: number[];
362
357
  id?: string | null | undefined;
363
358
  _id?: unknown;
@@ -370,7 +365,7 @@ export declare const CategoryModel: import("mongoose").Model<{
370
365
  variants: number[];
371
366
  id?: string | null | undefined;
372
367
  _id?: unknown;
373
- }, import("mongoose").Types.Subdocument<unknown, any, {
368
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
374
369
  variants: number[];
375
370
  id?: string | null | undefined;
376
371
  _id?: unknown;
@@ -382,7 +377,7 @@ export declare const CategoryModel: import("mongoose").Model<{
382
377
  startBanner?: import("mongoose").Types.DocumentArray<{
383
378
  id?: string | null | undefined;
384
379
  _id?: unknown;
385
- }, import("mongoose").Types.Subdocument<unknown, any, {
380
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
386
381
  id?: string | null | undefined;
387
382
  _id?: unknown;
388
383
  }> & {
@@ -392,7 +387,7 @@ export declare const CategoryModel: import("mongoose").Model<{
392
387
  startBannerColor?: import("mongoose").Types.DocumentArray<{
393
388
  id?: string | null | undefined;
394
389
  _id?: unknown;
395
- }, import("mongoose").Types.Subdocument<unknown, any, {
390
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
396
391
  id?: string | null | undefined;
397
392
  _id?: unknown;
398
393
  }> & {
@@ -403,7 +398,7 @@ export declare const CategoryModel: import("mongoose").Model<{
403
398
  variants: number[];
404
399
  id?: string | null | undefined;
405
400
  _id?: unknown;
406
- }, import("mongoose").Types.Subdocument<unknown, any, {
401
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
407
402
  variants: number[];
408
403
  id?: string | null | undefined;
409
404
  _id?: unknown;
@@ -416,7 +411,7 @@ export declare const CategoryModel: import("mongoose").Model<{
416
411
  variants: number[];
417
412
  id?: string | null | undefined;
418
413
  _id?: unknown;
419
- }, import("mongoose").Types.Subdocument<unknown, any, {
414
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
420
415
  variants: number[];
421
416
  id?: string | null | undefined;
422
417
  _id?: unknown;
@@ -429,7 +424,7 @@ export declare const CategoryModel: import("mongoose").Model<{
429
424
  variants: number[];
430
425
  id?: string | null | undefined;
431
426
  _id?: unknown;
432
- }, import("mongoose").Types.Subdocument<unknown, any, {
427
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
433
428
  variants: number[];
434
429
  id?: string | null | undefined;
435
430
  _id?: unknown;
@@ -441,7 +436,7 @@ export declare const CategoryModel: import("mongoose").Model<{
441
436
  joinEmote?: import("mongoose").Types.DocumentArray<{
442
437
  id?: string | null | undefined;
443
438
  _id?: unknown;
444
- }, import("mongoose").Types.Subdocument<unknown, any, {
439
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
445
440
  id?: string | null | undefined;
446
441
  _id?: unknown;
447
442
  }> & {
@@ -452,7 +447,7 @@ export declare const CategoryModel: import("mongoose").Model<{
452
447
  variants: number[];
453
448
  id?: string | null | undefined;
454
449
  _id?: unknown;
455
- }, import("mongoose").Types.Subdocument<unknown, any, {
450
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
456
451
  variants: number[];
457
452
  id?: string | null | undefined;
458
453
  _id?: unknown;
@@ -464,7 +459,7 @@ export declare const CategoryModel: import("mongoose").Model<{
464
459
  joinBanner?: import("mongoose").Types.DocumentArray<{
465
460
  id?: string | null | undefined;
466
461
  _id?: unknown;
467
- }, import("mongoose").Types.Subdocument<unknown, any, {
462
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
468
463
  id?: string | null | undefined;
469
464
  _id?: unknown;
470
465
  }> & {
@@ -474,7 +469,7 @@ export declare const CategoryModel: import("mongoose").Model<{
474
469
  joinBannerColor?: import("mongoose").Types.DocumentArray<{
475
470
  id?: string | null | undefined;
476
471
  _id?: unknown;
477
- }, import("mongoose").Types.Subdocument<unknown, any, {
472
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
478
473
  id?: string | null | undefined;
479
474
  _id?: unknown;
480
475
  }> & {
@@ -485,7 +480,7 @@ export declare const CategoryModel: import("mongoose").Model<{
485
480
  variants: number[];
486
481
  id?: string | null | undefined;
487
482
  _id?: unknown;
488
- }, import("mongoose").Types.Subdocument<unknown, any, {
483
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
489
484
  variants: number[];
490
485
  id?: string | null | undefined;
491
486
  _id?: unknown;
@@ -498,7 +493,7 @@ export declare const CategoryModel: import("mongoose").Model<{
498
493
  variants: number[];
499
494
  id?: string | null | undefined;
500
495
  _id?: unknown;
501
- }, import("mongoose").Types.Subdocument<unknown, any, {
496
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
502
497
  variants: number[];
503
498
  id?: string | null | undefined;
504
499
  _id?: unknown;
@@ -511,7 +506,7 @@ export declare const CategoryModel: import("mongoose").Model<{
511
506
  variants: number[];
512
507
  id?: string | null | undefined;
513
508
  _id?: unknown;
514
- }, import("mongoose").Types.Subdocument<unknown, any, {
509
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
515
510
  variants: number[];
516
511
  id?: string | null | undefined;
517
512
  _id?: unknown;
@@ -523,7 +518,7 @@ export declare const CategoryModel: import("mongoose").Model<{
523
518
  memberJoinEmote?: import("mongoose").Types.DocumentArray<{
524
519
  id?: string | null | undefined;
525
520
  _id?: unknown;
526
- }, import("mongoose").Types.Subdocument<unknown, any, {
521
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
527
522
  id?: string | null | undefined;
528
523
  _id?: unknown;
529
524
  }> & {
@@ -534,7 +529,7 @@ export declare const CategoryModel: import("mongoose").Model<{
534
529
  variants: number[];
535
530
  id?: string | null | undefined;
536
531
  _id?: unknown;
537
- }, import("mongoose").Types.Subdocument<unknown, any, {
532
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
538
533
  variants: number[];
539
534
  id?: string | null | undefined;
540
535
  _id?: unknown;
@@ -546,7 +541,7 @@ export declare const CategoryModel: import("mongoose").Model<{
546
541
  memberJoinBanner?: import("mongoose").Types.DocumentArray<{
547
542
  id?: string | null | undefined;
548
543
  _id?: unknown;
549
- }, import("mongoose").Types.Subdocument<unknown, any, {
544
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
550
545
  id?: string | null | undefined;
551
546
  _id?: unknown;
552
547
  }> & {
@@ -556,7 +551,7 @@ export declare const CategoryModel: import("mongoose").Model<{
556
551
  memberJoinBannerColor?: import("mongoose").Types.DocumentArray<{
557
552
  id?: string | null | undefined;
558
553
  _id?: unknown;
559
- }, import("mongoose").Types.Subdocument<unknown, any, {
554
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
560
555
  id?: string | null | undefined;
561
556
  _id?: unknown;
562
557
  }> & {
@@ -567,7 +562,7 @@ export declare const CategoryModel: import("mongoose").Model<{
567
562
  }, {}, {}, {}, import("mongoose").Document<unknown, {}, {
568
563
  owner: import("mongoose").Types.ObjectId;
569
564
  name: string;
570
- disabled?: boolean | null | undefined;
565
+ flags?: number | null | undefined;
571
566
  managed?: boolean | null | undefined;
572
567
  config?: {
573
568
  replyLangs?: string[] | null | undefined;
@@ -583,7 +578,7 @@ export declare const CategoryModel: import("mongoose").Model<{
583
578
  id?: string | null | undefined;
584
579
  _id?: unknown;
585
580
  name?: string | null | undefined;
586
- }, import("mongoose").Types.Subdocument<unknown, any, {
581
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
587
582
  id?: string | null | undefined;
588
583
  _id?: unknown;
589
584
  name?: string | null | undefined;
@@ -596,7 +591,7 @@ export declare const CategoryModel: import("mongoose").Model<{
596
591
  id?: string | null | undefined;
597
592
  _id?: unknown;
598
593
  name?: string | null | undefined;
599
- }, import("mongoose").Types.Subdocument<unknown, any, {
594
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
600
595
  id?: string | null | undefined;
601
596
  _id?: unknown;
602
597
  name?: string | null | undefined;
@@ -609,7 +604,7 @@ export declare const CategoryModel: import("mongoose").Model<{
609
604
  id?: string | null | undefined;
610
605
  _id?: unknown;
611
606
  name?: string | null | undefined;
612
- }, import("mongoose").Types.Subdocument<unknown, any, {
607
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
613
608
  id?: string | null | undefined;
614
609
  _id?: unknown;
615
610
  name?: string | null | undefined;
@@ -622,7 +617,7 @@ export declare const CategoryModel: import("mongoose").Model<{
622
617
  id?: string | null | undefined;
623
618
  _id?: unknown;
624
619
  name?: string | null | undefined;
625
- }, import("mongoose").Types.Subdocument<unknown, any, {
620
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
626
621
  id?: string | null | undefined;
627
622
  _id?: unknown;
628
623
  name?: string | null | undefined;
@@ -635,7 +630,7 @@ export declare const CategoryModel: import("mongoose").Model<{
635
630
  id?: string | null | undefined;
636
631
  _id?: unknown;
637
632
  name?: string | null | undefined;
638
- }, import("mongoose").Types.Subdocument<unknown, any, {
633
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
639
634
  id?: string | null | undefined;
640
635
  _id?: unknown;
641
636
  name?: string | null | undefined;
@@ -648,7 +643,7 @@ export declare const CategoryModel: import("mongoose").Model<{
648
643
  id?: string | null | undefined;
649
644
  _id?: unknown;
650
645
  name?: string | null | undefined;
651
- }, import("mongoose").Types.Subdocument<unknown, any, {
646
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
652
647
  id?: string | null | undefined;
653
648
  _id?: unknown;
654
649
  name?: string | null | undefined;
@@ -675,13 +670,14 @@ export declare const CategoryModel: import("mongoose").Model<{
675
670
  setCosmeticsWithoutCommands?: boolean | null | undefined;
676
671
  setCosmeticsWithPrefix?: boolean | null | undefined;
677
672
  acceptInvites?: boolean | null | undefined;
673
+ startBannedBots?: boolean | null | undefined;
678
674
  usernameTriggers?: import("mongoose").Types.DocumentArray<{
679
675
  _id?: unknown;
680
676
  triggers?: string[] | null | undefined;
681
677
  detectionMethods?: number[] | null | undefined;
682
678
  actions?: number[] | null | undefined;
683
679
  messages?: string[] | null | undefined;
684
- }, import("mongoose").Types.Subdocument<unknown, any, {
680
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
685
681
  _id?: unknown;
686
682
  triggers?: string[] | null | undefined;
687
683
  detectionMethods?: number[] | null | undefined;
@@ -700,7 +696,7 @@ export declare const CategoryModel: import("mongoose").Model<{
700
696
  detectionMethods?: number[] | null | undefined;
701
697
  actions?: number[] | null | undefined;
702
698
  messages?: string[] | null | undefined;
703
- }, import("mongoose").Types.Subdocument<unknown, any, {
699
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
704
700
  _id?: unknown;
705
701
  triggers?: string[] | null | undefined;
706
702
  detectionMethods?: number[] | null | undefined;
@@ -719,7 +715,7 @@ export declare const CategoryModel: import("mongoose").Model<{
719
715
  detectionMethods?: number[] | null | undefined;
720
716
  actions?: number[] | null | undefined;
721
717
  messages?: string[] | null | undefined;
722
- }, import("mongoose").Types.Subdocument<unknown, any, {
718
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
723
719
  _id?: unknown;
724
720
  triggers?: string[] | null | undefined;
725
721
  detectionMethods?: number[] | null | undefined;
@@ -738,7 +734,7 @@ export declare const CategoryModel: import("mongoose").Model<{
738
734
  detectionMethods?: number[] | null | undefined;
739
735
  actions?: number[] | null | undefined;
740
736
  messages?: string[] | null | undefined;
741
- }, import("mongoose").Types.Subdocument<unknown, any, {
737
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
742
738
  _id?: unknown;
743
739
  triggers?: string[] | null | undefined;
744
740
  detectionMethods?: number[] | null | undefined;
@@ -757,7 +753,7 @@ export declare const CategoryModel: import("mongoose").Model<{
757
753
  detectionMethods?: number[] | null | undefined;
758
754
  actions?: number[] | null | undefined;
759
755
  messages?: string[] | null | undefined;
760
- }, import("mongoose").Types.Subdocument<unknown, any, {
756
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
761
757
  _id?: unknown;
762
758
  triggers?: string[] | null | undefined;
763
759
  detectionMethods?: number[] | null | undefined;
@@ -776,7 +772,7 @@ export declare const CategoryModel: import("mongoose").Model<{
776
772
  detectionMethods?: number[] | null | undefined;
777
773
  actions?: number[] | null | undefined;
778
774
  messages?: string[] | null | undefined;
779
- }, import("mongoose").Types.Subdocument<unknown, any, {
775
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
780
776
  _id?: unknown;
781
777
  triggers?: string[] | null | undefined;
782
778
  detectionMethods?: number[] | null | undefined;
@@ -799,7 +795,7 @@ export declare const CategoryModel: import("mongoose").Model<{
799
795
  variants: number[];
800
796
  id?: string | null | undefined;
801
797
  _id?: unknown;
802
- }, import("mongoose").Types.Subdocument<unknown, any, {
798
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
803
799
  variants: number[];
804
800
  id?: string | null | undefined;
805
801
  _id?: unknown;
@@ -812,7 +808,7 @@ export declare const CategoryModel: import("mongoose").Model<{
812
808
  variants: number[];
813
809
  id?: string | null | undefined;
814
810
  _id?: unknown;
815
- }, import("mongoose").Types.Subdocument<unknown, any, {
811
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
816
812
  variants: number[];
817
813
  id?: string | null | undefined;
818
814
  _id?: unknown;
@@ -825,7 +821,7 @@ export declare const CategoryModel: import("mongoose").Model<{
825
821
  variants: number[];
826
822
  id?: string | null | undefined;
827
823
  _id?: unknown;
828
- }, import("mongoose").Types.Subdocument<unknown, any, {
824
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
829
825
  variants: number[];
830
826
  id?: string | null | undefined;
831
827
  _id?: unknown;
@@ -838,7 +834,7 @@ export declare const CategoryModel: import("mongoose").Model<{
838
834
  variants: number[];
839
835
  id?: string | null | undefined;
840
836
  _id?: unknown;
841
- }, import("mongoose").Types.Subdocument<unknown, any, {
837
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
842
838
  variants: number[];
843
839
  id?: string | null | undefined;
844
840
  _id?: unknown;
@@ -850,7 +846,7 @@ export declare const CategoryModel: import("mongoose").Model<{
850
846
  startBanner?: import("mongoose").Types.DocumentArray<{
851
847
  id?: string | null | undefined;
852
848
  _id?: unknown;
853
- }, import("mongoose").Types.Subdocument<unknown, any, {
849
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
854
850
  id?: string | null | undefined;
855
851
  _id?: unknown;
856
852
  }> & {
@@ -860,7 +856,7 @@ export declare const CategoryModel: import("mongoose").Model<{
860
856
  startBannerColor?: import("mongoose").Types.DocumentArray<{
861
857
  id?: string | null | undefined;
862
858
  _id?: unknown;
863
- }, import("mongoose").Types.Subdocument<unknown, any, {
859
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
864
860
  id?: string | null | undefined;
865
861
  _id?: unknown;
866
862
  }> & {
@@ -871,7 +867,7 @@ export declare const CategoryModel: import("mongoose").Model<{
871
867
  variants: number[];
872
868
  id?: string | null | undefined;
873
869
  _id?: unknown;
874
- }, import("mongoose").Types.Subdocument<unknown, any, {
870
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
875
871
  variants: number[];
876
872
  id?: string | null | undefined;
877
873
  _id?: unknown;
@@ -884,7 +880,7 @@ export declare const CategoryModel: import("mongoose").Model<{
884
880
  variants: number[];
885
881
  id?: string | null | undefined;
886
882
  _id?: unknown;
887
- }, import("mongoose").Types.Subdocument<unknown, any, {
883
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
888
884
  variants: number[];
889
885
  id?: string | null | undefined;
890
886
  _id?: unknown;
@@ -897,7 +893,7 @@ export declare const CategoryModel: import("mongoose").Model<{
897
893
  variants: number[];
898
894
  id?: string | null | undefined;
899
895
  _id?: unknown;
900
- }, import("mongoose").Types.Subdocument<unknown, any, {
896
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
901
897
  variants: number[];
902
898
  id?: string | null | undefined;
903
899
  _id?: unknown;
@@ -909,7 +905,7 @@ export declare const CategoryModel: import("mongoose").Model<{
909
905
  joinEmote?: import("mongoose").Types.DocumentArray<{
910
906
  id?: string | null | undefined;
911
907
  _id?: unknown;
912
- }, import("mongoose").Types.Subdocument<unknown, any, {
908
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
913
909
  id?: string | null | undefined;
914
910
  _id?: unknown;
915
911
  }> & {
@@ -920,7 +916,7 @@ export declare const CategoryModel: import("mongoose").Model<{
920
916
  variants: number[];
921
917
  id?: string | null | undefined;
922
918
  _id?: unknown;
923
- }, import("mongoose").Types.Subdocument<unknown, any, {
919
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
924
920
  variants: number[];
925
921
  id?: string | null | undefined;
926
922
  _id?: unknown;
@@ -932,7 +928,7 @@ export declare const CategoryModel: import("mongoose").Model<{
932
928
  joinBanner?: import("mongoose").Types.DocumentArray<{
933
929
  id?: string | null | undefined;
934
930
  _id?: unknown;
935
- }, import("mongoose").Types.Subdocument<unknown, any, {
931
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
936
932
  id?: string | null | undefined;
937
933
  _id?: unknown;
938
934
  }> & {
@@ -942,7 +938,7 @@ export declare const CategoryModel: import("mongoose").Model<{
942
938
  joinBannerColor?: import("mongoose").Types.DocumentArray<{
943
939
  id?: string | null | undefined;
944
940
  _id?: unknown;
945
- }, import("mongoose").Types.Subdocument<unknown, any, {
941
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
946
942
  id?: string | null | undefined;
947
943
  _id?: unknown;
948
944
  }> & {
@@ -953,7 +949,7 @@ export declare const CategoryModel: import("mongoose").Model<{
953
949
  variants: number[];
954
950
  id?: string | null | undefined;
955
951
  _id?: unknown;
956
- }, import("mongoose").Types.Subdocument<unknown, any, {
952
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
957
953
  variants: number[];
958
954
  id?: string | null | undefined;
959
955
  _id?: unknown;
@@ -966,7 +962,7 @@ export declare const CategoryModel: import("mongoose").Model<{
966
962
  variants: number[];
967
963
  id?: string | null | undefined;
968
964
  _id?: unknown;
969
- }, import("mongoose").Types.Subdocument<unknown, any, {
965
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
970
966
  variants: number[];
971
967
  id?: string | null | undefined;
972
968
  _id?: unknown;
@@ -979,7 +975,7 @@ export declare const CategoryModel: import("mongoose").Model<{
979
975
  variants: number[];
980
976
  id?: string | null | undefined;
981
977
  _id?: unknown;
982
- }, import("mongoose").Types.Subdocument<unknown, any, {
978
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
983
979
  variants: number[];
984
980
  id?: string | null | undefined;
985
981
  _id?: unknown;
@@ -991,7 +987,7 @@ export declare const CategoryModel: import("mongoose").Model<{
991
987
  memberJoinEmote?: import("mongoose").Types.DocumentArray<{
992
988
  id?: string | null | undefined;
993
989
  _id?: unknown;
994
- }, import("mongoose").Types.Subdocument<unknown, any, {
990
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
995
991
  id?: string | null | undefined;
996
992
  _id?: unknown;
997
993
  }> & {
@@ -1002,7 +998,7 @@ export declare const CategoryModel: import("mongoose").Model<{
1002
998
  variants: number[];
1003
999
  id?: string | null | undefined;
1004
1000
  _id?: unknown;
1005
- }, import("mongoose").Types.Subdocument<unknown, any, {
1001
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
1006
1002
  variants: number[];
1007
1003
  id?: string | null | undefined;
1008
1004
  _id?: unknown;
@@ -1014,7 +1010,7 @@ export declare const CategoryModel: import("mongoose").Model<{
1014
1010
  memberJoinBanner?: import("mongoose").Types.DocumentArray<{
1015
1011
  id?: string | null | undefined;
1016
1012
  _id?: unknown;
1017
- }, import("mongoose").Types.Subdocument<unknown, any, {
1013
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
1018
1014
  id?: string | null | undefined;
1019
1015
  _id?: unknown;
1020
1016
  }> & {
@@ -1024,7 +1020,7 @@ export declare const CategoryModel: import("mongoose").Model<{
1024
1020
  memberJoinBannerColor?: import("mongoose").Types.DocumentArray<{
1025
1021
  id?: string | null | undefined;
1026
1022
  _id?: unknown;
1027
- }, import("mongoose").Types.Subdocument<unknown, any, {
1023
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
1028
1024
  id?: string | null | undefined;
1029
1025
  _id?: unknown;
1030
1026
  }> & {
@@ -1032,10 +1028,10 @@ export declare const CategoryModel: import("mongoose").Model<{
1032
1028
  _id?: unknown;
1033
1029
  }> | null | undefined;
1034
1030
  } | null | undefined;
1035
- }, {}> & {
1031
+ }, {}, import("mongoose").DefaultSchemaOptions> & {
1036
1032
  owner: import("mongoose").Types.ObjectId;
1037
1033
  name: string;
1038
- disabled?: boolean | null | undefined;
1034
+ flags?: number | null | undefined;
1039
1035
  managed?: boolean | null | undefined;
1040
1036
  config?: {
1041
1037
  replyLangs?: string[] | null | undefined;
@@ -1051,7 +1047,7 @@ export declare const CategoryModel: import("mongoose").Model<{
1051
1047
  id?: string | null | undefined;
1052
1048
  _id?: unknown;
1053
1049
  name?: string | null | undefined;
1054
- }, import("mongoose").Types.Subdocument<unknown, any, {
1050
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
1055
1051
  id?: string | null | undefined;
1056
1052
  _id?: unknown;
1057
1053
  name?: string | null | undefined;
@@ -1064,7 +1060,7 @@ export declare const CategoryModel: import("mongoose").Model<{
1064
1060
  id?: string | null | undefined;
1065
1061
  _id?: unknown;
1066
1062
  name?: string | null | undefined;
1067
- }, import("mongoose").Types.Subdocument<unknown, any, {
1063
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
1068
1064
  id?: string | null | undefined;
1069
1065
  _id?: unknown;
1070
1066
  name?: string | null | undefined;
@@ -1077,7 +1073,7 @@ export declare const CategoryModel: import("mongoose").Model<{
1077
1073
  id?: string | null | undefined;
1078
1074
  _id?: unknown;
1079
1075
  name?: string | null | undefined;
1080
- }, import("mongoose").Types.Subdocument<unknown, any, {
1076
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
1081
1077
  id?: string | null | undefined;
1082
1078
  _id?: unknown;
1083
1079
  name?: string | null | undefined;
@@ -1090,7 +1086,7 @@ export declare const CategoryModel: import("mongoose").Model<{
1090
1086
  id?: string | null | undefined;
1091
1087
  _id?: unknown;
1092
1088
  name?: string | null | undefined;
1093
- }, import("mongoose").Types.Subdocument<unknown, any, {
1089
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
1094
1090
  id?: string | null | undefined;
1095
1091
  _id?: unknown;
1096
1092
  name?: string | null | undefined;
@@ -1103,7 +1099,7 @@ export declare const CategoryModel: import("mongoose").Model<{
1103
1099
  id?: string | null | undefined;
1104
1100
  _id?: unknown;
1105
1101
  name?: string | null | undefined;
1106
- }, import("mongoose").Types.Subdocument<unknown, any, {
1102
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
1107
1103
  id?: string | null | undefined;
1108
1104
  _id?: unknown;
1109
1105
  name?: string | null | undefined;
@@ -1116,7 +1112,7 @@ export declare const CategoryModel: import("mongoose").Model<{
1116
1112
  id?: string | null | undefined;
1117
1113
  _id?: unknown;
1118
1114
  name?: string | null | undefined;
1119
- }, import("mongoose").Types.Subdocument<unknown, any, {
1115
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
1120
1116
  id?: string | null | undefined;
1121
1117
  _id?: unknown;
1122
1118
  name?: string | null | undefined;
@@ -1143,13 +1139,14 @@ export declare const CategoryModel: import("mongoose").Model<{
1143
1139
  setCosmeticsWithoutCommands?: boolean | null | undefined;
1144
1140
  setCosmeticsWithPrefix?: boolean | null | undefined;
1145
1141
  acceptInvites?: boolean | null | undefined;
1142
+ startBannedBots?: boolean | null | undefined;
1146
1143
  usernameTriggers?: import("mongoose").Types.DocumentArray<{
1147
1144
  _id?: unknown;
1148
1145
  triggers?: string[] | null | undefined;
1149
1146
  detectionMethods?: number[] | null | undefined;
1150
1147
  actions?: number[] | null | undefined;
1151
1148
  messages?: string[] | null | undefined;
1152
- }, import("mongoose").Types.Subdocument<unknown, any, {
1149
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
1153
1150
  _id?: unknown;
1154
1151
  triggers?: string[] | null | undefined;
1155
1152
  detectionMethods?: number[] | null | undefined;
@@ -1168,7 +1165,7 @@ export declare const CategoryModel: import("mongoose").Model<{
1168
1165
  detectionMethods?: number[] | null | undefined;
1169
1166
  actions?: number[] | null | undefined;
1170
1167
  messages?: string[] | null | undefined;
1171
- }, import("mongoose").Types.Subdocument<unknown, any, {
1168
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
1172
1169
  _id?: unknown;
1173
1170
  triggers?: string[] | null | undefined;
1174
1171
  detectionMethods?: number[] | null | undefined;
@@ -1187,7 +1184,7 @@ export declare const CategoryModel: import("mongoose").Model<{
1187
1184
  detectionMethods?: number[] | null | undefined;
1188
1185
  actions?: number[] | null | undefined;
1189
1186
  messages?: string[] | null | undefined;
1190
- }, import("mongoose").Types.Subdocument<unknown, any, {
1187
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
1191
1188
  _id?: unknown;
1192
1189
  triggers?: string[] | null | undefined;
1193
1190
  detectionMethods?: number[] | null | undefined;
@@ -1206,7 +1203,7 @@ export declare const CategoryModel: import("mongoose").Model<{
1206
1203
  detectionMethods?: number[] | null | undefined;
1207
1204
  actions?: number[] | null | undefined;
1208
1205
  messages?: string[] | null | undefined;
1209
- }, import("mongoose").Types.Subdocument<unknown, any, {
1206
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
1210
1207
  _id?: unknown;
1211
1208
  triggers?: string[] | null | undefined;
1212
1209
  detectionMethods?: number[] | null | undefined;
@@ -1225,7 +1222,7 @@ export declare const CategoryModel: import("mongoose").Model<{
1225
1222
  detectionMethods?: number[] | null | undefined;
1226
1223
  actions?: number[] | null | undefined;
1227
1224
  messages?: string[] | null | undefined;
1228
- }, import("mongoose").Types.Subdocument<unknown, any, {
1225
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
1229
1226
  _id?: unknown;
1230
1227
  triggers?: string[] | null | undefined;
1231
1228
  detectionMethods?: number[] | null | undefined;
@@ -1244,7 +1241,7 @@ export declare const CategoryModel: import("mongoose").Model<{
1244
1241
  detectionMethods?: number[] | null | undefined;
1245
1242
  actions?: number[] | null | undefined;
1246
1243
  messages?: string[] | null | undefined;
1247
- }, import("mongoose").Types.Subdocument<unknown, any, {
1244
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
1248
1245
  _id?: unknown;
1249
1246
  triggers?: string[] | null | undefined;
1250
1247
  detectionMethods?: number[] | null | undefined;
@@ -1267,7 +1264,7 @@ export declare const CategoryModel: import("mongoose").Model<{
1267
1264
  variants: number[];
1268
1265
  id?: string | null | undefined;
1269
1266
  _id?: unknown;
1270
- }, import("mongoose").Types.Subdocument<unknown, any, {
1267
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
1271
1268
  variants: number[];
1272
1269
  id?: string | null | undefined;
1273
1270
  _id?: unknown;
@@ -1280,7 +1277,7 @@ export declare const CategoryModel: import("mongoose").Model<{
1280
1277
  variants: number[];
1281
1278
  id?: string | null | undefined;
1282
1279
  _id?: unknown;
1283
- }, import("mongoose").Types.Subdocument<unknown, any, {
1280
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
1284
1281
  variants: number[];
1285
1282
  id?: string | null | undefined;
1286
1283
  _id?: unknown;
@@ -1293,7 +1290,7 @@ export declare const CategoryModel: import("mongoose").Model<{
1293
1290
  variants: number[];
1294
1291
  id?: string | null | undefined;
1295
1292
  _id?: unknown;
1296
- }, import("mongoose").Types.Subdocument<unknown, any, {
1293
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
1297
1294
  variants: number[];
1298
1295
  id?: string | null | undefined;
1299
1296
  _id?: unknown;
@@ -1306,7 +1303,7 @@ export declare const CategoryModel: import("mongoose").Model<{
1306
1303
  variants: number[];
1307
1304
  id?: string | null | undefined;
1308
1305
  _id?: unknown;
1309
- }, import("mongoose").Types.Subdocument<unknown, any, {
1306
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
1310
1307
  variants: number[];
1311
1308
  id?: string | null | undefined;
1312
1309
  _id?: unknown;
@@ -1318,7 +1315,7 @@ export declare const CategoryModel: import("mongoose").Model<{
1318
1315
  startBanner?: import("mongoose").Types.DocumentArray<{
1319
1316
  id?: string | null | undefined;
1320
1317
  _id?: unknown;
1321
- }, import("mongoose").Types.Subdocument<unknown, any, {
1318
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
1322
1319
  id?: string | null | undefined;
1323
1320
  _id?: unknown;
1324
1321
  }> & {
@@ -1328,7 +1325,7 @@ export declare const CategoryModel: import("mongoose").Model<{
1328
1325
  startBannerColor?: import("mongoose").Types.DocumentArray<{
1329
1326
  id?: string | null | undefined;
1330
1327
  _id?: unknown;
1331
- }, import("mongoose").Types.Subdocument<unknown, any, {
1328
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
1332
1329
  id?: string | null | undefined;
1333
1330
  _id?: unknown;
1334
1331
  }> & {
@@ -1339,7 +1336,7 @@ export declare const CategoryModel: import("mongoose").Model<{
1339
1336
  variants: number[];
1340
1337
  id?: string | null | undefined;
1341
1338
  _id?: unknown;
1342
- }, import("mongoose").Types.Subdocument<unknown, any, {
1339
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
1343
1340
  variants: number[];
1344
1341
  id?: string | null | undefined;
1345
1342
  _id?: unknown;
@@ -1352,7 +1349,7 @@ export declare const CategoryModel: import("mongoose").Model<{
1352
1349
  variants: number[];
1353
1350
  id?: string | null | undefined;
1354
1351
  _id?: unknown;
1355
- }, import("mongoose").Types.Subdocument<unknown, any, {
1352
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
1356
1353
  variants: number[];
1357
1354
  id?: string | null | undefined;
1358
1355
  _id?: unknown;
@@ -1365,7 +1362,7 @@ export declare const CategoryModel: import("mongoose").Model<{
1365
1362
  variants: number[];
1366
1363
  id?: string | null | undefined;
1367
1364
  _id?: unknown;
1368
- }, import("mongoose").Types.Subdocument<unknown, any, {
1365
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
1369
1366
  variants: number[];
1370
1367
  id?: string | null | undefined;
1371
1368
  _id?: unknown;
@@ -1377,7 +1374,7 @@ export declare const CategoryModel: import("mongoose").Model<{
1377
1374
  joinEmote?: import("mongoose").Types.DocumentArray<{
1378
1375
  id?: string | null | undefined;
1379
1376
  _id?: unknown;
1380
- }, import("mongoose").Types.Subdocument<unknown, any, {
1377
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
1381
1378
  id?: string | null | undefined;
1382
1379
  _id?: unknown;
1383
1380
  }> & {
@@ -1388,7 +1385,7 @@ export declare const CategoryModel: import("mongoose").Model<{
1388
1385
  variants: number[];
1389
1386
  id?: string | null | undefined;
1390
1387
  _id?: unknown;
1391
- }, import("mongoose").Types.Subdocument<unknown, any, {
1388
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
1392
1389
  variants: number[];
1393
1390
  id?: string | null | undefined;
1394
1391
  _id?: unknown;
@@ -1400,7 +1397,7 @@ export declare const CategoryModel: import("mongoose").Model<{
1400
1397
  joinBanner?: import("mongoose").Types.DocumentArray<{
1401
1398
  id?: string | null | undefined;
1402
1399
  _id?: unknown;
1403
- }, import("mongoose").Types.Subdocument<unknown, any, {
1400
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
1404
1401
  id?: string | null | undefined;
1405
1402
  _id?: unknown;
1406
1403
  }> & {
@@ -1410,7 +1407,7 @@ export declare const CategoryModel: import("mongoose").Model<{
1410
1407
  joinBannerColor?: import("mongoose").Types.DocumentArray<{
1411
1408
  id?: string | null | undefined;
1412
1409
  _id?: unknown;
1413
- }, import("mongoose").Types.Subdocument<unknown, any, {
1410
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
1414
1411
  id?: string | null | undefined;
1415
1412
  _id?: unknown;
1416
1413
  }> & {
@@ -1421,7 +1418,7 @@ export declare const CategoryModel: import("mongoose").Model<{
1421
1418
  variants: number[];
1422
1419
  id?: string | null | undefined;
1423
1420
  _id?: unknown;
1424
- }, import("mongoose").Types.Subdocument<unknown, any, {
1421
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
1425
1422
  variants: number[];
1426
1423
  id?: string | null | undefined;
1427
1424
  _id?: unknown;
@@ -1434,7 +1431,7 @@ export declare const CategoryModel: import("mongoose").Model<{
1434
1431
  variants: number[];
1435
1432
  id?: string | null | undefined;
1436
1433
  _id?: unknown;
1437
- }, import("mongoose").Types.Subdocument<unknown, any, {
1434
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
1438
1435
  variants: number[];
1439
1436
  id?: string | null | undefined;
1440
1437
  _id?: unknown;
@@ -1447,7 +1444,7 @@ export declare const CategoryModel: import("mongoose").Model<{
1447
1444
  variants: number[];
1448
1445
  id?: string | null | undefined;
1449
1446
  _id?: unknown;
1450
- }, import("mongoose").Types.Subdocument<unknown, any, {
1447
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
1451
1448
  variants: number[];
1452
1449
  id?: string | null | undefined;
1453
1450
  _id?: unknown;
@@ -1459,7 +1456,7 @@ export declare const CategoryModel: import("mongoose").Model<{
1459
1456
  memberJoinEmote?: import("mongoose").Types.DocumentArray<{
1460
1457
  id?: string | null | undefined;
1461
1458
  _id?: unknown;
1462
- }, import("mongoose").Types.Subdocument<unknown, any, {
1459
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
1463
1460
  id?: string | null | undefined;
1464
1461
  _id?: unknown;
1465
1462
  }> & {
@@ -1470,7 +1467,7 @@ export declare const CategoryModel: import("mongoose").Model<{
1470
1467
  variants: number[];
1471
1468
  id?: string | null | undefined;
1472
1469
  _id?: unknown;
1473
- }, import("mongoose").Types.Subdocument<unknown, any, {
1470
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
1474
1471
  variants: number[];
1475
1472
  id?: string | null | undefined;
1476
1473
  _id?: unknown;
@@ -1482,7 +1479,7 @@ export declare const CategoryModel: import("mongoose").Model<{
1482
1479
  memberJoinBanner?: import("mongoose").Types.DocumentArray<{
1483
1480
  id?: string | null | undefined;
1484
1481
  _id?: unknown;
1485
- }, import("mongoose").Types.Subdocument<unknown, any, {
1482
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
1486
1483
  id?: string | null | undefined;
1487
1484
  _id?: unknown;
1488
1485
  }> & {
@@ -1492,7 +1489,7 @@ export declare const CategoryModel: import("mongoose").Model<{
1492
1489
  memberJoinBannerColor?: import("mongoose").Types.DocumentArray<{
1493
1490
  id?: string | null | undefined;
1494
1491
  _id?: unknown;
1495
- }, import("mongoose").Types.Subdocument<unknown, any, {
1492
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
1496
1493
  id?: string | null | undefined;
1497
1494
  _id?: unknown;
1498
1495
  }> & {
@@ -1507,7 +1504,7 @@ export declare const CategoryModel: import("mongoose").Model<{
1507
1504
  }, Schema<any, import("mongoose").Model<any, any, any, any, any, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, {
1508
1505
  owner: import("mongoose").Types.ObjectId;
1509
1506
  name: string;
1510
- disabled?: boolean | null | undefined;
1507
+ flags?: number | null | undefined;
1511
1508
  managed?: boolean | null | undefined;
1512
1509
  config?: {
1513
1510
  replyLangs?: string[] | null | undefined;
@@ -1523,7 +1520,7 @@ export declare const CategoryModel: import("mongoose").Model<{
1523
1520
  id?: string | null | undefined;
1524
1521
  _id?: unknown;
1525
1522
  name?: string | null | undefined;
1526
- }, import("mongoose").Types.Subdocument<unknown, any, {
1523
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
1527
1524
  id?: string | null | undefined;
1528
1525
  _id?: unknown;
1529
1526
  name?: string | null | undefined;
@@ -1536,7 +1533,7 @@ export declare const CategoryModel: import("mongoose").Model<{
1536
1533
  id?: string | null | undefined;
1537
1534
  _id?: unknown;
1538
1535
  name?: string | null | undefined;
1539
- }, import("mongoose").Types.Subdocument<unknown, any, {
1536
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
1540
1537
  id?: string | null | undefined;
1541
1538
  _id?: unknown;
1542
1539
  name?: string | null | undefined;
@@ -1549,7 +1546,7 @@ export declare const CategoryModel: import("mongoose").Model<{
1549
1546
  id?: string | null | undefined;
1550
1547
  _id?: unknown;
1551
1548
  name?: string | null | undefined;
1552
- }, import("mongoose").Types.Subdocument<unknown, any, {
1549
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
1553
1550
  id?: string | null | undefined;
1554
1551
  _id?: unknown;
1555
1552
  name?: string | null | undefined;
@@ -1562,7 +1559,7 @@ export declare const CategoryModel: import("mongoose").Model<{
1562
1559
  id?: string | null | undefined;
1563
1560
  _id?: unknown;
1564
1561
  name?: string | null | undefined;
1565
- }, import("mongoose").Types.Subdocument<unknown, any, {
1562
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
1566
1563
  id?: string | null | undefined;
1567
1564
  _id?: unknown;
1568
1565
  name?: string | null | undefined;
@@ -1575,7 +1572,7 @@ export declare const CategoryModel: import("mongoose").Model<{
1575
1572
  id?: string | null | undefined;
1576
1573
  _id?: unknown;
1577
1574
  name?: string | null | undefined;
1578
- }, import("mongoose").Types.Subdocument<unknown, any, {
1575
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
1579
1576
  id?: string | null | undefined;
1580
1577
  _id?: unknown;
1581
1578
  name?: string | null | undefined;
@@ -1588,7 +1585,7 @@ export declare const CategoryModel: import("mongoose").Model<{
1588
1585
  id?: string | null | undefined;
1589
1586
  _id?: unknown;
1590
1587
  name?: string | null | undefined;
1591
- }, import("mongoose").Types.Subdocument<unknown, any, {
1588
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
1592
1589
  id?: string | null | undefined;
1593
1590
  _id?: unknown;
1594
1591
  name?: string | null | undefined;
@@ -1615,13 +1612,14 @@ export declare const CategoryModel: import("mongoose").Model<{
1615
1612
  setCosmeticsWithoutCommands?: boolean | null | undefined;
1616
1613
  setCosmeticsWithPrefix?: boolean | null | undefined;
1617
1614
  acceptInvites?: boolean | null | undefined;
1615
+ startBannedBots?: boolean | null | undefined;
1618
1616
  usernameTriggers?: import("mongoose").Types.DocumentArray<{
1619
1617
  _id?: unknown;
1620
1618
  triggers?: string[] | null | undefined;
1621
1619
  detectionMethods?: number[] | null | undefined;
1622
1620
  actions?: number[] | null | undefined;
1623
1621
  messages?: string[] | null | undefined;
1624
- }, import("mongoose").Types.Subdocument<unknown, any, {
1622
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
1625
1623
  _id?: unknown;
1626
1624
  triggers?: string[] | null | undefined;
1627
1625
  detectionMethods?: number[] | null | undefined;
@@ -1640,7 +1638,7 @@ export declare const CategoryModel: import("mongoose").Model<{
1640
1638
  detectionMethods?: number[] | null | undefined;
1641
1639
  actions?: number[] | null | undefined;
1642
1640
  messages?: string[] | null | undefined;
1643
- }, import("mongoose").Types.Subdocument<unknown, any, {
1641
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
1644
1642
  _id?: unknown;
1645
1643
  triggers?: string[] | null | undefined;
1646
1644
  detectionMethods?: number[] | null | undefined;
@@ -1659,7 +1657,7 @@ export declare const CategoryModel: import("mongoose").Model<{
1659
1657
  detectionMethods?: number[] | null | undefined;
1660
1658
  actions?: number[] | null | undefined;
1661
1659
  messages?: string[] | null | undefined;
1662
- }, import("mongoose").Types.Subdocument<unknown, any, {
1660
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
1663
1661
  _id?: unknown;
1664
1662
  triggers?: string[] | null | undefined;
1665
1663
  detectionMethods?: number[] | null | undefined;
@@ -1678,7 +1676,7 @@ export declare const CategoryModel: import("mongoose").Model<{
1678
1676
  detectionMethods?: number[] | null | undefined;
1679
1677
  actions?: number[] | null | undefined;
1680
1678
  messages?: string[] | null | undefined;
1681
- }, import("mongoose").Types.Subdocument<unknown, any, {
1679
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
1682
1680
  _id?: unknown;
1683
1681
  triggers?: string[] | null | undefined;
1684
1682
  detectionMethods?: number[] | null | undefined;
@@ -1697,7 +1695,7 @@ export declare const CategoryModel: import("mongoose").Model<{
1697
1695
  detectionMethods?: number[] | null | undefined;
1698
1696
  actions?: number[] | null | undefined;
1699
1697
  messages?: string[] | null | undefined;
1700
- }, import("mongoose").Types.Subdocument<unknown, any, {
1698
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
1701
1699
  _id?: unknown;
1702
1700
  triggers?: string[] | null | undefined;
1703
1701
  detectionMethods?: number[] | null | undefined;
@@ -1716,7 +1714,7 @@ export declare const CategoryModel: import("mongoose").Model<{
1716
1714
  detectionMethods?: number[] | null | undefined;
1717
1715
  actions?: number[] | null | undefined;
1718
1716
  messages?: string[] | null | undefined;
1719
- }, import("mongoose").Types.Subdocument<unknown, any, {
1717
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
1720
1718
  _id?: unknown;
1721
1719
  triggers?: string[] | null | undefined;
1722
1720
  detectionMethods?: number[] | null | undefined;
@@ -1739,7 +1737,7 @@ export declare const CategoryModel: import("mongoose").Model<{
1739
1737
  variants: number[];
1740
1738
  id?: string | null | undefined;
1741
1739
  _id?: unknown;
1742
- }, import("mongoose").Types.Subdocument<unknown, any, {
1740
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
1743
1741
  variants: number[];
1744
1742
  id?: string | null | undefined;
1745
1743
  _id?: unknown;
@@ -1752,7 +1750,7 @@ export declare const CategoryModel: import("mongoose").Model<{
1752
1750
  variants: number[];
1753
1751
  id?: string | null | undefined;
1754
1752
  _id?: unknown;
1755
- }, import("mongoose").Types.Subdocument<unknown, any, {
1753
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
1756
1754
  variants: number[];
1757
1755
  id?: string | null | undefined;
1758
1756
  _id?: unknown;
@@ -1765,7 +1763,7 @@ export declare const CategoryModel: import("mongoose").Model<{
1765
1763
  variants: number[];
1766
1764
  id?: string | null | undefined;
1767
1765
  _id?: unknown;
1768
- }, import("mongoose").Types.Subdocument<unknown, any, {
1766
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
1769
1767
  variants: number[];
1770
1768
  id?: string | null | undefined;
1771
1769
  _id?: unknown;
@@ -1778,7 +1776,7 @@ export declare const CategoryModel: import("mongoose").Model<{
1778
1776
  variants: number[];
1779
1777
  id?: string | null | undefined;
1780
1778
  _id?: unknown;
1781
- }, import("mongoose").Types.Subdocument<unknown, any, {
1779
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
1782
1780
  variants: number[];
1783
1781
  id?: string | null | undefined;
1784
1782
  _id?: unknown;
@@ -1790,7 +1788,7 @@ export declare const CategoryModel: import("mongoose").Model<{
1790
1788
  startBanner?: import("mongoose").Types.DocumentArray<{
1791
1789
  id?: string | null | undefined;
1792
1790
  _id?: unknown;
1793
- }, import("mongoose").Types.Subdocument<unknown, any, {
1791
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
1794
1792
  id?: string | null | undefined;
1795
1793
  _id?: unknown;
1796
1794
  }> & {
@@ -1800,7 +1798,7 @@ export declare const CategoryModel: import("mongoose").Model<{
1800
1798
  startBannerColor?: import("mongoose").Types.DocumentArray<{
1801
1799
  id?: string | null | undefined;
1802
1800
  _id?: unknown;
1803
- }, import("mongoose").Types.Subdocument<unknown, any, {
1801
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
1804
1802
  id?: string | null | undefined;
1805
1803
  _id?: unknown;
1806
1804
  }> & {
@@ -1811,7 +1809,7 @@ export declare const CategoryModel: import("mongoose").Model<{
1811
1809
  variants: number[];
1812
1810
  id?: string | null | undefined;
1813
1811
  _id?: unknown;
1814
- }, import("mongoose").Types.Subdocument<unknown, any, {
1812
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
1815
1813
  variants: number[];
1816
1814
  id?: string | null | undefined;
1817
1815
  _id?: unknown;
@@ -1824,7 +1822,7 @@ export declare const CategoryModel: import("mongoose").Model<{
1824
1822
  variants: number[];
1825
1823
  id?: string | null | undefined;
1826
1824
  _id?: unknown;
1827
- }, import("mongoose").Types.Subdocument<unknown, any, {
1825
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
1828
1826
  variants: number[];
1829
1827
  id?: string | null | undefined;
1830
1828
  _id?: unknown;
@@ -1837,7 +1835,7 @@ export declare const CategoryModel: import("mongoose").Model<{
1837
1835
  variants: number[];
1838
1836
  id?: string | null | undefined;
1839
1837
  _id?: unknown;
1840
- }, import("mongoose").Types.Subdocument<unknown, any, {
1838
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
1841
1839
  variants: number[];
1842
1840
  id?: string | null | undefined;
1843
1841
  _id?: unknown;
@@ -1849,7 +1847,7 @@ export declare const CategoryModel: import("mongoose").Model<{
1849
1847
  joinEmote?: import("mongoose").Types.DocumentArray<{
1850
1848
  id?: string | null | undefined;
1851
1849
  _id?: unknown;
1852
- }, import("mongoose").Types.Subdocument<unknown, any, {
1850
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
1853
1851
  id?: string | null | undefined;
1854
1852
  _id?: unknown;
1855
1853
  }> & {
@@ -1860,7 +1858,7 @@ export declare const CategoryModel: import("mongoose").Model<{
1860
1858
  variants: number[];
1861
1859
  id?: string | null | undefined;
1862
1860
  _id?: unknown;
1863
- }, import("mongoose").Types.Subdocument<unknown, any, {
1861
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
1864
1862
  variants: number[];
1865
1863
  id?: string | null | undefined;
1866
1864
  _id?: unknown;
@@ -1872,7 +1870,7 @@ export declare const CategoryModel: import("mongoose").Model<{
1872
1870
  joinBanner?: import("mongoose").Types.DocumentArray<{
1873
1871
  id?: string | null | undefined;
1874
1872
  _id?: unknown;
1875
- }, import("mongoose").Types.Subdocument<unknown, any, {
1873
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
1876
1874
  id?: string | null | undefined;
1877
1875
  _id?: unknown;
1878
1876
  }> & {
@@ -1882,7 +1880,7 @@ export declare const CategoryModel: import("mongoose").Model<{
1882
1880
  joinBannerColor?: import("mongoose").Types.DocumentArray<{
1883
1881
  id?: string | null | undefined;
1884
1882
  _id?: unknown;
1885
- }, import("mongoose").Types.Subdocument<unknown, any, {
1883
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
1886
1884
  id?: string | null | undefined;
1887
1885
  _id?: unknown;
1888
1886
  }> & {
@@ -1893,7 +1891,7 @@ export declare const CategoryModel: import("mongoose").Model<{
1893
1891
  variants: number[];
1894
1892
  id?: string | null | undefined;
1895
1893
  _id?: unknown;
1896
- }, import("mongoose").Types.Subdocument<unknown, any, {
1894
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
1897
1895
  variants: number[];
1898
1896
  id?: string | null | undefined;
1899
1897
  _id?: unknown;
@@ -1906,7 +1904,7 @@ export declare const CategoryModel: import("mongoose").Model<{
1906
1904
  variants: number[];
1907
1905
  id?: string | null | undefined;
1908
1906
  _id?: unknown;
1909
- }, import("mongoose").Types.Subdocument<unknown, any, {
1907
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
1910
1908
  variants: number[];
1911
1909
  id?: string | null | undefined;
1912
1910
  _id?: unknown;
@@ -1919,7 +1917,7 @@ export declare const CategoryModel: import("mongoose").Model<{
1919
1917
  variants: number[];
1920
1918
  id?: string | null | undefined;
1921
1919
  _id?: unknown;
1922
- }, import("mongoose").Types.Subdocument<unknown, any, {
1920
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
1923
1921
  variants: number[];
1924
1922
  id?: string | null | undefined;
1925
1923
  _id?: unknown;
@@ -1931,7 +1929,7 @@ export declare const CategoryModel: import("mongoose").Model<{
1931
1929
  memberJoinEmote?: import("mongoose").Types.DocumentArray<{
1932
1930
  id?: string | null | undefined;
1933
1931
  _id?: unknown;
1934
- }, import("mongoose").Types.Subdocument<unknown, any, {
1932
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
1935
1933
  id?: string | null | undefined;
1936
1934
  _id?: unknown;
1937
1935
  }> & {
@@ -1942,7 +1940,7 @@ export declare const CategoryModel: import("mongoose").Model<{
1942
1940
  variants: number[];
1943
1941
  id?: string | null | undefined;
1944
1942
  _id?: unknown;
1945
- }, import("mongoose").Types.Subdocument<unknown, any, {
1943
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
1946
1944
  variants: number[];
1947
1945
  id?: string | null | undefined;
1948
1946
  _id?: unknown;
@@ -1954,7 +1952,7 @@ export declare const CategoryModel: import("mongoose").Model<{
1954
1952
  memberJoinBanner?: import("mongoose").Types.DocumentArray<{
1955
1953
  id?: string | null | undefined;
1956
1954
  _id?: unknown;
1957
- }, import("mongoose").Types.Subdocument<unknown, any, {
1955
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
1958
1956
  id?: string | null | undefined;
1959
1957
  _id?: unknown;
1960
1958
  }> & {
@@ -1964,7 +1962,7 @@ export declare const CategoryModel: import("mongoose").Model<{
1964
1962
  memberJoinBannerColor?: import("mongoose").Types.DocumentArray<{
1965
1963
  id?: string | null | undefined;
1966
1964
  _id?: unknown;
1967
- }, import("mongoose").Types.Subdocument<unknown, any, {
1965
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
1968
1966
  id?: string | null | undefined;
1969
1967
  _id?: unknown;
1970
1968
  }> & {
@@ -1975,7 +1973,7 @@ export declare const CategoryModel: import("mongoose").Model<{
1975
1973
  }, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
1976
1974
  owner: import("mongoose").Types.ObjectId;
1977
1975
  name: string;
1978
- disabled?: boolean | null | undefined;
1976
+ flags?: number | null | undefined;
1979
1977
  managed?: boolean | null | undefined;
1980
1978
  config?: {
1981
1979
  replyLangs?: string[] | null | undefined;
@@ -1991,7 +1989,7 @@ export declare const CategoryModel: import("mongoose").Model<{
1991
1989
  id?: string | null | undefined;
1992
1990
  _id?: unknown;
1993
1991
  name?: string | null | undefined;
1994
- }, import("mongoose").Types.Subdocument<unknown, any, {
1992
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
1995
1993
  id?: string | null | undefined;
1996
1994
  _id?: unknown;
1997
1995
  name?: string | null | undefined;
@@ -2004,7 +2002,7 @@ export declare const CategoryModel: import("mongoose").Model<{
2004
2002
  id?: string | null | undefined;
2005
2003
  _id?: unknown;
2006
2004
  name?: string | null | undefined;
2007
- }, import("mongoose").Types.Subdocument<unknown, any, {
2005
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
2008
2006
  id?: string | null | undefined;
2009
2007
  _id?: unknown;
2010
2008
  name?: string | null | undefined;
@@ -2017,7 +2015,7 @@ export declare const CategoryModel: import("mongoose").Model<{
2017
2015
  id?: string | null | undefined;
2018
2016
  _id?: unknown;
2019
2017
  name?: string | null | undefined;
2020
- }, import("mongoose").Types.Subdocument<unknown, any, {
2018
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
2021
2019
  id?: string | null | undefined;
2022
2020
  _id?: unknown;
2023
2021
  name?: string | null | undefined;
@@ -2030,7 +2028,7 @@ export declare const CategoryModel: import("mongoose").Model<{
2030
2028
  id?: string | null | undefined;
2031
2029
  _id?: unknown;
2032
2030
  name?: string | null | undefined;
2033
- }, import("mongoose").Types.Subdocument<unknown, any, {
2031
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
2034
2032
  id?: string | null | undefined;
2035
2033
  _id?: unknown;
2036
2034
  name?: string | null | undefined;
@@ -2043,7 +2041,7 @@ export declare const CategoryModel: import("mongoose").Model<{
2043
2041
  id?: string | null | undefined;
2044
2042
  _id?: unknown;
2045
2043
  name?: string | null | undefined;
2046
- }, import("mongoose").Types.Subdocument<unknown, any, {
2044
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
2047
2045
  id?: string | null | undefined;
2048
2046
  _id?: unknown;
2049
2047
  name?: string | null | undefined;
@@ -2056,7 +2054,7 @@ export declare const CategoryModel: import("mongoose").Model<{
2056
2054
  id?: string | null | undefined;
2057
2055
  _id?: unknown;
2058
2056
  name?: string | null | undefined;
2059
- }, import("mongoose").Types.Subdocument<unknown, any, {
2057
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
2060
2058
  id?: string | null | undefined;
2061
2059
  _id?: unknown;
2062
2060
  name?: string | null | undefined;
@@ -2083,13 +2081,14 @@ export declare const CategoryModel: import("mongoose").Model<{
2083
2081
  setCosmeticsWithoutCommands?: boolean | null | undefined;
2084
2082
  setCosmeticsWithPrefix?: boolean | null | undefined;
2085
2083
  acceptInvites?: boolean | null | undefined;
2084
+ startBannedBots?: boolean | null | undefined;
2086
2085
  usernameTriggers?: import("mongoose").Types.DocumentArray<{
2087
2086
  _id?: unknown;
2088
2087
  triggers?: string[] | null | undefined;
2089
2088
  detectionMethods?: number[] | null | undefined;
2090
2089
  actions?: number[] | null | undefined;
2091
2090
  messages?: string[] | null | undefined;
2092
- }, import("mongoose").Types.Subdocument<unknown, any, {
2091
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
2093
2092
  _id?: unknown;
2094
2093
  triggers?: string[] | null | undefined;
2095
2094
  detectionMethods?: number[] | null | undefined;
@@ -2108,7 +2107,7 @@ export declare const CategoryModel: import("mongoose").Model<{
2108
2107
  detectionMethods?: number[] | null | undefined;
2109
2108
  actions?: number[] | null | undefined;
2110
2109
  messages?: string[] | null | undefined;
2111
- }, import("mongoose").Types.Subdocument<unknown, any, {
2110
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
2112
2111
  _id?: unknown;
2113
2112
  triggers?: string[] | null | undefined;
2114
2113
  detectionMethods?: number[] | null | undefined;
@@ -2127,7 +2126,7 @@ export declare const CategoryModel: import("mongoose").Model<{
2127
2126
  detectionMethods?: number[] | null | undefined;
2128
2127
  actions?: number[] | null | undefined;
2129
2128
  messages?: string[] | null | undefined;
2130
- }, import("mongoose").Types.Subdocument<unknown, any, {
2129
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
2131
2130
  _id?: unknown;
2132
2131
  triggers?: string[] | null | undefined;
2133
2132
  detectionMethods?: number[] | null | undefined;
@@ -2146,7 +2145,7 @@ export declare const CategoryModel: import("mongoose").Model<{
2146
2145
  detectionMethods?: number[] | null | undefined;
2147
2146
  actions?: number[] | null | undefined;
2148
2147
  messages?: string[] | null | undefined;
2149
- }, import("mongoose").Types.Subdocument<unknown, any, {
2148
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
2150
2149
  _id?: unknown;
2151
2150
  triggers?: string[] | null | undefined;
2152
2151
  detectionMethods?: number[] | null | undefined;
@@ -2165,7 +2164,7 @@ export declare const CategoryModel: import("mongoose").Model<{
2165
2164
  detectionMethods?: number[] | null | undefined;
2166
2165
  actions?: number[] | null | undefined;
2167
2166
  messages?: string[] | null | undefined;
2168
- }, import("mongoose").Types.Subdocument<unknown, any, {
2167
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
2169
2168
  _id?: unknown;
2170
2169
  triggers?: string[] | null | undefined;
2171
2170
  detectionMethods?: number[] | null | undefined;
@@ -2184,7 +2183,7 @@ export declare const CategoryModel: import("mongoose").Model<{
2184
2183
  detectionMethods?: number[] | null | undefined;
2185
2184
  actions?: number[] | null | undefined;
2186
2185
  messages?: string[] | null | undefined;
2187
- }, import("mongoose").Types.Subdocument<unknown, any, {
2186
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
2188
2187
  _id?: unknown;
2189
2188
  triggers?: string[] | null | undefined;
2190
2189
  detectionMethods?: number[] | null | undefined;
@@ -2207,7 +2206,7 @@ export declare const CategoryModel: import("mongoose").Model<{
2207
2206
  variants: number[];
2208
2207
  id?: string | null | undefined;
2209
2208
  _id?: unknown;
2210
- }, import("mongoose").Types.Subdocument<unknown, any, {
2209
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
2211
2210
  variants: number[];
2212
2211
  id?: string | null | undefined;
2213
2212
  _id?: unknown;
@@ -2220,7 +2219,7 @@ export declare const CategoryModel: import("mongoose").Model<{
2220
2219
  variants: number[];
2221
2220
  id?: string | null | undefined;
2222
2221
  _id?: unknown;
2223
- }, import("mongoose").Types.Subdocument<unknown, any, {
2222
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
2224
2223
  variants: number[];
2225
2224
  id?: string | null | undefined;
2226
2225
  _id?: unknown;
@@ -2233,7 +2232,7 @@ export declare const CategoryModel: import("mongoose").Model<{
2233
2232
  variants: number[];
2234
2233
  id?: string | null | undefined;
2235
2234
  _id?: unknown;
2236
- }, import("mongoose").Types.Subdocument<unknown, any, {
2235
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
2237
2236
  variants: number[];
2238
2237
  id?: string | null | undefined;
2239
2238
  _id?: unknown;
@@ -2246,7 +2245,7 @@ export declare const CategoryModel: import("mongoose").Model<{
2246
2245
  variants: number[];
2247
2246
  id?: string | null | undefined;
2248
2247
  _id?: unknown;
2249
- }, import("mongoose").Types.Subdocument<unknown, any, {
2248
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
2250
2249
  variants: number[];
2251
2250
  id?: string | null | undefined;
2252
2251
  _id?: unknown;
@@ -2258,7 +2257,7 @@ export declare const CategoryModel: import("mongoose").Model<{
2258
2257
  startBanner?: import("mongoose").Types.DocumentArray<{
2259
2258
  id?: string | null | undefined;
2260
2259
  _id?: unknown;
2261
- }, import("mongoose").Types.Subdocument<unknown, any, {
2260
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
2262
2261
  id?: string | null | undefined;
2263
2262
  _id?: unknown;
2264
2263
  }> & {
@@ -2268,7 +2267,7 @@ export declare const CategoryModel: import("mongoose").Model<{
2268
2267
  startBannerColor?: import("mongoose").Types.DocumentArray<{
2269
2268
  id?: string | null | undefined;
2270
2269
  _id?: unknown;
2271
- }, import("mongoose").Types.Subdocument<unknown, any, {
2270
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
2272
2271
  id?: string | null | undefined;
2273
2272
  _id?: unknown;
2274
2273
  }> & {
@@ -2279,7 +2278,7 @@ export declare const CategoryModel: import("mongoose").Model<{
2279
2278
  variants: number[];
2280
2279
  id?: string | null | undefined;
2281
2280
  _id?: unknown;
2282
- }, import("mongoose").Types.Subdocument<unknown, any, {
2281
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
2283
2282
  variants: number[];
2284
2283
  id?: string | null | undefined;
2285
2284
  _id?: unknown;
@@ -2292,7 +2291,7 @@ export declare const CategoryModel: import("mongoose").Model<{
2292
2291
  variants: number[];
2293
2292
  id?: string | null | undefined;
2294
2293
  _id?: unknown;
2295
- }, import("mongoose").Types.Subdocument<unknown, any, {
2294
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
2296
2295
  variants: number[];
2297
2296
  id?: string | null | undefined;
2298
2297
  _id?: unknown;
@@ -2305,7 +2304,7 @@ export declare const CategoryModel: import("mongoose").Model<{
2305
2304
  variants: number[];
2306
2305
  id?: string | null | undefined;
2307
2306
  _id?: unknown;
2308
- }, import("mongoose").Types.Subdocument<unknown, any, {
2307
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
2309
2308
  variants: number[];
2310
2309
  id?: string | null | undefined;
2311
2310
  _id?: unknown;
@@ -2317,7 +2316,7 @@ export declare const CategoryModel: import("mongoose").Model<{
2317
2316
  joinEmote?: import("mongoose").Types.DocumentArray<{
2318
2317
  id?: string | null | undefined;
2319
2318
  _id?: unknown;
2320
- }, import("mongoose").Types.Subdocument<unknown, any, {
2319
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
2321
2320
  id?: string | null | undefined;
2322
2321
  _id?: unknown;
2323
2322
  }> & {
@@ -2328,7 +2327,7 @@ export declare const CategoryModel: import("mongoose").Model<{
2328
2327
  variants: number[];
2329
2328
  id?: string | null | undefined;
2330
2329
  _id?: unknown;
2331
- }, import("mongoose").Types.Subdocument<unknown, any, {
2330
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
2332
2331
  variants: number[];
2333
2332
  id?: string | null | undefined;
2334
2333
  _id?: unknown;
@@ -2340,7 +2339,7 @@ export declare const CategoryModel: import("mongoose").Model<{
2340
2339
  joinBanner?: import("mongoose").Types.DocumentArray<{
2341
2340
  id?: string | null | undefined;
2342
2341
  _id?: unknown;
2343
- }, import("mongoose").Types.Subdocument<unknown, any, {
2342
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
2344
2343
  id?: string | null | undefined;
2345
2344
  _id?: unknown;
2346
2345
  }> & {
@@ -2350,7 +2349,7 @@ export declare const CategoryModel: import("mongoose").Model<{
2350
2349
  joinBannerColor?: import("mongoose").Types.DocumentArray<{
2351
2350
  id?: string | null | undefined;
2352
2351
  _id?: unknown;
2353
- }, import("mongoose").Types.Subdocument<unknown, any, {
2352
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
2354
2353
  id?: string | null | undefined;
2355
2354
  _id?: unknown;
2356
2355
  }> & {
@@ -2361,7 +2360,7 @@ export declare const CategoryModel: import("mongoose").Model<{
2361
2360
  variants: number[];
2362
2361
  id?: string | null | undefined;
2363
2362
  _id?: unknown;
2364
- }, import("mongoose").Types.Subdocument<unknown, any, {
2363
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
2365
2364
  variants: number[];
2366
2365
  id?: string | null | undefined;
2367
2366
  _id?: unknown;
@@ -2374,7 +2373,7 @@ export declare const CategoryModel: import("mongoose").Model<{
2374
2373
  variants: number[];
2375
2374
  id?: string | null | undefined;
2376
2375
  _id?: unknown;
2377
- }, import("mongoose").Types.Subdocument<unknown, any, {
2376
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
2378
2377
  variants: number[];
2379
2378
  id?: string | null | undefined;
2380
2379
  _id?: unknown;
@@ -2387,7 +2386,7 @@ export declare const CategoryModel: import("mongoose").Model<{
2387
2386
  variants: number[];
2388
2387
  id?: string | null | undefined;
2389
2388
  _id?: unknown;
2390
- }, import("mongoose").Types.Subdocument<unknown, any, {
2389
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
2391
2390
  variants: number[];
2392
2391
  id?: string | null | undefined;
2393
2392
  _id?: unknown;
@@ -2399,7 +2398,7 @@ export declare const CategoryModel: import("mongoose").Model<{
2399
2398
  memberJoinEmote?: import("mongoose").Types.DocumentArray<{
2400
2399
  id?: string | null | undefined;
2401
2400
  _id?: unknown;
2402
- }, import("mongoose").Types.Subdocument<unknown, any, {
2401
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
2403
2402
  id?: string | null | undefined;
2404
2403
  _id?: unknown;
2405
2404
  }> & {
@@ -2410,7 +2409,7 @@ export declare const CategoryModel: import("mongoose").Model<{
2410
2409
  variants: number[];
2411
2410
  id?: string | null | undefined;
2412
2411
  _id?: unknown;
2413
- }, import("mongoose").Types.Subdocument<unknown, any, {
2412
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
2414
2413
  variants: number[];
2415
2414
  id?: string | null | undefined;
2416
2415
  _id?: unknown;
@@ -2422,7 +2421,7 @@ export declare const CategoryModel: import("mongoose").Model<{
2422
2421
  memberJoinBanner?: import("mongoose").Types.DocumentArray<{
2423
2422
  id?: string | null | undefined;
2424
2423
  _id?: unknown;
2425
- }, import("mongoose").Types.Subdocument<unknown, any, {
2424
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
2426
2425
  id?: string | null | undefined;
2427
2426
  _id?: unknown;
2428
2427
  }> & {
@@ -2432,7 +2431,7 @@ export declare const CategoryModel: import("mongoose").Model<{
2432
2431
  memberJoinBannerColor?: import("mongoose").Types.DocumentArray<{
2433
2432
  id?: string | null | undefined;
2434
2433
  _id?: unknown;
2435
- }, import("mongoose").Types.Subdocument<unknown, any, {
2434
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
2436
2435
  id?: string | null | undefined;
2437
2436
  _id?: unknown;
2438
2437
  }> & {
@@ -2440,10 +2439,10 @@ export declare const CategoryModel: import("mongoose").Model<{
2440
2439
  _id?: unknown;
2441
2440
  }> | null | undefined;
2442
2441
  } | null | undefined;
2443
- }>, {}> & import("mongoose").FlatRecord<{
2442
+ }>, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").FlatRecord<{
2444
2443
  owner: import("mongoose").Types.ObjectId;
2445
2444
  name: string;
2446
- disabled?: boolean | null | undefined;
2445
+ flags?: number | null | undefined;
2447
2446
  managed?: boolean | null | undefined;
2448
2447
  config?: {
2449
2448
  replyLangs?: string[] | null | undefined;
@@ -2459,7 +2458,7 @@ export declare const CategoryModel: import("mongoose").Model<{
2459
2458
  id?: string | null | undefined;
2460
2459
  _id?: unknown;
2461
2460
  name?: string | null | undefined;
2462
- }, import("mongoose").Types.Subdocument<unknown, any, {
2461
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
2463
2462
  id?: string | null | undefined;
2464
2463
  _id?: unknown;
2465
2464
  name?: string | null | undefined;
@@ -2472,7 +2471,7 @@ export declare const CategoryModel: import("mongoose").Model<{
2472
2471
  id?: string | null | undefined;
2473
2472
  _id?: unknown;
2474
2473
  name?: string | null | undefined;
2475
- }, import("mongoose").Types.Subdocument<unknown, any, {
2474
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
2476
2475
  id?: string | null | undefined;
2477
2476
  _id?: unknown;
2478
2477
  name?: string | null | undefined;
@@ -2485,7 +2484,7 @@ export declare const CategoryModel: import("mongoose").Model<{
2485
2484
  id?: string | null | undefined;
2486
2485
  _id?: unknown;
2487
2486
  name?: string | null | undefined;
2488
- }, import("mongoose").Types.Subdocument<unknown, any, {
2487
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
2489
2488
  id?: string | null | undefined;
2490
2489
  _id?: unknown;
2491
2490
  name?: string | null | undefined;
@@ -2498,7 +2497,7 @@ export declare const CategoryModel: import("mongoose").Model<{
2498
2497
  id?: string | null | undefined;
2499
2498
  _id?: unknown;
2500
2499
  name?: string | null | undefined;
2501
- }, import("mongoose").Types.Subdocument<unknown, any, {
2500
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
2502
2501
  id?: string | null | undefined;
2503
2502
  _id?: unknown;
2504
2503
  name?: string | null | undefined;
@@ -2511,7 +2510,7 @@ export declare const CategoryModel: import("mongoose").Model<{
2511
2510
  id?: string | null | undefined;
2512
2511
  _id?: unknown;
2513
2512
  name?: string | null | undefined;
2514
- }, import("mongoose").Types.Subdocument<unknown, any, {
2513
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
2515
2514
  id?: string | null | undefined;
2516
2515
  _id?: unknown;
2517
2516
  name?: string | null | undefined;
@@ -2524,7 +2523,7 @@ export declare const CategoryModel: import("mongoose").Model<{
2524
2523
  id?: string | null | undefined;
2525
2524
  _id?: unknown;
2526
2525
  name?: string | null | undefined;
2527
- }, import("mongoose").Types.Subdocument<unknown, any, {
2526
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
2528
2527
  id?: string | null | undefined;
2529
2528
  _id?: unknown;
2530
2529
  name?: string | null | undefined;
@@ -2551,13 +2550,14 @@ export declare const CategoryModel: import("mongoose").Model<{
2551
2550
  setCosmeticsWithoutCommands?: boolean | null | undefined;
2552
2551
  setCosmeticsWithPrefix?: boolean | null | undefined;
2553
2552
  acceptInvites?: boolean | null | undefined;
2553
+ startBannedBots?: boolean | null | undefined;
2554
2554
  usernameTriggers?: import("mongoose").Types.DocumentArray<{
2555
2555
  _id?: unknown;
2556
2556
  triggers?: string[] | null | undefined;
2557
2557
  detectionMethods?: number[] | null | undefined;
2558
2558
  actions?: number[] | null | undefined;
2559
2559
  messages?: string[] | null | undefined;
2560
- }, import("mongoose").Types.Subdocument<unknown, any, {
2560
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
2561
2561
  _id?: unknown;
2562
2562
  triggers?: string[] | null | undefined;
2563
2563
  detectionMethods?: number[] | null | undefined;
@@ -2576,7 +2576,7 @@ export declare const CategoryModel: import("mongoose").Model<{
2576
2576
  detectionMethods?: number[] | null | undefined;
2577
2577
  actions?: number[] | null | undefined;
2578
2578
  messages?: string[] | null | undefined;
2579
- }, import("mongoose").Types.Subdocument<unknown, any, {
2579
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
2580
2580
  _id?: unknown;
2581
2581
  triggers?: string[] | null | undefined;
2582
2582
  detectionMethods?: number[] | null | undefined;
@@ -2595,7 +2595,7 @@ export declare const CategoryModel: import("mongoose").Model<{
2595
2595
  detectionMethods?: number[] | null | undefined;
2596
2596
  actions?: number[] | null | undefined;
2597
2597
  messages?: string[] | null | undefined;
2598
- }, import("mongoose").Types.Subdocument<unknown, any, {
2598
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
2599
2599
  _id?: unknown;
2600
2600
  triggers?: string[] | null | undefined;
2601
2601
  detectionMethods?: number[] | null | undefined;
@@ -2614,7 +2614,7 @@ export declare const CategoryModel: import("mongoose").Model<{
2614
2614
  detectionMethods?: number[] | null | undefined;
2615
2615
  actions?: number[] | null | undefined;
2616
2616
  messages?: string[] | null | undefined;
2617
- }, import("mongoose").Types.Subdocument<unknown, any, {
2617
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
2618
2618
  _id?: unknown;
2619
2619
  triggers?: string[] | null | undefined;
2620
2620
  detectionMethods?: number[] | null | undefined;
@@ -2633,7 +2633,7 @@ export declare const CategoryModel: import("mongoose").Model<{
2633
2633
  detectionMethods?: number[] | null | undefined;
2634
2634
  actions?: number[] | null | undefined;
2635
2635
  messages?: string[] | null | undefined;
2636
- }, import("mongoose").Types.Subdocument<unknown, any, {
2636
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
2637
2637
  _id?: unknown;
2638
2638
  triggers?: string[] | null | undefined;
2639
2639
  detectionMethods?: number[] | null | undefined;
@@ -2652,7 +2652,7 @@ export declare const CategoryModel: import("mongoose").Model<{
2652
2652
  detectionMethods?: number[] | null | undefined;
2653
2653
  actions?: number[] | null | undefined;
2654
2654
  messages?: string[] | null | undefined;
2655
- }, import("mongoose").Types.Subdocument<unknown, any, {
2655
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
2656
2656
  _id?: unknown;
2657
2657
  triggers?: string[] | null | undefined;
2658
2658
  detectionMethods?: number[] | null | undefined;
@@ -2675,7 +2675,7 @@ export declare const CategoryModel: import("mongoose").Model<{
2675
2675
  variants: number[];
2676
2676
  id?: string | null | undefined;
2677
2677
  _id?: unknown;
2678
- }, import("mongoose").Types.Subdocument<unknown, any, {
2678
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
2679
2679
  variants: number[];
2680
2680
  id?: string | null | undefined;
2681
2681
  _id?: unknown;
@@ -2688,7 +2688,7 @@ export declare const CategoryModel: import("mongoose").Model<{
2688
2688
  variants: number[];
2689
2689
  id?: string | null | undefined;
2690
2690
  _id?: unknown;
2691
- }, import("mongoose").Types.Subdocument<unknown, any, {
2691
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
2692
2692
  variants: number[];
2693
2693
  id?: string | null | undefined;
2694
2694
  _id?: unknown;
@@ -2701,7 +2701,7 @@ export declare const CategoryModel: import("mongoose").Model<{
2701
2701
  variants: number[];
2702
2702
  id?: string | null | undefined;
2703
2703
  _id?: unknown;
2704
- }, import("mongoose").Types.Subdocument<unknown, any, {
2704
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
2705
2705
  variants: number[];
2706
2706
  id?: string | null | undefined;
2707
2707
  _id?: unknown;
@@ -2714,7 +2714,7 @@ export declare const CategoryModel: import("mongoose").Model<{
2714
2714
  variants: number[];
2715
2715
  id?: string | null | undefined;
2716
2716
  _id?: unknown;
2717
- }, import("mongoose").Types.Subdocument<unknown, any, {
2717
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
2718
2718
  variants: number[];
2719
2719
  id?: string | null | undefined;
2720
2720
  _id?: unknown;
@@ -2726,7 +2726,7 @@ export declare const CategoryModel: import("mongoose").Model<{
2726
2726
  startBanner?: import("mongoose").Types.DocumentArray<{
2727
2727
  id?: string | null | undefined;
2728
2728
  _id?: unknown;
2729
- }, import("mongoose").Types.Subdocument<unknown, any, {
2729
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
2730
2730
  id?: string | null | undefined;
2731
2731
  _id?: unknown;
2732
2732
  }> & {
@@ -2736,7 +2736,7 @@ export declare const CategoryModel: import("mongoose").Model<{
2736
2736
  startBannerColor?: import("mongoose").Types.DocumentArray<{
2737
2737
  id?: string | null | undefined;
2738
2738
  _id?: unknown;
2739
- }, import("mongoose").Types.Subdocument<unknown, any, {
2739
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
2740
2740
  id?: string | null | undefined;
2741
2741
  _id?: unknown;
2742
2742
  }> & {
@@ -2747,7 +2747,7 @@ export declare const CategoryModel: import("mongoose").Model<{
2747
2747
  variants: number[];
2748
2748
  id?: string | null | undefined;
2749
2749
  _id?: unknown;
2750
- }, import("mongoose").Types.Subdocument<unknown, any, {
2750
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
2751
2751
  variants: number[];
2752
2752
  id?: string | null | undefined;
2753
2753
  _id?: unknown;
@@ -2760,7 +2760,7 @@ export declare const CategoryModel: import("mongoose").Model<{
2760
2760
  variants: number[];
2761
2761
  id?: string | null | undefined;
2762
2762
  _id?: unknown;
2763
- }, import("mongoose").Types.Subdocument<unknown, any, {
2763
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
2764
2764
  variants: number[];
2765
2765
  id?: string | null | undefined;
2766
2766
  _id?: unknown;
@@ -2773,7 +2773,7 @@ export declare const CategoryModel: import("mongoose").Model<{
2773
2773
  variants: number[];
2774
2774
  id?: string | null | undefined;
2775
2775
  _id?: unknown;
2776
- }, import("mongoose").Types.Subdocument<unknown, any, {
2776
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
2777
2777
  variants: number[];
2778
2778
  id?: string | null | undefined;
2779
2779
  _id?: unknown;
@@ -2785,7 +2785,7 @@ export declare const CategoryModel: import("mongoose").Model<{
2785
2785
  joinEmote?: import("mongoose").Types.DocumentArray<{
2786
2786
  id?: string | null | undefined;
2787
2787
  _id?: unknown;
2788
- }, import("mongoose").Types.Subdocument<unknown, any, {
2788
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
2789
2789
  id?: string | null | undefined;
2790
2790
  _id?: unknown;
2791
2791
  }> & {
@@ -2796,7 +2796,7 @@ export declare const CategoryModel: import("mongoose").Model<{
2796
2796
  variants: number[];
2797
2797
  id?: string | null | undefined;
2798
2798
  _id?: unknown;
2799
- }, import("mongoose").Types.Subdocument<unknown, any, {
2799
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
2800
2800
  variants: number[];
2801
2801
  id?: string | null | undefined;
2802
2802
  _id?: unknown;
@@ -2808,7 +2808,7 @@ export declare const CategoryModel: import("mongoose").Model<{
2808
2808
  joinBanner?: import("mongoose").Types.DocumentArray<{
2809
2809
  id?: string | null | undefined;
2810
2810
  _id?: unknown;
2811
- }, import("mongoose").Types.Subdocument<unknown, any, {
2811
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
2812
2812
  id?: string | null | undefined;
2813
2813
  _id?: unknown;
2814
2814
  }> & {
@@ -2818,7 +2818,7 @@ export declare const CategoryModel: import("mongoose").Model<{
2818
2818
  joinBannerColor?: import("mongoose").Types.DocumentArray<{
2819
2819
  id?: string | null | undefined;
2820
2820
  _id?: unknown;
2821
- }, import("mongoose").Types.Subdocument<unknown, any, {
2821
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
2822
2822
  id?: string | null | undefined;
2823
2823
  _id?: unknown;
2824
2824
  }> & {
@@ -2829,7 +2829,7 @@ export declare const CategoryModel: import("mongoose").Model<{
2829
2829
  variants: number[];
2830
2830
  id?: string | null | undefined;
2831
2831
  _id?: unknown;
2832
- }, import("mongoose").Types.Subdocument<unknown, any, {
2832
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
2833
2833
  variants: number[];
2834
2834
  id?: string | null | undefined;
2835
2835
  _id?: unknown;
@@ -2842,7 +2842,7 @@ export declare const CategoryModel: import("mongoose").Model<{
2842
2842
  variants: number[];
2843
2843
  id?: string | null | undefined;
2844
2844
  _id?: unknown;
2845
- }, import("mongoose").Types.Subdocument<unknown, any, {
2845
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
2846
2846
  variants: number[];
2847
2847
  id?: string | null | undefined;
2848
2848
  _id?: unknown;
@@ -2855,7 +2855,7 @@ export declare const CategoryModel: import("mongoose").Model<{
2855
2855
  variants: number[];
2856
2856
  id?: string | null | undefined;
2857
2857
  _id?: unknown;
2858
- }, import("mongoose").Types.Subdocument<unknown, any, {
2858
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
2859
2859
  variants: number[];
2860
2860
  id?: string | null | undefined;
2861
2861
  _id?: unknown;
@@ -2867,7 +2867,7 @@ export declare const CategoryModel: import("mongoose").Model<{
2867
2867
  memberJoinEmote?: import("mongoose").Types.DocumentArray<{
2868
2868
  id?: string | null | undefined;
2869
2869
  _id?: unknown;
2870
- }, import("mongoose").Types.Subdocument<unknown, any, {
2870
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
2871
2871
  id?: string | null | undefined;
2872
2872
  _id?: unknown;
2873
2873
  }> & {
@@ -2878,7 +2878,7 @@ export declare const CategoryModel: import("mongoose").Model<{
2878
2878
  variants: number[];
2879
2879
  id?: string | null | undefined;
2880
2880
  _id?: unknown;
2881
- }, import("mongoose").Types.Subdocument<unknown, any, {
2881
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
2882
2882
  variants: number[];
2883
2883
  id?: string | null | undefined;
2884
2884
  _id?: unknown;
@@ -2890,7 +2890,7 @@ export declare const CategoryModel: import("mongoose").Model<{
2890
2890
  memberJoinBanner?: import("mongoose").Types.DocumentArray<{
2891
2891
  id?: string | null | undefined;
2892
2892
  _id?: unknown;
2893
- }, import("mongoose").Types.Subdocument<unknown, any, {
2893
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
2894
2894
  id?: string | null | undefined;
2895
2895
  _id?: unknown;
2896
2896
  }> & {
@@ -2900,7 +2900,7 @@ export declare const CategoryModel: import("mongoose").Model<{
2900
2900
  memberJoinBannerColor?: import("mongoose").Types.DocumentArray<{
2901
2901
  id?: string | null | undefined;
2902
2902
  _id?: unknown;
2903
- }, import("mongoose").Types.Subdocument<unknown, any, {
2903
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
2904
2904
  id?: string | null | undefined;
2905
2905
  _id?: unknown;
2906
2906
  }> & {
@@ -2920,7 +2920,6 @@ export declare const UserModel: import("mongoose").Model<{
2920
2920
  username: string;
2921
2921
  apiToken: string;
2922
2922
  flags?: number | null | undefined;
2923
- verified?: boolean | null | undefined;
2924
2923
  connections?: {
2925
2924
  discord?: {
2926
2925
  id?: string | null | undefined;
@@ -2940,7 +2939,6 @@ export declare const UserModel: import("mongoose").Model<{
2940
2939
  username: string;
2941
2940
  apiToken: string;
2942
2941
  flags?: number | null | undefined;
2943
- verified?: boolean | null | undefined;
2944
2942
  connections?: {
2945
2943
  discord?: {
2946
2944
  id?: string | null | undefined;
@@ -2953,14 +2951,286 @@ export declare const UserModel: import("mongoose").Model<{
2953
2951
  verified?: boolean | null | undefined;
2954
2952
  } | null | undefined;
2955
2953
  } | null | undefined;
2956
- }, {}> & {
2954
+ }, {}, {
2955
+ statics: {
2956
+ verifyPassword(this: import("mongoose").Model<{
2957
+ password: string;
2958
+ email: string;
2959
+ token: string;
2960
+ username: string;
2961
+ apiToken: string;
2962
+ flags?: number | null | undefined;
2963
+ connections?: {
2964
+ discord?: {
2965
+ id?: string | null | undefined;
2966
+ username?: string | null | undefined;
2967
+ verified?: boolean | null | undefined;
2968
+ } | null | undefined;
2969
+ epic?: {
2970
+ id?: string | null | undefined;
2971
+ username?: string | null | undefined;
2972
+ verified?: boolean | null | undefined;
2973
+ } | null | undefined;
2974
+ } | null | undefined;
2975
+ }, {}, {}, {}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
2976
+ password: string;
2977
+ email: string;
2978
+ token: string;
2979
+ username: string;
2980
+ apiToken: string;
2981
+ flags?: number | null | undefined;
2982
+ connections?: {
2983
+ discord?: {
2984
+ id?: string | null | undefined;
2985
+ username?: string | null | undefined;
2986
+ verified?: boolean | null | undefined;
2987
+ } | null | undefined;
2988
+ epic?: {
2989
+ id?: string | null | undefined;
2990
+ username?: string | null | undefined;
2991
+ verified?: boolean | null | undefined;
2992
+ } | null | undefined;
2993
+ } | null | undefined;
2994
+ }>, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").FlatRecord<{
2995
+ password: string;
2996
+ email: string;
2997
+ token: string;
2998
+ username: string;
2999
+ apiToken: string;
3000
+ flags?: number | null | undefined;
3001
+ connections?: {
3002
+ discord?: {
3003
+ id?: string | null | undefined;
3004
+ username?: string | null | undefined;
3005
+ verified?: boolean | null | undefined;
3006
+ } | null | undefined;
3007
+ epic?: {
3008
+ id?: string | null | undefined;
3009
+ username?: string | null | undefined;
3010
+ verified?: boolean | null | undefined;
3011
+ } | null | undefined;
3012
+ } | null | undefined;
3013
+ }> & {
3014
+ _id: import("mongoose").Types.ObjectId;
3015
+ } & {
3016
+ __v: number;
3017
+ }, any>, password: string, hash: string): Promise<boolean>;
3018
+ findByToken(this: import("mongoose").Model<{
3019
+ password: string;
3020
+ email: string;
3021
+ token: string;
3022
+ username: string;
3023
+ apiToken: string;
3024
+ flags?: number | null | undefined;
3025
+ connections?: {
3026
+ discord?: {
3027
+ id?: string | null | undefined;
3028
+ username?: string | null | undefined;
3029
+ verified?: boolean | null | undefined;
3030
+ } | null | undefined;
3031
+ epic?: {
3032
+ id?: string | null | undefined;
3033
+ username?: string | null | undefined;
3034
+ verified?: boolean | null | undefined;
3035
+ } | null | undefined;
3036
+ } | null | undefined;
3037
+ }, {}, {}, {}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
3038
+ password: string;
3039
+ email: string;
3040
+ token: string;
3041
+ username: string;
3042
+ apiToken: string;
3043
+ flags?: number | null | undefined;
3044
+ connections?: {
3045
+ discord?: {
3046
+ id?: string | null | undefined;
3047
+ username?: string | null | undefined;
3048
+ verified?: boolean | null | undefined;
3049
+ } | null | undefined;
3050
+ epic?: {
3051
+ id?: string | null | undefined;
3052
+ username?: string | null | undefined;
3053
+ verified?: boolean | null | undefined;
3054
+ } | null | undefined;
3055
+ } | null | undefined;
3056
+ }>, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").FlatRecord<{
3057
+ password: string;
3058
+ email: string;
3059
+ token: string;
3060
+ username: string;
3061
+ apiToken: string;
3062
+ flags?: number | null | undefined;
3063
+ connections?: {
3064
+ discord?: {
3065
+ id?: string | null | undefined;
3066
+ username?: string | null | undefined;
3067
+ verified?: boolean | null | undefined;
3068
+ } | null | undefined;
3069
+ epic?: {
3070
+ id?: string | null | undefined;
3071
+ username?: string | null | undefined;
3072
+ verified?: boolean | null | undefined;
3073
+ } | null | undefined;
3074
+ } | null | undefined;
3075
+ }> & {
3076
+ _id: import("mongoose").Types.ObjectId;
3077
+ } & {
3078
+ __v: number;
3079
+ }, any>, id: string, auth: string): Promise<(import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
3080
+ password: string;
3081
+ email: string;
3082
+ token: string;
3083
+ username: string;
3084
+ apiToken: string;
3085
+ flags?: number | null | undefined;
3086
+ connections?: {
3087
+ discord?: {
3088
+ id?: string | null | undefined;
3089
+ username?: string | null | undefined;
3090
+ verified?: boolean | null | undefined;
3091
+ } | null | undefined;
3092
+ epic?: {
3093
+ id?: string | null | undefined;
3094
+ username?: string | null | undefined;
3095
+ verified?: boolean | null | undefined;
3096
+ } | null | undefined;
3097
+ } | null | undefined;
3098
+ }>, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").FlatRecord<{
3099
+ password: string;
3100
+ email: string;
3101
+ token: string;
3102
+ username: string;
3103
+ apiToken: string;
3104
+ flags?: number | null | undefined;
3105
+ connections?: {
3106
+ discord?: {
3107
+ id?: string | null | undefined;
3108
+ username?: string | null | undefined;
3109
+ verified?: boolean | null | undefined;
3110
+ } | null | undefined;
3111
+ epic?: {
3112
+ id?: string | null | undefined;
3113
+ username?: string | null | undefined;
3114
+ verified?: boolean | null | undefined;
3115
+ } | null | undefined;
3116
+ } | null | undefined;
3117
+ }> & {
3118
+ _id: import("mongoose").Types.ObjectId;
3119
+ } & {
3120
+ __v: number;
3121
+ }) | null>;
3122
+ findByAPIToken(this: import("mongoose").Model<{
3123
+ password: string;
3124
+ email: string;
3125
+ token: string;
3126
+ username: string;
3127
+ apiToken: string;
3128
+ flags?: number | null | undefined;
3129
+ connections?: {
3130
+ discord?: {
3131
+ id?: string | null | undefined;
3132
+ username?: string | null | undefined;
3133
+ verified?: boolean | null | undefined;
3134
+ } | null | undefined;
3135
+ epic?: {
3136
+ id?: string | null | undefined;
3137
+ username?: string | null | undefined;
3138
+ verified?: boolean | null | undefined;
3139
+ } | null | undefined;
3140
+ } | null | undefined;
3141
+ }, {}, {}, {}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
3142
+ password: string;
3143
+ email: string;
3144
+ token: string;
3145
+ username: string;
3146
+ apiToken: string;
3147
+ flags?: number | null | undefined;
3148
+ connections?: {
3149
+ discord?: {
3150
+ id?: string | null | undefined;
3151
+ username?: string | null | undefined;
3152
+ verified?: boolean | null | undefined;
3153
+ } | null | undefined;
3154
+ epic?: {
3155
+ id?: string | null | undefined;
3156
+ username?: string | null | undefined;
3157
+ verified?: boolean | null | undefined;
3158
+ } | null | undefined;
3159
+ } | null | undefined;
3160
+ }>, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").FlatRecord<{
3161
+ password: string;
3162
+ email: string;
3163
+ token: string;
3164
+ username: string;
3165
+ apiToken: string;
3166
+ flags?: number | null | undefined;
3167
+ connections?: {
3168
+ discord?: {
3169
+ id?: string | null | undefined;
3170
+ username?: string | null | undefined;
3171
+ verified?: boolean | null | undefined;
3172
+ } | null | undefined;
3173
+ epic?: {
3174
+ id?: string | null | undefined;
3175
+ username?: string | null | undefined;
3176
+ verified?: boolean | null | undefined;
3177
+ } | null | undefined;
3178
+ } | null | undefined;
3179
+ }> & {
3180
+ _id: import("mongoose").Types.ObjectId;
3181
+ } & {
3182
+ __v: number;
3183
+ }, any>, id: string, auth: string): Promise<(import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
3184
+ password: string;
3185
+ email: string;
3186
+ token: string;
3187
+ username: string;
3188
+ apiToken: string;
3189
+ flags?: number | null | undefined;
3190
+ connections?: {
3191
+ discord?: {
3192
+ id?: string | null | undefined;
3193
+ username?: string | null | undefined;
3194
+ verified?: boolean | null | undefined;
3195
+ } | null | undefined;
3196
+ epic?: {
3197
+ id?: string | null | undefined;
3198
+ username?: string | null | undefined;
3199
+ verified?: boolean | null | undefined;
3200
+ } | null | undefined;
3201
+ } | null | undefined;
3202
+ }>, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").FlatRecord<{
3203
+ password: string;
3204
+ email: string;
3205
+ token: string;
3206
+ username: string;
3207
+ apiToken: string;
3208
+ flags?: number | null | undefined;
3209
+ connections?: {
3210
+ discord?: {
3211
+ id?: string | null | undefined;
3212
+ username?: string | null | undefined;
3213
+ verified?: boolean | null | undefined;
3214
+ } | null | undefined;
3215
+ epic?: {
3216
+ id?: string | null | undefined;
3217
+ username?: string | null | undefined;
3218
+ verified?: boolean | null | undefined;
3219
+ } | null | undefined;
3220
+ } | null | undefined;
3221
+ }> & {
3222
+ _id: import("mongoose").Types.ObjectId;
3223
+ } & {
3224
+ __v: number;
3225
+ }) | null>;
3226
+ };
3227
+ }> & {
2957
3228
  password: string;
2958
3229
  email: string;
2959
3230
  token: string;
2960
3231
  username: string;
2961
3232
  apiToken: string;
2962
3233
  flags?: number | null | undefined;
2963
- verified?: boolean | null | undefined;
2964
3234
  connections?: {
2965
3235
  discord?: {
2966
3236
  id?: string | null | undefined;
@@ -2977,15 +3247,75 @@ export declare const UserModel: import("mongoose").Model<{
2977
3247
  _id: import("mongoose").Types.ObjectId;
2978
3248
  } & {
2979
3249
  __v: number;
2980
- }, Schema<any, import("mongoose").Model<any, any, any, any, any, any>, {}, {}, {}, {
2981
- verifyPassword: (this: import("mongoose").Model<import("mongoose").FlatRecord<{
3250
+ }, Schema<any, import("mongoose").Model<{
3251
+ password: string;
3252
+ email: string;
3253
+ token: string;
3254
+ username: string;
3255
+ apiToken: string;
3256
+ flags?: number | null | undefined;
3257
+ connections?: {
3258
+ discord?: {
3259
+ id?: string | null | undefined;
3260
+ username?: string | null | undefined;
3261
+ verified?: boolean | null | undefined;
3262
+ } | null | undefined;
3263
+ epic?: {
3264
+ id?: string | null | undefined;
3265
+ username?: string | null | undefined;
3266
+ verified?: boolean | null | undefined;
3267
+ } | null | undefined;
3268
+ } | null | undefined;
3269
+ }, {}, {}, {}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
3270
+ password: string;
3271
+ email: string;
3272
+ token: string;
3273
+ username: string;
3274
+ apiToken: string;
3275
+ flags?: number | null | undefined;
3276
+ connections?: {
3277
+ discord?: {
3278
+ id?: string | null | undefined;
3279
+ username?: string | null | undefined;
3280
+ verified?: boolean | null | undefined;
3281
+ } | null | undefined;
3282
+ epic?: {
3283
+ id?: string | null | undefined;
3284
+ username?: string | null | undefined;
3285
+ verified?: boolean | null | undefined;
3286
+ } | null | undefined;
3287
+ } | null | undefined;
3288
+ }>, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").FlatRecord<{
3289
+ password: string;
3290
+ email: string;
3291
+ token: string;
3292
+ username: string;
3293
+ apiToken: string;
3294
+ flags?: number | null | undefined;
3295
+ connections?: {
3296
+ discord?: {
3297
+ id?: string | null | undefined;
3298
+ username?: string | null | undefined;
3299
+ verified?: boolean | null | undefined;
3300
+ } | null | undefined;
3301
+ epic?: {
3302
+ id?: string | null | undefined;
3303
+ username?: string | null | undefined;
3304
+ verified?: boolean | null | undefined;
3305
+ } | null | undefined;
3306
+ } | null | undefined;
3307
+ }> & {
3308
+ _id: import("mongoose").Types.ObjectId;
3309
+ } & {
3310
+ __v: number;
3311
+ }, any>, {}, {}, {}, {
3312
+ verifyPassword: (this: import("mongoose").Model<{
2982
3313
  password: string;
2983
3314
  email: string;
2984
3315
  token: string;
2985
3316
  username: string;
2986
3317
  apiToken: string;
2987
3318
  flags?: number | null | undefined;
2988
- verified?: boolean | null | undefined;
2989
3319
  connections?: {
2990
3320
  discord?: {
2991
3321
  id?: string | null | undefined;
@@ -2998,14 +3328,13 @@ export declare const UserModel: import("mongoose").Model<{
2998
3328
  verified?: boolean | null | undefined;
2999
3329
  } | null | undefined;
3000
3330
  } | null | undefined;
3001
- }>, {}, {}, {}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
3331
+ }, {}, {}, {}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
3002
3332
  password: string;
3003
3333
  email: string;
3004
3334
  token: string;
3005
3335
  username: string;
3006
3336
  apiToken: string;
3007
3337
  flags?: number | null | undefined;
3008
- verified?: boolean | null | undefined;
3009
3338
  connections?: {
3010
3339
  discord?: {
3011
3340
  id?: string | null | undefined;
@@ -3018,14 +3347,13 @@ export declare const UserModel: import("mongoose").Model<{
3018
3347
  verified?: boolean | null | undefined;
3019
3348
  } | null | undefined;
3020
3349
  } | null | undefined;
3021
- }>, {}> & import("mongoose").FlatRecord<{
3350
+ }>, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").FlatRecord<{
3022
3351
  password: string;
3023
3352
  email: string;
3024
3353
  token: string;
3025
3354
  username: string;
3026
3355
  apiToken: string;
3027
3356
  flags?: number | null | undefined;
3028
- verified?: boolean | null | undefined;
3029
3357
  connections?: {
3030
3358
  discord?: {
3031
3359
  id?: string | null | undefined;
@@ -3043,14 +3371,13 @@ export declare const UserModel: import("mongoose").Model<{
3043
3371
  } & {
3044
3372
  __v: number;
3045
3373
  }, any>, password: string, hash: string) => Promise<boolean>;
3046
- findByToken: (this: import("mongoose").Model<import("mongoose").FlatRecord<{
3374
+ findByToken: (this: import("mongoose").Model<{
3047
3375
  password: string;
3048
3376
  email: string;
3049
3377
  token: string;
3050
3378
  username: string;
3051
3379
  apiToken: string;
3052
3380
  flags?: number | null | undefined;
3053
- verified?: boolean | null | undefined;
3054
3381
  connections?: {
3055
3382
  discord?: {
3056
3383
  id?: string | null | undefined;
@@ -3063,14 +3390,13 @@ export declare const UserModel: import("mongoose").Model<{
3063
3390
  verified?: boolean | null | undefined;
3064
3391
  } | null | undefined;
3065
3392
  } | null | undefined;
3066
- }>, {}, {}, {}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
3393
+ }, {}, {}, {}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
3067
3394
  password: string;
3068
3395
  email: string;
3069
3396
  token: string;
3070
3397
  username: string;
3071
3398
  apiToken: string;
3072
3399
  flags?: number | null | undefined;
3073
- verified?: boolean | null | undefined;
3074
3400
  connections?: {
3075
3401
  discord?: {
3076
3402
  id?: string | null | undefined;
@@ -3083,14 +3409,13 @@ export declare const UserModel: import("mongoose").Model<{
3083
3409
  verified?: boolean | null | undefined;
3084
3410
  } | null | undefined;
3085
3411
  } | null | undefined;
3086
- }>, {}> & import("mongoose").FlatRecord<{
3412
+ }>, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").FlatRecord<{
3087
3413
  password: string;
3088
3414
  email: string;
3089
3415
  token: string;
3090
3416
  username: string;
3091
3417
  apiToken: string;
3092
3418
  flags?: number | null | undefined;
3093
- verified?: boolean | null | undefined;
3094
3419
  connections?: {
3095
3420
  discord?: {
3096
3421
  id?: string | null | undefined;
@@ -3114,7 +3439,6 @@ export declare const UserModel: import("mongoose").Model<{
3114
3439
  username: string;
3115
3440
  apiToken: string;
3116
3441
  flags?: number | null | undefined;
3117
- verified?: boolean | null | undefined;
3118
3442
  connections?: {
3119
3443
  discord?: {
3120
3444
  id?: string | null | undefined;
@@ -3127,14 +3451,13 @@ export declare const UserModel: import("mongoose").Model<{
3127
3451
  verified?: boolean | null | undefined;
3128
3452
  } | null | undefined;
3129
3453
  } | null | undefined;
3130
- }>, {}> & import("mongoose").FlatRecord<{
3454
+ }>, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").FlatRecord<{
3131
3455
  password: string;
3132
3456
  email: string;
3133
3457
  token: string;
3134
3458
  username: string;
3135
3459
  apiToken: string;
3136
3460
  flags?: number | null | undefined;
3137
- verified?: boolean | null | undefined;
3138
3461
  connections?: {
3139
3462
  discord?: {
3140
3463
  id?: string | null | undefined;
@@ -3152,14 +3475,13 @@ export declare const UserModel: import("mongoose").Model<{
3152
3475
  } & {
3153
3476
  __v: number;
3154
3477
  }) | null>;
3155
- findByAPIToken: (this: import("mongoose").Model<import("mongoose").FlatRecord<{
3478
+ findByAPIToken: (this: import("mongoose").Model<{
3156
3479
  password: string;
3157
3480
  email: string;
3158
3481
  token: string;
3159
3482
  username: string;
3160
3483
  apiToken: string;
3161
3484
  flags?: number | null | undefined;
3162
- verified?: boolean | null | undefined;
3163
3485
  connections?: {
3164
3486
  discord?: {
3165
3487
  id?: string | null | undefined;
@@ -3172,14 +3494,13 @@ export declare const UserModel: import("mongoose").Model<{
3172
3494
  verified?: boolean | null | undefined;
3173
3495
  } | null | undefined;
3174
3496
  } | null | undefined;
3175
- }>, {}, {}, {}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
3497
+ }, {}, {}, {}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
3176
3498
  password: string;
3177
3499
  email: string;
3178
3500
  token: string;
3179
3501
  username: string;
3180
3502
  apiToken: string;
3181
3503
  flags?: number | null | undefined;
3182
- verified?: boolean | null | undefined;
3183
3504
  connections?: {
3184
3505
  discord?: {
3185
3506
  id?: string | null | undefined;
@@ -3192,14 +3513,13 @@ export declare const UserModel: import("mongoose").Model<{
3192
3513
  verified?: boolean | null | undefined;
3193
3514
  } | null | undefined;
3194
3515
  } | null | undefined;
3195
- }>, {}> & import("mongoose").FlatRecord<{
3516
+ }>, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").FlatRecord<{
3196
3517
  password: string;
3197
3518
  email: string;
3198
3519
  token: string;
3199
3520
  username: string;
3200
3521
  apiToken: string;
3201
3522
  flags?: number | null | undefined;
3202
- verified?: boolean | null | undefined;
3203
3523
  connections?: {
3204
3524
  discord?: {
3205
3525
  id?: string | null | undefined;
@@ -3223,7 +3543,6 @@ export declare const UserModel: import("mongoose").Model<{
3223
3543
  username: string;
3224
3544
  apiToken: string;
3225
3545
  flags?: number | null | undefined;
3226
- verified?: boolean | null | undefined;
3227
3546
  connections?: {
3228
3547
  discord?: {
3229
3548
  id?: string | null | undefined;
@@ -3236,14 +3555,13 @@ export declare const UserModel: import("mongoose").Model<{
3236
3555
  verified?: boolean | null | undefined;
3237
3556
  } | null | undefined;
3238
3557
  } | null | undefined;
3239
- }>, {}> & import("mongoose").FlatRecord<{
3558
+ }>, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").FlatRecord<{
3240
3559
  password: string;
3241
3560
  email: string;
3242
3561
  token: string;
3243
3562
  username: string;
3244
3563
  apiToken: string;
3245
3564
  flags?: number | null | undefined;
3246
- verified?: boolean | null | undefined;
3247
3565
  connections?: {
3248
3566
  discord?: {
3249
3567
  id?: string | null | undefined;
@@ -3263,14 +3581,13 @@ export declare const UserModel: import("mongoose").Model<{
3263
3581
  }) | null>;
3264
3582
  }, {
3265
3583
  statics: {
3266
- verifyPassword(this: import("mongoose").Model<import("mongoose").FlatRecord<{
3584
+ verifyPassword(this: import("mongoose").Model<{
3267
3585
  password: string;
3268
3586
  email: string;
3269
3587
  token: string;
3270
3588
  username: string;
3271
3589
  apiToken: string;
3272
3590
  flags?: number | null | undefined;
3273
- verified?: boolean | null | undefined;
3274
3591
  connections?: {
3275
3592
  discord?: {
3276
3593
  id?: string | null | undefined;
@@ -3283,14 +3600,13 @@ export declare const UserModel: import("mongoose").Model<{
3283
3600
  verified?: boolean | null | undefined;
3284
3601
  } | null | undefined;
3285
3602
  } | null | undefined;
3286
- }>, {}, {}, {}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
3603
+ }, {}, {}, {}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
3287
3604
  password: string;
3288
3605
  email: string;
3289
3606
  token: string;
3290
3607
  username: string;
3291
3608
  apiToken: string;
3292
3609
  flags?: number | null | undefined;
3293
- verified?: boolean | null | undefined;
3294
3610
  connections?: {
3295
3611
  discord?: {
3296
3612
  id?: string | null | undefined;
@@ -3303,14 +3619,13 @@ export declare const UserModel: import("mongoose").Model<{
3303
3619
  verified?: boolean | null | undefined;
3304
3620
  } | null | undefined;
3305
3621
  } | null | undefined;
3306
- }>, {}> & import("mongoose").FlatRecord<{
3622
+ }>, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").FlatRecord<{
3307
3623
  password: string;
3308
3624
  email: string;
3309
3625
  token: string;
3310
3626
  username: string;
3311
3627
  apiToken: string;
3312
3628
  flags?: number | null | undefined;
3313
- verified?: boolean | null | undefined;
3314
3629
  connections?: {
3315
3630
  discord?: {
3316
3631
  id?: string | null | undefined;
@@ -3328,14 +3643,13 @@ export declare const UserModel: import("mongoose").Model<{
3328
3643
  } & {
3329
3644
  __v: number;
3330
3645
  }, any>, password: string, hash: string): Promise<boolean>;
3331
- findByToken(this: import("mongoose").Model<import("mongoose").FlatRecord<{
3646
+ findByToken(this: import("mongoose").Model<{
3332
3647
  password: string;
3333
3648
  email: string;
3334
3649
  token: string;
3335
3650
  username: string;
3336
3651
  apiToken: string;
3337
3652
  flags?: number | null | undefined;
3338
- verified?: boolean | null | undefined;
3339
3653
  connections?: {
3340
3654
  discord?: {
3341
3655
  id?: string | null | undefined;
@@ -3348,14 +3662,13 @@ export declare const UserModel: import("mongoose").Model<{
3348
3662
  verified?: boolean | null | undefined;
3349
3663
  } | null | undefined;
3350
3664
  } | null | undefined;
3351
- }>, {}, {}, {}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
3665
+ }, {}, {}, {}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
3352
3666
  password: string;
3353
3667
  email: string;
3354
3668
  token: string;
3355
3669
  username: string;
3356
3670
  apiToken: string;
3357
3671
  flags?: number | null | undefined;
3358
- verified?: boolean | null | undefined;
3359
3672
  connections?: {
3360
3673
  discord?: {
3361
3674
  id?: string | null | undefined;
@@ -3368,14 +3681,13 @@ export declare const UserModel: import("mongoose").Model<{
3368
3681
  verified?: boolean | null | undefined;
3369
3682
  } | null | undefined;
3370
3683
  } | null | undefined;
3371
- }>, {}> & import("mongoose").FlatRecord<{
3684
+ }>, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").FlatRecord<{
3372
3685
  password: string;
3373
3686
  email: string;
3374
3687
  token: string;
3375
3688
  username: string;
3376
3689
  apiToken: string;
3377
3690
  flags?: number | null | undefined;
3378
- verified?: boolean | null | undefined;
3379
3691
  connections?: {
3380
3692
  discord?: {
3381
3693
  id?: string | null | undefined;
@@ -3399,7 +3711,6 @@ export declare const UserModel: import("mongoose").Model<{
3399
3711
  username: string;
3400
3712
  apiToken: string;
3401
3713
  flags?: number | null | undefined;
3402
- verified?: boolean | null | undefined;
3403
3714
  connections?: {
3404
3715
  discord?: {
3405
3716
  id?: string | null | undefined;
@@ -3412,14 +3723,13 @@ export declare const UserModel: import("mongoose").Model<{
3412
3723
  verified?: boolean | null | undefined;
3413
3724
  } | null | undefined;
3414
3725
  } | null | undefined;
3415
- }>, {}> & import("mongoose").FlatRecord<{
3726
+ }>, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").FlatRecord<{
3416
3727
  password: string;
3417
3728
  email: string;
3418
3729
  token: string;
3419
3730
  username: string;
3420
3731
  apiToken: string;
3421
3732
  flags?: number | null | undefined;
3422
- verified?: boolean | null | undefined;
3423
3733
  connections?: {
3424
3734
  discord?: {
3425
3735
  id?: string | null | undefined;
@@ -3437,14 +3747,13 @@ export declare const UserModel: import("mongoose").Model<{
3437
3747
  } & {
3438
3748
  __v: number;
3439
3749
  }) | null>;
3440
- findByAPIToken(this: import("mongoose").Model<import("mongoose").FlatRecord<{
3750
+ findByAPIToken(this: import("mongoose").Model<{
3441
3751
  password: string;
3442
3752
  email: string;
3443
3753
  token: string;
3444
3754
  username: string;
3445
3755
  apiToken: string;
3446
3756
  flags?: number | null | undefined;
3447
- verified?: boolean | null | undefined;
3448
3757
  connections?: {
3449
3758
  discord?: {
3450
3759
  id?: string | null | undefined;
@@ -3457,14 +3766,13 @@ export declare const UserModel: import("mongoose").Model<{
3457
3766
  verified?: boolean | null | undefined;
3458
3767
  } | null | undefined;
3459
3768
  } | null | undefined;
3460
- }>, {}, {}, {}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
3769
+ }, {}, {}, {}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
3461
3770
  password: string;
3462
3771
  email: string;
3463
3772
  token: string;
3464
3773
  username: string;
3465
3774
  apiToken: string;
3466
3775
  flags?: number | null | undefined;
3467
- verified?: boolean | null | undefined;
3468
3776
  connections?: {
3469
3777
  discord?: {
3470
3778
  id?: string | null | undefined;
@@ -3477,14 +3785,13 @@ export declare const UserModel: import("mongoose").Model<{
3477
3785
  verified?: boolean | null | undefined;
3478
3786
  } | null | undefined;
3479
3787
  } | null | undefined;
3480
- }>, {}> & import("mongoose").FlatRecord<{
3788
+ }>, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").FlatRecord<{
3481
3789
  password: string;
3482
3790
  email: string;
3483
3791
  token: string;
3484
3792
  username: string;
3485
3793
  apiToken: string;
3486
3794
  flags?: number | null | undefined;
3487
- verified?: boolean | null | undefined;
3488
3795
  connections?: {
3489
3796
  discord?: {
3490
3797
  id?: string | null | undefined;
@@ -3508,7 +3815,6 @@ export declare const UserModel: import("mongoose").Model<{
3508
3815
  username: string;
3509
3816
  apiToken: string;
3510
3817
  flags?: number | null | undefined;
3511
- verified?: boolean | null | undefined;
3512
3818
  connections?: {
3513
3819
  discord?: {
3514
3820
  id?: string | null | undefined;
@@ -3521,14 +3827,13 @@ export declare const UserModel: import("mongoose").Model<{
3521
3827
  verified?: boolean | null | undefined;
3522
3828
  } | null | undefined;
3523
3829
  } | null | undefined;
3524
- }>, {}> & import("mongoose").FlatRecord<{
3830
+ }>, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").FlatRecord<{
3525
3831
  password: string;
3526
3832
  email: string;
3527
3833
  token: string;
3528
3834
  username: string;
3529
3835
  apiToken: string;
3530
3836
  flags?: number | null | undefined;
3531
- verified?: boolean | null | undefined;
3532
3837
  connections?: {
3533
3838
  discord?: {
3534
3839
  id?: string | null | undefined;
@@ -3554,7 +3859,6 @@ export declare const UserModel: import("mongoose").Model<{
3554
3859
  username: string;
3555
3860
  apiToken: string;
3556
3861
  flags?: number | null | undefined;
3557
- verified?: boolean | null | undefined;
3558
3862
  connections?: {
3559
3863
  discord?: {
3560
3864
  id?: string | null | undefined;
@@ -3574,7 +3878,6 @@ export declare const UserModel: import("mongoose").Model<{
3574
3878
  username: string;
3575
3879
  apiToken: string;
3576
3880
  flags?: number | null | undefined;
3577
- verified?: boolean | null | undefined;
3578
3881
  connections?: {
3579
3882
  discord?: {
3580
3883
  id?: string | null | undefined;
@@ -3587,14 +3890,13 @@ export declare const UserModel: import("mongoose").Model<{
3587
3890
  verified?: boolean | null | undefined;
3588
3891
  } | null | undefined;
3589
3892
  } | null | undefined;
3590
- }>, {}> & import("mongoose").FlatRecord<{
3893
+ }>, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").FlatRecord<{
3591
3894
  password: string;
3592
3895
  email: string;
3593
3896
  token: string;
3594
3897
  username: string;
3595
3898
  apiToken: string;
3596
3899
  flags?: number | null | undefined;
3597
- verified?: boolean | null | undefined;
3598
3900
  connections?: {
3599
3901
  discord?: {
3600
3902
  id?: string | null | undefined;
@@ -3612,14 +3914,13 @@ export declare const UserModel: import("mongoose").Model<{
3612
3914
  } & {
3613
3915
  __v: number;
3614
3916
  }>> & {
3615
- verifyPassword: (this: import("mongoose").Model<import("mongoose").FlatRecord<{
3917
+ verifyPassword: (this: import("mongoose").Model<{
3616
3918
  password: string;
3617
3919
  email: string;
3618
3920
  token: string;
3619
3921
  username: string;
3620
3922
  apiToken: string;
3621
3923
  flags?: number | null | undefined;
3622
- verified?: boolean | null | undefined;
3623
3924
  connections?: {
3624
3925
  discord?: {
3625
3926
  id?: string | null | undefined;
@@ -3632,14 +3933,13 @@ export declare const UserModel: import("mongoose").Model<{
3632
3933
  verified?: boolean | null | undefined;
3633
3934
  } | null | undefined;
3634
3935
  } | null | undefined;
3635
- }>, {}, {}, {}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
3936
+ }, {}, {}, {}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
3636
3937
  password: string;
3637
3938
  email: string;
3638
3939
  token: string;
3639
3940
  username: string;
3640
3941
  apiToken: string;
3641
3942
  flags?: number | null | undefined;
3642
- verified?: boolean | null | undefined;
3643
3943
  connections?: {
3644
3944
  discord?: {
3645
3945
  id?: string | null | undefined;
@@ -3652,14 +3952,13 @@ export declare const UserModel: import("mongoose").Model<{
3652
3952
  verified?: boolean | null | undefined;
3653
3953
  } | null | undefined;
3654
3954
  } | null | undefined;
3655
- }>, {}> & import("mongoose").FlatRecord<{
3955
+ }>, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").FlatRecord<{
3656
3956
  password: string;
3657
3957
  email: string;
3658
3958
  token: string;
3659
3959
  username: string;
3660
3960
  apiToken: string;
3661
3961
  flags?: number | null | undefined;
3662
- verified?: boolean | null | undefined;
3663
3962
  connections?: {
3664
3963
  discord?: {
3665
3964
  id?: string | null | undefined;
@@ -3677,14 +3976,13 @@ export declare const UserModel: import("mongoose").Model<{
3677
3976
  } & {
3678
3977
  __v: number;
3679
3978
  }, any>, password: string, hash: string) => Promise<boolean>;
3680
- findByToken: (this: import("mongoose").Model<import("mongoose").FlatRecord<{
3979
+ findByToken: (this: import("mongoose").Model<{
3681
3980
  password: string;
3682
3981
  email: string;
3683
3982
  token: string;
3684
3983
  username: string;
3685
3984
  apiToken: string;
3686
3985
  flags?: number | null | undefined;
3687
- verified?: boolean | null | undefined;
3688
3986
  connections?: {
3689
3987
  discord?: {
3690
3988
  id?: string | null | undefined;
@@ -3697,14 +3995,13 @@ export declare const UserModel: import("mongoose").Model<{
3697
3995
  verified?: boolean | null | undefined;
3698
3996
  } | null | undefined;
3699
3997
  } | null | undefined;
3700
- }>, {}, {}, {}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
3998
+ }, {}, {}, {}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
3701
3999
  password: string;
3702
4000
  email: string;
3703
4001
  token: string;
3704
4002
  username: string;
3705
4003
  apiToken: string;
3706
4004
  flags?: number | null | undefined;
3707
- verified?: boolean | null | undefined;
3708
4005
  connections?: {
3709
4006
  discord?: {
3710
4007
  id?: string | null | undefined;
@@ -3717,14 +4014,13 @@ export declare const UserModel: import("mongoose").Model<{
3717
4014
  verified?: boolean | null | undefined;
3718
4015
  } | null | undefined;
3719
4016
  } | null | undefined;
3720
- }>, {}> & import("mongoose").FlatRecord<{
4017
+ }>, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").FlatRecord<{
3721
4018
  password: string;
3722
4019
  email: string;
3723
4020
  token: string;
3724
4021
  username: string;
3725
4022
  apiToken: string;
3726
4023
  flags?: number | null | undefined;
3727
- verified?: boolean | null | undefined;
3728
4024
  connections?: {
3729
4025
  discord?: {
3730
4026
  id?: string | null | undefined;
@@ -3748,7 +4044,6 @@ export declare const UserModel: import("mongoose").Model<{
3748
4044
  username: string;
3749
4045
  apiToken: string;
3750
4046
  flags?: number | null | undefined;
3751
- verified?: boolean | null | undefined;
3752
4047
  connections?: {
3753
4048
  discord?: {
3754
4049
  id?: string | null | undefined;
@@ -3761,14 +4056,13 @@ export declare const UserModel: import("mongoose").Model<{
3761
4056
  verified?: boolean | null | undefined;
3762
4057
  } | null | undefined;
3763
4058
  } | null | undefined;
3764
- }>, {}> & import("mongoose").FlatRecord<{
4059
+ }>, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").FlatRecord<{
3765
4060
  password: string;
3766
4061
  email: string;
3767
4062
  token: string;
3768
4063
  username: string;
3769
4064
  apiToken: string;
3770
4065
  flags?: number | null | undefined;
3771
- verified?: boolean | null | undefined;
3772
4066
  connections?: {
3773
4067
  discord?: {
3774
4068
  id?: string | null | undefined;
@@ -3786,14 +4080,13 @@ export declare const UserModel: import("mongoose").Model<{
3786
4080
  } & {
3787
4081
  __v: number;
3788
4082
  }) | null>;
3789
- findByAPIToken: (this: import("mongoose").Model<import("mongoose").FlatRecord<{
4083
+ findByAPIToken: (this: import("mongoose").Model<{
3790
4084
  password: string;
3791
4085
  email: string;
3792
4086
  token: string;
3793
4087
  username: string;
3794
4088
  apiToken: string;
3795
4089
  flags?: number | null | undefined;
3796
- verified?: boolean | null | undefined;
3797
4090
  connections?: {
3798
4091
  discord?: {
3799
4092
  id?: string | null | undefined;
@@ -3806,14 +4099,13 @@ export declare const UserModel: import("mongoose").Model<{
3806
4099
  verified?: boolean | null | undefined;
3807
4100
  } | null | undefined;
3808
4101
  } | null | undefined;
3809
- }>, {}, {}, {}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
4102
+ }, {}, {}, {}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
3810
4103
  password: string;
3811
4104
  email: string;
3812
4105
  token: string;
3813
4106
  username: string;
3814
4107
  apiToken: string;
3815
4108
  flags?: number | null | undefined;
3816
- verified?: boolean | null | undefined;
3817
4109
  connections?: {
3818
4110
  discord?: {
3819
4111
  id?: string | null | undefined;
@@ -3826,14 +4118,13 @@ export declare const UserModel: import("mongoose").Model<{
3826
4118
  verified?: boolean | null | undefined;
3827
4119
  } | null | undefined;
3828
4120
  } | null | undefined;
3829
- }>, {}> & import("mongoose").FlatRecord<{
4121
+ }>, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").FlatRecord<{
3830
4122
  password: string;
3831
4123
  email: string;
3832
4124
  token: string;
3833
4125
  username: string;
3834
4126
  apiToken: string;
3835
4127
  flags?: number | null | undefined;
3836
- verified?: boolean | null | undefined;
3837
4128
  connections?: {
3838
4129
  discord?: {
3839
4130
  id?: string | null | undefined;
@@ -3857,7 +4148,6 @@ export declare const UserModel: import("mongoose").Model<{
3857
4148
  username: string;
3858
4149
  apiToken: string;
3859
4150
  flags?: number | null | undefined;
3860
- verified?: boolean | null | undefined;
3861
4151
  connections?: {
3862
4152
  discord?: {
3863
4153
  id?: string | null | undefined;
@@ -3870,14 +4160,13 @@ export declare const UserModel: import("mongoose").Model<{
3870
4160
  verified?: boolean | null | undefined;
3871
4161
  } | null | undefined;
3872
4162
  } | null | undefined;
3873
- }>, {}> & import("mongoose").FlatRecord<{
4163
+ }>, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").FlatRecord<{
3874
4164
  password: string;
3875
4165
  email: string;
3876
4166
  token: string;
3877
4167
  username: string;
3878
4168
  apiToken: string;
3879
4169
  flags?: number | null | undefined;
3880
- verified?: boolean | null | undefined;
3881
4170
  connections?: {
3882
4171
  discord?: {
3883
4172
  id?: string | null | undefined;