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