@fnlb-project/database 1.0.4 → 1.0.6

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.
@@ -0,0 +1,2247 @@
1
+ // Generated by dts-bundle-generator v9.5.1
2
+
3
+ import { CategoryConfigPartyPrivacy } from '@fnlb-project/shared/types';
4
+ import { Schema } from 'mongoose';
5
+
6
+ export declare class DatabaseClient {
7
+ connect(dbURI: string): Promise<void>;
8
+ }
9
+ export declare const BotModel: import("mongoose").Model<{
10
+ owner: import("mongoose").Types.ObjectId;
11
+ type: number;
12
+ nickname: string;
13
+ deviceAuth: {
14
+ accountId: string;
15
+ deviceId: string;
16
+ secret: string;
17
+ };
18
+ parent?: import("mongoose").Types.ObjectId | null | undefined;
19
+ email?: string | null | undefined;
20
+ disabled?: boolean | null | undefined;
21
+ }, {}, {}, {}, import("mongoose").Document<unknown, {}, {
22
+ owner: import("mongoose").Types.ObjectId;
23
+ type: number;
24
+ nickname: string;
25
+ deviceAuth: {
26
+ accountId: string;
27
+ deviceId: string;
28
+ secret: string;
29
+ };
30
+ parent?: import("mongoose").Types.ObjectId | null | undefined;
31
+ email?: string | null | undefined;
32
+ disabled?: boolean | null | undefined;
33
+ }> & {
34
+ owner: import("mongoose").Types.ObjectId;
35
+ type: number;
36
+ nickname: string;
37
+ deviceAuth: {
38
+ accountId: string;
39
+ deviceId: string;
40
+ secret: string;
41
+ };
42
+ parent?: import("mongoose").Types.ObjectId | null | undefined;
43
+ email?: string | null | undefined;
44
+ disabled?: boolean | null | undefined;
45
+ } & {
46
+ _id: import("mongoose").Types.ObjectId;
47
+ } & {
48
+ __v: number;
49
+ }, Schema<any, import("mongoose").Model<any, any, any, any, any, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, {
50
+ owner: import("mongoose").Types.ObjectId;
51
+ type: number;
52
+ nickname: string;
53
+ deviceAuth: {
54
+ accountId: string;
55
+ deviceId: string;
56
+ secret: string;
57
+ };
58
+ parent?: import("mongoose").Types.ObjectId | null | undefined;
59
+ email?: string | null | undefined;
60
+ disabled?: boolean | null | undefined;
61
+ }, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
62
+ owner: import("mongoose").Types.ObjectId;
63
+ type: number;
64
+ nickname: string;
65
+ deviceAuth: {
66
+ accountId: string;
67
+ deviceId: string;
68
+ secret: string;
69
+ };
70
+ parent?: import("mongoose").Types.ObjectId | null | undefined;
71
+ email?: string | null | undefined;
72
+ disabled?: boolean | null | undefined;
73
+ }>> & import("mongoose").FlatRecord<{
74
+ owner: import("mongoose").Types.ObjectId;
75
+ type: number;
76
+ nickname: string;
77
+ deviceAuth: {
78
+ accountId: string;
79
+ deviceId: string;
80
+ secret: string;
81
+ };
82
+ parent?: import("mongoose").Types.ObjectId | null | undefined;
83
+ email?: string | null | undefined;
84
+ disabled?: boolean | null | undefined;
85
+ }> & {
86
+ _id: import("mongoose").Types.ObjectId;
87
+ } & {
88
+ __v: number;
89
+ }>>;
90
+ export declare const CategoryModel: import("mongoose").Model<{
91
+ owner: import("mongoose").Types.ObjectId;
92
+ name: string;
93
+ disabled?: boolean | null | undefined;
94
+ config?: {
95
+ replyLangs: string[];
96
+ searchLangs: string[];
97
+ platform: string[];
98
+ prefixes: string[];
99
+ extraOwners: string[];
100
+ admins: string[];
101
+ whitelistUsers: string[];
102
+ blacklistUsers: string[];
103
+ excludedAutoAddFriends: string[];
104
+ otherBots: string[];
105
+ statusText: string[];
106
+ statusInterval: number[];
107
+ level: number[];
108
+ bpLevel: number[];
109
+ disableMatchmakingChecks: boolean[];
110
+ disableJoinMessages: boolean[];
111
+ usernameTriggers: import("mongoose").Types.DocumentArray<{
112
+ triggers: string[];
113
+ detectionMethods: number[];
114
+ actions: number[];
115
+ messages: string[];
116
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
117
+ triggers: string[];
118
+ detectionMethods: number[];
119
+ actions: number[];
120
+ messages: string[];
121
+ }> & {
122
+ triggers: string[];
123
+ detectionMethods: number[];
124
+ actions: number[];
125
+ messages: string[];
126
+ }>;
127
+ messageContentTriggers: import("mongoose").Types.DocumentArray<{
128
+ triggers: string[];
129
+ detectionMethods: number[];
130
+ actions: number[];
131
+ messages: string[];
132
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
133
+ triggers: string[];
134
+ detectionMethods: number[];
135
+ actions: number[];
136
+ messages: string[];
137
+ }> & {
138
+ triggers: string[];
139
+ detectionMethods: number[];
140
+ actions: number[];
141
+ messages: string[];
142
+ }>;
143
+ cosmeticTriggers: import("mongoose").Types.DocumentArray<{
144
+ triggers: string[];
145
+ detectionMethods: number[];
146
+ actions: number[];
147
+ messages: string[];
148
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
149
+ triggers: string[];
150
+ detectionMethods: number[];
151
+ actions: number[];
152
+ messages: string[];
153
+ }> & {
154
+ triggers: string[];
155
+ detectionMethods: number[];
156
+ actions: number[];
157
+ messages: string[];
158
+ }>;
159
+ addFriendTrigger: import("mongoose").Types.DocumentArray<{
160
+ actions: number[];
161
+ messages: string[];
162
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
163
+ actions: number[];
164
+ messages: string[];
165
+ }> & {
166
+ actions: number[];
167
+ messages: string[];
168
+ }>;
169
+ memberJoinTrigger: import("mongoose").Types.DocumentArray<{
170
+ actions: number[];
171
+ messages: string[];
172
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
173
+ actions: number[];
174
+ messages: string[];
175
+ }> & {
176
+ actions: number[];
177
+ messages: string[];
178
+ }>;
179
+ changeCosmeticTrigger: import("mongoose").Types.DocumentArray<{
180
+ actions: number[];
181
+ messages: string[];
182
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
183
+ actions: number[];
184
+ messages: string[];
185
+ }> & {
186
+ actions: number[];
187
+ messages: string[];
188
+ }>;
189
+ onlyOwnerCommands: string[];
190
+ onlyAdminCommands: string[];
191
+ onlyWhitelistUsersCommands: string[];
192
+ onlyFriendsCommands: string[];
193
+ onlyPartyMembersCommands: string[];
194
+ onlyWhisperCommands: string[];
195
+ startOutfit: string[];
196
+ startOutfitVariants: import("mongoose").Types.DocumentArray<{
197
+ 1: unknown;
198
+ 0: number[];
199
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
200
+ 1: unknown;
201
+ 0: number[];
202
+ }> & {
203
+ 1: unknown;
204
+ 0: number[];
205
+ }>;
206
+ startBackpack: string[];
207
+ startBackpackVariants: import("mongoose").Types.DocumentArray<{
208
+ 1: unknown;
209
+ 0: number[];
210
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
211
+ 1: unknown;
212
+ 0: number[];
213
+ }> & {
214
+ 1: unknown;
215
+ 0: number[];
216
+ }>;
217
+ startPickaxe: string[];
218
+ startPickaxeVariants: import("mongoose").Types.DocumentArray<{
219
+ 1: unknown;
220
+ 0: number[];
221
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
222
+ 1: unknown;
223
+ 0: number[];
224
+ }> & {
225
+ 1: unknown;
226
+ 0: number[];
227
+ }>;
228
+ startBanner: string[];
229
+ joinOutfit: string[];
230
+ joinOutfitVariants: import("mongoose").Types.DocumentArray<{
231
+ 1: unknown;
232
+ 0: number[];
233
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
234
+ 1: unknown;
235
+ 0: number[];
236
+ }> & {
237
+ 1: unknown;
238
+ 0: number[];
239
+ }>;
240
+ joinBackpack: string[];
241
+ joinBackpackVariants: import("mongoose").Types.DocumentArray<{
242
+ 1: unknown;
243
+ 0: number[];
244
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
245
+ 1: unknown;
246
+ 0: number[];
247
+ }> & {
248
+ 1: unknown;
249
+ 0: number[];
250
+ }>;
251
+ joinPickaxe: string[];
252
+ joinPickaxeVariants: import("mongoose").Types.DocumentArray<{
253
+ 1: unknown;
254
+ 0: number[];
255
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
256
+ 1: unknown;
257
+ 0: number[];
258
+ }> & {
259
+ 1: unknown;
260
+ 0: number[];
261
+ }>;
262
+ joinEmote: string[];
263
+ joinEmoji: string[];
264
+ joinBanner: string[];
265
+ memberJoinOutfit: string[];
266
+ memberJoinOutfitVariants: import("mongoose").Types.DocumentArray<{
267
+ 1: unknown;
268
+ 0: number[];
269
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
270
+ 1: unknown;
271
+ 0: number[];
272
+ }> & {
273
+ 1: unknown;
274
+ 0: number[];
275
+ }>;
276
+ memberJoinBackpack: string[];
277
+ memberJoinBackpackVariants: import("mongoose").Types.DocumentArray<{
278
+ 1: unknown;
279
+ 0: number[];
280
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
281
+ 1: unknown;
282
+ 0: number[];
283
+ }> & {
284
+ 1: unknown;
285
+ 0: number[];
286
+ }>;
287
+ memberJoinPickaxe: string[];
288
+ memberJoinPickaxeVariants: import("mongoose").Types.DocumentArray<{
289
+ 1: unknown;
290
+ 0: number[];
291
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
292
+ 1: unknown;
293
+ 0: number[];
294
+ }> & {
295
+ 1: unknown;
296
+ 0: number[];
297
+ }>;
298
+ memberJoinEmote: string[];
299
+ memberJoinEmoji: string[];
300
+ memberJoinBanner: string[];
301
+ privacy?: string | CategoryConfigPartyPrivacy | null | undefined;
302
+ inviteTimeout?: number | null | undefined;
303
+ maxBotsPerLobby?: number | null | undefined;
304
+ maxBotsPerLobbyWithOwner?: number | null | undefined;
305
+ maxBotsPerLobbyWithAdmin?: number | null | undefined;
306
+ maxBotsPerLobbyWithWhitelistUser?: number | null | undefined;
307
+ allowMatchmaking?: boolean | null | undefined;
308
+ acceptFriendRequests?: boolean | null | undefined;
309
+ sendFriendRequestOnJoinParty?: boolean | null | undefined;
310
+ sendFriendRequestOnMemberJoinParty?: boolean | null | undefined;
311
+ runCommandsWithoutPrefix?: boolean | null | undefined;
312
+ setCosmeticsWithoutCommands?: boolean | null | undefined;
313
+ } | null | undefined;
314
+ }, {}, {}, {}, import("mongoose").Document<unknown, {}, {
315
+ owner: import("mongoose").Types.ObjectId;
316
+ name: string;
317
+ disabled?: boolean | null | undefined;
318
+ config?: {
319
+ replyLangs: string[];
320
+ searchLangs: string[];
321
+ platform: string[];
322
+ prefixes: string[];
323
+ extraOwners: string[];
324
+ admins: string[];
325
+ whitelistUsers: string[];
326
+ blacklistUsers: string[];
327
+ excludedAutoAddFriends: string[];
328
+ otherBots: string[];
329
+ statusText: string[];
330
+ statusInterval: number[];
331
+ level: number[];
332
+ bpLevel: number[];
333
+ disableMatchmakingChecks: boolean[];
334
+ disableJoinMessages: boolean[];
335
+ usernameTriggers: import("mongoose").Types.DocumentArray<{
336
+ triggers: string[];
337
+ detectionMethods: number[];
338
+ actions: number[];
339
+ messages: string[];
340
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
341
+ triggers: string[];
342
+ detectionMethods: number[];
343
+ actions: number[];
344
+ messages: string[];
345
+ }> & {
346
+ triggers: string[];
347
+ detectionMethods: number[];
348
+ actions: number[];
349
+ messages: string[];
350
+ }>;
351
+ messageContentTriggers: import("mongoose").Types.DocumentArray<{
352
+ triggers: string[];
353
+ detectionMethods: number[];
354
+ actions: number[];
355
+ messages: string[];
356
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
357
+ triggers: string[];
358
+ detectionMethods: number[];
359
+ actions: number[];
360
+ messages: string[];
361
+ }> & {
362
+ triggers: string[];
363
+ detectionMethods: number[];
364
+ actions: number[];
365
+ messages: string[];
366
+ }>;
367
+ cosmeticTriggers: import("mongoose").Types.DocumentArray<{
368
+ triggers: string[];
369
+ detectionMethods: number[];
370
+ actions: number[];
371
+ messages: string[];
372
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
373
+ triggers: string[];
374
+ detectionMethods: number[];
375
+ actions: number[];
376
+ messages: string[];
377
+ }> & {
378
+ triggers: string[];
379
+ detectionMethods: number[];
380
+ actions: number[];
381
+ messages: string[];
382
+ }>;
383
+ addFriendTrigger: import("mongoose").Types.DocumentArray<{
384
+ actions: number[];
385
+ messages: string[];
386
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
387
+ actions: number[];
388
+ messages: string[];
389
+ }> & {
390
+ actions: number[];
391
+ messages: string[];
392
+ }>;
393
+ memberJoinTrigger: import("mongoose").Types.DocumentArray<{
394
+ actions: number[];
395
+ messages: string[];
396
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
397
+ actions: number[];
398
+ messages: string[];
399
+ }> & {
400
+ actions: number[];
401
+ messages: string[];
402
+ }>;
403
+ changeCosmeticTrigger: import("mongoose").Types.DocumentArray<{
404
+ actions: number[];
405
+ messages: string[];
406
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
407
+ actions: number[];
408
+ messages: string[];
409
+ }> & {
410
+ actions: number[];
411
+ messages: string[];
412
+ }>;
413
+ onlyOwnerCommands: string[];
414
+ onlyAdminCommands: string[];
415
+ onlyWhitelistUsersCommands: string[];
416
+ onlyFriendsCommands: string[];
417
+ onlyPartyMembersCommands: string[];
418
+ onlyWhisperCommands: string[];
419
+ startOutfit: string[];
420
+ startOutfitVariants: import("mongoose").Types.DocumentArray<{
421
+ 1: unknown;
422
+ 0: number[];
423
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
424
+ 1: unknown;
425
+ 0: number[];
426
+ }> & {
427
+ 1: unknown;
428
+ 0: number[];
429
+ }>;
430
+ startBackpack: string[];
431
+ startBackpackVariants: import("mongoose").Types.DocumentArray<{
432
+ 1: unknown;
433
+ 0: number[];
434
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
435
+ 1: unknown;
436
+ 0: number[];
437
+ }> & {
438
+ 1: unknown;
439
+ 0: number[];
440
+ }>;
441
+ startPickaxe: string[];
442
+ startPickaxeVariants: import("mongoose").Types.DocumentArray<{
443
+ 1: unknown;
444
+ 0: number[];
445
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
446
+ 1: unknown;
447
+ 0: number[];
448
+ }> & {
449
+ 1: unknown;
450
+ 0: number[];
451
+ }>;
452
+ startBanner: string[];
453
+ joinOutfit: string[];
454
+ joinOutfitVariants: import("mongoose").Types.DocumentArray<{
455
+ 1: unknown;
456
+ 0: number[];
457
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
458
+ 1: unknown;
459
+ 0: number[];
460
+ }> & {
461
+ 1: unknown;
462
+ 0: number[];
463
+ }>;
464
+ joinBackpack: string[];
465
+ joinBackpackVariants: import("mongoose").Types.DocumentArray<{
466
+ 1: unknown;
467
+ 0: number[];
468
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
469
+ 1: unknown;
470
+ 0: number[];
471
+ }> & {
472
+ 1: unknown;
473
+ 0: number[];
474
+ }>;
475
+ joinPickaxe: string[];
476
+ joinPickaxeVariants: import("mongoose").Types.DocumentArray<{
477
+ 1: unknown;
478
+ 0: number[];
479
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
480
+ 1: unknown;
481
+ 0: number[];
482
+ }> & {
483
+ 1: unknown;
484
+ 0: number[];
485
+ }>;
486
+ joinEmote: string[];
487
+ joinEmoji: string[];
488
+ joinBanner: string[];
489
+ memberJoinOutfit: string[];
490
+ memberJoinOutfitVariants: import("mongoose").Types.DocumentArray<{
491
+ 1: unknown;
492
+ 0: number[];
493
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
494
+ 1: unknown;
495
+ 0: number[];
496
+ }> & {
497
+ 1: unknown;
498
+ 0: number[];
499
+ }>;
500
+ memberJoinBackpack: string[];
501
+ memberJoinBackpackVariants: import("mongoose").Types.DocumentArray<{
502
+ 1: unknown;
503
+ 0: number[];
504
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
505
+ 1: unknown;
506
+ 0: number[];
507
+ }> & {
508
+ 1: unknown;
509
+ 0: number[];
510
+ }>;
511
+ memberJoinPickaxe: string[];
512
+ memberJoinPickaxeVariants: import("mongoose").Types.DocumentArray<{
513
+ 1: unknown;
514
+ 0: number[];
515
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
516
+ 1: unknown;
517
+ 0: number[];
518
+ }> & {
519
+ 1: unknown;
520
+ 0: number[];
521
+ }>;
522
+ memberJoinEmote: string[];
523
+ memberJoinEmoji: string[];
524
+ memberJoinBanner: string[];
525
+ privacy?: string | CategoryConfigPartyPrivacy | null | undefined;
526
+ inviteTimeout?: number | null | undefined;
527
+ maxBotsPerLobby?: number | null | undefined;
528
+ maxBotsPerLobbyWithOwner?: number | null | undefined;
529
+ maxBotsPerLobbyWithAdmin?: number | null | undefined;
530
+ maxBotsPerLobbyWithWhitelistUser?: number | null | undefined;
531
+ allowMatchmaking?: boolean | null | undefined;
532
+ acceptFriendRequests?: boolean | null | undefined;
533
+ sendFriendRequestOnJoinParty?: boolean | null | undefined;
534
+ sendFriendRequestOnMemberJoinParty?: boolean | null | undefined;
535
+ runCommandsWithoutPrefix?: boolean | null | undefined;
536
+ setCosmeticsWithoutCommands?: boolean | null | undefined;
537
+ } | null | undefined;
538
+ }> & {
539
+ owner: import("mongoose").Types.ObjectId;
540
+ name: string;
541
+ disabled?: boolean | null | undefined;
542
+ config?: {
543
+ replyLangs: string[];
544
+ searchLangs: string[];
545
+ platform: string[];
546
+ prefixes: string[];
547
+ extraOwners: string[];
548
+ admins: string[];
549
+ whitelistUsers: string[];
550
+ blacklistUsers: string[];
551
+ excludedAutoAddFriends: string[];
552
+ otherBots: string[];
553
+ statusText: string[];
554
+ statusInterval: number[];
555
+ level: number[];
556
+ bpLevel: number[];
557
+ disableMatchmakingChecks: boolean[];
558
+ disableJoinMessages: boolean[];
559
+ usernameTriggers: import("mongoose").Types.DocumentArray<{
560
+ triggers: string[];
561
+ detectionMethods: number[];
562
+ actions: number[];
563
+ messages: string[];
564
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
565
+ triggers: string[];
566
+ detectionMethods: number[];
567
+ actions: number[];
568
+ messages: string[];
569
+ }> & {
570
+ triggers: string[];
571
+ detectionMethods: number[];
572
+ actions: number[];
573
+ messages: string[];
574
+ }>;
575
+ messageContentTriggers: import("mongoose").Types.DocumentArray<{
576
+ triggers: string[];
577
+ detectionMethods: number[];
578
+ actions: number[];
579
+ messages: string[];
580
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
581
+ triggers: string[];
582
+ detectionMethods: number[];
583
+ actions: number[];
584
+ messages: string[];
585
+ }> & {
586
+ triggers: string[];
587
+ detectionMethods: number[];
588
+ actions: number[];
589
+ messages: string[];
590
+ }>;
591
+ cosmeticTriggers: import("mongoose").Types.DocumentArray<{
592
+ triggers: string[];
593
+ detectionMethods: number[];
594
+ actions: number[];
595
+ messages: string[];
596
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
597
+ triggers: string[];
598
+ detectionMethods: number[];
599
+ actions: number[];
600
+ messages: string[];
601
+ }> & {
602
+ triggers: string[];
603
+ detectionMethods: number[];
604
+ actions: number[];
605
+ messages: string[];
606
+ }>;
607
+ addFriendTrigger: import("mongoose").Types.DocumentArray<{
608
+ actions: number[];
609
+ messages: string[];
610
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
611
+ actions: number[];
612
+ messages: string[];
613
+ }> & {
614
+ actions: number[];
615
+ messages: string[];
616
+ }>;
617
+ memberJoinTrigger: import("mongoose").Types.DocumentArray<{
618
+ actions: number[];
619
+ messages: string[];
620
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
621
+ actions: number[];
622
+ messages: string[];
623
+ }> & {
624
+ actions: number[];
625
+ messages: string[];
626
+ }>;
627
+ changeCosmeticTrigger: import("mongoose").Types.DocumentArray<{
628
+ actions: number[];
629
+ messages: string[];
630
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
631
+ actions: number[];
632
+ messages: string[];
633
+ }> & {
634
+ actions: number[];
635
+ messages: string[];
636
+ }>;
637
+ onlyOwnerCommands: string[];
638
+ onlyAdminCommands: string[];
639
+ onlyWhitelistUsersCommands: string[];
640
+ onlyFriendsCommands: string[];
641
+ onlyPartyMembersCommands: string[];
642
+ onlyWhisperCommands: string[];
643
+ startOutfit: string[];
644
+ startOutfitVariants: import("mongoose").Types.DocumentArray<{
645
+ 1: unknown;
646
+ 0: number[];
647
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
648
+ 1: unknown;
649
+ 0: number[];
650
+ }> & {
651
+ 1: unknown;
652
+ 0: number[];
653
+ }>;
654
+ startBackpack: string[];
655
+ startBackpackVariants: import("mongoose").Types.DocumentArray<{
656
+ 1: unknown;
657
+ 0: number[];
658
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
659
+ 1: unknown;
660
+ 0: number[];
661
+ }> & {
662
+ 1: unknown;
663
+ 0: number[];
664
+ }>;
665
+ startPickaxe: string[];
666
+ startPickaxeVariants: import("mongoose").Types.DocumentArray<{
667
+ 1: unknown;
668
+ 0: number[];
669
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
670
+ 1: unknown;
671
+ 0: number[];
672
+ }> & {
673
+ 1: unknown;
674
+ 0: number[];
675
+ }>;
676
+ startBanner: string[];
677
+ joinOutfit: string[];
678
+ joinOutfitVariants: import("mongoose").Types.DocumentArray<{
679
+ 1: unknown;
680
+ 0: number[];
681
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
682
+ 1: unknown;
683
+ 0: number[];
684
+ }> & {
685
+ 1: unknown;
686
+ 0: number[];
687
+ }>;
688
+ joinBackpack: string[];
689
+ joinBackpackVariants: import("mongoose").Types.DocumentArray<{
690
+ 1: unknown;
691
+ 0: number[];
692
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
693
+ 1: unknown;
694
+ 0: number[];
695
+ }> & {
696
+ 1: unknown;
697
+ 0: number[];
698
+ }>;
699
+ joinPickaxe: string[];
700
+ joinPickaxeVariants: import("mongoose").Types.DocumentArray<{
701
+ 1: unknown;
702
+ 0: number[];
703
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
704
+ 1: unknown;
705
+ 0: number[];
706
+ }> & {
707
+ 1: unknown;
708
+ 0: number[];
709
+ }>;
710
+ joinEmote: string[];
711
+ joinEmoji: string[];
712
+ joinBanner: string[];
713
+ memberJoinOutfit: string[];
714
+ memberJoinOutfitVariants: import("mongoose").Types.DocumentArray<{
715
+ 1: unknown;
716
+ 0: number[];
717
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
718
+ 1: unknown;
719
+ 0: number[];
720
+ }> & {
721
+ 1: unknown;
722
+ 0: number[];
723
+ }>;
724
+ memberJoinBackpack: string[];
725
+ memberJoinBackpackVariants: import("mongoose").Types.DocumentArray<{
726
+ 1: unknown;
727
+ 0: number[];
728
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
729
+ 1: unknown;
730
+ 0: number[];
731
+ }> & {
732
+ 1: unknown;
733
+ 0: number[];
734
+ }>;
735
+ memberJoinPickaxe: string[];
736
+ memberJoinPickaxeVariants: import("mongoose").Types.DocumentArray<{
737
+ 1: unknown;
738
+ 0: number[];
739
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
740
+ 1: unknown;
741
+ 0: number[];
742
+ }> & {
743
+ 1: unknown;
744
+ 0: number[];
745
+ }>;
746
+ memberJoinEmote: string[];
747
+ memberJoinEmoji: string[];
748
+ memberJoinBanner: string[];
749
+ privacy?: string | CategoryConfigPartyPrivacy | null | undefined;
750
+ inviteTimeout?: number | null | undefined;
751
+ maxBotsPerLobby?: number | null | undefined;
752
+ maxBotsPerLobbyWithOwner?: number | null | undefined;
753
+ maxBotsPerLobbyWithAdmin?: number | null | undefined;
754
+ maxBotsPerLobbyWithWhitelistUser?: number | null | undefined;
755
+ allowMatchmaking?: boolean | null | undefined;
756
+ acceptFriendRequests?: boolean | null | undefined;
757
+ sendFriendRequestOnJoinParty?: boolean | null | undefined;
758
+ sendFriendRequestOnMemberJoinParty?: boolean | null | undefined;
759
+ runCommandsWithoutPrefix?: boolean | null | undefined;
760
+ setCosmeticsWithoutCommands?: boolean | null | undefined;
761
+ } | null | undefined;
762
+ } & {
763
+ _id: import("mongoose").Types.ObjectId;
764
+ } & {
765
+ __v: number;
766
+ }, Schema<any, import("mongoose").Model<any, any, any, any, any, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, {
767
+ owner: import("mongoose").Types.ObjectId;
768
+ name: string;
769
+ disabled?: boolean | null | undefined;
770
+ config?: {
771
+ replyLangs: string[];
772
+ searchLangs: string[];
773
+ platform: string[];
774
+ prefixes: string[];
775
+ extraOwners: string[];
776
+ admins: string[];
777
+ whitelistUsers: string[];
778
+ blacklistUsers: string[];
779
+ excludedAutoAddFriends: string[];
780
+ otherBots: string[];
781
+ statusText: string[];
782
+ statusInterval: number[];
783
+ level: number[];
784
+ bpLevel: number[];
785
+ disableMatchmakingChecks: boolean[];
786
+ disableJoinMessages: boolean[];
787
+ usernameTriggers: import("mongoose").Types.DocumentArray<{
788
+ triggers: string[];
789
+ detectionMethods: number[];
790
+ actions: number[];
791
+ messages: string[];
792
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
793
+ triggers: string[];
794
+ detectionMethods: number[];
795
+ actions: number[];
796
+ messages: string[];
797
+ }> & {
798
+ triggers: string[];
799
+ detectionMethods: number[];
800
+ actions: number[];
801
+ messages: string[];
802
+ }>;
803
+ messageContentTriggers: import("mongoose").Types.DocumentArray<{
804
+ triggers: string[];
805
+ detectionMethods: number[];
806
+ actions: number[];
807
+ messages: string[];
808
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
809
+ triggers: string[];
810
+ detectionMethods: number[];
811
+ actions: number[];
812
+ messages: string[];
813
+ }> & {
814
+ triggers: string[];
815
+ detectionMethods: number[];
816
+ actions: number[];
817
+ messages: string[];
818
+ }>;
819
+ cosmeticTriggers: import("mongoose").Types.DocumentArray<{
820
+ triggers: string[];
821
+ detectionMethods: number[];
822
+ actions: number[];
823
+ messages: string[];
824
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
825
+ triggers: string[];
826
+ detectionMethods: number[];
827
+ actions: number[];
828
+ messages: string[];
829
+ }> & {
830
+ triggers: string[];
831
+ detectionMethods: number[];
832
+ actions: number[];
833
+ messages: string[];
834
+ }>;
835
+ addFriendTrigger: import("mongoose").Types.DocumentArray<{
836
+ actions: number[];
837
+ messages: string[];
838
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
839
+ actions: number[];
840
+ messages: string[];
841
+ }> & {
842
+ actions: number[];
843
+ messages: string[];
844
+ }>;
845
+ memberJoinTrigger: import("mongoose").Types.DocumentArray<{
846
+ actions: number[];
847
+ messages: string[];
848
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
849
+ actions: number[];
850
+ messages: string[];
851
+ }> & {
852
+ actions: number[];
853
+ messages: string[];
854
+ }>;
855
+ changeCosmeticTrigger: import("mongoose").Types.DocumentArray<{
856
+ actions: number[];
857
+ messages: string[];
858
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
859
+ actions: number[];
860
+ messages: string[];
861
+ }> & {
862
+ actions: number[];
863
+ messages: string[];
864
+ }>;
865
+ onlyOwnerCommands: string[];
866
+ onlyAdminCommands: string[];
867
+ onlyWhitelistUsersCommands: string[];
868
+ onlyFriendsCommands: string[];
869
+ onlyPartyMembersCommands: string[];
870
+ onlyWhisperCommands: string[];
871
+ startOutfit: string[];
872
+ startOutfitVariants: import("mongoose").Types.DocumentArray<{
873
+ 1: unknown;
874
+ 0: number[];
875
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
876
+ 1: unknown;
877
+ 0: number[];
878
+ }> & {
879
+ 1: unknown;
880
+ 0: number[];
881
+ }>;
882
+ startBackpack: string[];
883
+ startBackpackVariants: import("mongoose").Types.DocumentArray<{
884
+ 1: unknown;
885
+ 0: number[];
886
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
887
+ 1: unknown;
888
+ 0: number[];
889
+ }> & {
890
+ 1: unknown;
891
+ 0: number[];
892
+ }>;
893
+ startPickaxe: string[];
894
+ startPickaxeVariants: import("mongoose").Types.DocumentArray<{
895
+ 1: unknown;
896
+ 0: number[];
897
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
898
+ 1: unknown;
899
+ 0: number[];
900
+ }> & {
901
+ 1: unknown;
902
+ 0: number[];
903
+ }>;
904
+ startBanner: string[];
905
+ joinOutfit: string[];
906
+ joinOutfitVariants: import("mongoose").Types.DocumentArray<{
907
+ 1: unknown;
908
+ 0: number[];
909
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
910
+ 1: unknown;
911
+ 0: number[];
912
+ }> & {
913
+ 1: unknown;
914
+ 0: number[];
915
+ }>;
916
+ joinBackpack: string[];
917
+ joinBackpackVariants: import("mongoose").Types.DocumentArray<{
918
+ 1: unknown;
919
+ 0: number[];
920
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
921
+ 1: unknown;
922
+ 0: number[];
923
+ }> & {
924
+ 1: unknown;
925
+ 0: number[];
926
+ }>;
927
+ joinPickaxe: string[];
928
+ joinPickaxeVariants: import("mongoose").Types.DocumentArray<{
929
+ 1: unknown;
930
+ 0: number[];
931
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
932
+ 1: unknown;
933
+ 0: number[];
934
+ }> & {
935
+ 1: unknown;
936
+ 0: number[];
937
+ }>;
938
+ joinEmote: string[];
939
+ joinEmoji: string[];
940
+ joinBanner: string[];
941
+ memberJoinOutfit: string[];
942
+ memberJoinOutfitVariants: import("mongoose").Types.DocumentArray<{
943
+ 1: unknown;
944
+ 0: number[];
945
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
946
+ 1: unknown;
947
+ 0: number[];
948
+ }> & {
949
+ 1: unknown;
950
+ 0: number[];
951
+ }>;
952
+ memberJoinBackpack: string[];
953
+ memberJoinBackpackVariants: import("mongoose").Types.DocumentArray<{
954
+ 1: unknown;
955
+ 0: number[];
956
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
957
+ 1: unknown;
958
+ 0: number[];
959
+ }> & {
960
+ 1: unknown;
961
+ 0: number[];
962
+ }>;
963
+ memberJoinPickaxe: string[];
964
+ memberJoinPickaxeVariants: import("mongoose").Types.DocumentArray<{
965
+ 1: unknown;
966
+ 0: number[];
967
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
968
+ 1: unknown;
969
+ 0: number[];
970
+ }> & {
971
+ 1: unknown;
972
+ 0: number[];
973
+ }>;
974
+ memberJoinEmote: string[];
975
+ memberJoinEmoji: string[];
976
+ memberJoinBanner: string[];
977
+ privacy?: string | CategoryConfigPartyPrivacy | null | undefined;
978
+ inviteTimeout?: number | null | undefined;
979
+ maxBotsPerLobby?: number | null | undefined;
980
+ maxBotsPerLobbyWithOwner?: number | null | undefined;
981
+ maxBotsPerLobbyWithAdmin?: number | null | undefined;
982
+ maxBotsPerLobbyWithWhitelistUser?: number | null | undefined;
983
+ allowMatchmaking?: boolean | null | undefined;
984
+ acceptFriendRequests?: boolean | null | undefined;
985
+ sendFriendRequestOnJoinParty?: boolean | null | undefined;
986
+ sendFriendRequestOnMemberJoinParty?: boolean | null | undefined;
987
+ runCommandsWithoutPrefix?: boolean | null | undefined;
988
+ setCosmeticsWithoutCommands?: boolean | null | undefined;
989
+ } | null | undefined;
990
+ }, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
991
+ owner: import("mongoose").Types.ObjectId;
992
+ name: string;
993
+ disabled?: boolean | null | undefined;
994
+ config?: {
995
+ replyLangs: string[];
996
+ searchLangs: string[];
997
+ platform: string[];
998
+ prefixes: string[];
999
+ extraOwners: string[];
1000
+ admins: string[];
1001
+ whitelistUsers: string[];
1002
+ blacklistUsers: string[];
1003
+ excludedAutoAddFriends: string[];
1004
+ otherBots: string[];
1005
+ statusText: string[];
1006
+ statusInterval: number[];
1007
+ level: number[];
1008
+ bpLevel: number[];
1009
+ disableMatchmakingChecks: boolean[];
1010
+ disableJoinMessages: boolean[];
1011
+ usernameTriggers: import("mongoose").Types.DocumentArray<{
1012
+ triggers: string[];
1013
+ detectionMethods: number[];
1014
+ actions: number[];
1015
+ messages: string[];
1016
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
1017
+ triggers: string[];
1018
+ detectionMethods: number[];
1019
+ actions: number[];
1020
+ messages: string[];
1021
+ }> & {
1022
+ triggers: string[];
1023
+ detectionMethods: number[];
1024
+ actions: number[];
1025
+ messages: string[];
1026
+ }>;
1027
+ messageContentTriggers: import("mongoose").Types.DocumentArray<{
1028
+ triggers: string[];
1029
+ detectionMethods: number[];
1030
+ actions: number[];
1031
+ messages: string[];
1032
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
1033
+ triggers: string[];
1034
+ detectionMethods: number[];
1035
+ actions: number[];
1036
+ messages: string[];
1037
+ }> & {
1038
+ triggers: string[];
1039
+ detectionMethods: number[];
1040
+ actions: number[];
1041
+ messages: string[];
1042
+ }>;
1043
+ cosmeticTriggers: import("mongoose").Types.DocumentArray<{
1044
+ triggers: string[];
1045
+ detectionMethods: number[];
1046
+ actions: number[];
1047
+ messages: string[];
1048
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
1049
+ triggers: string[];
1050
+ detectionMethods: number[];
1051
+ actions: number[];
1052
+ messages: string[];
1053
+ }> & {
1054
+ triggers: string[];
1055
+ detectionMethods: number[];
1056
+ actions: number[];
1057
+ messages: string[];
1058
+ }>;
1059
+ addFriendTrigger: import("mongoose").Types.DocumentArray<{
1060
+ actions: number[];
1061
+ messages: string[];
1062
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
1063
+ actions: number[];
1064
+ messages: string[];
1065
+ }> & {
1066
+ actions: number[];
1067
+ messages: string[];
1068
+ }>;
1069
+ memberJoinTrigger: import("mongoose").Types.DocumentArray<{
1070
+ actions: number[];
1071
+ messages: string[];
1072
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
1073
+ actions: number[];
1074
+ messages: string[];
1075
+ }> & {
1076
+ actions: number[];
1077
+ messages: string[];
1078
+ }>;
1079
+ changeCosmeticTrigger: import("mongoose").Types.DocumentArray<{
1080
+ actions: number[];
1081
+ messages: string[];
1082
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
1083
+ actions: number[];
1084
+ messages: string[];
1085
+ }> & {
1086
+ actions: number[];
1087
+ messages: string[];
1088
+ }>;
1089
+ onlyOwnerCommands: string[];
1090
+ onlyAdminCommands: string[];
1091
+ onlyWhitelistUsersCommands: string[];
1092
+ onlyFriendsCommands: string[];
1093
+ onlyPartyMembersCommands: string[];
1094
+ onlyWhisperCommands: string[];
1095
+ startOutfit: string[];
1096
+ startOutfitVariants: import("mongoose").Types.DocumentArray<{
1097
+ 1: unknown;
1098
+ 0: number[];
1099
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
1100
+ 1: unknown;
1101
+ 0: number[];
1102
+ }> & {
1103
+ 1: unknown;
1104
+ 0: number[];
1105
+ }>;
1106
+ startBackpack: string[];
1107
+ startBackpackVariants: import("mongoose").Types.DocumentArray<{
1108
+ 1: unknown;
1109
+ 0: number[];
1110
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
1111
+ 1: unknown;
1112
+ 0: number[];
1113
+ }> & {
1114
+ 1: unknown;
1115
+ 0: number[];
1116
+ }>;
1117
+ startPickaxe: string[];
1118
+ startPickaxeVariants: import("mongoose").Types.DocumentArray<{
1119
+ 1: unknown;
1120
+ 0: number[];
1121
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
1122
+ 1: unknown;
1123
+ 0: number[];
1124
+ }> & {
1125
+ 1: unknown;
1126
+ 0: number[];
1127
+ }>;
1128
+ startBanner: string[];
1129
+ joinOutfit: string[];
1130
+ joinOutfitVariants: import("mongoose").Types.DocumentArray<{
1131
+ 1: unknown;
1132
+ 0: number[];
1133
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
1134
+ 1: unknown;
1135
+ 0: number[];
1136
+ }> & {
1137
+ 1: unknown;
1138
+ 0: number[];
1139
+ }>;
1140
+ joinBackpack: string[];
1141
+ joinBackpackVariants: import("mongoose").Types.DocumentArray<{
1142
+ 1: unknown;
1143
+ 0: number[];
1144
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
1145
+ 1: unknown;
1146
+ 0: number[];
1147
+ }> & {
1148
+ 1: unknown;
1149
+ 0: number[];
1150
+ }>;
1151
+ joinPickaxe: string[];
1152
+ joinPickaxeVariants: import("mongoose").Types.DocumentArray<{
1153
+ 1: unknown;
1154
+ 0: number[];
1155
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
1156
+ 1: unknown;
1157
+ 0: number[];
1158
+ }> & {
1159
+ 1: unknown;
1160
+ 0: number[];
1161
+ }>;
1162
+ joinEmote: string[];
1163
+ joinEmoji: string[];
1164
+ joinBanner: string[];
1165
+ memberJoinOutfit: string[];
1166
+ memberJoinOutfitVariants: import("mongoose").Types.DocumentArray<{
1167
+ 1: unknown;
1168
+ 0: number[];
1169
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
1170
+ 1: unknown;
1171
+ 0: number[];
1172
+ }> & {
1173
+ 1: unknown;
1174
+ 0: number[];
1175
+ }>;
1176
+ memberJoinBackpack: string[];
1177
+ memberJoinBackpackVariants: import("mongoose").Types.DocumentArray<{
1178
+ 1: unknown;
1179
+ 0: number[];
1180
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
1181
+ 1: unknown;
1182
+ 0: number[];
1183
+ }> & {
1184
+ 1: unknown;
1185
+ 0: number[];
1186
+ }>;
1187
+ memberJoinPickaxe: string[];
1188
+ memberJoinPickaxeVariants: import("mongoose").Types.DocumentArray<{
1189
+ 1: unknown;
1190
+ 0: number[];
1191
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
1192
+ 1: unknown;
1193
+ 0: number[];
1194
+ }> & {
1195
+ 1: unknown;
1196
+ 0: number[];
1197
+ }>;
1198
+ memberJoinEmote: string[];
1199
+ memberJoinEmoji: string[];
1200
+ memberJoinBanner: string[];
1201
+ privacy?: string | CategoryConfigPartyPrivacy | null | undefined;
1202
+ inviteTimeout?: number | null | undefined;
1203
+ maxBotsPerLobby?: number | null | undefined;
1204
+ maxBotsPerLobbyWithOwner?: number | null | undefined;
1205
+ maxBotsPerLobbyWithAdmin?: number | null | undefined;
1206
+ maxBotsPerLobbyWithWhitelistUser?: number | null | undefined;
1207
+ allowMatchmaking?: boolean | null | undefined;
1208
+ acceptFriendRequests?: boolean | null | undefined;
1209
+ sendFriendRequestOnJoinParty?: boolean | null | undefined;
1210
+ sendFriendRequestOnMemberJoinParty?: boolean | null | undefined;
1211
+ runCommandsWithoutPrefix?: boolean | null | undefined;
1212
+ setCosmeticsWithoutCommands?: boolean | null | undefined;
1213
+ } | null | undefined;
1214
+ }>> & import("mongoose").FlatRecord<{
1215
+ owner: import("mongoose").Types.ObjectId;
1216
+ name: string;
1217
+ disabled?: boolean | null | undefined;
1218
+ config?: {
1219
+ replyLangs: string[];
1220
+ searchLangs: string[];
1221
+ platform: string[];
1222
+ prefixes: string[];
1223
+ extraOwners: string[];
1224
+ admins: string[];
1225
+ whitelistUsers: string[];
1226
+ blacklistUsers: string[];
1227
+ excludedAutoAddFriends: string[];
1228
+ otherBots: string[];
1229
+ statusText: string[];
1230
+ statusInterval: number[];
1231
+ level: number[];
1232
+ bpLevel: number[];
1233
+ disableMatchmakingChecks: boolean[];
1234
+ disableJoinMessages: boolean[];
1235
+ usernameTriggers: import("mongoose").Types.DocumentArray<{
1236
+ triggers: string[];
1237
+ detectionMethods: number[];
1238
+ actions: number[];
1239
+ messages: string[];
1240
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
1241
+ triggers: string[];
1242
+ detectionMethods: number[];
1243
+ actions: number[];
1244
+ messages: string[];
1245
+ }> & {
1246
+ triggers: string[];
1247
+ detectionMethods: number[];
1248
+ actions: number[];
1249
+ messages: string[];
1250
+ }>;
1251
+ messageContentTriggers: import("mongoose").Types.DocumentArray<{
1252
+ triggers: string[];
1253
+ detectionMethods: number[];
1254
+ actions: number[];
1255
+ messages: string[];
1256
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
1257
+ triggers: string[];
1258
+ detectionMethods: number[];
1259
+ actions: number[];
1260
+ messages: string[];
1261
+ }> & {
1262
+ triggers: string[];
1263
+ detectionMethods: number[];
1264
+ actions: number[];
1265
+ messages: string[];
1266
+ }>;
1267
+ cosmeticTriggers: import("mongoose").Types.DocumentArray<{
1268
+ triggers: string[];
1269
+ detectionMethods: number[];
1270
+ actions: number[];
1271
+ messages: string[];
1272
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
1273
+ triggers: string[];
1274
+ detectionMethods: number[];
1275
+ actions: number[];
1276
+ messages: string[];
1277
+ }> & {
1278
+ triggers: string[];
1279
+ detectionMethods: number[];
1280
+ actions: number[];
1281
+ messages: string[];
1282
+ }>;
1283
+ addFriendTrigger: import("mongoose").Types.DocumentArray<{
1284
+ actions: number[];
1285
+ messages: string[];
1286
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
1287
+ actions: number[];
1288
+ messages: string[];
1289
+ }> & {
1290
+ actions: number[];
1291
+ messages: string[];
1292
+ }>;
1293
+ memberJoinTrigger: import("mongoose").Types.DocumentArray<{
1294
+ actions: number[];
1295
+ messages: string[];
1296
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
1297
+ actions: number[];
1298
+ messages: string[];
1299
+ }> & {
1300
+ actions: number[];
1301
+ messages: string[];
1302
+ }>;
1303
+ changeCosmeticTrigger: import("mongoose").Types.DocumentArray<{
1304
+ actions: number[];
1305
+ messages: string[];
1306
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
1307
+ actions: number[];
1308
+ messages: string[];
1309
+ }> & {
1310
+ actions: number[];
1311
+ messages: string[];
1312
+ }>;
1313
+ onlyOwnerCommands: string[];
1314
+ onlyAdminCommands: string[];
1315
+ onlyWhitelistUsersCommands: string[];
1316
+ onlyFriendsCommands: string[];
1317
+ onlyPartyMembersCommands: string[];
1318
+ onlyWhisperCommands: string[];
1319
+ startOutfit: string[];
1320
+ startOutfitVariants: import("mongoose").Types.DocumentArray<{
1321
+ 1: unknown;
1322
+ 0: number[];
1323
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
1324
+ 1: unknown;
1325
+ 0: number[];
1326
+ }> & {
1327
+ 1: unknown;
1328
+ 0: number[];
1329
+ }>;
1330
+ startBackpack: string[];
1331
+ startBackpackVariants: import("mongoose").Types.DocumentArray<{
1332
+ 1: unknown;
1333
+ 0: number[];
1334
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
1335
+ 1: unknown;
1336
+ 0: number[];
1337
+ }> & {
1338
+ 1: unknown;
1339
+ 0: number[];
1340
+ }>;
1341
+ startPickaxe: string[];
1342
+ startPickaxeVariants: import("mongoose").Types.DocumentArray<{
1343
+ 1: unknown;
1344
+ 0: number[];
1345
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
1346
+ 1: unknown;
1347
+ 0: number[];
1348
+ }> & {
1349
+ 1: unknown;
1350
+ 0: number[];
1351
+ }>;
1352
+ startBanner: string[];
1353
+ joinOutfit: string[];
1354
+ joinOutfitVariants: import("mongoose").Types.DocumentArray<{
1355
+ 1: unknown;
1356
+ 0: number[];
1357
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
1358
+ 1: unknown;
1359
+ 0: number[];
1360
+ }> & {
1361
+ 1: unknown;
1362
+ 0: number[];
1363
+ }>;
1364
+ joinBackpack: string[];
1365
+ joinBackpackVariants: import("mongoose").Types.DocumentArray<{
1366
+ 1: unknown;
1367
+ 0: number[];
1368
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
1369
+ 1: unknown;
1370
+ 0: number[];
1371
+ }> & {
1372
+ 1: unknown;
1373
+ 0: number[];
1374
+ }>;
1375
+ joinPickaxe: string[];
1376
+ joinPickaxeVariants: import("mongoose").Types.DocumentArray<{
1377
+ 1: unknown;
1378
+ 0: number[];
1379
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
1380
+ 1: unknown;
1381
+ 0: number[];
1382
+ }> & {
1383
+ 1: unknown;
1384
+ 0: number[];
1385
+ }>;
1386
+ joinEmote: string[];
1387
+ joinEmoji: string[];
1388
+ joinBanner: string[];
1389
+ memberJoinOutfit: string[];
1390
+ memberJoinOutfitVariants: import("mongoose").Types.DocumentArray<{
1391
+ 1: unknown;
1392
+ 0: number[];
1393
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
1394
+ 1: unknown;
1395
+ 0: number[];
1396
+ }> & {
1397
+ 1: unknown;
1398
+ 0: number[];
1399
+ }>;
1400
+ memberJoinBackpack: string[];
1401
+ memberJoinBackpackVariants: import("mongoose").Types.DocumentArray<{
1402
+ 1: unknown;
1403
+ 0: number[];
1404
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
1405
+ 1: unknown;
1406
+ 0: number[];
1407
+ }> & {
1408
+ 1: unknown;
1409
+ 0: number[];
1410
+ }>;
1411
+ memberJoinPickaxe: string[];
1412
+ memberJoinPickaxeVariants: import("mongoose").Types.DocumentArray<{
1413
+ 1: unknown;
1414
+ 0: number[];
1415
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
1416
+ 1: unknown;
1417
+ 0: number[];
1418
+ }> & {
1419
+ 1: unknown;
1420
+ 0: number[];
1421
+ }>;
1422
+ memberJoinEmote: string[];
1423
+ memberJoinEmoji: string[];
1424
+ memberJoinBanner: string[];
1425
+ privacy?: string | CategoryConfigPartyPrivacy | null | undefined;
1426
+ inviteTimeout?: number | null | undefined;
1427
+ maxBotsPerLobby?: number | null | undefined;
1428
+ maxBotsPerLobbyWithOwner?: number | null | undefined;
1429
+ maxBotsPerLobbyWithAdmin?: number | null | undefined;
1430
+ maxBotsPerLobbyWithWhitelistUser?: number | null | undefined;
1431
+ allowMatchmaking?: boolean | null | undefined;
1432
+ acceptFriendRequests?: boolean | null | undefined;
1433
+ sendFriendRequestOnJoinParty?: boolean | null | undefined;
1434
+ sendFriendRequestOnMemberJoinParty?: boolean | null | undefined;
1435
+ runCommandsWithoutPrefix?: boolean | null | undefined;
1436
+ setCosmeticsWithoutCommands?: boolean | null | undefined;
1437
+ } | null | undefined;
1438
+ }> & {
1439
+ _id: import("mongoose").Types.ObjectId;
1440
+ } & {
1441
+ __v: number;
1442
+ }>>;
1443
+ export declare const UserModel: import("mongoose").Model<{
1444
+ email: string;
1445
+ token: string;
1446
+ username: string;
1447
+ password: string;
1448
+ apiToken: string;
1449
+ connections?: {
1450
+ discord?: {
1451
+ id?: string | null | undefined;
1452
+ username?: string | null | undefined;
1453
+ } | null | undefined;
1454
+ epic?: {
1455
+ id?: string | null | undefined;
1456
+ username?: string | null | undefined;
1457
+ } | null | undefined;
1458
+ } | null | undefined;
1459
+ }, {}, {}, {}, import("mongoose").Document<unknown, {}, {
1460
+ email: string;
1461
+ token: string;
1462
+ username: string;
1463
+ password: string;
1464
+ apiToken: string;
1465
+ connections?: {
1466
+ discord?: {
1467
+ id?: string | null | undefined;
1468
+ username?: string | null | undefined;
1469
+ } | null | undefined;
1470
+ epic?: {
1471
+ id?: string | null | undefined;
1472
+ username?: string | null | undefined;
1473
+ } | null | undefined;
1474
+ } | null | undefined;
1475
+ }> & {
1476
+ email: string;
1477
+ token: string;
1478
+ username: string;
1479
+ password: string;
1480
+ apiToken: string;
1481
+ connections?: {
1482
+ discord?: {
1483
+ id?: string | null | undefined;
1484
+ username?: string | null | undefined;
1485
+ } | null | undefined;
1486
+ epic?: {
1487
+ id?: string | null | undefined;
1488
+ username?: string | null | undefined;
1489
+ } | null | undefined;
1490
+ } | null | undefined;
1491
+ } & {
1492
+ _id: import("mongoose").Types.ObjectId;
1493
+ } & {
1494
+ __v: number;
1495
+ }, Schema<any, import("mongoose").Model<any, any, any, any, any, any>, {}, {}, {}, {
1496
+ verifyPassword: (this: import("mongoose").Model<import("mongoose").FlatRecord<{
1497
+ email: string;
1498
+ token: string;
1499
+ username: string;
1500
+ password: string;
1501
+ apiToken: string;
1502
+ connections?: {
1503
+ discord?: {
1504
+ id?: string | null | undefined;
1505
+ username?: string | null | undefined;
1506
+ } | null | undefined;
1507
+ epic?: {
1508
+ id?: string | null | undefined;
1509
+ username?: string | null | undefined;
1510
+ } | null | undefined;
1511
+ } | null | undefined;
1512
+ }>, {}, {}, {}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
1513
+ email: string;
1514
+ token: string;
1515
+ username: string;
1516
+ password: string;
1517
+ apiToken: string;
1518
+ connections?: {
1519
+ discord?: {
1520
+ id?: string | null | undefined;
1521
+ username?: string | null | undefined;
1522
+ } | null | undefined;
1523
+ epic?: {
1524
+ id?: string | null | undefined;
1525
+ username?: string | null | undefined;
1526
+ } | null | undefined;
1527
+ } | null | undefined;
1528
+ }>> & import("mongoose").FlatRecord<{
1529
+ email: string;
1530
+ token: string;
1531
+ username: string;
1532
+ password: string;
1533
+ apiToken: string;
1534
+ connections?: {
1535
+ discord?: {
1536
+ id?: string | null | undefined;
1537
+ username?: string | null | undefined;
1538
+ } | null | undefined;
1539
+ epic?: {
1540
+ id?: string | null | undefined;
1541
+ username?: string | null | undefined;
1542
+ } | null | undefined;
1543
+ } | null | undefined;
1544
+ }> & {
1545
+ _id: import("mongoose").Types.ObjectId;
1546
+ } & {
1547
+ __v: number;
1548
+ }, any>, password: string, hash: string) => Promise<boolean>;
1549
+ findByToken: (this: import("mongoose").Model<import("mongoose").FlatRecord<{
1550
+ email: string;
1551
+ token: string;
1552
+ username: string;
1553
+ password: string;
1554
+ apiToken: string;
1555
+ connections?: {
1556
+ discord?: {
1557
+ id?: string | null | undefined;
1558
+ username?: string | null | undefined;
1559
+ } | null | undefined;
1560
+ epic?: {
1561
+ id?: string | null | undefined;
1562
+ username?: string | null | undefined;
1563
+ } | null | undefined;
1564
+ } | null | undefined;
1565
+ }>, {}, {}, {}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
1566
+ email: string;
1567
+ token: string;
1568
+ username: string;
1569
+ password: string;
1570
+ apiToken: string;
1571
+ connections?: {
1572
+ discord?: {
1573
+ id?: string | null | undefined;
1574
+ username?: string | null | undefined;
1575
+ } | null | undefined;
1576
+ epic?: {
1577
+ id?: string | null | undefined;
1578
+ username?: string | null | undefined;
1579
+ } | null | undefined;
1580
+ } | null | undefined;
1581
+ }>> & import("mongoose").FlatRecord<{
1582
+ email: string;
1583
+ token: string;
1584
+ username: string;
1585
+ password: string;
1586
+ apiToken: string;
1587
+ connections?: {
1588
+ discord?: {
1589
+ id?: string | null | undefined;
1590
+ username?: string | null | undefined;
1591
+ } | null | undefined;
1592
+ epic?: {
1593
+ id?: string | null | undefined;
1594
+ username?: string | null | undefined;
1595
+ } | null | undefined;
1596
+ } | null | undefined;
1597
+ }> & {
1598
+ _id: import("mongoose").Types.ObjectId;
1599
+ } & {
1600
+ __v: number;
1601
+ }, any>, id: string, auth: string) => Promise<(import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
1602
+ email: string;
1603
+ token: string;
1604
+ username: string;
1605
+ password: string;
1606
+ apiToken: string;
1607
+ connections?: {
1608
+ discord?: {
1609
+ id?: string | null | undefined;
1610
+ username?: string | null | undefined;
1611
+ } | null | undefined;
1612
+ epic?: {
1613
+ id?: string | null | undefined;
1614
+ username?: string | null | undefined;
1615
+ } | null | undefined;
1616
+ } | null | undefined;
1617
+ }>> & import("mongoose").FlatRecord<{
1618
+ email: string;
1619
+ token: string;
1620
+ username: string;
1621
+ password: string;
1622
+ apiToken: string;
1623
+ connections?: {
1624
+ discord?: {
1625
+ id?: string | null | undefined;
1626
+ username?: string | null | undefined;
1627
+ } | null | undefined;
1628
+ epic?: {
1629
+ id?: string | null | undefined;
1630
+ username?: string | null | undefined;
1631
+ } | null | undefined;
1632
+ } | null | undefined;
1633
+ }> & {
1634
+ _id: import("mongoose").Types.ObjectId;
1635
+ } & {
1636
+ __v: number;
1637
+ }) | null>;
1638
+ findByAPIToken: (this: import("mongoose").Model<import("mongoose").FlatRecord<{
1639
+ email: string;
1640
+ token: string;
1641
+ username: string;
1642
+ password: string;
1643
+ apiToken: string;
1644
+ connections?: {
1645
+ discord?: {
1646
+ id?: string | null | undefined;
1647
+ username?: string | null | undefined;
1648
+ } | null | undefined;
1649
+ epic?: {
1650
+ id?: string | null | undefined;
1651
+ username?: string | null | undefined;
1652
+ } | null | undefined;
1653
+ } | null | undefined;
1654
+ }>, {}, {}, {}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
1655
+ email: string;
1656
+ token: string;
1657
+ username: string;
1658
+ password: string;
1659
+ apiToken: string;
1660
+ connections?: {
1661
+ discord?: {
1662
+ id?: string | null | undefined;
1663
+ username?: string | null | undefined;
1664
+ } | null | undefined;
1665
+ epic?: {
1666
+ id?: string | null | undefined;
1667
+ username?: string | null | undefined;
1668
+ } | null | undefined;
1669
+ } | null | undefined;
1670
+ }>> & import("mongoose").FlatRecord<{
1671
+ email: string;
1672
+ token: string;
1673
+ username: string;
1674
+ password: string;
1675
+ apiToken: string;
1676
+ connections?: {
1677
+ discord?: {
1678
+ id?: string | null | undefined;
1679
+ username?: string | null | undefined;
1680
+ } | null | undefined;
1681
+ epic?: {
1682
+ id?: string | null | undefined;
1683
+ username?: string | null | undefined;
1684
+ } | null | undefined;
1685
+ } | null | undefined;
1686
+ }> & {
1687
+ _id: import("mongoose").Types.ObjectId;
1688
+ } & {
1689
+ __v: number;
1690
+ }, any>, id: string, auth: string) => Promise<(import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
1691
+ email: string;
1692
+ token: string;
1693
+ username: string;
1694
+ password: string;
1695
+ apiToken: string;
1696
+ connections?: {
1697
+ discord?: {
1698
+ id?: string | null | undefined;
1699
+ username?: string | null | undefined;
1700
+ } | null | undefined;
1701
+ epic?: {
1702
+ id?: string | null | undefined;
1703
+ username?: string | null | undefined;
1704
+ } | null | undefined;
1705
+ } | null | undefined;
1706
+ }>> & import("mongoose").FlatRecord<{
1707
+ email: string;
1708
+ token: string;
1709
+ username: string;
1710
+ password: string;
1711
+ apiToken: string;
1712
+ connections?: {
1713
+ discord?: {
1714
+ id?: string | null | undefined;
1715
+ username?: string | null | undefined;
1716
+ } | null | undefined;
1717
+ epic?: {
1718
+ id?: string | null | undefined;
1719
+ username?: string | null | undefined;
1720
+ } | null | undefined;
1721
+ } | null | undefined;
1722
+ }> & {
1723
+ _id: import("mongoose").Types.ObjectId;
1724
+ } & {
1725
+ __v: number;
1726
+ }) | null>;
1727
+ }, {
1728
+ statics: {
1729
+ verifyPassword(this: import("mongoose").Model<import("mongoose").FlatRecord<{
1730
+ email: string;
1731
+ token: string;
1732
+ username: string;
1733
+ password: string;
1734
+ apiToken: string;
1735
+ connections?: {
1736
+ discord?: {
1737
+ id?: string | null | undefined;
1738
+ username?: string | null | undefined;
1739
+ } | null | undefined;
1740
+ epic?: {
1741
+ id?: string | null | undefined;
1742
+ username?: string | null | undefined;
1743
+ } | null | undefined;
1744
+ } | null | undefined;
1745
+ }>, {}, {}, {}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
1746
+ email: string;
1747
+ token: string;
1748
+ username: string;
1749
+ password: string;
1750
+ apiToken: string;
1751
+ connections?: {
1752
+ discord?: {
1753
+ id?: string | null | undefined;
1754
+ username?: string | null | undefined;
1755
+ } | null | undefined;
1756
+ epic?: {
1757
+ id?: string | null | undefined;
1758
+ username?: string | null | undefined;
1759
+ } | null | undefined;
1760
+ } | null | undefined;
1761
+ }>> & import("mongoose").FlatRecord<{
1762
+ email: string;
1763
+ token: string;
1764
+ username: string;
1765
+ password: string;
1766
+ apiToken: string;
1767
+ connections?: {
1768
+ discord?: {
1769
+ id?: string | null | undefined;
1770
+ username?: string | null | undefined;
1771
+ } | null | undefined;
1772
+ epic?: {
1773
+ id?: string | null | undefined;
1774
+ username?: string | null | undefined;
1775
+ } | null | undefined;
1776
+ } | null | undefined;
1777
+ }> & {
1778
+ _id: import("mongoose").Types.ObjectId;
1779
+ } & {
1780
+ __v: number;
1781
+ }, any>, password: string, hash: string): Promise<boolean>;
1782
+ findByToken(this: import("mongoose").Model<import("mongoose").FlatRecord<{
1783
+ email: string;
1784
+ token: string;
1785
+ username: string;
1786
+ password: string;
1787
+ apiToken: string;
1788
+ connections?: {
1789
+ discord?: {
1790
+ id?: string | null | undefined;
1791
+ username?: string | null | undefined;
1792
+ } | null | undefined;
1793
+ epic?: {
1794
+ id?: string | null | undefined;
1795
+ username?: string | null | undefined;
1796
+ } | null | undefined;
1797
+ } | null | undefined;
1798
+ }>, {}, {}, {}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
1799
+ email: string;
1800
+ token: string;
1801
+ username: string;
1802
+ password: string;
1803
+ apiToken: string;
1804
+ connections?: {
1805
+ discord?: {
1806
+ id?: string | null | undefined;
1807
+ username?: string | null | undefined;
1808
+ } | null | undefined;
1809
+ epic?: {
1810
+ id?: string | null | undefined;
1811
+ username?: string | null | undefined;
1812
+ } | null | undefined;
1813
+ } | null | undefined;
1814
+ }>> & import("mongoose").FlatRecord<{
1815
+ email: string;
1816
+ token: string;
1817
+ username: string;
1818
+ password: string;
1819
+ apiToken: string;
1820
+ connections?: {
1821
+ discord?: {
1822
+ id?: string | null | undefined;
1823
+ username?: string | null | undefined;
1824
+ } | null | undefined;
1825
+ epic?: {
1826
+ id?: string | null | undefined;
1827
+ username?: string | null | undefined;
1828
+ } | null | undefined;
1829
+ } | null | undefined;
1830
+ }> & {
1831
+ _id: import("mongoose").Types.ObjectId;
1832
+ } & {
1833
+ __v: number;
1834
+ }, any>, id: string, auth: string): Promise<(import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
1835
+ email: string;
1836
+ token: string;
1837
+ username: string;
1838
+ password: string;
1839
+ apiToken: string;
1840
+ connections?: {
1841
+ discord?: {
1842
+ id?: string | null | undefined;
1843
+ username?: string | null | undefined;
1844
+ } | null | undefined;
1845
+ epic?: {
1846
+ id?: string | null | undefined;
1847
+ username?: string | null | undefined;
1848
+ } | null | undefined;
1849
+ } | null | undefined;
1850
+ }>> & import("mongoose").FlatRecord<{
1851
+ email: string;
1852
+ token: string;
1853
+ username: string;
1854
+ password: string;
1855
+ apiToken: string;
1856
+ connections?: {
1857
+ discord?: {
1858
+ id?: string | null | undefined;
1859
+ username?: string | null | undefined;
1860
+ } | null | undefined;
1861
+ epic?: {
1862
+ id?: string | null | undefined;
1863
+ username?: string | null | undefined;
1864
+ } | null | undefined;
1865
+ } | null | undefined;
1866
+ }> & {
1867
+ _id: import("mongoose").Types.ObjectId;
1868
+ } & {
1869
+ __v: number;
1870
+ }) | null>;
1871
+ findByAPIToken(this: import("mongoose").Model<import("mongoose").FlatRecord<{
1872
+ email: string;
1873
+ token: string;
1874
+ username: string;
1875
+ password: string;
1876
+ apiToken: string;
1877
+ connections?: {
1878
+ discord?: {
1879
+ id?: string | null | undefined;
1880
+ username?: string | null | undefined;
1881
+ } | null | undefined;
1882
+ epic?: {
1883
+ id?: string | null | undefined;
1884
+ username?: string | null | undefined;
1885
+ } | null | undefined;
1886
+ } | null | undefined;
1887
+ }>, {}, {}, {}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
1888
+ email: string;
1889
+ token: string;
1890
+ username: string;
1891
+ password: string;
1892
+ apiToken: string;
1893
+ connections?: {
1894
+ discord?: {
1895
+ id?: string | null | undefined;
1896
+ username?: string | null | undefined;
1897
+ } | null | undefined;
1898
+ epic?: {
1899
+ id?: string | null | undefined;
1900
+ username?: string | null | undefined;
1901
+ } | null | undefined;
1902
+ } | null | undefined;
1903
+ }>> & import("mongoose").FlatRecord<{
1904
+ email: string;
1905
+ token: string;
1906
+ username: string;
1907
+ password: string;
1908
+ apiToken: string;
1909
+ connections?: {
1910
+ discord?: {
1911
+ id?: string | null | undefined;
1912
+ username?: string | null | undefined;
1913
+ } | null | undefined;
1914
+ epic?: {
1915
+ id?: string | null | undefined;
1916
+ username?: string | null | undefined;
1917
+ } | null | undefined;
1918
+ } | null | undefined;
1919
+ }> & {
1920
+ _id: import("mongoose").Types.ObjectId;
1921
+ } & {
1922
+ __v: number;
1923
+ }, any>, id: string, auth: string): Promise<(import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
1924
+ email: string;
1925
+ token: string;
1926
+ username: string;
1927
+ password: string;
1928
+ apiToken: string;
1929
+ connections?: {
1930
+ discord?: {
1931
+ id?: string | null | undefined;
1932
+ username?: string | null | undefined;
1933
+ } | null | undefined;
1934
+ epic?: {
1935
+ id?: string | null | undefined;
1936
+ username?: string | null | undefined;
1937
+ } | null | undefined;
1938
+ } | null | undefined;
1939
+ }>> & import("mongoose").FlatRecord<{
1940
+ email: string;
1941
+ token: string;
1942
+ username: string;
1943
+ password: string;
1944
+ apiToken: string;
1945
+ connections?: {
1946
+ discord?: {
1947
+ id?: string | null | undefined;
1948
+ username?: string | null | undefined;
1949
+ } | null | undefined;
1950
+ epic?: {
1951
+ id?: string | null | undefined;
1952
+ username?: string | null | undefined;
1953
+ } | null | undefined;
1954
+ } | null | undefined;
1955
+ }> & {
1956
+ _id: import("mongoose").Types.ObjectId;
1957
+ } & {
1958
+ __v: number;
1959
+ }) | null>;
1960
+ };
1961
+ }, {
1962
+ email: string;
1963
+ token: string;
1964
+ username: string;
1965
+ password: string;
1966
+ apiToken: string;
1967
+ connections?: {
1968
+ discord?: {
1969
+ id?: string | null | undefined;
1970
+ username?: string | null | undefined;
1971
+ } | null | undefined;
1972
+ epic?: {
1973
+ id?: string | null | undefined;
1974
+ username?: string | null | undefined;
1975
+ } | null | undefined;
1976
+ } | null | undefined;
1977
+ }, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
1978
+ email: string;
1979
+ token: string;
1980
+ username: string;
1981
+ password: string;
1982
+ apiToken: string;
1983
+ connections?: {
1984
+ discord?: {
1985
+ id?: string | null | undefined;
1986
+ username?: string | null | undefined;
1987
+ } | null | undefined;
1988
+ epic?: {
1989
+ id?: string | null | undefined;
1990
+ username?: string | null | undefined;
1991
+ } | null | undefined;
1992
+ } | null | undefined;
1993
+ }>> & import("mongoose").FlatRecord<{
1994
+ email: string;
1995
+ token: string;
1996
+ username: string;
1997
+ password: string;
1998
+ apiToken: string;
1999
+ connections?: {
2000
+ discord?: {
2001
+ id?: string | null | undefined;
2002
+ username?: string | null | undefined;
2003
+ } | null | undefined;
2004
+ epic?: {
2005
+ id?: string | null | undefined;
2006
+ username?: string | null | undefined;
2007
+ } | null | undefined;
2008
+ } | null | undefined;
2009
+ }> & {
2010
+ _id: import("mongoose").Types.ObjectId;
2011
+ } & {
2012
+ __v: number;
2013
+ }>> & {
2014
+ verifyPassword: (this: import("mongoose").Model<import("mongoose").FlatRecord<{
2015
+ email: string;
2016
+ token: string;
2017
+ username: string;
2018
+ password: string;
2019
+ apiToken: string;
2020
+ connections?: {
2021
+ discord?: {
2022
+ id?: string | null | undefined;
2023
+ username?: string | null | undefined;
2024
+ } | null | undefined;
2025
+ epic?: {
2026
+ id?: string | null | undefined;
2027
+ username?: string | null | undefined;
2028
+ } | null | undefined;
2029
+ } | null | undefined;
2030
+ }>, {}, {}, {}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
2031
+ email: string;
2032
+ token: string;
2033
+ username: string;
2034
+ password: string;
2035
+ apiToken: string;
2036
+ connections?: {
2037
+ discord?: {
2038
+ id?: string | null | undefined;
2039
+ username?: string | null | undefined;
2040
+ } | null | undefined;
2041
+ epic?: {
2042
+ id?: string | null | undefined;
2043
+ username?: string | null | undefined;
2044
+ } | null | undefined;
2045
+ } | null | undefined;
2046
+ }>> & import("mongoose").FlatRecord<{
2047
+ email: string;
2048
+ token: string;
2049
+ username: string;
2050
+ password: string;
2051
+ apiToken: string;
2052
+ connections?: {
2053
+ discord?: {
2054
+ id?: string | null | undefined;
2055
+ username?: string | null | undefined;
2056
+ } | null | undefined;
2057
+ epic?: {
2058
+ id?: string | null | undefined;
2059
+ username?: string | null | undefined;
2060
+ } | null | undefined;
2061
+ } | null | undefined;
2062
+ }> & {
2063
+ _id: import("mongoose").Types.ObjectId;
2064
+ } & {
2065
+ __v: number;
2066
+ }, any>, password: string, hash: string) => Promise<boolean>;
2067
+ findByToken: (this: import("mongoose").Model<import("mongoose").FlatRecord<{
2068
+ email: string;
2069
+ token: string;
2070
+ username: string;
2071
+ password: string;
2072
+ apiToken: string;
2073
+ connections?: {
2074
+ discord?: {
2075
+ id?: string | null | undefined;
2076
+ username?: string | null | undefined;
2077
+ } | null | undefined;
2078
+ epic?: {
2079
+ id?: string | null | undefined;
2080
+ username?: string | null | undefined;
2081
+ } | null | undefined;
2082
+ } | null | undefined;
2083
+ }>, {}, {}, {}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
2084
+ email: string;
2085
+ token: string;
2086
+ username: string;
2087
+ password: string;
2088
+ apiToken: string;
2089
+ connections?: {
2090
+ discord?: {
2091
+ id?: string | null | undefined;
2092
+ username?: string | null | undefined;
2093
+ } | null | undefined;
2094
+ epic?: {
2095
+ id?: string | null | undefined;
2096
+ username?: string | null | undefined;
2097
+ } | null | undefined;
2098
+ } | null | undefined;
2099
+ }>> & import("mongoose").FlatRecord<{
2100
+ email: string;
2101
+ token: string;
2102
+ username: string;
2103
+ password: string;
2104
+ apiToken: string;
2105
+ connections?: {
2106
+ discord?: {
2107
+ id?: string | null | undefined;
2108
+ username?: string | null | undefined;
2109
+ } | null | undefined;
2110
+ epic?: {
2111
+ id?: string | null | undefined;
2112
+ username?: string | null | undefined;
2113
+ } | null | undefined;
2114
+ } | null | undefined;
2115
+ }> & {
2116
+ _id: import("mongoose").Types.ObjectId;
2117
+ } & {
2118
+ __v: number;
2119
+ }, any>, id: string, auth: string) => Promise<(import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
2120
+ email: string;
2121
+ token: string;
2122
+ username: string;
2123
+ password: string;
2124
+ apiToken: string;
2125
+ connections?: {
2126
+ discord?: {
2127
+ id?: string | null | undefined;
2128
+ username?: string | null | undefined;
2129
+ } | null | undefined;
2130
+ epic?: {
2131
+ id?: string | null | undefined;
2132
+ username?: string | null | undefined;
2133
+ } | null | undefined;
2134
+ } | null | undefined;
2135
+ }>> & import("mongoose").FlatRecord<{
2136
+ email: string;
2137
+ token: string;
2138
+ username: string;
2139
+ password: string;
2140
+ apiToken: string;
2141
+ connections?: {
2142
+ discord?: {
2143
+ id?: string | null | undefined;
2144
+ username?: string | null | undefined;
2145
+ } | null | undefined;
2146
+ epic?: {
2147
+ id?: string | null | undefined;
2148
+ username?: string | null | undefined;
2149
+ } | null | undefined;
2150
+ } | null | undefined;
2151
+ }> & {
2152
+ _id: import("mongoose").Types.ObjectId;
2153
+ } & {
2154
+ __v: number;
2155
+ }) | null>;
2156
+ findByAPIToken: (this: import("mongoose").Model<import("mongoose").FlatRecord<{
2157
+ email: string;
2158
+ token: string;
2159
+ username: string;
2160
+ password: string;
2161
+ apiToken: string;
2162
+ connections?: {
2163
+ discord?: {
2164
+ id?: string | null | undefined;
2165
+ username?: string | null | undefined;
2166
+ } | null | undefined;
2167
+ epic?: {
2168
+ id?: string | null | undefined;
2169
+ username?: string | null | undefined;
2170
+ } | null | undefined;
2171
+ } | null | undefined;
2172
+ }>, {}, {}, {}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
2173
+ email: string;
2174
+ token: string;
2175
+ username: string;
2176
+ password: string;
2177
+ apiToken: string;
2178
+ connections?: {
2179
+ discord?: {
2180
+ id?: string | null | undefined;
2181
+ username?: string | null | undefined;
2182
+ } | null | undefined;
2183
+ epic?: {
2184
+ id?: string | null | undefined;
2185
+ username?: string | null | undefined;
2186
+ } | null | undefined;
2187
+ } | null | undefined;
2188
+ }>> & import("mongoose").FlatRecord<{
2189
+ email: string;
2190
+ token: string;
2191
+ username: string;
2192
+ password: string;
2193
+ apiToken: string;
2194
+ connections?: {
2195
+ discord?: {
2196
+ id?: string | null | undefined;
2197
+ username?: string | null | undefined;
2198
+ } | null | undefined;
2199
+ epic?: {
2200
+ id?: string | null | undefined;
2201
+ username?: string | null | undefined;
2202
+ } | null | undefined;
2203
+ } | null | undefined;
2204
+ }> & {
2205
+ _id: import("mongoose").Types.ObjectId;
2206
+ } & {
2207
+ __v: number;
2208
+ }, any>, id: string, auth: string) => Promise<(import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
2209
+ email: string;
2210
+ token: string;
2211
+ username: string;
2212
+ password: string;
2213
+ apiToken: string;
2214
+ connections?: {
2215
+ discord?: {
2216
+ id?: string | null | undefined;
2217
+ username?: string | null | undefined;
2218
+ } | null | undefined;
2219
+ epic?: {
2220
+ id?: string | null | undefined;
2221
+ username?: string | null | undefined;
2222
+ } | null | undefined;
2223
+ } | null | undefined;
2224
+ }>> & import("mongoose").FlatRecord<{
2225
+ email: string;
2226
+ token: string;
2227
+ username: string;
2228
+ password: string;
2229
+ apiToken: string;
2230
+ connections?: {
2231
+ discord?: {
2232
+ id?: string | null | undefined;
2233
+ username?: string | null | undefined;
2234
+ } | null | undefined;
2235
+ epic?: {
2236
+ id?: string | null | undefined;
2237
+ username?: string | null | undefined;
2238
+ } | null | undefined;
2239
+ } | null | undefined;
2240
+ }> & {
2241
+ _id: import("mongoose").Types.ObjectId;
2242
+ } & {
2243
+ __v: number;
2244
+ }) | null>;
2245
+ };
2246
+
2247
+ export {};