@fnlb-project/database 1.0.4 → 1.0.5

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,1623 @@
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
+ email: string;
14
+ deviceAuth: {
15
+ accountId: string;
16
+ deviceId: string;
17
+ secret: string;
18
+ };
19
+ parent?: import("mongoose").Types.ObjectId | null | undefined;
20
+ }, {}, {}, {}, import("mongoose").Document<unknown, {}, {
21
+ owner: import("mongoose").Types.ObjectId;
22
+ type: number;
23
+ nickname: string;
24
+ email: string;
25
+ deviceAuth: {
26
+ accountId: string;
27
+ deviceId: string;
28
+ secret: string;
29
+ };
30
+ parent?: import("mongoose").Types.ObjectId | null | undefined;
31
+ }> & {
32
+ owner: import("mongoose").Types.ObjectId;
33
+ type: number;
34
+ nickname: string;
35
+ email: string;
36
+ deviceAuth: {
37
+ accountId: string;
38
+ deviceId: string;
39
+ secret: string;
40
+ };
41
+ parent?: import("mongoose").Types.ObjectId | null | undefined;
42
+ } & {
43
+ _id: import("mongoose").Types.ObjectId;
44
+ } & {
45
+ __v: number;
46
+ }, Schema<any, import("mongoose").Model<any, any, any, any, any, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, {
47
+ owner: import("mongoose").Types.ObjectId;
48
+ type: number;
49
+ nickname: string;
50
+ email: string;
51
+ deviceAuth: {
52
+ accountId: string;
53
+ deviceId: string;
54
+ secret: string;
55
+ };
56
+ parent?: import("mongoose").Types.ObjectId | null | undefined;
57
+ }, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
58
+ owner: import("mongoose").Types.ObjectId;
59
+ type: number;
60
+ nickname: string;
61
+ email: string;
62
+ deviceAuth: {
63
+ accountId: string;
64
+ deviceId: string;
65
+ secret: string;
66
+ };
67
+ parent?: import("mongoose").Types.ObjectId | null | undefined;
68
+ }>> & import("mongoose").FlatRecord<{
69
+ owner: import("mongoose").Types.ObjectId;
70
+ type: number;
71
+ nickname: string;
72
+ email: string;
73
+ deviceAuth: {
74
+ accountId: string;
75
+ deviceId: string;
76
+ secret: string;
77
+ };
78
+ parent?: import("mongoose").Types.ObjectId | null | undefined;
79
+ }> & {
80
+ _id: import("mongoose").Types.ObjectId;
81
+ } & {
82
+ __v: number;
83
+ }>>;
84
+ export declare const CategoryModel: import("mongoose").Model<{
85
+ owner: import("mongoose").Types.ObjectId;
86
+ name: string;
87
+ config?: {
88
+ replyLangs: string[];
89
+ searchLangs: string[];
90
+ platform: string[];
91
+ prefixes: string[];
92
+ extraOwners: string[];
93
+ admins: string[];
94
+ whitelistUsers: string[];
95
+ blacklistUsers: string[];
96
+ excludedAutoAddFriends: string[];
97
+ otherBots: string[];
98
+ statusText: string[];
99
+ statusInterval: number[];
100
+ level: number[];
101
+ bpLevel: number[];
102
+ disableMatchmakingChecks: boolean[];
103
+ disableJoinMessages: boolean[];
104
+ usernameTriggers: import("mongoose").Types.DocumentArray<{
105
+ triggers: string[];
106
+ detectionMethods: number[];
107
+ actions: number[];
108
+ messages: string[];
109
+ }>;
110
+ messageContentTriggers: import("mongoose").Types.DocumentArray<{
111
+ triggers: string[];
112
+ detectionMethods: number[];
113
+ actions: number[];
114
+ messages: string[];
115
+ }>;
116
+ cosmeticTriggers: import("mongoose").Types.DocumentArray<{
117
+ triggers: string[];
118
+ detectionMethods: number[];
119
+ actions: number[];
120
+ messages: string[];
121
+ }>;
122
+ addFriendTrigger: import("mongoose").Types.DocumentArray<{
123
+ actions: number[];
124
+ messages: string[];
125
+ }>;
126
+ memberJoinTrigger: import("mongoose").Types.DocumentArray<{
127
+ actions: number[];
128
+ messages: string[];
129
+ }>;
130
+ changeCosmeticTrigger: import("mongoose").Types.DocumentArray<{
131
+ actions: number[];
132
+ messages: string[];
133
+ }>;
134
+ onlyOwnerCommands: string[];
135
+ onlyAdminCommands: string[];
136
+ onlyWhitelistUsersCommands: string[];
137
+ onlyFriendsCommands: string[];
138
+ onlyPartyMembersCommands: string[];
139
+ onlyWhisperCommands: string[];
140
+ startOutfit: string[];
141
+ startOutfitVariants: import("mongoose").Types.DocumentArray<{
142
+ 1: unknown;
143
+ 0: number[];
144
+ }>;
145
+ startBackpack: string[];
146
+ startBackpackVariants: import("mongoose").Types.DocumentArray<{
147
+ 1: unknown;
148
+ 0: number[];
149
+ }>;
150
+ startPickaxe: string[];
151
+ startPickaxeVariants: import("mongoose").Types.DocumentArray<{
152
+ 1: unknown;
153
+ 0: number[];
154
+ }>;
155
+ startBanner: string[];
156
+ joinOutfit: string[];
157
+ joinOutfitVariants: import("mongoose").Types.DocumentArray<{
158
+ 1: unknown;
159
+ 0: number[];
160
+ }>;
161
+ joinBackpack: string[];
162
+ joinBackpackVariants: import("mongoose").Types.DocumentArray<{
163
+ 1: unknown;
164
+ 0: number[];
165
+ }>;
166
+ joinPickaxe: string[];
167
+ joinPickaxeVariants: import("mongoose").Types.DocumentArray<{
168
+ 1: unknown;
169
+ 0: number[];
170
+ }>;
171
+ joinEmote: string[];
172
+ joinEmoji: string[];
173
+ joinBanner: string[];
174
+ memberJoinOutfit: string[];
175
+ memberJoinOutfitVariants: import("mongoose").Types.DocumentArray<{
176
+ 1: unknown;
177
+ 0: number[];
178
+ }>;
179
+ memberJoinBackpack: string[];
180
+ memberJoinBackpackVariants: import("mongoose").Types.DocumentArray<{
181
+ 1: unknown;
182
+ 0: number[];
183
+ }>;
184
+ memberJoinPickaxe: string[];
185
+ memberJoinPickaxeVariants: import("mongoose").Types.DocumentArray<{
186
+ 1: unknown;
187
+ 0: number[];
188
+ }>;
189
+ memberJoinEmote: string[];
190
+ memberJoinEmoji: string[];
191
+ memberJoinBanner: string[];
192
+ privacy?: string | CategoryConfigPartyPrivacy | null | undefined;
193
+ inviteTimeout?: number | null | undefined;
194
+ maxBotsPerLobby?: number | null | undefined;
195
+ maxBotsPerLobbyWithOwner?: number | null | undefined;
196
+ maxBotsPerLobbyWithAdmin?: number | null | undefined;
197
+ maxBotsPerLobbyWithWhitelistUser?: number | null | undefined;
198
+ allowMatchmaking?: boolean | null | undefined;
199
+ acceptFriendRequests?: boolean | null | undefined;
200
+ sendFriendRequestOnJoinParty?: boolean | null | undefined;
201
+ sendFriendRequestOnMemberJoinParty?: boolean | null | undefined;
202
+ runCommandsWithoutPrefix?: boolean | null | undefined;
203
+ setCosmeticsWithoutCommands?: boolean | null | undefined;
204
+ } | null | undefined;
205
+ }, {}, {}, {}, import("mongoose").Document<unknown, {}, {
206
+ owner: import("mongoose").Types.ObjectId;
207
+ name: string;
208
+ config?: {
209
+ replyLangs: string[];
210
+ searchLangs: string[];
211
+ platform: string[];
212
+ prefixes: string[];
213
+ extraOwners: string[];
214
+ admins: string[];
215
+ whitelistUsers: string[];
216
+ blacklistUsers: string[];
217
+ excludedAutoAddFriends: string[];
218
+ otherBots: string[];
219
+ statusText: string[];
220
+ statusInterval: number[];
221
+ level: number[];
222
+ bpLevel: number[];
223
+ disableMatchmakingChecks: boolean[];
224
+ disableJoinMessages: boolean[];
225
+ usernameTriggers: import("mongoose").Types.DocumentArray<{
226
+ triggers: string[];
227
+ detectionMethods: number[];
228
+ actions: number[];
229
+ messages: string[];
230
+ }>;
231
+ messageContentTriggers: import("mongoose").Types.DocumentArray<{
232
+ triggers: string[];
233
+ detectionMethods: number[];
234
+ actions: number[];
235
+ messages: string[];
236
+ }>;
237
+ cosmeticTriggers: import("mongoose").Types.DocumentArray<{
238
+ triggers: string[];
239
+ detectionMethods: number[];
240
+ actions: number[];
241
+ messages: string[];
242
+ }>;
243
+ addFriendTrigger: import("mongoose").Types.DocumentArray<{
244
+ actions: number[];
245
+ messages: string[];
246
+ }>;
247
+ memberJoinTrigger: import("mongoose").Types.DocumentArray<{
248
+ actions: number[];
249
+ messages: string[];
250
+ }>;
251
+ changeCosmeticTrigger: import("mongoose").Types.DocumentArray<{
252
+ actions: number[];
253
+ messages: string[];
254
+ }>;
255
+ onlyOwnerCommands: string[];
256
+ onlyAdminCommands: string[];
257
+ onlyWhitelistUsersCommands: string[];
258
+ onlyFriendsCommands: string[];
259
+ onlyPartyMembersCommands: string[];
260
+ onlyWhisperCommands: string[];
261
+ startOutfit: string[];
262
+ startOutfitVariants: import("mongoose").Types.DocumentArray<{
263
+ 1: unknown;
264
+ 0: number[];
265
+ }>;
266
+ startBackpack: string[];
267
+ startBackpackVariants: import("mongoose").Types.DocumentArray<{
268
+ 1: unknown;
269
+ 0: number[];
270
+ }>;
271
+ startPickaxe: string[];
272
+ startPickaxeVariants: import("mongoose").Types.DocumentArray<{
273
+ 1: unknown;
274
+ 0: number[];
275
+ }>;
276
+ startBanner: string[];
277
+ joinOutfit: string[];
278
+ joinOutfitVariants: import("mongoose").Types.DocumentArray<{
279
+ 1: unknown;
280
+ 0: number[];
281
+ }>;
282
+ joinBackpack: string[];
283
+ joinBackpackVariants: import("mongoose").Types.DocumentArray<{
284
+ 1: unknown;
285
+ 0: number[];
286
+ }>;
287
+ joinPickaxe: string[];
288
+ joinPickaxeVariants: import("mongoose").Types.DocumentArray<{
289
+ 1: unknown;
290
+ 0: number[];
291
+ }>;
292
+ joinEmote: string[];
293
+ joinEmoji: string[];
294
+ joinBanner: string[];
295
+ memberJoinOutfit: string[];
296
+ memberJoinOutfitVariants: import("mongoose").Types.DocumentArray<{
297
+ 1: unknown;
298
+ 0: number[];
299
+ }>;
300
+ memberJoinBackpack: string[];
301
+ memberJoinBackpackVariants: import("mongoose").Types.DocumentArray<{
302
+ 1: unknown;
303
+ 0: number[];
304
+ }>;
305
+ memberJoinPickaxe: string[];
306
+ memberJoinPickaxeVariants: import("mongoose").Types.DocumentArray<{
307
+ 1: unknown;
308
+ 0: number[];
309
+ }>;
310
+ memberJoinEmote: string[];
311
+ memberJoinEmoji: string[];
312
+ memberJoinBanner: string[];
313
+ privacy?: string | CategoryConfigPartyPrivacy | null | undefined;
314
+ inviteTimeout?: number | null | undefined;
315
+ maxBotsPerLobby?: number | null | undefined;
316
+ maxBotsPerLobbyWithOwner?: number | null | undefined;
317
+ maxBotsPerLobbyWithAdmin?: number | null | undefined;
318
+ maxBotsPerLobbyWithWhitelistUser?: number | null | undefined;
319
+ allowMatchmaking?: boolean | null | undefined;
320
+ acceptFriendRequests?: boolean | null | undefined;
321
+ sendFriendRequestOnJoinParty?: boolean | null | undefined;
322
+ sendFriendRequestOnMemberJoinParty?: boolean | null | undefined;
323
+ runCommandsWithoutPrefix?: boolean | null | undefined;
324
+ setCosmeticsWithoutCommands?: boolean | null | undefined;
325
+ } | null | undefined;
326
+ }> & {
327
+ owner: import("mongoose").Types.ObjectId;
328
+ name: string;
329
+ config?: {
330
+ replyLangs: string[];
331
+ searchLangs: string[];
332
+ platform: string[];
333
+ prefixes: string[];
334
+ extraOwners: string[];
335
+ admins: string[];
336
+ whitelistUsers: string[];
337
+ blacklistUsers: string[];
338
+ excludedAutoAddFriends: string[];
339
+ otherBots: string[];
340
+ statusText: string[];
341
+ statusInterval: number[];
342
+ level: number[];
343
+ bpLevel: number[];
344
+ disableMatchmakingChecks: boolean[];
345
+ disableJoinMessages: boolean[];
346
+ usernameTriggers: import("mongoose").Types.DocumentArray<{
347
+ triggers: string[];
348
+ detectionMethods: number[];
349
+ actions: number[];
350
+ messages: string[];
351
+ }>;
352
+ messageContentTriggers: import("mongoose").Types.DocumentArray<{
353
+ triggers: string[];
354
+ detectionMethods: number[];
355
+ actions: number[];
356
+ messages: string[];
357
+ }>;
358
+ cosmeticTriggers: import("mongoose").Types.DocumentArray<{
359
+ triggers: string[];
360
+ detectionMethods: number[];
361
+ actions: number[];
362
+ messages: string[];
363
+ }>;
364
+ addFriendTrigger: import("mongoose").Types.DocumentArray<{
365
+ actions: number[];
366
+ messages: string[];
367
+ }>;
368
+ memberJoinTrigger: import("mongoose").Types.DocumentArray<{
369
+ actions: number[];
370
+ messages: string[];
371
+ }>;
372
+ changeCosmeticTrigger: import("mongoose").Types.DocumentArray<{
373
+ actions: number[];
374
+ messages: string[];
375
+ }>;
376
+ onlyOwnerCommands: string[];
377
+ onlyAdminCommands: string[];
378
+ onlyWhitelistUsersCommands: string[];
379
+ onlyFriendsCommands: string[];
380
+ onlyPartyMembersCommands: string[];
381
+ onlyWhisperCommands: string[];
382
+ startOutfit: string[];
383
+ startOutfitVariants: import("mongoose").Types.DocumentArray<{
384
+ 1: unknown;
385
+ 0: number[];
386
+ }>;
387
+ startBackpack: string[];
388
+ startBackpackVariants: import("mongoose").Types.DocumentArray<{
389
+ 1: unknown;
390
+ 0: number[];
391
+ }>;
392
+ startPickaxe: string[];
393
+ startPickaxeVariants: import("mongoose").Types.DocumentArray<{
394
+ 1: unknown;
395
+ 0: number[];
396
+ }>;
397
+ startBanner: string[];
398
+ joinOutfit: string[];
399
+ joinOutfitVariants: import("mongoose").Types.DocumentArray<{
400
+ 1: unknown;
401
+ 0: number[];
402
+ }>;
403
+ joinBackpack: string[];
404
+ joinBackpackVariants: import("mongoose").Types.DocumentArray<{
405
+ 1: unknown;
406
+ 0: number[];
407
+ }>;
408
+ joinPickaxe: string[];
409
+ joinPickaxeVariants: import("mongoose").Types.DocumentArray<{
410
+ 1: unknown;
411
+ 0: number[];
412
+ }>;
413
+ joinEmote: string[];
414
+ joinEmoji: string[];
415
+ joinBanner: string[];
416
+ memberJoinOutfit: string[];
417
+ memberJoinOutfitVariants: import("mongoose").Types.DocumentArray<{
418
+ 1: unknown;
419
+ 0: number[];
420
+ }>;
421
+ memberJoinBackpack: string[];
422
+ memberJoinBackpackVariants: import("mongoose").Types.DocumentArray<{
423
+ 1: unknown;
424
+ 0: number[];
425
+ }>;
426
+ memberJoinPickaxe: string[];
427
+ memberJoinPickaxeVariants: import("mongoose").Types.DocumentArray<{
428
+ 1: unknown;
429
+ 0: number[];
430
+ }>;
431
+ memberJoinEmote: string[];
432
+ memberJoinEmoji: string[];
433
+ memberJoinBanner: string[];
434
+ privacy?: string | CategoryConfigPartyPrivacy | null | undefined;
435
+ inviteTimeout?: number | null | undefined;
436
+ maxBotsPerLobby?: number | null | undefined;
437
+ maxBotsPerLobbyWithOwner?: number | null | undefined;
438
+ maxBotsPerLobbyWithAdmin?: number | null | undefined;
439
+ maxBotsPerLobbyWithWhitelistUser?: number | null | undefined;
440
+ allowMatchmaking?: boolean | null | undefined;
441
+ acceptFriendRequests?: boolean | null | undefined;
442
+ sendFriendRequestOnJoinParty?: boolean | null | undefined;
443
+ sendFriendRequestOnMemberJoinParty?: boolean | null | undefined;
444
+ runCommandsWithoutPrefix?: boolean | null | undefined;
445
+ setCosmeticsWithoutCommands?: boolean | null | undefined;
446
+ } | null | undefined;
447
+ } & {
448
+ _id: import("mongoose").Types.ObjectId;
449
+ } & {
450
+ __v: number;
451
+ }, Schema<any, import("mongoose").Model<any, any, any, any, any, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, {
452
+ owner: import("mongoose").Types.ObjectId;
453
+ name: string;
454
+ config?: {
455
+ replyLangs: string[];
456
+ searchLangs: string[];
457
+ platform: string[];
458
+ prefixes: string[];
459
+ extraOwners: string[];
460
+ admins: string[];
461
+ whitelistUsers: string[];
462
+ blacklistUsers: string[];
463
+ excludedAutoAddFriends: string[];
464
+ otherBots: string[];
465
+ statusText: string[];
466
+ statusInterval: number[];
467
+ level: number[];
468
+ bpLevel: number[];
469
+ disableMatchmakingChecks: boolean[];
470
+ disableJoinMessages: boolean[];
471
+ usernameTriggers: import("mongoose").Types.DocumentArray<{
472
+ triggers: string[];
473
+ detectionMethods: number[];
474
+ actions: number[];
475
+ messages: string[];
476
+ }>;
477
+ messageContentTriggers: import("mongoose").Types.DocumentArray<{
478
+ triggers: string[];
479
+ detectionMethods: number[];
480
+ actions: number[];
481
+ messages: string[];
482
+ }>;
483
+ cosmeticTriggers: import("mongoose").Types.DocumentArray<{
484
+ triggers: string[];
485
+ detectionMethods: number[];
486
+ actions: number[];
487
+ messages: string[];
488
+ }>;
489
+ addFriendTrigger: import("mongoose").Types.DocumentArray<{
490
+ actions: number[];
491
+ messages: string[];
492
+ }>;
493
+ memberJoinTrigger: import("mongoose").Types.DocumentArray<{
494
+ actions: number[];
495
+ messages: string[];
496
+ }>;
497
+ changeCosmeticTrigger: import("mongoose").Types.DocumentArray<{
498
+ actions: number[];
499
+ messages: string[];
500
+ }>;
501
+ onlyOwnerCommands: string[];
502
+ onlyAdminCommands: string[];
503
+ onlyWhitelistUsersCommands: string[];
504
+ onlyFriendsCommands: string[];
505
+ onlyPartyMembersCommands: string[];
506
+ onlyWhisperCommands: string[];
507
+ startOutfit: string[];
508
+ startOutfitVariants: import("mongoose").Types.DocumentArray<{
509
+ 1: unknown;
510
+ 0: number[];
511
+ }>;
512
+ startBackpack: string[];
513
+ startBackpackVariants: import("mongoose").Types.DocumentArray<{
514
+ 1: unknown;
515
+ 0: number[];
516
+ }>;
517
+ startPickaxe: string[];
518
+ startPickaxeVariants: import("mongoose").Types.DocumentArray<{
519
+ 1: unknown;
520
+ 0: number[];
521
+ }>;
522
+ startBanner: string[];
523
+ joinOutfit: string[];
524
+ joinOutfitVariants: import("mongoose").Types.DocumentArray<{
525
+ 1: unknown;
526
+ 0: number[];
527
+ }>;
528
+ joinBackpack: string[];
529
+ joinBackpackVariants: import("mongoose").Types.DocumentArray<{
530
+ 1: unknown;
531
+ 0: number[];
532
+ }>;
533
+ joinPickaxe: string[];
534
+ joinPickaxeVariants: import("mongoose").Types.DocumentArray<{
535
+ 1: unknown;
536
+ 0: number[];
537
+ }>;
538
+ joinEmote: string[];
539
+ joinEmoji: string[];
540
+ joinBanner: string[];
541
+ memberJoinOutfit: string[];
542
+ memberJoinOutfitVariants: import("mongoose").Types.DocumentArray<{
543
+ 1: unknown;
544
+ 0: number[];
545
+ }>;
546
+ memberJoinBackpack: string[];
547
+ memberJoinBackpackVariants: import("mongoose").Types.DocumentArray<{
548
+ 1: unknown;
549
+ 0: number[];
550
+ }>;
551
+ memberJoinPickaxe: string[];
552
+ memberJoinPickaxeVariants: import("mongoose").Types.DocumentArray<{
553
+ 1: unknown;
554
+ 0: number[];
555
+ }>;
556
+ memberJoinEmote: string[];
557
+ memberJoinEmoji: string[];
558
+ memberJoinBanner: string[];
559
+ privacy?: string | CategoryConfigPartyPrivacy | null | undefined;
560
+ inviteTimeout?: number | null | undefined;
561
+ maxBotsPerLobby?: number | null | undefined;
562
+ maxBotsPerLobbyWithOwner?: number | null | undefined;
563
+ maxBotsPerLobbyWithAdmin?: number | null | undefined;
564
+ maxBotsPerLobbyWithWhitelistUser?: number | null | undefined;
565
+ allowMatchmaking?: boolean | null | undefined;
566
+ acceptFriendRequests?: boolean | null | undefined;
567
+ sendFriendRequestOnJoinParty?: boolean | null | undefined;
568
+ sendFriendRequestOnMemberJoinParty?: boolean | null | undefined;
569
+ runCommandsWithoutPrefix?: boolean | null | undefined;
570
+ setCosmeticsWithoutCommands?: boolean | null | undefined;
571
+ } | null | undefined;
572
+ }, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
573
+ owner: import("mongoose").Types.ObjectId;
574
+ name: string;
575
+ config?: {
576
+ replyLangs: string[];
577
+ searchLangs: string[];
578
+ platform: string[];
579
+ prefixes: string[];
580
+ extraOwners: string[];
581
+ admins: string[];
582
+ whitelistUsers: string[];
583
+ blacklistUsers: string[];
584
+ excludedAutoAddFriends: string[];
585
+ otherBots: string[];
586
+ statusText: string[];
587
+ statusInterval: number[];
588
+ level: number[];
589
+ bpLevel: number[];
590
+ disableMatchmakingChecks: boolean[];
591
+ disableJoinMessages: boolean[];
592
+ usernameTriggers: import("mongoose").Types.DocumentArray<{
593
+ triggers: string[];
594
+ detectionMethods: number[];
595
+ actions: number[];
596
+ messages: string[];
597
+ }>;
598
+ messageContentTriggers: import("mongoose").Types.DocumentArray<{
599
+ triggers: string[];
600
+ detectionMethods: number[];
601
+ actions: number[];
602
+ messages: string[];
603
+ }>;
604
+ cosmeticTriggers: import("mongoose").Types.DocumentArray<{
605
+ triggers: string[];
606
+ detectionMethods: number[];
607
+ actions: number[];
608
+ messages: string[];
609
+ }>;
610
+ addFriendTrigger: import("mongoose").Types.DocumentArray<{
611
+ actions: number[];
612
+ messages: string[];
613
+ }>;
614
+ memberJoinTrigger: import("mongoose").Types.DocumentArray<{
615
+ actions: number[];
616
+ messages: string[];
617
+ }>;
618
+ changeCosmeticTrigger: import("mongoose").Types.DocumentArray<{
619
+ actions: number[];
620
+ messages: string[];
621
+ }>;
622
+ onlyOwnerCommands: string[];
623
+ onlyAdminCommands: string[];
624
+ onlyWhitelistUsersCommands: string[];
625
+ onlyFriendsCommands: string[];
626
+ onlyPartyMembersCommands: string[];
627
+ onlyWhisperCommands: string[];
628
+ startOutfit: string[];
629
+ startOutfitVariants: import("mongoose").Types.DocumentArray<{
630
+ 1: unknown;
631
+ 0: number[];
632
+ }>;
633
+ startBackpack: string[];
634
+ startBackpackVariants: import("mongoose").Types.DocumentArray<{
635
+ 1: unknown;
636
+ 0: number[];
637
+ }>;
638
+ startPickaxe: string[];
639
+ startPickaxeVariants: import("mongoose").Types.DocumentArray<{
640
+ 1: unknown;
641
+ 0: number[];
642
+ }>;
643
+ startBanner: string[];
644
+ joinOutfit: string[];
645
+ joinOutfitVariants: import("mongoose").Types.DocumentArray<{
646
+ 1: unknown;
647
+ 0: number[];
648
+ }>;
649
+ joinBackpack: string[];
650
+ joinBackpackVariants: import("mongoose").Types.DocumentArray<{
651
+ 1: unknown;
652
+ 0: number[];
653
+ }>;
654
+ joinPickaxe: string[];
655
+ joinPickaxeVariants: import("mongoose").Types.DocumentArray<{
656
+ 1: unknown;
657
+ 0: number[];
658
+ }>;
659
+ joinEmote: string[];
660
+ joinEmoji: string[];
661
+ joinBanner: string[];
662
+ memberJoinOutfit: string[];
663
+ memberJoinOutfitVariants: import("mongoose").Types.DocumentArray<{
664
+ 1: unknown;
665
+ 0: number[];
666
+ }>;
667
+ memberJoinBackpack: string[];
668
+ memberJoinBackpackVariants: import("mongoose").Types.DocumentArray<{
669
+ 1: unknown;
670
+ 0: number[];
671
+ }>;
672
+ memberJoinPickaxe: string[];
673
+ memberJoinPickaxeVariants: import("mongoose").Types.DocumentArray<{
674
+ 1: unknown;
675
+ 0: number[];
676
+ }>;
677
+ memberJoinEmote: string[];
678
+ memberJoinEmoji: string[];
679
+ memberJoinBanner: string[];
680
+ privacy?: string | CategoryConfigPartyPrivacy | null | undefined;
681
+ inviteTimeout?: number | null | undefined;
682
+ maxBotsPerLobby?: number | null | undefined;
683
+ maxBotsPerLobbyWithOwner?: number | null | undefined;
684
+ maxBotsPerLobbyWithAdmin?: number | null | undefined;
685
+ maxBotsPerLobbyWithWhitelistUser?: number | null | undefined;
686
+ allowMatchmaking?: boolean | null | undefined;
687
+ acceptFriendRequests?: boolean | null | undefined;
688
+ sendFriendRequestOnJoinParty?: boolean | null | undefined;
689
+ sendFriendRequestOnMemberJoinParty?: boolean | null | undefined;
690
+ runCommandsWithoutPrefix?: boolean | null | undefined;
691
+ setCosmeticsWithoutCommands?: boolean | null | undefined;
692
+ } | null | undefined;
693
+ }>> & import("mongoose").FlatRecord<{
694
+ owner: import("mongoose").Types.ObjectId;
695
+ name: string;
696
+ config?: {
697
+ replyLangs: string[];
698
+ searchLangs: string[];
699
+ platform: string[];
700
+ prefixes: string[];
701
+ extraOwners: string[];
702
+ admins: string[];
703
+ whitelistUsers: string[];
704
+ blacklistUsers: string[];
705
+ excludedAutoAddFriends: string[];
706
+ otherBots: string[];
707
+ statusText: string[];
708
+ statusInterval: number[];
709
+ level: number[];
710
+ bpLevel: number[];
711
+ disableMatchmakingChecks: boolean[];
712
+ disableJoinMessages: boolean[];
713
+ usernameTriggers: import("mongoose").Types.DocumentArray<{
714
+ triggers: string[];
715
+ detectionMethods: number[];
716
+ actions: number[];
717
+ messages: string[];
718
+ }>;
719
+ messageContentTriggers: import("mongoose").Types.DocumentArray<{
720
+ triggers: string[];
721
+ detectionMethods: number[];
722
+ actions: number[];
723
+ messages: string[];
724
+ }>;
725
+ cosmeticTriggers: import("mongoose").Types.DocumentArray<{
726
+ triggers: string[];
727
+ detectionMethods: number[];
728
+ actions: number[];
729
+ messages: string[];
730
+ }>;
731
+ addFriendTrigger: import("mongoose").Types.DocumentArray<{
732
+ actions: number[];
733
+ messages: string[];
734
+ }>;
735
+ memberJoinTrigger: import("mongoose").Types.DocumentArray<{
736
+ actions: number[];
737
+ messages: string[];
738
+ }>;
739
+ changeCosmeticTrigger: import("mongoose").Types.DocumentArray<{
740
+ actions: number[];
741
+ messages: string[];
742
+ }>;
743
+ onlyOwnerCommands: string[];
744
+ onlyAdminCommands: string[];
745
+ onlyWhitelistUsersCommands: string[];
746
+ onlyFriendsCommands: string[];
747
+ onlyPartyMembersCommands: string[];
748
+ onlyWhisperCommands: string[];
749
+ startOutfit: string[];
750
+ startOutfitVariants: import("mongoose").Types.DocumentArray<{
751
+ 1: unknown;
752
+ 0: number[];
753
+ }>;
754
+ startBackpack: string[];
755
+ startBackpackVariants: import("mongoose").Types.DocumentArray<{
756
+ 1: unknown;
757
+ 0: number[];
758
+ }>;
759
+ startPickaxe: string[];
760
+ startPickaxeVariants: import("mongoose").Types.DocumentArray<{
761
+ 1: unknown;
762
+ 0: number[];
763
+ }>;
764
+ startBanner: string[];
765
+ joinOutfit: string[];
766
+ joinOutfitVariants: import("mongoose").Types.DocumentArray<{
767
+ 1: unknown;
768
+ 0: number[];
769
+ }>;
770
+ joinBackpack: string[];
771
+ joinBackpackVariants: import("mongoose").Types.DocumentArray<{
772
+ 1: unknown;
773
+ 0: number[];
774
+ }>;
775
+ joinPickaxe: string[];
776
+ joinPickaxeVariants: import("mongoose").Types.DocumentArray<{
777
+ 1: unknown;
778
+ 0: number[];
779
+ }>;
780
+ joinEmote: string[];
781
+ joinEmoji: string[];
782
+ joinBanner: string[];
783
+ memberJoinOutfit: string[];
784
+ memberJoinOutfitVariants: import("mongoose").Types.DocumentArray<{
785
+ 1: unknown;
786
+ 0: number[];
787
+ }>;
788
+ memberJoinBackpack: string[];
789
+ memberJoinBackpackVariants: import("mongoose").Types.DocumentArray<{
790
+ 1: unknown;
791
+ 0: number[];
792
+ }>;
793
+ memberJoinPickaxe: string[];
794
+ memberJoinPickaxeVariants: import("mongoose").Types.DocumentArray<{
795
+ 1: unknown;
796
+ 0: number[];
797
+ }>;
798
+ memberJoinEmote: string[];
799
+ memberJoinEmoji: string[];
800
+ memberJoinBanner: string[];
801
+ privacy?: string | CategoryConfigPartyPrivacy | null | undefined;
802
+ inviteTimeout?: number | null | undefined;
803
+ maxBotsPerLobby?: number | null | undefined;
804
+ maxBotsPerLobbyWithOwner?: number | null | undefined;
805
+ maxBotsPerLobbyWithAdmin?: number | null | undefined;
806
+ maxBotsPerLobbyWithWhitelistUser?: number | null | undefined;
807
+ allowMatchmaking?: boolean | null | undefined;
808
+ acceptFriendRequests?: boolean | null | undefined;
809
+ sendFriendRequestOnJoinParty?: boolean | null | undefined;
810
+ sendFriendRequestOnMemberJoinParty?: boolean | null | undefined;
811
+ runCommandsWithoutPrefix?: boolean | null | undefined;
812
+ setCosmeticsWithoutCommands?: boolean | null | undefined;
813
+ } | null | undefined;
814
+ }> & {
815
+ _id: import("mongoose").Types.ObjectId;
816
+ } & {
817
+ __v: number;
818
+ }>>;
819
+ export declare const UserModel: import("mongoose").Model<{
820
+ email: string;
821
+ token: string;
822
+ username: string;
823
+ password: string;
824
+ apiToken: string;
825
+ connections?: {
826
+ discord?: {
827
+ id?: string | null | undefined;
828
+ username?: string | null | undefined;
829
+ } | null | undefined;
830
+ epic?: {
831
+ id?: string | null | undefined;
832
+ username?: string | null | undefined;
833
+ } | null | undefined;
834
+ } | null | undefined;
835
+ }, {}, {}, {}, import("mongoose").Document<unknown, {}, {
836
+ email: string;
837
+ token: string;
838
+ username: string;
839
+ password: string;
840
+ apiToken: string;
841
+ connections?: {
842
+ discord?: {
843
+ id?: string | null | undefined;
844
+ username?: string | null | undefined;
845
+ } | null | undefined;
846
+ epic?: {
847
+ id?: string | null | undefined;
848
+ username?: string | null | undefined;
849
+ } | null | undefined;
850
+ } | null | undefined;
851
+ }> & {
852
+ email: string;
853
+ token: string;
854
+ username: string;
855
+ password: string;
856
+ apiToken: string;
857
+ connections?: {
858
+ discord?: {
859
+ id?: string | null | undefined;
860
+ username?: string | null | undefined;
861
+ } | null | undefined;
862
+ epic?: {
863
+ id?: string | null | undefined;
864
+ username?: string | null | undefined;
865
+ } | null | undefined;
866
+ } | null | undefined;
867
+ } & {
868
+ _id: import("mongoose").Types.ObjectId;
869
+ } & {
870
+ __v: number;
871
+ }, Schema<any, import("mongoose").Model<any, any, any, any, any, any>, {}, {}, {}, {
872
+ verifyPassword: (this: import("mongoose").Model<import("mongoose").FlatRecord<{
873
+ email: string;
874
+ token: string;
875
+ username: string;
876
+ password: string;
877
+ apiToken: string;
878
+ connections?: {
879
+ discord?: {
880
+ id?: string | null | undefined;
881
+ username?: string | null | undefined;
882
+ } | null | undefined;
883
+ epic?: {
884
+ id?: string | null | undefined;
885
+ username?: string | null | undefined;
886
+ } | null | undefined;
887
+ } | null | undefined;
888
+ }>, {}, {}, {}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
889
+ email: string;
890
+ token: string;
891
+ username: string;
892
+ password: string;
893
+ apiToken: string;
894
+ connections?: {
895
+ discord?: {
896
+ id?: string | null | undefined;
897
+ username?: string | null | undefined;
898
+ } | null | undefined;
899
+ epic?: {
900
+ id?: string | null | undefined;
901
+ username?: string | null | undefined;
902
+ } | null | undefined;
903
+ } | null | undefined;
904
+ }>> & import("mongoose").FlatRecord<{
905
+ email: string;
906
+ token: string;
907
+ username: string;
908
+ password: string;
909
+ apiToken: string;
910
+ connections?: {
911
+ discord?: {
912
+ id?: string | null | undefined;
913
+ username?: string | null | undefined;
914
+ } | null | undefined;
915
+ epic?: {
916
+ id?: string | null | undefined;
917
+ username?: string | null | undefined;
918
+ } | null | undefined;
919
+ } | null | undefined;
920
+ }> & {
921
+ _id: import("mongoose").Types.ObjectId;
922
+ } & {
923
+ __v: number;
924
+ }, any>, password: string, hash: string) => Promise<boolean>;
925
+ findByToken: (this: import("mongoose").Model<import("mongoose").FlatRecord<{
926
+ email: string;
927
+ token: string;
928
+ username: string;
929
+ password: string;
930
+ apiToken: string;
931
+ connections?: {
932
+ discord?: {
933
+ id?: string | null | undefined;
934
+ username?: string | null | undefined;
935
+ } | null | undefined;
936
+ epic?: {
937
+ id?: string | null | undefined;
938
+ username?: string | null | undefined;
939
+ } | null | undefined;
940
+ } | null | undefined;
941
+ }>, {}, {}, {}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
942
+ email: string;
943
+ token: string;
944
+ username: string;
945
+ password: string;
946
+ apiToken: string;
947
+ connections?: {
948
+ discord?: {
949
+ id?: string | null | undefined;
950
+ username?: string | null | undefined;
951
+ } | null | undefined;
952
+ epic?: {
953
+ id?: string | null | undefined;
954
+ username?: string | null | undefined;
955
+ } | null | undefined;
956
+ } | null | undefined;
957
+ }>> & import("mongoose").FlatRecord<{
958
+ email: string;
959
+ token: string;
960
+ username: string;
961
+ password: string;
962
+ apiToken: string;
963
+ connections?: {
964
+ discord?: {
965
+ id?: string | null | undefined;
966
+ username?: string | null | undefined;
967
+ } | null | undefined;
968
+ epic?: {
969
+ id?: string | null | undefined;
970
+ username?: string | null | undefined;
971
+ } | null | undefined;
972
+ } | null | undefined;
973
+ }> & {
974
+ _id: import("mongoose").Types.ObjectId;
975
+ } & {
976
+ __v: number;
977
+ }, any>, id: string, auth: string) => Promise<(import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
978
+ email: string;
979
+ token: string;
980
+ username: string;
981
+ password: string;
982
+ apiToken: string;
983
+ connections?: {
984
+ discord?: {
985
+ id?: string | null | undefined;
986
+ username?: string | null | undefined;
987
+ } | null | undefined;
988
+ epic?: {
989
+ id?: string | null | undefined;
990
+ username?: string | null | undefined;
991
+ } | null | undefined;
992
+ } | null | undefined;
993
+ }>> & import("mongoose").FlatRecord<{
994
+ email: string;
995
+ token: string;
996
+ username: string;
997
+ password: string;
998
+ apiToken: string;
999
+ connections?: {
1000
+ discord?: {
1001
+ id?: string | null | undefined;
1002
+ username?: string | null | undefined;
1003
+ } | null | undefined;
1004
+ epic?: {
1005
+ id?: string | null | undefined;
1006
+ username?: string | null | undefined;
1007
+ } | null | undefined;
1008
+ } | null | undefined;
1009
+ }> & {
1010
+ _id: import("mongoose").Types.ObjectId;
1011
+ } & {
1012
+ __v: number;
1013
+ }) | null>;
1014
+ findByAPIToken: (this: import("mongoose").Model<import("mongoose").FlatRecord<{
1015
+ email: string;
1016
+ token: string;
1017
+ username: string;
1018
+ password: string;
1019
+ apiToken: string;
1020
+ connections?: {
1021
+ discord?: {
1022
+ id?: string | null | undefined;
1023
+ username?: string | null | undefined;
1024
+ } | null | undefined;
1025
+ epic?: {
1026
+ id?: string | null | undefined;
1027
+ username?: string | null | undefined;
1028
+ } | null | undefined;
1029
+ } | null | undefined;
1030
+ }>, {}, {}, {}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
1031
+ email: string;
1032
+ token: string;
1033
+ username: string;
1034
+ password: string;
1035
+ apiToken: string;
1036
+ connections?: {
1037
+ discord?: {
1038
+ id?: string | null | undefined;
1039
+ username?: string | null | undefined;
1040
+ } | null | undefined;
1041
+ epic?: {
1042
+ id?: string | null | undefined;
1043
+ username?: string | null | undefined;
1044
+ } | null | undefined;
1045
+ } | null | undefined;
1046
+ }>> & import("mongoose").FlatRecord<{
1047
+ email: string;
1048
+ token: string;
1049
+ username: string;
1050
+ password: string;
1051
+ apiToken: string;
1052
+ connections?: {
1053
+ discord?: {
1054
+ id?: string | null | undefined;
1055
+ username?: string | null | undefined;
1056
+ } | null | undefined;
1057
+ epic?: {
1058
+ id?: string | null | undefined;
1059
+ username?: string | null | undefined;
1060
+ } | null | undefined;
1061
+ } | null | undefined;
1062
+ }> & {
1063
+ _id: import("mongoose").Types.ObjectId;
1064
+ } & {
1065
+ __v: number;
1066
+ }, any>, id: string, auth: string) => Promise<(import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
1067
+ email: string;
1068
+ token: string;
1069
+ username: string;
1070
+ password: string;
1071
+ apiToken: string;
1072
+ connections?: {
1073
+ discord?: {
1074
+ id?: string | null | undefined;
1075
+ username?: string | null | undefined;
1076
+ } | null | undefined;
1077
+ epic?: {
1078
+ id?: string | null | undefined;
1079
+ username?: string | null | undefined;
1080
+ } | null | undefined;
1081
+ } | null | undefined;
1082
+ }>> & import("mongoose").FlatRecord<{
1083
+ email: string;
1084
+ token: string;
1085
+ username: string;
1086
+ password: string;
1087
+ apiToken: string;
1088
+ connections?: {
1089
+ discord?: {
1090
+ id?: string | null | undefined;
1091
+ username?: string | null | undefined;
1092
+ } | null | undefined;
1093
+ epic?: {
1094
+ id?: string | null | undefined;
1095
+ username?: string | null | undefined;
1096
+ } | null | undefined;
1097
+ } | null | undefined;
1098
+ }> & {
1099
+ _id: import("mongoose").Types.ObjectId;
1100
+ } & {
1101
+ __v: number;
1102
+ }) | null>;
1103
+ }, {
1104
+ statics: {
1105
+ verifyPassword(this: import("mongoose").Model<import("mongoose").FlatRecord<{
1106
+ email: string;
1107
+ token: string;
1108
+ username: string;
1109
+ password: string;
1110
+ apiToken: string;
1111
+ connections?: {
1112
+ discord?: {
1113
+ id?: string | null | undefined;
1114
+ username?: string | null | undefined;
1115
+ } | null | undefined;
1116
+ epic?: {
1117
+ id?: string | null | undefined;
1118
+ username?: string | null | undefined;
1119
+ } | null | undefined;
1120
+ } | null | undefined;
1121
+ }>, {}, {}, {}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
1122
+ email: string;
1123
+ token: string;
1124
+ username: string;
1125
+ password: string;
1126
+ apiToken: string;
1127
+ connections?: {
1128
+ discord?: {
1129
+ id?: string | null | undefined;
1130
+ username?: string | null | undefined;
1131
+ } | null | undefined;
1132
+ epic?: {
1133
+ id?: string | null | undefined;
1134
+ username?: string | null | undefined;
1135
+ } | null | undefined;
1136
+ } | null | undefined;
1137
+ }>> & import("mongoose").FlatRecord<{
1138
+ email: string;
1139
+ token: string;
1140
+ username: string;
1141
+ password: string;
1142
+ apiToken: string;
1143
+ connections?: {
1144
+ discord?: {
1145
+ id?: string | null | undefined;
1146
+ username?: string | null | undefined;
1147
+ } | null | undefined;
1148
+ epic?: {
1149
+ id?: string | null | undefined;
1150
+ username?: string | null | undefined;
1151
+ } | null | undefined;
1152
+ } | null | undefined;
1153
+ }> & {
1154
+ _id: import("mongoose").Types.ObjectId;
1155
+ } & {
1156
+ __v: number;
1157
+ }, any>, password: string, hash: string): Promise<boolean>;
1158
+ findByToken(this: import("mongoose").Model<import("mongoose").FlatRecord<{
1159
+ email: string;
1160
+ token: string;
1161
+ username: string;
1162
+ password: string;
1163
+ apiToken: string;
1164
+ connections?: {
1165
+ discord?: {
1166
+ id?: string | null | undefined;
1167
+ username?: string | null | undefined;
1168
+ } | null | undefined;
1169
+ epic?: {
1170
+ id?: string | null | undefined;
1171
+ username?: string | null | undefined;
1172
+ } | null | undefined;
1173
+ } | null | undefined;
1174
+ }>, {}, {}, {}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
1175
+ email: string;
1176
+ token: string;
1177
+ username: string;
1178
+ password: string;
1179
+ apiToken: string;
1180
+ connections?: {
1181
+ discord?: {
1182
+ id?: string | null | undefined;
1183
+ username?: string | null | undefined;
1184
+ } | null | undefined;
1185
+ epic?: {
1186
+ id?: string | null | undefined;
1187
+ username?: string | null | undefined;
1188
+ } | null | undefined;
1189
+ } | null | undefined;
1190
+ }>> & import("mongoose").FlatRecord<{
1191
+ email: string;
1192
+ token: string;
1193
+ username: string;
1194
+ password: string;
1195
+ apiToken: string;
1196
+ connections?: {
1197
+ discord?: {
1198
+ id?: string | null | undefined;
1199
+ username?: string | null | undefined;
1200
+ } | null | undefined;
1201
+ epic?: {
1202
+ id?: string | null | undefined;
1203
+ username?: string | null | undefined;
1204
+ } | null | undefined;
1205
+ } | null | undefined;
1206
+ }> & {
1207
+ _id: import("mongoose").Types.ObjectId;
1208
+ } & {
1209
+ __v: number;
1210
+ }, any>, id: string, auth: string): Promise<(import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
1211
+ email: string;
1212
+ token: string;
1213
+ username: string;
1214
+ password: string;
1215
+ apiToken: string;
1216
+ connections?: {
1217
+ discord?: {
1218
+ id?: string | null | undefined;
1219
+ username?: string | null | undefined;
1220
+ } | null | undefined;
1221
+ epic?: {
1222
+ id?: string | null | undefined;
1223
+ username?: string | null | undefined;
1224
+ } | null | undefined;
1225
+ } | null | undefined;
1226
+ }>> & import("mongoose").FlatRecord<{
1227
+ email: string;
1228
+ token: string;
1229
+ username: string;
1230
+ password: string;
1231
+ apiToken: string;
1232
+ connections?: {
1233
+ discord?: {
1234
+ id?: string | null | undefined;
1235
+ username?: string | null | undefined;
1236
+ } | null | undefined;
1237
+ epic?: {
1238
+ id?: string | null | undefined;
1239
+ username?: string | null | undefined;
1240
+ } | null | undefined;
1241
+ } | null | undefined;
1242
+ }> & {
1243
+ _id: import("mongoose").Types.ObjectId;
1244
+ } & {
1245
+ __v: number;
1246
+ }) | null>;
1247
+ findByAPIToken(this: import("mongoose").Model<import("mongoose").FlatRecord<{
1248
+ email: string;
1249
+ token: string;
1250
+ username: string;
1251
+ password: string;
1252
+ apiToken: string;
1253
+ connections?: {
1254
+ discord?: {
1255
+ id?: string | null | undefined;
1256
+ username?: string | null | undefined;
1257
+ } | null | undefined;
1258
+ epic?: {
1259
+ id?: string | null | undefined;
1260
+ username?: string | null | undefined;
1261
+ } | null | undefined;
1262
+ } | null | undefined;
1263
+ }>, {}, {}, {}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
1264
+ email: string;
1265
+ token: string;
1266
+ username: string;
1267
+ password: string;
1268
+ apiToken: string;
1269
+ connections?: {
1270
+ discord?: {
1271
+ id?: string | null | undefined;
1272
+ username?: string | null | undefined;
1273
+ } | null | undefined;
1274
+ epic?: {
1275
+ id?: string | null | undefined;
1276
+ username?: string | null | undefined;
1277
+ } | null | undefined;
1278
+ } | null | undefined;
1279
+ }>> & import("mongoose").FlatRecord<{
1280
+ email: string;
1281
+ token: string;
1282
+ username: string;
1283
+ password: string;
1284
+ apiToken: string;
1285
+ connections?: {
1286
+ discord?: {
1287
+ id?: string | null | undefined;
1288
+ username?: string | null | undefined;
1289
+ } | null | undefined;
1290
+ epic?: {
1291
+ id?: string | null | undefined;
1292
+ username?: string | null | undefined;
1293
+ } | null | undefined;
1294
+ } | null | undefined;
1295
+ }> & {
1296
+ _id: import("mongoose").Types.ObjectId;
1297
+ } & {
1298
+ __v: number;
1299
+ }, any>, id: string, auth: string): Promise<(import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
1300
+ email: string;
1301
+ token: string;
1302
+ username: string;
1303
+ password: string;
1304
+ apiToken: string;
1305
+ connections?: {
1306
+ discord?: {
1307
+ id?: string | null | undefined;
1308
+ username?: string | null | undefined;
1309
+ } | null | undefined;
1310
+ epic?: {
1311
+ id?: string | null | undefined;
1312
+ username?: string | null | undefined;
1313
+ } | null | undefined;
1314
+ } | null | undefined;
1315
+ }>> & import("mongoose").FlatRecord<{
1316
+ email: string;
1317
+ token: string;
1318
+ username: string;
1319
+ password: string;
1320
+ apiToken: string;
1321
+ connections?: {
1322
+ discord?: {
1323
+ id?: string | null | undefined;
1324
+ username?: string | null | undefined;
1325
+ } | null | undefined;
1326
+ epic?: {
1327
+ id?: string | null | undefined;
1328
+ username?: string | null | undefined;
1329
+ } | null | undefined;
1330
+ } | null | undefined;
1331
+ }> & {
1332
+ _id: import("mongoose").Types.ObjectId;
1333
+ } & {
1334
+ __v: number;
1335
+ }) | null>;
1336
+ };
1337
+ }, {
1338
+ email: string;
1339
+ token: string;
1340
+ username: string;
1341
+ password: string;
1342
+ apiToken: string;
1343
+ connections?: {
1344
+ discord?: {
1345
+ id?: string | null | undefined;
1346
+ username?: string | null | undefined;
1347
+ } | null | undefined;
1348
+ epic?: {
1349
+ id?: string | null | undefined;
1350
+ username?: string | null | undefined;
1351
+ } | null | undefined;
1352
+ } | null | undefined;
1353
+ }, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
1354
+ email: string;
1355
+ token: string;
1356
+ username: string;
1357
+ password: string;
1358
+ apiToken: string;
1359
+ connections?: {
1360
+ discord?: {
1361
+ id?: string | null | undefined;
1362
+ username?: string | null | undefined;
1363
+ } | null | undefined;
1364
+ epic?: {
1365
+ id?: string | null | undefined;
1366
+ username?: string | null | undefined;
1367
+ } | null | undefined;
1368
+ } | null | undefined;
1369
+ }>> & import("mongoose").FlatRecord<{
1370
+ email: string;
1371
+ token: string;
1372
+ username: string;
1373
+ password: string;
1374
+ apiToken: string;
1375
+ connections?: {
1376
+ discord?: {
1377
+ id?: string | null | undefined;
1378
+ username?: string | null | undefined;
1379
+ } | null | undefined;
1380
+ epic?: {
1381
+ id?: string | null | undefined;
1382
+ username?: string | null | undefined;
1383
+ } | null | undefined;
1384
+ } | null | undefined;
1385
+ }> & {
1386
+ _id: import("mongoose").Types.ObjectId;
1387
+ } & {
1388
+ __v: number;
1389
+ }>> & {
1390
+ verifyPassword: (this: import("mongoose").Model<import("mongoose").FlatRecord<{
1391
+ email: string;
1392
+ token: string;
1393
+ username: string;
1394
+ password: string;
1395
+ apiToken: string;
1396
+ connections?: {
1397
+ discord?: {
1398
+ id?: string | null | undefined;
1399
+ username?: string | null | undefined;
1400
+ } | null | undefined;
1401
+ epic?: {
1402
+ id?: string | null | undefined;
1403
+ username?: string | null | undefined;
1404
+ } | null | undefined;
1405
+ } | null | undefined;
1406
+ }>, {}, {}, {}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
1407
+ email: string;
1408
+ token: string;
1409
+ username: string;
1410
+ password: string;
1411
+ apiToken: string;
1412
+ connections?: {
1413
+ discord?: {
1414
+ id?: string | null | undefined;
1415
+ username?: string | null | undefined;
1416
+ } | null | undefined;
1417
+ epic?: {
1418
+ id?: string | null | undefined;
1419
+ username?: string | null | undefined;
1420
+ } | null | undefined;
1421
+ } | null | undefined;
1422
+ }>> & import("mongoose").FlatRecord<{
1423
+ email: string;
1424
+ token: string;
1425
+ username: string;
1426
+ password: string;
1427
+ apiToken: string;
1428
+ connections?: {
1429
+ discord?: {
1430
+ id?: string | null | undefined;
1431
+ username?: string | null | undefined;
1432
+ } | null | undefined;
1433
+ epic?: {
1434
+ id?: string | null | undefined;
1435
+ username?: string | null | undefined;
1436
+ } | null | undefined;
1437
+ } | null | undefined;
1438
+ }> & {
1439
+ _id: import("mongoose").Types.ObjectId;
1440
+ } & {
1441
+ __v: number;
1442
+ }, any>, password: string, hash: string) => Promise<boolean>;
1443
+ findByToken: (this: import("mongoose").Model<import("mongoose").FlatRecord<{
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, {}, import("mongoose").FlatRecord<{
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
+ }>> & import("mongoose").FlatRecord<{
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
+ }, any>, id: string, auth: string) => Promise<(import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
1496
+ email: string;
1497
+ token: string;
1498
+ username: string;
1499
+ password: string;
1500
+ apiToken: string;
1501
+ connections?: {
1502
+ discord?: {
1503
+ id?: string | null | undefined;
1504
+ username?: string | null | undefined;
1505
+ } | null | undefined;
1506
+ epic?: {
1507
+ id?: string | null | undefined;
1508
+ username?: string | null | undefined;
1509
+ } | null | undefined;
1510
+ } | null | undefined;
1511
+ }>> & import("mongoose").FlatRecord<{
1512
+ email: string;
1513
+ token: string;
1514
+ username: string;
1515
+ password: string;
1516
+ apiToken: string;
1517
+ connections?: {
1518
+ discord?: {
1519
+ id?: string | null | undefined;
1520
+ username?: string | null | undefined;
1521
+ } | null | undefined;
1522
+ epic?: {
1523
+ id?: string | null | undefined;
1524
+ username?: string | null | undefined;
1525
+ } | null | undefined;
1526
+ } | null | undefined;
1527
+ }> & {
1528
+ _id: import("mongoose").Types.ObjectId;
1529
+ } & {
1530
+ __v: number;
1531
+ }) | null>;
1532
+ findByAPIToken: (this: import("mongoose").Model<import("mongoose").FlatRecord<{
1533
+ email: string;
1534
+ token: string;
1535
+ username: string;
1536
+ password: string;
1537
+ apiToken: string;
1538
+ connections?: {
1539
+ discord?: {
1540
+ id?: string | null | undefined;
1541
+ username?: string | null | undefined;
1542
+ } | null | undefined;
1543
+ epic?: {
1544
+ id?: string | null | undefined;
1545
+ username?: string | null | undefined;
1546
+ } | null | undefined;
1547
+ } | null | undefined;
1548
+ }>, {}, {}, {}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
1549
+ email: string;
1550
+ token: string;
1551
+ username: string;
1552
+ password: string;
1553
+ apiToken: string;
1554
+ connections?: {
1555
+ discord?: {
1556
+ id?: string | null | undefined;
1557
+ username?: string | null | undefined;
1558
+ } | null | undefined;
1559
+ epic?: {
1560
+ id?: string | null | undefined;
1561
+ username?: string | null | undefined;
1562
+ } | null | undefined;
1563
+ } | null | undefined;
1564
+ }>> & import("mongoose").FlatRecord<{
1565
+ email: string;
1566
+ token: string;
1567
+ username: string;
1568
+ password: string;
1569
+ apiToken: string;
1570
+ connections?: {
1571
+ discord?: {
1572
+ id?: string | null | undefined;
1573
+ username?: string | null | undefined;
1574
+ } | null | undefined;
1575
+ epic?: {
1576
+ id?: string | null | undefined;
1577
+ username?: string | null | undefined;
1578
+ } | null | undefined;
1579
+ } | null | undefined;
1580
+ }> & {
1581
+ _id: import("mongoose").Types.ObjectId;
1582
+ } & {
1583
+ __v: number;
1584
+ }, any>, id: string, auth: string) => Promise<(import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
1585
+ email: string;
1586
+ token: string;
1587
+ username: string;
1588
+ password: string;
1589
+ apiToken: string;
1590
+ connections?: {
1591
+ discord?: {
1592
+ id?: string | null | undefined;
1593
+ username?: string | null | undefined;
1594
+ } | null | undefined;
1595
+ epic?: {
1596
+ id?: string | null | undefined;
1597
+ username?: string | null | undefined;
1598
+ } | null | undefined;
1599
+ } | null | undefined;
1600
+ }>> & import("mongoose").FlatRecord<{
1601
+ email: string;
1602
+ token: string;
1603
+ username: string;
1604
+ password: string;
1605
+ apiToken: string;
1606
+ connections?: {
1607
+ discord?: {
1608
+ id?: string | null | undefined;
1609
+ username?: string | null | undefined;
1610
+ } | null | undefined;
1611
+ epic?: {
1612
+ id?: string | null | undefined;
1613
+ username?: string | null | undefined;
1614
+ } | null | undefined;
1615
+ } | null | undefined;
1616
+ }> & {
1617
+ _id: import("mongoose").Types.ObjectId;
1618
+ } & {
1619
+ __v: number;
1620
+ }) | null>;
1621
+ };
1622
+
1623
+ export {};