@managesome/knotr-toolkit 0.8.13 → 0.8.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (88) hide show
  1. package/dist/constants/socket.d.ts +6 -0
  2. package/dist/constants/socket.d.ts.map +1 -1
  3. package/dist/constants/socket.js +6 -0
  4. package/dist/constants/socket.js.map +1 -1
  5. package/dist/helpers/id-generator.d.ts +3 -0
  6. package/dist/helpers/id-generator.d.ts.map +1 -1
  7. package/dist/helpers/id-generator.js +4 -0
  8. package/dist/helpers/id-generator.js.map +1 -1
  9. package/dist/schemas/account.schema.d.ts +5244 -7
  10. package/dist/schemas/account.schema.d.ts.map +1 -1
  11. package/dist/schemas/account.schema.js +4 -0
  12. package/dist/schemas/account.schema.js.map +1 -1
  13. package/dist/schemas/chat.schema.d.ts +4920 -13
  14. package/dist/schemas/chat.schema.d.ts.map +1 -1
  15. package/dist/schemas/collaboration-request.schema.d.ts +3917 -8
  16. package/dist/schemas/collaboration-request.schema.d.ts.map +1 -1
  17. package/dist/schemas/company-review.schema.d.ts +3421 -7
  18. package/dist/schemas/company-review.schema.d.ts.map +1 -1
  19. package/dist/schemas/company.schema.d.ts +6498 -8
  20. package/dist/schemas/company.schema.d.ts.map +1 -1
  21. package/dist/schemas/contract.schema.d.ts +5436 -7
  22. package/dist/schemas/contract.schema.d.ts.map +1 -1
  23. package/dist/schemas/dispute-evidence.schema.d.ts +3747 -8
  24. package/dist/schemas/dispute-evidence.schema.d.ts.map +1 -1
  25. package/dist/schemas/dispute.schema.d.ts +5600 -8
  26. package/dist/schemas/dispute.schema.d.ts.map +1 -1
  27. package/dist/schemas/donation.schema.d.ts +3552 -8
  28. package/dist/schemas/donation.schema.d.ts.map +1 -1
  29. package/dist/schemas/escrow.schema.d.ts +4279 -8
  30. package/dist/schemas/escrow.schema.d.ts.map +1 -1
  31. package/dist/schemas/flag.schema.d.ts +4722 -8
  32. package/dist/schemas/flag.schema.d.ts.map +1 -1
  33. package/dist/schemas/interest.schema.d.ts +3811 -7
  34. package/dist/schemas/interest.schema.d.ts.map +1 -1
  35. package/dist/schemas/match.schema.d.ts +4071 -7
  36. package/dist/schemas/match.schema.d.ts.map +1 -1
  37. package/dist/schemas/message.schema.d.ts +4071 -7
  38. package/dist/schemas/message.schema.d.ts.map +1 -1
  39. package/dist/schemas/milestone.schema.d.ts +4462 -8
  40. package/dist/schemas/milestone.schema.d.ts.map +1 -1
  41. package/dist/schemas/notification.schema.d.ts +4660 -8
  42. package/dist/schemas/notification.schema.d.ts.map +1 -1
  43. package/dist/schemas/profile.schema.d.ts +9501 -16
  44. package/dist/schemas/profile.schema.d.ts.map +1 -1
  45. package/dist/schemas/profit-share-agreement.schema.d.ts +3746 -7
  46. package/dist/schemas/profit-share-agreement.schema.d.ts.map +1 -1
  47. package/dist/schemas/profit-share.schema.d.ts +4136 -7
  48. package/dist/schemas/profit-share.schema.d.ts.map +1 -1
  49. package/dist/schemas/promo-code.schema.d.ts +4071 -7
  50. package/dist/schemas/promo-code.schema.d.ts.map +1 -1
  51. package/dist/schemas/promo-code.schema.js +7 -0
  52. package/dist/schemas/promo-code.schema.js.map +1 -1
  53. package/dist/schemas/proposal.schema.d.ts +5269 -8
  54. package/dist/schemas/proposal.schema.d.ts.map +1 -1
  55. package/dist/schemas/purchase.schema.d.ts +3682 -8
  56. package/dist/schemas/purchase.schema.d.ts.map +1 -1
  57. package/dist/schemas/requirement-post.schema.d.ts +6272 -8
  58. package/dist/schemas/requirement-post.schema.d.ts.map +1 -1
  59. package/dist/schemas/review.schema.d.ts +4462 -8
  60. package/dist/schemas/review.schema.d.ts.map +1 -1
  61. package/dist/schemas/service-listing.schema.d.ts +5109 -8
  62. package/dist/schemas/service-listing.schema.d.ts.map +1 -1
  63. package/dist/schemas/subscription.schema.d.ts +4007 -8
  64. package/dist/schemas/subscription.schema.d.ts.map +1 -1
  65. package/dist/schemas/tmc-application.schema.d.ts +4316 -8
  66. package/dist/schemas/tmc-application.schema.d.ts.map +1 -1
  67. package/dist/schemas/tmc-membership.schema.d.ts +4137 -8
  68. package/dist/schemas/tmc-membership.schema.d.ts.map +1 -1
  69. package/dist/schemas/trust-badge.schema.d.ts +3876 -7
  70. package/dist/schemas/trust-badge.schema.d.ts.map +1 -1
  71. package/dist/schemas/verification.schema.d.ts +4694 -8
  72. package/dist/schemas/verification.schema.d.ts.map +1 -1
  73. package/dist/schemas/verification.schema.js +3 -0
  74. package/dist/schemas/verification.schema.js.map +1 -1
  75. package/dist/schemas/webhook-event.schema.d.ts +3489 -7
  76. package/dist/schemas/webhook-event.schema.d.ts.map +1 -1
  77. package/dist/types/account.d.ts +27 -0
  78. package/dist/types/account.d.ts.map +1 -1
  79. package/dist/types/common.d.ts +7 -1
  80. package/dist/types/common.d.ts.map +1 -1
  81. package/dist/types/marketplace.d.ts +6 -4
  82. package/dist/types/marketplace.d.ts.map +1 -1
  83. package/dist/types/payment.d.ts +3 -0
  84. package/dist/types/payment.d.ts.map +1 -1
  85. package/dist/types/payment.js.map +1 -1
  86. package/dist/types/verification.d.ts +2 -0
  87. package/dist/types/verification.d.ts.map +1 -1
  88. package/package.json +1 -1
@@ -1,5 +1,5 @@
1
1
  import { HydratedDocument, Model, Schema } from 'mongoose';
2
- import { FlagTargetType, IFlag } from '../types/flag.js';
2
+ import { FlagActionTaken, FlagReason, FlagStatus, FlagTargetType, IFlag } from '../types/flag.js';
3
3
  export type FlagDocument = HydratedDocument<Omit<IFlag, 'id'> & {
4
4
  _id: string;
5
5
  }>;
@@ -13,39 +13,4753 @@ export interface FlagModel extends Model<FlagDocument> {
13
13
  export declare function createFlagSchema(): Schema<FlagDocument, FlagModel>;
14
14
  export declare const FlagSchema: Schema<import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
15
15
  _id: string;
16
- }, {}, {}> & Omit<IFlag, "id"> & {
16
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
17
17
  _id: string;
18
18
  } & Required<{
19
19
  _id: string;
20
20
  }> & {
21
21
  __v: number;
22
+ } & {
23
+ id: string;
22
24
  }, FlagModel, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
23
25
  _id: string;
24
- }, {}, {}> & Omit<IFlag, "id"> & {
26
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
25
27
  _id: string;
26
28
  } & Required<{
27
29
  _id: string;
28
30
  }> & {
29
31
  __v: number;
30
- }, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
32
+ } & {
33
+ id: string;
34
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
31
35
  _id: string;
32
- }, {}, {}> & Omit<IFlag, "id"> & {
36
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
33
37
  _id: string;
34
38
  } & Required<{
35
39
  _id: string;
36
40
  }> & {
37
41
  __v: number;
38
- }>, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").FlatRecord<import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
42
+ } & {
43
+ id: string;
44
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
39
45
  _id: string;
40
- }, {}, {}> & Omit<IFlag, "id"> & {
46
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
41
47
  _id: string;
42
48
  } & Required<{
43
49
  _id: string;
44
50
  }> & {
45
51
  __v: number;
46
- }> & Required<{
52
+ } & {
53
+ id: string;
54
+ }, {
55
+ _id?: import("mongoose").SchemaDefinitionProperty<string, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
56
+ _id: string;
57
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
58
+ _id: string;
59
+ } & Required<{
60
+ _id: string;
61
+ }> & {
62
+ __v: number;
63
+ } & {
64
+ id: string;
65
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
66
+ _id: string;
67
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
68
+ _id: string;
69
+ } & Required<{
70
+ _id: string;
71
+ }> & {
72
+ __v: number;
73
+ } & {
74
+ id: string;
75
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
76
+ _id: string;
77
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
78
+ _id: string;
79
+ } & Required<{
80
+ _id: string;
81
+ }> & {
82
+ __v: number;
83
+ } & {
84
+ id: string;
85
+ }> | undefined;
86
+ $assertPopulated?: import("mongoose").SchemaDefinitionProperty<(<Paths = {}>(path: string | string[], values?: Partial<Paths> | undefined) => Omit<import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
87
+ _id: string;
88
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
89
+ _id: string;
90
+ } & Required<{
91
+ _id: string;
92
+ }> & {
93
+ __v: number;
94
+ } & {
95
+ id: string;
96
+ }, keyof Paths> & Paths), import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
97
+ _id: string;
98
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
99
+ _id: string;
100
+ } & Required<{
101
+ _id: string;
102
+ }> & {
103
+ __v: number;
104
+ } & {
105
+ id: string;
106
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
107
+ _id: string;
108
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
109
+ _id: string;
110
+ } & Required<{
111
+ _id: string;
112
+ }> & {
113
+ __v: number;
114
+ } & {
115
+ id: string;
116
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
117
+ _id: string;
118
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
119
+ _id: string;
120
+ } & Required<{
121
+ _id: string;
122
+ }> & {
123
+ __v: number;
124
+ } & {
125
+ id: string;
126
+ }> | undefined;
127
+ $clearModifiedPaths?: import("mongoose").SchemaDefinitionProperty<() => import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
128
+ _id: string;
129
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
130
+ _id: string;
131
+ } & Required<{
132
+ _id: string;
133
+ }> & {
134
+ __v: number;
135
+ } & {
136
+ id: string;
137
+ }, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
138
+ _id: string;
139
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
140
+ _id: string;
141
+ } & Required<{
142
+ _id: string;
143
+ }> & {
144
+ __v: number;
145
+ } & {
146
+ id: string;
147
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
148
+ _id: string;
149
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
150
+ _id: string;
151
+ } & Required<{
152
+ _id: string;
153
+ }> & {
154
+ __v: number;
155
+ } & {
156
+ id: string;
157
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
158
+ _id: string;
159
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
160
+ _id: string;
161
+ } & Required<{
162
+ _id: string;
163
+ }> & {
164
+ __v: number;
165
+ } & {
166
+ id: string;
167
+ }> | undefined;
168
+ $clone?: import("mongoose").SchemaDefinitionProperty<() => import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
169
+ _id: string;
170
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
171
+ _id: string;
172
+ } & Required<{
173
+ _id: string;
174
+ }> & {
175
+ __v: number;
176
+ } & {
177
+ id: string;
178
+ }, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
179
+ _id: string;
180
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
181
+ _id: string;
182
+ } & Required<{
183
+ _id: string;
184
+ }> & {
185
+ __v: number;
186
+ } & {
187
+ id: string;
188
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
189
+ _id: string;
190
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
191
+ _id: string;
192
+ } & Required<{
193
+ _id: string;
194
+ }> & {
195
+ __v: number;
196
+ } & {
197
+ id: string;
198
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
199
+ _id: string;
200
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
201
+ _id: string;
202
+ } & Required<{
203
+ _id: string;
204
+ }> & {
205
+ __v: number;
206
+ } & {
207
+ id: string;
208
+ }> | undefined;
209
+ $createModifiedPathsSnapshot?: import("mongoose").SchemaDefinitionProperty<() => import("mongoose").ModifiedPathsSnapshot, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
210
+ _id: string;
211
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
212
+ _id: string;
213
+ } & Required<{
214
+ _id: string;
215
+ }> & {
216
+ __v: number;
217
+ } & {
218
+ id: string;
219
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
220
+ _id: string;
221
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
222
+ _id: string;
223
+ } & Required<{
224
+ _id: string;
225
+ }> & {
226
+ __v: number;
227
+ } & {
228
+ id: string;
229
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
230
+ _id: string;
231
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
232
+ _id: string;
233
+ } & Required<{
234
+ _id: string;
235
+ }> & {
236
+ __v: number;
237
+ } & {
238
+ id: string;
239
+ }> | undefined;
240
+ $getAllSubdocs?: import("mongoose").SchemaDefinitionProperty<() => import("mongoose").Document[], import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
241
+ _id: string;
242
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
243
+ _id: string;
244
+ } & Required<{
245
+ _id: string;
246
+ }> & {
247
+ __v: number;
248
+ } & {
249
+ id: string;
250
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
251
+ _id: string;
252
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
253
+ _id: string;
254
+ } & Required<{
255
+ _id: string;
256
+ }> & {
257
+ __v: number;
258
+ } & {
259
+ id: string;
260
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
261
+ _id: string;
262
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
263
+ _id: string;
264
+ } & Required<{
265
+ _id: string;
266
+ }> & {
267
+ __v: number;
268
+ } & {
269
+ id: string;
270
+ }> | undefined;
271
+ $ignore?: import("mongoose").SchemaDefinitionProperty<(path: string) => void, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
272
+ _id: string;
273
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
274
+ _id: string;
275
+ } & Required<{
276
+ _id: string;
277
+ }> & {
278
+ __v: number;
279
+ } & {
280
+ id: string;
281
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
282
+ _id: string;
283
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
284
+ _id: string;
285
+ } & Required<{
286
+ _id: string;
287
+ }> & {
288
+ __v: number;
289
+ } & {
290
+ id: string;
291
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
292
+ _id: string;
293
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
294
+ _id: string;
295
+ } & Required<{
296
+ _id: string;
297
+ }> & {
298
+ __v: number;
299
+ } & {
300
+ id: string;
301
+ }> | undefined;
302
+ $isDefault?: import("mongoose").SchemaDefinitionProperty<(path?: string) => boolean, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
303
+ _id: string;
304
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
305
+ _id: string;
306
+ } & Required<{
307
+ _id: string;
308
+ }> & {
309
+ __v: number;
310
+ } & {
311
+ id: string;
312
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
313
+ _id: string;
314
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
315
+ _id: string;
316
+ } & Required<{
317
+ _id: string;
318
+ }> & {
319
+ __v: number;
320
+ } & {
321
+ id: string;
322
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
323
+ _id: string;
324
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
325
+ _id: string;
326
+ } & Required<{
327
+ _id: string;
328
+ }> & {
329
+ __v: number;
330
+ } & {
331
+ id: string;
332
+ }> | undefined;
333
+ $isDeleted?: import("mongoose").SchemaDefinitionProperty<(val?: boolean) => boolean, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
334
+ _id: string;
335
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
336
+ _id: string;
337
+ } & Required<{
338
+ _id: string;
339
+ }> & {
340
+ __v: number;
341
+ } & {
342
+ id: string;
343
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
344
+ _id: string;
345
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
346
+ _id: string;
347
+ } & Required<{
348
+ _id: string;
349
+ }> & {
350
+ __v: number;
351
+ } & {
352
+ id: string;
353
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
354
+ _id: string;
355
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
356
+ _id: string;
357
+ } & Required<{
358
+ _id: string;
359
+ }> & {
360
+ __v: number;
361
+ } & {
362
+ id: string;
363
+ }> | undefined;
364
+ $getPopulatedDocs?: import("mongoose").SchemaDefinitionProperty<() => import("mongoose").Document[], import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
365
+ _id: string;
366
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
367
+ _id: string;
368
+ } & Required<{
369
+ _id: string;
370
+ }> & {
371
+ __v: number;
372
+ } & {
373
+ id: string;
374
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
375
+ _id: string;
376
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
377
+ _id: string;
378
+ } & Required<{
379
+ _id: string;
380
+ }> & {
381
+ __v: number;
382
+ } & {
383
+ id: string;
384
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
385
+ _id: string;
386
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
387
+ _id: string;
388
+ } & Required<{
389
+ _id: string;
390
+ }> & {
391
+ __v: number;
392
+ } & {
393
+ id: string;
394
+ }> | undefined;
395
+ $inc?: import("mongoose").SchemaDefinitionProperty<(path: string | string[], val?: number) => import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
396
+ _id: string;
397
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
398
+ _id: string;
399
+ } & Required<{
400
+ _id: string;
401
+ }> & {
402
+ __v: number;
403
+ } & {
404
+ id: string;
405
+ }, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
406
+ _id: string;
407
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
408
+ _id: string;
409
+ } & Required<{
410
+ _id: string;
411
+ }> & {
412
+ __v: number;
413
+ } & {
414
+ id: string;
415
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
416
+ _id: string;
417
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
418
+ _id: string;
419
+ } & Required<{
420
+ _id: string;
421
+ }> & {
422
+ __v: number;
423
+ } & {
424
+ id: string;
425
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
426
+ _id: string;
427
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
428
+ _id: string;
429
+ } & Required<{
430
+ _id: string;
431
+ }> & {
432
+ __v: number;
433
+ } & {
434
+ id: string;
435
+ }> | undefined;
436
+ $isEmpty?: import("mongoose").SchemaDefinitionProperty<(path: string) => boolean, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
437
+ _id: string;
438
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
439
+ _id: string;
440
+ } & Required<{
441
+ _id: string;
442
+ }> & {
443
+ __v: number;
444
+ } & {
445
+ id: string;
446
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
447
+ _id: string;
448
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
449
+ _id: string;
450
+ } & Required<{
451
+ _id: string;
452
+ }> & {
453
+ __v: number;
454
+ } & {
455
+ id: string;
456
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
457
+ _id: string;
458
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
459
+ _id: string;
460
+ } & Required<{
461
+ _id: string;
462
+ }> & {
463
+ __v: number;
464
+ } & {
465
+ id: string;
466
+ }> | undefined;
467
+ $isValid?: import("mongoose").SchemaDefinitionProperty<(path: string) => boolean, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
468
+ _id: string;
469
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
470
+ _id: string;
471
+ } & Required<{
472
+ _id: string;
473
+ }> & {
474
+ __v: number;
475
+ } & {
476
+ id: string;
477
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
478
+ _id: string;
479
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
480
+ _id: string;
481
+ } & Required<{
482
+ _id: string;
483
+ }> & {
484
+ __v: number;
485
+ } & {
486
+ id: string;
487
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
488
+ _id: string;
489
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
490
+ _id: string;
491
+ } & Required<{
492
+ _id: string;
493
+ }> & {
494
+ __v: number;
495
+ } & {
496
+ id: string;
497
+ }> | undefined;
498
+ $locals?: import("mongoose").SchemaDefinitionProperty<Record<string, unknown>, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
499
+ _id: string;
500
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
501
+ _id: string;
502
+ } & Required<{
503
+ _id: string;
504
+ }> & {
505
+ __v: number;
506
+ } & {
507
+ id: string;
508
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
509
+ _id: string;
510
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
511
+ _id: string;
512
+ } & Required<{
513
+ _id: string;
514
+ }> & {
515
+ __v: number;
516
+ } & {
517
+ id: string;
518
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
519
+ _id: string;
520
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
521
+ _id: string;
522
+ } & Required<{
523
+ _id: string;
524
+ }> & {
525
+ __v: number;
526
+ } & {
527
+ id: string;
528
+ }> | undefined;
529
+ $markValid?: import("mongoose").SchemaDefinitionProperty<(path: string) => void, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
530
+ _id: string;
531
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
532
+ _id: string;
533
+ } & Required<{
534
+ _id: string;
535
+ }> & {
536
+ __v: number;
537
+ } & {
538
+ id: string;
539
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
540
+ _id: string;
541
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
542
+ _id: string;
543
+ } & Required<{
544
+ _id: string;
545
+ }> & {
546
+ __v: number;
547
+ } & {
548
+ id: string;
549
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
550
+ _id: string;
551
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
552
+ _id: string;
553
+ } & Required<{
554
+ _id: string;
555
+ }> & {
556
+ __v: number;
557
+ } & {
558
+ id: string;
559
+ }> | undefined;
560
+ $model?: import("mongoose").SchemaDefinitionProperty<{
561
+ <ModelType = Model<unknown, {}, {}, {}, import("mongoose").Document<unknown, {}, unknown, {}, import("mongoose").DefaultSchemaOptions> & {
562
+ _id: import("mongoose").Types.ObjectId;
563
+ } & {
564
+ __v: number;
565
+ } & {
566
+ id: string;
567
+ }, any, unknown>>(name: string): ModelType;
568
+ <ModelType = Model<Omit<IFlag, "id"> & {
569
+ _id: string;
570
+ }, {}, {}, {}, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
571
+ _id: string;
572
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
573
+ _id: string;
574
+ } & Required<{
575
+ _id: string;
576
+ }> & {
577
+ __v: number;
578
+ } & {
579
+ id: string;
580
+ }, any, Omit<IFlag, "id"> & {
581
+ _id: string;
582
+ }>>(): ModelType;
583
+ }, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
584
+ _id: string;
585
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
586
+ _id: string;
587
+ } & Required<{
588
+ _id: string;
589
+ }> & {
590
+ __v: number;
591
+ } & {
592
+ id: string;
593
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
594
+ _id: string;
595
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
596
+ _id: string;
597
+ } & Required<{
598
+ _id: string;
599
+ }> & {
600
+ __v: number;
601
+ } & {
602
+ id: string;
603
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
604
+ _id: string;
605
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
606
+ _id: string;
607
+ } & Required<{
608
+ _id: string;
609
+ }> & {
610
+ __v: number;
611
+ } & {
612
+ id: string;
613
+ }> | undefined;
614
+ $op?: import("mongoose").SchemaDefinitionProperty<"save" | "validate" | "remove" | null, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
615
+ _id: string;
616
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
617
+ _id: string;
618
+ } & Required<{
619
+ _id: string;
620
+ }> & {
621
+ __v: number;
622
+ } & {
623
+ id: string;
624
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
625
+ _id: string;
626
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
627
+ _id: string;
628
+ } & Required<{
629
+ _id: string;
630
+ }> & {
631
+ __v: number;
632
+ } & {
633
+ id: string;
634
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
635
+ _id: string;
636
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
637
+ _id: string;
638
+ } & Required<{
639
+ _id: string;
640
+ }> & {
641
+ __v: number;
642
+ } & {
643
+ id: string;
644
+ }> | undefined;
645
+ $restoreModifiedPathsSnapshot?: import("mongoose").SchemaDefinitionProperty<(snapshot: import("mongoose").ModifiedPathsSnapshot) => import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
646
+ _id: string;
647
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
648
+ _id: string;
649
+ } & Required<{
650
+ _id: string;
651
+ }> & {
652
+ __v: number;
653
+ } & {
654
+ id: string;
655
+ }, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
656
+ _id: string;
657
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
658
+ _id: string;
659
+ } & Required<{
660
+ _id: string;
661
+ }> & {
662
+ __v: number;
663
+ } & {
664
+ id: string;
665
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
666
+ _id: string;
667
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
668
+ _id: string;
669
+ } & Required<{
670
+ _id: string;
671
+ }> & {
672
+ __v: number;
673
+ } & {
674
+ id: string;
675
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
676
+ _id: string;
677
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
678
+ _id: string;
679
+ } & Required<{
680
+ _id: string;
681
+ }> & {
682
+ __v: number;
683
+ } & {
684
+ id: string;
685
+ }> | undefined;
686
+ $session?: import("mongoose").SchemaDefinitionProperty<(session?: import("mongoose").ClientSession | null) => import("mongoose").ClientSession | null, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
687
+ _id: string;
688
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
689
+ _id: string;
690
+ } & Required<{
691
+ _id: string;
692
+ }> & {
693
+ __v: number;
694
+ } & {
695
+ id: string;
696
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
697
+ _id: string;
698
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
699
+ _id: string;
700
+ } & Required<{
701
+ _id: string;
702
+ }> & {
703
+ __v: number;
704
+ } & {
705
+ id: string;
706
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
707
+ _id: string;
708
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
709
+ _id: string;
710
+ } & Required<{
711
+ _id: string;
712
+ }> & {
713
+ __v: number;
714
+ } & {
715
+ id: string;
716
+ }> | undefined;
717
+ $set?: import("mongoose").SchemaDefinitionProperty<{
718
+ (path: string | Record<string, any>, val: any, type: any, options?: import("mongoose").DocumentSetOptions): import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
719
+ _id: string;
720
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
721
+ _id: string;
722
+ } & Required<{
723
+ _id: string;
724
+ }> & {
725
+ __v: number;
726
+ } & {
727
+ id: string;
728
+ };
729
+ (path: string | Record<string, any>, val: any, options?: import("mongoose").DocumentSetOptions): import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
730
+ _id: string;
731
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
732
+ _id: string;
733
+ } & Required<{
734
+ _id: string;
735
+ }> & {
736
+ __v: number;
737
+ } & {
738
+ id: string;
739
+ };
740
+ (value: string | Record<string, any>): import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
741
+ _id: string;
742
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
743
+ _id: string;
744
+ } & Required<{
745
+ _id: string;
746
+ }> & {
747
+ __v: number;
748
+ } & {
749
+ id: string;
750
+ };
751
+ }, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
752
+ _id: string;
753
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
754
+ _id: string;
755
+ } & Required<{
756
+ _id: string;
757
+ }> & {
758
+ __v: number;
759
+ } & {
760
+ id: string;
761
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
762
+ _id: string;
763
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
764
+ _id: string;
765
+ } & Required<{
766
+ _id: string;
767
+ }> & {
768
+ __v: number;
769
+ } & {
770
+ id: string;
771
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
772
+ _id: string;
773
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
774
+ _id: string;
775
+ } & Required<{
776
+ _id: string;
777
+ }> & {
778
+ __v: number;
779
+ } & {
780
+ id: string;
781
+ }> | undefined;
782
+ $where?: import("mongoose").SchemaDefinitionProperty<Record<string, unknown>, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
783
+ _id: string;
784
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
785
+ _id: string;
786
+ } & Required<{
787
+ _id: string;
788
+ }> & {
789
+ __v: number;
790
+ } & {
791
+ id: string;
792
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
793
+ _id: string;
794
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
795
+ _id: string;
796
+ } & Required<{
797
+ _id: string;
798
+ }> & {
799
+ __v: number;
800
+ } & {
801
+ id: string;
802
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
803
+ _id: string;
804
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
805
+ _id: string;
806
+ } & Required<{
807
+ _id: string;
808
+ }> & {
809
+ __v: number;
810
+ } & {
811
+ id: string;
812
+ }> | undefined;
813
+ baseModelName?: import("mongoose").SchemaDefinitionProperty<string | undefined, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
814
+ _id: string;
815
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
816
+ _id: string;
817
+ } & Required<{
818
+ _id: string;
819
+ }> & {
820
+ __v: number;
821
+ } & {
822
+ id: string;
823
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
824
+ _id: string;
825
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
826
+ _id: string;
827
+ } & Required<{
828
+ _id: string;
829
+ }> & {
830
+ __v: number;
831
+ } & {
832
+ id: string;
833
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
834
+ _id: string;
835
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
836
+ _id: string;
837
+ } & Required<{
838
+ _id: string;
839
+ }> & {
840
+ __v: number;
841
+ } & {
842
+ id: string;
843
+ }> | undefined;
844
+ collection?: import("mongoose").SchemaDefinitionProperty<import("mongoose").Collection<import("bson").Document>, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
845
+ _id: string;
846
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
847
+ _id: string;
848
+ } & Required<{
849
+ _id: string;
850
+ }> & {
851
+ __v: number;
852
+ } & {
853
+ id: string;
854
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
855
+ _id: string;
856
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
857
+ _id: string;
858
+ } & Required<{
859
+ _id: string;
860
+ }> & {
861
+ __v: number;
862
+ } & {
863
+ id: string;
864
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
865
+ _id: string;
866
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
867
+ _id: string;
868
+ } & Required<{
869
+ _id: string;
870
+ }> & {
871
+ __v: number;
872
+ } & {
873
+ id: string;
874
+ }> | undefined;
875
+ db?: import("mongoose").SchemaDefinitionProperty<import("mongoose").Connection, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
876
+ _id: string;
877
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
878
+ _id: string;
879
+ } & Required<{
880
+ _id: string;
881
+ }> & {
882
+ __v: number;
883
+ } & {
884
+ id: string;
885
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
886
+ _id: string;
887
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
888
+ _id: string;
889
+ } & Required<{
890
+ _id: string;
891
+ }> & {
892
+ __v: number;
893
+ } & {
894
+ id: string;
895
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
896
+ _id: string;
897
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
898
+ _id: string;
899
+ } & Required<{
900
+ _id: string;
901
+ }> & {
902
+ __v: number;
903
+ } & {
904
+ id: string;
905
+ }> | undefined;
906
+ deleteOne?: import("mongoose").SchemaDefinitionProperty<(options?: import("mongoose").QueryOptions) => import("mongoose").Query<import("mongodb").DeleteResult, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
907
+ _id: string;
908
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
909
+ _id: string;
910
+ } & Required<{
911
+ _id: string;
912
+ }> & {
913
+ __v: number;
914
+ } & {
915
+ id: string;
916
+ }, {}, Omit<IFlag, "id"> & {
917
+ _id: string;
918
+ }, "deleteOne", Record<string, never>>, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
919
+ _id: string;
920
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
921
+ _id: string;
922
+ } & Required<{
923
+ _id: string;
924
+ }> & {
925
+ __v: number;
926
+ } & {
927
+ id: string;
928
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
929
+ _id: string;
930
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
931
+ _id: string;
932
+ } & Required<{
933
+ _id: string;
934
+ }> & {
935
+ __v: number;
936
+ } & {
937
+ id: string;
938
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
939
+ _id: string;
940
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
941
+ _id: string;
942
+ } & Required<{
943
+ _id: string;
944
+ }> & {
945
+ __v: number;
946
+ } & {
947
+ id: string;
948
+ }> | undefined;
949
+ depopulate?: import("mongoose").SchemaDefinitionProperty<(<Paths = {}>(path?: string | string[]) => import("mongoose").MergeType<import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
950
+ _id: string;
951
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
952
+ _id: string;
953
+ } & Required<{
954
+ _id: string;
955
+ }> & {
956
+ __v: number;
957
+ } & {
958
+ id: string;
959
+ }, Paths>), import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
960
+ _id: string;
961
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
962
+ _id: string;
963
+ } & Required<{
964
+ _id: string;
965
+ }> & {
966
+ __v: number;
967
+ } & {
968
+ id: string;
969
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
970
+ _id: string;
971
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
972
+ _id: string;
973
+ } & Required<{
974
+ _id: string;
975
+ }> & {
976
+ __v: number;
977
+ } & {
978
+ id: string;
979
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
980
+ _id: string;
981
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
982
+ _id: string;
983
+ } & Required<{
984
+ _id: string;
985
+ }> & {
986
+ __v: number;
987
+ } & {
988
+ id: string;
989
+ }> | undefined;
990
+ directModifiedPaths?: import("mongoose").SchemaDefinitionProperty<() => Array<string>, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
991
+ _id: string;
992
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
993
+ _id: string;
994
+ } & Required<{
995
+ _id: string;
996
+ }> & {
997
+ __v: number;
998
+ } & {
999
+ id: string;
1000
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
1001
+ _id: string;
1002
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
1003
+ _id: string;
1004
+ } & Required<{
1005
+ _id: string;
1006
+ }> & {
1007
+ __v: number;
1008
+ } & {
1009
+ id: string;
1010
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
1011
+ _id: string;
1012
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
1013
+ _id: string;
1014
+ } & Required<{
1015
+ _id: string;
1016
+ }> & {
1017
+ __v: number;
1018
+ } & {
1019
+ id: string;
1020
+ }> | undefined;
1021
+ equals?: import("mongoose").SchemaDefinitionProperty<(doc: import("mongoose").Document<unknown, any, any, Record<string, any>, {}>) => boolean, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
1022
+ _id: string;
1023
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
1024
+ _id: string;
1025
+ } & Required<{
1026
+ _id: string;
1027
+ }> & {
1028
+ __v: number;
1029
+ } & {
1030
+ id: string;
1031
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
1032
+ _id: string;
1033
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
1034
+ _id: string;
1035
+ } & Required<{
1036
+ _id: string;
1037
+ }> & {
1038
+ __v: number;
1039
+ } & {
1040
+ id: string;
1041
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
1042
+ _id: string;
1043
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
1044
+ _id: string;
1045
+ } & Required<{
1046
+ _id: string;
1047
+ }> & {
1048
+ __v: number;
1049
+ } & {
1050
+ id: string;
1051
+ }> | undefined;
1052
+ errors?: import("mongoose").SchemaDefinitionProperty<import("mongoose").Error.ValidationError | undefined, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
1053
+ _id: string;
1054
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
1055
+ _id: string;
1056
+ } & Required<{
1057
+ _id: string;
1058
+ }> & {
1059
+ __v: number;
1060
+ } & {
1061
+ id: string;
1062
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
1063
+ _id: string;
1064
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
1065
+ _id: string;
1066
+ } & Required<{
1067
+ _id: string;
1068
+ }> & {
1069
+ __v: number;
1070
+ } & {
1071
+ id: string;
1072
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
1073
+ _id: string;
1074
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
1075
+ _id: string;
1076
+ } & Required<{
1077
+ _id: string;
1078
+ }> & {
1079
+ __v: number;
1080
+ } & {
1081
+ id: string;
1082
+ }> | undefined;
1083
+ get?: import("mongoose").SchemaDefinitionProperty<{
1084
+ <T extends "description" | "status" | "reason" | "priority" | "targetProfileId" | "messageIds" | "createdAt" | "updatedAt" | "_id" | "reviewedAt" | "reviewedBy" | "reviewNotes" | "resolution" | "resolvedAt" | "resolutionNotes" | "assignedAt" | "reporterAccountId" | "reporterProfileId" | "targetType" | "targetId" | "targetAccountId" | "evidenceUrls" | "chatId" | "actionTaken" | "assignedTo" | "warningIssuedAt" | "suspensionEndsAt" | "appealedAt" | "appealNotes" | "appealReviewedAt" | "appealOutcome">(path: T, type?: any, options?: any): (Omit<IFlag, "id"> & {
1085
+ _id: string;
1086
+ })[T];
1087
+ (path: string, type?: any, options?: any): any;
1088
+ }, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
1089
+ _id: string;
1090
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
1091
+ _id: string;
1092
+ } & Required<{
1093
+ _id: string;
1094
+ }> & {
1095
+ __v: number;
1096
+ } & {
1097
+ id: string;
1098
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
1099
+ _id: string;
1100
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
1101
+ _id: string;
1102
+ } & Required<{
1103
+ _id: string;
1104
+ }> & {
1105
+ __v: number;
1106
+ } & {
1107
+ id: string;
1108
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
1109
+ _id: string;
1110
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
1111
+ _id: string;
1112
+ } & Required<{
1113
+ _id: string;
1114
+ }> & {
1115
+ __v: number;
1116
+ } & {
1117
+ id: string;
1118
+ }> | undefined;
1119
+ getChanges?: import("mongoose").SchemaDefinitionProperty<() => import("mongoose").UpdateQuery<import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
1120
+ _id: string;
1121
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
1122
+ _id: string;
1123
+ } & Required<{
1124
+ _id: string;
1125
+ }> & {
1126
+ __v: number;
1127
+ } & {
1128
+ id: string;
1129
+ }>, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
1130
+ _id: string;
1131
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
1132
+ _id: string;
1133
+ } & Required<{
1134
+ _id: string;
1135
+ }> & {
1136
+ __v: number;
1137
+ } & {
1138
+ id: string;
1139
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
1140
+ _id: string;
1141
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
1142
+ _id: string;
1143
+ } & Required<{
1144
+ _id: string;
1145
+ }> & {
1146
+ __v: number;
1147
+ } & {
1148
+ id: string;
1149
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
1150
+ _id: string;
1151
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
1152
+ _id: string;
1153
+ } & Required<{
1154
+ _id: string;
1155
+ }> & {
1156
+ __v: number;
1157
+ } & {
1158
+ id: string;
1159
+ }> | undefined;
1160
+ increment?: import("mongoose").SchemaDefinitionProperty<() => import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
1161
+ _id: string;
1162
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
1163
+ _id: string;
1164
+ } & Required<{
1165
+ _id: string;
1166
+ }> & {
1167
+ __v: number;
1168
+ } & {
1169
+ id: string;
1170
+ }, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
1171
+ _id: string;
1172
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
1173
+ _id: string;
1174
+ } & Required<{
1175
+ _id: string;
1176
+ }> & {
1177
+ __v: number;
1178
+ } & {
1179
+ id: string;
1180
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
1181
+ _id: string;
1182
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
1183
+ _id: string;
1184
+ } & Required<{
1185
+ _id: string;
1186
+ }> & {
1187
+ __v: number;
1188
+ } & {
1189
+ id: string;
1190
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
1191
+ _id: string;
1192
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
1193
+ _id: string;
1194
+ } & Required<{
1195
+ _id: string;
1196
+ }> & {
1197
+ __v: number;
1198
+ } & {
1199
+ id: string;
1200
+ }> | undefined;
1201
+ init?: import("mongoose").SchemaDefinitionProperty<(obj: import("mongoose").AnyObject, opts?: import("mongoose").AnyObject) => import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
1202
+ _id: string;
1203
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
1204
+ _id: string;
1205
+ } & Required<{
1206
+ _id: string;
1207
+ }> & {
1208
+ __v: number;
1209
+ } & {
1210
+ id: string;
1211
+ }, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
1212
+ _id: string;
1213
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
1214
+ _id: string;
1215
+ } & Required<{
1216
+ _id: string;
1217
+ }> & {
1218
+ __v: number;
1219
+ } & {
1220
+ id: string;
1221
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
1222
+ _id: string;
1223
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
1224
+ _id: string;
1225
+ } & Required<{
1226
+ _id: string;
1227
+ }> & {
1228
+ __v: number;
1229
+ } & {
1230
+ id: string;
1231
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
1232
+ _id: string;
1233
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
1234
+ _id: string;
1235
+ } & Required<{
1236
+ _id: string;
1237
+ }> & {
1238
+ __v: number;
1239
+ } & {
1240
+ id: string;
1241
+ }> | undefined;
1242
+ invalidate?: import("mongoose").SchemaDefinitionProperty<{
1243
+ <T extends "description" | "status" | "reason" | "priority" | "targetProfileId" | "messageIds" | "createdAt" | "updatedAt" | "_id" | "reviewedAt" | "reviewedBy" | "reviewNotes" | "resolution" | "resolvedAt" | "resolutionNotes" | "assignedAt" | "reporterAccountId" | "reporterProfileId" | "targetType" | "targetId" | "targetAccountId" | "evidenceUrls" | "chatId" | "actionTaken" | "assignedTo" | "warningIssuedAt" | "suspensionEndsAt" | "appealedAt" | "appealNotes" | "appealReviewedAt" | "appealOutcome">(path: T, errorMsg: string | NativeError, value?: any, kind?: string): NativeError | null;
1244
+ (path: string, errorMsg: string | NativeError, value?: any, kind?: string): NativeError | null;
1245
+ }, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
1246
+ _id: string;
1247
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
1248
+ _id: string;
1249
+ } & Required<{
1250
+ _id: string;
1251
+ }> & {
1252
+ __v: number;
1253
+ } & {
1254
+ id: string;
1255
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
1256
+ _id: string;
1257
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
1258
+ _id: string;
1259
+ } & Required<{
1260
+ _id: string;
1261
+ }> & {
1262
+ __v: number;
1263
+ } & {
1264
+ id: string;
1265
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
1266
+ _id: string;
1267
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
1268
+ _id: string;
1269
+ } & Required<{
1270
+ _id: string;
1271
+ }> & {
1272
+ __v: number;
1273
+ } & {
1274
+ id: string;
1275
+ }> | undefined;
1276
+ isDirectModified?: import("mongoose").SchemaDefinitionProperty<{
1277
+ <T extends "description" | "status" | "reason" | "priority" | "targetProfileId" | "messageIds" | "createdAt" | "updatedAt" | "_id" | "reviewedAt" | "reviewedBy" | "reviewNotes" | "resolution" | "resolvedAt" | "resolutionNotes" | "assignedAt" | "reporterAccountId" | "reporterProfileId" | "targetType" | "targetId" | "targetAccountId" | "evidenceUrls" | "chatId" | "actionTaken" | "assignedTo" | "warningIssuedAt" | "suspensionEndsAt" | "appealedAt" | "appealNotes" | "appealReviewedAt" | "appealOutcome">(path: T | T[]): boolean;
1278
+ (path: string | Array<string>): boolean;
1279
+ }, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
1280
+ _id: string;
1281
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
1282
+ _id: string;
1283
+ } & Required<{
1284
+ _id: string;
1285
+ }> & {
1286
+ __v: number;
1287
+ } & {
1288
+ id: string;
1289
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
1290
+ _id: string;
1291
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
1292
+ _id: string;
1293
+ } & Required<{
1294
+ _id: string;
1295
+ }> & {
1296
+ __v: number;
1297
+ } & {
1298
+ id: string;
1299
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
1300
+ _id: string;
1301
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
1302
+ _id: string;
1303
+ } & Required<{
1304
+ _id: string;
1305
+ }> & {
1306
+ __v: number;
1307
+ } & {
1308
+ id: string;
1309
+ }> | undefined;
1310
+ isDirectSelected?: import("mongoose").SchemaDefinitionProperty<{
1311
+ <T extends "description" | "status" | "reason" | "priority" | "targetProfileId" | "messageIds" | "createdAt" | "updatedAt" | "_id" | "reviewedAt" | "reviewedBy" | "reviewNotes" | "resolution" | "resolvedAt" | "resolutionNotes" | "assignedAt" | "reporterAccountId" | "reporterProfileId" | "targetType" | "targetId" | "targetAccountId" | "evidenceUrls" | "chatId" | "actionTaken" | "assignedTo" | "warningIssuedAt" | "suspensionEndsAt" | "appealedAt" | "appealNotes" | "appealReviewedAt" | "appealOutcome">(path: T): boolean;
1312
+ (path: string): boolean;
1313
+ }, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
1314
+ _id: string;
1315
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
1316
+ _id: string;
1317
+ } & Required<{
1318
+ _id: string;
1319
+ }> & {
1320
+ __v: number;
1321
+ } & {
1322
+ id: string;
1323
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
1324
+ _id: string;
1325
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
1326
+ _id: string;
1327
+ } & Required<{
1328
+ _id: string;
1329
+ }> & {
1330
+ __v: number;
1331
+ } & {
1332
+ id: string;
1333
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
1334
+ _id: string;
1335
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
1336
+ _id: string;
1337
+ } & Required<{
1338
+ _id: string;
1339
+ }> & {
1340
+ __v: number;
1341
+ } & {
1342
+ id: string;
1343
+ }> | undefined;
1344
+ isInit?: import("mongoose").SchemaDefinitionProperty<{
1345
+ <T extends "description" | "status" | "reason" | "priority" | "targetProfileId" | "messageIds" | "createdAt" | "updatedAt" | "_id" | "reviewedAt" | "reviewedBy" | "reviewNotes" | "resolution" | "resolvedAt" | "resolutionNotes" | "assignedAt" | "reporterAccountId" | "reporterProfileId" | "targetType" | "targetId" | "targetAccountId" | "evidenceUrls" | "chatId" | "actionTaken" | "assignedTo" | "warningIssuedAt" | "suspensionEndsAt" | "appealedAt" | "appealNotes" | "appealReviewedAt" | "appealOutcome">(path: T): boolean;
1346
+ (path: string): boolean;
1347
+ }, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
1348
+ _id: string;
1349
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
1350
+ _id: string;
1351
+ } & Required<{
1352
+ _id: string;
1353
+ }> & {
1354
+ __v: number;
1355
+ } & {
1356
+ id: string;
1357
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
1358
+ _id: string;
1359
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
1360
+ _id: string;
1361
+ } & Required<{
1362
+ _id: string;
1363
+ }> & {
1364
+ __v: number;
1365
+ } & {
1366
+ id: string;
1367
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
1368
+ _id: string;
1369
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
1370
+ _id: string;
1371
+ } & Required<{
1372
+ _id: string;
1373
+ }> & {
1374
+ __v: number;
1375
+ } & {
1376
+ id: string;
1377
+ }> | undefined;
1378
+ isModified?: import("mongoose").SchemaDefinitionProperty<{
1379
+ <T extends "description" | "status" | "reason" | "priority" | "targetProfileId" | "messageIds" | "createdAt" | "updatedAt" | "_id" | "reviewedAt" | "reviewedBy" | "reviewNotes" | "resolution" | "resolvedAt" | "resolutionNotes" | "assignedAt" | "reporterAccountId" | "reporterProfileId" | "targetType" | "targetId" | "targetAccountId" | "evidenceUrls" | "chatId" | "actionTaken" | "assignedTo" | "warningIssuedAt" | "suspensionEndsAt" | "appealedAt" | "appealNotes" | "appealReviewedAt" | "appealOutcome">(path?: T | T[] | undefined, options?: {
1380
+ ignoreAtomics?: boolean;
1381
+ } | null): boolean;
1382
+ (path?: string | Array<string>, options?: {
1383
+ ignoreAtomics?: boolean;
1384
+ } | null): boolean;
1385
+ }, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
1386
+ _id: string;
1387
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
1388
+ _id: string;
1389
+ } & Required<{
1390
+ _id: string;
1391
+ }> & {
1392
+ __v: number;
1393
+ } & {
1394
+ id: string;
1395
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
1396
+ _id: string;
1397
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
1398
+ _id: string;
1399
+ } & Required<{
1400
+ _id: string;
1401
+ }> & {
1402
+ __v: number;
1403
+ } & {
1404
+ id: string;
1405
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
1406
+ _id: string;
1407
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
1408
+ _id: string;
1409
+ } & Required<{
1410
+ _id: string;
1411
+ }> & {
1412
+ __v: number;
1413
+ } & {
1414
+ id: string;
1415
+ }> | undefined;
1416
+ isNew?: import("mongoose").SchemaDefinitionProperty<boolean, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
1417
+ _id: string;
1418
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
1419
+ _id: string;
1420
+ } & Required<{
1421
+ _id: string;
1422
+ }> & {
1423
+ __v: number;
1424
+ } & {
1425
+ id: string;
1426
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
1427
+ _id: string;
1428
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
1429
+ _id: string;
1430
+ } & Required<{
1431
+ _id: string;
1432
+ }> & {
1433
+ __v: number;
1434
+ } & {
1435
+ id: string;
1436
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
1437
+ _id: string;
1438
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
1439
+ _id: string;
1440
+ } & Required<{
1441
+ _id: string;
1442
+ }> & {
1443
+ __v: number;
1444
+ } & {
1445
+ id: string;
1446
+ }> | undefined;
1447
+ isSelected?: import("mongoose").SchemaDefinitionProperty<{
1448
+ <T extends "description" | "status" | "reason" | "priority" | "targetProfileId" | "messageIds" | "createdAt" | "updatedAt" | "_id" | "reviewedAt" | "reviewedBy" | "reviewNotes" | "resolution" | "resolvedAt" | "resolutionNotes" | "assignedAt" | "reporterAccountId" | "reporterProfileId" | "targetType" | "targetId" | "targetAccountId" | "evidenceUrls" | "chatId" | "actionTaken" | "assignedTo" | "warningIssuedAt" | "suspensionEndsAt" | "appealedAt" | "appealNotes" | "appealReviewedAt" | "appealOutcome">(path: T): boolean;
1449
+ (path: string): boolean;
1450
+ }, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
1451
+ _id: string;
1452
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
1453
+ _id: string;
1454
+ } & Required<{
1455
+ _id: string;
1456
+ }> & {
1457
+ __v: number;
1458
+ } & {
1459
+ id: string;
1460
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
1461
+ _id: string;
1462
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
1463
+ _id: string;
1464
+ } & Required<{
1465
+ _id: string;
1466
+ }> & {
1467
+ __v: number;
1468
+ } & {
1469
+ id: string;
1470
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
1471
+ _id: string;
1472
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
1473
+ _id: string;
1474
+ } & Required<{
1475
+ _id: string;
1476
+ }> & {
1477
+ __v: number;
1478
+ } & {
1479
+ id: string;
1480
+ }> | undefined;
1481
+ markModified?: import("mongoose").SchemaDefinitionProperty<{
1482
+ <T extends "description" | "status" | "reason" | "priority" | "targetProfileId" | "messageIds" | "createdAt" | "updatedAt" | "_id" | "reviewedAt" | "reviewedBy" | "reviewNotes" | "resolution" | "resolvedAt" | "resolutionNotes" | "assignedAt" | "reporterAccountId" | "reporterProfileId" | "targetType" | "targetId" | "targetAccountId" | "evidenceUrls" | "chatId" | "actionTaken" | "assignedTo" | "warningIssuedAt" | "suspensionEndsAt" | "appealedAt" | "appealNotes" | "appealReviewedAt" | "appealOutcome">(path: T, scope?: any): void;
1483
+ (path: string, scope?: any): void;
1484
+ }, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
1485
+ _id: string;
1486
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
1487
+ _id: string;
1488
+ } & Required<{
1489
+ _id: string;
1490
+ }> & {
1491
+ __v: number;
1492
+ } & {
1493
+ id: string;
1494
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
1495
+ _id: string;
1496
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
1497
+ _id: string;
1498
+ } & Required<{
1499
+ _id: string;
1500
+ }> & {
1501
+ __v: number;
1502
+ } & {
1503
+ id: string;
1504
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
1505
+ _id: string;
1506
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
1507
+ _id: string;
1508
+ } & Required<{
1509
+ _id: string;
1510
+ }> & {
1511
+ __v: number;
1512
+ } & {
1513
+ id: string;
1514
+ }> | undefined;
1515
+ model?: import("mongoose").SchemaDefinitionProperty<{
1516
+ <ModelType = Model<unknown, {}, {}, {}, import("mongoose").Document<unknown, {}, unknown, {}, import("mongoose").DefaultSchemaOptions> & {
1517
+ _id: import("mongoose").Types.ObjectId;
1518
+ } & {
1519
+ __v: number;
1520
+ } & {
1521
+ id: string;
1522
+ }, any, unknown>>(name: string): ModelType;
1523
+ <ModelType = Model<Omit<IFlag, "id"> & {
1524
+ _id: string;
1525
+ }, {}, {}, {}, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
1526
+ _id: string;
1527
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
1528
+ _id: string;
1529
+ } & Required<{
1530
+ _id: string;
1531
+ }> & {
1532
+ __v: number;
1533
+ } & {
1534
+ id: string;
1535
+ }, any, Omit<IFlag, "id"> & {
1536
+ _id: string;
1537
+ }>>(): ModelType;
1538
+ }, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
1539
+ _id: string;
1540
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
1541
+ _id: string;
1542
+ } & Required<{
1543
+ _id: string;
1544
+ }> & {
1545
+ __v: number;
1546
+ } & {
1547
+ id: string;
1548
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
1549
+ _id: string;
1550
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
1551
+ _id: string;
1552
+ } & Required<{
1553
+ _id: string;
1554
+ }> & {
1555
+ __v: number;
1556
+ } & {
1557
+ id: string;
1558
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
1559
+ _id: string;
1560
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
1561
+ _id: string;
1562
+ } & Required<{
1563
+ _id: string;
1564
+ }> & {
1565
+ __v: number;
1566
+ } & {
1567
+ id: string;
1568
+ }> | undefined;
1569
+ modifiedPaths?: import("mongoose").SchemaDefinitionProperty<(options?: {
1570
+ includeChildren?: boolean;
1571
+ }) => Array<string>, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
1572
+ _id: string;
1573
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
1574
+ _id: string;
1575
+ } & Required<{
1576
+ _id: string;
1577
+ }> & {
1578
+ __v: number;
1579
+ } & {
1580
+ id: string;
1581
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
1582
+ _id: string;
1583
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
1584
+ _id: string;
1585
+ } & Required<{
1586
+ _id: string;
1587
+ }> & {
1588
+ __v: number;
1589
+ } & {
1590
+ id: string;
1591
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
1592
+ _id: string;
1593
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
1594
+ _id: string;
1595
+ } & Required<{
1596
+ _id: string;
1597
+ }> & {
1598
+ __v: number;
1599
+ } & {
1600
+ id: string;
1601
+ }> | undefined;
1602
+ overwrite?: import("mongoose").SchemaDefinitionProperty<(obj: import("mongoose").AnyObject) => import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
1603
+ _id: string;
1604
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
1605
+ _id: string;
1606
+ } & Required<{
1607
+ _id: string;
1608
+ }> & {
1609
+ __v: number;
1610
+ } & {
1611
+ id: string;
1612
+ }, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
1613
+ _id: string;
1614
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
1615
+ _id: string;
1616
+ } & Required<{
1617
+ _id: string;
1618
+ }> & {
1619
+ __v: number;
1620
+ } & {
1621
+ id: string;
1622
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
1623
+ _id: string;
1624
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
1625
+ _id: string;
1626
+ } & Required<{
1627
+ _id: string;
1628
+ }> & {
1629
+ __v: number;
1630
+ } & {
1631
+ id: string;
1632
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
1633
+ _id: string;
1634
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
1635
+ _id: string;
1636
+ } & Required<{
1637
+ _id: string;
1638
+ }> & {
1639
+ __v: number;
1640
+ } & {
1641
+ id: string;
1642
+ }> | undefined;
1643
+ $parent?: import("mongoose").SchemaDefinitionProperty<() => import("mongoose").Document | undefined, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
1644
+ _id: string;
1645
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
1646
+ _id: string;
1647
+ } & Required<{
1648
+ _id: string;
1649
+ }> & {
1650
+ __v: number;
1651
+ } & {
1652
+ id: string;
1653
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
1654
+ _id: string;
1655
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
1656
+ _id: string;
1657
+ } & Required<{
1658
+ _id: string;
1659
+ }> & {
1660
+ __v: number;
1661
+ } & {
1662
+ id: string;
1663
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
1664
+ _id: string;
1665
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
1666
+ _id: string;
1667
+ } & Required<{
1668
+ _id: string;
1669
+ }> & {
1670
+ __v: number;
1671
+ } & {
1672
+ id: string;
1673
+ }> | undefined;
1674
+ populate?: import("mongoose").SchemaDefinitionProperty<{
1675
+ <Paths = {}>(path: string | import("mongoose").PopulateOptions | (string | import("mongoose").PopulateOptions)[]): Promise<import("mongoose").MergeType<import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
1676
+ _id: string;
1677
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
1678
+ _id: string;
1679
+ } & Required<{
1680
+ _id: string;
1681
+ }> & {
1682
+ __v: number;
1683
+ } & {
1684
+ id: string;
1685
+ }, Paths>>;
1686
+ <Paths = {}>(path: string, select?: string | import("mongoose").AnyObject, model?: Model<any>, match?: import("mongoose").AnyObject, options?: import("mongoose").PopulateOptions): Promise<import("mongoose").MergeType<import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
1687
+ _id: string;
1688
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
1689
+ _id: string;
1690
+ } & Required<{
1691
+ _id: string;
1692
+ }> & {
1693
+ __v: number;
1694
+ } & {
1695
+ id: string;
1696
+ }, Paths>>;
1697
+ }, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
1698
+ _id: string;
1699
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
1700
+ _id: string;
1701
+ } & Required<{
1702
+ _id: string;
1703
+ }> & {
1704
+ __v: number;
1705
+ } & {
1706
+ id: string;
1707
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
1708
+ _id: string;
1709
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
1710
+ _id: string;
1711
+ } & Required<{
1712
+ _id: string;
1713
+ }> & {
1714
+ __v: number;
1715
+ } & {
1716
+ id: string;
1717
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
1718
+ _id: string;
1719
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
1720
+ _id: string;
1721
+ } & Required<{
1722
+ _id: string;
1723
+ }> & {
1724
+ __v: number;
1725
+ } & {
1726
+ id: string;
1727
+ }> | undefined;
1728
+ populated?: import("mongoose").SchemaDefinitionProperty<(path: string) => any, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
1729
+ _id: string;
1730
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
1731
+ _id: string;
1732
+ } & Required<{
1733
+ _id: string;
1734
+ }> & {
1735
+ __v: number;
1736
+ } & {
1737
+ id: string;
1738
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
1739
+ _id: string;
1740
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
1741
+ _id: string;
1742
+ } & Required<{
1743
+ _id: string;
1744
+ }> & {
1745
+ __v: number;
1746
+ } & {
1747
+ id: string;
1748
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
1749
+ _id: string;
1750
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
1751
+ _id: string;
1752
+ } & Required<{
1753
+ _id: string;
1754
+ }> & {
1755
+ __v: number;
1756
+ } & {
1757
+ id: string;
1758
+ }> | undefined;
1759
+ replaceOne?: import("mongoose").SchemaDefinitionProperty<(replacement?: import("mongoose").AnyObject, options?: import("mongoose").QueryOptions | null) => import("mongoose").Query<any, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
1760
+ _id: string;
1761
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
1762
+ _id: string;
1763
+ } & Required<{
1764
+ _id: string;
1765
+ }> & {
1766
+ __v: number;
1767
+ } & {
1768
+ id: string;
1769
+ }, {}, unknown, "find", Record<string, never>>, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
1770
+ _id: string;
1771
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
1772
+ _id: string;
1773
+ } & Required<{
1774
+ _id: string;
1775
+ }> & {
1776
+ __v: number;
1777
+ } & {
1778
+ id: string;
1779
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
1780
+ _id: string;
1781
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
1782
+ _id: string;
1783
+ } & Required<{
1784
+ _id: string;
1785
+ }> & {
1786
+ __v: number;
1787
+ } & {
1788
+ id: string;
1789
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
1790
+ _id: string;
1791
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
1792
+ _id: string;
1793
+ } & Required<{
1794
+ _id: string;
1795
+ }> & {
1796
+ __v: number;
1797
+ } & {
1798
+ id: string;
1799
+ }> | undefined;
1800
+ save?: import("mongoose").SchemaDefinitionProperty<(options?: import("mongoose").SaveOptions) => Promise<import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
1801
+ _id: string;
1802
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
1803
+ _id: string;
1804
+ } & Required<{
1805
+ _id: string;
1806
+ }> & {
1807
+ __v: number;
1808
+ } & {
1809
+ id: string;
1810
+ }>, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
1811
+ _id: string;
1812
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
1813
+ _id: string;
1814
+ } & Required<{
1815
+ _id: string;
1816
+ }> & {
1817
+ __v: number;
1818
+ } & {
1819
+ id: string;
1820
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
1821
+ _id: string;
1822
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
1823
+ _id: string;
1824
+ } & Required<{
1825
+ _id: string;
1826
+ }> & {
1827
+ __v: number;
1828
+ } & {
1829
+ id: string;
1830
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
1831
+ _id: string;
1832
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
1833
+ _id: string;
1834
+ } & Required<{
1835
+ _id: string;
1836
+ }> & {
1837
+ __v: number;
1838
+ } & {
1839
+ id: string;
1840
+ }> | undefined;
1841
+ schema?: import("mongoose").SchemaDefinitionProperty<Schema<any, Model<any, any, any, any, any, any, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, {
1842
+ [x: number]: unknown;
1843
+ [x: symbol]: unknown;
1844
+ [x: string]: unknown;
1845
+ }, import("mongoose").Document<unknown, {}, {
1846
+ [x: number]: unknown;
1847
+ [x: symbol]: unknown;
1848
+ [x: string]: unknown;
1849
+ }, {
1850
+ id: string;
1851
+ }, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & Omit<{
1852
+ [x: number]: unknown;
1853
+ [x: symbol]: unknown;
1854
+ [x: string]: unknown;
1855
+ } & Required<{
1856
+ _id: unknown;
1857
+ }> & {
1858
+ __v: number;
1859
+ }, "id"> & {
1860
+ id: string;
1861
+ }, {
1862
+ [path: string]: import("mongoose").SchemaDefinitionProperty<undefined, any, any>;
1863
+ } | {
1864
+ [x: string]: import("mongoose").SchemaDefinitionProperty<any, any, import("mongoose").Document<unknown, {}, {
1865
+ [x: number]: unknown;
1866
+ [x: symbol]: unknown;
1867
+ [x: string]: unknown;
1868
+ }, {
1869
+ id: string;
1870
+ }, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & Omit<{
1871
+ [x: number]: unknown;
1872
+ [x: symbol]: unknown;
1873
+ [x: string]: unknown;
1874
+ } & Required<{
1875
+ _id: unknown;
1876
+ }> & {
1877
+ __v: number;
1878
+ }, "id"> & {
1879
+ id: string;
1880
+ }> | undefined;
1881
+ }, {
1882
+ [x: number]: {};
1883
+ [x: symbol]: {};
1884
+ [x: string]: {};
1885
+ } & Required<{
1886
+ _id: unknown;
1887
+ }> & {
1888
+ __v: number;
1889
+ }>, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
1890
+ _id: string;
1891
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
1892
+ _id: string;
1893
+ } & Required<{
1894
+ _id: string;
1895
+ }> & {
1896
+ __v: number;
1897
+ } & {
1898
+ id: string;
1899
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
1900
+ _id: string;
1901
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
1902
+ _id: string;
1903
+ } & Required<{
1904
+ _id: string;
1905
+ }> & {
1906
+ __v: number;
1907
+ } & {
1908
+ id: string;
1909
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
1910
+ _id: string;
1911
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
1912
+ _id: string;
1913
+ } & Required<{
1914
+ _id: string;
1915
+ }> & {
1916
+ __v: number;
1917
+ } & {
1918
+ id: string;
1919
+ }> | undefined;
1920
+ set?: import("mongoose").SchemaDefinitionProperty<{
1921
+ <T extends "description" | "status" | "reason" | "priority" | "targetProfileId" | "messageIds" | "createdAt" | "updatedAt" | "_id" | "reviewedAt" | "reviewedBy" | "reviewNotes" | "resolution" | "resolvedAt" | "resolutionNotes" | "assignedAt" | "reporterAccountId" | "reporterProfileId" | "targetType" | "targetId" | "targetAccountId" | "evidenceUrls" | "chatId" | "actionTaken" | "assignedTo" | "warningIssuedAt" | "suspensionEndsAt" | "appealedAt" | "appealNotes" | "appealReviewedAt" | "appealOutcome">(path: T, val: (Omit<IFlag, "id"> & {
1922
+ _id: string;
1923
+ })[T], type: any, options?: import("mongoose").DocumentSetOptions): import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
1924
+ _id: string;
1925
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
1926
+ _id: string;
1927
+ } & Required<{
1928
+ _id: string;
1929
+ }> & {
1930
+ __v: number;
1931
+ } & {
1932
+ id: string;
1933
+ };
1934
+ (path: string | Record<string, any>, val: any, type: any, options?: import("mongoose").DocumentSetOptions): import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
1935
+ _id: string;
1936
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
1937
+ _id: string;
1938
+ } & Required<{
1939
+ _id: string;
1940
+ }> & {
1941
+ __v: number;
1942
+ } & {
1943
+ id: string;
1944
+ };
1945
+ (path: string | Record<string, any>, val: any, options?: import("mongoose").DocumentSetOptions): import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
1946
+ _id: string;
1947
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
1948
+ _id: string;
1949
+ } & Required<{
1950
+ _id: string;
1951
+ }> & {
1952
+ __v: number;
1953
+ } & {
1954
+ id: string;
1955
+ };
1956
+ (value: string | Record<string, any>): import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
1957
+ _id: string;
1958
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
1959
+ _id: string;
1960
+ } & Required<{
1961
+ _id: string;
1962
+ }> & {
1963
+ __v: number;
1964
+ } & {
1965
+ id: string;
1966
+ };
1967
+ }, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
1968
+ _id: string;
1969
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
1970
+ _id: string;
1971
+ } & Required<{
1972
+ _id: string;
1973
+ }> & {
1974
+ __v: number;
1975
+ } & {
1976
+ id: string;
1977
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
1978
+ _id: string;
1979
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
1980
+ _id: string;
1981
+ } & Required<{
1982
+ _id: string;
1983
+ }> & {
1984
+ __v: number;
1985
+ } & {
1986
+ id: string;
1987
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
1988
+ _id: string;
1989
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
1990
+ _id: string;
1991
+ } & Required<{
1992
+ _id: string;
1993
+ }> & {
1994
+ __v: number;
1995
+ } & {
1996
+ id: string;
1997
+ }> | undefined;
1998
+ toJSON?: import("mongoose").SchemaDefinitionProperty<{
1999
+ (options: import("mongoose").ToObjectOptions & {
2000
+ flattenMaps: false;
2001
+ flattenObjectIds: true;
2002
+ virtuals: true;
2003
+ versionKey: false;
2004
+ }): {
2005
+ description: string;
2006
+ status: FlagStatus;
2007
+ reason: FlagReason;
2008
+ priority: import("../index.js").FlagPriority;
2009
+ targetProfileId?: string | undefined;
2010
+ messageIds?: string[] | undefined;
2011
+ createdAt: Date;
2012
+ updatedAt: Date;
2013
+ _id: string;
2014
+ reviewedAt?: Date | undefined;
2015
+ reviewedBy?: string | undefined;
2016
+ reviewNotes?: string | undefined;
2017
+ resolution?: string | undefined;
2018
+ resolvedAt?: Date | undefined;
2019
+ resolutionNotes?: string | undefined;
2020
+ assignedAt?: Date | undefined;
2021
+ reporterAccountId: string;
2022
+ reporterProfileId?: string | undefined;
2023
+ targetType: FlagTargetType;
2024
+ targetId: string;
2025
+ targetAccountId: string;
2026
+ evidenceUrls?: string[] | undefined;
2027
+ chatId?: string | undefined;
2028
+ actionTaken?: FlagActionTaken | undefined;
2029
+ assignedTo?: string | undefined;
2030
+ warningIssuedAt?: Date | undefined;
2031
+ suspensionEndsAt?: Date | undefined;
2032
+ appealedAt?: Date | undefined;
2033
+ appealNotes?: string | undefined;
2034
+ appealReviewedAt?: Date | undefined;
2035
+ appealOutcome?: "upheld" | "overturned" | undefined;
2036
+ };
2037
+ (options: import("mongoose").ToObjectOptions & {
2038
+ flattenMaps: false;
2039
+ flattenObjectIds: true;
2040
+ virtuals: true;
2041
+ }): {
2042
+ description: string;
2043
+ status: FlagStatus;
2044
+ reason: FlagReason;
2045
+ priority: import("../index.js").FlagPriority;
2046
+ targetProfileId?: string | undefined;
2047
+ messageIds?: string[] | undefined;
2048
+ createdAt: Date;
2049
+ updatedAt: Date;
2050
+ reviewedAt?: Date | undefined;
2051
+ reviewedBy?: string | undefined;
2052
+ reviewNotes?: string | undefined;
2053
+ resolution?: string | undefined;
2054
+ resolvedAt?: Date | undefined;
2055
+ resolutionNotes?: string | undefined;
2056
+ assignedAt?: Date | undefined;
2057
+ reporterAccountId: string;
2058
+ reporterProfileId?: string | undefined;
2059
+ targetType: FlagTargetType;
2060
+ targetId: string;
2061
+ targetAccountId: string;
2062
+ evidenceUrls?: string[] | undefined;
2063
+ chatId?: string | undefined;
2064
+ actionTaken?: FlagActionTaken | undefined;
2065
+ assignedTo?: string | undefined;
2066
+ warningIssuedAt?: Date | undefined;
2067
+ suspensionEndsAt?: Date | undefined;
2068
+ appealedAt?: Date | undefined;
2069
+ appealNotes?: string | undefined;
2070
+ appealReviewedAt?: Date | undefined;
2071
+ appealOutcome?: "upheld" | "overturned" | undefined;
2072
+ _id: string;
2073
+ };
2074
+ (options: import("mongoose").ToObjectOptions & {
2075
+ flattenMaps: false;
2076
+ flattenObjectIds: false;
2077
+ virtuals: true;
2078
+ versionKey: false;
2079
+ }): Omit<Omit<IFlag, "id"> & {
2080
+ _id: string;
2081
+ } & Required<{
2082
+ _id: string;
2083
+ }>, "__v">;
2084
+ (options: import("mongoose").ToObjectOptions & {
2085
+ flattenMaps: false;
2086
+ flattenObjectIds: false;
2087
+ virtuals: true;
2088
+ }): Omit<IFlag, "id"> & {
2089
+ _id: string;
2090
+ } & Required<{
2091
+ _id: string;
2092
+ }>;
2093
+ (options: import("mongoose").ToObjectOptions & {
2094
+ flattenMaps: false;
2095
+ flattenObjectIds: true;
2096
+ virtuals: false;
2097
+ versionKey: false;
2098
+ }): {
2099
+ description: string;
2100
+ status: FlagStatus;
2101
+ reason: FlagReason;
2102
+ priority: import("../index.js").FlagPriority;
2103
+ targetProfileId?: string | undefined;
2104
+ messageIds?: string[] | undefined;
2105
+ createdAt: Date;
2106
+ updatedAt: Date;
2107
+ _id: string;
2108
+ reviewedAt?: Date | undefined;
2109
+ reviewedBy?: string | undefined;
2110
+ reviewNotes?: string | undefined;
2111
+ resolution?: string | undefined;
2112
+ resolvedAt?: Date | undefined;
2113
+ resolutionNotes?: string | undefined;
2114
+ assignedAt?: Date | undefined;
2115
+ reporterAccountId: string;
2116
+ reporterProfileId?: string | undefined;
2117
+ targetType: FlagTargetType;
2118
+ targetId: string;
2119
+ targetAccountId: string;
2120
+ evidenceUrls?: string[] | undefined;
2121
+ chatId?: string | undefined;
2122
+ actionTaken?: FlagActionTaken | undefined;
2123
+ assignedTo?: string | undefined;
2124
+ warningIssuedAt?: Date | undefined;
2125
+ suspensionEndsAt?: Date | undefined;
2126
+ appealedAt?: Date | undefined;
2127
+ appealNotes?: string | undefined;
2128
+ appealReviewedAt?: Date | undefined;
2129
+ appealOutcome?: "upheld" | "overturned" | undefined;
2130
+ };
2131
+ (options: import("mongoose").ToObjectOptions & {
2132
+ flattenMaps: false;
2133
+ flattenObjectIds: true;
2134
+ virtuals: false;
2135
+ }): {
2136
+ description: string;
2137
+ status: FlagStatus;
2138
+ reason: FlagReason;
2139
+ priority: import("../index.js").FlagPriority;
2140
+ targetProfileId?: string | undefined;
2141
+ messageIds?: string[] | undefined;
2142
+ createdAt: Date;
2143
+ updatedAt: Date;
2144
+ reviewedAt?: Date | undefined;
2145
+ reviewedBy?: string | undefined;
2146
+ reviewNotes?: string | undefined;
2147
+ resolution?: string | undefined;
2148
+ resolvedAt?: Date | undefined;
2149
+ resolutionNotes?: string | undefined;
2150
+ assignedAt?: Date | undefined;
2151
+ reporterAccountId: string;
2152
+ reporterProfileId?: string | undefined;
2153
+ targetType: FlagTargetType;
2154
+ targetId: string;
2155
+ targetAccountId: string;
2156
+ evidenceUrls?: string[] | undefined;
2157
+ chatId?: string | undefined;
2158
+ actionTaken?: FlagActionTaken | undefined;
2159
+ assignedTo?: string | undefined;
2160
+ warningIssuedAt?: Date | undefined;
2161
+ suspensionEndsAt?: Date | undefined;
2162
+ appealedAt?: Date | undefined;
2163
+ appealNotes?: string | undefined;
2164
+ appealReviewedAt?: Date | undefined;
2165
+ appealOutcome?: "upheld" | "overturned" | undefined;
2166
+ _id: string;
2167
+ };
2168
+ (options: import("mongoose").ToObjectOptions & {
2169
+ flattenMaps: false;
2170
+ flattenObjectIds: false;
2171
+ virtuals: false;
2172
+ versionKey: false;
2173
+ }): Omit<Omit<IFlag, "id"> & {
2174
+ _id: string;
2175
+ } & Required<{
2176
+ _id: string;
2177
+ }>, "__v">;
2178
+ (options: import("mongoose").ToObjectOptions & {
2179
+ flattenMaps: false;
2180
+ flattenObjectIds: false;
2181
+ virtuals: false;
2182
+ }): Omit<IFlag, "id"> & {
2183
+ _id: string;
2184
+ } & Required<{
2185
+ _id: string;
2186
+ }>;
2187
+ (options: import("mongoose").ToObjectOptions & {
2188
+ flattenMaps: true;
2189
+ flattenObjectIds: true;
2190
+ virtuals: true;
2191
+ versionKey: false;
2192
+ }): {
2193
+ description: string;
2194
+ status: FlagStatus;
2195
+ reason: FlagReason;
2196
+ priority: import("../index.js").FlagPriority;
2197
+ targetProfileId?: string | undefined;
2198
+ messageIds?: string[] | undefined;
2199
+ createdAt: Date;
2200
+ updatedAt: Date;
2201
+ _id: string;
2202
+ reviewedAt?: Date | undefined;
2203
+ reviewedBy?: string | undefined;
2204
+ reviewNotes?: string | undefined;
2205
+ resolution?: string | undefined;
2206
+ resolvedAt?: Date | undefined;
2207
+ resolutionNotes?: string | undefined;
2208
+ assignedAt?: Date | undefined;
2209
+ reporterAccountId: string;
2210
+ reporterProfileId?: string | undefined;
2211
+ targetType: FlagTargetType;
2212
+ targetId: string;
2213
+ targetAccountId: string;
2214
+ evidenceUrls?: string[] | undefined;
2215
+ chatId?: string | undefined;
2216
+ actionTaken?: FlagActionTaken | undefined;
2217
+ assignedTo?: string | undefined;
2218
+ warningIssuedAt?: Date | undefined;
2219
+ suspensionEndsAt?: Date | undefined;
2220
+ appealedAt?: Date | undefined;
2221
+ appealNotes?: string | undefined;
2222
+ appealReviewedAt?: Date | undefined;
2223
+ appealOutcome?: "upheld" | "overturned" | undefined;
2224
+ };
2225
+ (options: import("mongoose").ToObjectOptions & {
2226
+ flattenMaps: true;
2227
+ flattenObjectIds: true;
2228
+ virtuals: true;
2229
+ }): {
2230
+ description: string;
2231
+ status: FlagStatus;
2232
+ reason: FlagReason;
2233
+ priority: import("../index.js").FlagPriority;
2234
+ targetProfileId?: string | undefined;
2235
+ messageIds?: string[] | undefined;
2236
+ createdAt: Date;
2237
+ updatedAt: Date;
2238
+ reviewedAt?: Date | undefined;
2239
+ reviewedBy?: string | undefined;
2240
+ reviewNotes?: string | undefined;
2241
+ resolution?: string | undefined;
2242
+ resolvedAt?: Date | undefined;
2243
+ resolutionNotes?: string | undefined;
2244
+ assignedAt?: Date | undefined;
2245
+ reporterAccountId: string;
2246
+ reporterProfileId?: string | undefined;
2247
+ targetType: FlagTargetType;
2248
+ targetId: string;
2249
+ targetAccountId: string;
2250
+ evidenceUrls?: string[] | undefined;
2251
+ chatId?: string | undefined;
2252
+ actionTaken?: FlagActionTaken | undefined;
2253
+ assignedTo?: string | undefined;
2254
+ warningIssuedAt?: Date | undefined;
2255
+ suspensionEndsAt?: Date | undefined;
2256
+ appealedAt?: Date | undefined;
2257
+ appealNotes?: string | undefined;
2258
+ appealReviewedAt?: Date | undefined;
2259
+ appealOutcome?: "upheld" | "overturned" | undefined;
2260
+ _id: string;
2261
+ };
2262
+ (options: import("mongoose").ToObjectOptions & {
2263
+ flattenMaps: true;
2264
+ flattenObjectIds: false;
2265
+ virtuals: true;
2266
+ versionKey: false;
2267
+ }): Omit<import("mongoose").FlattenMaps<Omit<IFlag, "id"> & {
2268
+ _id: string;
2269
+ } & Required<{
2270
+ _id: string;
2271
+ }>>, "__v">;
2272
+ (options: import("mongoose").ToObjectOptions & {
2273
+ flattenMaps: true;
2274
+ flattenObjectIds: false;
2275
+ virtuals: true;
2276
+ }): import("mongoose").FlattenMaps<Omit<IFlag, "id"> & {
2277
+ _id: string;
2278
+ } & Required<{
2279
+ _id: string;
2280
+ }>>;
2281
+ (options: import("mongoose").ToObjectOptions & {
2282
+ flattenMaps: true;
2283
+ flattenObjectIds: true;
2284
+ virtuals: false;
2285
+ versionKey: false;
2286
+ }): {
2287
+ description: string;
2288
+ status: FlagStatus;
2289
+ reason: FlagReason;
2290
+ priority: import("../index.js").FlagPriority;
2291
+ targetProfileId?: string | undefined;
2292
+ messageIds?: string[] | undefined;
2293
+ createdAt: Date;
2294
+ updatedAt: Date;
2295
+ _id: string;
2296
+ reviewedAt?: Date | undefined;
2297
+ reviewedBy?: string | undefined;
2298
+ reviewNotes?: string | undefined;
2299
+ resolution?: string | undefined;
2300
+ resolvedAt?: Date | undefined;
2301
+ resolutionNotes?: string | undefined;
2302
+ assignedAt?: Date | undefined;
2303
+ reporterAccountId: string;
2304
+ reporterProfileId?: string | undefined;
2305
+ targetType: FlagTargetType;
2306
+ targetId: string;
2307
+ targetAccountId: string;
2308
+ evidenceUrls?: string[] | undefined;
2309
+ chatId?: string | undefined;
2310
+ actionTaken?: FlagActionTaken | undefined;
2311
+ assignedTo?: string | undefined;
2312
+ warningIssuedAt?: Date | undefined;
2313
+ suspensionEndsAt?: Date | undefined;
2314
+ appealedAt?: Date | undefined;
2315
+ appealNotes?: string | undefined;
2316
+ appealReviewedAt?: Date | undefined;
2317
+ appealOutcome?: "upheld" | "overturned" | undefined;
2318
+ };
2319
+ (options: import("mongoose").ToObjectOptions & {
2320
+ flattenMaps: true;
2321
+ flattenObjectIds: true;
2322
+ virtuals: false;
2323
+ }): {
2324
+ description: string;
2325
+ status: FlagStatus;
2326
+ reason: FlagReason;
2327
+ priority: import("../index.js").FlagPriority;
2328
+ targetProfileId?: string | undefined;
2329
+ messageIds?: string[] | undefined;
2330
+ createdAt: Date;
2331
+ updatedAt: Date;
2332
+ reviewedAt?: Date | undefined;
2333
+ reviewedBy?: string | undefined;
2334
+ reviewNotes?: string | undefined;
2335
+ resolution?: string | undefined;
2336
+ resolvedAt?: Date | undefined;
2337
+ resolutionNotes?: string | undefined;
2338
+ assignedAt?: Date | undefined;
2339
+ reporterAccountId: string;
2340
+ reporterProfileId?: string | undefined;
2341
+ targetType: FlagTargetType;
2342
+ targetId: string;
2343
+ targetAccountId: string;
2344
+ evidenceUrls?: string[] | undefined;
2345
+ chatId?: string | undefined;
2346
+ actionTaken?: FlagActionTaken | undefined;
2347
+ assignedTo?: string | undefined;
2348
+ warningIssuedAt?: Date | undefined;
2349
+ suspensionEndsAt?: Date | undefined;
2350
+ appealedAt?: Date | undefined;
2351
+ appealNotes?: string | undefined;
2352
+ appealReviewedAt?: Date | undefined;
2353
+ appealOutcome?: "upheld" | "overturned" | undefined;
2354
+ _id: string;
2355
+ };
2356
+ (options: import("mongoose").ToObjectOptions & {
2357
+ flattenMaps: true;
2358
+ flattenObjectIds: false;
2359
+ virtuals: false;
2360
+ versionKey: false;
2361
+ }): Omit<import("mongoose").FlattenMaps<Omit<IFlag, "id"> & {
2362
+ _id: string;
2363
+ } & Required<{
2364
+ _id: string;
2365
+ }>>, "__v">;
2366
+ (options: import("mongoose").ToObjectOptions & {
2367
+ flattenMaps: true;
2368
+ flattenObjectIds: false;
2369
+ virtuals: false;
2370
+ }): import("mongoose").FlattenMaps<Omit<IFlag, "id"> & {
2371
+ _id: string;
2372
+ } & Required<{
2373
+ _id: string;
2374
+ }>>;
2375
+ (options: import("mongoose").ToObjectOptions & {
2376
+ flattenMaps: true;
2377
+ flattenObjectIds: true;
2378
+ virtuals: true;
2379
+ }): {
2380
+ description: string;
2381
+ status: FlagStatus;
2382
+ reason: FlagReason;
2383
+ priority: import("../index.js").FlagPriority;
2384
+ targetProfileId?: string | undefined;
2385
+ messageIds?: string[] | undefined;
2386
+ createdAt: Date;
2387
+ updatedAt: Date;
2388
+ reviewedAt?: Date | undefined;
2389
+ reviewedBy?: string | undefined;
2390
+ reviewNotes?: string | undefined;
2391
+ resolution?: string | undefined;
2392
+ resolvedAt?: Date | undefined;
2393
+ resolutionNotes?: string | undefined;
2394
+ assignedAt?: Date | undefined;
2395
+ reporterAccountId: string;
2396
+ reporterProfileId?: string | undefined;
2397
+ targetType: FlagTargetType;
2398
+ targetId: string;
2399
+ targetAccountId: string;
2400
+ evidenceUrls?: string[] | undefined;
2401
+ chatId?: string | undefined;
2402
+ actionTaken?: FlagActionTaken | undefined;
2403
+ assignedTo?: string | undefined;
2404
+ warningIssuedAt?: Date | undefined;
2405
+ suspensionEndsAt?: Date | undefined;
2406
+ appealedAt?: Date | undefined;
2407
+ appealNotes?: string | undefined;
2408
+ appealReviewedAt?: Date | undefined;
2409
+ appealOutcome?: "upheld" | "overturned" | undefined;
2410
+ _id: string;
2411
+ };
2412
+ (options: import("mongoose").ToObjectOptions & {
2413
+ flattenMaps: true;
2414
+ flattenObjectIds: true;
2415
+ }): {
2416
+ description: string;
2417
+ status: FlagStatus;
2418
+ reason: FlagReason;
2419
+ priority: import("../index.js").FlagPriority;
2420
+ targetProfileId?: string | undefined;
2421
+ messageIds?: string[] | undefined;
2422
+ createdAt: Date;
2423
+ updatedAt: Date;
2424
+ reviewedAt?: Date | undefined;
2425
+ reviewedBy?: string | undefined;
2426
+ reviewNotes?: string | undefined;
2427
+ resolution?: string | undefined;
2428
+ resolvedAt?: Date | undefined;
2429
+ resolutionNotes?: string | undefined;
2430
+ assignedAt?: Date | undefined;
2431
+ reporterAccountId: string;
2432
+ reporterProfileId?: string | undefined;
2433
+ targetType: FlagTargetType;
2434
+ targetId: string;
2435
+ targetAccountId: string;
2436
+ evidenceUrls?: string[] | undefined;
2437
+ chatId?: string | undefined;
2438
+ actionTaken?: FlagActionTaken | undefined;
2439
+ assignedTo?: string | undefined;
2440
+ warningIssuedAt?: Date | undefined;
2441
+ suspensionEndsAt?: Date | undefined;
2442
+ appealedAt?: Date | undefined;
2443
+ appealNotes?: string | undefined;
2444
+ appealReviewedAt?: Date | undefined;
2445
+ appealOutcome?: "upheld" | "overturned" | undefined;
2446
+ _id: string;
2447
+ };
2448
+ (options: import("mongoose").ToObjectOptions & {
2449
+ flattenObjectIds: true;
2450
+ virtuals: true;
2451
+ }): {
2452
+ description: string;
2453
+ status: FlagStatus;
2454
+ reason: FlagReason;
2455
+ priority: import("../index.js").FlagPriority;
2456
+ targetProfileId?: string | undefined;
2457
+ messageIds?: string[] | undefined;
2458
+ createdAt: Date;
2459
+ updatedAt: Date;
2460
+ reviewedAt?: Date | undefined;
2461
+ reviewedBy?: string | undefined;
2462
+ reviewNotes?: string | undefined;
2463
+ resolution?: string | undefined;
2464
+ resolvedAt?: Date | undefined;
2465
+ resolutionNotes?: string | undefined;
2466
+ assignedAt?: Date | undefined;
2467
+ reporterAccountId: string;
2468
+ reporterProfileId?: string | undefined;
2469
+ targetType: FlagTargetType;
2470
+ targetId: string;
2471
+ targetAccountId: string;
2472
+ evidenceUrls?: string[] | undefined;
2473
+ chatId?: string | undefined;
2474
+ actionTaken?: FlagActionTaken | undefined;
2475
+ assignedTo?: string | undefined;
2476
+ warningIssuedAt?: Date | undefined;
2477
+ suspensionEndsAt?: Date | undefined;
2478
+ appealedAt?: Date | undefined;
2479
+ appealNotes?: string | undefined;
2480
+ appealReviewedAt?: Date | undefined;
2481
+ appealOutcome?: "upheld" | "overturned" | undefined;
2482
+ _id: string;
2483
+ };
2484
+ (options: import("mongoose").ToObjectOptions & {
2485
+ flattenObjectIds: true;
2486
+ }): {
2487
+ description: string;
2488
+ status: FlagStatus;
2489
+ reason: FlagReason;
2490
+ priority: import("../index.js").FlagPriority;
2491
+ targetProfileId?: string | undefined;
2492
+ messageIds?: string[] | undefined;
2493
+ createdAt: Date;
2494
+ updatedAt: Date;
2495
+ reviewedAt?: Date | undefined;
2496
+ reviewedBy?: string | undefined;
2497
+ reviewNotes?: string | undefined;
2498
+ resolution?: string | undefined;
2499
+ resolvedAt?: Date | undefined;
2500
+ resolutionNotes?: string | undefined;
2501
+ assignedAt?: Date | undefined;
2502
+ reporterAccountId: string;
2503
+ reporterProfileId?: string | undefined;
2504
+ targetType: FlagTargetType;
2505
+ targetId: string;
2506
+ targetAccountId: string;
2507
+ evidenceUrls?: string[] | undefined;
2508
+ chatId?: string | undefined;
2509
+ actionTaken?: FlagActionTaken | undefined;
2510
+ assignedTo?: string | undefined;
2511
+ warningIssuedAt?: Date | undefined;
2512
+ suspensionEndsAt?: Date | undefined;
2513
+ appealedAt?: Date | undefined;
2514
+ appealNotes?: string | undefined;
2515
+ appealReviewedAt?: Date | undefined;
2516
+ appealOutcome?: "upheld" | "overturned" | undefined;
2517
+ _id: string;
2518
+ };
2519
+ (options: import("mongoose").ToObjectOptions & {
2520
+ flattenMaps: true;
2521
+ virtuals: true;
2522
+ }): import("mongoose").FlattenMaps<Omit<IFlag, "id"> & {
2523
+ _id: string;
2524
+ } & Required<{
2525
+ _id: string;
2526
+ }>>;
2527
+ (options: import("mongoose").ToObjectOptions & {
2528
+ flattenMaps: true;
2529
+ }): import("mongoose").FlattenMaps<Omit<IFlag, "id"> & {
2530
+ _id: string;
2531
+ } & Required<{
2532
+ _id: string;
2533
+ }>>;
2534
+ (options: import("mongoose").ToObjectOptions & {
2535
+ versionKey: false;
2536
+ flattenMaps: true;
2537
+ flattenObjectIds: true;
2538
+ virtuals: true;
2539
+ }): {
2540
+ description: string;
2541
+ status: FlagStatus;
2542
+ reason: FlagReason;
2543
+ priority: import("../index.js").FlagPriority;
2544
+ targetProfileId?: string | undefined;
2545
+ messageIds?: string[] | undefined;
2546
+ createdAt: Date;
2547
+ updatedAt: Date;
2548
+ _id: string;
2549
+ reviewedAt?: Date | undefined;
2550
+ reviewedBy?: string | undefined;
2551
+ reviewNotes?: string | undefined;
2552
+ resolution?: string | undefined;
2553
+ resolvedAt?: Date | undefined;
2554
+ resolutionNotes?: string | undefined;
2555
+ assignedAt?: Date | undefined;
2556
+ reporterAccountId: string;
2557
+ reporterProfileId?: string | undefined;
2558
+ targetType: FlagTargetType;
2559
+ targetId: string;
2560
+ targetAccountId: string;
2561
+ evidenceUrls?: string[] | undefined;
2562
+ chatId?: string | undefined;
2563
+ actionTaken?: FlagActionTaken | undefined;
2564
+ assignedTo?: string | undefined;
2565
+ warningIssuedAt?: Date | undefined;
2566
+ suspensionEndsAt?: Date | undefined;
2567
+ appealedAt?: Date | undefined;
2568
+ appealNotes?: string | undefined;
2569
+ appealReviewedAt?: Date | undefined;
2570
+ appealOutcome?: "upheld" | "overturned" | undefined;
2571
+ };
2572
+ (options: import("mongoose").ToObjectOptions & {
2573
+ versionKey: false;
2574
+ flattenMaps: false;
2575
+ flattenObjectIds: true;
2576
+ virtuals: true;
2577
+ }): {
2578
+ description: string;
2579
+ status: FlagStatus;
2580
+ reason: FlagReason;
2581
+ priority: import("../index.js").FlagPriority;
2582
+ targetProfileId?: string | undefined;
2583
+ messageIds?: string[] | undefined;
2584
+ createdAt: Date;
2585
+ updatedAt: Date;
2586
+ _id: string;
2587
+ reviewedAt?: Date | undefined;
2588
+ reviewedBy?: string | undefined;
2589
+ reviewNotes?: string | undefined;
2590
+ resolution?: string | undefined;
2591
+ resolvedAt?: Date | undefined;
2592
+ resolutionNotes?: string | undefined;
2593
+ assignedAt?: Date | undefined;
2594
+ reporterAccountId: string;
2595
+ reporterProfileId?: string | undefined;
2596
+ targetType: FlagTargetType;
2597
+ targetId: string;
2598
+ targetAccountId: string;
2599
+ evidenceUrls?: string[] | undefined;
2600
+ chatId?: string | undefined;
2601
+ actionTaken?: FlagActionTaken | undefined;
2602
+ assignedTo?: string | undefined;
2603
+ warningIssuedAt?: Date | undefined;
2604
+ suspensionEndsAt?: Date | undefined;
2605
+ appealedAt?: Date | undefined;
2606
+ appealNotes?: string | undefined;
2607
+ appealReviewedAt?: Date | undefined;
2608
+ appealOutcome?: "upheld" | "overturned" | undefined;
2609
+ };
2610
+ (options: import("mongoose").ToObjectOptions & {
2611
+ versionKey: false;
2612
+ flattenMaps: true;
2613
+ virtuals: true;
2614
+ }): Omit<import("mongoose").FlattenMaps<Omit<IFlag, "id"> & {
2615
+ _id: string;
2616
+ } & Required<{
2617
+ _id: string;
2618
+ }>>, "__v">;
2619
+ (options: import("mongoose").ToObjectOptions & {
2620
+ versionKey: false;
2621
+ flattenObjectIds: true;
2622
+ virtuals: true;
2623
+ }): {
2624
+ description: string;
2625
+ status: FlagStatus;
2626
+ reason: FlagReason;
2627
+ priority: import("../index.js").FlagPriority;
2628
+ targetProfileId?: string | undefined;
2629
+ messageIds?: string[] | undefined;
2630
+ createdAt: Date;
2631
+ updatedAt: Date;
2632
+ _id: string;
2633
+ reviewedAt?: Date | undefined;
2634
+ reviewedBy?: string | undefined;
2635
+ reviewNotes?: string | undefined;
2636
+ resolution?: string | undefined;
2637
+ resolvedAt?: Date | undefined;
2638
+ resolutionNotes?: string | undefined;
2639
+ assignedAt?: Date | undefined;
2640
+ reporterAccountId: string;
2641
+ reporterProfileId?: string | undefined;
2642
+ targetType: FlagTargetType;
2643
+ targetId: string;
2644
+ targetAccountId: string;
2645
+ evidenceUrls?: string[] | undefined;
2646
+ chatId?: string | undefined;
2647
+ actionTaken?: FlagActionTaken | undefined;
2648
+ assignedTo?: string | undefined;
2649
+ warningIssuedAt?: Date | undefined;
2650
+ suspensionEndsAt?: Date | undefined;
2651
+ appealedAt?: Date | undefined;
2652
+ appealNotes?: string | undefined;
2653
+ appealReviewedAt?: Date | undefined;
2654
+ appealOutcome?: "upheld" | "overturned" | undefined;
2655
+ };
2656
+ (options: import("mongoose").ToObjectOptions & {
2657
+ versionKey: false;
2658
+ virtuals: true;
2659
+ }): Omit<Omit<IFlag, "id"> & {
2660
+ _id: string;
2661
+ } & Required<{
2662
+ _id: string;
2663
+ }>, "__v">;
2664
+ (options: import("mongoose").ToObjectOptions & {
2665
+ versionKey: false;
2666
+ flattenMaps: true;
2667
+ flattenObjectIds: true;
2668
+ }): {
2669
+ description: string;
2670
+ status: FlagStatus;
2671
+ reason: FlagReason;
2672
+ priority: import("../index.js").FlagPriority;
2673
+ targetProfileId?: string | undefined;
2674
+ messageIds?: string[] | undefined;
2675
+ createdAt: Date;
2676
+ updatedAt: Date;
2677
+ _id: string;
2678
+ reviewedAt?: Date | undefined;
2679
+ reviewedBy?: string | undefined;
2680
+ reviewNotes?: string | undefined;
2681
+ resolution?: string | undefined;
2682
+ resolvedAt?: Date | undefined;
2683
+ resolutionNotes?: string | undefined;
2684
+ assignedAt?: Date | undefined;
2685
+ reporterAccountId: string;
2686
+ reporterProfileId?: string | undefined;
2687
+ targetType: FlagTargetType;
2688
+ targetId: string;
2689
+ targetAccountId: string;
2690
+ evidenceUrls?: string[] | undefined;
2691
+ chatId?: string | undefined;
2692
+ actionTaken?: FlagActionTaken | undefined;
2693
+ assignedTo?: string | undefined;
2694
+ warningIssuedAt?: Date | undefined;
2695
+ suspensionEndsAt?: Date | undefined;
2696
+ appealedAt?: Date | undefined;
2697
+ appealNotes?: string | undefined;
2698
+ appealReviewedAt?: Date | undefined;
2699
+ appealOutcome?: "upheld" | "overturned" | undefined;
2700
+ };
2701
+ (options: import("mongoose").ToObjectOptions & {
2702
+ versionKey: false;
2703
+ flattenObjectIds: true;
2704
+ }): {
2705
+ description: string;
2706
+ status: FlagStatus;
2707
+ reason: FlagReason;
2708
+ priority: import("../index.js").FlagPriority;
2709
+ targetProfileId?: string | undefined;
2710
+ messageIds?: string[] | undefined;
2711
+ createdAt: Date;
2712
+ updatedAt: Date;
2713
+ _id: string;
2714
+ reviewedAt?: Date | undefined;
2715
+ reviewedBy?: string | undefined;
2716
+ reviewNotes?: string | undefined;
2717
+ resolution?: string | undefined;
2718
+ resolvedAt?: Date | undefined;
2719
+ resolutionNotes?: string | undefined;
2720
+ assignedAt?: Date | undefined;
2721
+ reporterAccountId: string;
2722
+ reporterProfileId?: string | undefined;
2723
+ targetType: FlagTargetType;
2724
+ targetId: string;
2725
+ targetAccountId: string;
2726
+ evidenceUrls?: string[] | undefined;
2727
+ chatId?: string | undefined;
2728
+ actionTaken?: FlagActionTaken | undefined;
2729
+ assignedTo?: string | undefined;
2730
+ warningIssuedAt?: Date | undefined;
2731
+ suspensionEndsAt?: Date | undefined;
2732
+ appealedAt?: Date | undefined;
2733
+ appealNotes?: string | undefined;
2734
+ appealReviewedAt?: Date | undefined;
2735
+ appealOutcome?: "upheld" | "overturned" | undefined;
2736
+ };
2737
+ (options: import("mongoose").ToObjectOptions & {
2738
+ versionKey: false;
2739
+ flattenMaps: true;
2740
+ }): Omit<import("mongoose").FlattenMaps<Omit<IFlag, "id"> & {
2741
+ _id: string;
2742
+ } & Required<{
2743
+ _id: string;
2744
+ }>>, "__v">;
2745
+ (options: import("mongoose").ToObjectOptions & {
2746
+ versionKey: false;
2747
+ }): Omit<Omit<IFlag, "id"> & {
2748
+ _id: string;
2749
+ } & Required<{
2750
+ _id: string;
2751
+ }>, "__v">;
2752
+ (options: import("mongoose").ToObjectOptions & {
2753
+ virtuals: true;
2754
+ }): Omit<IFlag, "id"> & {
2755
+ _id: string;
2756
+ } & Required<{
2757
+ _id: string;
2758
+ }>;
2759
+ (options?: import("mongoose").ToObjectOptions): Omit<IFlag, "id"> & {
2760
+ _id: string;
2761
+ } & Required<{
2762
+ _id: string;
2763
+ }> & {
2764
+ __v: number;
2765
+ };
2766
+ <T>(options?: import("mongoose").ToObjectOptions): import("mongoose").Require_id<T> & {
2767
+ __v: number;
2768
+ };
2769
+ }, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
2770
+ _id: string;
2771
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
2772
+ _id: string;
2773
+ } & Required<{
2774
+ _id: string;
2775
+ }> & {
2776
+ __v: number;
2777
+ } & {
2778
+ id: string;
2779
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
2780
+ _id: string;
2781
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
2782
+ _id: string;
2783
+ } & Required<{
2784
+ _id: string;
2785
+ }> & {
2786
+ __v: number;
2787
+ } & {
2788
+ id: string;
2789
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
2790
+ _id: string;
2791
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
2792
+ _id: string;
2793
+ } & Required<{
2794
+ _id: string;
2795
+ }> & {
2796
+ __v: number;
2797
+ } & {
2798
+ id: string;
2799
+ }> | undefined;
2800
+ toObject?: import("mongoose").SchemaDefinitionProperty<{
2801
+ (options: import("mongoose").ToObjectOptions & {
2802
+ flattenMaps: false;
2803
+ flattenObjectIds: true;
2804
+ virtuals: true;
2805
+ versionKey: false;
2806
+ }): {
2807
+ description: string;
2808
+ status: FlagStatus;
2809
+ reason: FlagReason;
2810
+ priority: import("../index.js").FlagPriority;
2811
+ targetProfileId?: string | undefined;
2812
+ messageIds?: string[] | undefined;
2813
+ createdAt: Date;
2814
+ updatedAt: Date;
2815
+ _id: string;
2816
+ reviewedAt?: Date | undefined;
2817
+ reviewedBy?: string | undefined;
2818
+ reviewNotes?: string | undefined;
2819
+ resolution?: string | undefined;
2820
+ resolvedAt?: Date | undefined;
2821
+ resolutionNotes?: string | undefined;
2822
+ assignedAt?: Date | undefined;
2823
+ reporterAccountId: string;
2824
+ reporterProfileId?: string | undefined;
2825
+ targetType: FlagTargetType;
2826
+ targetId: string;
2827
+ targetAccountId: string;
2828
+ evidenceUrls?: string[] | undefined;
2829
+ chatId?: string | undefined;
2830
+ actionTaken?: FlagActionTaken | undefined;
2831
+ assignedTo?: string | undefined;
2832
+ warningIssuedAt?: Date | undefined;
2833
+ suspensionEndsAt?: Date | undefined;
2834
+ appealedAt?: Date | undefined;
2835
+ appealNotes?: string | undefined;
2836
+ appealReviewedAt?: Date | undefined;
2837
+ appealOutcome?: "upheld" | "overturned" | undefined;
2838
+ };
2839
+ (options: import("mongoose").ToObjectOptions & {
2840
+ flattenMaps: false;
2841
+ flattenObjectIds: true;
2842
+ virtuals: true;
2843
+ }): {
2844
+ description: string;
2845
+ status: FlagStatus;
2846
+ reason: FlagReason;
2847
+ priority: import("../index.js").FlagPriority;
2848
+ targetProfileId?: string | undefined;
2849
+ messageIds?: string[] | undefined;
2850
+ createdAt: Date;
2851
+ updatedAt: Date;
2852
+ reviewedAt?: Date | undefined;
2853
+ reviewedBy?: string | undefined;
2854
+ reviewNotes?: string | undefined;
2855
+ resolution?: string | undefined;
2856
+ resolvedAt?: Date | undefined;
2857
+ resolutionNotes?: string | undefined;
2858
+ assignedAt?: Date | undefined;
2859
+ reporterAccountId: string;
2860
+ reporterProfileId?: string | undefined;
2861
+ targetType: FlagTargetType;
2862
+ targetId: string;
2863
+ targetAccountId: string;
2864
+ evidenceUrls?: string[] | undefined;
2865
+ chatId?: string | undefined;
2866
+ actionTaken?: FlagActionTaken | undefined;
2867
+ assignedTo?: string | undefined;
2868
+ warningIssuedAt?: Date | undefined;
2869
+ suspensionEndsAt?: Date | undefined;
2870
+ appealedAt?: Date | undefined;
2871
+ appealNotes?: string | undefined;
2872
+ appealReviewedAt?: Date | undefined;
2873
+ appealOutcome?: "upheld" | "overturned" | undefined;
2874
+ _id: string;
2875
+ };
2876
+ (options: import("mongoose").ToObjectOptions & {
2877
+ flattenMaps: false;
2878
+ flattenObjectIds: false;
2879
+ virtuals: true;
2880
+ versionKey: false;
2881
+ }): Omit<Omit<IFlag, "id"> & {
2882
+ _id: string;
2883
+ } & Required<{
2884
+ _id: string;
2885
+ }>, "__v">;
2886
+ (options: import("mongoose").ToObjectOptions & {
2887
+ flattenMaps: false;
2888
+ flattenObjectIds: false;
2889
+ virtuals: true;
2890
+ }): Omit<IFlag, "id"> & {
2891
+ _id: string;
2892
+ } & Required<{
2893
+ _id: string;
2894
+ }>;
2895
+ (options: import("mongoose").ToObjectOptions & {
2896
+ flattenMaps: false;
2897
+ flattenObjectIds: true;
2898
+ virtuals: false;
2899
+ versionKey: false;
2900
+ }): {
2901
+ description: string;
2902
+ status: FlagStatus;
2903
+ reason: FlagReason;
2904
+ priority: import("../index.js").FlagPriority;
2905
+ targetProfileId?: string | undefined;
2906
+ messageIds?: string[] | undefined;
2907
+ createdAt: Date;
2908
+ updatedAt: Date;
2909
+ _id: string;
2910
+ reviewedAt?: Date | undefined;
2911
+ reviewedBy?: string | undefined;
2912
+ reviewNotes?: string | undefined;
2913
+ resolution?: string | undefined;
2914
+ resolvedAt?: Date | undefined;
2915
+ resolutionNotes?: string | undefined;
2916
+ assignedAt?: Date | undefined;
2917
+ reporterAccountId: string;
2918
+ reporterProfileId?: string | undefined;
2919
+ targetType: FlagTargetType;
2920
+ targetId: string;
2921
+ targetAccountId: string;
2922
+ evidenceUrls?: string[] | undefined;
2923
+ chatId?: string | undefined;
2924
+ actionTaken?: FlagActionTaken | undefined;
2925
+ assignedTo?: string | undefined;
2926
+ warningIssuedAt?: Date | undefined;
2927
+ suspensionEndsAt?: Date | undefined;
2928
+ appealedAt?: Date | undefined;
2929
+ appealNotes?: string | undefined;
2930
+ appealReviewedAt?: Date | undefined;
2931
+ appealOutcome?: "upheld" | "overturned" | undefined;
2932
+ };
2933
+ (options: import("mongoose").ToObjectOptions & {
2934
+ flattenMaps: false;
2935
+ flattenObjectIds: true;
2936
+ virtuals: false;
2937
+ }): {
2938
+ description: string;
2939
+ status: FlagStatus;
2940
+ reason: FlagReason;
2941
+ priority: import("../index.js").FlagPriority;
2942
+ targetProfileId?: string | undefined;
2943
+ messageIds?: string[] | undefined;
2944
+ createdAt: Date;
2945
+ updatedAt: Date;
2946
+ reviewedAt?: Date | undefined;
2947
+ reviewedBy?: string | undefined;
2948
+ reviewNotes?: string | undefined;
2949
+ resolution?: string | undefined;
2950
+ resolvedAt?: Date | undefined;
2951
+ resolutionNotes?: string | undefined;
2952
+ assignedAt?: Date | undefined;
2953
+ reporterAccountId: string;
2954
+ reporterProfileId?: string | undefined;
2955
+ targetType: FlagTargetType;
2956
+ targetId: string;
2957
+ targetAccountId: string;
2958
+ evidenceUrls?: string[] | undefined;
2959
+ chatId?: string | undefined;
2960
+ actionTaken?: FlagActionTaken | undefined;
2961
+ assignedTo?: string | undefined;
2962
+ warningIssuedAt?: Date | undefined;
2963
+ suspensionEndsAt?: Date | undefined;
2964
+ appealedAt?: Date | undefined;
2965
+ appealNotes?: string | undefined;
2966
+ appealReviewedAt?: Date | undefined;
2967
+ appealOutcome?: "upheld" | "overturned" | undefined;
2968
+ _id: string;
2969
+ };
2970
+ (options: import("mongoose").ToObjectOptions & {
2971
+ flattenMaps: false;
2972
+ flattenObjectIds: false;
2973
+ virtuals: false;
2974
+ versionKey: false;
2975
+ }): Omit<Omit<IFlag, "id"> & {
2976
+ _id: string;
2977
+ } & Required<{
2978
+ _id: string;
2979
+ }>, "__v">;
2980
+ (options: import("mongoose").ToObjectOptions & {
2981
+ flattenMaps: false;
2982
+ flattenObjectIds: false;
2983
+ virtuals: false;
2984
+ }): Omit<IFlag, "id"> & {
2985
+ _id: string;
2986
+ } & Required<{
2987
+ _id: string;
2988
+ }>;
2989
+ (options: import("mongoose").ToObjectOptions & {
2990
+ flattenMaps: true;
2991
+ flattenObjectIds: true;
2992
+ virtuals: true;
2993
+ versionKey: false;
2994
+ }): {
2995
+ description: string;
2996
+ status: FlagStatus;
2997
+ reason: FlagReason;
2998
+ priority: import("../index.js").FlagPriority;
2999
+ targetProfileId?: string | undefined;
3000
+ messageIds?: string[] | undefined;
3001
+ createdAt: Date;
3002
+ updatedAt: Date;
3003
+ _id: string;
3004
+ reviewedAt?: Date | undefined;
3005
+ reviewedBy?: string | undefined;
3006
+ reviewNotes?: string | undefined;
3007
+ resolution?: string | undefined;
3008
+ resolvedAt?: Date | undefined;
3009
+ resolutionNotes?: string | undefined;
3010
+ assignedAt?: Date | undefined;
3011
+ reporterAccountId: string;
3012
+ reporterProfileId?: string | undefined;
3013
+ targetType: FlagTargetType;
3014
+ targetId: string;
3015
+ targetAccountId: string;
3016
+ evidenceUrls?: string[] | undefined;
3017
+ chatId?: string | undefined;
3018
+ actionTaken?: FlagActionTaken | undefined;
3019
+ assignedTo?: string | undefined;
3020
+ warningIssuedAt?: Date | undefined;
3021
+ suspensionEndsAt?: Date | undefined;
3022
+ appealedAt?: Date | undefined;
3023
+ appealNotes?: string | undefined;
3024
+ appealReviewedAt?: Date | undefined;
3025
+ appealOutcome?: "upheld" | "overturned" | undefined;
3026
+ };
3027
+ (options: import("mongoose").ToObjectOptions & {
3028
+ flattenMaps: true;
3029
+ flattenObjectIds: true;
3030
+ virtuals: true;
3031
+ }): {
3032
+ description: string;
3033
+ status: FlagStatus;
3034
+ reason: FlagReason;
3035
+ priority: import("../index.js").FlagPriority;
3036
+ targetProfileId?: string | undefined;
3037
+ messageIds?: string[] | undefined;
3038
+ createdAt: Date;
3039
+ updatedAt: Date;
3040
+ reviewedAt?: Date | undefined;
3041
+ reviewedBy?: string | undefined;
3042
+ reviewNotes?: string | undefined;
3043
+ resolution?: string | undefined;
3044
+ resolvedAt?: Date | undefined;
3045
+ resolutionNotes?: string | undefined;
3046
+ assignedAt?: Date | undefined;
3047
+ reporterAccountId: string;
3048
+ reporterProfileId?: string | undefined;
3049
+ targetType: FlagTargetType;
3050
+ targetId: string;
3051
+ targetAccountId: string;
3052
+ evidenceUrls?: string[] | undefined;
3053
+ chatId?: string | undefined;
3054
+ actionTaken?: FlagActionTaken | undefined;
3055
+ assignedTo?: string | undefined;
3056
+ warningIssuedAt?: Date | undefined;
3057
+ suspensionEndsAt?: Date | undefined;
3058
+ appealedAt?: Date | undefined;
3059
+ appealNotes?: string | undefined;
3060
+ appealReviewedAt?: Date | undefined;
3061
+ appealOutcome?: "upheld" | "overturned" | undefined;
3062
+ _id: string;
3063
+ };
3064
+ (options: import("mongoose").ToObjectOptions & {
3065
+ flattenMaps: true;
3066
+ flattenObjectIds: false;
3067
+ virtuals: true;
3068
+ versionKey: false;
3069
+ }): Omit<import("mongoose").FlattenMaps<Omit<IFlag, "id"> & {
3070
+ _id: string;
3071
+ } & Required<{
3072
+ _id: string;
3073
+ }>>, "__v">;
3074
+ (options: import("mongoose").ToObjectOptions & {
3075
+ flattenMaps: true;
3076
+ flattenObjectIds: false;
3077
+ virtuals: true;
3078
+ }): import("mongoose").FlattenMaps<Omit<IFlag, "id"> & {
3079
+ _id: string;
3080
+ } & Required<{
3081
+ _id: string;
3082
+ }>>;
3083
+ (options: import("mongoose").ToObjectOptions & {
3084
+ flattenMaps: true;
3085
+ flattenObjectIds: true;
3086
+ virtuals: false;
3087
+ versionKey: false;
3088
+ }): {
3089
+ description: string;
3090
+ status: FlagStatus;
3091
+ reason: FlagReason;
3092
+ priority: import("../index.js").FlagPriority;
3093
+ targetProfileId?: string | undefined;
3094
+ messageIds?: string[] | undefined;
3095
+ createdAt: Date;
3096
+ updatedAt: Date;
3097
+ _id: string;
3098
+ reviewedAt?: Date | undefined;
3099
+ reviewedBy?: string | undefined;
3100
+ reviewNotes?: string | undefined;
3101
+ resolution?: string | undefined;
3102
+ resolvedAt?: Date | undefined;
3103
+ resolutionNotes?: string | undefined;
3104
+ assignedAt?: Date | undefined;
3105
+ reporterAccountId: string;
3106
+ reporterProfileId?: string | undefined;
3107
+ targetType: FlagTargetType;
3108
+ targetId: string;
3109
+ targetAccountId: string;
3110
+ evidenceUrls?: string[] | undefined;
3111
+ chatId?: string | undefined;
3112
+ actionTaken?: FlagActionTaken | undefined;
3113
+ assignedTo?: string | undefined;
3114
+ warningIssuedAt?: Date | undefined;
3115
+ suspensionEndsAt?: Date | undefined;
3116
+ appealedAt?: Date | undefined;
3117
+ appealNotes?: string | undefined;
3118
+ appealReviewedAt?: Date | undefined;
3119
+ appealOutcome?: "upheld" | "overturned" | undefined;
3120
+ };
3121
+ (options: import("mongoose").ToObjectOptions & {
3122
+ flattenMaps: true;
3123
+ flattenObjectIds: true;
3124
+ virtuals: false;
3125
+ }): {
3126
+ description: string;
3127
+ status: FlagStatus;
3128
+ reason: FlagReason;
3129
+ priority: import("../index.js").FlagPriority;
3130
+ targetProfileId?: string | undefined;
3131
+ messageIds?: string[] | undefined;
3132
+ createdAt: Date;
3133
+ updatedAt: Date;
3134
+ reviewedAt?: Date | undefined;
3135
+ reviewedBy?: string | undefined;
3136
+ reviewNotes?: string | undefined;
3137
+ resolution?: string | undefined;
3138
+ resolvedAt?: Date | undefined;
3139
+ resolutionNotes?: string | undefined;
3140
+ assignedAt?: Date | undefined;
3141
+ reporterAccountId: string;
3142
+ reporterProfileId?: string | undefined;
3143
+ targetType: FlagTargetType;
3144
+ targetId: string;
3145
+ targetAccountId: string;
3146
+ evidenceUrls?: string[] | undefined;
3147
+ chatId?: string | undefined;
3148
+ actionTaken?: FlagActionTaken | undefined;
3149
+ assignedTo?: string | undefined;
3150
+ warningIssuedAt?: Date | undefined;
3151
+ suspensionEndsAt?: Date | undefined;
3152
+ appealedAt?: Date | undefined;
3153
+ appealNotes?: string | undefined;
3154
+ appealReviewedAt?: Date | undefined;
3155
+ appealOutcome?: "upheld" | "overturned" | undefined;
3156
+ _id: string;
3157
+ };
3158
+ (options: import("mongoose").ToObjectOptions & {
3159
+ flattenMaps: true;
3160
+ flattenObjectIds: false;
3161
+ virtuals: false;
3162
+ versionKey: false;
3163
+ }): Omit<import("mongoose").FlattenMaps<Omit<IFlag, "id"> & {
3164
+ _id: string;
3165
+ } & Required<{
3166
+ _id: string;
3167
+ }>>, "__v">;
3168
+ (options: import("mongoose").ToObjectOptions & {
3169
+ flattenMaps: true;
3170
+ flattenObjectIds: false;
3171
+ virtuals: false;
3172
+ }): import("mongoose").FlattenMaps<Omit<IFlag, "id"> & {
3173
+ _id: string;
3174
+ } & Required<{
3175
+ _id: string;
3176
+ }>>;
3177
+ (options: import("mongoose").ToObjectOptions & {
3178
+ flattenMaps: true;
3179
+ flattenObjectIds: true;
3180
+ virtuals: true;
3181
+ }): {
3182
+ description: string;
3183
+ status: FlagStatus;
3184
+ reason: FlagReason;
3185
+ priority: import("../index.js").FlagPriority;
3186
+ targetProfileId?: string | undefined;
3187
+ messageIds?: string[] | undefined;
3188
+ createdAt: Date;
3189
+ updatedAt: Date;
3190
+ reviewedAt?: Date | undefined;
3191
+ reviewedBy?: string | undefined;
3192
+ reviewNotes?: string | undefined;
3193
+ resolution?: string | undefined;
3194
+ resolvedAt?: Date | undefined;
3195
+ resolutionNotes?: string | undefined;
3196
+ assignedAt?: Date | undefined;
3197
+ reporterAccountId: string;
3198
+ reporterProfileId?: string | undefined;
3199
+ targetType: FlagTargetType;
3200
+ targetId: string;
3201
+ targetAccountId: string;
3202
+ evidenceUrls?: string[] | undefined;
3203
+ chatId?: string | undefined;
3204
+ actionTaken?: FlagActionTaken | undefined;
3205
+ assignedTo?: string | undefined;
3206
+ warningIssuedAt?: Date | undefined;
3207
+ suspensionEndsAt?: Date | undefined;
3208
+ appealedAt?: Date | undefined;
3209
+ appealNotes?: string | undefined;
3210
+ appealReviewedAt?: Date | undefined;
3211
+ appealOutcome?: "upheld" | "overturned" | undefined;
3212
+ _id: string;
3213
+ };
3214
+ (options: import("mongoose").ToObjectOptions & {
3215
+ flattenMaps: true;
3216
+ flattenObjectIds: true;
3217
+ }): {
3218
+ description: string;
3219
+ status: FlagStatus;
3220
+ reason: FlagReason;
3221
+ priority: import("../index.js").FlagPriority;
3222
+ targetProfileId?: string | undefined;
3223
+ messageIds?: string[] | undefined;
3224
+ createdAt: Date;
3225
+ updatedAt: Date;
3226
+ reviewedAt?: Date | undefined;
3227
+ reviewedBy?: string | undefined;
3228
+ reviewNotes?: string | undefined;
3229
+ resolution?: string | undefined;
3230
+ resolvedAt?: Date | undefined;
3231
+ resolutionNotes?: string | undefined;
3232
+ assignedAt?: Date | undefined;
3233
+ reporterAccountId: string;
3234
+ reporterProfileId?: string | undefined;
3235
+ targetType: FlagTargetType;
3236
+ targetId: string;
3237
+ targetAccountId: string;
3238
+ evidenceUrls?: string[] | undefined;
3239
+ chatId?: string | undefined;
3240
+ actionTaken?: FlagActionTaken | undefined;
3241
+ assignedTo?: string | undefined;
3242
+ warningIssuedAt?: Date | undefined;
3243
+ suspensionEndsAt?: Date | undefined;
3244
+ appealedAt?: Date | undefined;
3245
+ appealNotes?: string | undefined;
3246
+ appealReviewedAt?: Date | undefined;
3247
+ appealOutcome?: "upheld" | "overturned" | undefined;
3248
+ _id: string;
3249
+ };
3250
+ (options: import("mongoose").ToObjectOptions & {
3251
+ flattenObjectIds: true;
3252
+ virtuals: true;
3253
+ }): {
3254
+ description: string;
3255
+ status: FlagStatus;
3256
+ reason: FlagReason;
3257
+ priority: import("../index.js").FlagPriority;
3258
+ targetProfileId?: string | undefined;
3259
+ messageIds?: string[] | undefined;
3260
+ createdAt: Date;
3261
+ updatedAt: Date;
3262
+ reviewedAt?: Date | undefined;
3263
+ reviewedBy?: string | undefined;
3264
+ reviewNotes?: string | undefined;
3265
+ resolution?: string | undefined;
3266
+ resolvedAt?: Date | undefined;
3267
+ resolutionNotes?: string | undefined;
3268
+ assignedAt?: Date | undefined;
3269
+ reporterAccountId: string;
3270
+ reporterProfileId?: string | undefined;
3271
+ targetType: FlagTargetType;
3272
+ targetId: string;
3273
+ targetAccountId: string;
3274
+ evidenceUrls?: string[] | undefined;
3275
+ chatId?: string | undefined;
3276
+ actionTaken?: FlagActionTaken | undefined;
3277
+ assignedTo?: string | undefined;
3278
+ warningIssuedAt?: Date | undefined;
3279
+ suspensionEndsAt?: Date | undefined;
3280
+ appealedAt?: Date | undefined;
3281
+ appealNotes?: string | undefined;
3282
+ appealReviewedAt?: Date | undefined;
3283
+ appealOutcome?: "upheld" | "overturned" | undefined;
3284
+ _id: string;
3285
+ };
3286
+ (options: import("mongoose").ToObjectOptions & {
3287
+ flattenObjectIds: true;
3288
+ }): {
3289
+ description: string;
3290
+ status: FlagStatus;
3291
+ reason: FlagReason;
3292
+ priority: import("../index.js").FlagPriority;
3293
+ targetProfileId?: string | undefined;
3294
+ messageIds?: string[] | undefined;
3295
+ createdAt: Date;
3296
+ updatedAt: Date;
3297
+ reviewedAt?: Date | undefined;
3298
+ reviewedBy?: string | undefined;
3299
+ reviewNotes?: string | undefined;
3300
+ resolution?: string | undefined;
3301
+ resolvedAt?: Date | undefined;
3302
+ resolutionNotes?: string | undefined;
3303
+ assignedAt?: Date | undefined;
3304
+ reporterAccountId: string;
3305
+ reporterProfileId?: string | undefined;
3306
+ targetType: FlagTargetType;
3307
+ targetId: string;
3308
+ targetAccountId: string;
3309
+ evidenceUrls?: string[] | undefined;
3310
+ chatId?: string | undefined;
3311
+ actionTaken?: FlagActionTaken | undefined;
3312
+ assignedTo?: string | undefined;
3313
+ warningIssuedAt?: Date | undefined;
3314
+ suspensionEndsAt?: Date | undefined;
3315
+ appealedAt?: Date | undefined;
3316
+ appealNotes?: string | undefined;
3317
+ appealReviewedAt?: Date | undefined;
3318
+ appealOutcome?: "upheld" | "overturned" | undefined;
3319
+ _id: string;
3320
+ };
3321
+ (options: import("mongoose").ToObjectOptions & {
3322
+ flattenMaps: true;
3323
+ virtuals: true;
3324
+ }): import("mongoose").FlattenMaps<Omit<IFlag, "id"> & {
3325
+ _id: string;
3326
+ } & Required<{
3327
+ _id: string;
3328
+ }>>;
3329
+ (options: import("mongoose").ToObjectOptions & {
3330
+ flattenMaps: true;
3331
+ }): import("mongoose").FlattenMaps<Omit<IFlag, "id"> & {
3332
+ _id: string;
3333
+ } & Required<{
3334
+ _id: string;
3335
+ }>>;
3336
+ (options: import("mongoose").ToObjectOptions & {
3337
+ versionKey: false;
3338
+ flattenMaps: true;
3339
+ flattenObjectIds: true;
3340
+ virtuals: true;
3341
+ }): {
3342
+ description: string;
3343
+ status: FlagStatus;
3344
+ reason: FlagReason;
3345
+ priority: import("../index.js").FlagPriority;
3346
+ targetProfileId?: string | undefined;
3347
+ messageIds?: string[] | undefined;
3348
+ createdAt: Date;
3349
+ updatedAt: Date;
3350
+ _id: string;
3351
+ reviewedAt?: Date | undefined;
3352
+ reviewedBy?: string | undefined;
3353
+ reviewNotes?: string | undefined;
3354
+ resolution?: string | undefined;
3355
+ resolvedAt?: Date | undefined;
3356
+ resolutionNotes?: string | undefined;
3357
+ assignedAt?: Date | undefined;
3358
+ reporterAccountId: string;
3359
+ reporterProfileId?: string | undefined;
3360
+ targetType: FlagTargetType;
3361
+ targetId: string;
3362
+ targetAccountId: string;
3363
+ evidenceUrls?: string[] | undefined;
3364
+ chatId?: string | undefined;
3365
+ actionTaken?: FlagActionTaken | undefined;
3366
+ assignedTo?: string | undefined;
3367
+ warningIssuedAt?: Date | undefined;
3368
+ suspensionEndsAt?: Date | undefined;
3369
+ appealedAt?: Date | undefined;
3370
+ appealNotes?: string | undefined;
3371
+ appealReviewedAt?: Date | undefined;
3372
+ appealOutcome?: "upheld" | "overturned" | undefined;
3373
+ };
3374
+ (options: import("mongoose").ToObjectOptions & {
3375
+ versionKey: false;
3376
+ flattenMaps: false;
3377
+ flattenObjectIds: true;
3378
+ virtuals: true;
3379
+ }): {
3380
+ description: string;
3381
+ status: FlagStatus;
3382
+ reason: FlagReason;
3383
+ priority: import("../index.js").FlagPriority;
3384
+ targetProfileId?: string | undefined;
3385
+ messageIds?: string[] | undefined;
3386
+ createdAt: Date;
3387
+ updatedAt: Date;
3388
+ _id: string;
3389
+ reviewedAt?: Date | undefined;
3390
+ reviewedBy?: string | undefined;
3391
+ reviewNotes?: string | undefined;
3392
+ resolution?: string | undefined;
3393
+ resolvedAt?: Date | undefined;
3394
+ resolutionNotes?: string | undefined;
3395
+ assignedAt?: Date | undefined;
3396
+ reporterAccountId: string;
3397
+ reporterProfileId?: string | undefined;
3398
+ targetType: FlagTargetType;
3399
+ targetId: string;
3400
+ targetAccountId: string;
3401
+ evidenceUrls?: string[] | undefined;
3402
+ chatId?: string | undefined;
3403
+ actionTaken?: FlagActionTaken | undefined;
3404
+ assignedTo?: string | undefined;
3405
+ warningIssuedAt?: Date | undefined;
3406
+ suspensionEndsAt?: Date | undefined;
3407
+ appealedAt?: Date | undefined;
3408
+ appealNotes?: string | undefined;
3409
+ appealReviewedAt?: Date | undefined;
3410
+ appealOutcome?: "upheld" | "overturned" | undefined;
3411
+ };
3412
+ (options: import("mongoose").ToObjectOptions & {
3413
+ versionKey: false;
3414
+ flattenMaps: true;
3415
+ virtuals: true;
3416
+ }): Omit<import("mongoose").FlattenMaps<Omit<IFlag, "id"> & {
3417
+ _id: string;
3418
+ } & Required<{
3419
+ _id: string;
3420
+ }>>, "__v">;
3421
+ (options: import("mongoose").ToObjectOptions & {
3422
+ versionKey: false;
3423
+ flattenObjectIds: true;
3424
+ virtuals: true;
3425
+ }): {
3426
+ description: string;
3427
+ status: FlagStatus;
3428
+ reason: FlagReason;
3429
+ priority: import("../index.js").FlagPriority;
3430
+ targetProfileId?: string | undefined;
3431
+ messageIds?: string[] | undefined;
3432
+ createdAt: Date;
3433
+ updatedAt: Date;
3434
+ _id: string;
3435
+ reviewedAt?: Date | undefined;
3436
+ reviewedBy?: string | undefined;
3437
+ reviewNotes?: string | undefined;
3438
+ resolution?: string | undefined;
3439
+ resolvedAt?: Date | undefined;
3440
+ resolutionNotes?: string | undefined;
3441
+ assignedAt?: Date | undefined;
3442
+ reporterAccountId: string;
3443
+ reporterProfileId?: string | undefined;
3444
+ targetType: FlagTargetType;
3445
+ targetId: string;
3446
+ targetAccountId: string;
3447
+ evidenceUrls?: string[] | undefined;
3448
+ chatId?: string | undefined;
3449
+ actionTaken?: FlagActionTaken | undefined;
3450
+ assignedTo?: string | undefined;
3451
+ warningIssuedAt?: Date | undefined;
3452
+ suspensionEndsAt?: Date | undefined;
3453
+ appealedAt?: Date | undefined;
3454
+ appealNotes?: string | undefined;
3455
+ appealReviewedAt?: Date | undefined;
3456
+ appealOutcome?: "upheld" | "overturned" | undefined;
3457
+ };
3458
+ (options: import("mongoose").ToObjectOptions & {
3459
+ versionKey: false;
3460
+ virtuals: true;
3461
+ }): Omit<Omit<IFlag, "id"> & {
3462
+ _id: string;
3463
+ } & Required<{
3464
+ _id: string;
3465
+ }>, "__v">;
3466
+ (options: import("mongoose").ToObjectOptions & {
3467
+ versionKey: false;
3468
+ flattenMaps: true;
3469
+ flattenObjectIds: true;
3470
+ }): {
3471
+ description: string;
3472
+ status: FlagStatus;
3473
+ reason: FlagReason;
3474
+ priority: import("../index.js").FlagPriority;
3475
+ targetProfileId?: string | undefined;
3476
+ messageIds?: string[] | undefined;
3477
+ createdAt: Date;
3478
+ updatedAt: Date;
3479
+ _id: string;
3480
+ reviewedAt?: Date | undefined;
3481
+ reviewedBy?: string | undefined;
3482
+ reviewNotes?: string | undefined;
3483
+ resolution?: string | undefined;
3484
+ resolvedAt?: Date | undefined;
3485
+ resolutionNotes?: string | undefined;
3486
+ assignedAt?: Date | undefined;
3487
+ reporterAccountId: string;
3488
+ reporterProfileId?: string | undefined;
3489
+ targetType: FlagTargetType;
3490
+ targetId: string;
3491
+ targetAccountId: string;
3492
+ evidenceUrls?: string[] | undefined;
3493
+ chatId?: string | undefined;
3494
+ actionTaken?: FlagActionTaken | undefined;
3495
+ assignedTo?: string | undefined;
3496
+ warningIssuedAt?: Date | undefined;
3497
+ suspensionEndsAt?: Date | undefined;
3498
+ appealedAt?: Date | undefined;
3499
+ appealNotes?: string | undefined;
3500
+ appealReviewedAt?: Date | undefined;
3501
+ appealOutcome?: "upheld" | "overturned" | undefined;
3502
+ };
3503
+ (options: import("mongoose").ToObjectOptions & {
3504
+ versionKey: false;
3505
+ flattenObjectIds: true;
3506
+ }): {
3507
+ description: string;
3508
+ status: FlagStatus;
3509
+ reason: FlagReason;
3510
+ priority: import("../index.js").FlagPriority;
3511
+ targetProfileId?: string | undefined;
3512
+ messageIds?: string[] | undefined;
3513
+ createdAt: Date;
3514
+ updatedAt: Date;
3515
+ _id: string;
3516
+ reviewedAt?: Date | undefined;
3517
+ reviewedBy?: string | undefined;
3518
+ reviewNotes?: string | undefined;
3519
+ resolution?: string | undefined;
3520
+ resolvedAt?: Date | undefined;
3521
+ resolutionNotes?: string | undefined;
3522
+ assignedAt?: Date | undefined;
3523
+ reporterAccountId: string;
3524
+ reporterProfileId?: string | undefined;
3525
+ targetType: FlagTargetType;
3526
+ targetId: string;
3527
+ targetAccountId: string;
3528
+ evidenceUrls?: string[] | undefined;
3529
+ chatId?: string | undefined;
3530
+ actionTaken?: FlagActionTaken | undefined;
3531
+ assignedTo?: string | undefined;
3532
+ warningIssuedAt?: Date | undefined;
3533
+ suspensionEndsAt?: Date | undefined;
3534
+ appealedAt?: Date | undefined;
3535
+ appealNotes?: string | undefined;
3536
+ appealReviewedAt?: Date | undefined;
3537
+ appealOutcome?: "upheld" | "overturned" | undefined;
3538
+ };
3539
+ (options: import("mongoose").ToObjectOptions & {
3540
+ versionKey: false;
3541
+ flattenMaps: true;
3542
+ }): Omit<import("mongoose").FlattenMaps<Omit<IFlag, "id"> & {
3543
+ _id: string;
3544
+ } & Required<{
3545
+ _id: string;
3546
+ }>>, "__v">;
3547
+ (options: import("mongoose").ToObjectOptions & {
3548
+ versionKey: false;
3549
+ }): Omit<Omit<IFlag, "id"> & {
3550
+ _id: string;
3551
+ } & Required<{
3552
+ _id: string;
3553
+ }>, "__v">;
3554
+ (options: import("mongoose").ToObjectOptions & {
3555
+ virtuals: true;
3556
+ }): Omit<IFlag, "id"> & {
3557
+ _id: string;
3558
+ } & Required<{
3559
+ _id: string;
3560
+ }>;
3561
+ (options?: import("mongoose").ToObjectOptions): Omit<IFlag, "id"> & {
3562
+ _id: string;
3563
+ } & Required<{
3564
+ _id: string;
3565
+ }> & {
3566
+ __v: number;
3567
+ };
3568
+ <T>(options?: import("mongoose").ToObjectOptions): import("mongoose").Require_id<T> & {
3569
+ __v: number;
3570
+ };
3571
+ }, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
3572
+ _id: string;
3573
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
3574
+ _id: string;
3575
+ } & Required<{
3576
+ _id: string;
3577
+ }> & {
3578
+ __v: number;
3579
+ } & {
3580
+ id: string;
3581
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
3582
+ _id: string;
3583
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
3584
+ _id: string;
3585
+ } & Required<{
3586
+ _id: string;
3587
+ }> & {
3588
+ __v: number;
3589
+ } & {
3590
+ id: string;
3591
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
3592
+ _id: string;
3593
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
3594
+ _id: string;
3595
+ } & Required<{
3596
+ _id: string;
3597
+ }> & {
3598
+ __v: number;
3599
+ } & {
3600
+ id: string;
3601
+ }> | undefined;
3602
+ unmarkModified?: import("mongoose").SchemaDefinitionProperty<{
3603
+ <T extends "description" | "status" | "reason" | "priority" | "targetProfileId" | "messageIds" | "createdAt" | "updatedAt" | "_id" | "reviewedAt" | "reviewedBy" | "reviewNotes" | "resolution" | "resolvedAt" | "resolutionNotes" | "assignedAt" | "reporterAccountId" | "reporterProfileId" | "targetType" | "targetId" | "targetAccountId" | "evidenceUrls" | "chatId" | "actionTaken" | "assignedTo" | "warningIssuedAt" | "suspensionEndsAt" | "appealedAt" | "appealNotes" | "appealReviewedAt" | "appealOutcome">(path: T): void;
3604
+ (path: string): void;
3605
+ }, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
3606
+ _id: string;
3607
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
3608
+ _id: string;
3609
+ } & Required<{
3610
+ _id: string;
3611
+ }> & {
3612
+ __v: number;
3613
+ } & {
3614
+ id: string;
3615
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
3616
+ _id: string;
3617
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
3618
+ _id: string;
3619
+ } & Required<{
3620
+ _id: string;
3621
+ }> & {
3622
+ __v: number;
3623
+ } & {
3624
+ id: string;
3625
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
3626
+ _id: string;
3627
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
3628
+ _id: string;
3629
+ } & Required<{
3630
+ _id: string;
3631
+ }> & {
3632
+ __v: number;
3633
+ } & {
3634
+ id: string;
3635
+ }> | undefined;
3636
+ updateOne?: import("mongoose").SchemaDefinitionProperty<(update?: import("mongoose").UpdateWithAggregationPipeline | import("mongoose").UpdateQuery<import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
3637
+ _id: string;
3638
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
3639
+ _id: string;
3640
+ } & Required<{
3641
+ _id: string;
3642
+ }> & {
3643
+ __v: number;
3644
+ } & {
3645
+ id: string;
3646
+ }> | undefined, options?: import("mongoose").QueryOptions | null) => import("mongoose").Query<any, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
3647
+ _id: string;
3648
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
3649
+ _id: string;
3650
+ } & Required<{
3651
+ _id: string;
3652
+ }> & {
3653
+ __v: number;
3654
+ } & {
3655
+ id: string;
3656
+ }, {}, unknown, "find", Record<string, never>>, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
3657
+ _id: string;
3658
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
3659
+ _id: string;
3660
+ } & Required<{
3661
+ _id: string;
3662
+ }> & {
3663
+ __v: number;
3664
+ } & {
3665
+ id: string;
3666
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
3667
+ _id: string;
3668
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
3669
+ _id: string;
3670
+ } & Required<{
3671
+ _id: string;
3672
+ }> & {
3673
+ __v: number;
3674
+ } & {
3675
+ id: string;
3676
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
3677
+ _id: string;
3678
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
3679
+ _id: string;
3680
+ } & Required<{
3681
+ _id: string;
3682
+ }> & {
3683
+ __v: number;
3684
+ } & {
3685
+ id: string;
3686
+ }> | undefined;
3687
+ validate?: import("mongoose").SchemaDefinitionProperty<{
3688
+ <T extends "description" | "status" | "reason" | "priority" | "targetProfileId" | "messageIds" | "createdAt" | "updatedAt" | "_id" | "reviewedAt" | "reviewedBy" | "reviewNotes" | "resolution" | "resolvedAt" | "resolutionNotes" | "assignedAt" | "reporterAccountId" | "reporterProfileId" | "targetType" | "targetId" | "targetAccountId" | "evidenceUrls" | "chatId" | "actionTaken" | "assignedTo" | "warningIssuedAt" | "suspensionEndsAt" | "appealedAt" | "appealNotes" | "appealReviewedAt" | "appealOutcome">(pathsToValidate?: T | T[] | undefined, options?: import("mongoose").AnyObject): Promise<void>;
3689
+ (pathsToValidate?: import("mongoose").pathsToValidate, options?: import("mongoose").AnyObject): Promise<void>;
3690
+ (options: {
3691
+ pathsToSkip?: import("mongoose").pathsToSkip;
3692
+ }): Promise<void>;
3693
+ }, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
3694
+ _id: string;
3695
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
3696
+ _id: string;
3697
+ } & Required<{
3698
+ _id: string;
3699
+ }> & {
3700
+ __v: number;
3701
+ } & {
3702
+ id: string;
3703
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
3704
+ _id: string;
3705
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
3706
+ _id: string;
3707
+ } & Required<{
3708
+ _id: string;
3709
+ }> & {
3710
+ __v: number;
3711
+ } & {
3712
+ id: string;
3713
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
3714
+ _id: string;
3715
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
3716
+ _id: string;
3717
+ } & Required<{
3718
+ _id: string;
3719
+ }> & {
3720
+ __v: number;
3721
+ } & {
3722
+ id: string;
3723
+ }> | undefined;
3724
+ validateSync?: import("mongoose").SchemaDefinitionProperty<{
3725
+ (options: {
3726
+ pathsToSkip?: import("mongoose").pathsToSkip;
3727
+ [k: string]: any;
3728
+ }): import("mongoose").Error.ValidationError | null;
3729
+ <T extends "description" | "status" | "reason" | "priority" | "targetProfileId" | "messageIds" | "createdAt" | "updatedAt" | "_id" | "reviewedAt" | "reviewedBy" | "reviewNotes" | "resolution" | "resolvedAt" | "resolutionNotes" | "assignedAt" | "reporterAccountId" | "reporterProfileId" | "targetType" | "targetId" | "targetAccountId" | "evidenceUrls" | "chatId" | "actionTaken" | "assignedTo" | "warningIssuedAt" | "suspensionEndsAt" | "appealedAt" | "appealNotes" | "appealReviewedAt" | "appealOutcome">(pathsToValidate?: T | T[] | undefined, options?: import("mongoose").AnyObject): import("mongoose").Error.ValidationError | null;
3730
+ (pathsToValidate?: import("mongoose").pathsToValidate, options?: import("mongoose").AnyObject): import("mongoose").Error.ValidationError | null;
3731
+ }, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
3732
+ _id: string;
3733
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
3734
+ _id: string;
3735
+ } & Required<{
3736
+ _id: string;
3737
+ }> & {
3738
+ __v: number;
3739
+ } & {
3740
+ id: string;
3741
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
3742
+ _id: string;
3743
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
3744
+ _id: string;
3745
+ } & Required<{
3746
+ _id: string;
3747
+ }> & {
3748
+ __v: number;
3749
+ } & {
3750
+ id: string;
3751
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
3752
+ _id: string;
3753
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
3754
+ _id: string;
3755
+ } & Required<{
3756
+ _id: string;
3757
+ }> & {
3758
+ __v: number;
3759
+ } & {
3760
+ id: string;
3761
+ }> | undefined;
3762
+ description?: import("mongoose").SchemaDefinitionProperty<string, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
3763
+ _id: string;
3764
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
3765
+ _id: string;
3766
+ } & Required<{
3767
+ _id: string;
3768
+ }> & {
3769
+ __v: number;
3770
+ } & {
3771
+ id: string;
3772
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
3773
+ _id: string;
3774
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
3775
+ _id: string;
3776
+ } & Required<{
3777
+ _id: string;
3778
+ }> & {
3779
+ __v: number;
3780
+ } & {
3781
+ id: string;
3782
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
3783
+ _id: string;
3784
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
3785
+ _id: string;
3786
+ } & Required<{
3787
+ _id: string;
3788
+ }> & {
3789
+ __v: number;
3790
+ } & {
3791
+ id: string;
3792
+ }> | undefined;
3793
+ status?: import("mongoose").SchemaDefinitionProperty<FlagStatus, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
3794
+ _id: string;
3795
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
3796
+ _id: string;
3797
+ } & Required<{
3798
+ _id: string;
3799
+ }> & {
3800
+ __v: number;
3801
+ } & {
3802
+ id: string;
3803
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
3804
+ _id: string;
3805
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
3806
+ _id: string;
3807
+ } & Required<{
3808
+ _id: string;
3809
+ }> & {
3810
+ __v: number;
3811
+ } & {
3812
+ id: string;
3813
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
3814
+ _id: string;
3815
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
3816
+ _id: string;
3817
+ } & Required<{
3818
+ _id: string;
3819
+ }> & {
3820
+ __v: number;
3821
+ } & {
3822
+ id: string;
3823
+ }> | undefined;
3824
+ reason?: import("mongoose").SchemaDefinitionProperty<FlagReason, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
3825
+ _id: string;
3826
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
3827
+ _id: string;
3828
+ } & Required<{
3829
+ _id: string;
3830
+ }> & {
3831
+ __v: number;
3832
+ } & {
3833
+ id: string;
3834
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
3835
+ _id: string;
3836
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
3837
+ _id: string;
3838
+ } & Required<{
3839
+ _id: string;
3840
+ }> & {
3841
+ __v: number;
3842
+ } & {
3843
+ id: string;
3844
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
3845
+ _id: string;
3846
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
3847
+ _id: string;
3848
+ } & Required<{
3849
+ _id: string;
3850
+ }> & {
3851
+ __v: number;
3852
+ } & {
3853
+ id: string;
3854
+ }> | undefined;
3855
+ priority?: import("mongoose").SchemaDefinitionProperty<import("../index.js").FlagPriority, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
3856
+ _id: string;
3857
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
3858
+ _id: string;
3859
+ } & Required<{
3860
+ _id: string;
3861
+ }> & {
3862
+ __v: number;
3863
+ } & {
3864
+ id: string;
3865
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
3866
+ _id: string;
3867
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
3868
+ _id: string;
3869
+ } & Required<{
3870
+ _id: string;
3871
+ }> & {
3872
+ __v: number;
3873
+ } & {
3874
+ id: string;
3875
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
3876
+ _id: string;
3877
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
3878
+ _id: string;
3879
+ } & Required<{
3880
+ _id: string;
3881
+ }> & {
3882
+ __v: number;
3883
+ } & {
3884
+ id: string;
3885
+ }> | undefined;
3886
+ targetProfileId?: import("mongoose").SchemaDefinitionProperty<string | undefined, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
3887
+ _id: string;
3888
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
3889
+ _id: string;
3890
+ } & Required<{
3891
+ _id: string;
3892
+ }> & {
3893
+ __v: number;
3894
+ } & {
3895
+ id: string;
3896
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
3897
+ _id: string;
3898
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
3899
+ _id: string;
3900
+ } & Required<{
3901
+ _id: string;
3902
+ }> & {
3903
+ __v: number;
3904
+ } & {
3905
+ id: string;
3906
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
3907
+ _id: string;
3908
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
3909
+ _id: string;
3910
+ } & Required<{
3911
+ _id: string;
3912
+ }> & {
3913
+ __v: number;
3914
+ } & {
3915
+ id: string;
3916
+ }> | undefined;
3917
+ messageIds?: import("mongoose").SchemaDefinitionProperty<string[] | undefined, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
3918
+ _id: string;
3919
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
3920
+ _id: string;
3921
+ } & Required<{
3922
+ _id: string;
3923
+ }> & {
3924
+ __v: number;
3925
+ } & {
3926
+ id: string;
3927
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
3928
+ _id: string;
3929
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
3930
+ _id: string;
3931
+ } & Required<{
3932
+ _id: string;
3933
+ }> & {
3934
+ __v: number;
3935
+ } & {
3936
+ id: string;
3937
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
3938
+ _id: string;
3939
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
3940
+ _id: string;
3941
+ } & Required<{
3942
+ _id: string;
3943
+ }> & {
3944
+ __v: number;
3945
+ } & {
3946
+ id: string;
3947
+ }> | undefined;
3948
+ createdAt?: import("mongoose").SchemaDefinitionProperty<Date, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
3949
+ _id: string;
3950
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
3951
+ _id: string;
3952
+ } & Required<{
3953
+ _id: string;
3954
+ }> & {
3955
+ __v: number;
3956
+ } & {
3957
+ id: string;
3958
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
3959
+ _id: string;
3960
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
3961
+ _id: string;
3962
+ } & Required<{
3963
+ _id: string;
3964
+ }> & {
3965
+ __v: number;
3966
+ } & {
3967
+ id: string;
3968
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
3969
+ _id: string;
3970
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
3971
+ _id: string;
3972
+ } & Required<{
3973
+ _id: string;
3974
+ }> & {
3975
+ __v: number;
3976
+ } & {
3977
+ id: string;
3978
+ }> | undefined;
3979
+ updatedAt?: import("mongoose").SchemaDefinitionProperty<Date, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
3980
+ _id: string;
3981
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
3982
+ _id: string;
3983
+ } & Required<{
3984
+ _id: string;
3985
+ }> & {
3986
+ __v: number;
3987
+ } & {
3988
+ id: string;
3989
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
3990
+ _id: string;
3991
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
3992
+ _id: string;
3993
+ } & Required<{
3994
+ _id: string;
3995
+ }> & {
3996
+ __v: number;
3997
+ } & {
3998
+ id: string;
3999
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
4000
+ _id: string;
4001
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
4002
+ _id: string;
4003
+ } & Required<{
4004
+ _id: string;
4005
+ }> & {
4006
+ __v: number;
4007
+ } & {
4008
+ id: string;
4009
+ }> | undefined;
4010
+ reviewedAt?: import("mongoose").SchemaDefinitionProperty<Date | undefined, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
4011
+ _id: string;
4012
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
4013
+ _id: string;
4014
+ } & Required<{
4015
+ _id: string;
4016
+ }> & {
4017
+ __v: number;
4018
+ } & {
4019
+ id: string;
4020
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
4021
+ _id: string;
4022
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
4023
+ _id: string;
4024
+ } & Required<{
4025
+ _id: string;
4026
+ }> & {
4027
+ __v: number;
4028
+ } & {
4029
+ id: string;
4030
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
4031
+ _id: string;
4032
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
4033
+ _id: string;
4034
+ } & Required<{
4035
+ _id: string;
4036
+ }> & {
4037
+ __v: number;
4038
+ } & {
4039
+ id: string;
4040
+ }> | undefined;
4041
+ reviewedBy?: import("mongoose").SchemaDefinitionProperty<string | undefined, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
4042
+ _id: string;
4043
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
4044
+ _id: string;
4045
+ } & Required<{
4046
+ _id: string;
4047
+ }> & {
4048
+ __v: number;
4049
+ } & {
4050
+ id: string;
4051
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
4052
+ _id: string;
4053
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
4054
+ _id: string;
4055
+ } & Required<{
4056
+ _id: string;
4057
+ }> & {
4058
+ __v: number;
4059
+ } & {
4060
+ id: string;
4061
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
4062
+ _id: string;
4063
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
4064
+ _id: string;
4065
+ } & Required<{
4066
+ _id: string;
4067
+ }> & {
4068
+ __v: number;
4069
+ } & {
4070
+ id: string;
4071
+ }> | undefined;
4072
+ reviewNotes?: import("mongoose").SchemaDefinitionProperty<string | undefined, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
4073
+ _id: string;
4074
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
4075
+ _id: string;
4076
+ } & Required<{
4077
+ _id: string;
4078
+ }> & {
4079
+ __v: number;
4080
+ } & {
4081
+ id: string;
4082
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
4083
+ _id: string;
4084
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
4085
+ _id: string;
4086
+ } & Required<{
4087
+ _id: string;
4088
+ }> & {
4089
+ __v: number;
4090
+ } & {
4091
+ id: string;
4092
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
4093
+ _id: string;
4094
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
4095
+ _id: string;
4096
+ } & Required<{
4097
+ _id: string;
4098
+ }> & {
4099
+ __v: number;
4100
+ } & {
4101
+ id: string;
4102
+ }> | undefined;
4103
+ resolution?: import("mongoose").SchemaDefinitionProperty<string | undefined, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
4104
+ _id: string;
4105
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
4106
+ _id: string;
4107
+ } & Required<{
4108
+ _id: string;
4109
+ }> & {
4110
+ __v: number;
4111
+ } & {
4112
+ id: string;
4113
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
4114
+ _id: string;
4115
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
4116
+ _id: string;
4117
+ } & Required<{
4118
+ _id: string;
4119
+ }> & {
4120
+ __v: number;
4121
+ } & {
4122
+ id: string;
4123
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
4124
+ _id: string;
4125
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
4126
+ _id: string;
4127
+ } & Required<{
4128
+ _id: string;
4129
+ }> & {
4130
+ __v: number;
4131
+ } & {
4132
+ id: string;
4133
+ }> | undefined;
4134
+ resolvedAt?: import("mongoose").SchemaDefinitionProperty<Date | undefined, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
4135
+ _id: string;
4136
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
4137
+ _id: string;
4138
+ } & Required<{
4139
+ _id: string;
4140
+ }> & {
4141
+ __v: number;
4142
+ } & {
4143
+ id: string;
4144
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
4145
+ _id: string;
4146
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
4147
+ _id: string;
4148
+ } & Required<{
4149
+ _id: string;
4150
+ }> & {
4151
+ __v: number;
4152
+ } & {
4153
+ id: string;
4154
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
4155
+ _id: string;
4156
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
4157
+ _id: string;
4158
+ } & Required<{
4159
+ _id: string;
4160
+ }> & {
4161
+ __v: number;
4162
+ } & {
4163
+ id: string;
4164
+ }> | undefined;
4165
+ resolutionNotes?: import("mongoose").SchemaDefinitionProperty<string | undefined, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
4166
+ _id: string;
4167
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
4168
+ _id: string;
4169
+ } & Required<{
4170
+ _id: string;
4171
+ }> & {
4172
+ __v: number;
4173
+ } & {
4174
+ id: string;
4175
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
4176
+ _id: string;
4177
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
4178
+ _id: string;
4179
+ } & Required<{
4180
+ _id: string;
4181
+ }> & {
4182
+ __v: number;
4183
+ } & {
4184
+ id: string;
4185
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
4186
+ _id: string;
4187
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
4188
+ _id: string;
4189
+ } & Required<{
4190
+ _id: string;
4191
+ }> & {
4192
+ __v: number;
4193
+ } & {
4194
+ id: string;
4195
+ }> | undefined;
4196
+ assignedAt?: import("mongoose").SchemaDefinitionProperty<Date | undefined, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
4197
+ _id: string;
4198
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
4199
+ _id: string;
4200
+ } & Required<{
4201
+ _id: string;
4202
+ }> & {
4203
+ __v: number;
4204
+ } & {
4205
+ id: string;
4206
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
4207
+ _id: string;
4208
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
4209
+ _id: string;
4210
+ } & Required<{
4211
+ _id: string;
4212
+ }> & {
4213
+ __v: number;
4214
+ } & {
4215
+ id: string;
4216
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
4217
+ _id: string;
4218
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
4219
+ _id: string;
4220
+ } & Required<{
4221
+ _id: string;
4222
+ }> & {
4223
+ __v: number;
4224
+ } & {
4225
+ id: string;
4226
+ }> | undefined;
4227
+ reporterAccountId?: import("mongoose").SchemaDefinitionProperty<string, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
4228
+ _id: string;
4229
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
4230
+ _id: string;
4231
+ } & Required<{
4232
+ _id: string;
4233
+ }> & {
4234
+ __v: number;
4235
+ } & {
4236
+ id: string;
4237
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
4238
+ _id: string;
4239
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
4240
+ _id: string;
4241
+ } & Required<{
4242
+ _id: string;
4243
+ }> & {
4244
+ __v: number;
4245
+ } & {
4246
+ id: string;
4247
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
4248
+ _id: string;
4249
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
4250
+ _id: string;
4251
+ } & Required<{
4252
+ _id: string;
4253
+ }> & {
4254
+ __v: number;
4255
+ } & {
4256
+ id: string;
4257
+ }> | undefined;
4258
+ reporterProfileId?: import("mongoose").SchemaDefinitionProperty<string | undefined, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
4259
+ _id: string;
4260
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
4261
+ _id: string;
4262
+ } & Required<{
4263
+ _id: string;
4264
+ }> & {
4265
+ __v: number;
4266
+ } & {
4267
+ id: string;
4268
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
4269
+ _id: string;
4270
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
4271
+ _id: string;
4272
+ } & Required<{
4273
+ _id: string;
4274
+ }> & {
4275
+ __v: number;
4276
+ } & {
4277
+ id: string;
4278
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
4279
+ _id: string;
4280
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
4281
+ _id: string;
4282
+ } & Required<{
4283
+ _id: string;
4284
+ }> & {
4285
+ __v: number;
4286
+ } & {
4287
+ id: string;
4288
+ }> | undefined;
4289
+ targetType?: import("mongoose").SchemaDefinitionProperty<FlagTargetType, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
4290
+ _id: string;
4291
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
4292
+ _id: string;
4293
+ } & Required<{
4294
+ _id: string;
4295
+ }> & {
4296
+ __v: number;
4297
+ } & {
4298
+ id: string;
4299
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
4300
+ _id: string;
4301
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
4302
+ _id: string;
4303
+ } & Required<{
4304
+ _id: string;
4305
+ }> & {
4306
+ __v: number;
4307
+ } & {
4308
+ id: string;
4309
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
4310
+ _id: string;
4311
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
4312
+ _id: string;
4313
+ } & Required<{
4314
+ _id: string;
4315
+ }> & {
4316
+ __v: number;
4317
+ } & {
4318
+ id: string;
4319
+ }> | undefined;
4320
+ targetId?: import("mongoose").SchemaDefinitionProperty<string, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
4321
+ _id: string;
4322
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
4323
+ _id: string;
4324
+ } & Required<{
4325
+ _id: string;
4326
+ }> & {
4327
+ __v: number;
4328
+ } & {
4329
+ id: string;
4330
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
4331
+ _id: string;
4332
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
4333
+ _id: string;
4334
+ } & Required<{
4335
+ _id: string;
4336
+ }> & {
4337
+ __v: number;
4338
+ } & {
4339
+ id: string;
4340
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
4341
+ _id: string;
4342
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
4343
+ _id: string;
4344
+ } & Required<{
4345
+ _id: string;
4346
+ }> & {
4347
+ __v: number;
4348
+ } & {
4349
+ id: string;
4350
+ }> | undefined;
4351
+ targetAccountId?: import("mongoose").SchemaDefinitionProperty<string, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
4352
+ _id: string;
4353
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
4354
+ _id: string;
4355
+ } & Required<{
4356
+ _id: string;
4357
+ }> & {
4358
+ __v: number;
4359
+ } & {
4360
+ id: string;
4361
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
4362
+ _id: string;
4363
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
4364
+ _id: string;
4365
+ } & Required<{
4366
+ _id: string;
4367
+ }> & {
4368
+ __v: number;
4369
+ } & {
4370
+ id: string;
4371
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
4372
+ _id: string;
4373
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
4374
+ _id: string;
4375
+ } & Required<{
4376
+ _id: string;
4377
+ }> & {
4378
+ __v: number;
4379
+ } & {
4380
+ id: string;
4381
+ }> | undefined;
4382
+ evidenceUrls?: import("mongoose").SchemaDefinitionProperty<string[] | undefined, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
4383
+ _id: string;
4384
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
4385
+ _id: string;
4386
+ } & Required<{
4387
+ _id: string;
4388
+ }> & {
4389
+ __v: number;
4390
+ } & {
4391
+ id: string;
4392
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
4393
+ _id: string;
4394
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
4395
+ _id: string;
4396
+ } & Required<{
4397
+ _id: string;
4398
+ }> & {
4399
+ __v: number;
4400
+ } & {
4401
+ id: string;
4402
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
4403
+ _id: string;
4404
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
4405
+ _id: string;
4406
+ } & Required<{
4407
+ _id: string;
4408
+ }> & {
4409
+ __v: number;
4410
+ } & {
4411
+ id: string;
4412
+ }> | undefined;
4413
+ chatId?: import("mongoose").SchemaDefinitionProperty<string | undefined, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
4414
+ _id: string;
4415
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
4416
+ _id: string;
4417
+ } & Required<{
4418
+ _id: string;
4419
+ }> & {
4420
+ __v: number;
4421
+ } & {
4422
+ id: string;
4423
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
4424
+ _id: string;
4425
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
4426
+ _id: string;
4427
+ } & Required<{
4428
+ _id: string;
4429
+ }> & {
4430
+ __v: number;
4431
+ } & {
4432
+ id: string;
4433
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
4434
+ _id: string;
4435
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
4436
+ _id: string;
4437
+ } & Required<{
4438
+ _id: string;
4439
+ }> & {
4440
+ __v: number;
4441
+ } & {
4442
+ id: string;
4443
+ }> | undefined;
4444
+ actionTaken?: import("mongoose").SchemaDefinitionProperty<FlagActionTaken | undefined, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
4445
+ _id: string;
4446
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
4447
+ _id: string;
4448
+ } & Required<{
4449
+ _id: string;
4450
+ }> & {
4451
+ __v: number;
4452
+ } & {
4453
+ id: string;
4454
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
4455
+ _id: string;
4456
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
4457
+ _id: string;
4458
+ } & Required<{
4459
+ _id: string;
4460
+ }> & {
4461
+ __v: number;
4462
+ } & {
4463
+ id: string;
4464
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
4465
+ _id: string;
4466
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
4467
+ _id: string;
4468
+ } & Required<{
4469
+ _id: string;
4470
+ }> & {
4471
+ __v: number;
4472
+ } & {
4473
+ id: string;
4474
+ }> | undefined;
4475
+ assignedTo?: import("mongoose").SchemaDefinitionProperty<string | undefined, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
4476
+ _id: string;
4477
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
4478
+ _id: string;
4479
+ } & Required<{
4480
+ _id: string;
4481
+ }> & {
4482
+ __v: number;
4483
+ } & {
4484
+ id: string;
4485
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
4486
+ _id: string;
4487
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
4488
+ _id: string;
4489
+ } & Required<{
4490
+ _id: string;
4491
+ }> & {
4492
+ __v: number;
4493
+ } & {
4494
+ id: string;
4495
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
4496
+ _id: string;
4497
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
4498
+ _id: string;
4499
+ } & Required<{
4500
+ _id: string;
4501
+ }> & {
4502
+ __v: number;
4503
+ } & {
4504
+ id: string;
4505
+ }> | undefined;
4506
+ warningIssuedAt?: import("mongoose").SchemaDefinitionProperty<Date | undefined, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
4507
+ _id: string;
4508
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
4509
+ _id: string;
4510
+ } & Required<{
4511
+ _id: string;
4512
+ }> & {
4513
+ __v: number;
4514
+ } & {
4515
+ id: string;
4516
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
4517
+ _id: string;
4518
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
4519
+ _id: string;
4520
+ } & Required<{
4521
+ _id: string;
4522
+ }> & {
4523
+ __v: number;
4524
+ } & {
4525
+ id: string;
4526
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
4527
+ _id: string;
4528
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
4529
+ _id: string;
4530
+ } & Required<{
4531
+ _id: string;
4532
+ }> & {
4533
+ __v: number;
4534
+ } & {
4535
+ id: string;
4536
+ }> | undefined;
4537
+ suspensionEndsAt?: import("mongoose").SchemaDefinitionProperty<Date | undefined, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
4538
+ _id: string;
4539
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
4540
+ _id: string;
4541
+ } & Required<{
4542
+ _id: string;
4543
+ }> & {
4544
+ __v: number;
4545
+ } & {
4546
+ id: string;
4547
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
4548
+ _id: string;
4549
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
4550
+ _id: string;
4551
+ } & Required<{
4552
+ _id: string;
4553
+ }> & {
4554
+ __v: number;
4555
+ } & {
4556
+ id: string;
4557
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
4558
+ _id: string;
4559
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
4560
+ _id: string;
4561
+ } & Required<{
4562
+ _id: string;
4563
+ }> & {
4564
+ __v: number;
4565
+ } & {
4566
+ id: string;
4567
+ }> | undefined;
4568
+ appealedAt?: import("mongoose").SchemaDefinitionProperty<Date | undefined, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
4569
+ _id: string;
4570
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
4571
+ _id: string;
4572
+ } & Required<{
4573
+ _id: string;
4574
+ }> & {
4575
+ __v: number;
4576
+ } & {
4577
+ id: string;
4578
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
4579
+ _id: string;
4580
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
4581
+ _id: string;
4582
+ } & Required<{
4583
+ _id: string;
4584
+ }> & {
4585
+ __v: number;
4586
+ } & {
4587
+ id: string;
4588
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
4589
+ _id: string;
4590
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
4591
+ _id: string;
4592
+ } & Required<{
4593
+ _id: string;
4594
+ }> & {
4595
+ __v: number;
4596
+ } & {
4597
+ id: string;
4598
+ }> | undefined;
4599
+ appealNotes?: import("mongoose").SchemaDefinitionProperty<string | undefined, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
4600
+ _id: string;
4601
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
4602
+ _id: string;
4603
+ } & Required<{
4604
+ _id: string;
4605
+ }> & {
4606
+ __v: number;
4607
+ } & {
4608
+ id: string;
4609
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
4610
+ _id: string;
4611
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
4612
+ _id: string;
4613
+ } & Required<{
4614
+ _id: string;
4615
+ }> & {
4616
+ __v: number;
4617
+ } & {
4618
+ id: string;
4619
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
4620
+ _id: string;
4621
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
4622
+ _id: string;
4623
+ } & Required<{
4624
+ _id: string;
4625
+ }> & {
4626
+ __v: number;
4627
+ } & {
4628
+ id: string;
4629
+ }> | undefined;
4630
+ appealReviewedAt?: import("mongoose").SchemaDefinitionProperty<Date | undefined, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
4631
+ _id: string;
4632
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
4633
+ _id: string;
4634
+ } & Required<{
4635
+ _id: string;
4636
+ }> & {
4637
+ __v: number;
4638
+ } & {
4639
+ id: string;
4640
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
4641
+ _id: string;
4642
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
4643
+ _id: string;
4644
+ } & Required<{
4645
+ _id: string;
4646
+ }> & {
4647
+ __v: number;
4648
+ } & {
4649
+ id: string;
4650
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
4651
+ _id: string;
4652
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
4653
+ _id: string;
4654
+ } & Required<{
4655
+ _id: string;
4656
+ }> & {
4657
+ __v: number;
4658
+ } & {
4659
+ id: string;
4660
+ }> | undefined;
4661
+ appealOutcome?: import("mongoose").SchemaDefinitionProperty<"upheld" | "overturned" | undefined, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
4662
+ _id: string;
4663
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
4664
+ _id: string;
4665
+ } & Required<{
4666
+ _id: string;
4667
+ }> & {
4668
+ __v: number;
4669
+ } & {
4670
+ id: string;
4671
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
4672
+ _id: string;
4673
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
4674
+ _id: string;
4675
+ } & Required<{
4676
+ _id: string;
4677
+ }> & {
4678
+ __v: number;
4679
+ } & {
4680
+ id: string;
4681
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
4682
+ _id: string;
4683
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
4684
+ _id: string;
4685
+ } & Required<{
4686
+ _id: string;
4687
+ }> & {
4688
+ __v: number;
4689
+ } & {
4690
+ id: string;
4691
+ }> | undefined;
4692
+ __v?: import("mongoose").SchemaDefinitionProperty<number, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
4693
+ _id: string;
4694
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
4695
+ _id: string;
4696
+ } & Required<{
4697
+ _id: string;
4698
+ }> & {
4699
+ __v: number;
4700
+ } & {
4701
+ id: string;
4702
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
4703
+ _id: string;
4704
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
4705
+ _id: string;
4706
+ } & Required<{
4707
+ _id: string;
4708
+ }> & {
4709
+ __v: number;
4710
+ } & {
4711
+ id: string;
4712
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
4713
+ _id: string;
4714
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
4715
+ _id: string;
4716
+ } & Required<{
4717
+ _id: string;
4718
+ }> & {
4719
+ __v: number;
4720
+ } & {
4721
+ id: string;
4722
+ }> | undefined;
4723
+ id?: import("mongoose").SchemaDefinitionProperty<string, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
4724
+ _id: string;
4725
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
4726
+ _id: string;
4727
+ } & Required<{
4728
+ _id: string;
4729
+ }> & {
4730
+ __v: number;
4731
+ } & {
4732
+ id: string;
4733
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
4734
+ _id: string;
4735
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
4736
+ _id: string;
4737
+ } & Required<{
4738
+ _id: string;
4739
+ }> & {
4740
+ __v: number;
4741
+ } & {
4742
+ id: string;
4743
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
4744
+ _id: string;
4745
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
4746
+ _id: string;
4747
+ } & Required<{
4748
+ _id: string;
4749
+ }> & {
4750
+ __v: number;
4751
+ } & {
4752
+ id: string;
4753
+ }> | undefined;
4754
+ }, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
4755
+ _id: string;
4756
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
4757
+ _id: string;
4758
+ } & Required<{
47
4759
  _id: string;
48
4760
  }> & {
49
4761
  __v: number;
4762
+ } & {
4763
+ id: string;
50
4764
  }>;
51
4765
  //# sourceMappingURL=flag.schema.d.ts.map