@fnlb-project/database 1.0.56 → 1.0.58
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 +1090 -12
- package/dist/index.js +432 -424
- package/package.json +4 -4
package/dist/index.d.ts
CHANGED
|
@@ -13,40 +13,115 @@ export declare class DatabaseClient {
|
|
|
13
13
|
export declare class DatabaseErrorHandler {
|
|
14
14
|
static handleError(err: any, errorSender: GenericErrorSender): unknown;
|
|
15
15
|
}
|
|
16
|
+
export declare const ApplicationModel: import("mongoose").Model<{
|
|
17
|
+
owner: import("mongoose").Types.ObjectId;
|
|
18
|
+
name: string;
|
|
19
|
+
secret: string;
|
|
20
|
+
description?: string | null | undefined;
|
|
21
|
+
scopes?: number | null | undefined;
|
|
22
|
+
redirectUris?: string[] | null | undefined;
|
|
23
|
+
tosUri?: string | null | undefined;
|
|
24
|
+
policyUri?: string | null | undefined;
|
|
25
|
+
installUri?: string | null | undefined;
|
|
26
|
+
flags?: number | null | undefined;
|
|
27
|
+
}, {}, {}, {}, import("mongoose").Document<unknown, {}, {
|
|
28
|
+
owner: import("mongoose").Types.ObjectId;
|
|
29
|
+
name: string;
|
|
30
|
+
secret: string;
|
|
31
|
+
description?: string | null | undefined;
|
|
32
|
+
scopes?: number | null | undefined;
|
|
33
|
+
redirectUris?: string[] | null | undefined;
|
|
34
|
+
tosUri?: string | null | undefined;
|
|
35
|
+
policyUri?: string | null | undefined;
|
|
36
|
+
installUri?: string | null | undefined;
|
|
37
|
+
flags?: number | null | undefined;
|
|
38
|
+
}, {}, import("mongoose").DefaultSchemaOptions> & {
|
|
39
|
+
owner: import("mongoose").Types.ObjectId;
|
|
40
|
+
name: string;
|
|
41
|
+
secret: string;
|
|
42
|
+
description?: string | null | undefined;
|
|
43
|
+
scopes?: number | null | undefined;
|
|
44
|
+
redirectUris?: string[] | null | undefined;
|
|
45
|
+
tosUri?: string | null | undefined;
|
|
46
|
+
policyUri?: string | null | undefined;
|
|
47
|
+
installUri?: string | null | undefined;
|
|
48
|
+
flags?: number | null | undefined;
|
|
49
|
+
} & {
|
|
50
|
+
_id: import("mongoose").Types.ObjectId;
|
|
51
|
+
} & {
|
|
52
|
+
__v: number;
|
|
53
|
+
}, Schema<any, import("mongoose").Model<any, any, any, any, any, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, {
|
|
54
|
+
owner: import("mongoose").Types.ObjectId;
|
|
55
|
+
name: string;
|
|
56
|
+
secret: string;
|
|
57
|
+
description?: string | null | undefined;
|
|
58
|
+
scopes?: number | null | undefined;
|
|
59
|
+
redirectUris?: string[] | null | undefined;
|
|
60
|
+
tosUri?: string | null | undefined;
|
|
61
|
+
policyUri?: string | null | undefined;
|
|
62
|
+
installUri?: string | null | undefined;
|
|
63
|
+
flags?: number | null | undefined;
|
|
64
|
+
}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
|
|
65
|
+
owner: import("mongoose").Types.ObjectId;
|
|
66
|
+
name: string;
|
|
67
|
+
secret: string;
|
|
68
|
+
description?: string | null | undefined;
|
|
69
|
+
scopes?: number | null | undefined;
|
|
70
|
+
redirectUris?: string[] | null | undefined;
|
|
71
|
+
tosUri?: string | null | undefined;
|
|
72
|
+
policyUri?: string | null | undefined;
|
|
73
|
+
installUri?: string | null | undefined;
|
|
74
|
+
flags?: number | null | undefined;
|
|
75
|
+
}>, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").FlatRecord<{
|
|
76
|
+
owner: import("mongoose").Types.ObjectId;
|
|
77
|
+
name: string;
|
|
78
|
+
secret: string;
|
|
79
|
+
description?: string | null | undefined;
|
|
80
|
+
scopes?: number | null | undefined;
|
|
81
|
+
redirectUris?: string[] | null | undefined;
|
|
82
|
+
tosUri?: string | null | undefined;
|
|
83
|
+
policyUri?: string | null | undefined;
|
|
84
|
+
installUri?: string | null | undefined;
|
|
85
|
+
flags?: number | null | undefined;
|
|
86
|
+
}> & {
|
|
87
|
+
_id: import("mongoose").Types.ObjectId;
|
|
88
|
+
} & {
|
|
89
|
+
__v: number;
|
|
90
|
+
}>>;
|
|
16
91
|
export declare const BotModel: import("mongoose").Model<{
|
|
17
92
|
owner: import("mongoose").Types.ObjectId;
|
|
18
93
|
nickname: string;
|
|
19
94
|
deviceAuth: {
|
|
95
|
+
secret: string;
|
|
20
96
|
accountId: string;
|
|
21
97
|
deviceId: string;
|
|
22
|
-
secret: string;
|
|
23
98
|
};
|
|
24
|
-
parent?: import("mongoose").Types.ObjectId | null | undefined;
|
|
25
99
|
flags?: number | null | undefined;
|
|
100
|
+
parent?: import("mongoose").Types.ObjectId | null | undefined;
|
|
26
101
|
email?: string | null | undefined;
|
|
27
102
|
mmsBannedUntil?: number | null | undefined;
|
|
28
103
|
}, {}, {}, {}, import("mongoose").Document<unknown, {}, {
|
|
29
104
|
owner: import("mongoose").Types.ObjectId;
|
|
30
105
|
nickname: string;
|
|
31
106
|
deviceAuth: {
|
|
107
|
+
secret: string;
|
|
32
108
|
accountId: string;
|
|
33
109
|
deviceId: string;
|
|
34
|
-
secret: string;
|
|
35
110
|
};
|
|
36
|
-
parent?: import("mongoose").Types.ObjectId | null | undefined;
|
|
37
111
|
flags?: number | null | undefined;
|
|
112
|
+
parent?: import("mongoose").Types.ObjectId | null | undefined;
|
|
38
113
|
email?: string | null | undefined;
|
|
39
114
|
mmsBannedUntil?: number | null | undefined;
|
|
40
115
|
}, {}, import("mongoose").DefaultSchemaOptions> & {
|
|
41
116
|
owner: import("mongoose").Types.ObjectId;
|
|
42
117
|
nickname: string;
|
|
43
118
|
deviceAuth: {
|
|
119
|
+
secret: string;
|
|
44
120
|
accountId: string;
|
|
45
121
|
deviceId: string;
|
|
46
|
-
secret: string;
|
|
47
122
|
};
|
|
48
|
-
parent?: import("mongoose").Types.ObjectId | null | undefined;
|
|
49
123
|
flags?: number | null | undefined;
|
|
124
|
+
parent?: import("mongoose").Types.ObjectId | null | undefined;
|
|
50
125
|
email?: string | null | undefined;
|
|
51
126
|
mmsBannedUntil?: number | null | undefined;
|
|
52
127
|
} & {
|
|
@@ -57,36 +132,36 @@ export declare const BotModel: import("mongoose").Model<{
|
|
|
57
132
|
owner: import("mongoose").Types.ObjectId;
|
|
58
133
|
nickname: string;
|
|
59
134
|
deviceAuth: {
|
|
135
|
+
secret: string;
|
|
60
136
|
accountId: string;
|
|
61
137
|
deviceId: string;
|
|
62
|
-
secret: string;
|
|
63
138
|
};
|
|
64
|
-
parent?: import("mongoose").Types.ObjectId | null | undefined;
|
|
65
139
|
flags?: number | null | undefined;
|
|
140
|
+
parent?: import("mongoose").Types.ObjectId | null | undefined;
|
|
66
141
|
email?: string | null | undefined;
|
|
67
142
|
mmsBannedUntil?: number | null | undefined;
|
|
68
143
|
}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
|
|
69
144
|
owner: import("mongoose").Types.ObjectId;
|
|
70
145
|
nickname: string;
|
|
71
146
|
deviceAuth: {
|
|
147
|
+
secret: string;
|
|
72
148
|
accountId: string;
|
|
73
149
|
deviceId: string;
|
|
74
|
-
secret: string;
|
|
75
150
|
};
|
|
76
|
-
parent?: import("mongoose").Types.ObjectId | null | undefined;
|
|
77
151
|
flags?: number | null | undefined;
|
|
152
|
+
parent?: import("mongoose").Types.ObjectId | null | undefined;
|
|
78
153
|
email?: string | null | undefined;
|
|
79
154
|
mmsBannedUntil?: number | null | undefined;
|
|
80
155
|
}>, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").FlatRecord<{
|
|
81
156
|
owner: import("mongoose").Types.ObjectId;
|
|
82
157
|
nickname: string;
|
|
83
158
|
deviceAuth: {
|
|
159
|
+
secret: string;
|
|
84
160
|
accountId: string;
|
|
85
161
|
deviceId: string;
|
|
86
|
-
secret: string;
|
|
87
162
|
};
|
|
88
|
-
parent?: import("mongoose").Types.ObjectId | null | undefined;
|
|
89
163
|
flags?: number | null | undefined;
|
|
164
|
+
parent?: import("mongoose").Types.ObjectId | null | undefined;
|
|
90
165
|
email?: string | null | undefined;
|
|
91
166
|
mmsBannedUntil?: number | null | undefined;
|
|
92
167
|
}> & {
|
|
@@ -2641,12 +2716,55 @@ export declare const CategoryModel: import("mongoose").Model<{
|
|
|
2641
2716
|
} & {
|
|
2642
2717
|
__v: number;
|
|
2643
2718
|
}>>;
|
|
2719
|
+
export declare const PresetModel: import("mongoose").Model<{
|
|
2720
|
+
owner: import("mongoose").Types.ObjectId;
|
|
2721
|
+
name: string;
|
|
2722
|
+
}, {}, {}, {}, import("mongoose").Document<unknown, {}, {
|
|
2723
|
+
owner: import("mongoose").Types.ObjectId;
|
|
2724
|
+
name: string;
|
|
2725
|
+
}, {}, import("mongoose").DefaultSchemaOptions> & {
|
|
2726
|
+
owner: import("mongoose").Types.ObjectId;
|
|
2727
|
+
name: string;
|
|
2728
|
+
} & {
|
|
2729
|
+
_id: import("mongoose").Types.ObjectId;
|
|
2730
|
+
} & {
|
|
2731
|
+
__v: number;
|
|
2732
|
+
}, Schema<any, import("mongoose").Model<any, any, any, any, any, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, {
|
|
2733
|
+
owner: import("mongoose").Types.ObjectId;
|
|
2734
|
+
name: string;
|
|
2735
|
+
}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
|
|
2736
|
+
owner: import("mongoose").Types.ObjectId;
|
|
2737
|
+
name: string;
|
|
2738
|
+
}>, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").FlatRecord<{
|
|
2739
|
+
owner: import("mongoose").Types.ObjectId;
|
|
2740
|
+
name: string;
|
|
2741
|
+
}> & {
|
|
2742
|
+
_id: import("mongoose").Types.ObjectId;
|
|
2743
|
+
} & {
|
|
2744
|
+
__v: number;
|
|
2745
|
+
}>>;
|
|
2644
2746
|
export declare const UserModel: import("mongoose").Model<{
|
|
2645
2747
|
password: string;
|
|
2646
2748
|
email: string;
|
|
2647
2749
|
token: string;
|
|
2648
2750
|
username: string;
|
|
2649
2751
|
apiToken: string;
|
|
2752
|
+
applications: import("mongoose").Types.DocumentArray<{
|
|
2753
|
+
id: import("mongoose").Types.ObjectId;
|
|
2754
|
+
token: string;
|
|
2755
|
+
scope: number;
|
|
2756
|
+
_id?: unknown;
|
|
2757
|
+
}, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
|
|
2758
|
+
id: import("mongoose").Types.ObjectId;
|
|
2759
|
+
token: string;
|
|
2760
|
+
scope: number;
|
|
2761
|
+
_id?: unknown;
|
|
2762
|
+
}> & {
|
|
2763
|
+
id: import("mongoose").Types.ObjectId;
|
|
2764
|
+
token: string;
|
|
2765
|
+
scope: number;
|
|
2766
|
+
_id?: unknown;
|
|
2767
|
+
}>;
|
|
2650
2768
|
flags?: number | null | undefined;
|
|
2651
2769
|
connections?: {
|
|
2652
2770
|
discord?: {
|
|
@@ -2666,6 +2784,22 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
2666
2784
|
token: string;
|
|
2667
2785
|
username: string;
|
|
2668
2786
|
apiToken: string;
|
|
2787
|
+
applications: import("mongoose").Types.DocumentArray<{
|
|
2788
|
+
id: import("mongoose").Types.ObjectId;
|
|
2789
|
+
token: string;
|
|
2790
|
+
scope: number;
|
|
2791
|
+
_id?: unknown;
|
|
2792
|
+
}, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
|
|
2793
|
+
id: import("mongoose").Types.ObjectId;
|
|
2794
|
+
token: string;
|
|
2795
|
+
scope: number;
|
|
2796
|
+
_id?: unknown;
|
|
2797
|
+
}> & {
|
|
2798
|
+
id: import("mongoose").Types.ObjectId;
|
|
2799
|
+
token: string;
|
|
2800
|
+
scope: number;
|
|
2801
|
+
_id?: unknown;
|
|
2802
|
+
}>;
|
|
2669
2803
|
flags?: number | null | undefined;
|
|
2670
2804
|
connections?: {
|
|
2671
2805
|
discord?: {
|
|
@@ -2687,6 +2821,22 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
2687
2821
|
token: string;
|
|
2688
2822
|
username: string;
|
|
2689
2823
|
apiToken: string;
|
|
2824
|
+
applications: import("mongoose").Types.DocumentArray<{
|
|
2825
|
+
id: import("mongoose").Types.ObjectId;
|
|
2826
|
+
token: string;
|
|
2827
|
+
scope: number;
|
|
2828
|
+
_id?: unknown;
|
|
2829
|
+
}, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
|
|
2830
|
+
id: import("mongoose").Types.ObjectId;
|
|
2831
|
+
token: string;
|
|
2832
|
+
scope: number;
|
|
2833
|
+
_id?: unknown;
|
|
2834
|
+
}> & {
|
|
2835
|
+
id: import("mongoose").Types.ObjectId;
|
|
2836
|
+
token: string;
|
|
2837
|
+
scope: number;
|
|
2838
|
+
_id?: unknown;
|
|
2839
|
+
}>;
|
|
2690
2840
|
flags?: number | null | undefined;
|
|
2691
2841
|
connections?: {
|
|
2692
2842
|
discord?: {
|
|
@@ -2706,6 +2856,22 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
2706
2856
|
token: string;
|
|
2707
2857
|
username: string;
|
|
2708
2858
|
apiToken: string;
|
|
2859
|
+
applications: import("mongoose").Types.DocumentArray<{
|
|
2860
|
+
id: import("mongoose").Types.ObjectId;
|
|
2861
|
+
token: string;
|
|
2862
|
+
scope: number;
|
|
2863
|
+
_id?: unknown;
|
|
2864
|
+
}, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
|
|
2865
|
+
id: import("mongoose").Types.ObjectId;
|
|
2866
|
+
token: string;
|
|
2867
|
+
scope: number;
|
|
2868
|
+
_id?: unknown;
|
|
2869
|
+
}> & {
|
|
2870
|
+
id: import("mongoose").Types.ObjectId;
|
|
2871
|
+
token: string;
|
|
2872
|
+
scope: number;
|
|
2873
|
+
_id?: unknown;
|
|
2874
|
+
}>;
|
|
2709
2875
|
flags?: number | null | undefined;
|
|
2710
2876
|
connections?: {
|
|
2711
2877
|
discord?: {
|
|
@@ -2725,6 +2891,22 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
2725
2891
|
token: string;
|
|
2726
2892
|
username: string;
|
|
2727
2893
|
apiToken: string;
|
|
2894
|
+
applications: import("mongoose").Types.DocumentArray<{
|
|
2895
|
+
id: import("mongoose").Types.ObjectId;
|
|
2896
|
+
token: string;
|
|
2897
|
+
scope: number;
|
|
2898
|
+
_id?: unknown;
|
|
2899
|
+
}, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
|
|
2900
|
+
id: import("mongoose").Types.ObjectId;
|
|
2901
|
+
token: string;
|
|
2902
|
+
scope: number;
|
|
2903
|
+
_id?: unknown;
|
|
2904
|
+
}> & {
|
|
2905
|
+
id: import("mongoose").Types.ObjectId;
|
|
2906
|
+
token: string;
|
|
2907
|
+
scope: number;
|
|
2908
|
+
_id?: unknown;
|
|
2909
|
+
}>;
|
|
2728
2910
|
flags?: number | null | undefined;
|
|
2729
2911
|
connections?: {
|
|
2730
2912
|
discord?: {
|
|
@@ -2749,6 +2931,22 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
2749
2931
|
token: string;
|
|
2750
2932
|
username: string;
|
|
2751
2933
|
apiToken: string;
|
|
2934
|
+
applications: import("mongoose").Types.DocumentArray<{
|
|
2935
|
+
id: import("mongoose").Types.ObjectId;
|
|
2936
|
+
token: string;
|
|
2937
|
+
scope: number;
|
|
2938
|
+
_id?: unknown;
|
|
2939
|
+
}, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
|
|
2940
|
+
id: import("mongoose").Types.ObjectId;
|
|
2941
|
+
token: string;
|
|
2942
|
+
scope: number;
|
|
2943
|
+
_id?: unknown;
|
|
2944
|
+
}> & {
|
|
2945
|
+
id: import("mongoose").Types.ObjectId;
|
|
2946
|
+
token: string;
|
|
2947
|
+
scope: number;
|
|
2948
|
+
_id?: unknown;
|
|
2949
|
+
}>;
|
|
2752
2950
|
flags?: number | null | undefined;
|
|
2753
2951
|
connections?: {
|
|
2754
2952
|
discord?: {
|
|
@@ -2768,6 +2966,22 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
2768
2966
|
token: string;
|
|
2769
2967
|
username: string;
|
|
2770
2968
|
apiToken: string;
|
|
2969
|
+
applications: import("mongoose").Types.DocumentArray<{
|
|
2970
|
+
id: import("mongoose").Types.ObjectId;
|
|
2971
|
+
token: string;
|
|
2972
|
+
scope: number;
|
|
2973
|
+
_id?: unknown;
|
|
2974
|
+
}, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
|
|
2975
|
+
id: import("mongoose").Types.ObjectId;
|
|
2976
|
+
token: string;
|
|
2977
|
+
scope: number;
|
|
2978
|
+
_id?: unknown;
|
|
2979
|
+
}> & {
|
|
2980
|
+
id: import("mongoose").Types.ObjectId;
|
|
2981
|
+
token: string;
|
|
2982
|
+
scope: number;
|
|
2983
|
+
_id?: unknown;
|
|
2984
|
+
}>;
|
|
2771
2985
|
flags?: number | null | undefined;
|
|
2772
2986
|
connections?: {
|
|
2773
2987
|
discord?: {
|
|
@@ -2787,6 +3001,22 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
2787
3001
|
token: string;
|
|
2788
3002
|
username: string;
|
|
2789
3003
|
apiToken: string;
|
|
3004
|
+
applications: import("mongoose").Types.DocumentArray<{
|
|
3005
|
+
id: import("mongoose").Types.ObjectId;
|
|
3006
|
+
token: string;
|
|
3007
|
+
scope: number;
|
|
3008
|
+
_id?: unknown;
|
|
3009
|
+
}, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
|
|
3010
|
+
id: import("mongoose").Types.ObjectId;
|
|
3011
|
+
token: string;
|
|
3012
|
+
scope: number;
|
|
3013
|
+
_id?: unknown;
|
|
3014
|
+
}> & {
|
|
3015
|
+
id: import("mongoose").Types.ObjectId;
|
|
3016
|
+
token: string;
|
|
3017
|
+
scope: number;
|
|
3018
|
+
_id?: unknown;
|
|
3019
|
+
}>;
|
|
2790
3020
|
flags?: number | null | undefined;
|
|
2791
3021
|
connections?: {
|
|
2792
3022
|
discord?: {
|
|
@@ -2810,6 +3040,22 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
2810
3040
|
token: string;
|
|
2811
3041
|
username: string;
|
|
2812
3042
|
apiToken: string;
|
|
3043
|
+
applications: import("mongoose").Types.DocumentArray<{
|
|
3044
|
+
id: import("mongoose").Types.ObjectId;
|
|
3045
|
+
token: string;
|
|
3046
|
+
scope: number;
|
|
3047
|
+
_id?: unknown;
|
|
3048
|
+
}, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
|
|
3049
|
+
id: import("mongoose").Types.ObjectId;
|
|
3050
|
+
token: string;
|
|
3051
|
+
scope: number;
|
|
3052
|
+
_id?: unknown;
|
|
3053
|
+
}> & {
|
|
3054
|
+
id: import("mongoose").Types.ObjectId;
|
|
3055
|
+
token: string;
|
|
3056
|
+
scope: number;
|
|
3057
|
+
_id?: unknown;
|
|
3058
|
+
}>;
|
|
2813
3059
|
flags?: number | null | undefined;
|
|
2814
3060
|
connections?: {
|
|
2815
3061
|
discord?: {
|
|
@@ -2829,6 +3075,22 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
2829
3075
|
token: string;
|
|
2830
3076
|
username: string;
|
|
2831
3077
|
apiToken: string;
|
|
3078
|
+
applications: import("mongoose").Types.DocumentArray<{
|
|
3079
|
+
id: import("mongoose").Types.ObjectId;
|
|
3080
|
+
token: string;
|
|
3081
|
+
scope: number;
|
|
3082
|
+
_id?: unknown;
|
|
3083
|
+
}, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
|
|
3084
|
+
id: import("mongoose").Types.ObjectId;
|
|
3085
|
+
token: string;
|
|
3086
|
+
scope: number;
|
|
3087
|
+
_id?: unknown;
|
|
3088
|
+
}> & {
|
|
3089
|
+
id: import("mongoose").Types.ObjectId;
|
|
3090
|
+
token: string;
|
|
3091
|
+
scope: number;
|
|
3092
|
+
_id?: unknown;
|
|
3093
|
+
}>;
|
|
2832
3094
|
flags?: number | null | undefined;
|
|
2833
3095
|
connections?: {
|
|
2834
3096
|
discord?: {
|
|
@@ -2853,6 +3115,22 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
2853
3115
|
token: string;
|
|
2854
3116
|
username: string;
|
|
2855
3117
|
apiToken: string;
|
|
3118
|
+
applications: import("mongoose").Types.DocumentArray<{
|
|
3119
|
+
id: import("mongoose").Types.ObjectId;
|
|
3120
|
+
token: string;
|
|
3121
|
+
scope: number;
|
|
3122
|
+
_id?: unknown;
|
|
3123
|
+
}, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
|
|
3124
|
+
id: import("mongoose").Types.ObjectId;
|
|
3125
|
+
token: string;
|
|
3126
|
+
scope: number;
|
|
3127
|
+
_id?: unknown;
|
|
3128
|
+
}> & {
|
|
3129
|
+
id: import("mongoose").Types.ObjectId;
|
|
3130
|
+
token: string;
|
|
3131
|
+
scope: number;
|
|
3132
|
+
_id?: unknown;
|
|
3133
|
+
}>;
|
|
2856
3134
|
flags?: number | null | undefined;
|
|
2857
3135
|
connections?: {
|
|
2858
3136
|
discord?: {
|
|
@@ -2872,6 +3150,22 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
2872
3150
|
token: string;
|
|
2873
3151
|
username: string;
|
|
2874
3152
|
apiToken: string;
|
|
3153
|
+
applications: import("mongoose").Types.DocumentArray<{
|
|
3154
|
+
id: import("mongoose").Types.ObjectId;
|
|
3155
|
+
token: string;
|
|
3156
|
+
scope: number;
|
|
3157
|
+
_id?: unknown;
|
|
3158
|
+
}, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
|
|
3159
|
+
id: import("mongoose").Types.ObjectId;
|
|
3160
|
+
token: string;
|
|
3161
|
+
scope: number;
|
|
3162
|
+
_id?: unknown;
|
|
3163
|
+
}> & {
|
|
3164
|
+
id: import("mongoose").Types.ObjectId;
|
|
3165
|
+
token: string;
|
|
3166
|
+
scope: number;
|
|
3167
|
+
_id?: unknown;
|
|
3168
|
+
}>;
|
|
2875
3169
|
flags?: number | null | undefined;
|
|
2876
3170
|
connections?: {
|
|
2877
3171
|
discord?: {
|
|
@@ -2891,6 +3185,22 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
2891
3185
|
token: string;
|
|
2892
3186
|
username: string;
|
|
2893
3187
|
apiToken: string;
|
|
3188
|
+
applications: import("mongoose").Types.DocumentArray<{
|
|
3189
|
+
id: import("mongoose").Types.ObjectId;
|
|
3190
|
+
token: string;
|
|
3191
|
+
scope: number;
|
|
3192
|
+
_id?: unknown;
|
|
3193
|
+
}, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
|
|
3194
|
+
id: import("mongoose").Types.ObjectId;
|
|
3195
|
+
token: string;
|
|
3196
|
+
scope: number;
|
|
3197
|
+
_id?: unknown;
|
|
3198
|
+
}> & {
|
|
3199
|
+
id: import("mongoose").Types.ObjectId;
|
|
3200
|
+
token: string;
|
|
3201
|
+
scope: number;
|
|
3202
|
+
_id?: unknown;
|
|
3203
|
+
}>;
|
|
2894
3204
|
flags?: number | null | undefined;
|
|
2895
3205
|
connections?: {
|
|
2896
3206
|
discord?: {
|
|
@@ -2914,6 +3224,22 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
2914
3224
|
token: string;
|
|
2915
3225
|
username: string;
|
|
2916
3226
|
apiToken: string;
|
|
3227
|
+
applications: import("mongoose").Types.DocumentArray<{
|
|
3228
|
+
id: import("mongoose").Types.ObjectId;
|
|
3229
|
+
token: string;
|
|
3230
|
+
scope: number;
|
|
3231
|
+
_id?: unknown;
|
|
3232
|
+
}, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
|
|
3233
|
+
id: import("mongoose").Types.ObjectId;
|
|
3234
|
+
token: string;
|
|
3235
|
+
scope: number;
|
|
3236
|
+
_id?: unknown;
|
|
3237
|
+
}> & {
|
|
3238
|
+
id: import("mongoose").Types.ObjectId;
|
|
3239
|
+
token: string;
|
|
3240
|
+
scope: number;
|
|
3241
|
+
_id?: unknown;
|
|
3242
|
+
}>;
|
|
2917
3243
|
flags?: number | null | undefined;
|
|
2918
3244
|
connections?: {
|
|
2919
3245
|
discord?: {
|
|
@@ -2933,6 +3259,22 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
2933
3259
|
token: string;
|
|
2934
3260
|
username: string;
|
|
2935
3261
|
apiToken: string;
|
|
3262
|
+
applications: import("mongoose").Types.DocumentArray<{
|
|
3263
|
+
id: import("mongoose").Types.ObjectId;
|
|
3264
|
+
token: string;
|
|
3265
|
+
scope: number;
|
|
3266
|
+
_id?: unknown;
|
|
3267
|
+
}, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
|
|
3268
|
+
id: import("mongoose").Types.ObjectId;
|
|
3269
|
+
token: string;
|
|
3270
|
+
scope: number;
|
|
3271
|
+
_id?: unknown;
|
|
3272
|
+
}> & {
|
|
3273
|
+
id: import("mongoose").Types.ObjectId;
|
|
3274
|
+
token: string;
|
|
3275
|
+
scope: number;
|
|
3276
|
+
_id?: unknown;
|
|
3277
|
+
}>;
|
|
2936
3278
|
flags?: number | null | undefined;
|
|
2937
3279
|
connections?: {
|
|
2938
3280
|
discord?: {
|
|
@@ -2958,6 +3300,22 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
2958
3300
|
token: string;
|
|
2959
3301
|
username: string;
|
|
2960
3302
|
apiToken: string;
|
|
3303
|
+
applications: import("mongoose").Types.DocumentArray<{
|
|
3304
|
+
id: import("mongoose").Types.ObjectId;
|
|
3305
|
+
token: string;
|
|
3306
|
+
scope: number;
|
|
3307
|
+
_id?: unknown;
|
|
3308
|
+
}, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
|
|
3309
|
+
id: import("mongoose").Types.ObjectId;
|
|
3310
|
+
token: string;
|
|
3311
|
+
scope: number;
|
|
3312
|
+
_id?: unknown;
|
|
3313
|
+
}> & {
|
|
3314
|
+
id: import("mongoose").Types.ObjectId;
|
|
3315
|
+
token: string;
|
|
3316
|
+
scope: number;
|
|
3317
|
+
_id?: unknown;
|
|
3318
|
+
}>;
|
|
2961
3319
|
flags?: number | null | undefined;
|
|
2962
3320
|
connections?: {
|
|
2963
3321
|
discord?: {
|
|
@@ -2981,6 +3339,22 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
2981
3339
|
token: string;
|
|
2982
3340
|
username: string;
|
|
2983
3341
|
apiToken: string;
|
|
3342
|
+
applications: import("mongoose").Types.DocumentArray<{
|
|
3343
|
+
id: import("mongoose").Types.ObjectId;
|
|
3344
|
+
token: string;
|
|
3345
|
+
scope: number;
|
|
3346
|
+
_id?: unknown;
|
|
3347
|
+
}, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
|
|
3348
|
+
id: import("mongoose").Types.ObjectId;
|
|
3349
|
+
token: string;
|
|
3350
|
+
scope: number;
|
|
3351
|
+
_id?: unknown;
|
|
3352
|
+
}> & {
|
|
3353
|
+
id: import("mongoose").Types.ObjectId;
|
|
3354
|
+
token: string;
|
|
3355
|
+
scope: number;
|
|
3356
|
+
_id?: unknown;
|
|
3357
|
+
}>;
|
|
2984
3358
|
flags?: number | null | undefined;
|
|
2985
3359
|
connections?: {
|
|
2986
3360
|
discord?: {
|
|
@@ -3000,6 +3374,22 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3000
3374
|
token: string;
|
|
3001
3375
|
username: string;
|
|
3002
3376
|
apiToken: string;
|
|
3377
|
+
applications: import("mongoose").Types.DocumentArray<{
|
|
3378
|
+
id: import("mongoose").Types.ObjectId;
|
|
3379
|
+
token: string;
|
|
3380
|
+
scope: number;
|
|
3381
|
+
_id?: unknown;
|
|
3382
|
+
}, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
|
|
3383
|
+
id: import("mongoose").Types.ObjectId;
|
|
3384
|
+
token: string;
|
|
3385
|
+
scope: number;
|
|
3386
|
+
_id?: unknown;
|
|
3387
|
+
}> & {
|
|
3388
|
+
id: import("mongoose").Types.ObjectId;
|
|
3389
|
+
token: string;
|
|
3390
|
+
scope: number;
|
|
3391
|
+
_id?: unknown;
|
|
3392
|
+
}>;
|
|
3003
3393
|
flags?: number | null | undefined;
|
|
3004
3394
|
connections?: {
|
|
3005
3395
|
discord?: {
|
|
@@ -3019,6 +3409,22 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3019
3409
|
token: string;
|
|
3020
3410
|
username: string;
|
|
3021
3411
|
apiToken: string;
|
|
3412
|
+
applications: import("mongoose").Types.DocumentArray<{
|
|
3413
|
+
id: import("mongoose").Types.ObjectId;
|
|
3414
|
+
token: string;
|
|
3415
|
+
scope: number;
|
|
3416
|
+
_id?: unknown;
|
|
3417
|
+
}, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
|
|
3418
|
+
id: import("mongoose").Types.ObjectId;
|
|
3419
|
+
token: string;
|
|
3420
|
+
scope: number;
|
|
3421
|
+
_id?: unknown;
|
|
3422
|
+
}> & {
|
|
3423
|
+
id: import("mongoose").Types.ObjectId;
|
|
3424
|
+
token: string;
|
|
3425
|
+
scope: number;
|
|
3426
|
+
_id?: unknown;
|
|
3427
|
+
}>;
|
|
3022
3428
|
flags?: number | null | undefined;
|
|
3023
3429
|
connections?: {
|
|
3024
3430
|
discord?: {
|
|
@@ -3043,6 +3449,22 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3043
3449
|
token: string;
|
|
3044
3450
|
username: string;
|
|
3045
3451
|
apiToken: string;
|
|
3452
|
+
applications: import("mongoose").Types.DocumentArray<{
|
|
3453
|
+
id: import("mongoose").Types.ObjectId;
|
|
3454
|
+
token: string;
|
|
3455
|
+
scope: number;
|
|
3456
|
+
_id?: unknown;
|
|
3457
|
+
}, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
|
|
3458
|
+
id: import("mongoose").Types.ObjectId;
|
|
3459
|
+
token: string;
|
|
3460
|
+
scope: number;
|
|
3461
|
+
_id?: unknown;
|
|
3462
|
+
}> & {
|
|
3463
|
+
id: import("mongoose").Types.ObjectId;
|
|
3464
|
+
token: string;
|
|
3465
|
+
scope: number;
|
|
3466
|
+
_id?: unknown;
|
|
3467
|
+
}>;
|
|
3046
3468
|
flags?: number | null | undefined;
|
|
3047
3469
|
connections?: {
|
|
3048
3470
|
discord?: {
|
|
@@ -3062,6 +3484,22 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3062
3484
|
token: string;
|
|
3063
3485
|
username: string;
|
|
3064
3486
|
apiToken: string;
|
|
3487
|
+
applications: import("mongoose").Types.DocumentArray<{
|
|
3488
|
+
id: import("mongoose").Types.ObjectId;
|
|
3489
|
+
token: string;
|
|
3490
|
+
scope: number;
|
|
3491
|
+
_id?: unknown;
|
|
3492
|
+
}, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
|
|
3493
|
+
id: import("mongoose").Types.ObjectId;
|
|
3494
|
+
token: string;
|
|
3495
|
+
scope: number;
|
|
3496
|
+
_id?: unknown;
|
|
3497
|
+
}> & {
|
|
3498
|
+
id: import("mongoose").Types.ObjectId;
|
|
3499
|
+
token: string;
|
|
3500
|
+
scope: number;
|
|
3501
|
+
_id?: unknown;
|
|
3502
|
+
}>;
|
|
3065
3503
|
flags?: number | null | undefined;
|
|
3066
3504
|
connections?: {
|
|
3067
3505
|
discord?: {
|
|
@@ -3081,6 +3519,22 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3081
3519
|
token: string;
|
|
3082
3520
|
username: string;
|
|
3083
3521
|
apiToken: string;
|
|
3522
|
+
applications: import("mongoose").Types.DocumentArray<{
|
|
3523
|
+
id: import("mongoose").Types.ObjectId;
|
|
3524
|
+
token: string;
|
|
3525
|
+
scope: number;
|
|
3526
|
+
_id?: unknown;
|
|
3527
|
+
}, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
|
|
3528
|
+
id: import("mongoose").Types.ObjectId;
|
|
3529
|
+
token: string;
|
|
3530
|
+
scope: number;
|
|
3531
|
+
_id?: unknown;
|
|
3532
|
+
}> & {
|
|
3533
|
+
id: import("mongoose").Types.ObjectId;
|
|
3534
|
+
token: string;
|
|
3535
|
+
scope: number;
|
|
3536
|
+
_id?: unknown;
|
|
3537
|
+
}>;
|
|
3084
3538
|
flags?: number | null | undefined;
|
|
3085
3539
|
connections?: {
|
|
3086
3540
|
discord?: {
|
|
@@ -3105,6 +3559,22 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3105
3559
|
token: string;
|
|
3106
3560
|
username: string;
|
|
3107
3561
|
apiToken: string;
|
|
3562
|
+
applications: import("mongoose").Types.DocumentArray<{
|
|
3563
|
+
id: import("mongoose").Types.ObjectId;
|
|
3564
|
+
token: string;
|
|
3565
|
+
scope: number;
|
|
3566
|
+
_id?: unknown;
|
|
3567
|
+
}, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
|
|
3568
|
+
id: import("mongoose").Types.ObjectId;
|
|
3569
|
+
token: string;
|
|
3570
|
+
scope: number;
|
|
3571
|
+
_id?: unknown;
|
|
3572
|
+
}> & {
|
|
3573
|
+
id: import("mongoose").Types.ObjectId;
|
|
3574
|
+
token: string;
|
|
3575
|
+
scope: number;
|
|
3576
|
+
_id?: unknown;
|
|
3577
|
+
}>;
|
|
3108
3578
|
flags?: number | null | undefined;
|
|
3109
3579
|
connections?: {
|
|
3110
3580
|
discord?: {
|
|
@@ -3124,6 +3594,22 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3124
3594
|
token: string;
|
|
3125
3595
|
username: string;
|
|
3126
3596
|
apiToken: string;
|
|
3597
|
+
applications: import("mongoose").Types.DocumentArray<{
|
|
3598
|
+
id: import("mongoose").Types.ObjectId;
|
|
3599
|
+
token: string;
|
|
3600
|
+
scope: number;
|
|
3601
|
+
_id?: unknown;
|
|
3602
|
+
}, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
|
|
3603
|
+
id: import("mongoose").Types.ObjectId;
|
|
3604
|
+
token: string;
|
|
3605
|
+
scope: number;
|
|
3606
|
+
_id?: unknown;
|
|
3607
|
+
}> & {
|
|
3608
|
+
id: import("mongoose").Types.ObjectId;
|
|
3609
|
+
token: string;
|
|
3610
|
+
scope: number;
|
|
3611
|
+
_id?: unknown;
|
|
3612
|
+
}>;
|
|
3127
3613
|
flags?: number | null | undefined;
|
|
3128
3614
|
connections?: {
|
|
3129
3615
|
discord?: {
|
|
@@ -3143,6 +3629,22 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3143
3629
|
token: string;
|
|
3144
3630
|
username: string;
|
|
3145
3631
|
apiToken: string;
|
|
3632
|
+
applications: import("mongoose").Types.DocumentArray<{
|
|
3633
|
+
id: import("mongoose").Types.ObjectId;
|
|
3634
|
+
token: string;
|
|
3635
|
+
scope: number;
|
|
3636
|
+
_id?: unknown;
|
|
3637
|
+
}, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
|
|
3638
|
+
id: import("mongoose").Types.ObjectId;
|
|
3639
|
+
token: string;
|
|
3640
|
+
scope: number;
|
|
3641
|
+
_id?: unknown;
|
|
3642
|
+
}> & {
|
|
3643
|
+
id: import("mongoose").Types.ObjectId;
|
|
3644
|
+
token: string;
|
|
3645
|
+
scope: number;
|
|
3646
|
+
_id?: unknown;
|
|
3647
|
+
}>;
|
|
3146
3648
|
flags?: number | null | undefined;
|
|
3147
3649
|
connections?: {
|
|
3148
3650
|
discord?: {
|
|
@@ -3166,6 +3668,22 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3166
3668
|
token: string;
|
|
3167
3669
|
username: string;
|
|
3168
3670
|
apiToken: string;
|
|
3671
|
+
applications: import("mongoose").Types.DocumentArray<{
|
|
3672
|
+
id: import("mongoose").Types.ObjectId;
|
|
3673
|
+
token: string;
|
|
3674
|
+
scope: number;
|
|
3675
|
+
_id?: unknown;
|
|
3676
|
+
}, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
|
|
3677
|
+
id: import("mongoose").Types.ObjectId;
|
|
3678
|
+
token: string;
|
|
3679
|
+
scope: number;
|
|
3680
|
+
_id?: unknown;
|
|
3681
|
+
}> & {
|
|
3682
|
+
id: import("mongoose").Types.ObjectId;
|
|
3683
|
+
token: string;
|
|
3684
|
+
scope: number;
|
|
3685
|
+
_id?: unknown;
|
|
3686
|
+
}>;
|
|
3169
3687
|
flags?: number | null | undefined;
|
|
3170
3688
|
connections?: {
|
|
3171
3689
|
discord?: {
|
|
@@ -3185,6 +3703,22 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3185
3703
|
token: string;
|
|
3186
3704
|
username: string;
|
|
3187
3705
|
apiToken: string;
|
|
3706
|
+
applications: import("mongoose").Types.DocumentArray<{
|
|
3707
|
+
id: import("mongoose").Types.ObjectId;
|
|
3708
|
+
token: string;
|
|
3709
|
+
scope: number;
|
|
3710
|
+
_id?: unknown;
|
|
3711
|
+
}, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
|
|
3712
|
+
id: import("mongoose").Types.ObjectId;
|
|
3713
|
+
token: string;
|
|
3714
|
+
scope: number;
|
|
3715
|
+
_id?: unknown;
|
|
3716
|
+
}> & {
|
|
3717
|
+
id: import("mongoose").Types.ObjectId;
|
|
3718
|
+
token: string;
|
|
3719
|
+
scope: number;
|
|
3720
|
+
_id?: unknown;
|
|
3721
|
+
}>;
|
|
3188
3722
|
flags?: number | null | undefined;
|
|
3189
3723
|
connections?: {
|
|
3190
3724
|
discord?: {
|
|
@@ -3209,6 +3743,22 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3209
3743
|
token: string;
|
|
3210
3744
|
username: string;
|
|
3211
3745
|
apiToken: string;
|
|
3746
|
+
applications: import("mongoose").Types.DocumentArray<{
|
|
3747
|
+
id: import("mongoose").Types.ObjectId;
|
|
3748
|
+
token: string;
|
|
3749
|
+
scope: number;
|
|
3750
|
+
_id?: unknown;
|
|
3751
|
+
}, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
|
|
3752
|
+
id: import("mongoose").Types.ObjectId;
|
|
3753
|
+
token: string;
|
|
3754
|
+
scope: number;
|
|
3755
|
+
_id?: unknown;
|
|
3756
|
+
}> & {
|
|
3757
|
+
id: import("mongoose").Types.ObjectId;
|
|
3758
|
+
token: string;
|
|
3759
|
+
scope: number;
|
|
3760
|
+
_id?: unknown;
|
|
3761
|
+
}>;
|
|
3212
3762
|
flags?: number | null | undefined;
|
|
3213
3763
|
connections?: {
|
|
3214
3764
|
discord?: {
|
|
@@ -3228,6 +3778,22 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3228
3778
|
token: string;
|
|
3229
3779
|
username: string;
|
|
3230
3780
|
apiToken: string;
|
|
3781
|
+
applications: import("mongoose").Types.DocumentArray<{
|
|
3782
|
+
id: import("mongoose").Types.ObjectId;
|
|
3783
|
+
token: string;
|
|
3784
|
+
scope: number;
|
|
3785
|
+
_id?: unknown;
|
|
3786
|
+
}, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
|
|
3787
|
+
id: import("mongoose").Types.ObjectId;
|
|
3788
|
+
token: string;
|
|
3789
|
+
scope: number;
|
|
3790
|
+
_id?: unknown;
|
|
3791
|
+
}> & {
|
|
3792
|
+
id: import("mongoose").Types.ObjectId;
|
|
3793
|
+
token: string;
|
|
3794
|
+
scope: number;
|
|
3795
|
+
_id?: unknown;
|
|
3796
|
+
}>;
|
|
3231
3797
|
flags?: number | null | undefined;
|
|
3232
3798
|
connections?: {
|
|
3233
3799
|
discord?: {
|
|
@@ -3247,6 +3813,22 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3247
3813
|
token: string;
|
|
3248
3814
|
username: string;
|
|
3249
3815
|
apiToken: string;
|
|
3816
|
+
applications: import("mongoose").Types.DocumentArray<{
|
|
3817
|
+
id: import("mongoose").Types.ObjectId;
|
|
3818
|
+
token: string;
|
|
3819
|
+
scope: number;
|
|
3820
|
+
_id?: unknown;
|
|
3821
|
+
}, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
|
|
3822
|
+
id: import("mongoose").Types.ObjectId;
|
|
3823
|
+
token: string;
|
|
3824
|
+
scope: number;
|
|
3825
|
+
_id?: unknown;
|
|
3826
|
+
}> & {
|
|
3827
|
+
id: import("mongoose").Types.ObjectId;
|
|
3828
|
+
token: string;
|
|
3829
|
+
scope: number;
|
|
3830
|
+
_id?: unknown;
|
|
3831
|
+
}>;
|
|
3250
3832
|
flags?: number | null | undefined;
|
|
3251
3833
|
connections?: {
|
|
3252
3834
|
discord?: {
|
|
@@ -3270,6 +3852,22 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3270
3852
|
token: string;
|
|
3271
3853
|
username: string;
|
|
3272
3854
|
apiToken: string;
|
|
3855
|
+
applications: import("mongoose").Types.DocumentArray<{
|
|
3856
|
+
id: import("mongoose").Types.ObjectId;
|
|
3857
|
+
token: string;
|
|
3858
|
+
scope: number;
|
|
3859
|
+
_id?: unknown;
|
|
3860
|
+
}, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
|
|
3861
|
+
id: import("mongoose").Types.ObjectId;
|
|
3862
|
+
token: string;
|
|
3863
|
+
scope: number;
|
|
3864
|
+
_id?: unknown;
|
|
3865
|
+
}> & {
|
|
3866
|
+
id: import("mongoose").Types.ObjectId;
|
|
3867
|
+
token: string;
|
|
3868
|
+
scope: number;
|
|
3869
|
+
_id?: unknown;
|
|
3870
|
+
}>;
|
|
3273
3871
|
flags?: number | null | undefined;
|
|
3274
3872
|
connections?: {
|
|
3275
3873
|
discord?: {
|
|
@@ -3289,6 +3887,22 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3289
3887
|
token: string;
|
|
3290
3888
|
username: string;
|
|
3291
3889
|
apiToken: string;
|
|
3890
|
+
applications: import("mongoose").Types.DocumentArray<{
|
|
3891
|
+
id: import("mongoose").Types.ObjectId;
|
|
3892
|
+
token: string;
|
|
3893
|
+
scope: number;
|
|
3894
|
+
_id?: unknown;
|
|
3895
|
+
}, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
|
|
3896
|
+
id: import("mongoose").Types.ObjectId;
|
|
3897
|
+
token: string;
|
|
3898
|
+
scope: number;
|
|
3899
|
+
_id?: unknown;
|
|
3900
|
+
}> & {
|
|
3901
|
+
id: import("mongoose").Types.ObjectId;
|
|
3902
|
+
token: string;
|
|
3903
|
+
scope: number;
|
|
3904
|
+
_id?: unknown;
|
|
3905
|
+
}>;
|
|
3292
3906
|
flags?: number | null | undefined;
|
|
3293
3907
|
connections?: {
|
|
3294
3908
|
discord?: {
|
|
@@ -3315,6 +3929,22 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3315
3929
|
token: string;
|
|
3316
3930
|
username: string;
|
|
3317
3931
|
apiToken: string;
|
|
3932
|
+
applications: import("mongoose").Types.DocumentArray<{
|
|
3933
|
+
id: import("mongoose").Types.ObjectId;
|
|
3934
|
+
token: string;
|
|
3935
|
+
scope: number;
|
|
3936
|
+
_id?: unknown;
|
|
3937
|
+
}, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
|
|
3938
|
+
id: import("mongoose").Types.ObjectId;
|
|
3939
|
+
token: string;
|
|
3940
|
+
scope: number;
|
|
3941
|
+
_id?: unknown;
|
|
3942
|
+
}> & {
|
|
3943
|
+
id: import("mongoose").Types.ObjectId;
|
|
3944
|
+
token: string;
|
|
3945
|
+
scope: number;
|
|
3946
|
+
_id?: unknown;
|
|
3947
|
+
}>;
|
|
3318
3948
|
flags?: number | null | undefined;
|
|
3319
3949
|
connections?: {
|
|
3320
3950
|
discord?: {
|
|
@@ -3334,6 +3964,22 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3334
3964
|
token: string;
|
|
3335
3965
|
username: string;
|
|
3336
3966
|
apiToken: string;
|
|
3967
|
+
applications: import("mongoose").Types.DocumentArray<{
|
|
3968
|
+
id: import("mongoose").Types.ObjectId;
|
|
3969
|
+
token: string;
|
|
3970
|
+
scope: number;
|
|
3971
|
+
_id?: unknown;
|
|
3972
|
+
}, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
|
|
3973
|
+
id: import("mongoose").Types.ObjectId;
|
|
3974
|
+
token: string;
|
|
3975
|
+
scope: number;
|
|
3976
|
+
_id?: unknown;
|
|
3977
|
+
}> & {
|
|
3978
|
+
id: import("mongoose").Types.ObjectId;
|
|
3979
|
+
token: string;
|
|
3980
|
+
scope: number;
|
|
3981
|
+
_id?: unknown;
|
|
3982
|
+
}>;
|
|
3337
3983
|
flags?: number | null | undefined;
|
|
3338
3984
|
connections?: {
|
|
3339
3985
|
discord?: {
|
|
@@ -3353,6 +3999,22 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3353
3999
|
token: string;
|
|
3354
4000
|
username: string;
|
|
3355
4001
|
apiToken: string;
|
|
4002
|
+
applications: import("mongoose").Types.DocumentArray<{
|
|
4003
|
+
id: import("mongoose").Types.ObjectId;
|
|
4004
|
+
token: string;
|
|
4005
|
+
scope: number;
|
|
4006
|
+
_id?: unknown;
|
|
4007
|
+
}, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
|
|
4008
|
+
id: import("mongoose").Types.ObjectId;
|
|
4009
|
+
token: string;
|
|
4010
|
+
scope: number;
|
|
4011
|
+
_id?: unknown;
|
|
4012
|
+
}> & {
|
|
4013
|
+
id: import("mongoose").Types.ObjectId;
|
|
4014
|
+
token: string;
|
|
4015
|
+
scope: number;
|
|
4016
|
+
_id?: unknown;
|
|
4017
|
+
}>;
|
|
3356
4018
|
flags?: number | null | undefined;
|
|
3357
4019
|
connections?: {
|
|
3358
4020
|
discord?: {
|
|
@@ -3377,6 +4039,22 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3377
4039
|
token: string;
|
|
3378
4040
|
username: string;
|
|
3379
4041
|
apiToken: string;
|
|
4042
|
+
applications: import("mongoose").Types.DocumentArray<{
|
|
4043
|
+
id: import("mongoose").Types.ObjectId;
|
|
4044
|
+
token: string;
|
|
4045
|
+
scope: number;
|
|
4046
|
+
_id?: unknown;
|
|
4047
|
+
}, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
|
|
4048
|
+
id: import("mongoose").Types.ObjectId;
|
|
4049
|
+
token: string;
|
|
4050
|
+
scope: number;
|
|
4051
|
+
_id?: unknown;
|
|
4052
|
+
}> & {
|
|
4053
|
+
id: import("mongoose").Types.ObjectId;
|
|
4054
|
+
token: string;
|
|
4055
|
+
scope: number;
|
|
4056
|
+
_id?: unknown;
|
|
4057
|
+
}>;
|
|
3380
4058
|
flags?: number | null | undefined;
|
|
3381
4059
|
connections?: {
|
|
3382
4060
|
discord?: {
|
|
@@ -3396,6 +4074,22 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3396
4074
|
token: string;
|
|
3397
4075
|
username: string;
|
|
3398
4076
|
apiToken: string;
|
|
4077
|
+
applications: import("mongoose").Types.DocumentArray<{
|
|
4078
|
+
id: import("mongoose").Types.ObjectId;
|
|
4079
|
+
token: string;
|
|
4080
|
+
scope: number;
|
|
4081
|
+
_id?: unknown;
|
|
4082
|
+
}, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
|
|
4083
|
+
id: import("mongoose").Types.ObjectId;
|
|
4084
|
+
token: string;
|
|
4085
|
+
scope: number;
|
|
4086
|
+
_id?: unknown;
|
|
4087
|
+
}> & {
|
|
4088
|
+
id: import("mongoose").Types.ObjectId;
|
|
4089
|
+
token: string;
|
|
4090
|
+
scope: number;
|
|
4091
|
+
_id?: unknown;
|
|
4092
|
+
}>;
|
|
3399
4093
|
flags?: number | null | undefined;
|
|
3400
4094
|
connections?: {
|
|
3401
4095
|
discord?: {
|
|
@@ -3415,6 +4109,22 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3415
4109
|
token: string;
|
|
3416
4110
|
username: string;
|
|
3417
4111
|
apiToken: string;
|
|
4112
|
+
applications: import("mongoose").Types.DocumentArray<{
|
|
4113
|
+
id: import("mongoose").Types.ObjectId;
|
|
4114
|
+
token: string;
|
|
4115
|
+
scope: number;
|
|
4116
|
+
_id?: unknown;
|
|
4117
|
+
}, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
|
|
4118
|
+
id: import("mongoose").Types.ObjectId;
|
|
4119
|
+
token: string;
|
|
4120
|
+
scope: number;
|
|
4121
|
+
_id?: unknown;
|
|
4122
|
+
}> & {
|
|
4123
|
+
id: import("mongoose").Types.ObjectId;
|
|
4124
|
+
token: string;
|
|
4125
|
+
scope: number;
|
|
4126
|
+
_id?: unknown;
|
|
4127
|
+
}>;
|
|
3418
4128
|
flags?: number | null | undefined;
|
|
3419
4129
|
connections?: {
|
|
3420
4130
|
discord?: {
|
|
@@ -3438,6 +4148,22 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3438
4148
|
token: string;
|
|
3439
4149
|
username: string;
|
|
3440
4150
|
apiToken: string;
|
|
4151
|
+
applications: import("mongoose").Types.DocumentArray<{
|
|
4152
|
+
id: import("mongoose").Types.ObjectId;
|
|
4153
|
+
token: string;
|
|
4154
|
+
scope: number;
|
|
4155
|
+
_id?: unknown;
|
|
4156
|
+
}, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
|
|
4157
|
+
id: import("mongoose").Types.ObjectId;
|
|
4158
|
+
token: string;
|
|
4159
|
+
scope: number;
|
|
4160
|
+
_id?: unknown;
|
|
4161
|
+
}> & {
|
|
4162
|
+
id: import("mongoose").Types.ObjectId;
|
|
4163
|
+
token: string;
|
|
4164
|
+
scope: number;
|
|
4165
|
+
_id?: unknown;
|
|
4166
|
+
}>;
|
|
3441
4167
|
flags?: number | null | undefined;
|
|
3442
4168
|
connections?: {
|
|
3443
4169
|
discord?: {
|
|
@@ -3457,6 +4183,22 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3457
4183
|
token: string;
|
|
3458
4184
|
username: string;
|
|
3459
4185
|
apiToken: string;
|
|
4186
|
+
applications: import("mongoose").Types.DocumentArray<{
|
|
4187
|
+
id: import("mongoose").Types.ObjectId;
|
|
4188
|
+
token: string;
|
|
4189
|
+
scope: number;
|
|
4190
|
+
_id?: unknown;
|
|
4191
|
+
}, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
|
|
4192
|
+
id: import("mongoose").Types.ObjectId;
|
|
4193
|
+
token: string;
|
|
4194
|
+
scope: number;
|
|
4195
|
+
_id?: unknown;
|
|
4196
|
+
}> & {
|
|
4197
|
+
id: import("mongoose").Types.ObjectId;
|
|
4198
|
+
token: string;
|
|
4199
|
+
scope: number;
|
|
4200
|
+
_id?: unknown;
|
|
4201
|
+
}>;
|
|
3460
4202
|
flags?: number | null | undefined;
|
|
3461
4203
|
connections?: {
|
|
3462
4204
|
discord?: {
|
|
@@ -3481,6 +4223,22 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3481
4223
|
token: string;
|
|
3482
4224
|
username: string;
|
|
3483
4225
|
apiToken: string;
|
|
4226
|
+
applications: import("mongoose").Types.DocumentArray<{
|
|
4227
|
+
id: import("mongoose").Types.ObjectId;
|
|
4228
|
+
token: string;
|
|
4229
|
+
scope: number;
|
|
4230
|
+
_id?: unknown;
|
|
4231
|
+
}, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
|
|
4232
|
+
id: import("mongoose").Types.ObjectId;
|
|
4233
|
+
token: string;
|
|
4234
|
+
scope: number;
|
|
4235
|
+
_id?: unknown;
|
|
4236
|
+
}> & {
|
|
4237
|
+
id: import("mongoose").Types.ObjectId;
|
|
4238
|
+
token: string;
|
|
4239
|
+
scope: number;
|
|
4240
|
+
_id?: unknown;
|
|
4241
|
+
}>;
|
|
3484
4242
|
flags?: number | null | undefined;
|
|
3485
4243
|
connections?: {
|
|
3486
4244
|
discord?: {
|
|
@@ -3500,6 +4258,22 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3500
4258
|
token: string;
|
|
3501
4259
|
username: string;
|
|
3502
4260
|
apiToken: string;
|
|
4261
|
+
applications: import("mongoose").Types.DocumentArray<{
|
|
4262
|
+
id: import("mongoose").Types.ObjectId;
|
|
4263
|
+
token: string;
|
|
4264
|
+
scope: number;
|
|
4265
|
+
_id?: unknown;
|
|
4266
|
+
}, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
|
|
4267
|
+
id: import("mongoose").Types.ObjectId;
|
|
4268
|
+
token: string;
|
|
4269
|
+
scope: number;
|
|
4270
|
+
_id?: unknown;
|
|
4271
|
+
}> & {
|
|
4272
|
+
id: import("mongoose").Types.ObjectId;
|
|
4273
|
+
token: string;
|
|
4274
|
+
scope: number;
|
|
4275
|
+
_id?: unknown;
|
|
4276
|
+
}>;
|
|
3503
4277
|
flags?: number | null | undefined;
|
|
3504
4278
|
connections?: {
|
|
3505
4279
|
discord?: {
|
|
@@ -3519,6 +4293,22 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3519
4293
|
token: string;
|
|
3520
4294
|
username: string;
|
|
3521
4295
|
apiToken: string;
|
|
4296
|
+
applications: import("mongoose").Types.DocumentArray<{
|
|
4297
|
+
id: import("mongoose").Types.ObjectId;
|
|
4298
|
+
token: string;
|
|
4299
|
+
scope: number;
|
|
4300
|
+
_id?: unknown;
|
|
4301
|
+
}, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
|
|
4302
|
+
id: import("mongoose").Types.ObjectId;
|
|
4303
|
+
token: string;
|
|
4304
|
+
scope: number;
|
|
4305
|
+
_id?: unknown;
|
|
4306
|
+
}> & {
|
|
4307
|
+
id: import("mongoose").Types.ObjectId;
|
|
4308
|
+
token: string;
|
|
4309
|
+
scope: number;
|
|
4310
|
+
_id?: unknown;
|
|
4311
|
+
}>;
|
|
3522
4312
|
flags?: number | null | undefined;
|
|
3523
4313
|
connections?: {
|
|
3524
4314
|
discord?: {
|
|
@@ -3542,6 +4332,22 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3542
4332
|
token: string;
|
|
3543
4333
|
username: string;
|
|
3544
4334
|
apiToken: string;
|
|
4335
|
+
applications: import("mongoose").Types.DocumentArray<{
|
|
4336
|
+
id: import("mongoose").Types.ObjectId;
|
|
4337
|
+
token: string;
|
|
4338
|
+
scope: number;
|
|
4339
|
+
_id?: unknown;
|
|
4340
|
+
}, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
|
|
4341
|
+
id: import("mongoose").Types.ObjectId;
|
|
4342
|
+
token: string;
|
|
4343
|
+
scope: number;
|
|
4344
|
+
_id?: unknown;
|
|
4345
|
+
}> & {
|
|
4346
|
+
id: import("mongoose").Types.ObjectId;
|
|
4347
|
+
token: string;
|
|
4348
|
+
scope: number;
|
|
4349
|
+
_id?: unknown;
|
|
4350
|
+
}>;
|
|
3545
4351
|
flags?: number | null | undefined;
|
|
3546
4352
|
connections?: {
|
|
3547
4353
|
discord?: {
|
|
@@ -3561,6 +4367,22 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3561
4367
|
token: string;
|
|
3562
4368
|
username: string;
|
|
3563
4369
|
apiToken: string;
|
|
4370
|
+
applications: import("mongoose").Types.DocumentArray<{
|
|
4371
|
+
id: import("mongoose").Types.ObjectId;
|
|
4372
|
+
token: string;
|
|
4373
|
+
scope: number;
|
|
4374
|
+
_id?: unknown;
|
|
4375
|
+
}, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
|
|
4376
|
+
id: import("mongoose").Types.ObjectId;
|
|
4377
|
+
token: string;
|
|
4378
|
+
scope: number;
|
|
4379
|
+
_id?: unknown;
|
|
4380
|
+
}> & {
|
|
4381
|
+
id: import("mongoose").Types.ObjectId;
|
|
4382
|
+
token: string;
|
|
4383
|
+
scope: number;
|
|
4384
|
+
_id?: unknown;
|
|
4385
|
+
}>;
|
|
3564
4386
|
flags?: number | null | undefined;
|
|
3565
4387
|
connections?: {
|
|
3566
4388
|
discord?: {
|
|
@@ -3586,6 +4408,22 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3586
4408
|
token: string;
|
|
3587
4409
|
username: string;
|
|
3588
4410
|
apiToken: string;
|
|
4411
|
+
applications: import("mongoose").Types.DocumentArray<{
|
|
4412
|
+
id: import("mongoose").Types.ObjectId;
|
|
4413
|
+
token: string;
|
|
4414
|
+
scope: number;
|
|
4415
|
+
_id?: unknown;
|
|
4416
|
+
}, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
|
|
4417
|
+
id: import("mongoose").Types.ObjectId;
|
|
4418
|
+
token: string;
|
|
4419
|
+
scope: number;
|
|
4420
|
+
_id?: unknown;
|
|
4421
|
+
}> & {
|
|
4422
|
+
id: import("mongoose").Types.ObjectId;
|
|
4423
|
+
token: string;
|
|
4424
|
+
scope: number;
|
|
4425
|
+
_id?: unknown;
|
|
4426
|
+
}>;
|
|
3589
4427
|
flags?: number | null | undefined;
|
|
3590
4428
|
connections?: {
|
|
3591
4429
|
discord?: {
|
|
@@ -3605,6 +4443,22 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3605
4443
|
token: string;
|
|
3606
4444
|
username: string;
|
|
3607
4445
|
apiToken: string;
|
|
4446
|
+
applications: import("mongoose").Types.DocumentArray<{
|
|
4447
|
+
id: import("mongoose").Types.ObjectId;
|
|
4448
|
+
token: string;
|
|
4449
|
+
scope: number;
|
|
4450
|
+
_id?: unknown;
|
|
4451
|
+
}, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
|
|
4452
|
+
id: import("mongoose").Types.ObjectId;
|
|
4453
|
+
token: string;
|
|
4454
|
+
scope: number;
|
|
4455
|
+
_id?: unknown;
|
|
4456
|
+
}> & {
|
|
4457
|
+
id: import("mongoose").Types.ObjectId;
|
|
4458
|
+
token: string;
|
|
4459
|
+
scope: number;
|
|
4460
|
+
_id?: unknown;
|
|
4461
|
+
}>;
|
|
3608
4462
|
flags?: number | null | undefined;
|
|
3609
4463
|
connections?: {
|
|
3610
4464
|
discord?: {
|
|
@@ -3624,6 +4478,22 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3624
4478
|
token: string;
|
|
3625
4479
|
username: string;
|
|
3626
4480
|
apiToken: string;
|
|
4481
|
+
applications: import("mongoose").Types.DocumentArray<{
|
|
4482
|
+
id: import("mongoose").Types.ObjectId;
|
|
4483
|
+
token: string;
|
|
4484
|
+
scope: number;
|
|
4485
|
+
_id?: unknown;
|
|
4486
|
+
}, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
|
|
4487
|
+
id: import("mongoose").Types.ObjectId;
|
|
4488
|
+
token: string;
|
|
4489
|
+
scope: number;
|
|
4490
|
+
_id?: unknown;
|
|
4491
|
+
}> & {
|
|
4492
|
+
id: import("mongoose").Types.ObjectId;
|
|
4493
|
+
token: string;
|
|
4494
|
+
scope: number;
|
|
4495
|
+
_id?: unknown;
|
|
4496
|
+
}>;
|
|
3627
4497
|
flags?: number | null | undefined;
|
|
3628
4498
|
connections?: {
|
|
3629
4499
|
discord?: {
|
|
@@ -3648,6 +4518,22 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3648
4518
|
token: string;
|
|
3649
4519
|
username: string;
|
|
3650
4520
|
apiToken: string;
|
|
4521
|
+
applications: import("mongoose").Types.DocumentArray<{
|
|
4522
|
+
id: import("mongoose").Types.ObjectId;
|
|
4523
|
+
token: string;
|
|
4524
|
+
scope: number;
|
|
4525
|
+
_id?: unknown;
|
|
4526
|
+
}, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
|
|
4527
|
+
id: import("mongoose").Types.ObjectId;
|
|
4528
|
+
token: string;
|
|
4529
|
+
scope: number;
|
|
4530
|
+
_id?: unknown;
|
|
4531
|
+
}> & {
|
|
4532
|
+
id: import("mongoose").Types.ObjectId;
|
|
4533
|
+
token: string;
|
|
4534
|
+
scope: number;
|
|
4535
|
+
_id?: unknown;
|
|
4536
|
+
}>;
|
|
3651
4537
|
flags?: number | null | undefined;
|
|
3652
4538
|
connections?: {
|
|
3653
4539
|
discord?: {
|
|
@@ -3667,6 +4553,22 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3667
4553
|
token: string;
|
|
3668
4554
|
username: string;
|
|
3669
4555
|
apiToken: string;
|
|
4556
|
+
applications: import("mongoose").Types.DocumentArray<{
|
|
4557
|
+
id: import("mongoose").Types.ObjectId;
|
|
4558
|
+
token: string;
|
|
4559
|
+
scope: number;
|
|
4560
|
+
_id?: unknown;
|
|
4561
|
+
}, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
|
|
4562
|
+
id: import("mongoose").Types.ObjectId;
|
|
4563
|
+
token: string;
|
|
4564
|
+
scope: number;
|
|
4565
|
+
_id?: unknown;
|
|
4566
|
+
}> & {
|
|
4567
|
+
id: import("mongoose").Types.ObjectId;
|
|
4568
|
+
token: string;
|
|
4569
|
+
scope: number;
|
|
4570
|
+
_id?: unknown;
|
|
4571
|
+
}>;
|
|
3670
4572
|
flags?: number | null | undefined;
|
|
3671
4573
|
connections?: {
|
|
3672
4574
|
discord?: {
|
|
@@ -3686,6 +4588,22 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3686
4588
|
token: string;
|
|
3687
4589
|
username: string;
|
|
3688
4590
|
apiToken: string;
|
|
4591
|
+
applications: import("mongoose").Types.DocumentArray<{
|
|
4592
|
+
id: import("mongoose").Types.ObjectId;
|
|
4593
|
+
token: string;
|
|
4594
|
+
scope: number;
|
|
4595
|
+
_id?: unknown;
|
|
4596
|
+
}, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
|
|
4597
|
+
id: import("mongoose").Types.ObjectId;
|
|
4598
|
+
token: string;
|
|
4599
|
+
scope: number;
|
|
4600
|
+
_id?: unknown;
|
|
4601
|
+
}> & {
|
|
4602
|
+
id: import("mongoose").Types.ObjectId;
|
|
4603
|
+
token: string;
|
|
4604
|
+
scope: number;
|
|
4605
|
+
_id?: unknown;
|
|
4606
|
+
}>;
|
|
3689
4607
|
flags?: number | null | undefined;
|
|
3690
4608
|
connections?: {
|
|
3691
4609
|
discord?: {
|
|
@@ -3710,6 +4628,22 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3710
4628
|
token: string;
|
|
3711
4629
|
username: string;
|
|
3712
4630
|
apiToken: string;
|
|
4631
|
+
applications: import("mongoose").Types.DocumentArray<{
|
|
4632
|
+
id: import("mongoose").Types.ObjectId;
|
|
4633
|
+
token: string;
|
|
4634
|
+
scope: number;
|
|
4635
|
+
_id?: unknown;
|
|
4636
|
+
}, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
|
|
4637
|
+
id: import("mongoose").Types.ObjectId;
|
|
4638
|
+
token: string;
|
|
4639
|
+
scope: number;
|
|
4640
|
+
_id?: unknown;
|
|
4641
|
+
}> & {
|
|
4642
|
+
id: import("mongoose").Types.ObjectId;
|
|
4643
|
+
token: string;
|
|
4644
|
+
scope: number;
|
|
4645
|
+
_id?: unknown;
|
|
4646
|
+
}>;
|
|
3713
4647
|
flags?: number | null | undefined;
|
|
3714
4648
|
connections?: {
|
|
3715
4649
|
discord?: {
|
|
@@ -3729,6 +4663,22 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3729
4663
|
token: string;
|
|
3730
4664
|
username: string;
|
|
3731
4665
|
apiToken: string;
|
|
4666
|
+
applications: import("mongoose").Types.DocumentArray<{
|
|
4667
|
+
id: import("mongoose").Types.ObjectId;
|
|
4668
|
+
token: string;
|
|
4669
|
+
scope: number;
|
|
4670
|
+
_id?: unknown;
|
|
4671
|
+
}, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
|
|
4672
|
+
id: import("mongoose").Types.ObjectId;
|
|
4673
|
+
token: string;
|
|
4674
|
+
scope: number;
|
|
4675
|
+
_id?: unknown;
|
|
4676
|
+
}> & {
|
|
4677
|
+
id: import("mongoose").Types.ObjectId;
|
|
4678
|
+
token: string;
|
|
4679
|
+
scope: number;
|
|
4680
|
+
_id?: unknown;
|
|
4681
|
+
}>;
|
|
3732
4682
|
flags?: number | null | undefined;
|
|
3733
4683
|
connections?: {
|
|
3734
4684
|
discord?: {
|
|
@@ -3748,6 +4698,22 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3748
4698
|
token: string;
|
|
3749
4699
|
username: string;
|
|
3750
4700
|
apiToken: string;
|
|
4701
|
+
applications: import("mongoose").Types.DocumentArray<{
|
|
4702
|
+
id: import("mongoose").Types.ObjectId;
|
|
4703
|
+
token: string;
|
|
4704
|
+
scope: number;
|
|
4705
|
+
_id?: unknown;
|
|
4706
|
+
}, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
|
|
4707
|
+
id: import("mongoose").Types.ObjectId;
|
|
4708
|
+
token: string;
|
|
4709
|
+
scope: number;
|
|
4710
|
+
_id?: unknown;
|
|
4711
|
+
}> & {
|
|
4712
|
+
id: import("mongoose").Types.ObjectId;
|
|
4713
|
+
token: string;
|
|
4714
|
+
scope: number;
|
|
4715
|
+
_id?: unknown;
|
|
4716
|
+
}>;
|
|
3751
4717
|
flags?: number | null | undefined;
|
|
3752
4718
|
connections?: {
|
|
3753
4719
|
discord?: {
|
|
@@ -3771,6 +4737,22 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3771
4737
|
token: string;
|
|
3772
4738
|
username: string;
|
|
3773
4739
|
apiToken: string;
|
|
4740
|
+
applications: import("mongoose").Types.DocumentArray<{
|
|
4741
|
+
id: import("mongoose").Types.ObjectId;
|
|
4742
|
+
token: string;
|
|
4743
|
+
scope: number;
|
|
4744
|
+
_id?: unknown;
|
|
4745
|
+
}, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
|
|
4746
|
+
id: import("mongoose").Types.ObjectId;
|
|
4747
|
+
token: string;
|
|
4748
|
+
scope: number;
|
|
4749
|
+
_id?: unknown;
|
|
4750
|
+
}> & {
|
|
4751
|
+
id: import("mongoose").Types.ObjectId;
|
|
4752
|
+
token: string;
|
|
4753
|
+
scope: number;
|
|
4754
|
+
_id?: unknown;
|
|
4755
|
+
}>;
|
|
3774
4756
|
flags?: number | null | undefined;
|
|
3775
4757
|
connections?: {
|
|
3776
4758
|
discord?: {
|
|
@@ -3790,6 +4772,22 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3790
4772
|
token: string;
|
|
3791
4773
|
username: string;
|
|
3792
4774
|
apiToken: string;
|
|
4775
|
+
applications: import("mongoose").Types.DocumentArray<{
|
|
4776
|
+
id: import("mongoose").Types.ObjectId;
|
|
4777
|
+
token: string;
|
|
4778
|
+
scope: number;
|
|
4779
|
+
_id?: unknown;
|
|
4780
|
+
}, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
|
|
4781
|
+
id: import("mongoose").Types.ObjectId;
|
|
4782
|
+
token: string;
|
|
4783
|
+
scope: number;
|
|
4784
|
+
_id?: unknown;
|
|
4785
|
+
}> & {
|
|
4786
|
+
id: import("mongoose").Types.ObjectId;
|
|
4787
|
+
token: string;
|
|
4788
|
+
scope: number;
|
|
4789
|
+
_id?: unknown;
|
|
4790
|
+
}>;
|
|
3793
4791
|
flags?: number | null | undefined;
|
|
3794
4792
|
connections?: {
|
|
3795
4793
|
discord?: {
|
|
@@ -3814,6 +4812,22 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3814
4812
|
token: string;
|
|
3815
4813
|
username: string;
|
|
3816
4814
|
apiToken: string;
|
|
4815
|
+
applications: import("mongoose").Types.DocumentArray<{
|
|
4816
|
+
id: import("mongoose").Types.ObjectId;
|
|
4817
|
+
token: string;
|
|
4818
|
+
scope: number;
|
|
4819
|
+
_id?: unknown;
|
|
4820
|
+
}, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
|
|
4821
|
+
id: import("mongoose").Types.ObjectId;
|
|
4822
|
+
token: string;
|
|
4823
|
+
scope: number;
|
|
4824
|
+
_id?: unknown;
|
|
4825
|
+
}> & {
|
|
4826
|
+
id: import("mongoose").Types.ObjectId;
|
|
4827
|
+
token: string;
|
|
4828
|
+
scope: number;
|
|
4829
|
+
_id?: unknown;
|
|
4830
|
+
}>;
|
|
3817
4831
|
flags?: number | null | undefined;
|
|
3818
4832
|
connections?: {
|
|
3819
4833
|
discord?: {
|
|
@@ -3833,6 +4847,22 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3833
4847
|
token: string;
|
|
3834
4848
|
username: string;
|
|
3835
4849
|
apiToken: string;
|
|
4850
|
+
applications: import("mongoose").Types.DocumentArray<{
|
|
4851
|
+
id: import("mongoose").Types.ObjectId;
|
|
4852
|
+
token: string;
|
|
4853
|
+
scope: number;
|
|
4854
|
+
_id?: unknown;
|
|
4855
|
+
}, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
|
|
4856
|
+
id: import("mongoose").Types.ObjectId;
|
|
4857
|
+
token: string;
|
|
4858
|
+
scope: number;
|
|
4859
|
+
_id?: unknown;
|
|
4860
|
+
}> & {
|
|
4861
|
+
id: import("mongoose").Types.ObjectId;
|
|
4862
|
+
token: string;
|
|
4863
|
+
scope: number;
|
|
4864
|
+
_id?: unknown;
|
|
4865
|
+
}>;
|
|
3836
4866
|
flags?: number | null | undefined;
|
|
3837
4867
|
connections?: {
|
|
3838
4868
|
discord?: {
|
|
@@ -3852,6 +4882,22 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3852
4882
|
token: string;
|
|
3853
4883
|
username: string;
|
|
3854
4884
|
apiToken: string;
|
|
4885
|
+
applications: import("mongoose").Types.DocumentArray<{
|
|
4886
|
+
id: import("mongoose").Types.ObjectId;
|
|
4887
|
+
token: string;
|
|
4888
|
+
scope: number;
|
|
4889
|
+
_id?: unknown;
|
|
4890
|
+
}, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
|
|
4891
|
+
id: import("mongoose").Types.ObjectId;
|
|
4892
|
+
token: string;
|
|
4893
|
+
scope: number;
|
|
4894
|
+
_id?: unknown;
|
|
4895
|
+
}> & {
|
|
4896
|
+
id: import("mongoose").Types.ObjectId;
|
|
4897
|
+
token: string;
|
|
4898
|
+
scope: number;
|
|
4899
|
+
_id?: unknown;
|
|
4900
|
+
}>;
|
|
3855
4901
|
flags?: number | null | undefined;
|
|
3856
4902
|
connections?: {
|
|
3857
4903
|
discord?: {
|
|
@@ -3875,6 +4921,22 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3875
4921
|
token: string;
|
|
3876
4922
|
username: string;
|
|
3877
4923
|
apiToken: string;
|
|
4924
|
+
applications: import("mongoose").Types.DocumentArray<{
|
|
4925
|
+
id: import("mongoose").Types.ObjectId;
|
|
4926
|
+
token: string;
|
|
4927
|
+
scope: number;
|
|
4928
|
+
_id?: unknown;
|
|
4929
|
+
}, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
|
|
4930
|
+
id: import("mongoose").Types.ObjectId;
|
|
4931
|
+
token: string;
|
|
4932
|
+
scope: number;
|
|
4933
|
+
_id?: unknown;
|
|
4934
|
+
}> & {
|
|
4935
|
+
id: import("mongoose").Types.ObjectId;
|
|
4936
|
+
token: string;
|
|
4937
|
+
scope: number;
|
|
4938
|
+
_id?: unknown;
|
|
4939
|
+
}>;
|
|
3878
4940
|
flags?: number | null | undefined;
|
|
3879
4941
|
connections?: {
|
|
3880
4942
|
discord?: {
|
|
@@ -3894,6 +4956,22 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3894
4956
|
token: string;
|
|
3895
4957
|
username: string;
|
|
3896
4958
|
apiToken: string;
|
|
4959
|
+
applications: import("mongoose").Types.DocumentArray<{
|
|
4960
|
+
id: import("mongoose").Types.ObjectId;
|
|
4961
|
+
token: string;
|
|
4962
|
+
scope: number;
|
|
4963
|
+
_id?: unknown;
|
|
4964
|
+
}, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
|
|
4965
|
+
id: import("mongoose").Types.ObjectId;
|
|
4966
|
+
token: string;
|
|
4967
|
+
scope: number;
|
|
4968
|
+
_id?: unknown;
|
|
4969
|
+
}> & {
|
|
4970
|
+
id: import("mongoose").Types.ObjectId;
|
|
4971
|
+
token: string;
|
|
4972
|
+
scope: number;
|
|
4973
|
+
_id?: unknown;
|
|
4974
|
+
}>;
|
|
3897
4975
|
flags?: number | null | undefined;
|
|
3898
4976
|
connections?: {
|
|
3899
4977
|
discord?: {
|