@fnlb-project/database 1.0.38 → 1.0.40
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.
- package/dist/index.d.ts +241 -234
- package/dist/index.js +455 -447
- package/package.json +9 -7
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
// Generated by dts-bundle-generator v9.5.1
|
|
2
2
|
|
|
3
3
|
import { GenericErrorSender } from '@fnlb-project/shared/errors';
|
|
4
|
+
import { CategoryConfigSupportedPlatforms, Locales } from '@fnlb-project/shared/types';
|
|
4
5
|
import { Schema } from 'mongoose';
|
|
5
6
|
|
|
6
7
|
export declare class DatabaseClient {
|
|
@@ -96,11 +97,12 @@ export declare const CategoryModel: import("mongoose").Model<{
|
|
|
96
97
|
flags?: number | null | undefined;
|
|
97
98
|
managed?: boolean | null | undefined;
|
|
98
99
|
config?: {
|
|
99
|
-
replyLangs?:
|
|
100
|
-
searchLangs?:
|
|
101
|
-
platform?:
|
|
100
|
+
replyLangs?: Locales[] | null | undefined;
|
|
101
|
+
searchLangs?: Locales[] | null | undefined;
|
|
102
|
+
platform?: CategoryConfigSupportedPlatforms[] | null | undefined;
|
|
102
103
|
privacy?: any;
|
|
103
104
|
prefixes?: string[] | null | undefined;
|
|
105
|
+
statusType?: any;
|
|
104
106
|
statusText?: string[] | null | undefined;
|
|
105
107
|
statusInterval?: number | null | undefined;
|
|
106
108
|
level?: number[] | null | undefined;
|
|
@@ -205,115 +207,115 @@ export declare const CategoryModel: import("mongoose").Model<{
|
|
|
205
207
|
usernameTriggers?: import("mongoose").Types.DocumentArray<{
|
|
206
208
|
_id?: unknown;
|
|
207
209
|
triggers?: string[] | null | undefined;
|
|
208
|
-
detectionMethods?:
|
|
209
|
-
actions?:
|
|
210
|
+
detectionMethods?: any[] | null | undefined;
|
|
211
|
+
actions?: any[] | null | undefined;
|
|
210
212
|
messages?: string[] | null | undefined;
|
|
211
213
|
}, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
|
|
212
214
|
_id?: unknown;
|
|
213
215
|
triggers?: string[] | null | undefined;
|
|
214
|
-
detectionMethods?:
|
|
215
|
-
actions?:
|
|
216
|
+
detectionMethods?: any[] | null | undefined;
|
|
217
|
+
actions?: any[] | null | undefined;
|
|
216
218
|
messages?: string[] | null | undefined;
|
|
217
219
|
}> & {
|
|
218
220
|
_id?: unknown;
|
|
219
221
|
triggers?: string[] | null | undefined;
|
|
220
|
-
detectionMethods?:
|
|
221
|
-
actions?:
|
|
222
|
+
detectionMethods?: any[] | null | undefined;
|
|
223
|
+
actions?: any[] | null | undefined;
|
|
222
224
|
messages?: string[] | null | undefined;
|
|
223
225
|
}> | null | undefined;
|
|
224
226
|
messageContentTriggers?: import("mongoose").Types.DocumentArray<{
|
|
225
227
|
_id?: unknown;
|
|
226
228
|
triggers?: string[] | null | undefined;
|
|
227
|
-
detectionMethods?:
|
|
228
|
-
actions?:
|
|
229
|
+
detectionMethods?: any[] | null | undefined;
|
|
230
|
+
actions?: any[] | null | undefined;
|
|
229
231
|
messages?: string[] | null | undefined;
|
|
230
232
|
}, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
|
|
231
233
|
_id?: unknown;
|
|
232
234
|
triggers?: string[] | null | undefined;
|
|
233
|
-
detectionMethods?:
|
|
234
|
-
actions?:
|
|
235
|
+
detectionMethods?: any[] | null | undefined;
|
|
236
|
+
actions?: any[] | null | undefined;
|
|
235
237
|
messages?: string[] | null | undefined;
|
|
236
238
|
}> & {
|
|
237
239
|
_id?: unknown;
|
|
238
240
|
triggers?: string[] | null | undefined;
|
|
239
|
-
detectionMethods?:
|
|
240
|
-
actions?:
|
|
241
|
+
detectionMethods?: any[] | null | undefined;
|
|
242
|
+
actions?: any[] | null | undefined;
|
|
241
243
|
messages?: string[] | null | undefined;
|
|
242
244
|
}> | null | undefined;
|
|
243
245
|
cosmeticTriggers?: import("mongoose").Types.DocumentArray<{
|
|
244
246
|
_id?: unknown;
|
|
245
247
|
triggers?: string[] | null | undefined;
|
|
246
|
-
detectionMethods?:
|
|
247
|
-
actions?:
|
|
248
|
+
detectionMethods?: any[] | null | undefined;
|
|
249
|
+
actions?: any[] | null | undefined;
|
|
248
250
|
messages?: string[] | null | undefined;
|
|
249
251
|
}, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
|
|
250
252
|
_id?: unknown;
|
|
251
253
|
triggers?: string[] | null | undefined;
|
|
252
|
-
detectionMethods?:
|
|
253
|
-
actions?:
|
|
254
|
+
detectionMethods?: any[] | null | undefined;
|
|
255
|
+
actions?: any[] | null | undefined;
|
|
254
256
|
messages?: string[] | null | undefined;
|
|
255
257
|
}> & {
|
|
256
258
|
_id?: unknown;
|
|
257
259
|
triggers?: string[] | null | undefined;
|
|
258
|
-
detectionMethods?:
|
|
259
|
-
actions?:
|
|
260
|
+
detectionMethods?: any[] | null | undefined;
|
|
261
|
+
actions?: any[] | null | undefined;
|
|
260
262
|
messages?: string[] | null | undefined;
|
|
261
263
|
}> | null | undefined;
|
|
262
264
|
addFriendTriggers?: import("mongoose").Types.DocumentArray<{
|
|
263
265
|
_id?: unknown;
|
|
264
266
|
triggers?: string[] | null | undefined;
|
|
265
|
-
detectionMethods?:
|
|
266
|
-
actions?:
|
|
267
|
+
detectionMethods?: any[] | null | undefined;
|
|
268
|
+
actions?: any[] | null | undefined;
|
|
267
269
|
messages?: string[] | null | undefined;
|
|
268
270
|
}, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
|
|
269
271
|
_id?: unknown;
|
|
270
272
|
triggers?: string[] | null | undefined;
|
|
271
|
-
detectionMethods?:
|
|
272
|
-
actions?:
|
|
273
|
+
detectionMethods?: any[] | null | undefined;
|
|
274
|
+
actions?: any[] | null | undefined;
|
|
273
275
|
messages?: string[] | null | undefined;
|
|
274
276
|
}> & {
|
|
275
277
|
_id?: unknown;
|
|
276
278
|
triggers?: string[] | null | undefined;
|
|
277
|
-
detectionMethods?:
|
|
278
|
-
actions?:
|
|
279
|
+
detectionMethods?: any[] | null | undefined;
|
|
280
|
+
actions?: any[] | null | undefined;
|
|
279
281
|
messages?: string[] | null | undefined;
|
|
280
282
|
}> | null | undefined;
|
|
281
283
|
memberJoinTriggers?: import("mongoose").Types.DocumentArray<{
|
|
282
284
|
_id?: unknown;
|
|
283
285
|
triggers?: string[] | null | undefined;
|
|
284
|
-
detectionMethods?:
|
|
285
|
-
actions?:
|
|
286
|
+
detectionMethods?: any[] | null | undefined;
|
|
287
|
+
actions?: any[] | null | undefined;
|
|
286
288
|
messages?: string[] | null | undefined;
|
|
287
289
|
}, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
|
|
288
290
|
_id?: unknown;
|
|
289
291
|
triggers?: string[] | null | undefined;
|
|
290
|
-
detectionMethods?:
|
|
291
|
-
actions?:
|
|
292
|
+
detectionMethods?: any[] | null | undefined;
|
|
293
|
+
actions?: any[] | null | undefined;
|
|
292
294
|
messages?: string[] | null | undefined;
|
|
293
295
|
}> & {
|
|
294
296
|
_id?: unknown;
|
|
295
297
|
triggers?: string[] | null | undefined;
|
|
296
|
-
detectionMethods?:
|
|
297
|
-
actions?:
|
|
298
|
+
detectionMethods?: any[] | null | undefined;
|
|
299
|
+
actions?: any[] | null | undefined;
|
|
298
300
|
messages?: string[] | null | undefined;
|
|
299
301
|
}> | null | undefined;
|
|
300
302
|
changeCosmeticTriggers?: import("mongoose").Types.DocumentArray<{
|
|
301
303
|
_id?: unknown;
|
|
302
304
|
triggers?: string[] | null | undefined;
|
|
303
|
-
detectionMethods?:
|
|
304
|
-
actions?:
|
|
305
|
+
detectionMethods?: any[] | null | undefined;
|
|
306
|
+
actions?: any[] | null | undefined;
|
|
305
307
|
messages?: string[] | null | undefined;
|
|
306
308
|
}, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
|
|
307
309
|
_id?: unknown;
|
|
308
310
|
triggers?: string[] | null | undefined;
|
|
309
|
-
detectionMethods?:
|
|
310
|
-
actions?:
|
|
311
|
+
detectionMethods?: any[] | null | undefined;
|
|
312
|
+
actions?: any[] | null | undefined;
|
|
311
313
|
messages?: string[] | null | undefined;
|
|
312
314
|
}> & {
|
|
313
315
|
_id?: unknown;
|
|
314
316
|
triggers?: string[] | null | undefined;
|
|
315
|
-
detectionMethods?:
|
|
316
|
-
actions?:
|
|
317
|
+
detectionMethods?: any[] | null | undefined;
|
|
318
|
+
actions?: any[] | null | undefined;
|
|
317
319
|
messages?: string[] | null | undefined;
|
|
318
320
|
}> | null | undefined;
|
|
319
321
|
onlyOwnerCommands?: string[] | null | undefined;
|
|
@@ -565,11 +567,12 @@ export declare const CategoryModel: import("mongoose").Model<{
|
|
|
565
567
|
flags?: number | null | undefined;
|
|
566
568
|
managed?: boolean | null | undefined;
|
|
567
569
|
config?: {
|
|
568
|
-
replyLangs?:
|
|
569
|
-
searchLangs?:
|
|
570
|
-
platform?:
|
|
570
|
+
replyLangs?: Locales[] | null | undefined;
|
|
571
|
+
searchLangs?: Locales[] | null | undefined;
|
|
572
|
+
platform?: CategoryConfigSupportedPlatforms[] | null | undefined;
|
|
571
573
|
privacy?: any;
|
|
572
574
|
prefixes?: string[] | null | undefined;
|
|
575
|
+
statusType?: any;
|
|
573
576
|
statusText?: string[] | null | undefined;
|
|
574
577
|
statusInterval?: number | null | undefined;
|
|
575
578
|
level?: number[] | null | undefined;
|
|
@@ -674,115 +677,115 @@ export declare const CategoryModel: import("mongoose").Model<{
|
|
|
674
677
|
usernameTriggers?: import("mongoose").Types.DocumentArray<{
|
|
675
678
|
_id?: unknown;
|
|
676
679
|
triggers?: string[] | null | undefined;
|
|
677
|
-
detectionMethods?:
|
|
678
|
-
actions?:
|
|
680
|
+
detectionMethods?: any[] | null | undefined;
|
|
681
|
+
actions?: any[] | null | undefined;
|
|
679
682
|
messages?: string[] | null | undefined;
|
|
680
683
|
}, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
|
|
681
684
|
_id?: unknown;
|
|
682
685
|
triggers?: string[] | null | undefined;
|
|
683
|
-
detectionMethods?:
|
|
684
|
-
actions?:
|
|
686
|
+
detectionMethods?: any[] | null | undefined;
|
|
687
|
+
actions?: any[] | null | undefined;
|
|
685
688
|
messages?: string[] | null | undefined;
|
|
686
689
|
}> & {
|
|
687
690
|
_id?: unknown;
|
|
688
691
|
triggers?: string[] | null | undefined;
|
|
689
|
-
detectionMethods?:
|
|
690
|
-
actions?:
|
|
692
|
+
detectionMethods?: any[] | null | undefined;
|
|
693
|
+
actions?: any[] | null | undefined;
|
|
691
694
|
messages?: string[] | null | undefined;
|
|
692
695
|
}> | null | undefined;
|
|
693
696
|
messageContentTriggers?: import("mongoose").Types.DocumentArray<{
|
|
694
697
|
_id?: unknown;
|
|
695
698
|
triggers?: string[] | null | undefined;
|
|
696
|
-
detectionMethods?:
|
|
697
|
-
actions?:
|
|
699
|
+
detectionMethods?: any[] | null | undefined;
|
|
700
|
+
actions?: any[] | null | undefined;
|
|
698
701
|
messages?: string[] | null | undefined;
|
|
699
702
|
}, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
|
|
700
703
|
_id?: unknown;
|
|
701
704
|
triggers?: string[] | null | undefined;
|
|
702
|
-
detectionMethods?:
|
|
703
|
-
actions?:
|
|
705
|
+
detectionMethods?: any[] | null | undefined;
|
|
706
|
+
actions?: any[] | null | undefined;
|
|
704
707
|
messages?: string[] | null | undefined;
|
|
705
708
|
}> & {
|
|
706
709
|
_id?: unknown;
|
|
707
710
|
triggers?: string[] | null | undefined;
|
|
708
|
-
detectionMethods?:
|
|
709
|
-
actions?:
|
|
711
|
+
detectionMethods?: any[] | null | undefined;
|
|
712
|
+
actions?: any[] | null | undefined;
|
|
710
713
|
messages?: string[] | null | undefined;
|
|
711
714
|
}> | null | undefined;
|
|
712
715
|
cosmeticTriggers?: import("mongoose").Types.DocumentArray<{
|
|
713
716
|
_id?: unknown;
|
|
714
717
|
triggers?: string[] | null | undefined;
|
|
715
|
-
detectionMethods?:
|
|
716
|
-
actions?:
|
|
718
|
+
detectionMethods?: any[] | null | undefined;
|
|
719
|
+
actions?: any[] | null | undefined;
|
|
717
720
|
messages?: string[] | null | undefined;
|
|
718
721
|
}, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
|
|
719
722
|
_id?: unknown;
|
|
720
723
|
triggers?: string[] | null | undefined;
|
|
721
|
-
detectionMethods?:
|
|
722
|
-
actions?:
|
|
724
|
+
detectionMethods?: any[] | null | undefined;
|
|
725
|
+
actions?: any[] | null | undefined;
|
|
723
726
|
messages?: string[] | null | undefined;
|
|
724
727
|
}> & {
|
|
725
728
|
_id?: unknown;
|
|
726
729
|
triggers?: string[] | null | undefined;
|
|
727
|
-
detectionMethods?:
|
|
728
|
-
actions?:
|
|
730
|
+
detectionMethods?: any[] | null | undefined;
|
|
731
|
+
actions?: any[] | null | undefined;
|
|
729
732
|
messages?: string[] | null | undefined;
|
|
730
733
|
}> | null | undefined;
|
|
731
734
|
addFriendTriggers?: import("mongoose").Types.DocumentArray<{
|
|
732
735
|
_id?: unknown;
|
|
733
736
|
triggers?: string[] | null | undefined;
|
|
734
|
-
detectionMethods?:
|
|
735
|
-
actions?:
|
|
737
|
+
detectionMethods?: any[] | null | undefined;
|
|
738
|
+
actions?: any[] | null | undefined;
|
|
736
739
|
messages?: string[] | null | undefined;
|
|
737
740
|
}, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
|
|
738
741
|
_id?: unknown;
|
|
739
742
|
triggers?: string[] | null | undefined;
|
|
740
|
-
detectionMethods?:
|
|
741
|
-
actions?:
|
|
743
|
+
detectionMethods?: any[] | null | undefined;
|
|
744
|
+
actions?: any[] | null | undefined;
|
|
742
745
|
messages?: string[] | null | undefined;
|
|
743
746
|
}> & {
|
|
744
747
|
_id?: unknown;
|
|
745
748
|
triggers?: string[] | null | undefined;
|
|
746
|
-
detectionMethods?:
|
|
747
|
-
actions?:
|
|
749
|
+
detectionMethods?: any[] | null | undefined;
|
|
750
|
+
actions?: any[] | null | undefined;
|
|
748
751
|
messages?: string[] | null | undefined;
|
|
749
752
|
}> | null | undefined;
|
|
750
753
|
memberJoinTriggers?: import("mongoose").Types.DocumentArray<{
|
|
751
754
|
_id?: unknown;
|
|
752
755
|
triggers?: string[] | null | undefined;
|
|
753
|
-
detectionMethods?:
|
|
754
|
-
actions?:
|
|
756
|
+
detectionMethods?: any[] | null | undefined;
|
|
757
|
+
actions?: any[] | null | undefined;
|
|
755
758
|
messages?: string[] | null | undefined;
|
|
756
759
|
}, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
|
|
757
760
|
_id?: unknown;
|
|
758
761
|
triggers?: string[] | null | undefined;
|
|
759
|
-
detectionMethods?:
|
|
760
|
-
actions?:
|
|
762
|
+
detectionMethods?: any[] | null | undefined;
|
|
763
|
+
actions?: any[] | null | undefined;
|
|
761
764
|
messages?: string[] | null | undefined;
|
|
762
765
|
}> & {
|
|
763
766
|
_id?: unknown;
|
|
764
767
|
triggers?: string[] | null | undefined;
|
|
765
|
-
detectionMethods?:
|
|
766
|
-
actions?:
|
|
768
|
+
detectionMethods?: any[] | null | undefined;
|
|
769
|
+
actions?: any[] | null | undefined;
|
|
767
770
|
messages?: string[] | null | undefined;
|
|
768
771
|
}> | null | undefined;
|
|
769
772
|
changeCosmeticTriggers?: import("mongoose").Types.DocumentArray<{
|
|
770
773
|
_id?: unknown;
|
|
771
774
|
triggers?: string[] | null | undefined;
|
|
772
|
-
detectionMethods?:
|
|
773
|
-
actions?:
|
|
775
|
+
detectionMethods?: any[] | null | undefined;
|
|
776
|
+
actions?: any[] | null | undefined;
|
|
774
777
|
messages?: string[] | null | undefined;
|
|
775
778
|
}, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
|
|
776
779
|
_id?: unknown;
|
|
777
780
|
triggers?: string[] | null | undefined;
|
|
778
|
-
detectionMethods?:
|
|
779
|
-
actions?:
|
|
781
|
+
detectionMethods?: any[] | null | undefined;
|
|
782
|
+
actions?: any[] | null | undefined;
|
|
780
783
|
messages?: string[] | null | undefined;
|
|
781
784
|
}> & {
|
|
782
785
|
_id?: unknown;
|
|
783
786
|
triggers?: string[] | null | undefined;
|
|
784
|
-
detectionMethods?:
|
|
785
|
-
actions?:
|
|
787
|
+
detectionMethods?: any[] | null | undefined;
|
|
788
|
+
actions?: any[] | null | undefined;
|
|
786
789
|
messages?: string[] | null | undefined;
|
|
787
790
|
}> | null | undefined;
|
|
788
791
|
onlyOwnerCommands?: string[] | null | undefined;
|
|
@@ -1034,11 +1037,12 @@ export declare const CategoryModel: import("mongoose").Model<{
|
|
|
1034
1037
|
flags?: number | null | undefined;
|
|
1035
1038
|
managed?: boolean | null | undefined;
|
|
1036
1039
|
config?: {
|
|
1037
|
-
replyLangs?:
|
|
1038
|
-
searchLangs?:
|
|
1039
|
-
platform?:
|
|
1040
|
+
replyLangs?: Locales[] | null | undefined;
|
|
1041
|
+
searchLangs?: Locales[] | null | undefined;
|
|
1042
|
+
platform?: CategoryConfigSupportedPlatforms[] | null | undefined;
|
|
1040
1043
|
privacy?: any;
|
|
1041
1044
|
prefixes?: string[] | null | undefined;
|
|
1045
|
+
statusType?: any;
|
|
1042
1046
|
statusText?: string[] | null | undefined;
|
|
1043
1047
|
statusInterval?: number | null | undefined;
|
|
1044
1048
|
level?: number[] | null | undefined;
|
|
@@ -1143,115 +1147,115 @@ export declare const CategoryModel: import("mongoose").Model<{
|
|
|
1143
1147
|
usernameTriggers?: import("mongoose").Types.DocumentArray<{
|
|
1144
1148
|
_id?: unknown;
|
|
1145
1149
|
triggers?: string[] | null | undefined;
|
|
1146
|
-
detectionMethods?:
|
|
1147
|
-
actions?:
|
|
1150
|
+
detectionMethods?: any[] | null | undefined;
|
|
1151
|
+
actions?: any[] | null | undefined;
|
|
1148
1152
|
messages?: string[] | null | undefined;
|
|
1149
1153
|
}, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
|
|
1150
1154
|
_id?: unknown;
|
|
1151
1155
|
triggers?: string[] | null | undefined;
|
|
1152
|
-
detectionMethods?:
|
|
1153
|
-
actions?:
|
|
1156
|
+
detectionMethods?: any[] | null | undefined;
|
|
1157
|
+
actions?: any[] | null | undefined;
|
|
1154
1158
|
messages?: string[] | null | undefined;
|
|
1155
1159
|
}> & {
|
|
1156
1160
|
_id?: unknown;
|
|
1157
1161
|
triggers?: string[] | null | undefined;
|
|
1158
|
-
detectionMethods?:
|
|
1159
|
-
actions?:
|
|
1162
|
+
detectionMethods?: any[] | null | undefined;
|
|
1163
|
+
actions?: any[] | null | undefined;
|
|
1160
1164
|
messages?: string[] | null | undefined;
|
|
1161
1165
|
}> | null | undefined;
|
|
1162
1166
|
messageContentTriggers?: import("mongoose").Types.DocumentArray<{
|
|
1163
1167
|
_id?: unknown;
|
|
1164
1168
|
triggers?: string[] | null | undefined;
|
|
1165
|
-
detectionMethods?:
|
|
1166
|
-
actions?:
|
|
1169
|
+
detectionMethods?: any[] | null | undefined;
|
|
1170
|
+
actions?: any[] | null | undefined;
|
|
1167
1171
|
messages?: string[] | null | undefined;
|
|
1168
1172
|
}, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
|
|
1169
1173
|
_id?: unknown;
|
|
1170
1174
|
triggers?: string[] | null | undefined;
|
|
1171
|
-
detectionMethods?:
|
|
1172
|
-
actions?:
|
|
1175
|
+
detectionMethods?: any[] | null | undefined;
|
|
1176
|
+
actions?: any[] | null | undefined;
|
|
1173
1177
|
messages?: string[] | null | undefined;
|
|
1174
1178
|
}> & {
|
|
1175
1179
|
_id?: unknown;
|
|
1176
1180
|
triggers?: string[] | null | undefined;
|
|
1177
|
-
detectionMethods?:
|
|
1178
|
-
actions?:
|
|
1181
|
+
detectionMethods?: any[] | null | undefined;
|
|
1182
|
+
actions?: any[] | null | undefined;
|
|
1179
1183
|
messages?: string[] | null | undefined;
|
|
1180
1184
|
}> | null | undefined;
|
|
1181
1185
|
cosmeticTriggers?: import("mongoose").Types.DocumentArray<{
|
|
1182
1186
|
_id?: unknown;
|
|
1183
1187
|
triggers?: string[] | null | undefined;
|
|
1184
|
-
detectionMethods?:
|
|
1185
|
-
actions?:
|
|
1188
|
+
detectionMethods?: any[] | null | undefined;
|
|
1189
|
+
actions?: any[] | null | undefined;
|
|
1186
1190
|
messages?: string[] | null | undefined;
|
|
1187
1191
|
}, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
|
|
1188
1192
|
_id?: unknown;
|
|
1189
1193
|
triggers?: string[] | null | undefined;
|
|
1190
|
-
detectionMethods?:
|
|
1191
|
-
actions?:
|
|
1194
|
+
detectionMethods?: any[] | null | undefined;
|
|
1195
|
+
actions?: any[] | null | undefined;
|
|
1192
1196
|
messages?: string[] | null | undefined;
|
|
1193
1197
|
}> & {
|
|
1194
1198
|
_id?: unknown;
|
|
1195
1199
|
triggers?: string[] | null | undefined;
|
|
1196
|
-
detectionMethods?:
|
|
1197
|
-
actions?:
|
|
1200
|
+
detectionMethods?: any[] | null | undefined;
|
|
1201
|
+
actions?: any[] | null | undefined;
|
|
1198
1202
|
messages?: string[] | null | undefined;
|
|
1199
1203
|
}> | null | undefined;
|
|
1200
1204
|
addFriendTriggers?: import("mongoose").Types.DocumentArray<{
|
|
1201
1205
|
_id?: unknown;
|
|
1202
1206
|
triggers?: string[] | null | undefined;
|
|
1203
|
-
detectionMethods?:
|
|
1204
|
-
actions?:
|
|
1207
|
+
detectionMethods?: any[] | null | undefined;
|
|
1208
|
+
actions?: any[] | null | undefined;
|
|
1205
1209
|
messages?: string[] | null | undefined;
|
|
1206
1210
|
}, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
|
|
1207
1211
|
_id?: unknown;
|
|
1208
1212
|
triggers?: string[] | null | undefined;
|
|
1209
|
-
detectionMethods?:
|
|
1210
|
-
actions?:
|
|
1213
|
+
detectionMethods?: any[] | null | undefined;
|
|
1214
|
+
actions?: any[] | null | undefined;
|
|
1211
1215
|
messages?: string[] | null | undefined;
|
|
1212
1216
|
}> & {
|
|
1213
1217
|
_id?: unknown;
|
|
1214
1218
|
triggers?: string[] | null | undefined;
|
|
1215
|
-
detectionMethods?:
|
|
1216
|
-
actions?:
|
|
1219
|
+
detectionMethods?: any[] | null | undefined;
|
|
1220
|
+
actions?: any[] | null | undefined;
|
|
1217
1221
|
messages?: string[] | null | undefined;
|
|
1218
1222
|
}> | null | undefined;
|
|
1219
1223
|
memberJoinTriggers?: import("mongoose").Types.DocumentArray<{
|
|
1220
1224
|
_id?: unknown;
|
|
1221
1225
|
triggers?: string[] | null | undefined;
|
|
1222
|
-
detectionMethods?:
|
|
1223
|
-
actions?:
|
|
1226
|
+
detectionMethods?: any[] | null | undefined;
|
|
1227
|
+
actions?: any[] | null | undefined;
|
|
1224
1228
|
messages?: string[] | null | undefined;
|
|
1225
1229
|
}, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
|
|
1226
1230
|
_id?: unknown;
|
|
1227
1231
|
triggers?: string[] | null | undefined;
|
|
1228
|
-
detectionMethods?:
|
|
1229
|
-
actions?:
|
|
1232
|
+
detectionMethods?: any[] | null | undefined;
|
|
1233
|
+
actions?: any[] | null | undefined;
|
|
1230
1234
|
messages?: string[] | null | undefined;
|
|
1231
1235
|
}> & {
|
|
1232
1236
|
_id?: unknown;
|
|
1233
1237
|
triggers?: string[] | null | undefined;
|
|
1234
|
-
detectionMethods?:
|
|
1235
|
-
actions?:
|
|
1238
|
+
detectionMethods?: any[] | null | undefined;
|
|
1239
|
+
actions?: any[] | null | undefined;
|
|
1236
1240
|
messages?: string[] | null | undefined;
|
|
1237
1241
|
}> | null | undefined;
|
|
1238
1242
|
changeCosmeticTriggers?: import("mongoose").Types.DocumentArray<{
|
|
1239
1243
|
_id?: unknown;
|
|
1240
1244
|
triggers?: string[] | null | undefined;
|
|
1241
|
-
detectionMethods?:
|
|
1242
|
-
actions?:
|
|
1245
|
+
detectionMethods?: any[] | null | undefined;
|
|
1246
|
+
actions?: any[] | null | undefined;
|
|
1243
1247
|
messages?: string[] | null | undefined;
|
|
1244
1248
|
}, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
|
|
1245
1249
|
_id?: unknown;
|
|
1246
1250
|
triggers?: string[] | null | undefined;
|
|
1247
|
-
detectionMethods?:
|
|
1248
|
-
actions?:
|
|
1251
|
+
detectionMethods?: any[] | null | undefined;
|
|
1252
|
+
actions?: any[] | null | undefined;
|
|
1249
1253
|
messages?: string[] | null | undefined;
|
|
1250
1254
|
}> & {
|
|
1251
1255
|
_id?: unknown;
|
|
1252
1256
|
triggers?: string[] | null | undefined;
|
|
1253
|
-
detectionMethods?:
|
|
1254
|
-
actions?:
|
|
1257
|
+
detectionMethods?: any[] | null | undefined;
|
|
1258
|
+
actions?: any[] | null | undefined;
|
|
1255
1259
|
messages?: string[] | null | undefined;
|
|
1256
1260
|
}> | null | undefined;
|
|
1257
1261
|
onlyOwnerCommands?: string[] | null | undefined;
|
|
@@ -1507,11 +1511,12 @@ export declare const CategoryModel: import("mongoose").Model<{
|
|
|
1507
1511
|
flags?: number | null | undefined;
|
|
1508
1512
|
managed?: boolean | null | undefined;
|
|
1509
1513
|
config?: {
|
|
1510
|
-
replyLangs?:
|
|
1511
|
-
searchLangs?:
|
|
1512
|
-
platform?:
|
|
1514
|
+
replyLangs?: Locales[] | null | undefined;
|
|
1515
|
+
searchLangs?: Locales[] | null | undefined;
|
|
1516
|
+
platform?: CategoryConfigSupportedPlatforms[] | null | undefined;
|
|
1513
1517
|
privacy?: any;
|
|
1514
1518
|
prefixes?: string[] | null | undefined;
|
|
1519
|
+
statusType?: any;
|
|
1515
1520
|
statusText?: string[] | null | undefined;
|
|
1516
1521
|
statusInterval?: number | null | undefined;
|
|
1517
1522
|
level?: number[] | null | undefined;
|
|
@@ -1616,115 +1621,115 @@ export declare const CategoryModel: import("mongoose").Model<{
|
|
|
1616
1621
|
usernameTriggers?: import("mongoose").Types.DocumentArray<{
|
|
1617
1622
|
_id?: unknown;
|
|
1618
1623
|
triggers?: string[] | null | undefined;
|
|
1619
|
-
detectionMethods?:
|
|
1620
|
-
actions?:
|
|
1624
|
+
detectionMethods?: any[] | null | undefined;
|
|
1625
|
+
actions?: any[] | null | undefined;
|
|
1621
1626
|
messages?: string[] | null | undefined;
|
|
1622
1627
|
}, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
|
|
1623
1628
|
_id?: unknown;
|
|
1624
1629
|
triggers?: string[] | null | undefined;
|
|
1625
|
-
detectionMethods?:
|
|
1626
|
-
actions?:
|
|
1630
|
+
detectionMethods?: any[] | null | undefined;
|
|
1631
|
+
actions?: any[] | null | undefined;
|
|
1627
1632
|
messages?: string[] | null | undefined;
|
|
1628
1633
|
}> & {
|
|
1629
1634
|
_id?: unknown;
|
|
1630
1635
|
triggers?: string[] | null | undefined;
|
|
1631
|
-
detectionMethods?:
|
|
1632
|
-
actions?:
|
|
1636
|
+
detectionMethods?: any[] | null | undefined;
|
|
1637
|
+
actions?: any[] | null | undefined;
|
|
1633
1638
|
messages?: string[] | null | undefined;
|
|
1634
1639
|
}> | null | undefined;
|
|
1635
1640
|
messageContentTriggers?: import("mongoose").Types.DocumentArray<{
|
|
1636
1641
|
_id?: unknown;
|
|
1637
1642
|
triggers?: string[] | null | undefined;
|
|
1638
|
-
detectionMethods?:
|
|
1639
|
-
actions?:
|
|
1643
|
+
detectionMethods?: any[] | null | undefined;
|
|
1644
|
+
actions?: any[] | null | undefined;
|
|
1640
1645
|
messages?: string[] | null | undefined;
|
|
1641
1646
|
}, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
|
|
1642
1647
|
_id?: unknown;
|
|
1643
1648
|
triggers?: string[] | null | undefined;
|
|
1644
|
-
detectionMethods?:
|
|
1645
|
-
actions?:
|
|
1649
|
+
detectionMethods?: any[] | null | undefined;
|
|
1650
|
+
actions?: any[] | null | undefined;
|
|
1646
1651
|
messages?: string[] | null | undefined;
|
|
1647
1652
|
}> & {
|
|
1648
1653
|
_id?: unknown;
|
|
1649
1654
|
triggers?: string[] | null | undefined;
|
|
1650
|
-
detectionMethods?:
|
|
1651
|
-
actions?:
|
|
1655
|
+
detectionMethods?: any[] | null | undefined;
|
|
1656
|
+
actions?: any[] | null | undefined;
|
|
1652
1657
|
messages?: string[] | null | undefined;
|
|
1653
1658
|
}> | null | undefined;
|
|
1654
1659
|
cosmeticTriggers?: import("mongoose").Types.DocumentArray<{
|
|
1655
1660
|
_id?: unknown;
|
|
1656
1661
|
triggers?: string[] | null | undefined;
|
|
1657
|
-
detectionMethods?:
|
|
1658
|
-
actions?:
|
|
1662
|
+
detectionMethods?: any[] | null | undefined;
|
|
1663
|
+
actions?: any[] | null | undefined;
|
|
1659
1664
|
messages?: string[] | null | undefined;
|
|
1660
1665
|
}, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
|
|
1661
1666
|
_id?: unknown;
|
|
1662
1667
|
triggers?: string[] | null | undefined;
|
|
1663
|
-
detectionMethods?:
|
|
1664
|
-
actions?:
|
|
1668
|
+
detectionMethods?: any[] | null | undefined;
|
|
1669
|
+
actions?: any[] | null | undefined;
|
|
1665
1670
|
messages?: string[] | null | undefined;
|
|
1666
1671
|
}> & {
|
|
1667
1672
|
_id?: unknown;
|
|
1668
1673
|
triggers?: string[] | null | undefined;
|
|
1669
|
-
detectionMethods?:
|
|
1670
|
-
actions?:
|
|
1674
|
+
detectionMethods?: any[] | null | undefined;
|
|
1675
|
+
actions?: any[] | null | undefined;
|
|
1671
1676
|
messages?: string[] | null | undefined;
|
|
1672
1677
|
}> | null | undefined;
|
|
1673
1678
|
addFriendTriggers?: import("mongoose").Types.DocumentArray<{
|
|
1674
1679
|
_id?: unknown;
|
|
1675
1680
|
triggers?: string[] | null | undefined;
|
|
1676
|
-
detectionMethods?:
|
|
1677
|
-
actions?:
|
|
1681
|
+
detectionMethods?: any[] | null | undefined;
|
|
1682
|
+
actions?: any[] | null | undefined;
|
|
1678
1683
|
messages?: string[] | null | undefined;
|
|
1679
1684
|
}, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
|
|
1680
1685
|
_id?: unknown;
|
|
1681
1686
|
triggers?: string[] | null | undefined;
|
|
1682
|
-
detectionMethods?:
|
|
1683
|
-
actions?:
|
|
1687
|
+
detectionMethods?: any[] | null | undefined;
|
|
1688
|
+
actions?: any[] | null | undefined;
|
|
1684
1689
|
messages?: string[] | null | undefined;
|
|
1685
1690
|
}> & {
|
|
1686
1691
|
_id?: unknown;
|
|
1687
1692
|
triggers?: string[] | null | undefined;
|
|
1688
|
-
detectionMethods?:
|
|
1689
|
-
actions?:
|
|
1693
|
+
detectionMethods?: any[] | null | undefined;
|
|
1694
|
+
actions?: any[] | null | undefined;
|
|
1690
1695
|
messages?: string[] | null | undefined;
|
|
1691
1696
|
}> | null | undefined;
|
|
1692
1697
|
memberJoinTriggers?: import("mongoose").Types.DocumentArray<{
|
|
1693
1698
|
_id?: unknown;
|
|
1694
1699
|
triggers?: string[] | null | undefined;
|
|
1695
|
-
detectionMethods?:
|
|
1696
|
-
actions?:
|
|
1700
|
+
detectionMethods?: any[] | null | undefined;
|
|
1701
|
+
actions?: any[] | null | undefined;
|
|
1697
1702
|
messages?: string[] | null | undefined;
|
|
1698
1703
|
}, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
|
|
1699
1704
|
_id?: unknown;
|
|
1700
1705
|
triggers?: string[] | null | undefined;
|
|
1701
|
-
detectionMethods?:
|
|
1702
|
-
actions?:
|
|
1706
|
+
detectionMethods?: any[] | null | undefined;
|
|
1707
|
+
actions?: any[] | null | undefined;
|
|
1703
1708
|
messages?: string[] | null | undefined;
|
|
1704
1709
|
}> & {
|
|
1705
1710
|
_id?: unknown;
|
|
1706
1711
|
triggers?: string[] | null | undefined;
|
|
1707
|
-
detectionMethods?:
|
|
1708
|
-
actions?:
|
|
1712
|
+
detectionMethods?: any[] | null | undefined;
|
|
1713
|
+
actions?: any[] | null | undefined;
|
|
1709
1714
|
messages?: string[] | null | undefined;
|
|
1710
1715
|
}> | null | undefined;
|
|
1711
1716
|
changeCosmeticTriggers?: import("mongoose").Types.DocumentArray<{
|
|
1712
1717
|
_id?: unknown;
|
|
1713
1718
|
triggers?: string[] | null | undefined;
|
|
1714
|
-
detectionMethods?:
|
|
1715
|
-
actions?:
|
|
1719
|
+
detectionMethods?: any[] | null | undefined;
|
|
1720
|
+
actions?: any[] | null | undefined;
|
|
1716
1721
|
messages?: string[] | null | undefined;
|
|
1717
1722
|
}, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
|
|
1718
1723
|
_id?: unknown;
|
|
1719
1724
|
triggers?: string[] | null | undefined;
|
|
1720
|
-
detectionMethods?:
|
|
1721
|
-
actions?:
|
|
1725
|
+
detectionMethods?: any[] | null | undefined;
|
|
1726
|
+
actions?: any[] | null | undefined;
|
|
1722
1727
|
messages?: string[] | null | undefined;
|
|
1723
1728
|
}> & {
|
|
1724
1729
|
_id?: unknown;
|
|
1725
1730
|
triggers?: string[] | null | undefined;
|
|
1726
|
-
detectionMethods?:
|
|
1727
|
-
actions?:
|
|
1731
|
+
detectionMethods?: any[] | null | undefined;
|
|
1732
|
+
actions?: any[] | null | undefined;
|
|
1728
1733
|
messages?: string[] | null | undefined;
|
|
1729
1734
|
}> | null | undefined;
|
|
1730
1735
|
onlyOwnerCommands?: string[] | null | undefined;
|
|
@@ -1976,11 +1981,12 @@ export declare const CategoryModel: import("mongoose").Model<{
|
|
|
1976
1981
|
flags?: number | null | undefined;
|
|
1977
1982
|
managed?: boolean | null | undefined;
|
|
1978
1983
|
config?: {
|
|
1979
|
-
replyLangs?:
|
|
1980
|
-
searchLangs?:
|
|
1981
|
-
platform?:
|
|
1984
|
+
replyLangs?: Locales[] | null | undefined;
|
|
1985
|
+
searchLangs?: Locales[] | null | undefined;
|
|
1986
|
+
platform?: CategoryConfigSupportedPlatforms[] | null | undefined;
|
|
1982
1987
|
privacy?: any;
|
|
1983
1988
|
prefixes?: string[] | null | undefined;
|
|
1989
|
+
statusType?: any;
|
|
1984
1990
|
statusText?: string[] | null | undefined;
|
|
1985
1991
|
statusInterval?: number | null | undefined;
|
|
1986
1992
|
level?: number[] | null | undefined;
|
|
@@ -2085,115 +2091,115 @@ export declare const CategoryModel: import("mongoose").Model<{
|
|
|
2085
2091
|
usernameTriggers?: import("mongoose").Types.DocumentArray<{
|
|
2086
2092
|
_id?: unknown;
|
|
2087
2093
|
triggers?: string[] | null | undefined;
|
|
2088
|
-
detectionMethods?:
|
|
2089
|
-
actions?:
|
|
2094
|
+
detectionMethods?: any[] | null | undefined;
|
|
2095
|
+
actions?: any[] | null | undefined;
|
|
2090
2096
|
messages?: string[] | null | undefined;
|
|
2091
2097
|
}, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
|
|
2092
2098
|
_id?: unknown;
|
|
2093
2099
|
triggers?: string[] | null | undefined;
|
|
2094
|
-
detectionMethods?:
|
|
2095
|
-
actions?:
|
|
2100
|
+
detectionMethods?: any[] | null | undefined;
|
|
2101
|
+
actions?: any[] | null | undefined;
|
|
2096
2102
|
messages?: string[] | null | undefined;
|
|
2097
2103
|
}> & {
|
|
2098
2104
|
_id?: unknown;
|
|
2099
2105
|
triggers?: string[] | null | undefined;
|
|
2100
|
-
detectionMethods?:
|
|
2101
|
-
actions?:
|
|
2106
|
+
detectionMethods?: any[] | null | undefined;
|
|
2107
|
+
actions?: any[] | null | undefined;
|
|
2102
2108
|
messages?: string[] | null | undefined;
|
|
2103
2109
|
}> | null | undefined;
|
|
2104
2110
|
messageContentTriggers?: import("mongoose").Types.DocumentArray<{
|
|
2105
2111
|
_id?: unknown;
|
|
2106
2112
|
triggers?: string[] | null | undefined;
|
|
2107
|
-
detectionMethods?:
|
|
2108
|
-
actions?:
|
|
2113
|
+
detectionMethods?: any[] | null | undefined;
|
|
2114
|
+
actions?: any[] | null | undefined;
|
|
2109
2115
|
messages?: string[] | null | undefined;
|
|
2110
2116
|
}, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
|
|
2111
2117
|
_id?: unknown;
|
|
2112
2118
|
triggers?: string[] | null | undefined;
|
|
2113
|
-
detectionMethods?:
|
|
2114
|
-
actions?:
|
|
2119
|
+
detectionMethods?: any[] | null | undefined;
|
|
2120
|
+
actions?: any[] | null | undefined;
|
|
2115
2121
|
messages?: string[] | null | undefined;
|
|
2116
2122
|
}> & {
|
|
2117
2123
|
_id?: unknown;
|
|
2118
2124
|
triggers?: string[] | null | undefined;
|
|
2119
|
-
detectionMethods?:
|
|
2120
|
-
actions?:
|
|
2125
|
+
detectionMethods?: any[] | null | undefined;
|
|
2126
|
+
actions?: any[] | null | undefined;
|
|
2121
2127
|
messages?: string[] | null | undefined;
|
|
2122
2128
|
}> | null | undefined;
|
|
2123
2129
|
cosmeticTriggers?: import("mongoose").Types.DocumentArray<{
|
|
2124
2130
|
_id?: unknown;
|
|
2125
2131
|
triggers?: string[] | null | undefined;
|
|
2126
|
-
detectionMethods?:
|
|
2127
|
-
actions?:
|
|
2132
|
+
detectionMethods?: any[] | null | undefined;
|
|
2133
|
+
actions?: any[] | null | undefined;
|
|
2128
2134
|
messages?: string[] | null | undefined;
|
|
2129
2135
|
}, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
|
|
2130
2136
|
_id?: unknown;
|
|
2131
2137
|
triggers?: string[] | null | undefined;
|
|
2132
|
-
detectionMethods?:
|
|
2133
|
-
actions?:
|
|
2138
|
+
detectionMethods?: any[] | null | undefined;
|
|
2139
|
+
actions?: any[] | null | undefined;
|
|
2134
2140
|
messages?: string[] | null | undefined;
|
|
2135
2141
|
}> & {
|
|
2136
2142
|
_id?: unknown;
|
|
2137
2143
|
triggers?: string[] | null | undefined;
|
|
2138
|
-
detectionMethods?:
|
|
2139
|
-
actions?:
|
|
2144
|
+
detectionMethods?: any[] | null | undefined;
|
|
2145
|
+
actions?: any[] | null | undefined;
|
|
2140
2146
|
messages?: string[] | null | undefined;
|
|
2141
2147
|
}> | null | undefined;
|
|
2142
2148
|
addFriendTriggers?: import("mongoose").Types.DocumentArray<{
|
|
2143
2149
|
_id?: unknown;
|
|
2144
2150
|
triggers?: string[] | null | undefined;
|
|
2145
|
-
detectionMethods?:
|
|
2146
|
-
actions?:
|
|
2151
|
+
detectionMethods?: any[] | null | undefined;
|
|
2152
|
+
actions?: any[] | null | undefined;
|
|
2147
2153
|
messages?: string[] | null | undefined;
|
|
2148
2154
|
}, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
|
|
2149
2155
|
_id?: unknown;
|
|
2150
2156
|
triggers?: string[] | null | undefined;
|
|
2151
|
-
detectionMethods?:
|
|
2152
|
-
actions?:
|
|
2157
|
+
detectionMethods?: any[] | null | undefined;
|
|
2158
|
+
actions?: any[] | null | undefined;
|
|
2153
2159
|
messages?: string[] | null | undefined;
|
|
2154
2160
|
}> & {
|
|
2155
2161
|
_id?: unknown;
|
|
2156
2162
|
triggers?: string[] | null | undefined;
|
|
2157
|
-
detectionMethods?:
|
|
2158
|
-
actions?:
|
|
2163
|
+
detectionMethods?: any[] | null | undefined;
|
|
2164
|
+
actions?: any[] | null | undefined;
|
|
2159
2165
|
messages?: string[] | null | undefined;
|
|
2160
2166
|
}> | null | undefined;
|
|
2161
2167
|
memberJoinTriggers?: import("mongoose").Types.DocumentArray<{
|
|
2162
2168
|
_id?: unknown;
|
|
2163
2169
|
triggers?: string[] | null | undefined;
|
|
2164
|
-
detectionMethods?:
|
|
2165
|
-
actions?:
|
|
2170
|
+
detectionMethods?: any[] | null | undefined;
|
|
2171
|
+
actions?: any[] | null | undefined;
|
|
2166
2172
|
messages?: string[] | null | undefined;
|
|
2167
2173
|
}, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
|
|
2168
2174
|
_id?: unknown;
|
|
2169
2175
|
triggers?: string[] | null | undefined;
|
|
2170
|
-
detectionMethods?:
|
|
2171
|
-
actions?:
|
|
2176
|
+
detectionMethods?: any[] | null | undefined;
|
|
2177
|
+
actions?: any[] | null | undefined;
|
|
2172
2178
|
messages?: string[] | null | undefined;
|
|
2173
2179
|
}> & {
|
|
2174
2180
|
_id?: unknown;
|
|
2175
2181
|
triggers?: string[] | null | undefined;
|
|
2176
|
-
detectionMethods?:
|
|
2177
|
-
actions?:
|
|
2182
|
+
detectionMethods?: any[] | null | undefined;
|
|
2183
|
+
actions?: any[] | null | undefined;
|
|
2178
2184
|
messages?: string[] | null | undefined;
|
|
2179
2185
|
}> | null | undefined;
|
|
2180
2186
|
changeCosmeticTriggers?: import("mongoose").Types.DocumentArray<{
|
|
2181
2187
|
_id?: unknown;
|
|
2182
2188
|
triggers?: string[] | null | undefined;
|
|
2183
|
-
detectionMethods?:
|
|
2184
|
-
actions?:
|
|
2189
|
+
detectionMethods?: any[] | null | undefined;
|
|
2190
|
+
actions?: any[] | null | undefined;
|
|
2185
2191
|
messages?: string[] | null | undefined;
|
|
2186
2192
|
}, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
|
|
2187
2193
|
_id?: unknown;
|
|
2188
2194
|
triggers?: string[] | null | undefined;
|
|
2189
|
-
detectionMethods?:
|
|
2190
|
-
actions?:
|
|
2195
|
+
detectionMethods?: any[] | null | undefined;
|
|
2196
|
+
actions?: any[] | null | undefined;
|
|
2191
2197
|
messages?: string[] | null | undefined;
|
|
2192
2198
|
}> & {
|
|
2193
2199
|
_id?: unknown;
|
|
2194
2200
|
triggers?: string[] | null | undefined;
|
|
2195
|
-
detectionMethods?:
|
|
2196
|
-
actions?:
|
|
2201
|
+
detectionMethods?: any[] | null | undefined;
|
|
2202
|
+
actions?: any[] | null | undefined;
|
|
2197
2203
|
messages?: string[] | null | undefined;
|
|
2198
2204
|
}> | null | undefined;
|
|
2199
2205
|
onlyOwnerCommands?: string[] | null | undefined;
|
|
@@ -2445,11 +2451,12 @@ export declare const CategoryModel: import("mongoose").Model<{
|
|
|
2445
2451
|
flags?: number | null | undefined;
|
|
2446
2452
|
managed?: boolean | null | undefined;
|
|
2447
2453
|
config?: {
|
|
2448
|
-
replyLangs?:
|
|
2449
|
-
searchLangs?:
|
|
2450
|
-
platform?:
|
|
2454
|
+
replyLangs?: Locales[] | null | undefined;
|
|
2455
|
+
searchLangs?: Locales[] | null | undefined;
|
|
2456
|
+
platform?: CategoryConfigSupportedPlatforms[] | null | undefined;
|
|
2451
2457
|
privacy?: any;
|
|
2452
2458
|
prefixes?: string[] | null | undefined;
|
|
2459
|
+
statusType?: any;
|
|
2453
2460
|
statusText?: string[] | null | undefined;
|
|
2454
2461
|
statusInterval?: number | null | undefined;
|
|
2455
2462
|
level?: number[] | null | undefined;
|
|
@@ -2554,115 +2561,115 @@ export declare const CategoryModel: import("mongoose").Model<{
|
|
|
2554
2561
|
usernameTriggers?: import("mongoose").Types.DocumentArray<{
|
|
2555
2562
|
_id?: unknown;
|
|
2556
2563
|
triggers?: string[] | null | undefined;
|
|
2557
|
-
detectionMethods?:
|
|
2558
|
-
actions?:
|
|
2564
|
+
detectionMethods?: any[] | null | undefined;
|
|
2565
|
+
actions?: any[] | null | undefined;
|
|
2559
2566
|
messages?: string[] | null | undefined;
|
|
2560
2567
|
}, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
|
|
2561
2568
|
_id?: unknown;
|
|
2562
2569
|
triggers?: string[] | null | undefined;
|
|
2563
|
-
detectionMethods?:
|
|
2564
|
-
actions?:
|
|
2570
|
+
detectionMethods?: any[] | null | undefined;
|
|
2571
|
+
actions?: any[] | null | undefined;
|
|
2565
2572
|
messages?: string[] | null | undefined;
|
|
2566
2573
|
}> & {
|
|
2567
2574
|
_id?: unknown;
|
|
2568
2575
|
triggers?: string[] | null | undefined;
|
|
2569
|
-
detectionMethods?:
|
|
2570
|
-
actions?:
|
|
2576
|
+
detectionMethods?: any[] | null | undefined;
|
|
2577
|
+
actions?: any[] | null | undefined;
|
|
2571
2578
|
messages?: string[] | null | undefined;
|
|
2572
2579
|
}> | null | undefined;
|
|
2573
2580
|
messageContentTriggers?: import("mongoose").Types.DocumentArray<{
|
|
2574
2581
|
_id?: unknown;
|
|
2575
2582
|
triggers?: string[] | null | undefined;
|
|
2576
|
-
detectionMethods?:
|
|
2577
|
-
actions?:
|
|
2583
|
+
detectionMethods?: any[] | null | undefined;
|
|
2584
|
+
actions?: any[] | null | undefined;
|
|
2578
2585
|
messages?: string[] | null | undefined;
|
|
2579
2586
|
}, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
|
|
2580
2587
|
_id?: unknown;
|
|
2581
2588
|
triggers?: string[] | null | undefined;
|
|
2582
|
-
detectionMethods?:
|
|
2583
|
-
actions?:
|
|
2589
|
+
detectionMethods?: any[] | null | undefined;
|
|
2590
|
+
actions?: any[] | null | undefined;
|
|
2584
2591
|
messages?: string[] | null | undefined;
|
|
2585
2592
|
}> & {
|
|
2586
2593
|
_id?: unknown;
|
|
2587
2594
|
triggers?: string[] | null | undefined;
|
|
2588
|
-
detectionMethods?:
|
|
2589
|
-
actions?:
|
|
2595
|
+
detectionMethods?: any[] | null | undefined;
|
|
2596
|
+
actions?: any[] | null | undefined;
|
|
2590
2597
|
messages?: string[] | null | undefined;
|
|
2591
2598
|
}> | null | undefined;
|
|
2592
2599
|
cosmeticTriggers?: import("mongoose").Types.DocumentArray<{
|
|
2593
2600
|
_id?: unknown;
|
|
2594
2601
|
triggers?: string[] | null | undefined;
|
|
2595
|
-
detectionMethods?:
|
|
2596
|
-
actions?:
|
|
2602
|
+
detectionMethods?: any[] | null | undefined;
|
|
2603
|
+
actions?: any[] | null | undefined;
|
|
2597
2604
|
messages?: string[] | null | undefined;
|
|
2598
2605
|
}, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
|
|
2599
2606
|
_id?: unknown;
|
|
2600
2607
|
triggers?: string[] | null | undefined;
|
|
2601
|
-
detectionMethods?:
|
|
2602
|
-
actions?:
|
|
2608
|
+
detectionMethods?: any[] | null | undefined;
|
|
2609
|
+
actions?: any[] | null | undefined;
|
|
2603
2610
|
messages?: string[] | null | undefined;
|
|
2604
2611
|
}> & {
|
|
2605
2612
|
_id?: unknown;
|
|
2606
2613
|
triggers?: string[] | null | undefined;
|
|
2607
|
-
detectionMethods?:
|
|
2608
|
-
actions?:
|
|
2614
|
+
detectionMethods?: any[] | null | undefined;
|
|
2615
|
+
actions?: any[] | null | undefined;
|
|
2609
2616
|
messages?: string[] | null | undefined;
|
|
2610
2617
|
}> | null | undefined;
|
|
2611
2618
|
addFriendTriggers?: import("mongoose").Types.DocumentArray<{
|
|
2612
2619
|
_id?: unknown;
|
|
2613
2620
|
triggers?: string[] | null | undefined;
|
|
2614
|
-
detectionMethods?:
|
|
2615
|
-
actions?:
|
|
2621
|
+
detectionMethods?: any[] | null | undefined;
|
|
2622
|
+
actions?: any[] | null | undefined;
|
|
2616
2623
|
messages?: string[] | null | undefined;
|
|
2617
2624
|
}, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
|
|
2618
2625
|
_id?: unknown;
|
|
2619
2626
|
triggers?: string[] | null | undefined;
|
|
2620
|
-
detectionMethods?:
|
|
2621
|
-
actions?:
|
|
2627
|
+
detectionMethods?: any[] | null | undefined;
|
|
2628
|
+
actions?: any[] | null | undefined;
|
|
2622
2629
|
messages?: string[] | null | undefined;
|
|
2623
2630
|
}> & {
|
|
2624
2631
|
_id?: unknown;
|
|
2625
2632
|
triggers?: string[] | null | undefined;
|
|
2626
|
-
detectionMethods?:
|
|
2627
|
-
actions?:
|
|
2633
|
+
detectionMethods?: any[] | null | undefined;
|
|
2634
|
+
actions?: any[] | null | undefined;
|
|
2628
2635
|
messages?: string[] | null | undefined;
|
|
2629
2636
|
}> | null | undefined;
|
|
2630
2637
|
memberJoinTriggers?: import("mongoose").Types.DocumentArray<{
|
|
2631
2638
|
_id?: unknown;
|
|
2632
2639
|
triggers?: string[] | null | undefined;
|
|
2633
|
-
detectionMethods?:
|
|
2634
|
-
actions?:
|
|
2640
|
+
detectionMethods?: any[] | null | undefined;
|
|
2641
|
+
actions?: any[] | null | undefined;
|
|
2635
2642
|
messages?: string[] | null | undefined;
|
|
2636
2643
|
}, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
|
|
2637
2644
|
_id?: unknown;
|
|
2638
2645
|
triggers?: string[] | null | undefined;
|
|
2639
|
-
detectionMethods?:
|
|
2640
|
-
actions?:
|
|
2646
|
+
detectionMethods?: any[] | null | undefined;
|
|
2647
|
+
actions?: any[] | null | undefined;
|
|
2641
2648
|
messages?: string[] | null | undefined;
|
|
2642
2649
|
}> & {
|
|
2643
2650
|
_id?: unknown;
|
|
2644
2651
|
triggers?: string[] | null | undefined;
|
|
2645
|
-
detectionMethods?:
|
|
2646
|
-
actions?:
|
|
2652
|
+
detectionMethods?: any[] | null | undefined;
|
|
2653
|
+
actions?: any[] | null | undefined;
|
|
2647
2654
|
messages?: string[] | null | undefined;
|
|
2648
2655
|
}> | null | undefined;
|
|
2649
2656
|
changeCosmeticTriggers?: import("mongoose").Types.DocumentArray<{
|
|
2650
2657
|
_id?: unknown;
|
|
2651
2658
|
triggers?: string[] | null | undefined;
|
|
2652
|
-
detectionMethods?:
|
|
2653
|
-
actions?:
|
|
2659
|
+
detectionMethods?: any[] | null | undefined;
|
|
2660
|
+
actions?: any[] | null | undefined;
|
|
2654
2661
|
messages?: string[] | null | undefined;
|
|
2655
2662
|
}, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
|
|
2656
2663
|
_id?: unknown;
|
|
2657
2664
|
triggers?: string[] | null | undefined;
|
|
2658
|
-
detectionMethods?:
|
|
2659
|
-
actions?:
|
|
2665
|
+
detectionMethods?: any[] | null | undefined;
|
|
2666
|
+
actions?: any[] | null | undefined;
|
|
2660
2667
|
messages?: string[] | null | undefined;
|
|
2661
2668
|
}> & {
|
|
2662
2669
|
_id?: unknown;
|
|
2663
2670
|
triggers?: string[] | null | undefined;
|
|
2664
|
-
detectionMethods?:
|
|
2665
|
-
actions?:
|
|
2671
|
+
detectionMethods?: any[] | null | undefined;
|
|
2672
|
+
actions?: any[] | null | undefined;
|
|
2666
2673
|
messages?: string[] | null | undefined;
|
|
2667
2674
|
}> | null | undefined;
|
|
2668
2675
|
onlyOwnerCommands?: string[] | null | undefined;
|