@managesome/knotr-toolkit 0.1.1 → 0.8.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (300) hide show
  1. package/dist/backend/config.d.ts +43 -0
  2. package/dist/backend/config.d.ts.map +1 -0
  3. package/dist/backend/config.js +82 -0
  4. package/dist/backend/config.js.map +1 -0
  5. package/dist/backend/database.d.ts +28 -0
  6. package/dist/backend/database.d.ts.map +1 -0
  7. package/dist/backend/database.js +112 -0
  8. package/dist/backend/database.js.map +1 -0
  9. package/dist/backend/firebase.d.ts +68 -0
  10. package/dist/backend/firebase.d.ts.map +1 -0
  11. package/dist/backend/firebase.js +233 -0
  12. package/dist/backend/firebase.js.map +1 -0
  13. package/dist/backend/index.d.ts +8 -0
  14. package/dist/backend/index.d.ts.map +1 -0
  15. package/dist/backend/index.js +19 -0
  16. package/dist/backend/index.js.map +1 -0
  17. package/dist/backend/logger.d.ts +23 -0
  18. package/dist/backend/logger.d.ts.map +1 -0
  19. package/dist/backend/logger.js +107 -0
  20. package/dist/backend/logger.js.map +1 -0
  21. package/dist/backend/redis.d.ts +59 -0
  22. package/dist/backend/redis.d.ts.map +1 -0
  23. package/dist/backend/redis.js +169 -0
  24. package/dist/backend/redis.js.map +1 -0
  25. package/dist/backend/socket.d.ts +81 -0
  26. package/dist/backend/socket.d.ts.map +1 -0
  27. package/dist/backend/socket.js +132 -0
  28. package/dist/backend/socket.js.map +1 -0
  29. package/dist/backend/worker-queue.d.ts +40 -0
  30. package/dist/backend/worker-queue.d.ts.map +1 -0
  31. package/dist/backend/worker-queue.js +140 -0
  32. package/dist/backend/worker-queue.js.map +1 -0
  33. package/dist/client/api-client.d.ts +101 -0
  34. package/dist/client/api-client.d.ts.map +1 -0
  35. package/dist/client/api-client.js +261 -0
  36. package/dist/client/api-client.js.map +1 -0
  37. package/dist/client/api-error.d.ts +100 -0
  38. package/dist/client/api-error.d.ts.map +1 -0
  39. package/dist/client/api-error.js +111 -0
  40. package/dist/client/api-error.js.map +1 -0
  41. package/dist/client/endpoints.d.ts +510 -0
  42. package/dist/client/endpoints.d.ts.map +1 -0
  43. package/dist/client/endpoints.js +306 -0
  44. package/dist/client/endpoints.js.map +1 -0
  45. package/dist/client/index.d.ts +4 -0
  46. package/dist/client/index.d.ts.map +1 -0
  47. package/dist/client/index.js +7 -0
  48. package/dist/client/index.js.map +1 -0
  49. package/dist/constants/index.d.ts +2 -1
  50. package/dist/constants/index.d.ts.map +1 -1
  51. package/dist/constants/index.js +2 -1
  52. package/dist/constants/index.js.map +1 -1
  53. package/dist/constants/socket.d.ts +165 -0
  54. package/dist/constants/socket.d.ts.map +1 -0
  55. package/dist/constants/socket.js +204 -0
  56. package/dist/constants/socket.js.map +1 -0
  57. package/dist/helpers/ApiError.d.ts +74 -0
  58. package/dist/helpers/ApiError.d.ts.map +1 -0
  59. package/dist/helpers/ApiError.js +105 -0
  60. package/dist/helpers/ApiError.js.map +1 -0
  61. package/dist/helpers/asyncHandler.d.ts +42 -0
  62. package/dist/helpers/asyncHandler.d.ts.map +1 -0
  63. package/dist/helpers/asyncHandler.js +47 -0
  64. package/dist/helpers/asyncHandler.js.map +1 -0
  65. package/dist/helpers/id-generator.d.ts +98 -0
  66. package/dist/helpers/id-generator.d.ts.map +1 -0
  67. package/dist/helpers/id-generator.js +128 -0
  68. package/dist/helpers/id-generator.js.map +1 -0
  69. package/dist/helpers/index.d.ts +5 -0
  70. package/dist/helpers/index.d.ts.map +1 -0
  71. package/dist/helpers/index.js +8 -0
  72. package/dist/helpers/index.js.map +1 -0
  73. package/dist/helpers/response-timing.d.ts +91 -0
  74. package/dist/helpers/response-timing.d.ts.map +1 -0
  75. package/dist/helpers/response-timing.js +176 -0
  76. package/dist/helpers/response-timing.js.map +1 -0
  77. package/dist/index.d.ts +7 -3
  78. package/dist/index.d.ts.map +1 -1
  79. package/dist/index.js +21 -3
  80. package/dist/index.js.map +1 -1
  81. package/dist/schemas/account.schema.d.ts +4500 -0
  82. package/dist/schemas/account.schema.d.ts.map +1 -0
  83. package/dist/schemas/account.schema.js +123 -0
  84. package/dist/schemas/account.schema.js.map +1 -0
  85. package/dist/schemas/chat.schema.d.ts +4796 -0
  86. package/dist/schemas/chat.schema.d.ts.map +1 -0
  87. package/dist/schemas/chat.schema.js +107 -0
  88. package/dist/schemas/chat.schema.js.map +1 -0
  89. package/dist/schemas/collaboration-request.schema.d.ts +3960 -0
  90. package/dist/schemas/collaboration-request.schema.d.ts.map +1 -0
  91. package/dist/schemas/collaboration-request.schema.js +92 -0
  92. package/dist/schemas/collaboration-request.schema.js.map +1 -0
  93. package/dist/schemas/company-review.schema.d.ts +3465 -0
  94. package/dist/schemas/company-review.schema.d.ts.map +1 -0
  95. package/dist/schemas/company-review.schema.js +73 -0
  96. package/dist/schemas/company-review.schema.js.map +1 -0
  97. package/dist/schemas/company.schema.d.ts +6152 -0
  98. package/dist/schemas/company.schema.d.ts.map +1 -0
  99. package/dist/schemas/company.schema.js +192 -0
  100. package/dist/schemas/company.schema.js.map +1 -0
  101. package/dist/schemas/contract.schema.d.ts +5286 -0
  102. package/dist/schemas/contract.schema.d.ts.map +1 -0
  103. package/dist/schemas/contract.schema.js +115 -0
  104. package/dist/schemas/contract.schema.js.map +1 -0
  105. package/dist/schemas/dispute-evidence.schema.d.ts +3788 -0
  106. package/dist/schemas/dispute-evidence.schema.d.ts.map +1 -0
  107. package/dist/schemas/dispute-evidence.schema.js +71 -0
  108. package/dist/schemas/dispute-evidence.schema.js.map +1 -0
  109. package/dist/schemas/dispute.schema.d.ts +4970 -0
  110. package/dist/schemas/dispute.schema.d.ts.map +1 -0
  111. package/dist/schemas/dispute.schema.js +152 -0
  112. package/dist/schemas/dispute.schema.js.map +1 -0
  113. package/dist/schemas/donation.schema.d.ts +3594 -0
  114. package/dist/schemas/donation.schema.d.ts.map +1 -0
  115. package/dist/schemas/donation.schema.js +95 -0
  116. package/dist/schemas/donation.schema.js.map +1 -0
  117. package/dist/schemas/escrow.schema.d.ts +4322 -0
  118. package/dist/schemas/escrow.schema.d.ts.map +1 -0
  119. package/dist/schemas/escrow.schema.js +93 -0
  120. package/dist/schemas/escrow.schema.js.map +1 -0
  121. package/dist/schemas/flag.schema.d.ts +4375 -0
  122. package/dist/schemas/flag.schema.d.ts.map +1 -0
  123. package/dist/schemas/flag.schema.js +133 -0
  124. package/dist/schemas/flag.schema.js.map +1 -0
  125. package/dist/schemas/index.d.ts +33 -0
  126. package/dist/schemas/index.d.ts.map +1 -0
  127. package/dist/schemas/index.js +39 -0
  128. package/dist/schemas/index.js.map +1 -0
  129. package/dist/schemas/interest.schema.d.ts +3804 -0
  130. package/dist/schemas/interest.schema.d.ts.map +1 -0
  131. package/dist/schemas/interest.schema.js +107 -0
  132. package/dist/schemas/interest.schema.js.map +1 -0
  133. package/dist/schemas/match.schema.d.ts +4013 -0
  134. package/dist/schemas/match.schema.d.ts.map +1 -0
  135. package/dist/schemas/match.schema.js +118 -0
  136. package/dist/schemas/match.schema.js.map +1 -0
  137. package/dist/schemas/message.schema.d.ts +4213 -0
  138. package/dist/schemas/message.schema.d.ts.map +1 -0
  139. package/dist/schemas/message.schema.js +134 -0
  140. package/dist/schemas/message.schema.js.map +1 -0
  141. package/dist/schemas/milestone.schema.d.ts +4310 -0
  142. package/dist/schemas/milestone.schema.d.ts.map +1 -0
  143. package/dist/schemas/milestone.schema.js +99 -0
  144. package/dist/schemas/milestone.schema.js.map +1 -0
  145. package/dist/schemas/notification.schema.d.ts +4641 -0
  146. package/dist/schemas/notification.schema.d.ts.map +1 -0
  147. package/dist/schemas/notification.schema.js +139 -0
  148. package/dist/schemas/notification.schema.js.map +1 -0
  149. package/dist/schemas/profile.schema.d.ts +9589 -0
  150. package/dist/schemas/profile.schema.d.ts.map +1 -0
  151. package/dist/schemas/profile.schema.js +360 -0
  152. package/dist/schemas/profile.schema.js.map +1 -0
  153. package/dist/schemas/profit-share-agreement.schema.d.ts +3789 -0
  154. package/dist/schemas/profit-share-agreement.schema.d.ts.map +1 -0
  155. package/dist/schemas/profit-share-agreement.schema.js +76 -0
  156. package/dist/schemas/profit-share-agreement.schema.js.map +1 -0
  157. package/dist/schemas/profit-share.schema.d.ts +4051 -0
  158. package/dist/schemas/profit-share.schema.d.ts.map +1 -0
  159. package/dist/schemas/profit-share.schema.js +96 -0
  160. package/dist/schemas/profit-share.schema.js.map +1 -0
  161. package/dist/schemas/promo-code.schema.d.ts +3924 -0
  162. package/dist/schemas/promo-code.schema.d.ts.map +1 -0
  163. package/dist/schemas/promo-code.schema.js +112 -0
  164. package/dist/schemas/promo-code.schema.js.map +1 -0
  165. package/dist/schemas/proposal.schema.d.ts +5182 -0
  166. package/dist/schemas/proposal.schema.d.ts.map +1 -0
  167. package/dist/schemas/proposal.schema.js +114 -0
  168. package/dist/schemas/proposal.schema.js.map +1 -0
  169. package/dist/schemas/purchase.schema.d.ts +3724 -0
  170. package/dist/schemas/purchase.schema.d.ts.map +1 -0
  171. package/dist/schemas/purchase.schema.js +89 -0
  172. package/dist/schemas/purchase.schema.js.map +1 -0
  173. package/dist/schemas/requirement-post.schema.d.ts +6315 -0
  174. package/dist/schemas/requirement-post.schema.d.ts.map +1 -0
  175. package/dist/schemas/requirement-post.schema.js +153 -0
  176. package/dist/schemas/requirement-post.schema.js.map +1 -0
  177. package/dist/schemas/review.schema.d.ts +4512 -0
  178. package/dist/schemas/review.schema.d.ts.map +1 -0
  179. package/dist/schemas/review.schema.js +121 -0
  180. package/dist/schemas/review.schema.js.map +1 -0
  181. package/dist/schemas/service-listing.schema.d.ts +5152 -0
  182. package/dist/schemas/service-listing.schema.d.ts.map +1 -0
  183. package/dist/schemas/service-listing.schema.js +137 -0
  184. package/dist/schemas/service-listing.schema.js.map +1 -0
  185. package/dist/schemas/subscription.schema.d.ts +3985 -0
  186. package/dist/schemas/subscription.schema.d.ts.map +1 -0
  187. package/dist/schemas/subscription.schema.js +94 -0
  188. package/dist/schemas/subscription.schema.js.map +1 -0
  189. package/dist/schemas/tmc-application.schema.d.ts +4357 -0
  190. package/dist/schemas/tmc-application.schema.d.ts.map +1 -0
  191. package/dist/schemas/tmc-application.schema.js +96 -0
  192. package/dist/schemas/tmc-application.schema.js.map +1 -0
  193. package/dist/schemas/tmc-membership.schema.d.ts +3985 -0
  194. package/dist/schemas/tmc-membership.schema.d.ts.map +1 -0
  195. package/dist/schemas/tmc-membership.schema.js +84 -0
  196. package/dist/schemas/tmc-membership.schema.js.map +1 -0
  197. package/dist/schemas/trust-badge.schema.d.ts +3919 -0
  198. package/dist/schemas/trust-badge.schema.d.ts.map +1 -0
  199. package/dist/schemas/trust-badge.schema.js +83 -0
  200. package/dist/schemas/trust-badge.schema.js.map +1 -0
  201. package/dist/schemas/verification.schema.d.ts +4606 -0
  202. package/dist/schemas/verification.schema.d.ts.map +1 -0
  203. package/dist/schemas/verification.schema.js +114 -0
  204. package/dist/schemas/verification.schema.js.map +1 -0
  205. package/dist/schemas/webhook-event.schema.d.ts +3534 -0
  206. package/dist/schemas/webhook-event.schema.d.ts.map +1 -0
  207. package/dist/schemas/webhook-event.schema.js +83 -0
  208. package/dist/schemas/webhook-event.schema.js.map +1 -0
  209. package/dist/types/account.d.ts +36 -7
  210. package/dist/types/account.d.ts.map +1 -1
  211. package/dist/types/account.js +3 -1
  212. package/dist/types/account.js.map +1 -1
  213. package/dist/types/admin.d.ts +20 -10
  214. package/dist/types/admin.d.ts.map +1 -1
  215. package/dist/types/admin.js +3 -1
  216. package/dist/types/admin.js.map +1 -1
  217. package/dist/types/api.d.ts +184 -109
  218. package/dist/types/api.d.ts.map +1 -1
  219. package/dist/types/api.js +2 -1
  220. package/dist/types/api.js.map +1 -1
  221. package/dist/types/chat.d.ts +38 -20
  222. package/dist/types/chat.d.ts.map +1 -1
  223. package/dist/types/chat.js +3 -1
  224. package/dist/types/chat.js.map +1 -1
  225. package/dist/types/common.d.ts +39 -12
  226. package/dist/types/common.d.ts.map +1 -1
  227. package/dist/types/common.js +4 -1
  228. package/dist/types/common.js.map +1 -1
  229. package/dist/types/company.d.ts +61 -44
  230. package/dist/types/company.d.ts.map +1 -1
  231. package/dist/types/company.js +3 -1
  232. package/dist/types/company.js.map +1 -1
  233. package/dist/types/flag.d.ts +19 -8
  234. package/dist/types/flag.d.ts.map +1 -1
  235. package/dist/types/flag.js +3 -1
  236. package/dist/types/flag.js.map +1 -1
  237. package/dist/types/forms.d.ts +334 -0
  238. package/dist/types/forms.d.ts.map +1 -0
  239. package/dist/types/forms.js +5 -0
  240. package/dist/types/forms.js.map +1 -0
  241. package/dist/types/index.d.ts +18 -13
  242. package/dist/types/index.d.ts.map +1 -1
  243. package/dist/types/index.js +18 -13
  244. package/dist/types/index.js.map +1 -1
  245. package/dist/types/marketplace.d.ts +174 -104
  246. package/dist/types/marketplace.d.ts.map +1 -1
  247. package/dist/types/marketplace.js +2 -0
  248. package/dist/types/marketplace.js.map +1 -1
  249. package/dist/types/match.d.ts +36 -19
  250. package/dist/types/match.d.ts.map +1 -1
  251. package/dist/types/match.js +3 -1
  252. package/dist/types/match.js.map +1 -1
  253. package/dist/types/navigation.d.ts +305 -0
  254. package/dist/types/navigation.d.ts.map +1 -0
  255. package/dist/types/navigation.js +18 -0
  256. package/dist/types/navigation.js.map +1 -0
  257. package/dist/types/notification.d.ts +92 -0
  258. package/dist/types/notification.d.ts.map +1 -0
  259. package/dist/types/notification.js +5 -0
  260. package/dist/types/notification.js.map +1 -0
  261. package/dist/types/payment.d.ts +70 -38
  262. package/dist/types/payment.d.ts.map +1 -1
  263. package/dist/types/payment.js +3 -1
  264. package/dist/types/payment.js.map +1 -1
  265. package/dist/types/policy.d.ts +174 -81
  266. package/dist/types/policy.d.ts.map +1 -1
  267. package/dist/types/policy.js.map +1 -1
  268. package/dist/types/profile.d.ts +48 -37
  269. package/dist/types/profile.d.ts.map +1 -1
  270. package/dist/types/profile.js +3 -1
  271. package/dist/types/profile.js.map +1 -1
  272. package/dist/types/socket.d.ts +431 -0
  273. package/dist/types/socket.d.ts.map +1 -0
  274. package/dist/types/socket.js +5 -0
  275. package/dist/types/socket.js.map +1 -0
  276. package/dist/types/verification.d.ts +18 -9
  277. package/dist/types/verification.d.ts.map +1 -1
  278. package/dist/types/verification.js +3 -1
  279. package/dist/types/verification.js.map +1 -1
  280. package/dist/types/worker.d.ts +452 -0
  281. package/dist/types/worker.d.ts.map +1 -0
  282. package/dist/types/worker.js +5 -0
  283. package/dist/types/worker.js.map +1 -0
  284. package/dist/validation/index.d.ts +5 -0
  285. package/dist/validation/index.d.ts.map +1 -0
  286. package/dist/validation/index.js +9 -0
  287. package/dist/validation/index.js.map +1 -0
  288. package/dist/validation/messages.d.ts +124 -0
  289. package/dist/validation/messages.d.ts.map +1 -0
  290. package/dist/validation/messages.js +160 -0
  291. package/dist/validation/messages.js.map +1 -0
  292. package/dist/validation/schemas.d.ts +1127 -0
  293. package/dist/validation/schemas.d.ts.map +1 -0
  294. package/dist/validation/schemas.js +376 -0
  295. package/dist/validation/schemas.js.map +1 -0
  296. package/dist/validation/validators.d.ts +229 -0
  297. package/dist/validation/validators.d.ts.map +1 -0
  298. package/dist/validation/validators.js +307 -0
  299. package/dist/validation/validators.js.map +1 -0
  300. package/package.json +37 -3
@@ -0,0 +1,4375 @@
1
+ import { HydratedDocument, Model, Schema } from 'mongoose';
2
+ import { FlagActionTaken, FlagReason, FlagStatus, FlagTargetType, IFlag } from '../types/flag.js';
3
+ export type FlagDocument = HydratedDocument<Omit<IFlag, 'id'> & {
4
+ _id: string;
5
+ }>;
6
+ export interface FlagModel extends Model<FlagDocument> {
7
+ findByTarget(targetType: FlagTargetType, targetId: string): Promise<FlagDocument[]>;
8
+ findByReporter(accountId: string): Promise<FlagDocument[]>;
9
+ findPending(): Promise<FlagDocument[]>;
10
+ findByPriority(priority: 'low' | 'medium' | 'high' | 'critical'): Promise<FlagDocument[]>;
11
+ countByTargetAccount(accountId: string): Promise<number>;
12
+ }
13
+ export declare function createFlagSchema(): Schema<FlagDocument, FlagModel>;
14
+ export declare const FlagSchema: Schema<import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
15
+ _id: string;
16
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
17
+ _id: string;
18
+ } & Required<{
19
+ _id: string;
20
+ }> & {
21
+ __v: number;
22
+ } & {
23
+ id: string;
24
+ }, FlagModel, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
25
+ _id: string;
26
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
27
+ _id: string;
28
+ } & Required<{
29
+ _id: string;
30
+ }> & {
31
+ __v: number;
32
+ } & {
33
+ id: string;
34
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
35
+ _id: string;
36
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
37
+ _id: string;
38
+ } & Required<{
39
+ _id: string;
40
+ }> & {
41
+ __v: number;
42
+ } & {
43
+ id: string;
44
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
45
+ _id: string;
46
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
47
+ _id: string;
48
+ } & Required<{
49
+ _id: string;
50
+ }> & {
51
+ __v: number;
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" | "messageIds" | "createdAt" | "updatedAt" | "_id" | "reviewedAt" | "reviewedBy" | "reviewNotes" | "reporterAccountId" | "reporterProfileId" | "targetType" | "targetId" | "targetAccountId" | "evidenceUrls" | "chatId" | "actionTaken" | "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" | "messageIds" | "createdAt" | "updatedAt" | "_id" | "reviewedAt" | "reviewedBy" | "reviewNotes" | "reporterAccountId" | "reporterProfileId" | "targetType" | "targetId" | "targetAccountId" | "evidenceUrls" | "chatId" | "actionTaken" | "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" | "messageIds" | "createdAt" | "updatedAt" | "_id" | "reviewedAt" | "reviewedBy" | "reviewNotes" | "reporterAccountId" | "reporterProfileId" | "targetType" | "targetId" | "targetAccountId" | "evidenceUrls" | "chatId" | "actionTaken" | "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" | "messageIds" | "createdAt" | "updatedAt" | "_id" | "reviewedAt" | "reviewedBy" | "reviewNotes" | "reporterAccountId" | "reporterProfileId" | "targetType" | "targetId" | "targetAccountId" | "evidenceUrls" | "chatId" | "actionTaken" | "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" | "messageIds" | "createdAt" | "updatedAt" | "_id" | "reviewedAt" | "reviewedBy" | "reviewNotes" | "reporterAccountId" | "reporterProfileId" | "targetType" | "targetId" | "targetAccountId" | "evidenceUrls" | "chatId" | "actionTaken" | "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" | "messageIds" | "createdAt" | "updatedAt" | "_id" | "reviewedAt" | "reviewedBy" | "reviewNotes" | "reporterAccountId" | "reporterProfileId" | "targetType" | "targetId" | "targetAccountId" | "evidenceUrls" | "chatId" | "actionTaken" | "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" | "messageIds" | "createdAt" | "updatedAt" | "_id" | "reviewedAt" | "reviewedBy" | "reviewNotes" | "reporterAccountId" | "reporterProfileId" | "targetType" | "targetId" | "targetAccountId" | "evidenceUrls" | "chatId" | "actionTaken" | "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" | "messageIds" | "createdAt" | "updatedAt" | "_id" | "reviewedAt" | "reviewedBy" | "reviewNotes" | "reporterAccountId" | "reporterProfileId" | "targetType" | "targetId" | "targetAccountId" | "evidenceUrls" | "chatId" | "actionTaken" | "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" | "messageIds" | "createdAt" | "updatedAt" | "_id" | "reviewedAt" | "reviewedBy" | "reviewNotes" | "reporterAccountId" | "reporterProfileId" | "targetType" | "targetId" | "targetAccountId" | "evidenceUrls" | "chatId" | "actionTaken" | "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
+ messageIds?: string[] | undefined;
2010
+ createdAt: Date;
2011
+ updatedAt: Date;
2012
+ _id: string;
2013
+ reviewedAt?: Date | undefined;
2014
+ reviewedBy?: string | undefined;
2015
+ reviewNotes?: string | undefined;
2016
+ reporterAccountId: string;
2017
+ reporterProfileId?: string | undefined;
2018
+ targetType: FlagTargetType;
2019
+ targetId: string;
2020
+ targetAccountId: string;
2021
+ evidenceUrls?: string[] | undefined;
2022
+ chatId?: string | undefined;
2023
+ actionTaken?: FlagActionTaken | undefined;
2024
+ warningIssuedAt?: Date | undefined;
2025
+ suspensionEndsAt?: Date | undefined;
2026
+ appealedAt?: Date | undefined;
2027
+ appealNotes?: string | undefined;
2028
+ appealReviewedAt?: Date | undefined;
2029
+ appealOutcome?: "upheld" | "overturned" | undefined;
2030
+ };
2031
+ (options: import("mongoose").ToObjectOptions & {
2032
+ flattenMaps: false;
2033
+ flattenObjectIds: true;
2034
+ virtuals: true;
2035
+ }): {
2036
+ description: string;
2037
+ status: FlagStatus;
2038
+ reason: FlagReason;
2039
+ priority: import("../index.js").FlagPriority;
2040
+ messageIds?: string[] | undefined;
2041
+ createdAt: Date;
2042
+ updatedAt: Date;
2043
+ reviewedAt?: Date | undefined;
2044
+ reviewedBy?: string | undefined;
2045
+ reviewNotes?: string | undefined;
2046
+ reporterAccountId: string;
2047
+ reporterProfileId?: string | undefined;
2048
+ targetType: FlagTargetType;
2049
+ targetId: string;
2050
+ targetAccountId: string;
2051
+ evidenceUrls?: string[] | undefined;
2052
+ chatId?: string | undefined;
2053
+ actionTaken?: FlagActionTaken | undefined;
2054
+ warningIssuedAt?: Date | undefined;
2055
+ suspensionEndsAt?: Date | undefined;
2056
+ appealedAt?: Date | undefined;
2057
+ appealNotes?: string | undefined;
2058
+ appealReviewedAt?: Date | undefined;
2059
+ appealOutcome?: "upheld" | "overturned" | undefined;
2060
+ _id: string;
2061
+ };
2062
+ (options: import("mongoose").ToObjectOptions & {
2063
+ flattenMaps: false;
2064
+ flattenObjectIds: false;
2065
+ virtuals: true;
2066
+ versionKey: false;
2067
+ }): Omit<Omit<IFlag, "id"> & {
2068
+ _id: string;
2069
+ } & Required<{
2070
+ _id: string;
2071
+ }>, "__v">;
2072
+ (options: import("mongoose").ToObjectOptions & {
2073
+ flattenMaps: false;
2074
+ flattenObjectIds: false;
2075
+ virtuals: true;
2076
+ }): Omit<IFlag, "id"> & {
2077
+ _id: string;
2078
+ } & Required<{
2079
+ _id: string;
2080
+ }>;
2081
+ (options: import("mongoose").ToObjectOptions & {
2082
+ flattenMaps: false;
2083
+ flattenObjectIds: true;
2084
+ virtuals: false;
2085
+ versionKey: false;
2086
+ }): {
2087
+ description: string;
2088
+ status: FlagStatus;
2089
+ reason: FlagReason;
2090
+ priority: import("../index.js").FlagPriority;
2091
+ messageIds?: string[] | undefined;
2092
+ createdAt: Date;
2093
+ updatedAt: Date;
2094
+ _id: string;
2095
+ reviewedAt?: Date | undefined;
2096
+ reviewedBy?: string | undefined;
2097
+ reviewNotes?: string | undefined;
2098
+ reporterAccountId: string;
2099
+ reporterProfileId?: string | undefined;
2100
+ targetType: FlagTargetType;
2101
+ targetId: string;
2102
+ targetAccountId: string;
2103
+ evidenceUrls?: string[] | undefined;
2104
+ chatId?: string | undefined;
2105
+ actionTaken?: FlagActionTaken | undefined;
2106
+ warningIssuedAt?: Date | undefined;
2107
+ suspensionEndsAt?: Date | undefined;
2108
+ appealedAt?: Date | undefined;
2109
+ appealNotes?: string | undefined;
2110
+ appealReviewedAt?: Date | undefined;
2111
+ appealOutcome?: "upheld" | "overturned" | undefined;
2112
+ };
2113
+ (options: import("mongoose").ToObjectOptions & {
2114
+ flattenMaps: false;
2115
+ flattenObjectIds: true;
2116
+ virtuals: false;
2117
+ }): {
2118
+ description: string;
2119
+ status: FlagStatus;
2120
+ reason: FlagReason;
2121
+ priority: import("../index.js").FlagPriority;
2122
+ messageIds?: string[] | undefined;
2123
+ createdAt: Date;
2124
+ updatedAt: Date;
2125
+ reviewedAt?: Date | undefined;
2126
+ reviewedBy?: string | undefined;
2127
+ reviewNotes?: string | undefined;
2128
+ reporterAccountId: string;
2129
+ reporterProfileId?: string | undefined;
2130
+ targetType: FlagTargetType;
2131
+ targetId: string;
2132
+ targetAccountId: string;
2133
+ evidenceUrls?: string[] | undefined;
2134
+ chatId?: string | undefined;
2135
+ actionTaken?: FlagActionTaken | undefined;
2136
+ warningIssuedAt?: Date | undefined;
2137
+ suspensionEndsAt?: Date | undefined;
2138
+ appealedAt?: Date | undefined;
2139
+ appealNotes?: string | undefined;
2140
+ appealReviewedAt?: Date | undefined;
2141
+ appealOutcome?: "upheld" | "overturned" | undefined;
2142
+ _id: string;
2143
+ };
2144
+ (options: import("mongoose").ToObjectOptions & {
2145
+ flattenMaps: false;
2146
+ flattenObjectIds: false;
2147
+ virtuals: false;
2148
+ versionKey: false;
2149
+ }): Omit<Omit<IFlag, "id"> & {
2150
+ _id: string;
2151
+ } & Required<{
2152
+ _id: string;
2153
+ }>, "__v">;
2154
+ (options: import("mongoose").ToObjectOptions & {
2155
+ flattenMaps: false;
2156
+ flattenObjectIds: false;
2157
+ virtuals: false;
2158
+ }): Omit<IFlag, "id"> & {
2159
+ _id: string;
2160
+ } & Required<{
2161
+ _id: string;
2162
+ }>;
2163
+ (options: import("mongoose").ToObjectOptions & {
2164
+ flattenMaps: true;
2165
+ flattenObjectIds: true;
2166
+ virtuals: true;
2167
+ versionKey: false;
2168
+ }): {
2169
+ description: string;
2170
+ status: FlagStatus;
2171
+ reason: FlagReason;
2172
+ priority: import("../index.js").FlagPriority;
2173
+ messageIds?: string[] | undefined;
2174
+ createdAt: Date;
2175
+ updatedAt: Date;
2176
+ _id: string;
2177
+ reviewedAt?: Date | undefined;
2178
+ reviewedBy?: string | undefined;
2179
+ reviewNotes?: string | undefined;
2180
+ reporterAccountId: string;
2181
+ reporterProfileId?: string | undefined;
2182
+ targetType: FlagTargetType;
2183
+ targetId: string;
2184
+ targetAccountId: string;
2185
+ evidenceUrls?: string[] | undefined;
2186
+ chatId?: string | undefined;
2187
+ actionTaken?: FlagActionTaken | undefined;
2188
+ warningIssuedAt?: Date | undefined;
2189
+ suspensionEndsAt?: Date | undefined;
2190
+ appealedAt?: Date | undefined;
2191
+ appealNotes?: string | undefined;
2192
+ appealReviewedAt?: Date | undefined;
2193
+ appealOutcome?: "upheld" | "overturned" | undefined;
2194
+ };
2195
+ (options: import("mongoose").ToObjectOptions & {
2196
+ flattenMaps: true;
2197
+ flattenObjectIds: true;
2198
+ virtuals: true;
2199
+ }): {
2200
+ description: string;
2201
+ status: FlagStatus;
2202
+ reason: FlagReason;
2203
+ priority: import("../index.js").FlagPriority;
2204
+ messageIds?: string[] | undefined;
2205
+ createdAt: Date;
2206
+ updatedAt: Date;
2207
+ reviewedAt?: Date | undefined;
2208
+ reviewedBy?: string | undefined;
2209
+ reviewNotes?: string | undefined;
2210
+ reporterAccountId: string;
2211
+ reporterProfileId?: string | undefined;
2212
+ targetType: FlagTargetType;
2213
+ targetId: string;
2214
+ targetAccountId: string;
2215
+ evidenceUrls?: string[] | undefined;
2216
+ chatId?: string | undefined;
2217
+ actionTaken?: FlagActionTaken | 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
+ _id: string;
2225
+ };
2226
+ (options: import("mongoose").ToObjectOptions & {
2227
+ flattenMaps: true;
2228
+ flattenObjectIds: false;
2229
+ virtuals: true;
2230
+ versionKey: false;
2231
+ }): Omit<import("mongoose").FlattenMaps<Omit<IFlag, "id"> & {
2232
+ _id: string;
2233
+ } & Required<{
2234
+ _id: string;
2235
+ }>>, "__v">;
2236
+ (options: import("mongoose").ToObjectOptions & {
2237
+ flattenMaps: true;
2238
+ flattenObjectIds: false;
2239
+ virtuals: true;
2240
+ }): import("mongoose").FlattenMaps<Omit<IFlag, "id"> & {
2241
+ _id: string;
2242
+ } & Required<{
2243
+ _id: string;
2244
+ }>>;
2245
+ (options: import("mongoose").ToObjectOptions & {
2246
+ flattenMaps: true;
2247
+ flattenObjectIds: true;
2248
+ virtuals: false;
2249
+ versionKey: false;
2250
+ }): {
2251
+ description: string;
2252
+ status: FlagStatus;
2253
+ reason: FlagReason;
2254
+ priority: import("../index.js").FlagPriority;
2255
+ messageIds?: string[] | undefined;
2256
+ createdAt: Date;
2257
+ updatedAt: Date;
2258
+ _id: string;
2259
+ reviewedAt?: Date | undefined;
2260
+ reviewedBy?: string | undefined;
2261
+ reviewNotes?: string | undefined;
2262
+ reporterAccountId: string;
2263
+ reporterProfileId?: string | undefined;
2264
+ targetType: FlagTargetType;
2265
+ targetId: string;
2266
+ targetAccountId: string;
2267
+ evidenceUrls?: string[] | undefined;
2268
+ chatId?: string | undefined;
2269
+ actionTaken?: FlagActionTaken | undefined;
2270
+ warningIssuedAt?: Date | undefined;
2271
+ suspensionEndsAt?: Date | undefined;
2272
+ appealedAt?: Date | undefined;
2273
+ appealNotes?: string | undefined;
2274
+ appealReviewedAt?: Date | undefined;
2275
+ appealOutcome?: "upheld" | "overturned" | undefined;
2276
+ };
2277
+ (options: import("mongoose").ToObjectOptions & {
2278
+ flattenMaps: true;
2279
+ flattenObjectIds: true;
2280
+ virtuals: false;
2281
+ }): {
2282
+ description: string;
2283
+ status: FlagStatus;
2284
+ reason: FlagReason;
2285
+ priority: import("../index.js").FlagPriority;
2286
+ messageIds?: string[] | undefined;
2287
+ createdAt: Date;
2288
+ updatedAt: Date;
2289
+ reviewedAt?: Date | undefined;
2290
+ reviewedBy?: string | undefined;
2291
+ reviewNotes?: string | undefined;
2292
+ reporterAccountId: string;
2293
+ reporterProfileId?: string | undefined;
2294
+ targetType: FlagTargetType;
2295
+ targetId: string;
2296
+ targetAccountId: string;
2297
+ evidenceUrls?: string[] | undefined;
2298
+ chatId?: string | undefined;
2299
+ actionTaken?: FlagActionTaken | undefined;
2300
+ warningIssuedAt?: Date | undefined;
2301
+ suspensionEndsAt?: Date | undefined;
2302
+ appealedAt?: Date | undefined;
2303
+ appealNotes?: string | undefined;
2304
+ appealReviewedAt?: Date | undefined;
2305
+ appealOutcome?: "upheld" | "overturned" | undefined;
2306
+ _id: string;
2307
+ };
2308
+ (options: import("mongoose").ToObjectOptions & {
2309
+ flattenMaps: true;
2310
+ flattenObjectIds: false;
2311
+ virtuals: false;
2312
+ versionKey: false;
2313
+ }): Omit<import("mongoose").FlattenMaps<Omit<IFlag, "id"> & {
2314
+ _id: string;
2315
+ } & Required<{
2316
+ _id: string;
2317
+ }>>, "__v">;
2318
+ (options: import("mongoose").ToObjectOptions & {
2319
+ flattenMaps: true;
2320
+ flattenObjectIds: false;
2321
+ virtuals: false;
2322
+ }): import("mongoose").FlattenMaps<Omit<IFlag, "id"> & {
2323
+ _id: string;
2324
+ } & Required<{
2325
+ _id: string;
2326
+ }>>;
2327
+ (options: import("mongoose").ToObjectOptions & {
2328
+ flattenMaps: true;
2329
+ flattenObjectIds: true;
2330
+ virtuals: true;
2331
+ }): {
2332
+ description: string;
2333
+ status: FlagStatus;
2334
+ reason: FlagReason;
2335
+ priority: import("../index.js").FlagPriority;
2336
+ messageIds?: string[] | undefined;
2337
+ createdAt: Date;
2338
+ updatedAt: Date;
2339
+ reviewedAt?: Date | undefined;
2340
+ reviewedBy?: string | undefined;
2341
+ reviewNotes?: string | undefined;
2342
+ reporterAccountId: string;
2343
+ reporterProfileId?: string | undefined;
2344
+ targetType: FlagTargetType;
2345
+ targetId: string;
2346
+ targetAccountId: string;
2347
+ evidenceUrls?: string[] | undefined;
2348
+ chatId?: string | undefined;
2349
+ actionTaken?: FlagActionTaken | undefined;
2350
+ warningIssuedAt?: Date | undefined;
2351
+ suspensionEndsAt?: Date | undefined;
2352
+ appealedAt?: Date | undefined;
2353
+ appealNotes?: string | undefined;
2354
+ appealReviewedAt?: Date | undefined;
2355
+ appealOutcome?: "upheld" | "overturned" | undefined;
2356
+ _id: string;
2357
+ };
2358
+ (options: import("mongoose").ToObjectOptions & {
2359
+ flattenMaps: true;
2360
+ flattenObjectIds: true;
2361
+ }): {
2362
+ description: string;
2363
+ status: FlagStatus;
2364
+ reason: FlagReason;
2365
+ priority: import("../index.js").FlagPriority;
2366
+ messageIds?: string[] | undefined;
2367
+ createdAt: Date;
2368
+ updatedAt: Date;
2369
+ reviewedAt?: Date | undefined;
2370
+ reviewedBy?: string | undefined;
2371
+ reviewNotes?: string | undefined;
2372
+ reporterAccountId: string;
2373
+ reporterProfileId?: string | undefined;
2374
+ targetType: FlagTargetType;
2375
+ targetId: string;
2376
+ targetAccountId: string;
2377
+ evidenceUrls?: string[] | undefined;
2378
+ chatId?: string | undefined;
2379
+ actionTaken?: FlagActionTaken | undefined;
2380
+ warningIssuedAt?: Date | undefined;
2381
+ suspensionEndsAt?: Date | undefined;
2382
+ appealedAt?: Date | undefined;
2383
+ appealNotes?: string | undefined;
2384
+ appealReviewedAt?: Date | undefined;
2385
+ appealOutcome?: "upheld" | "overturned" | undefined;
2386
+ _id: string;
2387
+ };
2388
+ (options: import("mongoose").ToObjectOptions & {
2389
+ flattenObjectIds: true;
2390
+ virtuals: true;
2391
+ }): {
2392
+ description: string;
2393
+ status: FlagStatus;
2394
+ reason: FlagReason;
2395
+ priority: import("../index.js").FlagPriority;
2396
+ messageIds?: string[] | undefined;
2397
+ createdAt: Date;
2398
+ updatedAt: Date;
2399
+ reviewedAt?: Date | undefined;
2400
+ reviewedBy?: string | undefined;
2401
+ reviewNotes?: string | undefined;
2402
+ reporterAccountId: string;
2403
+ reporterProfileId?: string | undefined;
2404
+ targetType: FlagTargetType;
2405
+ targetId: string;
2406
+ targetAccountId: string;
2407
+ evidenceUrls?: string[] | undefined;
2408
+ chatId?: string | undefined;
2409
+ actionTaken?: FlagActionTaken | undefined;
2410
+ warningIssuedAt?: Date | undefined;
2411
+ suspensionEndsAt?: Date | undefined;
2412
+ appealedAt?: Date | undefined;
2413
+ appealNotes?: string | undefined;
2414
+ appealReviewedAt?: Date | undefined;
2415
+ appealOutcome?: "upheld" | "overturned" | undefined;
2416
+ _id: string;
2417
+ };
2418
+ (options: import("mongoose").ToObjectOptions & {
2419
+ flattenObjectIds: true;
2420
+ }): {
2421
+ description: string;
2422
+ status: FlagStatus;
2423
+ reason: FlagReason;
2424
+ priority: import("../index.js").FlagPriority;
2425
+ messageIds?: string[] | undefined;
2426
+ createdAt: Date;
2427
+ updatedAt: Date;
2428
+ reviewedAt?: Date | undefined;
2429
+ reviewedBy?: string | undefined;
2430
+ reviewNotes?: string | 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
+ warningIssuedAt?: Date | undefined;
2440
+ suspensionEndsAt?: Date | undefined;
2441
+ appealedAt?: Date | undefined;
2442
+ appealNotes?: string | undefined;
2443
+ appealReviewedAt?: Date | undefined;
2444
+ appealOutcome?: "upheld" | "overturned" | undefined;
2445
+ _id: string;
2446
+ };
2447
+ (options: import("mongoose").ToObjectOptions & {
2448
+ flattenMaps: true;
2449
+ virtuals: true;
2450
+ }): import("mongoose").FlattenMaps<Omit<IFlag, "id"> & {
2451
+ _id: string;
2452
+ } & Required<{
2453
+ _id: string;
2454
+ }>>;
2455
+ (options: import("mongoose").ToObjectOptions & {
2456
+ flattenMaps: true;
2457
+ }): import("mongoose").FlattenMaps<Omit<IFlag, "id"> & {
2458
+ _id: string;
2459
+ } & Required<{
2460
+ _id: string;
2461
+ }>>;
2462
+ (options: import("mongoose").ToObjectOptions & {
2463
+ versionKey: false;
2464
+ flattenMaps: true;
2465
+ flattenObjectIds: true;
2466
+ virtuals: true;
2467
+ }): {
2468
+ description: string;
2469
+ status: FlagStatus;
2470
+ reason: FlagReason;
2471
+ priority: import("../index.js").FlagPriority;
2472
+ messageIds?: string[] | undefined;
2473
+ createdAt: Date;
2474
+ updatedAt: Date;
2475
+ _id: string;
2476
+ reviewedAt?: Date | undefined;
2477
+ reviewedBy?: string | undefined;
2478
+ reviewNotes?: string | undefined;
2479
+ reporterAccountId: string;
2480
+ reporterProfileId?: string | undefined;
2481
+ targetType: FlagTargetType;
2482
+ targetId: string;
2483
+ targetAccountId: string;
2484
+ evidenceUrls?: string[] | undefined;
2485
+ chatId?: string | undefined;
2486
+ actionTaken?: FlagActionTaken | undefined;
2487
+ warningIssuedAt?: Date | undefined;
2488
+ suspensionEndsAt?: Date | undefined;
2489
+ appealedAt?: Date | undefined;
2490
+ appealNotes?: string | undefined;
2491
+ appealReviewedAt?: Date | undefined;
2492
+ appealOutcome?: "upheld" | "overturned" | undefined;
2493
+ };
2494
+ (options: import("mongoose").ToObjectOptions & {
2495
+ versionKey: false;
2496
+ flattenMaps: false;
2497
+ flattenObjectIds: true;
2498
+ virtuals: true;
2499
+ }): {
2500
+ description: string;
2501
+ status: FlagStatus;
2502
+ reason: FlagReason;
2503
+ priority: import("../index.js").FlagPriority;
2504
+ messageIds?: string[] | undefined;
2505
+ createdAt: Date;
2506
+ updatedAt: Date;
2507
+ _id: string;
2508
+ reviewedAt?: Date | undefined;
2509
+ reviewedBy?: string | undefined;
2510
+ reviewNotes?: string | undefined;
2511
+ reporterAccountId: string;
2512
+ reporterProfileId?: string | undefined;
2513
+ targetType: FlagTargetType;
2514
+ targetId: string;
2515
+ targetAccountId: string;
2516
+ evidenceUrls?: string[] | undefined;
2517
+ chatId?: string | undefined;
2518
+ actionTaken?: FlagActionTaken | undefined;
2519
+ warningIssuedAt?: Date | undefined;
2520
+ suspensionEndsAt?: Date | undefined;
2521
+ appealedAt?: Date | undefined;
2522
+ appealNotes?: string | undefined;
2523
+ appealReviewedAt?: Date | undefined;
2524
+ appealOutcome?: "upheld" | "overturned" | undefined;
2525
+ };
2526
+ (options: import("mongoose").ToObjectOptions & {
2527
+ versionKey: false;
2528
+ flattenMaps: true;
2529
+ virtuals: true;
2530
+ }): Omit<import("mongoose").FlattenMaps<Omit<IFlag, "id"> & {
2531
+ _id: string;
2532
+ } & Required<{
2533
+ _id: string;
2534
+ }>>, "__v">;
2535
+ (options: import("mongoose").ToObjectOptions & {
2536
+ versionKey: false;
2537
+ flattenObjectIds: true;
2538
+ virtuals: true;
2539
+ }): {
2540
+ description: string;
2541
+ status: FlagStatus;
2542
+ reason: FlagReason;
2543
+ priority: import("../index.js").FlagPriority;
2544
+ messageIds?: string[] | undefined;
2545
+ createdAt: Date;
2546
+ updatedAt: Date;
2547
+ _id: string;
2548
+ reviewedAt?: Date | undefined;
2549
+ reviewedBy?: string | undefined;
2550
+ reviewNotes?: string | undefined;
2551
+ reporterAccountId: string;
2552
+ reporterProfileId?: string | undefined;
2553
+ targetType: FlagTargetType;
2554
+ targetId: string;
2555
+ targetAccountId: string;
2556
+ evidenceUrls?: string[] | undefined;
2557
+ chatId?: string | undefined;
2558
+ actionTaken?: FlagActionTaken | undefined;
2559
+ warningIssuedAt?: Date | undefined;
2560
+ suspensionEndsAt?: Date | undefined;
2561
+ appealedAt?: Date | undefined;
2562
+ appealNotes?: string | undefined;
2563
+ appealReviewedAt?: Date | undefined;
2564
+ appealOutcome?: "upheld" | "overturned" | undefined;
2565
+ };
2566
+ (options: import("mongoose").ToObjectOptions & {
2567
+ versionKey: false;
2568
+ virtuals: true;
2569
+ }): Omit<Omit<IFlag, "id"> & {
2570
+ _id: string;
2571
+ } & Required<{
2572
+ _id: string;
2573
+ }>, "__v">;
2574
+ (options: import("mongoose").ToObjectOptions & {
2575
+ versionKey: false;
2576
+ flattenMaps: true;
2577
+ flattenObjectIds: true;
2578
+ }): {
2579
+ description: string;
2580
+ status: FlagStatus;
2581
+ reason: FlagReason;
2582
+ priority: import("../index.js").FlagPriority;
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
+ reporterAccountId: string;
2591
+ reporterProfileId?: string | undefined;
2592
+ targetType: FlagTargetType;
2593
+ targetId: string;
2594
+ targetAccountId: string;
2595
+ evidenceUrls?: string[] | undefined;
2596
+ chatId?: string | undefined;
2597
+ actionTaken?: FlagActionTaken | undefined;
2598
+ warningIssuedAt?: Date | undefined;
2599
+ suspensionEndsAt?: Date | undefined;
2600
+ appealedAt?: Date | undefined;
2601
+ appealNotes?: string | undefined;
2602
+ appealReviewedAt?: Date | undefined;
2603
+ appealOutcome?: "upheld" | "overturned" | undefined;
2604
+ };
2605
+ (options: import("mongoose").ToObjectOptions & {
2606
+ versionKey: false;
2607
+ flattenObjectIds: true;
2608
+ }): {
2609
+ description: string;
2610
+ status: FlagStatus;
2611
+ reason: FlagReason;
2612
+ priority: import("../index.js").FlagPriority;
2613
+ messageIds?: string[] | undefined;
2614
+ createdAt: Date;
2615
+ updatedAt: Date;
2616
+ _id: string;
2617
+ reviewedAt?: Date | undefined;
2618
+ reviewedBy?: string | undefined;
2619
+ reviewNotes?: string | undefined;
2620
+ reporterAccountId: string;
2621
+ reporterProfileId?: string | undefined;
2622
+ targetType: FlagTargetType;
2623
+ targetId: string;
2624
+ targetAccountId: string;
2625
+ evidenceUrls?: string[] | undefined;
2626
+ chatId?: string | undefined;
2627
+ actionTaken?: FlagActionTaken | undefined;
2628
+ warningIssuedAt?: Date | undefined;
2629
+ suspensionEndsAt?: Date | undefined;
2630
+ appealedAt?: Date | undefined;
2631
+ appealNotes?: string | undefined;
2632
+ appealReviewedAt?: Date | undefined;
2633
+ appealOutcome?: "upheld" | "overturned" | undefined;
2634
+ };
2635
+ (options: import("mongoose").ToObjectOptions & {
2636
+ versionKey: false;
2637
+ flattenMaps: true;
2638
+ }): Omit<import("mongoose").FlattenMaps<Omit<IFlag, "id"> & {
2639
+ _id: string;
2640
+ } & Required<{
2641
+ _id: string;
2642
+ }>>, "__v">;
2643
+ (options: import("mongoose").ToObjectOptions & {
2644
+ versionKey: false;
2645
+ }): Omit<Omit<IFlag, "id"> & {
2646
+ _id: string;
2647
+ } & Required<{
2648
+ _id: string;
2649
+ }>, "__v">;
2650
+ (options: import("mongoose").ToObjectOptions & {
2651
+ virtuals: true;
2652
+ }): Omit<IFlag, "id"> & {
2653
+ _id: string;
2654
+ } & Required<{
2655
+ _id: string;
2656
+ }>;
2657
+ (options?: import("mongoose").ToObjectOptions): Omit<IFlag, "id"> & {
2658
+ _id: string;
2659
+ } & Required<{
2660
+ _id: string;
2661
+ }> & {
2662
+ __v: number;
2663
+ };
2664
+ <T>(options?: import("mongoose").ToObjectOptions): import("mongoose").Require_id<T> & {
2665
+ __v: number;
2666
+ };
2667
+ }, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
2668
+ _id: string;
2669
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
2670
+ _id: string;
2671
+ } & Required<{
2672
+ _id: string;
2673
+ }> & {
2674
+ __v: number;
2675
+ } & {
2676
+ id: string;
2677
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
2678
+ _id: string;
2679
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
2680
+ _id: string;
2681
+ } & Required<{
2682
+ _id: string;
2683
+ }> & {
2684
+ __v: number;
2685
+ } & {
2686
+ id: string;
2687
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
2688
+ _id: string;
2689
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
2690
+ _id: string;
2691
+ } & Required<{
2692
+ _id: string;
2693
+ }> & {
2694
+ __v: number;
2695
+ } & {
2696
+ id: string;
2697
+ }> | undefined;
2698
+ toObject?: import("mongoose").SchemaDefinitionProperty<{
2699
+ (options: import("mongoose").ToObjectOptions & {
2700
+ flattenMaps: false;
2701
+ flattenObjectIds: true;
2702
+ virtuals: true;
2703
+ versionKey: false;
2704
+ }): {
2705
+ description: string;
2706
+ status: FlagStatus;
2707
+ reason: FlagReason;
2708
+ priority: import("../index.js").FlagPriority;
2709
+ messageIds?: string[] | undefined;
2710
+ createdAt: Date;
2711
+ updatedAt: Date;
2712
+ _id: string;
2713
+ reviewedAt?: Date | undefined;
2714
+ reviewedBy?: string | undefined;
2715
+ reviewNotes?: string | undefined;
2716
+ reporterAccountId: string;
2717
+ reporterProfileId?: string | undefined;
2718
+ targetType: FlagTargetType;
2719
+ targetId: string;
2720
+ targetAccountId: string;
2721
+ evidenceUrls?: string[] | undefined;
2722
+ chatId?: string | undefined;
2723
+ actionTaken?: FlagActionTaken | undefined;
2724
+ warningIssuedAt?: Date | undefined;
2725
+ suspensionEndsAt?: Date | undefined;
2726
+ appealedAt?: Date | undefined;
2727
+ appealNotes?: string | undefined;
2728
+ appealReviewedAt?: Date | undefined;
2729
+ appealOutcome?: "upheld" | "overturned" | undefined;
2730
+ };
2731
+ (options: import("mongoose").ToObjectOptions & {
2732
+ flattenMaps: false;
2733
+ flattenObjectIds: true;
2734
+ virtuals: true;
2735
+ }): {
2736
+ description: string;
2737
+ status: FlagStatus;
2738
+ reason: FlagReason;
2739
+ priority: import("../index.js").FlagPriority;
2740
+ messageIds?: string[] | undefined;
2741
+ createdAt: Date;
2742
+ updatedAt: Date;
2743
+ reviewedAt?: Date | undefined;
2744
+ reviewedBy?: string | undefined;
2745
+ reviewNotes?: string | undefined;
2746
+ reporterAccountId: string;
2747
+ reporterProfileId?: string | undefined;
2748
+ targetType: FlagTargetType;
2749
+ targetId: string;
2750
+ targetAccountId: string;
2751
+ evidenceUrls?: string[] | undefined;
2752
+ chatId?: string | undefined;
2753
+ actionTaken?: FlagActionTaken | undefined;
2754
+ warningIssuedAt?: Date | undefined;
2755
+ suspensionEndsAt?: Date | undefined;
2756
+ appealedAt?: Date | undefined;
2757
+ appealNotes?: string | undefined;
2758
+ appealReviewedAt?: Date | undefined;
2759
+ appealOutcome?: "upheld" | "overturned" | undefined;
2760
+ _id: string;
2761
+ };
2762
+ (options: import("mongoose").ToObjectOptions & {
2763
+ flattenMaps: false;
2764
+ flattenObjectIds: false;
2765
+ virtuals: true;
2766
+ versionKey: false;
2767
+ }): Omit<Omit<IFlag, "id"> & {
2768
+ _id: string;
2769
+ } & Required<{
2770
+ _id: string;
2771
+ }>, "__v">;
2772
+ (options: import("mongoose").ToObjectOptions & {
2773
+ flattenMaps: false;
2774
+ flattenObjectIds: false;
2775
+ virtuals: true;
2776
+ }): Omit<IFlag, "id"> & {
2777
+ _id: string;
2778
+ } & Required<{
2779
+ _id: string;
2780
+ }>;
2781
+ (options: import("mongoose").ToObjectOptions & {
2782
+ flattenMaps: false;
2783
+ flattenObjectIds: true;
2784
+ virtuals: false;
2785
+ versionKey: false;
2786
+ }): {
2787
+ description: string;
2788
+ status: FlagStatus;
2789
+ reason: FlagReason;
2790
+ priority: import("../index.js").FlagPriority;
2791
+ messageIds?: string[] | undefined;
2792
+ createdAt: Date;
2793
+ updatedAt: Date;
2794
+ _id: string;
2795
+ reviewedAt?: Date | undefined;
2796
+ reviewedBy?: string | undefined;
2797
+ reviewNotes?: string | undefined;
2798
+ reporterAccountId: string;
2799
+ reporterProfileId?: string | undefined;
2800
+ targetType: FlagTargetType;
2801
+ targetId: string;
2802
+ targetAccountId: string;
2803
+ evidenceUrls?: string[] | undefined;
2804
+ chatId?: string | undefined;
2805
+ actionTaken?: FlagActionTaken | undefined;
2806
+ warningIssuedAt?: Date | undefined;
2807
+ suspensionEndsAt?: Date | undefined;
2808
+ appealedAt?: Date | undefined;
2809
+ appealNotes?: string | undefined;
2810
+ appealReviewedAt?: Date | undefined;
2811
+ appealOutcome?: "upheld" | "overturned" | undefined;
2812
+ };
2813
+ (options: import("mongoose").ToObjectOptions & {
2814
+ flattenMaps: false;
2815
+ flattenObjectIds: true;
2816
+ virtuals: false;
2817
+ }): {
2818
+ description: string;
2819
+ status: FlagStatus;
2820
+ reason: FlagReason;
2821
+ priority: import("../index.js").FlagPriority;
2822
+ messageIds?: string[] | undefined;
2823
+ createdAt: Date;
2824
+ updatedAt: Date;
2825
+ reviewedAt?: Date | undefined;
2826
+ reviewedBy?: string | undefined;
2827
+ reviewNotes?: string | undefined;
2828
+ reporterAccountId: string;
2829
+ reporterProfileId?: string | undefined;
2830
+ targetType: FlagTargetType;
2831
+ targetId: string;
2832
+ targetAccountId: string;
2833
+ evidenceUrls?: string[] | undefined;
2834
+ chatId?: string | undefined;
2835
+ actionTaken?: FlagActionTaken | undefined;
2836
+ warningIssuedAt?: Date | undefined;
2837
+ suspensionEndsAt?: Date | undefined;
2838
+ appealedAt?: Date | undefined;
2839
+ appealNotes?: string | undefined;
2840
+ appealReviewedAt?: Date | undefined;
2841
+ appealOutcome?: "upheld" | "overturned" | undefined;
2842
+ _id: string;
2843
+ };
2844
+ (options: import("mongoose").ToObjectOptions & {
2845
+ flattenMaps: false;
2846
+ flattenObjectIds: false;
2847
+ virtuals: false;
2848
+ versionKey: false;
2849
+ }): Omit<Omit<IFlag, "id"> & {
2850
+ _id: string;
2851
+ } & Required<{
2852
+ _id: string;
2853
+ }>, "__v">;
2854
+ (options: import("mongoose").ToObjectOptions & {
2855
+ flattenMaps: false;
2856
+ flattenObjectIds: false;
2857
+ virtuals: false;
2858
+ }): Omit<IFlag, "id"> & {
2859
+ _id: string;
2860
+ } & Required<{
2861
+ _id: string;
2862
+ }>;
2863
+ (options: import("mongoose").ToObjectOptions & {
2864
+ flattenMaps: true;
2865
+ flattenObjectIds: true;
2866
+ virtuals: true;
2867
+ versionKey: false;
2868
+ }): {
2869
+ description: string;
2870
+ status: FlagStatus;
2871
+ reason: FlagReason;
2872
+ priority: import("../index.js").FlagPriority;
2873
+ messageIds?: string[] | undefined;
2874
+ createdAt: Date;
2875
+ updatedAt: Date;
2876
+ _id: string;
2877
+ reviewedAt?: Date | undefined;
2878
+ reviewedBy?: string | undefined;
2879
+ reviewNotes?: string | undefined;
2880
+ reporterAccountId: string;
2881
+ reporterProfileId?: string | undefined;
2882
+ targetType: FlagTargetType;
2883
+ targetId: string;
2884
+ targetAccountId: string;
2885
+ evidenceUrls?: string[] | undefined;
2886
+ chatId?: string | undefined;
2887
+ actionTaken?: FlagActionTaken | undefined;
2888
+ warningIssuedAt?: Date | undefined;
2889
+ suspensionEndsAt?: Date | undefined;
2890
+ appealedAt?: Date | undefined;
2891
+ appealNotes?: string | undefined;
2892
+ appealReviewedAt?: Date | undefined;
2893
+ appealOutcome?: "upheld" | "overturned" | undefined;
2894
+ };
2895
+ (options: import("mongoose").ToObjectOptions & {
2896
+ flattenMaps: true;
2897
+ flattenObjectIds: true;
2898
+ virtuals: true;
2899
+ }): {
2900
+ description: string;
2901
+ status: FlagStatus;
2902
+ reason: FlagReason;
2903
+ priority: import("../index.js").FlagPriority;
2904
+ messageIds?: string[] | undefined;
2905
+ createdAt: Date;
2906
+ updatedAt: Date;
2907
+ reviewedAt?: Date | undefined;
2908
+ reviewedBy?: string | undefined;
2909
+ reviewNotes?: string | undefined;
2910
+ reporterAccountId: string;
2911
+ reporterProfileId?: string | undefined;
2912
+ targetType: FlagTargetType;
2913
+ targetId: string;
2914
+ targetAccountId: string;
2915
+ evidenceUrls?: string[] | undefined;
2916
+ chatId?: string | undefined;
2917
+ actionTaken?: FlagActionTaken | undefined;
2918
+ warningIssuedAt?: Date | undefined;
2919
+ suspensionEndsAt?: Date | undefined;
2920
+ appealedAt?: Date | undefined;
2921
+ appealNotes?: string | undefined;
2922
+ appealReviewedAt?: Date | undefined;
2923
+ appealOutcome?: "upheld" | "overturned" | undefined;
2924
+ _id: string;
2925
+ };
2926
+ (options: import("mongoose").ToObjectOptions & {
2927
+ flattenMaps: true;
2928
+ flattenObjectIds: false;
2929
+ virtuals: true;
2930
+ versionKey: false;
2931
+ }): Omit<import("mongoose").FlattenMaps<Omit<IFlag, "id"> & {
2932
+ _id: string;
2933
+ } & Required<{
2934
+ _id: string;
2935
+ }>>, "__v">;
2936
+ (options: import("mongoose").ToObjectOptions & {
2937
+ flattenMaps: true;
2938
+ flattenObjectIds: false;
2939
+ virtuals: true;
2940
+ }): import("mongoose").FlattenMaps<Omit<IFlag, "id"> & {
2941
+ _id: string;
2942
+ } & Required<{
2943
+ _id: string;
2944
+ }>>;
2945
+ (options: import("mongoose").ToObjectOptions & {
2946
+ flattenMaps: true;
2947
+ flattenObjectIds: true;
2948
+ virtuals: false;
2949
+ versionKey: false;
2950
+ }): {
2951
+ description: string;
2952
+ status: FlagStatus;
2953
+ reason: FlagReason;
2954
+ priority: import("../index.js").FlagPriority;
2955
+ messageIds?: string[] | undefined;
2956
+ createdAt: Date;
2957
+ updatedAt: Date;
2958
+ _id: string;
2959
+ reviewedAt?: Date | undefined;
2960
+ reviewedBy?: string | undefined;
2961
+ reviewNotes?: string | undefined;
2962
+ reporterAccountId: string;
2963
+ reporterProfileId?: string | undefined;
2964
+ targetType: FlagTargetType;
2965
+ targetId: string;
2966
+ targetAccountId: string;
2967
+ evidenceUrls?: string[] | undefined;
2968
+ chatId?: string | undefined;
2969
+ actionTaken?: FlagActionTaken | undefined;
2970
+ warningIssuedAt?: Date | undefined;
2971
+ suspensionEndsAt?: Date | undefined;
2972
+ appealedAt?: Date | undefined;
2973
+ appealNotes?: string | undefined;
2974
+ appealReviewedAt?: Date | undefined;
2975
+ appealOutcome?: "upheld" | "overturned" | undefined;
2976
+ };
2977
+ (options: import("mongoose").ToObjectOptions & {
2978
+ flattenMaps: true;
2979
+ flattenObjectIds: true;
2980
+ virtuals: false;
2981
+ }): {
2982
+ description: string;
2983
+ status: FlagStatus;
2984
+ reason: FlagReason;
2985
+ priority: import("../index.js").FlagPriority;
2986
+ messageIds?: string[] | undefined;
2987
+ createdAt: Date;
2988
+ updatedAt: Date;
2989
+ reviewedAt?: Date | undefined;
2990
+ reviewedBy?: string | undefined;
2991
+ reviewNotes?: string | undefined;
2992
+ reporterAccountId: string;
2993
+ reporterProfileId?: string | undefined;
2994
+ targetType: FlagTargetType;
2995
+ targetId: string;
2996
+ targetAccountId: string;
2997
+ evidenceUrls?: string[] | undefined;
2998
+ chatId?: string | undefined;
2999
+ actionTaken?: FlagActionTaken | undefined;
3000
+ warningIssuedAt?: Date | undefined;
3001
+ suspensionEndsAt?: Date | undefined;
3002
+ appealedAt?: Date | undefined;
3003
+ appealNotes?: string | undefined;
3004
+ appealReviewedAt?: Date | undefined;
3005
+ appealOutcome?: "upheld" | "overturned" | undefined;
3006
+ _id: string;
3007
+ };
3008
+ (options: import("mongoose").ToObjectOptions & {
3009
+ flattenMaps: true;
3010
+ flattenObjectIds: false;
3011
+ virtuals: false;
3012
+ versionKey: false;
3013
+ }): Omit<import("mongoose").FlattenMaps<Omit<IFlag, "id"> & {
3014
+ _id: string;
3015
+ } & Required<{
3016
+ _id: string;
3017
+ }>>, "__v">;
3018
+ (options: import("mongoose").ToObjectOptions & {
3019
+ flattenMaps: true;
3020
+ flattenObjectIds: false;
3021
+ virtuals: false;
3022
+ }): import("mongoose").FlattenMaps<Omit<IFlag, "id"> & {
3023
+ _id: string;
3024
+ } & Required<{
3025
+ _id: string;
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
+ messageIds?: string[] | undefined;
3037
+ createdAt: Date;
3038
+ updatedAt: Date;
3039
+ reviewedAt?: Date | undefined;
3040
+ reviewedBy?: string | undefined;
3041
+ reviewNotes?: string | undefined;
3042
+ reporterAccountId: string;
3043
+ reporterProfileId?: string | undefined;
3044
+ targetType: FlagTargetType;
3045
+ targetId: string;
3046
+ targetAccountId: string;
3047
+ evidenceUrls?: string[] | undefined;
3048
+ chatId?: string | undefined;
3049
+ actionTaken?: FlagActionTaken | undefined;
3050
+ warningIssuedAt?: Date | undefined;
3051
+ suspensionEndsAt?: Date | undefined;
3052
+ appealedAt?: Date | undefined;
3053
+ appealNotes?: string | undefined;
3054
+ appealReviewedAt?: Date | undefined;
3055
+ appealOutcome?: "upheld" | "overturned" | undefined;
3056
+ _id: string;
3057
+ };
3058
+ (options: import("mongoose").ToObjectOptions & {
3059
+ flattenMaps: true;
3060
+ flattenObjectIds: true;
3061
+ }): {
3062
+ description: string;
3063
+ status: FlagStatus;
3064
+ reason: FlagReason;
3065
+ priority: import("../index.js").FlagPriority;
3066
+ messageIds?: string[] | undefined;
3067
+ createdAt: Date;
3068
+ updatedAt: Date;
3069
+ reviewedAt?: Date | undefined;
3070
+ reviewedBy?: string | undefined;
3071
+ reviewNotes?: string | undefined;
3072
+ reporterAccountId: string;
3073
+ reporterProfileId?: string | undefined;
3074
+ targetType: FlagTargetType;
3075
+ targetId: string;
3076
+ targetAccountId: string;
3077
+ evidenceUrls?: string[] | undefined;
3078
+ chatId?: string | undefined;
3079
+ actionTaken?: FlagActionTaken | undefined;
3080
+ warningIssuedAt?: Date | undefined;
3081
+ suspensionEndsAt?: Date | undefined;
3082
+ appealedAt?: Date | undefined;
3083
+ appealNotes?: string | undefined;
3084
+ appealReviewedAt?: Date | undefined;
3085
+ appealOutcome?: "upheld" | "overturned" | undefined;
3086
+ _id: string;
3087
+ };
3088
+ (options: import("mongoose").ToObjectOptions & {
3089
+ flattenObjectIds: true;
3090
+ virtuals: true;
3091
+ }): {
3092
+ description: string;
3093
+ status: FlagStatus;
3094
+ reason: FlagReason;
3095
+ priority: import("../index.js").FlagPriority;
3096
+ messageIds?: string[] | undefined;
3097
+ createdAt: Date;
3098
+ updatedAt: Date;
3099
+ reviewedAt?: Date | undefined;
3100
+ reviewedBy?: string | undefined;
3101
+ reviewNotes?: string | undefined;
3102
+ reporterAccountId: string;
3103
+ reporterProfileId?: string | undefined;
3104
+ targetType: FlagTargetType;
3105
+ targetId: string;
3106
+ targetAccountId: string;
3107
+ evidenceUrls?: string[] | undefined;
3108
+ chatId?: string | undefined;
3109
+ actionTaken?: FlagActionTaken | undefined;
3110
+ warningIssuedAt?: Date | undefined;
3111
+ suspensionEndsAt?: Date | undefined;
3112
+ appealedAt?: Date | undefined;
3113
+ appealNotes?: string | undefined;
3114
+ appealReviewedAt?: Date | undefined;
3115
+ appealOutcome?: "upheld" | "overturned" | undefined;
3116
+ _id: string;
3117
+ };
3118
+ (options: import("mongoose").ToObjectOptions & {
3119
+ flattenObjectIds: true;
3120
+ }): {
3121
+ description: string;
3122
+ status: FlagStatus;
3123
+ reason: FlagReason;
3124
+ priority: import("../index.js").FlagPriority;
3125
+ messageIds?: string[] | undefined;
3126
+ createdAt: Date;
3127
+ updatedAt: Date;
3128
+ reviewedAt?: Date | undefined;
3129
+ reviewedBy?: string | undefined;
3130
+ reviewNotes?: string | undefined;
3131
+ reporterAccountId: string;
3132
+ reporterProfileId?: string | undefined;
3133
+ targetType: FlagTargetType;
3134
+ targetId: string;
3135
+ targetAccountId: string;
3136
+ evidenceUrls?: string[] | undefined;
3137
+ chatId?: string | undefined;
3138
+ actionTaken?: FlagActionTaken | undefined;
3139
+ warningIssuedAt?: Date | undefined;
3140
+ suspensionEndsAt?: Date | undefined;
3141
+ appealedAt?: Date | undefined;
3142
+ appealNotes?: string | undefined;
3143
+ appealReviewedAt?: Date | undefined;
3144
+ appealOutcome?: "upheld" | "overturned" | undefined;
3145
+ _id: string;
3146
+ };
3147
+ (options: import("mongoose").ToObjectOptions & {
3148
+ flattenMaps: true;
3149
+ virtuals: true;
3150
+ }): import("mongoose").FlattenMaps<Omit<IFlag, "id"> & {
3151
+ _id: string;
3152
+ } & Required<{
3153
+ _id: string;
3154
+ }>>;
3155
+ (options: import("mongoose").ToObjectOptions & {
3156
+ flattenMaps: true;
3157
+ }): import("mongoose").FlattenMaps<Omit<IFlag, "id"> & {
3158
+ _id: string;
3159
+ } & Required<{
3160
+ _id: string;
3161
+ }>>;
3162
+ (options: import("mongoose").ToObjectOptions & {
3163
+ versionKey: false;
3164
+ flattenMaps: true;
3165
+ flattenObjectIds: true;
3166
+ virtuals: true;
3167
+ }): {
3168
+ description: string;
3169
+ status: FlagStatus;
3170
+ reason: FlagReason;
3171
+ priority: import("../index.js").FlagPriority;
3172
+ messageIds?: string[] | undefined;
3173
+ createdAt: Date;
3174
+ updatedAt: Date;
3175
+ _id: string;
3176
+ reviewedAt?: Date | undefined;
3177
+ reviewedBy?: string | undefined;
3178
+ reviewNotes?: string | undefined;
3179
+ reporterAccountId: string;
3180
+ reporterProfileId?: string | undefined;
3181
+ targetType: FlagTargetType;
3182
+ targetId: string;
3183
+ targetAccountId: string;
3184
+ evidenceUrls?: string[] | undefined;
3185
+ chatId?: string | undefined;
3186
+ actionTaken?: FlagActionTaken | undefined;
3187
+ warningIssuedAt?: Date | undefined;
3188
+ suspensionEndsAt?: Date | undefined;
3189
+ appealedAt?: Date | undefined;
3190
+ appealNotes?: string | undefined;
3191
+ appealReviewedAt?: Date | undefined;
3192
+ appealOutcome?: "upheld" | "overturned" | undefined;
3193
+ };
3194
+ (options: import("mongoose").ToObjectOptions & {
3195
+ versionKey: false;
3196
+ flattenMaps: false;
3197
+ flattenObjectIds: true;
3198
+ virtuals: true;
3199
+ }): {
3200
+ description: string;
3201
+ status: FlagStatus;
3202
+ reason: FlagReason;
3203
+ priority: import("../index.js").FlagPriority;
3204
+ messageIds?: string[] | undefined;
3205
+ createdAt: Date;
3206
+ updatedAt: Date;
3207
+ _id: string;
3208
+ reviewedAt?: Date | undefined;
3209
+ reviewedBy?: string | undefined;
3210
+ reviewNotes?: string | undefined;
3211
+ reporterAccountId: string;
3212
+ reporterProfileId?: string | undefined;
3213
+ targetType: FlagTargetType;
3214
+ targetId: string;
3215
+ targetAccountId: string;
3216
+ evidenceUrls?: string[] | undefined;
3217
+ chatId?: string | undefined;
3218
+ actionTaken?: FlagActionTaken | undefined;
3219
+ warningIssuedAt?: Date | undefined;
3220
+ suspensionEndsAt?: Date | undefined;
3221
+ appealedAt?: Date | undefined;
3222
+ appealNotes?: string | undefined;
3223
+ appealReviewedAt?: Date | undefined;
3224
+ appealOutcome?: "upheld" | "overturned" | undefined;
3225
+ };
3226
+ (options: import("mongoose").ToObjectOptions & {
3227
+ versionKey: false;
3228
+ flattenMaps: true;
3229
+ virtuals: true;
3230
+ }): Omit<import("mongoose").FlattenMaps<Omit<IFlag, "id"> & {
3231
+ _id: string;
3232
+ } & Required<{
3233
+ _id: string;
3234
+ }>>, "__v">;
3235
+ (options: import("mongoose").ToObjectOptions & {
3236
+ versionKey: false;
3237
+ flattenObjectIds: true;
3238
+ virtuals: true;
3239
+ }): {
3240
+ description: string;
3241
+ status: FlagStatus;
3242
+ reason: FlagReason;
3243
+ priority: import("../index.js").FlagPriority;
3244
+ messageIds?: string[] | undefined;
3245
+ createdAt: Date;
3246
+ updatedAt: Date;
3247
+ _id: string;
3248
+ reviewedAt?: Date | undefined;
3249
+ reviewedBy?: string | undefined;
3250
+ reviewNotes?: string | undefined;
3251
+ reporterAccountId: string;
3252
+ reporterProfileId?: string | undefined;
3253
+ targetType: FlagTargetType;
3254
+ targetId: string;
3255
+ targetAccountId: string;
3256
+ evidenceUrls?: string[] | undefined;
3257
+ chatId?: string | undefined;
3258
+ actionTaken?: FlagActionTaken | undefined;
3259
+ warningIssuedAt?: Date | undefined;
3260
+ suspensionEndsAt?: Date | undefined;
3261
+ appealedAt?: Date | undefined;
3262
+ appealNotes?: string | undefined;
3263
+ appealReviewedAt?: Date | undefined;
3264
+ appealOutcome?: "upheld" | "overturned" | undefined;
3265
+ };
3266
+ (options: import("mongoose").ToObjectOptions & {
3267
+ versionKey: false;
3268
+ virtuals: true;
3269
+ }): Omit<Omit<IFlag, "id"> & {
3270
+ _id: string;
3271
+ } & Required<{
3272
+ _id: string;
3273
+ }>, "__v">;
3274
+ (options: import("mongoose").ToObjectOptions & {
3275
+ versionKey: false;
3276
+ flattenMaps: true;
3277
+ flattenObjectIds: true;
3278
+ }): {
3279
+ description: string;
3280
+ status: FlagStatus;
3281
+ reason: FlagReason;
3282
+ priority: import("../index.js").FlagPriority;
3283
+ messageIds?: string[] | undefined;
3284
+ createdAt: Date;
3285
+ updatedAt: Date;
3286
+ _id: string;
3287
+ reviewedAt?: Date | undefined;
3288
+ reviewedBy?: string | undefined;
3289
+ reviewNotes?: string | undefined;
3290
+ reporterAccountId: string;
3291
+ reporterProfileId?: string | undefined;
3292
+ targetType: FlagTargetType;
3293
+ targetId: string;
3294
+ targetAccountId: string;
3295
+ evidenceUrls?: string[] | undefined;
3296
+ chatId?: string | undefined;
3297
+ actionTaken?: FlagActionTaken | undefined;
3298
+ warningIssuedAt?: Date | undefined;
3299
+ suspensionEndsAt?: Date | undefined;
3300
+ appealedAt?: Date | undefined;
3301
+ appealNotes?: string | undefined;
3302
+ appealReviewedAt?: Date | undefined;
3303
+ appealOutcome?: "upheld" | "overturned" | undefined;
3304
+ };
3305
+ (options: import("mongoose").ToObjectOptions & {
3306
+ versionKey: false;
3307
+ flattenObjectIds: true;
3308
+ }): {
3309
+ description: string;
3310
+ status: FlagStatus;
3311
+ reason: FlagReason;
3312
+ priority: import("../index.js").FlagPriority;
3313
+ messageIds?: string[] | undefined;
3314
+ createdAt: Date;
3315
+ updatedAt: Date;
3316
+ _id: string;
3317
+ reviewedAt?: Date | undefined;
3318
+ reviewedBy?: string | undefined;
3319
+ reviewNotes?: string | undefined;
3320
+ reporterAccountId: string;
3321
+ reporterProfileId?: string | undefined;
3322
+ targetType: FlagTargetType;
3323
+ targetId: string;
3324
+ targetAccountId: string;
3325
+ evidenceUrls?: string[] | undefined;
3326
+ chatId?: string | undefined;
3327
+ actionTaken?: FlagActionTaken | undefined;
3328
+ warningIssuedAt?: Date | undefined;
3329
+ suspensionEndsAt?: Date | undefined;
3330
+ appealedAt?: Date | undefined;
3331
+ appealNotes?: string | undefined;
3332
+ appealReviewedAt?: Date | undefined;
3333
+ appealOutcome?: "upheld" | "overturned" | undefined;
3334
+ };
3335
+ (options: import("mongoose").ToObjectOptions & {
3336
+ versionKey: false;
3337
+ flattenMaps: true;
3338
+ }): Omit<import("mongoose").FlattenMaps<Omit<IFlag, "id"> & {
3339
+ _id: string;
3340
+ } & Required<{
3341
+ _id: string;
3342
+ }>>, "__v">;
3343
+ (options: import("mongoose").ToObjectOptions & {
3344
+ versionKey: false;
3345
+ }): Omit<Omit<IFlag, "id"> & {
3346
+ _id: string;
3347
+ } & Required<{
3348
+ _id: string;
3349
+ }>, "__v">;
3350
+ (options: import("mongoose").ToObjectOptions & {
3351
+ virtuals: true;
3352
+ }): Omit<IFlag, "id"> & {
3353
+ _id: string;
3354
+ } & Required<{
3355
+ _id: string;
3356
+ }>;
3357
+ (options?: import("mongoose").ToObjectOptions): Omit<IFlag, "id"> & {
3358
+ _id: string;
3359
+ } & Required<{
3360
+ _id: string;
3361
+ }> & {
3362
+ __v: number;
3363
+ };
3364
+ <T>(options?: import("mongoose").ToObjectOptions): import("mongoose").Require_id<T> & {
3365
+ __v: number;
3366
+ };
3367
+ }, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
3368
+ _id: string;
3369
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
3370
+ _id: string;
3371
+ } & Required<{
3372
+ _id: string;
3373
+ }> & {
3374
+ __v: number;
3375
+ } & {
3376
+ id: string;
3377
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
3378
+ _id: string;
3379
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
3380
+ _id: string;
3381
+ } & Required<{
3382
+ _id: string;
3383
+ }> & {
3384
+ __v: number;
3385
+ } & {
3386
+ id: string;
3387
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
3388
+ _id: string;
3389
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
3390
+ _id: string;
3391
+ } & Required<{
3392
+ _id: string;
3393
+ }> & {
3394
+ __v: number;
3395
+ } & {
3396
+ id: string;
3397
+ }> | undefined;
3398
+ unmarkModified?: import("mongoose").SchemaDefinitionProperty<{
3399
+ <T extends "description" | "status" | "reason" | "priority" | "messageIds" | "createdAt" | "updatedAt" | "_id" | "reviewedAt" | "reviewedBy" | "reviewNotes" | "reporterAccountId" | "reporterProfileId" | "targetType" | "targetId" | "targetAccountId" | "evidenceUrls" | "chatId" | "actionTaken" | "warningIssuedAt" | "suspensionEndsAt" | "appealedAt" | "appealNotes" | "appealReviewedAt" | "appealOutcome">(path: T): void;
3400
+ (path: string): void;
3401
+ }, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
3402
+ _id: string;
3403
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
3404
+ _id: string;
3405
+ } & Required<{
3406
+ _id: string;
3407
+ }> & {
3408
+ __v: number;
3409
+ } & {
3410
+ id: string;
3411
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
3412
+ _id: string;
3413
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
3414
+ _id: string;
3415
+ } & Required<{
3416
+ _id: string;
3417
+ }> & {
3418
+ __v: number;
3419
+ } & {
3420
+ id: string;
3421
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
3422
+ _id: string;
3423
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
3424
+ _id: string;
3425
+ } & Required<{
3426
+ _id: string;
3427
+ }> & {
3428
+ __v: number;
3429
+ } & {
3430
+ id: string;
3431
+ }> | undefined;
3432
+ updateOne?: import("mongoose").SchemaDefinitionProperty<(update?: import("mongoose").UpdateWithAggregationPipeline | import("mongoose").UpdateQuery<import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
3433
+ _id: string;
3434
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
3435
+ _id: string;
3436
+ } & Required<{
3437
+ _id: string;
3438
+ }> & {
3439
+ __v: number;
3440
+ } & {
3441
+ id: string;
3442
+ }> | undefined, options?: import("mongoose").QueryOptions | null) => import("mongoose").Query<any, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
3443
+ _id: string;
3444
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
3445
+ _id: string;
3446
+ } & Required<{
3447
+ _id: string;
3448
+ }> & {
3449
+ __v: number;
3450
+ } & {
3451
+ id: string;
3452
+ }, {}, unknown, "find", Record<string, never>>, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
3453
+ _id: string;
3454
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
3455
+ _id: string;
3456
+ } & Required<{
3457
+ _id: string;
3458
+ }> & {
3459
+ __v: number;
3460
+ } & {
3461
+ id: string;
3462
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
3463
+ _id: string;
3464
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
3465
+ _id: string;
3466
+ } & Required<{
3467
+ _id: string;
3468
+ }> & {
3469
+ __v: number;
3470
+ } & {
3471
+ id: string;
3472
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
3473
+ _id: string;
3474
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
3475
+ _id: string;
3476
+ } & Required<{
3477
+ _id: string;
3478
+ }> & {
3479
+ __v: number;
3480
+ } & {
3481
+ id: string;
3482
+ }> | undefined;
3483
+ validate?: import("mongoose").SchemaDefinitionProperty<{
3484
+ <T extends "description" | "status" | "reason" | "priority" | "messageIds" | "createdAt" | "updatedAt" | "_id" | "reviewedAt" | "reviewedBy" | "reviewNotes" | "reporterAccountId" | "reporterProfileId" | "targetType" | "targetId" | "targetAccountId" | "evidenceUrls" | "chatId" | "actionTaken" | "warningIssuedAt" | "suspensionEndsAt" | "appealedAt" | "appealNotes" | "appealReviewedAt" | "appealOutcome">(pathsToValidate?: T | T[] | undefined, options?: import("mongoose").AnyObject): Promise<void>;
3485
+ (pathsToValidate?: import("mongoose").pathsToValidate, options?: import("mongoose").AnyObject): Promise<void>;
3486
+ (options: {
3487
+ pathsToSkip?: import("mongoose").pathsToSkip;
3488
+ }): Promise<void>;
3489
+ }, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
3490
+ _id: string;
3491
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
3492
+ _id: string;
3493
+ } & Required<{
3494
+ _id: string;
3495
+ }> & {
3496
+ __v: number;
3497
+ } & {
3498
+ id: string;
3499
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
3500
+ _id: string;
3501
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
3502
+ _id: string;
3503
+ } & Required<{
3504
+ _id: string;
3505
+ }> & {
3506
+ __v: number;
3507
+ } & {
3508
+ id: string;
3509
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
3510
+ _id: string;
3511
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
3512
+ _id: string;
3513
+ } & Required<{
3514
+ _id: string;
3515
+ }> & {
3516
+ __v: number;
3517
+ } & {
3518
+ id: string;
3519
+ }> | undefined;
3520
+ validateSync?: import("mongoose").SchemaDefinitionProperty<{
3521
+ (options: {
3522
+ pathsToSkip?: import("mongoose").pathsToSkip;
3523
+ [k: string]: any;
3524
+ }): import("mongoose").Error.ValidationError | null;
3525
+ <T extends "description" | "status" | "reason" | "priority" | "messageIds" | "createdAt" | "updatedAt" | "_id" | "reviewedAt" | "reviewedBy" | "reviewNotes" | "reporterAccountId" | "reporterProfileId" | "targetType" | "targetId" | "targetAccountId" | "evidenceUrls" | "chatId" | "actionTaken" | "warningIssuedAt" | "suspensionEndsAt" | "appealedAt" | "appealNotes" | "appealReviewedAt" | "appealOutcome">(pathsToValidate?: T | T[] | undefined, options?: import("mongoose").AnyObject): import("mongoose").Error.ValidationError | null;
3526
+ (pathsToValidate?: import("mongoose").pathsToValidate, options?: import("mongoose").AnyObject): import("mongoose").Error.ValidationError | null;
3527
+ }, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
3528
+ _id: string;
3529
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
3530
+ _id: string;
3531
+ } & Required<{
3532
+ _id: string;
3533
+ }> & {
3534
+ __v: number;
3535
+ } & {
3536
+ id: string;
3537
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
3538
+ _id: string;
3539
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
3540
+ _id: string;
3541
+ } & Required<{
3542
+ _id: string;
3543
+ }> & {
3544
+ __v: number;
3545
+ } & {
3546
+ id: string;
3547
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
3548
+ _id: string;
3549
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
3550
+ _id: string;
3551
+ } & Required<{
3552
+ _id: string;
3553
+ }> & {
3554
+ __v: number;
3555
+ } & {
3556
+ id: string;
3557
+ }> | undefined;
3558
+ description?: import("mongoose").SchemaDefinitionProperty<string, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
3559
+ _id: string;
3560
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
3561
+ _id: string;
3562
+ } & Required<{
3563
+ _id: string;
3564
+ }> & {
3565
+ __v: number;
3566
+ } & {
3567
+ id: string;
3568
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
3569
+ _id: string;
3570
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
3571
+ _id: string;
3572
+ } & Required<{
3573
+ _id: string;
3574
+ }> & {
3575
+ __v: number;
3576
+ } & {
3577
+ id: string;
3578
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
3579
+ _id: string;
3580
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
3581
+ _id: string;
3582
+ } & Required<{
3583
+ _id: string;
3584
+ }> & {
3585
+ __v: number;
3586
+ } & {
3587
+ id: string;
3588
+ }> | undefined;
3589
+ status?: import("mongoose").SchemaDefinitionProperty<FlagStatus, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
3590
+ _id: string;
3591
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
3592
+ _id: string;
3593
+ } & Required<{
3594
+ _id: string;
3595
+ }> & {
3596
+ __v: number;
3597
+ } & {
3598
+ id: string;
3599
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
3600
+ _id: string;
3601
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
3602
+ _id: string;
3603
+ } & Required<{
3604
+ _id: string;
3605
+ }> & {
3606
+ __v: number;
3607
+ } & {
3608
+ id: string;
3609
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
3610
+ _id: string;
3611
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
3612
+ _id: string;
3613
+ } & Required<{
3614
+ _id: string;
3615
+ }> & {
3616
+ __v: number;
3617
+ } & {
3618
+ id: string;
3619
+ }> | undefined;
3620
+ reason?: import("mongoose").SchemaDefinitionProperty<FlagReason, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
3621
+ _id: string;
3622
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
3623
+ _id: string;
3624
+ } & Required<{
3625
+ _id: string;
3626
+ }> & {
3627
+ __v: number;
3628
+ } & {
3629
+ id: string;
3630
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
3631
+ _id: string;
3632
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
3633
+ _id: string;
3634
+ } & Required<{
3635
+ _id: string;
3636
+ }> & {
3637
+ __v: number;
3638
+ } & {
3639
+ id: string;
3640
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
3641
+ _id: string;
3642
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
3643
+ _id: string;
3644
+ } & Required<{
3645
+ _id: string;
3646
+ }> & {
3647
+ __v: number;
3648
+ } & {
3649
+ id: string;
3650
+ }> | undefined;
3651
+ priority?: import("mongoose").SchemaDefinitionProperty<import("../index.js").FlagPriority, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
3652
+ _id: string;
3653
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
3654
+ _id: string;
3655
+ } & Required<{
3656
+ _id: string;
3657
+ }> & {
3658
+ __v: number;
3659
+ } & {
3660
+ id: string;
3661
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
3662
+ _id: string;
3663
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
3664
+ _id: string;
3665
+ } & Required<{
3666
+ _id: string;
3667
+ }> & {
3668
+ __v: number;
3669
+ } & {
3670
+ id: string;
3671
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
3672
+ _id: string;
3673
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
3674
+ _id: string;
3675
+ } & Required<{
3676
+ _id: string;
3677
+ }> & {
3678
+ __v: number;
3679
+ } & {
3680
+ id: string;
3681
+ }> | undefined;
3682
+ messageIds?: import("mongoose").SchemaDefinitionProperty<string[] | undefined, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
3683
+ _id: string;
3684
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
3685
+ _id: string;
3686
+ } & Required<{
3687
+ _id: string;
3688
+ }> & {
3689
+ __v: number;
3690
+ } & {
3691
+ id: string;
3692
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
3693
+ _id: string;
3694
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
3695
+ _id: string;
3696
+ } & Required<{
3697
+ _id: string;
3698
+ }> & {
3699
+ __v: number;
3700
+ } & {
3701
+ id: string;
3702
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
3703
+ _id: string;
3704
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
3705
+ _id: string;
3706
+ } & Required<{
3707
+ _id: string;
3708
+ }> & {
3709
+ __v: number;
3710
+ } & {
3711
+ id: string;
3712
+ }> | undefined;
3713
+ createdAt?: import("mongoose").SchemaDefinitionProperty<Date, 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
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
3724
+ _id: string;
3725
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
3726
+ _id: string;
3727
+ } & Required<{
3728
+ _id: string;
3729
+ }> & {
3730
+ __v: number;
3731
+ } & {
3732
+ id: string;
3733
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
3734
+ _id: string;
3735
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
3736
+ _id: string;
3737
+ } & Required<{
3738
+ _id: string;
3739
+ }> & {
3740
+ __v: number;
3741
+ } & {
3742
+ id: string;
3743
+ }> | undefined;
3744
+ updatedAt?: import("mongoose").SchemaDefinitionProperty<Date, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
3745
+ _id: string;
3746
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
3747
+ _id: string;
3748
+ } & Required<{
3749
+ _id: string;
3750
+ }> & {
3751
+ __v: number;
3752
+ } & {
3753
+ id: string;
3754
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
3755
+ _id: string;
3756
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
3757
+ _id: string;
3758
+ } & Required<{
3759
+ _id: string;
3760
+ }> & {
3761
+ __v: number;
3762
+ } & {
3763
+ id: string;
3764
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
3765
+ _id: string;
3766
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
3767
+ _id: string;
3768
+ } & Required<{
3769
+ _id: string;
3770
+ }> & {
3771
+ __v: number;
3772
+ } & {
3773
+ id: string;
3774
+ }> | undefined;
3775
+ reviewedAt?: import("mongoose").SchemaDefinitionProperty<Date | undefined, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
3776
+ _id: string;
3777
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
3778
+ _id: string;
3779
+ } & Required<{
3780
+ _id: string;
3781
+ }> & {
3782
+ __v: number;
3783
+ } & {
3784
+ id: string;
3785
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
3786
+ _id: string;
3787
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
3788
+ _id: string;
3789
+ } & Required<{
3790
+ _id: string;
3791
+ }> & {
3792
+ __v: number;
3793
+ } & {
3794
+ id: string;
3795
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
3796
+ _id: string;
3797
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
3798
+ _id: string;
3799
+ } & Required<{
3800
+ _id: string;
3801
+ }> & {
3802
+ __v: number;
3803
+ } & {
3804
+ id: string;
3805
+ }> | undefined;
3806
+ reviewedBy?: import("mongoose").SchemaDefinitionProperty<string | undefined, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
3807
+ _id: string;
3808
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
3809
+ _id: string;
3810
+ } & Required<{
3811
+ _id: string;
3812
+ }> & {
3813
+ __v: number;
3814
+ } & {
3815
+ id: string;
3816
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
3817
+ _id: string;
3818
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
3819
+ _id: string;
3820
+ } & Required<{
3821
+ _id: string;
3822
+ }> & {
3823
+ __v: number;
3824
+ } & {
3825
+ id: string;
3826
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
3827
+ _id: string;
3828
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
3829
+ _id: string;
3830
+ } & Required<{
3831
+ _id: string;
3832
+ }> & {
3833
+ __v: number;
3834
+ } & {
3835
+ id: string;
3836
+ }> | undefined;
3837
+ reviewNotes?: import("mongoose").SchemaDefinitionProperty<string | undefined, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
3838
+ _id: string;
3839
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
3840
+ _id: string;
3841
+ } & Required<{
3842
+ _id: string;
3843
+ }> & {
3844
+ __v: number;
3845
+ } & {
3846
+ id: string;
3847
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
3848
+ _id: string;
3849
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
3850
+ _id: string;
3851
+ } & Required<{
3852
+ _id: string;
3853
+ }> & {
3854
+ __v: number;
3855
+ } & {
3856
+ id: string;
3857
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
3858
+ _id: string;
3859
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
3860
+ _id: string;
3861
+ } & Required<{
3862
+ _id: string;
3863
+ }> & {
3864
+ __v: number;
3865
+ } & {
3866
+ id: string;
3867
+ }> | undefined;
3868
+ reporterAccountId?: import("mongoose").SchemaDefinitionProperty<string, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
3869
+ _id: string;
3870
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
3871
+ _id: string;
3872
+ } & Required<{
3873
+ _id: string;
3874
+ }> & {
3875
+ __v: number;
3876
+ } & {
3877
+ id: string;
3878
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
3879
+ _id: string;
3880
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
3881
+ _id: string;
3882
+ } & Required<{
3883
+ _id: string;
3884
+ }> & {
3885
+ __v: number;
3886
+ } & {
3887
+ id: string;
3888
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
3889
+ _id: string;
3890
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
3891
+ _id: string;
3892
+ } & Required<{
3893
+ _id: string;
3894
+ }> & {
3895
+ __v: number;
3896
+ } & {
3897
+ id: string;
3898
+ }> | undefined;
3899
+ reporterProfileId?: import("mongoose").SchemaDefinitionProperty<string | undefined, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
3900
+ _id: string;
3901
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
3902
+ _id: string;
3903
+ } & Required<{
3904
+ _id: string;
3905
+ }> & {
3906
+ __v: number;
3907
+ } & {
3908
+ id: string;
3909
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
3910
+ _id: string;
3911
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
3912
+ _id: string;
3913
+ } & Required<{
3914
+ _id: string;
3915
+ }> & {
3916
+ __v: number;
3917
+ } & {
3918
+ id: string;
3919
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
3920
+ _id: string;
3921
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
3922
+ _id: string;
3923
+ } & Required<{
3924
+ _id: string;
3925
+ }> & {
3926
+ __v: number;
3927
+ } & {
3928
+ id: string;
3929
+ }> | undefined;
3930
+ targetType?: import("mongoose").SchemaDefinitionProperty<FlagTargetType, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
3931
+ _id: string;
3932
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
3933
+ _id: string;
3934
+ } & Required<{
3935
+ _id: string;
3936
+ }> & {
3937
+ __v: number;
3938
+ } & {
3939
+ id: string;
3940
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
3941
+ _id: string;
3942
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
3943
+ _id: string;
3944
+ } & Required<{
3945
+ _id: string;
3946
+ }> & {
3947
+ __v: number;
3948
+ } & {
3949
+ id: string;
3950
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
3951
+ _id: string;
3952
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
3953
+ _id: string;
3954
+ } & Required<{
3955
+ _id: string;
3956
+ }> & {
3957
+ __v: number;
3958
+ } & {
3959
+ id: string;
3960
+ }> | undefined;
3961
+ targetId?: import("mongoose").SchemaDefinitionProperty<string, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
3962
+ _id: string;
3963
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
3964
+ _id: string;
3965
+ } & Required<{
3966
+ _id: string;
3967
+ }> & {
3968
+ __v: number;
3969
+ } & {
3970
+ id: string;
3971
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
3972
+ _id: string;
3973
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
3974
+ _id: string;
3975
+ } & Required<{
3976
+ _id: string;
3977
+ }> & {
3978
+ __v: number;
3979
+ } & {
3980
+ id: string;
3981
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
3982
+ _id: string;
3983
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
3984
+ _id: string;
3985
+ } & Required<{
3986
+ _id: string;
3987
+ }> & {
3988
+ __v: number;
3989
+ } & {
3990
+ id: string;
3991
+ }> | undefined;
3992
+ targetAccountId?: import("mongoose").SchemaDefinitionProperty<string, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
3993
+ _id: string;
3994
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
3995
+ _id: string;
3996
+ } & Required<{
3997
+ _id: string;
3998
+ }> & {
3999
+ __v: number;
4000
+ } & {
4001
+ id: string;
4002
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
4003
+ _id: string;
4004
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
4005
+ _id: string;
4006
+ } & Required<{
4007
+ _id: string;
4008
+ }> & {
4009
+ __v: number;
4010
+ } & {
4011
+ id: string;
4012
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
4013
+ _id: string;
4014
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
4015
+ _id: string;
4016
+ } & Required<{
4017
+ _id: string;
4018
+ }> & {
4019
+ __v: number;
4020
+ } & {
4021
+ id: string;
4022
+ }> | undefined;
4023
+ evidenceUrls?: import("mongoose").SchemaDefinitionProperty<string[] | undefined, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
4024
+ _id: string;
4025
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
4026
+ _id: string;
4027
+ } & Required<{
4028
+ _id: string;
4029
+ }> & {
4030
+ __v: number;
4031
+ } & {
4032
+ id: string;
4033
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
4034
+ _id: string;
4035
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
4036
+ _id: string;
4037
+ } & Required<{
4038
+ _id: string;
4039
+ }> & {
4040
+ __v: number;
4041
+ } & {
4042
+ id: string;
4043
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
4044
+ _id: string;
4045
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
4046
+ _id: string;
4047
+ } & Required<{
4048
+ _id: string;
4049
+ }> & {
4050
+ __v: number;
4051
+ } & {
4052
+ id: string;
4053
+ }> | undefined;
4054
+ chatId?: import("mongoose").SchemaDefinitionProperty<string | undefined, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
4055
+ _id: string;
4056
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
4057
+ _id: string;
4058
+ } & Required<{
4059
+ _id: string;
4060
+ }> & {
4061
+ __v: number;
4062
+ } & {
4063
+ id: string;
4064
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
4065
+ _id: string;
4066
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
4067
+ _id: string;
4068
+ } & Required<{
4069
+ _id: string;
4070
+ }> & {
4071
+ __v: number;
4072
+ } & {
4073
+ id: string;
4074
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
4075
+ _id: string;
4076
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
4077
+ _id: string;
4078
+ } & Required<{
4079
+ _id: string;
4080
+ }> & {
4081
+ __v: number;
4082
+ } & {
4083
+ id: string;
4084
+ }> | undefined;
4085
+ actionTaken?: import("mongoose").SchemaDefinitionProperty<FlagActionTaken | undefined, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
4086
+ _id: string;
4087
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
4088
+ _id: string;
4089
+ } & Required<{
4090
+ _id: string;
4091
+ }> & {
4092
+ __v: number;
4093
+ } & {
4094
+ id: string;
4095
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
4096
+ _id: string;
4097
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
4098
+ _id: string;
4099
+ } & Required<{
4100
+ _id: string;
4101
+ }> & {
4102
+ __v: number;
4103
+ } & {
4104
+ id: string;
4105
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
4106
+ _id: string;
4107
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
4108
+ _id: string;
4109
+ } & Required<{
4110
+ _id: string;
4111
+ }> & {
4112
+ __v: number;
4113
+ } & {
4114
+ id: string;
4115
+ }> | undefined;
4116
+ warningIssuedAt?: import("mongoose").SchemaDefinitionProperty<Date | undefined, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
4117
+ _id: string;
4118
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
4119
+ _id: string;
4120
+ } & Required<{
4121
+ _id: string;
4122
+ }> & {
4123
+ __v: number;
4124
+ } & {
4125
+ id: string;
4126
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
4127
+ _id: string;
4128
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
4129
+ _id: string;
4130
+ } & Required<{
4131
+ _id: string;
4132
+ }> & {
4133
+ __v: number;
4134
+ } & {
4135
+ id: string;
4136
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
4137
+ _id: string;
4138
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
4139
+ _id: string;
4140
+ } & Required<{
4141
+ _id: string;
4142
+ }> & {
4143
+ __v: number;
4144
+ } & {
4145
+ id: string;
4146
+ }> | undefined;
4147
+ suspensionEndsAt?: import("mongoose").SchemaDefinitionProperty<Date | undefined, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
4148
+ _id: string;
4149
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
4150
+ _id: string;
4151
+ } & Required<{
4152
+ _id: string;
4153
+ }> & {
4154
+ __v: number;
4155
+ } & {
4156
+ id: string;
4157
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
4158
+ _id: string;
4159
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
4160
+ _id: string;
4161
+ } & Required<{
4162
+ _id: string;
4163
+ }> & {
4164
+ __v: number;
4165
+ } & {
4166
+ id: string;
4167
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
4168
+ _id: string;
4169
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
4170
+ _id: string;
4171
+ } & Required<{
4172
+ _id: string;
4173
+ }> & {
4174
+ __v: number;
4175
+ } & {
4176
+ id: string;
4177
+ }> | undefined;
4178
+ appealedAt?: import("mongoose").SchemaDefinitionProperty<Date | undefined, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
4179
+ _id: string;
4180
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
4181
+ _id: string;
4182
+ } & Required<{
4183
+ _id: string;
4184
+ }> & {
4185
+ __v: number;
4186
+ } & {
4187
+ id: string;
4188
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
4189
+ _id: string;
4190
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
4191
+ _id: string;
4192
+ } & Required<{
4193
+ _id: string;
4194
+ }> & {
4195
+ __v: number;
4196
+ } & {
4197
+ id: string;
4198
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
4199
+ _id: string;
4200
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
4201
+ _id: string;
4202
+ } & Required<{
4203
+ _id: string;
4204
+ }> & {
4205
+ __v: number;
4206
+ } & {
4207
+ id: string;
4208
+ }> | undefined;
4209
+ appealNotes?: import("mongoose").SchemaDefinitionProperty<string | undefined, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
4210
+ _id: string;
4211
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
4212
+ _id: string;
4213
+ } & Required<{
4214
+ _id: string;
4215
+ }> & {
4216
+ __v: number;
4217
+ } & {
4218
+ id: string;
4219
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
4220
+ _id: string;
4221
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
4222
+ _id: string;
4223
+ } & Required<{
4224
+ _id: string;
4225
+ }> & {
4226
+ __v: number;
4227
+ } & {
4228
+ id: string;
4229
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
4230
+ _id: string;
4231
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
4232
+ _id: string;
4233
+ } & Required<{
4234
+ _id: string;
4235
+ }> & {
4236
+ __v: number;
4237
+ } & {
4238
+ id: string;
4239
+ }> | undefined;
4240
+ appealReviewedAt?: import("mongoose").SchemaDefinitionProperty<Date | undefined, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
4241
+ _id: string;
4242
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
4243
+ _id: string;
4244
+ } & Required<{
4245
+ _id: string;
4246
+ }> & {
4247
+ __v: number;
4248
+ } & {
4249
+ id: string;
4250
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
4251
+ _id: string;
4252
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
4253
+ _id: string;
4254
+ } & Required<{
4255
+ _id: string;
4256
+ }> & {
4257
+ __v: number;
4258
+ } & {
4259
+ id: string;
4260
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
4261
+ _id: string;
4262
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
4263
+ _id: string;
4264
+ } & Required<{
4265
+ _id: string;
4266
+ }> & {
4267
+ __v: number;
4268
+ } & {
4269
+ id: string;
4270
+ }> | undefined;
4271
+ appealOutcome?: import("mongoose").SchemaDefinitionProperty<"upheld" | "overturned" | undefined, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
4272
+ _id: string;
4273
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
4274
+ _id: string;
4275
+ } & Required<{
4276
+ _id: string;
4277
+ }> & {
4278
+ __v: number;
4279
+ } & {
4280
+ id: string;
4281
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
4282
+ _id: string;
4283
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
4284
+ _id: string;
4285
+ } & Required<{
4286
+ _id: string;
4287
+ }> & {
4288
+ __v: number;
4289
+ } & {
4290
+ id: string;
4291
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
4292
+ _id: string;
4293
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
4294
+ _id: string;
4295
+ } & Required<{
4296
+ _id: string;
4297
+ }> & {
4298
+ __v: number;
4299
+ } & {
4300
+ id: string;
4301
+ }> | undefined;
4302
+ __v?: import("mongoose").SchemaDefinitionProperty<number, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
4303
+ _id: string;
4304
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
4305
+ _id: string;
4306
+ } & Required<{
4307
+ _id: string;
4308
+ }> & {
4309
+ __v: number;
4310
+ } & {
4311
+ id: string;
4312
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
4313
+ _id: string;
4314
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
4315
+ _id: string;
4316
+ } & Required<{
4317
+ _id: string;
4318
+ }> & {
4319
+ __v: number;
4320
+ } & {
4321
+ id: string;
4322
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
4323
+ _id: string;
4324
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
4325
+ _id: string;
4326
+ } & Required<{
4327
+ _id: string;
4328
+ }> & {
4329
+ __v: number;
4330
+ } & {
4331
+ id: string;
4332
+ }> | undefined;
4333
+ id?: import("mongoose").SchemaDefinitionProperty<string, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
4334
+ _id: string;
4335
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
4336
+ _id: string;
4337
+ } & Required<{
4338
+ _id: string;
4339
+ }> & {
4340
+ __v: number;
4341
+ } & {
4342
+ id: string;
4343
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
4344
+ _id: string;
4345
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
4346
+ _id: string;
4347
+ } & Required<{
4348
+ _id: string;
4349
+ }> & {
4350
+ __v: number;
4351
+ } & {
4352
+ id: string;
4353
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
4354
+ _id: string;
4355
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
4356
+ _id: string;
4357
+ } & Required<{
4358
+ _id: string;
4359
+ }> & {
4360
+ __v: number;
4361
+ } & {
4362
+ id: string;
4363
+ }> | undefined;
4364
+ }, import("mongoose").Document<unknown, {}, Omit<IFlag, "id"> & {
4365
+ _id: string;
4366
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IFlag, "id"> & {
4367
+ _id: string;
4368
+ } & Required<{
4369
+ _id: string;
4370
+ }> & {
4371
+ __v: number;
4372
+ } & {
4373
+ id: string;
4374
+ }>;
4375
+ //# sourceMappingURL=flag.schema.d.ts.map