@managesome/knotr-toolkit 0.8.13 → 0.8.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (88) hide show
  1. package/dist/constants/socket.d.ts +6 -0
  2. package/dist/constants/socket.d.ts.map +1 -1
  3. package/dist/constants/socket.js +6 -0
  4. package/dist/constants/socket.js.map +1 -1
  5. package/dist/helpers/id-generator.d.ts +3 -0
  6. package/dist/helpers/id-generator.d.ts.map +1 -1
  7. package/dist/helpers/id-generator.js +4 -0
  8. package/dist/helpers/id-generator.js.map +1 -1
  9. package/dist/schemas/account.schema.d.ts +5244 -7
  10. package/dist/schemas/account.schema.d.ts.map +1 -1
  11. package/dist/schemas/account.schema.js +4 -0
  12. package/dist/schemas/account.schema.js.map +1 -1
  13. package/dist/schemas/chat.schema.d.ts +4920 -13
  14. package/dist/schemas/chat.schema.d.ts.map +1 -1
  15. package/dist/schemas/collaboration-request.schema.d.ts +3917 -8
  16. package/dist/schemas/collaboration-request.schema.d.ts.map +1 -1
  17. package/dist/schemas/company-review.schema.d.ts +3421 -7
  18. package/dist/schemas/company-review.schema.d.ts.map +1 -1
  19. package/dist/schemas/company.schema.d.ts +6498 -8
  20. package/dist/schemas/company.schema.d.ts.map +1 -1
  21. package/dist/schemas/contract.schema.d.ts +5436 -7
  22. package/dist/schemas/contract.schema.d.ts.map +1 -1
  23. package/dist/schemas/dispute-evidence.schema.d.ts +3747 -8
  24. package/dist/schemas/dispute-evidence.schema.d.ts.map +1 -1
  25. package/dist/schemas/dispute.schema.d.ts +5600 -8
  26. package/dist/schemas/dispute.schema.d.ts.map +1 -1
  27. package/dist/schemas/donation.schema.d.ts +3552 -8
  28. package/dist/schemas/donation.schema.d.ts.map +1 -1
  29. package/dist/schemas/escrow.schema.d.ts +4279 -8
  30. package/dist/schemas/escrow.schema.d.ts.map +1 -1
  31. package/dist/schemas/flag.schema.d.ts +4722 -8
  32. package/dist/schemas/flag.schema.d.ts.map +1 -1
  33. package/dist/schemas/interest.schema.d.ts +3811 -7
  34. package/dist/schemas/interest.schema.d.ts.map +1 -1
  35. package/dist/schemas/match.schema.d.ts +4071 -7
  36. package/dist/schemas/match.schema.d.ts.map +1 -1
  37. package/dist/schemas/message.schema.d.ts +4071 -7
  38. package/dist/schemas/message.schema.d.ts.map +1 -1
  39. package/dist/schemas/milestone.schema.d.ts +4462 -8
  40. package/dist/schemas/milestone.schema.d.ts.map +1 -1
  41. package/dist/schemas/notification.schema.d.ts +4660 -8
  42. package/dist/schemas/notification.schema.d.ts.map +1 -1
  43. package/dist/schemas/profile.schema.d.ts +9501 -16
  44. package/dist/schemas/profile.schema.d.ts.map +1 -1
  45. package/dist/schemas/profit-share-agreement.schema.d.ts +3746 -7
  46. package/dist/schemas/profit-share-agreement.schema.d.ts.map +1 -1
  47. package/dist/schemas/profit-share.schema.d.ts +4136 -7
  48. package/dist/schemas/profit-share.schema.d.ts.map +1 -1
  49. package/dist/schemas/promo-code.schema.d.ts +4071 -7
  50. package/dist/schemas/promo-code.schema.d.ts.map +1 -1
  51. package/dist/schemas/promo-code.schema.js +7 -0
  52. package/dist/schemas/promo-code.schema.js.map +1 -1
  53. package/dist/schemas/proposal.schema.d.ts +5269 -8
  54. package/dist/schemas/proposal.schema.d.ts.map +1 -1
  55. package/dist/schemas/purchase.schema.d.ts +3682 -8
  56. package/dist/schemas/purchase.schema.d.ts.map +1 -1
  57. package/dist/schemas/requirement-post.schema.d.ts +6272 -8
  58. package/dist/schemas/requirement-post.schema.d.ts.map +1 -1
  59. package/dist/schemas/review.schema.d.ts +4462 -8
  60. package/dist/schemas/review.schema.d.ts.map +1 -1
  61. package/dist/schemas/service-listing.schema.d.ts +5109 -8
  62. package/dist/schemas/service-listing.schema.d.ts.map +1 -1
  63. package/dist/schemas/subscription.schema.d.ts +4007 -8
  64. package/dist/schemas/subscription.schema.d.ts.map +1 -1
  65. package/dist/schemas/tmc-application.schema.d.ts +4316 -8
  66. package/dist/schemas/tmc-application.schema.d.ts.map +1 -1
  67. package/dist/schemas/tmc-membership.schema.d.ts +4137 -8
  68. package/dist/schemas/tmc-membership.schema.d.ts.map +1 -1
  69. package/dist/schemas/trust-badge.schema.d.ts +3876 -7
  70. package/dist/schemas/trust-badge.schema.d.ts.map +1 -1
  71. package/dist/schemas/verification.schema.d.ts +4694 -8
  72. package/dist/schemas/verification.schema.d.ts.map +1 -1
  73. package/dist/schemas/verification.schema.js +3 -0
  74. package/dist/schemas/verification.schema.js.map +1 -1
  75. package/dist/schemas/webhook-event.schema.d.ts +3489 -7
  76. package/dist/schemas/webhook-event.schema.d.ts.map +1 -1
  77. package/dist/types/account.d.ts +27 -0
  78. package/dist/types/account.d.ts.map +1 -1
  79. package/dist/types/common.d.ts +7 -1
  80. package/dist/types/common.d.ts.map +1 -1
  81. package/dist/types/marketplace.d.ts +6 -4
  82. package/dist/types/marketplace.d.ts.map +1 -1
  83. package/dist/types/payment.d.ts +3 -0
  84. package/dist/types/payment.d.ts.map +1 -1
  85. package/dist/types/payment.js.map +1 -1
  86. package/dist/types/verification.d.ts +2 -0
  87. package/dist/types/verification.d.ts.map +1 -1
  88. package/package.json +2 -2
@@ -1,5 +1,5 @@
1
1
  import { HydratedDocument, Model, Schema } from 'mongoose';
2
- import { INotification } from '../types/notification.js';
2
+ import { INotification, NotificationChannel, NotificationPriority, NotificationType } from '../types/notification.js';
3
3
  export type NotificationDocument = HydratedDocument<Omit<INotification, 'id'> & {
4
4
  _id: string;
5
5
  }>;
@@ -16,39 +16,4691 @@ export interface NotificationModel extends Model<NotificationDocument> {
16
16
  export declare function createNotificationSchema(): Schema<NotificationDocument, NotificationModel>;
17
17
  export declare const NotificationSchema: Schema<import("mongoose").Document<unknown, {}, Omit<INotification, "id"> & {
18
18
  _id: string;
19
- }, {}, {}> & Omit<INotification, "id"> & {
19
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<INotification, "id"> & {
20
20
  _id: string;
21
21
  } & Required<{
22
22
  _id: string;
23
23
  }> & {
24
24
  __v: number;
25
+ } & {
26
+ id: string;
25
27
  }, NotificationModel, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, import("mongoose").Document<unknown, {}, Omit<INotification, "id"> & {
26
28
  _id: string;
27
- }, {}, {}> & Omit<INotification, "id"> & {
29
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<INotification, "id"> & {
28
30
  _id: string;
29
31
  } & Required<{
30
32
  _id: string;
31
33
  }> & {
32
34
  __v: number;
33
- }, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<import("mongoose").Document<unknown, {}, Omit<INotification, "id"> & {
35
+ } & {
36
+ id: string;
37
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<INotification, "id"> & {
34
38
  _id: string;
35
- }, {}, {}> & Omit<INotification, "id"> & {
39
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<INotification, "id"> & {
36
40
  _id: string;
37
41
  } & Required<{
38
42
  _id: string;
39
43
  }> & {
40
44
  __v: number;
41
- }>, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").FlatRecord<import("mongoose").Document<unknown, {}, Omit<INotification, "id"> & {
45
+ } & {
46
+ id: string;
47
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<INotification, "id"> & {
42
48
  _id: string;
43
- }, {}, {}> & Omit<INotification, "id"> & {
49
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<INotification, "id"> & {
44
50
  _id: string;
45
51
  } & Required<{
46
52
  _id: string;
47
53
  }> & {
48
54
  __v: number;
49
- }> & Required<{
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" | "message" | "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" | "message" | "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" | "message" | "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" | "message" | "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" | "message" | "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" | "message" | "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" | "message" | "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" | "message" | "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" | "message" | "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
+ message?: string | undefined;
2010
+ type: NotificationType;
2011
+ priority: NotificationPriority;
2012
+ createdAt: Date;
2013
+ updatedAt: Date;
2014
+ _id: string;
2015
+ profileId?: string | undefined;
2016
+ accountId: string;
2017
+ imageUrl?: string | undefined;
2018
+ readAt?: Date | undefined;
2019
+ body: string;
2020
+ actionUrl?: string | undefined;
2021
+ actionData?: {
2022
+ [x: string]: unknown;
2023
+ } | undefined;
2024
+ channels: NotificationChannel[];
2025
+ isRead: boolean;
2026
+ isArchived: boolean;
2027
+ archivedAt?: Date | undefined;
2028
+ pushSentAt?: Date | undefined;
2029
+ pushDeliveredAt?: Date | undefined;
2030
+ pushFailedAt?: Date | undefined;
2031
+ pushFailureReason?: string | undefined;
2032
+ emailSentAt?: Date | undefined;
2033
+ emailDeliveredAt?: Date | undefined;
2034
+ smsSentAt?: Date | undefined;
2035
+ smsDeliveredAt?: Date | undefined;
2036
+ expiresAt?: Date | undefined;
2037
+ groupKey?: string | undefined;
2038
+ collapseKey?: string | undefined;
2039
+ };
2040
+ (options: import("mongoose").ToObjectOptions & {
2041
+ flattenMaps: false;
2042
+ flattenObjectIds: true;
2043
+ virtuals: true;
2044
+ }): {
2045
+ title: string;
2046
+ message?: string | undefined;
2047
+ type: NotificationType;
2048
+ priority: NotificationPriority;
2049
+ createdAt: Date;
2050
+ updatedAt: Date;
2051
+ profileId?: string | undefined;
2052
+ accountId: string;
2053
+ imageUrl?: string | undefined;
2054
+ readAt?: Date | undefined;
2055
+ body: string;
2056
+ actionUrl?: string | undefined;
2057
+ actionData?: {
2058
+ [x: string]: unknown;
2059
+ } | undefined;
2060
+ channels: NotificationChannel[];
2061
+ isRead: boolean;
2062
+ isArchived: boolean;
2063
+ archivedAt?: Date | undefined;
2064
+ pushSentAt?: Date | undefined;
2065
+ pushDeliveredAt?: Date | undefined;
2066
+ pushFailedAt?: Date | undefined;
2067
+ pushFailureReason?: string | undefined;
2068
+ emailSentAt?: Date | undefined;
2069
+ emailDeliveredAt?: Date | undefined;
2070
+ smsSentAt?: Date | undefined;
2071
+ smsDeliveredAt?: Date | undefined;
2072
+ expiresAt?: Date | undefined;
2073
+ groupKey?: string | undefined;
2074
+ collapseKey?: string | undefined;
2075
+ _id: string;
2076
+ };
2077
+ (options: import("mongoose").ToObjectOptions & {
2078
+ flattenMaps: false;
2079
+ flattenObjectIds: false;
2080
+ virtuals: true;
2081
+ versionKey: false;
2082
+ }): Omit<Omit<INotification, "id"> & {
2083
+ _id: string;
2084
+ } & Required<{
2085
+ _id: string;
2086
+ }>, "__v">;
2087
+ (options: import("mongoose").ToObjectOptions & {
2088
+ flattenMaps: false;
2089
+ flattenObjectIds: false;
2090
+ virtuals: true;
2091
+ }): Omit<INotification, "id"> & {
2092
+ _id: string;
2093
+ } & Required<{
2094
+ _id: string;
2095
+ }>;
2096
+ (options: import("mongoose").ToObjectOptions & {
2097
+ flattenMaps: false;
2098
+ flattenObjectIds: true;
2099
+ virtuals: false;
2100
+ versionKey: false;
2101
+ }): {
2102
+ title: string;
2103
+ message?: string | undefined;
2104
+ type: NotificationType;
2105
+ priority: NotificationPriority;
2106
+ createdAt: Date;
2107
+ updatedAt: Date;
2108
+ _id: string;
2109
+ profileId?: string | undefined;
2110
+ accountId: string;
2111
+ imageUrl?: string | undefined;
2112
+ readAt?: Date | undefined;
2113
+ body: string;
2114
+ actionUrl?: string | undefined;
2115
+ actionData?: {
2116
+ [x: string]: unknown;
2117
+ } | undefined;
2118
+ channels: NotificationChannel[];
2119
+ isRead: boolean;
2120
+ isArchived: boolean;
2121
+ archivedAt?: Date | undefined;
2122
+ pushSentAt?: Date | undefined;
2123
+ pushDeliveredAt?: Date | undefined;
2124
+ pushFailedAt?: Date | undefined;
2125
+ pushFailureReason?: string | undefined;
2126
+ emailSentAt?: Date | undefined;
2127
+ emailDeliveredAt?: Date | undefined;
2128
+ smsSentAt?: Date | undefined;
2129
+ smsDeliveredAt?: Date | undefined;
2130
+ expiresAt?: Date | undefined;
2131
+ groupKey?: string | undefined;
2132
+ collapseKey?: string | undefined;
2133
+ };
2134
+ (options: import("mongoose").ToObjectOptions & {
2135
+ flattenMaps: false;
2136
+ flattenObjectIds: true;
2137
+ virtuals: false;
2138
+ }): {
2139
+ title: string;
2140
+ message?: string | undefined;
2141
+ type: NotificationType;
2142
+ priority: NotificationPriority;
2143
+ createdAt: Date;
2144
+ updatedAt: Date;
2145
+ profileId?: string | undefined;
2146
+ accountId: string;
2147
+ imageUrl?: string | undefined;
2148
+ readAt?: Date | undefined;
2149
+ body: string;
2150
+ actionUrl?: string | undefined;
2151
+ actionData?: {
2152
+ [x: string]: unknown;
2153
+ } | undefined;
2154
+ channels: NotificationChannel[];
2155
+ isRead: boolean;
2156
+ isArchived: boolean;
2157
+ archivedAt?: Date | undefined;
2158
+ pushSentAt?: Date | undefined;
2159
+ pushDeliveredAt?: Date | undefined;
2160
+ pushFailedAt?: Date | undefined;
2161
+ pushFailureReason?: string | undefined;
2162
+ emailSentAt?: Date | undefined;
2163
+ emailDeliveredAt?: Date | undefined;
2164
+ smsSentAt?: Date | undefined;
2165
+ smsDeliveredAt?: Date | undefined;
2166
+ expiresAt?: Date | undefined;
2167
+ groupKey?: string | undefined;
2168
+ collapseKey?: string | undefined;
2169
+ _id: string;
2170
+ };
2171
+ (options: import("mongoose").ToObjectOptions & {
2172
+ flattenMaps: false;
2173
+ flattenObjectIds: false;
2174
+ virtuals: false;
2175
+ versionKey: false;
2176
+ }): Omit<Omit<INotification, "id"> & {
2177
+ _id: string;
2178
+ } & Required<{
2179
+ _id: string;
2180
+ }>, "__v">;
2181
+ (options: import("mongoose").ToObjectOptions & {
2182
+ flattenMaps: false;
2183
+ flattenObjectIds: false;
2184
+ virtuals: false;
2185
+ }): Omit<INotification, "id"> & {
2186
+ _id: string;
2187
+ } & Required<{
2188
+ _id: string;
2189
+ }>;
2190
+ (options: import("mongoose").ToObjectOptions & {
2191
+ flattenMaps: true;
2192
+ flattenObjectIds: true;
2193
+ virtuals: true;
2194
+ versionKey: false;
2195
+ }): {
2196
+ title: string;
2197
+ message?: string | undefined;
2198
+ type: NotificationType;
2199
+ priority: NotificationPriority;
2200
+ createdAt: Date;
2201
+ updatedAt: Date;
2202
+ _id: string;
2203
+ profileId?: string | undefined;
2204
+ accountId: string;
2205
+ imageUrl?: string | undefined;
2206
+ readAt?: Date | undefined;
2207
+ body: string;
2208
+ actionUrl?: string | undefined;
2209
+ actionData?: {
2210
+ [x: string]: {};
2211
+ } | undefined;
2212
+ channels: NotificationChannel[];
2213
+ isRead: boolean;
2214
+ isArchived: boolean;
2215
+ archivedAt?: Date | undefined;
2216
+ pushSentAt?: Date | undefined;
2217
+ pushDeliveredAt?: Date | undefined;
2218
+ pushFailedAt?: Date | undefined;
2219
+ pushFailureReason?: string | undefined;
2220
+ emailSentAt?: Date | undefined;
2221
+ emailDeliveredAt?: Date | undefined;
2222
+ smsSentAt?: Date | undefined;
2223
+ smsDeliveredAt?: Date | undefined;
2224
+ expiresAt?: Date | undefined;
2225
+ groupKey?: string | undefined;
2226
+ collapseKey?: string | undefined;
2227
+ };
2228
+ (options: import("mongoose").ToObjectOptions & {
2229
+ flattenMaps: true;
2230
+ flattenObjectIds: true;
2231
+ virtuals: true;
2232
+ }): {
2233
+ title: string;
2234
+ message?: string | undefined;
2235
+ type: NotificationType;
2236
+ priority: NotificationPriority;
2237
+ createdAt: Date;
2238
+ updatedAt: Date;
2239
+ profileId?: string | undefined;
2240
+ accountId: string;
2241
+ imageUrl?: string | undefined;
2242
+ readAt?: Date | undefined;
2243
+ body: string;
2244
+ actionUrl?: string | undefined;
2245
+ actionData?: {
2246
+ [x: string]: {};
2247
+ } | undefined;
2248
+ channels: NotificationChannel[];
2249
+ isRead: boolean;
2250
+ isArchived: boolean;
2251
+ archivedAt?: Date | undefined;
2252
+ pushSentAt?: Date | undefined;
2253
+ pushDeliveredAt?: Date | undefined;
2254
+ pushFailedAt?: Date | undefined;
2255
+ pushFailureReason?: string | undefined;
2256
+ emailSentAt?: Date | undefined;
2257
+ emailDeliveredAt?: Date | undefined;
2258
+ smsSentAt?: Date | undefined;
2259
+ smsDeliveredAt?: Date | undefined;
2260
+ expiresAt?: Date | undefined;
2261
+ groupKey?: string | undefined;
2262
+ collapseKey?: string | undefined;
2263
+ _id: string;
2264
+ };
2265
+ (options: import("mongoose").ToObjectOptions & {
2266
+ flattenMaps: true;
2267
+ flattenObjectIds: false;
2268
+ virtuals: true;
2269
+ versionKey: false;
2270
+ }): Omit<import("mongoose").FlattenMaps<Omit<INotification, "id"> & {
2271
+ _id: string;
2272
+ } & Required<{
2273
+ _id: string;
2274
+ }>>, "__v">;
2275
+ (options: import("mongoose").ToObjectOptions & {
2276
+ flattenMaps: true;
2277
+ flattenObjectIds: false;
2278
+ virtuals: true;
2279
+ }): import("mongoose").FlattenMaps<Omit<INotification, "id"> & {
2280
+ _id: string;
2281
+ } & Required<{
2282
+ _id: string;
2283
+ }>>;
2284
+ (options: import("mongoose").ToObjectOptions & {
2285
+ flattenMaps: true;
2286
+ flattenObjectIds: true;
2287
+ virtuals: false;
2288
+ versionKey: false;
2289
+ }): {
2290
+ title: string;
2291
+ message?: string | undefined;
2292
+ type: NotificationType;
2293
+ priority: NotificationPriority;
2294
+ createdAt: Date;
2295
+ updatedAt: Date;
2296
+ _id: string;
2297
+ profileId?: string | undefined;
2298
+ accountId: string;
2299
+ imageUrl?: string | undefined;
2300
+ readAt?: Date | undefined;
2301
+ body: string;
2302
+ actionUrl?: string | undefined;
2303
+ actionData?: {
2304
+ [x: string]: {};
2305
+ } | undefined;
2306
+ channels: NotificationChannel[];
2307
+ isRead: boolean;
2308
+ isArchived: boolean;
2309
+ archivedAt?: Date | undefined;
2310
+ pushSentAt?: Date | undefined;
2311
+ pushDeliveredAt?: Date | undefined;
2312
+ pushFailedAt?: Date | undefined;
2313
+ pushFailureReason?: string | undefined;
2314
+ emailSentAt?: Date | undefined;
2315
+ emailDeliveredAt?: Date | undefined;
2316
+ smsSentAt?: Date | undefined;
2317
+ smsDeliveredAt?: Date | undefined;
2318
+ expiresAt?: Date | undefined;
2319
+ groupKey?: string | undefined;
2320
+ collapseKey?: string | undefined;
2321
+ };
2322
+ (options: import("mongoose").ToObjectOptions & {
2323
+ flattenMaps: true;
2324
+ flattenObjectIds: true;
2325
+ virtuals: false;
2326
+ }): {
2327
+ title: string;
2328
+ message?: string | undefined;
2329
+ type: NotificationType;
2330
+ priority: NotificationPriority;
2331
+ createdAt: Date;
2332
+ updatedAt: Date;
2333
+ profileId?: string | undefined;
2334
+ accountId: string;
2335
+ imageUrl?: string | undefined;
2336
+ readAt?: Date | undefined;
2337
+ body: string;
2338
+ actionUrl?: string | undefined;
2339
+ actionData?: {
2340
+ [x: string]: {};
2341
+ } | undefined;
2342
+ channels: NotificationChannel[];
2343
+ isRead: boolean;
2344
+ isArchived: boolean;
2345
+ archivedAt?: Date | undefined;
2346
+ pushSentAt?: Date | undefined;
2347
+ pushDeliveredAt?: Date | undefined;
2348
+ pushFailedAt?: Date | undefined;
2349
+ pushFailureReason?: string | undefined;
2350
+ emailSentAt?: Date | undefined;
2351
+ emailDeliveredAt?: Date | undefined;
2352
+ smsSentAt?: Date | undefined;
2353
+ smsDeliveredAt?: Date | undefined;
2354
+ expiresAt?: Date | undefined;
2355
+ groupKey?: string | undefined;
2356
+ collapseKey?: string | undefined;
2357
+ _id: string;
2358
+ };
2359
+ (options: import("mongoose").ToObjectOptions & {
2360
+ flattenMaps: true;
2361
+ flattenObjectIds: false;
2362
+ virtuals: false;
2363
+ versionKey: false;
2364
+ }): Omit<import("mongoose").FlattenMaps<Omit<INotification, "id"> & {
2365
+ _id: string;
2366
+ } & Required<{
2367
+ _id: string;
2368
+ }>>, "__v">;
2369
+ (options: import("mongoose").ToObjectOptions & {
2370
+ flattenMaps: true;
2371
+ flattenObjectIds: false;
2372
+ virtuals: false;
2373
+ }): import("mongoose").FlattenMaps<Omit<INotification, "id"> & {
2374
+ _id: string;
2375
+ } & Required<{
2376
+ _id: string;
2377
+ }>>;
2378
+ (options: import("mongoose").ToObjectOptions & {
2379
+ flattenMaps: true;
2380
+ flattenObjectIds: true;
2381
+ virtuals: true;
2382
+ }): {
2383
+ title: string;
2384
+ message?: string | undefined;
2385
+ type: NotificationType;
2386
+ priority: NotificationPriority;
2387
+ createdAt: Date;
2388
+ updatedAt: Date;
2389
+ profileId?: string | undefined;
2390
+ accountId: string;
2391
+ imageUrl?: string | undefined;
2392
+ readAt?: Date | undefined;
2393
+ body: string;
2394
+ actionUrl?: string | undefined;
2395
+ actionData?: {
2396
+ [x: string]: {};
2397
+ } | undefined;
2398
+ channels: NotificationChannel[];
2399
+ isRead: boolean;
2400
+ isArchived: boolean;
2401
+ archivedAt?: Date | undefined;
2402
+ pushSentAt?: Date | undefined;
2403
+ pushDeliveredAt?: Date | undefined;
2404
+ pushFailedAt?: Date | undefined;
2405
+ pushFailureReason?: string | undefined;
2406
+ emailSentAt?: Date | undefined;
2407
+ emailDeliveredAt?: Date | undefined;
2408
+ smsSentAt?: Date | undefined;
2409
+ smsDeliveredAt?: Date | undefined;
2410
+ expiresAt?: Date | undefined;
2411
+ groupKey?: string | undefined;
2412
+ collapseKey?: string | undefined;
2413
+ _id: string;
2414
+ };
2415
+ (options: import("mongoose").ToObjectOptions & {
2416
+ flattenMaps: true;
2417
+ flattenObjectIds: true;
2418
+ }): {
2419
+ title: string;
2420
+ message?: string | undefined;
2421
+ type: NotificationType;
2422
+ priority: NotificationPriority;
2423
+ createdAt: Date;
2424
+ updatedAt: Date;
2425
+ profileId?: string | undefined;
2426
+ accountId: string;
2427
+ imageUrl?: string | undefined;
2428
+ readAt?: Date | undefined;
2429
+ body: string;
2430
+ actionUrl?: string | undefined;
2431
+ actionData?: {
2432
+ [x: string]: {};
2433
+ } | undefined;
2434
+ channels: NotificationChannel[];
2435
+ isRead: boolean;
2436
+ isArchived: boolean;
2437
+ archivedAt?: Date | undefined;
2438
+ pushSentAt?: Date | undefined;
2439
+ pushDeliveredAt?: Date | undefined;
2440
+ pushFailedAt?: Date | undefined;
2441
+ pushFailureReason?: string | undefined;
2442
+ emailSentAt?: Date | undefined;
2443
+ emailDeliveredAt?: Date | undefined;
2444
+ smsSentAt?: Date | undefined;
2445
+ smsDeliveredAt?: Date | undefined;
2446
+ expiresAt?: Date | undefined;
2447
+ groupKey?: string | undefined;
2448
+ collapseKey?: string | undefined;
2449
+ _id: string;
2450
+ };
2451
+ (options: import("mongoose").ToObjectOptions & {
2452
+ flattenObjectIds: true;
2453
+ virtuals: true;
2454
+ }): {
2455
+ title: string;
2456
+ message?: string | undefined;
2457
+ type: NotificationType;
2458
+ priority: NotificationPriority;
2459
+ createdAt: Date;
2460
+ updatedAt: Date;
2461
+ profileId?: string | undefined;
2462
+ accountId: string;
2463
+ imageUrl?: string | undefined;
2464
+ readAt?: Date | undefined;
2465
+ body: string;
2466
+ actionUrl?: string | undefined;
2467
+ actionData?: {
2468
+ [x: string]: unknown;
2469
+ } | undefined;
2470
+ channels: NotificationChannel[];
2471
+ isRead: boolean;
2472
+ isArchived: boolean;
2473
+ archivedAt?: Date | undefined;
2474
+ pushSentAt?: Date | undefined;
2475
+ pushDeliveredAt?: Date | undefined;
2476
+ pushFailedAt?: Date | undefined;
2477
+ pushFailureReason?: string | undefined;
2478
+ emailSentAt?: Date | undefined;
2479
+ emailDeliveredAt?: Date | undefined;
2480
+ smsSentAt?: Date | undefined;
2481
+ smsDeliveredAt?: Date | undefined;
2482
+ expiresAt?: Date | undefined;
2483
+ groupKey?: string | undefined;
2484
+ collapseKey?: string | undefined;
2485
+ _id: string;
2486
+ };
2487
+ (options: import("mongoose").ToObjectOptions & {
2488
+ flattenObjectIds: true;
2489
+ }): {
2490
+ title: string;
2491
+ message?: string | undefined;
2492
+ type: NotificationType;
2493
+ priority: NotificationPriority;
2494
+ createdAt: Date;
2495
+ updatedAt: Date;
2496
+ profileId?: string | undefined;
2497
+ accountId: string;
2498
+ imageUrl?: string | undefined;
2499
+ readAt?: Date | undefined;
2500
+ body: string;
2501
+ actionUrl?: string | undefined;
2502
+ actionData?: {
2503
+ [x: string]: unknown;
2504
+ } | undefined;
2505
+ channels: NotificationChannel[];
2506
+ isRead: boolean;
2507
+ isArchived: boolean;
2508
+ archivedAt?: Date | undefined;
2509
+ pushSentAt?: Date | undefined;
2510
+ pushDeliveredAt?: Date | undefined;
2511
+ pushFailedAt?: Date | undefined;
2512
+ pushFailureReason?: string | undefined;
2513
+ emailSentAt?: Date | undefined;
2514
+ emailDeliveredAt?: Date | undefined;
2515
+ smsSentAt?: Date | undefined;
2516
+ smsDeliveredAt?: Date | undefined;
2517
+ expiresAt?: Date | undefined;
2518
+ groupKey?: string | undefined;
2519
+ collapseKey?: string | undefined;
2520
+ _id: string;
2521
+ };
2522
+ (options: import("mongoose").ToObjectOptions & {
2523
+ flattenMaps: true;
2524
+ virtuals: true;
2525
+ }): import("mongoose").FlattenMaps<Omit<INotification, "id"> & {
2526
+ _id: string;
2527
+ } & Required<{
2528
+ _id: string;
2529
+ }>>;
2530
+ (options: import("mongoose").ToObjectOptions & {
2531
+ flattenMaps: true;
2532
+ }): import("mongoose").FlattenMaps<Omit<INotification, "id"> & {
2533
+ _id: string;
2534
+ } & Required<{
2535
+ _id: string;
2536
+ }>>;
2537
+ (options: import("mongoose").ToObjectOptions & {
2538
+ versionKey: false;
2539
+ flattenMaps: true;
2540
+ flattenObjectIds: true;
2541
+ virtuals: true;
2542
+ }): {
2543
+ title: string;
2544
+ message?: string | undefined;
2545
+ type: NotificationType;
2546
+ priority: NotificationPriority;
2547
+ createdAt: Date;
2548
+ updatedAt: Date;
2549
+ _id: string;
2550
+ profileId?: string | undefined;
2551
+ accountId: string;
2552
+ imageUrl?: string | undefined;
2553
+ readAt?: Date | undefined;
2554
+ body: string;
2555
+ actionUrl?: string | undefined;
2556
+ actionData?: {
2557
+ [x: string]: {};
2558
+ } | undefined;
2559
+ channels: NotificationChannel[];
2560
+ isRead: boolean;
2561
+ isArchived: boolean;
2562
+ archivedAt?: Date | undefined;
2563
+ pushSentAt?: Date | undefined;
2564
+ pushDeliveredAt?: Date | undefined;
2565
+ pushFailedAt?: Date | undefined;
2566
+ pushFailureReason?: string | undefined;
2567
+ emailSentAt?: Date | undefined;
2568
+ emailDeliveredAt?: Date | undefined;
2569
+ smsSentAt?: Date | undefined;
2570
+ smsDeliveredAt?: Date | undefined;
2571
+ expiresAt?: Date | undefined;
2572
+ groupKey?: string | undefined;
2573
+ collapseKey?: string | undefined;
2574
+ };
2575
+ (options: import("mongoose").ToObjectOptions & {
2576
+ versionKey: false;
2577
+ flattenMaps: false;
2578
+ flattenObjectIds: true;
2579
+ virtuals: true;
2580
+ }): {
2581
+ title: string;
2582
+ message?: string | undefined;
2583
+ type: NotificationType;
2584
+ priority: NotificationPriority;
2585
+ createdAt: Date;
2586
+ updatedAt: Date;
2587
+ _id: string;
2588
+ profileId?: string | undefined;
2589
+ accountId: string;
2590
+ imageUrl?: string | undefined;
2591
+ readAt?: Date | undefined;
2592
+ body: string;
2593
+ actionUrl?: string | undefined;
2594
+ actionData?: {
2595
+ [x: string]: unknown;
2596
+ } | undefined;
2597
+ channels: NotificationChannel[];
2598
+ isRead: boolean;
2599
+ isArchived: boolean;
2600
+ archivedAt?: Date | undefined;
2601
+ pushSentAt?: Date | undefined;
2602
+ pushDeliveredAt?: Date | undefined;
2603
+ pushFailedAt?: Date | undefined;
2604
+ pushFailureReason?: string | undefined;
2605
+ emailSentAt?: Date | undefined;
2606
+ emailDeliveredAt?: Date | undefined;
2607
+ smsSentAt?: Date | undefined;
2608
+ smsDeliveredAt?: Date | undefined;
2609
+ expiresAt?: Date | undefined;
2610
+ groupKey?: string | undefined;
2611
+ collapseKey?: string | undefined;
2612
+ };
2613
+ (options: import("mongoose").ToObjectOptions & {
2614
+ versionKey: false;
2615
+ flattenMaps: true;
2616
+ virtuals: true;
2617
+ }): Omit<import("mongoose").FlattenMaps<Omit<INotification, "id"> & {
2618
+ _id: string;
2619
+ } & Required<{
2620
+ _id: string;
2621
+ }>>, "__v">;
2622
+ (options: import("mongoose").ToObjectOptions & {
2623
+ versionKey: false;
2624
+ flattenObjectIds: true;
2625
+ virtuals: true;
2626
+ }): {
2627
+ title: string;
2628
+ message?: string | undefined;
2629
+ type: NotificationType;
2630
+ priority: NotificationPriority;
2631
+ createdAt: Date;
2632
+ updatedAt: Date;
2633
+ _id: string;
2634
+ profileId?: string | undefined;
2635
+ accountId: string;
2636
+ imageUrl?: string | undefined;
2637
+ readAt?: Date | undefined;
2638
+ body: string;
2639
+ actionUrl?: string | undefined;
2640
+ actionData?: {
2641
+ [x: string]: unknown;
2642
+ } | undefined;
2643
+ channels: NotificationChannel[];
2644
+ isRead: boolean;
2645
+ isArchived: boolean;
2646
+ archivedAt?: Date | undefined;
2647
+ pushSentAt?: Date | undefined;
2648
+ pushDeliveredAt?: Date | undefined;
2649
+ pushFailedAt?: Date | undefined;
2650
+ pushFailureReason?: string | undefined;
2651
+ emailSentAt?: Date | undefined;
2652
+ emailDeliveredAt?: Date | undefined;
2653
+ smsSentAt?: Date | undefined;
2654
+ smsDeliveredAt?: Date | undefined;
2655
+ expiresAt?: Date | undefined;
2656
+ groupKey?: string | undefined;
2657
+ collapseKey?: string | undefined;
2658
+ };
2659
+ (options: import("mongoose").ToObjectOptions & {
2660
+ versionKey: false;
2661
+ virtuals: true;
2662
+ }): Omit<Omit<INotification, "id"> & {
2663
+ _id: string;
2664
+ } & Required<{
2665
+ _id: string;
2666
+ }>, "__v">;
2667
+ (options: import("mongoose").ToObjectOptions & {
2668
+ versionKey: false;
2669
+ flattenMaps: true;
2670
+ flattenObjectIds: true;
2671
+ }): {
2672
+ title: string;
2673
+ message?: string | undefined;
2674
+ type: NotificationType;
2675
+ priority: NotificationPriority;
2676
+ createdAt: Date;
2677
+ updatedAt: Date;
2678
+ _id: string;
2679
+ profileId?: string | undefined;
2680
+ accountId: string;
2681
+ imageUrl?: string | undefined;
2682
+ readAt?: Date | undefined;
2683
+ body: string;
2684
+ actionUrl?: string | undefined;
2685
+ actionData?: {
2686
+ [x: string]: {};
2687
+ } | undefined;
2688
+ channels: NotificationChannel[];
2689
+ isRead: boolean;
2690
+ isArchived: boolean;
2691
+ archivedAt?: Date | undefined;
2692
+ pushSentAt?: Date | undefined;
2693
+ pushDeliveredAt?: Date | undefined;
2694
+ pushFailedAt?: Date | undefined;
2695
+ pushFailureReason?: string | undefined;
2696
+ emailSentAt?: Date | undefined;
2697
+ emailDeliveredAt?: Date | undefined;
2698
+ smsSentAt?: Date | undefined;
2699
+ smsDeliveredAt?: Date | undefined;
2700
+ expiresAt?: Date | undefined;
2701
+ groupKey?: string | undefined;
2702
+ collapseKey?: string | undefined;
2703
+ };
2704
+ (options: import("mongoose").ToObjectOptions & {
2705
+ versionKey: false;
2706
+ flattenObjectIds: true;
2707
+ }): {
2708
+ title: string;
2709
+ message?: string | undefined;
2710
+ type: NotificationType;
2711
+ priority: NotificationPriority;
2712
+ createdAt: Date;
2713
+ updatedAt: Date;
2714
+ _id: string;
2715
+ profileId?: string | undefined;
2716
+ accountId: string;
2717
+ imageUrl?: string | undefined;
2718
+ readAt?: Date | undefined;
2719
+ body: string;
2720
+ actionUrl?: string | undefined;
2721
+ actionData?: {
2722
+ [x: string]: unknown;
2723
+ } | undefined;
2724
+ channels: NotificationChannel[];
2725
+ isRead: boolean;
2726
+ isArchived: boolean;
2727
+ archivedAt?: Date | undefined;
2728
+ pushSentAt?: Date | undefined;
2729
+ pushDeliveredAt?: Date | undefined;
2730
+ pushFailedAt?: Date | undefined;
2731
+ pushFailureReason?: string | undefined;
2732
+ emailSentAt?: Date | undefined;
2733
+ emailDeliveredAt?: Date | undefined;
2734
+ smsSentAt?: Date | undefined;
2735
+ smsDeliveredAt?: Date | undefined;
2736
+ expiresAt?: Date | undefined;
2737
+ groupKey?: string | undefined;
2738
+ collapseKey?: string | undefined;
2739
+ };
2740
+ (options: import("mongoose").ToObjectOptions & {
2741
+ versionKey: false;
2742
+ flattenMaps: true;
2743
+ }): Omit<import("mongoose").FlattenMaps<Omit<INotification, "id"> & {
2744
+ _id: string;
2745
+ } & Required<{
2746
+ _id: string;
2747
+ }>>, "__v">;
2748
+ (options: import("mongoose").ToObjectOptions & {
2749
+ versionKey: false;
2750
+ }): Omit<Omit<INotification, "id"> & {
2751
+ _id: string;
2752
+ } & Required<{
2753
+ _id: string;
2754
+ }>, "__v">;
2755
+ (options: import("mongoose").ToObjectOptions & {
2756
+ virtuals: true;
2757
+ }): Omit<INotification, "id"> & {
2758
+ _id: string;
2759
+ } & Required<{
2760
+ _id: string;
2761
+ }>;
2762
+ (options?: import("mongoose").ToObjectOptions): Omit<INotification, "id"> & {
2763
+ _id: string;
2764
+ } & Required<{
2765
+ _id: string;
2766
+ }> & {
2767
+ __v: number;
2768
+ };
2769
+ <T>(options?: import("mongoose").ToObjectOptions): import("mongoose").Require_id<T> & {
2770
+ __v: number;
2771
+ };
2772
+ }, import("mongoose").Document<unknown, {}, Omit<INotification, "id"> & {
2773
+ _id: string;
2774
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<INotification, "id"> & {
2775
+ _id: string;
2776
+ } & Required<{
2777
+ _id: string;
2778
+ }> & {
2779
+ __v: number;
2780
+ } & {
2781
+ id: string;
2782
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<INotification, "id"> & {
2783
+ _id: string;
2784
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<INotification, "id"> & {
2785
+ _id: string;
2786
+ } & Required<{
2787
+ _id: string;
2788
+ }> & {
2789
+ __v: number;
2790
+ } & {
2791
+ id: string;
2792
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<INotification, "id"> & {
2793
+ _id: string;
2794
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<INotification, "id"> & {
2795
+ _id: string;
2796
+ } & Required<{
2797
+ _id: string;
2798
+ }> & {
2799
+ __v: number;
2800
+ } & {
2801
+ id: string;
2802
+ }> | undefined;
2803
+ toObject?: import("mongoose").SchemaDefinitionProperty<{
2804
+ (options: import("mongoose").ToObjectOptions & {
2805
+ flattenMaps: false;
2806
+ flattenObjectIds: true;
2807
+ virtuals: true;
2808
+ versionKey: false;
2809
+ }): {
2810
+ title: string;
2811
+ message?: string | undefined;
2812
+ type: NotificationType;
2813
+ priority: NotificationPriority;
2814
+ createdAt: Date;
2815
+ updatedAt: Date;
2816
+ _id: string;
2817
+ profileId?: string | undefined;
2818
+ accountId: string;
2819
+ imageUrl?: string | undefined;
2820
+ readAt?: Date | undefined;
2821
+ body: string;
2822
+ actionUrl?: string | undefined;
2823
+ actionData?: {
2824
+ [x: string]: unknown;
2825
+ } | undefined;
2826
+ channels: NotificationChannel[];
2827
+ isRead: boolean;
2828
+ isArchived: boolean;
2829
+ archivedAt?: Date | undefined;
2830
+ pushSentAt?: Date | undefined;
2831
+ pushDeliveredAt?: Date | undefined;
2832
+ pushFailedAt?: Date | undefined;
2833
+ pushFailureReason?: string | undefined;
2834
+ emailSentAt?: Date | undefined;
2835
+ emailDeliveredAt?: Date | undefined;
2836
+ smsSentAt?: Date | undefined;
2837
+ smsDeliveredAt?: Date | undefined;
2838
+ expiresAt?: Date | undefined;
2839
+ groupKey?: string | undefined;
2840
+ collapseKey?: string | undefined;
2841
+ };
2842
+ (options: import("mongoose").ToObjectOptions & {
2843
+ flattenMaps: false;
2844
+ flattenObjectIds: true;
2845
+ virtuals: true;
2846
+ }): {
2847
+ title: string;
2848
+ message?: string | undefined;
2849
+ type: NotificationType;
2850
+ priority: NotificationPriority;
2851
+ createdAt: Date;
2852
+ updatedAt: Date;
2853
+ profileId?: string | undefined;
2854
+ accountId: string;
2855
+ imageUrl?: string | undefined;
2856
+ readAt?: Date | undefined;
2857
+ body: string;
2858
+ actionUrl?: string | undefined;
2859
+ actionData?: {
2860
+ [x: string]: unknown;
2861
+ } | undefined;
2862
+ channels: NotificationChannel[];
2863
+ isRead: boolean;
2864
+ isArchived: boolean;
2865
+ archivedAt?: Date | undefined;
2866
+ pushSentAt?: Date | undefined;
2867
+ pushDeliveredAt?: Date | undefined;
2868
+ pushFailedAt?: Date | undefined;
2869
+ pushFailureReason?: string | undefined;
2870
+ emailSentAt?: Date | undefined;
2871
+ emailDeliveredAt?: Date | undefined;
2872
+ smsSentAt?: Date | undefined;
2873
+ smsDeliveredAt?: Date | undefined;
2874
+ expiresAt?: Date | undefined;
2875
+ groupKey?: string | undefined;
2876
+ collapseKey?: string | undefined;
2877
+ _id: string;
2878
+ };
2879
+ (options: import("mongoose").ToObjectOptions & {
2880
+ flattenMaps: false;
2881
+ flattenObjectIds: false;
2882
+ virtuals: true;
2883
+ versionKey: false;
2884
+ }): Omit<Omit<INotification, "id"> & {
2885
+ _id: string;
2886
+ } & Required<{
2887
+ _id: string;
2888
+ }>, "__v">;
2889
+ (options: import("mongoose").ToObjectOptions & {
2890
+ flattenMaps: false;
2891
+ flattenObjectIds: false;
2892
+ virtuals: true;
2893
+ }): Omit<INotification, "id"> & {
2894
+ _id: string;
2895
+ } & Required<{
2896
+ _id: string;
2897
+ }>;
2898
+ (options: import("mongoose").ToObjectOptions & {
2899
+ flattenMaps: false;
2900
+ flattenObjectIds: true;
2901
+ virtuals: false;
2902
+ versionKey: false;
2903
+ }): {
2904
+ title: string;
2905
+ message?: string | undefined;
2906
+ type: NotificationType;
2907
+ priority: NotificationPriority;
2908
+ createdAt: Date;
2909
+ updatedAt: Date;
2910
+ _id: string;
2911
+ profileId?: string | undefined;
2912
+ accountId: string;
2913
+ imageUrl?: string | undefined;
2914
+ readAt?: Date | undefined;
2915
+ body: string;
2916
+ actionUrl?: string | undefined;
2917
+ actionData?: {
2918
+ [x: string]: unknown;
2919
+ } | undefined;
2920
+ channels: NotificationChannel[];
2921
+ isRead: boolean;
2922
+ isArchived: boolean;
2923
+ archivedAt?: Date | undefined;
2924
+ pushSentAt?: Date | undefined;
2925
+ pushDeliveredAt?: Date | undefined;
2926
+ pushFailedAt?: Date | undefined;
2927
+ pushFailureReason?: string | undefined;
2928
+ emailSentAt?: Date | undefined;
2929
+ emailDeliveredAt?: Date | undefined;
2930
+ smsSentAt?: Date | undefined;
2931
+ smsDeliveredAt?: Date | undefined;
2932
+ expiresAt?: Date | undefined;
2933
+ groupKey?: string | undefined;
2934
+ collapseKey?: string | undefined;
2935
+ };
2936
+ (options: import("mongoose").ToObjectOptions & {
2937
+ flattenMaps: false;
2938
+ flattenObjectIds: true;
2939
+ virtuals: false;
2940
+ }): {
2941
+ title: string;
2942
+ message?: string | undefined;
2943
+ type: NotificationType;
2944
+ priority: NotificationPriority;
2945
+ createdAt: Date;
2946
+ updatedAt: Date;
2947
+ profileId?: string | undefined;
2948
+ accountId: string;
2949
+ imageUrl?: string | undefined;
2950
+ readAt?: Date | undefined;
2951
+ body: string;
2952
+ actionUrl?: string | undefined;
2953
+ actionData?: {
2954
+ [x: string]: unknown;
2955
+ } | undefined;
2956
+ channels: NotificationChannel[];
2957
+ isRead: boolean;
2958
+ isArchived: boolean;
2959
+ archivedAt?: Date | undefined;
2960
+ pushSentAt?: Date | undefined;
2961
+ pushDeliveredAt?: Date | undefined;
2962
+ pushFailedAt?: Date | undefined;
2963
+ pushFailureReason?: string | undefined;
2964
+ emailSentAt?: Date | undefined;
2965
+ emailDeliveredAt?: Date | undefined;
2966
+ smsSentAt?: Date | undefined;
2967
+ smsDeliveredAt?: Date | undefined;
2968
+ expiresAt?: Date | undefined;
2969
+ groupKey?: string | undefined;
2970
+ collapseKey?: string | undefined;
2971
+ _id: string;
2972
+ };
2973
+ (options: import("mongoose").ToObjectOptions & {
2974
+ flattenMaps: false;
2975
+ flattenObjectIds: false;
2976
+ virtuals: false;
2977
+ versionKey: false;
2978
+ }): Omit<Omit<INotification, "id"> & {
2979
+ _id: string;
2980
+ } & Required<{
2981
+ _id: string;
2982
+ }>, "__v">;
2983
+ (options: import("mongoose").ToObjectOptions & {
2984
+ flattenMaps: false;
2985
+ flattenObjectIds: false;
2986
+ virtuals: false;
2987
+ }): Omit<INotification, "id"> & {
2988
+ _id: string;
2989
+ } & Required<{
2990
+ _id: string;
2991
+ }>;
2992
+ (options: import("mongoose").ToObjectOptions & {
2993
+ flattenMaps: true;
2994
+ flattenObjectIds: true;
2995
+ virtuals: true;
2996
+ versionKey: false;
2997
+ }): {
2998
+ title: string;
2999
+ message?: string | undefined;
3000
+ type: NotificationType;
3001
+ priority: NotificationPriority;
3002
+ createdAt: Date;
3003
+ updatedAt: Date;
3004
+ _id: string;
3005
+ profileId?: string | undefined;
3006
+ accountId: string;
3007
+ imageUrl?: string | undefined;
3008
+ readAt?: Date | undefined;
3009
+ body: string;
3010
+ actionUrl?: string | undefined;
3011
+ actionData?: {
3012
+ [x: string]: {};
3013
+ } | undefined;
3014
+ channels: NotificationChannel[];
3015
+ isRead: boolean;
3016
+ isArchived: boolean;
3017
+ archivedAt?: Date | undefined;
3018
+ pushSentAt?: Date | undefined;
3019
+ pushDeliveredAt?: Date | undefined;
3020
+ pushFailedAt?: Date | undefined;
3021
+ pushFailureReason?: string | undefined;
3022
+ emailSentAt?: Date | undefined;
3023
+ emailDeliveredAt?: Date | undefined;
3024
+ smsSentAt?: Date | undefined;
3025
+ smsDeliveredAt?: Date | undefined;
3026
+ expiresAt?: Date | undefined;
3027
+ groupKey?: string | undefined;
3028
+ collapseKey?: string | undefined;
3029
+ };
3030
+ (options: import("mongoose").ToObjectOptions & {
3031
+ flattenMaps: true;
3032
+ flattenObjectIds: true;
3033
+ virtuals: true;
3034
+ }): {
3035
+ title: string;
3036
+ message?: string | undefined;
3037
+ type: NotificationType;
3038
+ priority: NotificationPriority;
3039
+ createdAt: Date;
3040
+ updatedAt: Date;
3041
+ profileId?: string | undefined;
3042
+ accountId: string;
3043
+ imageUrl?: string | undefined;
3044
+ readAt?: Date | undefined;
3045
+ body: string;
3046
+ actionUrl?: string | undefined;
3047
+ actionData?: {
3048
+ [x: string]: {};
3049
+ } | undefined;
3050
+ channels: NotificationChannel[];
3051
+ isRead: boolean;
3052
+ isArchived: boolean;
3053
+ archivedAt?: Date | undefined;
3054
+ pushSentAt?: Date | undefined;
3055
+ pushDeliveredAt?: Date | undefined;
3056
+ pushFailedAt?: Date | undefined;
3057
+ pushFailureReason?: string | undefined;
3058
+ emailSentAt?: Date | undefined;
3059
+ emailDeliveredAt?: Date | undefined;
3060
+ smsSentAt?: Date | undefined;
3061
+ smsDeliveredAt?: Date | undefined;
3062
+ expiresAt?: Date | undefined;
3063
+ groupKey?: string | undefined;
3064
+ collapseKey?: string | undefined;
3065
+ _id: string;
3066
+ };
3067
+ (options: import("mongoose").ToObjectOptions & {
3068
+ flattenMaps: true;
3069
+ flattenObjectIds: false;
3070
+ virtuals: true;
3071
+ versionKey: false;
3072
+ }): Omit<import("mongoose").FlattenMaps<Omit<INotification, "id"> & {
3073
+ _id: string;
3074
+ } & Required<{
3075
+ _id: string;
3076
+ }>>, "__v">;
3077
+ (options: import("mongoose").ToObjectOptions & {
3078
+ flattenMaps: true;
3079
+ flattenObjectIds: false;
3080
+ virtuals: true;
3081
+ }): import("mongoose").FlattenMaps<Omit<INotification, "id"> & {
3082
+ _id: string;
3083
+ } & Required<{
3084
+ _id: string;
3085
+ }>>;
3086
+ (options: import("mongoose").ToObjectOptions & {
3087
+ flattenMaps: true;
3088
+ flattenObjectIds: true;
3089
+ virtuals: false;
3090
+ versionKey: false;
3091
+ }): {
3092
+ title: string;
3093
+ message?: string | undefined;
3094
+ type: NotificationType;
3095
+ priority: NotificationPriority;
3096
+ createdAt: Date;
3097
+ updatedAt: Date;
3098
+ _id: string;
3099
+ profileId?: string | undefined;
3100
+ accountId: string;
3101
+ imageUrl?: string | undefined;
3102
+ readAt?: Date | undefined;
3103
+ body: string;
3104
+ actionUrl?: string | undefined;
3105
+ actionData?: {
3106
+ [x: string]: {};
3107
+ } | undefined;
3108
+ channels: NotificationChannel[];
3109
+ isRead: boolean;
3110
+ isArchived: boolean;
3111
+ archivedAt?: Date | undefined;
3112
+ pushSentAt?: Date | undefined;
3113
+ pushDeliveredAt?: Date | undefined;
3114
+ pushFailedAt?: Date | undefined;
3115
+ pushFailureReason?: string | undefined;
3116
+ emailSentAt?: Date | undefined;
3117
+ emailDeliveredAt?: Date | undefined;
3118
+ smsSentAt?: Date | undefined;
3119
+ smsDeliveredAt?: Date | undefined;
3120
+ expiresAt?: Date | undefined;
3121
+ groupKey?: string | undefined;
3122
+ collapseKey?: string | undefined;
3123
+ };
3124
+ (options: import("mongoose").ToObjectOptions & {
3125
+ flattenMaps: true;
3126
+ flattenObjectIds: true;
3127
+ virtuals: false;
3128
+ }): {
3129
+ title: string;
3130
+ message?: string | undefined;
3131
+ type: NotificationType;
3132
+ priority: NotificationPriority;
3133
+ createdAt: Date;
3134
+ updatedAt: Date;
3135
+ profileId?: string | undefined;
3136
+ accountId: string;
3137
+ imageUrl?: string | undefined;
3138
+ readAt?: Date | undefined;
3139
+ body: string;
3140
+ actionUrl?: string | undefined;
3141
+ actionData?: {
3142
+ [x: string]: {};
3143
+ } | undefined;
3144
+ channels: NotificationChannel[];
3145
+ isRead: boolean;
3146
+ isArchived: boolean;
3147
+ archivedAt?: Date | undefined;
3148
+ pushSentAt?: Date | undefined;
3149
+ pushDeliveredAt?: Date | undefined;
3150
+ pushFailedAt?: Date | undefined;
3151
+ pushFailureReason?: string | undefined;
3152
+ emailSentAt?: Date | undefined;
3153
+ emailDeliveredAt?: Date | undefined;
3154
+ smsSentAt?: Date | undefined;
3155
+ smsDeliveredAt?: Date | undefined;
3156
+ expiresAt?: Date | undefined;
3157
+ groupKey?: string | undefined;
3158
+ collapseKey?: string | undefined;
3159
+ _id: string;
3160
+ };
3161
+ (options: import("mongoose").ToObjectOptions & {
3162
+ flattenMaps: true;
3163
+ flattenObjectIds: false;
3164
+ virtuals: false;
3165
+ versionKey: false;
3166
+ }): Omit<import("mongoose").FlattenMaps<Omit<INotification, "id"> & {
3167
+ _id: string;
3168
+ } & Required<{
3169
+ _id: string;
3170
+ }>>, "__v">;
3171
+ (options: import("mongoose").ToObjectOptions & {
3172
+ flattenMaps: true;
3173
+ flattenObjectIds: false;
3174
+ virtuals: false;
3175
+ }): import("mongoose").FlattenMaps<Omit<INotification, "id"> & {
3176
+ _id: string;
3177
+ } & Required<{
3178
+ _id: string;
3179
+ }>>;
3180
+ (options: import("mongoose").ToObjectOptions & {
3181
+ flattenMaps: true;
3182
+ flattenObjectIds: true;
3183
+ virtuals: true;
3184
+ }): {
3185
+ title: string;
3186
+ message?: string | undefined;
3187
+ type: NotificationType;
3188
+ priority: NotificationPriority;
3189
+ createdAt: Date;
3190
+ updatedAt: Date;
3191
+ profileId?: string | undefined;
3192
+ accountId: string;
3193
+ imageUrl?: string | undefined;
3194
+ readAt?: Date | undefined;
3195
+ body: string;
3196
+ actionUrl?: string | undefined;
3197
+ actionData?: {
3198
+ [x: string]: {};
3199
+ } | undefined;
3200
+ channels: NotificationChannel[];
3201
+ isRead: boolean;
3202
+ isArchived: boolean;
3203
+ archivedAt?: Date | undefined;
3204
+ pushSentAt?: Date | undefined;
3205
+ pushDeliveredAt?: Date | undefined;
3206
+ pushFailedAt?: Date | undefined;
3207
+ pushFailureReason?: string | undefined;
3208
+ emailSentAt?: Date | undefined;
3209
+ emailDeliveredAt?: Date | undefined;
3210
+ smsSentAt?: Date | undefined;
3211
+ smsDeliveredAt?: Date | undefined;
3212
+ expiresAt?: Date | undefined;
3213
+ groupKey?: string | undefined;
3214
+ collapseKey?: string | undefined;
3215
+ _id: string;
3216
+ };
3217
+ (options: import("mongoose").ToObjectOptions & {
3218
+ flattenMaps: true;
3219
+ flattenObjectIds: true;
3220
+ }): {
3221
+ title: string;
3222
+ message?: string | undefined;
3223
+ type: NotificationType;
3224
+ priority: NotificationPriority;
3225
+ createdAt: Date;
3226
+ updatedAt: Date;
3227
+ profileId?: string | undefined;
3228
+ accountId: string;
3229
+ imageUrl?: string | undefined;
3230
+ readAt?: Date | undefined;
3231
+ body: string;
3232
+ actionUrl?: string | undefined;
3233
+ actionData?: {
3234
+ [x: string]: {};
3235
+ } | undefined;
3236
+ channels: NotificationChannel[];
3237
+ isRead: boolean;
3238
+ isArchived: boolean;
3239
+ archivedAt?: Date | undefined;
3240
+ pushSentAt?: Date | undefined;
3241
+ pushDeliveredAt?: Date | undefined;
3242
+ pushFailedAt?: Date | undefined;
3243
+ pushFailureReason?: string | undefined;
3244
+ emailSentAt?: Date | undefined;
3245
+ emailDeliveredAt?: Date | undefined;
3246
+ smsSentAt?: Date | undefined;
3247
+ smsDeliveredAt?: Date | undefined;
3248
+ expiresAt?: Date | undefined;
3249
+ groupKey?: string | undefined;
3250
+ collapseKey?: string | undefined;
3251
+ _id: string;
3252
+ };
3253
+ (options: import("mongoose").ToObjectOptions & {
3254
+ flattenObjectIds: true;
3255
+ virtuals: true;
3256
+ }): {
3257
+ title: string;
3258
+ message?: string | undefined;
3259
+ type: NotificationType;
3260
+ priority: NotificationPriority;
3261
+ createdAt: Date;
3262
+ updatedAt: Date;
3263
+ profileId?: string | undefined;
3264
+ accountId: string;
3265
+ imageUrl?: string | undefined;
3266
+ readAt?: Date | undefined;
3267
+ body: string;
3268
+ actionUrl?: string | undefined;
3269
+ actionData?: {
3270
+ [x: string]: unknown;
3271
+ } | undefined;
3272
+ channels: NotificationChannel[];
3273
+ isRead: boolean;
3274
+ isArchived: boolean;
3275
+ archivedAt?: Date | undefined;
3276
+ pushSentAt?: Date | undefined;
3277
+ pushDeliveredAt?: Date | undefined;
3278
+ pushFailedAt?: Date | undefined;
3279
+ pushFailureReason?: string | undefined;
3280
+ emailSentAt?: Date | undefined;
3281
+ emailDeliveredAt?: Date | undefined;
3282
+ smsSentAt?: Date | undefined;
3283
+ smsDeliveredAt?: Date | undefined;
3284
+ expiresAt?: Date | undefined;
3285
+ groupKey?: string | undefined;
3286
+ collapseKey?: string | undefined;
3287
+ _id: string;
3288
+ };
3289
+ (options: import("mongoose").ToObjectOptions & {
3290
+ flattenObjectIds: true;
3291
+ }): {
3292
+ title: string;
3293
+ message?: string | undefined;
3294
+ type: NotificationType;
3295
+ priority: NotificationPriority;
3296
+ createdAt: Date;
3297
+ updatedAt: Date;
3298
+ profileId?: string | undefined;
3299
+ accountId: string;
3300
+ imageUrl?: string | undefined;
3301
+ readAt?: Date | undefined;
3302
+ body: string;
3303
+ actionUrl?: string | undefined;
3304
+ actionData?: {
3305
+ [x: string]: unknown;
3306
+ } | undefined;
3307
+ channels: NotificationChannel[];
3308
+ isRead: boolean;
3309
+ isArchived: boolean;
3310
+ archivedAt?: Date | undefined;
3311
+ pushSentAt?: Date | undefined;
3312
+ pushDeliveredAt?: Date | undefined;
3313
+ pushFailedAt?: Date | undefined;
3314
+ pushFailureReason?: string | undefined;
3315
+ emailSentAt?: Date | undefined;
3316
+ emailDeliveredAt?: Date | undefined;
3317
+ smsSentAt?: Date | undefined;
3318
+ smsDeliveredAt?: Date | undefined;
3319
+ expiresAt?: Date | undefined;
3320
+ groupKey?: string | undefined;
3321
+ collapseKey?: string | undefined;
3322
+ _id: string;
3323
+ };
3324
+ (options: import("mongoose").ToObjectOptions & {
3325
+ flattenMaps: true;
3326
+ virtuals: true;
3327
+ }): import("mongoose").FlattenMaps<Omit<INotification, "id"> & {
3328
+ _id: string;
3329
+ } & Required<{
3330
+ _id: string;
3331
+ }>>;
3332
+ (options: import("mongoose").ToObjectOptions & {
3333
+ flattenMaps: true;
3334
+ }): import("mongoose").FlattenMaps<Omit<INotification, "id"> & {
3335
+ _id: string;
3336
+ } & Required<{
3337
+ _id: string;
3338
+ }>>;
3339
+ (options: import("mongoose").ToObjectOptions & {
3340
+ versionKey: false;
3341
+ flattenMaps: true;
3342
+ flattenObjectIds: true;
3343
+ virtuals: true;
3344
+ }): {
3345
+ title: string;
3346
+ message?: string | undefined;
3347
+ type: NotificationType;
3348
+ priority: NotificationPriority;
3349
+ createdAt: Date;
3350
+ updatedAt: Date;
3351
+ _id: string;
3352
+ profileId?: string | undefined;
3353
+ accountId: string;
3354
+ imageUrl?: string | undefined;
3355
+ readAt?: Date | undefined;
3356
+ body: string;
3357
+ actionUrl?: string | undefined;
3358
+ actionData?: {
3359
+ [x: string]: {};
3360
+ } | undefined;
3361
+ channels: NotificationChannel[];
3362
+ isRead: boolean;
3363
+ isArchived: boolean;
3364
+ archivedAt?: Date | undefined;
3365
+ pushSentAt?: Date | undefined;
3366
+ pushDeliveredAt?: Date | undefined;
3367
+ pushFailedAt?: Date | undefined;
3368
+ pushFailureReason?: string | undefined;
3369
+ emailSentAt?: Date | undefined;
3370
+ emailDeliveredAt?: Date | undefined;
3371
+ smsSentAt?: Date | undefined;
3372
+ smsDeliveredAt?: Date | undefined;
3373
+ expiresAt?: Date | undefined;
3374
+ groupKey?: string | undefined;
3375
+ collapseKey?: string | undefined;
3376
+ };
3377
+ (options: import("mongoose").ToObjectOptions & {
3378
+ versionKey: false;
3379
+ flattenMaps: false;
3380
+ flattenObjectIds: true;
3381
+ virtuals: true;
3382
+ }): {
3383
+ title: string;
3384
+ message?: string | undefined;
3385
+ type: NotificationType;
3386
+ priority: NotificationPriority;
3387
+ createdAt: Date;
3388
+ updatedAt: Date;
3389
+ _id: string;
3390
+ profileId?: string | undefined;
3391
+ accountId: string;
3392
+ imageUrl?: string | undefined;
3393
+ readAt?: Date | undefined;
3394
+ body: string;
3395
+ actionUrl?: string | undefined;
3396
+ actionData?: {
3397
+ [x: string]: unknown;
3398
+ } | undefined;
3399
+ channels: NotificationChannel[];
3400
+ isRead: boolean;
3401
+ isArchived: boolean;
3402
+ archivedAt?: Date | undefined;
3403
+ pushSentAt?: Date | undefined;
3404
+ pushDeliveredAt?: Date | undefined;
3405
+ pushFailedAt?: Date | undefined;
3406
+ pushFailureReason?: string | undefined;
3407
+ emailSentAt?: Date | undefined;
3408
+ emailDeliveredAt?: Date | undefined;
3409
+ smsSentAt?: Date | undefined;
3410
+ smsDeliveredAt?: Date | undefined;
3411
+ expiresAt?: Date | undefined;
3412
+ groupKey?: string | undefined;
3413
+ collapseKey?: string | undefined;
3414
+ };
3415
+ (options: import("mongoose").ToObjectOptions & {
3416
+ versionKey: false;
3417
+ flattenMaps: true;
3418
+ virtuals: true;
3419
+ }): Omit<import("mongoose").FlattenMaps<Omit<INotification, "id"> & {
3420
+ _id: string;
3421
+ } & Required<{
3422
+ _id: string;
3423
+ }>>, "__v">;
3424
+ (options: import("mongoose").ToObjectOptions & {
3425
+ versionKey: false;
3426
+ flattenObjectIds: true;
3427
+ virtuals: true;
3428
+ }): {
3429
+ title: string;
3430
+ message?: string | undefined;
3431
+ type: NotificationType;
3432
+ priority: NotificationPriority;
3433
+ createdAt: Date;
3434
+ updatedAt: Date;
3435
+ _id: string;
3436
+ profileId?: string | undefined;
3437
+ accountId: string;
3438
+ imageUrl?: string | undefined;
3439
+ readAt?: Date | undefined;
3440
+ body: string;
3441
+ actionUrl?: string | undefined;
3442
+ actionData?: {
3443
+ [x: string]: unknown;
3444
+ } | undefined;
3445
+ channels: NotificationChannel[];
3446
+ isRead: boolean;
3447
+ isArchived: boolean;
3448
+ archivedAt?: Date | undefined;
3449
+ pushSentAt?: Date | undefined;
3450
+ pushDeliveredAt?: Date | undefined;
3451
+ pushFailedAt?: Date | undefined;
3452
+ pushFailureReason?: string | undefined;
3453
+ emailSentAt?: Date | undefined;
3454
+ emailDeliveredAt?: Date | undefined;
3455
+ smsSentAt?: Date | undefined;
3456
+ smsDeliveredAt?: Date | undefined;
3457
+ expiresAt?: Date | undefined;
3458
+ groupKey?: string | undefined;
3459
+ collapseKey?: string | undefined;
3460
+ };
3461
+ (options: import("mongoose").ToObjectOptions & {
3462
+ versionKey: false;
3463
+ virtuals: true;
3464
+ }): Omit<Omit<INotification, "id"> & {
3465
+ _id: string;
3466
+ } & Required<{
3467
+ _id: string;
3468
+ }>, "__v">;
3469
+ (options: import("mongoose").ToObjectOptions & {
3470
+ versionKey: false;
3471
+ flattenMaps: true;
3472
+ flattenObjectIds: true;
3473
+ }): {
3474
+ title: string;
3475
+ message?: string | undefined;
3476
+ type: NotificationType;
3477
+ priority: NotificationPriority;
3478
+ createdAt: Date;
3479
+ updatedAt: Date;
3480
+ _id: string;
3481
+ profileId?: string | undefined;
3482
+ accountId: string;
3483
+ imageUrl?: string | undefined;
3484
+ readAt?: Date | undefined;
3485
+ body: string;
3486
+ actionUrl?: string | undefined;
3487
+ actionData?: {
3488
+ [x: string]: {};
3489
+ } | undefined;
3490
+ channels: NotificationChannel[];
3491
+ isRead: boolean;
3492
+ isArchived: boolean;
3493
+ archivedAt?: Date | undefined;
3494
+ pushSentAt?: Date | undefined;
3495
+ pushDeliveredAt?: Date | undefined;
3496
+ pushFailedAt?: Date | undefined;
3497
+ pushFailureReason?: string | undefined;
3498
+ emailSentAt?: Date | undefined;
3499
+ emailDeliveredAt?: Date | undefined;
3500
+ smsSentAt?: Date | undefined;
3501
+ smsDeliveredAt?: Date | undefined;
3502
+ expiresAt?: Date | undefined;
3503
+ groupKey?: string | undefined;
3504
+ collapseKey?: string | undefined;
3505
+ };
3506
+ (options: import("mongoose").ToObjectOptions & {
3507
+ versionKey: false;
3508
+ flattenObjectIds: true;
3509
+ }): {
3510
+ title: string;
3511
+ message?: string | undefined;
3512
+ type: NotificationType;
3513
+ priority: NotificationPriority;
3514
+ createdAt: Date;
3515
+ updatedAt: Date;
3516
+ _id: string;
3517
+ profileId?: string | undefined;
3518
+ accountId: string;
3519
+ imageUrl?: string | undefined;
3520
+ readAt?: Date | undefined;
3521
+ body: string;
3522
+ actionUrl?: string | undefined;
3523
+ actionData?: {
3524
+ [x: string]: unknown;
3525
+ } | undefined;
3526
+ channels: NotificationChannel[];
3527
+ isRead: boolean;
3528
+ isArchived: boolean;
3529
+ archivedAt?: Date | undefined;
3530
+ pushSentAt?: Date | undefined;
3531
+ pushDeliveredAt?: Date | undefined;
3532
+ pushFailedAt?: Date | undefined;
3533
+ pushFailureReason?: string | undefined;
3534
+ emailSentAt?: Date | undefined;
3535
+ emailDeliveredAt?: Date | undefined;
3536
+ smsSentAt?: Date | undefined;
3537
+ smsDeliveredAt?: Date | undefined;
3538
+ expiresAt?: Date | undefined;
3539
+ groupKey?: string | undefined;
3540
+ collapseKey?: string | undefined;
3541
+ };
3542
+ (options: import("mongoose").ToObjectOptions & {
3543
+ versionKey: false;
3544
+ flattenMaps: true;
3545
+ }): Omit<import("mongoose").FlattenMaps<Omit<INotification, "id"> & {
3546
+ _id: string;
3547
+ } & Required<{
3548
+ _id: string;
3549
+ }>>, "__v">;
3550
+ (options: import("mongoose").ToObjectOptions & {
3551
+ versionKey: false;
3552
+ }): Omit<Omit<INotification, "id"> & {
3553
+ _id: string;
3554
+ } & Required<{
3555
+ _id: string;
3556
+ }>, "__v">;
3557
+ (options: import("mongoose").ToObjectOptions & {
3558
+ virtuals: true;
3559
+ }): Omit<INotification, "id"> & {
3560
+ _id: string;
3561
+ } & Required<{
3562
+ _id: string;
3563
+ }>;
3564
+ (options?: import("mongoose").ToObjectOptions): Omit<INotification, "id"> & {
3565
+ _id: string;
3566
+ } & Required<{
3567
+ _id: string;
3568
+ }> & {
3569
+ __v: number;
3570
+ };
3571
+ <T>(options?: import("mongoose").ToObjectOptions): import("mongoose").Require_id<T> & {
3572
+ __v: number;
3573
+ };
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
+ unmarkModified?: import("mongoose").SchemaDefinitionProperty<{
3606
+ <T extends "title" | "message" | "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;
3607
+ (path: string): void;
3608
+ }, import("mongoose").Document<unknown, {}, Omit<INotification, "id"> & {
3609
+ _id: string;
3610
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<INotification, "id"> & {
3611
+ _id: string;
3612
+ } & Required<{
3613
+ _id: string;
3614
+ }> & {
3615
+ __v: number;
3616
+ } & {
3617
+ id: string;
3618
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<INotification, "id"> & {
3619
+ _id: string;
3620
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<INotification, "id"> & {
3621
+ _id: string;
3622
+ } & Required<{
3623
+ _id: string;
3624
+ }> & {
3625
+ __v: number;
3626
+ } & {
3627
+ id: string;
3628
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<INotification, "id"> & {
3629
+ _id: string;
3630
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<INotification, "id"> & {
3631
+ _id: string;
3632
+ } & Required<{
3633
+ _id: string;
3634
+ }> & {
3635
+ __v: number;
3636
+ } & {
3637
+ id: string;
3638
+ }> | undefined;
3639
+ updateOne?: import("mongoose").SchemaDefinitionProperty<(update?: import("mongoose").UpdateWithAggregationPipeline | import("mongoose").UpdateQuery<import("mongoose").Document<unknown, {}, Omit<INotification, "id"> & {
3640
+ _id: string;
3641
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<INotification, "id"> & {
3642
+ _id: string;
3643
+ } & Required<{
3644
+ _id: string;
3645
+ }> & {
3646
+ __v: number;
3647
+ } & {
3648
+ id: string;
3649
+ }> | undefined, options?: import("mongoose").QueryOptions | null) => import("mongoose").Query<any, import("mongoose").Document<unknown, {}, Omit<INotification, "id"> & {
3650
+ _id: string;
3651
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<INotification, "id"> & {
3652
+ _id: string;
3653
+ } & Required<{
3654
+ _id: string;
3655
+ }> & {
3656
+ __v: number;
3657
+ } & {
3658
+ id: string;
3659
+ }, {}, unknown, "find", Record<string, never>>, import("mongoose").Document<unknown, {}, Omit<INotification, "id"> & {
3660
+ _id: string;
3661
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<INotification, "id"> & {
3662
+ _id: string;
3663
+ } & Required<{
3664
+ _id: string;
3665
+ }> & {
3666
+ __v: number;
3667
+ } & {
3668
+ id: string;
3669
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<INotification, "id"> & {
3670
+ _id: string;
3671
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<INotification, "id"> & {
3672
+ _id: string;
3673
+ } & Required<{
3674
+ _id: string;
3675
+ }> & {
3676
+ __v: number;
3677
+ } & {
3678
+ id: string;
3679
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<INotification, "id"> & {
3680
+ _id: string;
3681
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<INotification, "id"> & {
3682
+ _id: string;
3683
+ } & Required<{
3684
+ _id: string;
3685
+ }> & {
3686
+ __v: number;
3687
+ } & {
3688
+ id: string;
3689
+ }> | undefined;
3690
+ validate?: import("mongoose").SchemaDefinitionProperty<{
3691
+ <T extends "title" | "message" | "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>;
3692
+ (pathsToValidate?: import("mongoose").pathsToValidate, options?: import("mongoose").AnyObject): Promise<void>;
3693
+ (options: {
3694
+ pathsToSkip?: import("mongoose").pathsToSkip;
3695
+ }): Promise<void>;
3696
+ }, import("mongoose").Document<unknown, {}, Omit<INotification, "id"> & {
3697
+ _id: string;
3698
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<INotification, "id"> & {
3699
+ _id: string;
3700
+ } & Required<{
3701
+ _id: string;
3702
+ }> & {
3703
+ __v: number;
3704
+ } & {
3705
+ id: string;
3706
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<INotification, "id"> & {
3707
+ _id: string;
3708
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<INotification, "id"> & {
3709
+ _id: string;
3710
+ } & Required<{
3711
+ _id: string;
3712
+ }> & {
3713
+ __v: number;
3714
+ } & {
3715
+ id: string;
3716
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<INotification, "id"> & {
3717
+ _id: string;
3718
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<INotification, "id"> & {
3719
+ _id: string;
3720
+ } & Required<{
3721
+ _id: string;
3722
+ }> & {
3723
+ __v: number;
3724
+ } & {
3725
+ id: string;
3726
+ }> | undefined;
3727
+ validateSync?: import("mongoose").SchemaDefinitionProperty<{
3728
+ (options: {
3729
+ pathsToSkip?: import("mongoose").pathsToSkip;
3730
+ [k: string]: any;
3731
+ }): import("mongoose").Error.ValidationError | null;
3732
+ <T extends "title" | "message" | "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;
3733
+ (pathsToValidate?: import("mongoose").pathsToValidate, options?: import("mongoose").AnyObject): import("mongoose").Error.ValidationError | null;
3734
+ }, import("mongoose").Document<unknown, {}, Omit<INotification, "id"> & {
3735
+ _id: string;
3736
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<INotification, "id"> & {
3737
+ _id: string;
3738
+ } & Required<{
3739
+ _id: string;
3740
+ }> & {
3741
+ __v: number;
3742
+ } & {
3743
+ id: string;
3744
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<INotification, "id"> & {
3745
+ _id: string;
3746
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<INotification, "id"> & {
3747
+ _id: string;
3748
+ } & Required<{
3749
+ _id: string;
3750
+ }> & {
3751
+ __v: number;
3752
+ } & {
3753
+ id: string;
3754
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<INotification, "id"> & {
3755
+ _id: string;
3756
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<INotification, "id"> & {
3757
+ _id: string;
3758
+ } & Required<{
3759
+ _id: string;
3760
+ }> & {
3761
+ __v: number;
3762
+ } & {
3763
+ id: string;
3764
+ }> | undefined;
3765
+ title?: import("mongoose").SchemaDefinitionProperty<string, import("mongoose").Document<unknown, {}, Omit<INotification, "id"> & {
3766
+ _id: string;
3767
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<INotification, "id"> & {
3768
+ _id: string;
3769
+ } & Required<{
3770
+ _id: string;
3771
+ }> & {
3772
+ __v: number;
3773
+ } & {
3774
+ id: string;
3775
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<INotification, "id"> & {
3776
+ _id: string;
3777
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<INotification, "id"> & {
3778
+ _id: string;
3779
+ } & Required<{
3780
+ _id: string;
3781
+ }> & {
3782
+ __v: number;
3783
+ } & {
3784
+ id: string;
3785
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<INotification, "id"> & {
3786
+ _id: string;
3787
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<INotification, "id"> & {
3788
+ _id: string;
3789
+ } & Required<{
3790
+ _id: string;
3791
+ }> & {
3792
+ __v: number;
3793
+ } & {
3794
+ id: string;
3795
+ }> | undefined;
3796
+ message?: import("mongoose").SchemaDefinitionProperty<string | undefined, import("mongoose").Document<unknown, {}, Omit<INotification, "id"> & {
3797
+ _id: string;
3798
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<INotification, "id"> & {
3799
+ _id: string;
3800
+ } & Required<{
3801
+ _id: string;
3802
+ }> & {
3803
+ __v: number;
3804
+ } & {
3805
+ id: string;
3806
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<INotification, "id"> & {
3807
+ _id: string;
3808
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<INotification, "id"> & {
3809
+ _id: string;
3810
+ } & Required<{
3811
+ _id: string;
3812
+ }> & {
3813
+ __v: number;
3814
+ } & {
3815
+ id: string;
3816
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<INotification, "id"> & {
3817
+ _id: string;
3818
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<INotification, "id"> & {
3819
+ _id: string;
3820
+ } & Required<{
3821
+ _id: string;
3822
+ }> & {
3823
+ __v: number;
3824
+ } & {
3825
+ id: string;
3826
+ }> | undefined;
3827
+ type?: import("mongoose").SchemaDefinitionProperty<NotificationType, import("mongoose").Document<unknown, {}, Omit<INotification, "id"> & {
3828
+ _id: string;
3829
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<INotification, "id"> & {
3830
+ _id: string;
3831
+ } & Required<{
3832
+ _id: string;
3833
+ }> & {
3834
+ __v: number;
3835
+ } & {
3836
+ id: string;
3837
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<INotification, "id"> & {
3838
+ _id: string;
3839
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<INotification, "id"> & {
3840
+ _id: string;
3841
+ } & Required<{
3842
+ _id: string;
3843
+ }> & {
3844
+ __v: number;
3845
+ } & {
3846
+ id: string;
3847
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<INotification, "id"> & {
3848
+ _id: string;
3849
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<INotification, "id"> & {
3850
+ _id: string;
3851
+ } & Required<{
3852
+ _id: string;
3853
+ }> & {
3854
+ __v: number;
3855
+ } & {
3856
+ id: string;
3857
+ }> | undefined;
3858
+ priority?: import("mongoose").SchemaDefinitionProperty<NotificationPriority, import("mongoose").Document<unknown, {}, Omit<INotification, "id"> & {
3859
+ _id: string;
3860
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<INotification, "id"> & {
3861
+ _id: string;
3862
+ } & Required<{
3863
+ _id: string;
3864
+ }> & {
3865
+ __v: number;
3866
+ } & {
3867
+ id: string;
3868
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<INotification, "id"> & {
3869
+ _id: string;
3870
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<INotification, "id"> & {
3871
+ _id: string;
3872
+ } & Required<{
3873
+ _id: string;
3874
+ }> & {
3875
+ __v: number;
3876
+ } & {
3877
+ id: string;
3878
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<INotification, "id"> & {
3879
+ _id: string;
3880
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<INotification, "id"> & {
3881
+ _id: string;
3882
+ } & Required<{
3883
+ _id: string;
3884
+ }> & {
3885
+ __v: number;
3886
+ } & {
3887
+ id: string;
3888
+ }> | undefined;
3889
+ createdAt?: import("mongoose").SchemaDefinitionProperty<Date, import("mongoose").Document<unknown, {}, Omit<INotification, "id"> & {
3890
+ _id: string;
3891
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<INotification, "id"> & {
3892
+ _id: string;
3893
+ } & Required<{
3894
+ _id: string;
3895
+ }> & {
3896
+ __v: number;
3897
+ } & {
3898
+ id: string;
3899
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<INotification, "id"> & {
3900
+ _id: string;
3901
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<INotification, "id"> & {
3902
+ _id: string;
3903
+ } & Required<{
3904
+ _id: string;
3905
+ }> & {
3906
+ __v: number;
3907
+ } & {
3908
+ id: string;
3909
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<INotification, "id"> & {
3910
+ _id: string;
3911
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<INotification, "id"> & {
3912
+ _id: string;
3913
+ } & Required<{
3914
+ _id: string;
3915
+ }> & {
3916
+ __v: number;
3917
+ } & {
3918
+ id: string;
3919
+ }> | undefined;
3920
+ updatedAt?: import("mongoose").SchemaDefinitionProperty<Date, import("mongoose").Document<unknown, {}, Omit<INotification, "id"> & {
3921
+ _id: string;
3922
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<INotification, "id"> & {
3923
+ _id: string;
3924
+ } & Required<{
3925
+ _id: string;
3926
+ }> & {
3927
+ __v: number;
3928
+ } & {
3929
+ id: string;
3930
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<INotification, "id"> & {
3931
+ _id: string;
3932
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<INotification, "id"> & {
3933
+ _id: string;
3934
+ } & Required<{
3935
+ _id: string;
3936
+ }> & {
3937
+ __v: number;
3938
+ } & {
3939
+ id: string;
3940
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<INotification, "id"> & {
3941
+ _id: string;
3942
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<INotification, "id"> & {
3943
+ _id: string;
3944
+ } & Required<{
3945
+ _id: string;
3946
+ }> & {
3947
+ __v: number;
3948
+ } & {
3949
+ id: string;
3950
+ }> | undefined;
3951
+ profileId?: import("mongoose").SchemaDefinitionProperty<string | undefined, import("mongoose").Document<unknown, {}, Omit<INotification, "id"> & {
3952
+ _id: string;
3953
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<INotification, "id"> & {
3954
+ _id: string;
3955
+ } & Required<{
3956
+ _id: string;
3957
+ }> & {
3958
+ __v: number;
3959
+ } & {
3960
+ id: string;
3961
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<INotification, "id"> & {
3962
+ _id: string;
3963
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<INotification, "id"> & {
3964
+ _id: string;
3965
+ } & Required<{
3966
+ _id: string;
3967
+ }> & {
3968
+ __v: number;
3969
+ } & {
3970
+ id: string;
3971
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<INotification, "id"> & {
3972
+ _id: string;
3973
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<INotification, "id"> & {
3974
+ _id: string;
3975
+ } & Required<{
3976
+ _id: string;
3977
+ }> & {
3978
+ __v: number;
3979
+ } & {
3980
+ id: string;
3981
+ }> | undefined;
3982
+ accountId?: import("mongoose").SchemaDefinitionProperty<string, import("mongoose").Document<unknown, {}, Omit<INotification, "id"> & {
3983
+ _id: string;
3984
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<INotification, "id"> & {
3985
+ _id: string;
3986
+ } & Required<{
3987
+ _id: string;
3988
+ }> & {
3989
+ __v: number;
3990
+ } & {
3991
+ id: string;
3992
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<INotification, "id"> & {
3993
+ _id: string;
3994
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<INotification, "id"> & {
3995
+ _id: string;
3996
+ } & Required<{
3997
+ _id: string;
3998
+ }> & {
3999
+ __v: number;
4000
+ } & {
4001
+ id: string;
4002
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<INotification, "id"> & {
4003
+ _id: string;
4004
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<INotification, "id"> & {
4005
+ _id: string;
4006
+ } & Required<{
4007
+ _id: string;
4008
+ }> & {
4009
+ __v: number;
4010
+ } & {
4011
+ id: string;
4012
+ }> | undefined;
4013
+ imageUrl?: import("mongoose").SchemaDefinitionProperty<string | undefined, import("mongoose").Document<unknown, {}, Omit<INotification, "id"> & {
4014
+ _id: string;
4015
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<INotification, "id"> & {
4016
+ _id: string;
4017
+ } & Required<{
4018
+ _id: string;
4019
+ }> & {
4020
+ __v: number;
4021
+ } & {
4022
+ id: string;
4023
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<INotification, "id"> & {
4024
+ _id: string;
4025
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<INotification, "id"> & {
4026
+ _id: string;
4027
+ } & Required<{
4028
+ _id: string;
4029
+ }> & {
4030
+ __v: number;
4031
+ } & {
4032
+ id: string;
4033
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<INotification, "id"> & {
4034
+ _id: string;
4035
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<INotification, "id"> & {
4036
+ _id: string;
4037
+ } & Required<{
4038
+ _id: string;
4039
+ }> & {
4040
+ __v: number;
4041
+ } & {
4042
+ id: string;
4043
+ }> | undefined;
4044
+ readAt?: import("mongoose").SchemaDefinitionProperty<Date | undefined, import("mongoose").Document<unknown, {}, Omit<INotification, "id"> & {
4045
+ _id: string;
4046
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<INotification, "id"> & {
4047
+ _id: string;
4048
+ } & Required<{
4049
+ _id: string;
4050
+ }> & {
4051
+ __v: number;
4052
+ } & {
4053
+ id: string;
4054
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<INotification, "id"> & {
4055
+ _id: string;
4056
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<INotification, "id"> & {
4057
+ _id: string;
4058
+ } & Required<{
4059
+ _id: string;
4060
+ }> & {
4061
+ __v: number;
4062
+ } & {
4063
+ id: string;
4064
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<INotification, "id"> & {
4065
+ _id: string;
4066
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<INotification, "id"> & {
4067
+ _id: string;
4068
+ } & Required<{
4069
+ _id: string;
4070
+ }> & {
4071
+ __v: number;
4072
+ } & {
4073
+ id: string;
4074
+ }> | undefined;
4075
+ body?: import("mongoose").SchemaDefinitionProperty<string, import("mongoose").Document<unknown, {}, Omit<INotification, "id"> & {
4076
+ _id: string;
4077
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<INotification, "id"> & {
4078
+ _id: string;
4079
+ } & Required<{
4080
+ _id: string;
4081
+ }> & {
4082
+ __v: number;
4083
+ } & {
4084
+ id: string;
4085
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<INotification, "id"> & {
4086
+ _id: string;
4087
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<INotification, "id"> & {
4088
+ _id: string;
4089
+ } & Required<{
4090
+ _id: string;
4091
+ }> & {
4092
+ __v: number;
4093
+ } & {
4094
+ id: string;
4095
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<INotification, "id"> & {
4096
+ _id: string;
4097
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<INotification, "id"> & {
4098
+ _id: string;
4099
+ } & Required<{
4100
+ _id: string;
4101
+ }> & {
4102
+ __v: number;
4103
+ } & {
4104
+ id: string;
4105
+ }> | undefined;
4106
+ actionUrl?: import("mongoose").SchemaDefinitionProperty<string | undefined, import("mongoose").Document<unknown, {}, Omit<INotification, "id"> & {
4107
+ _id: string;
4108
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<INotification, "id"> & {
4109
+ _id: string;
4110
+ } & Required<{
4111
+ _id: string;
4112
+ }> & {
4113
+ __v: number;
4114
+ } & {
4115
+ id: string;
4116
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<INotification, "id"> & {
4117
+ _id: string;
4118
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<INotification, "id"> & {
4119
+ _id: string;
4120
+ } & Required<{
4121
+ _id: string;
4122
+ }> & {
4123
+ __v: number;
4124
+ } & {
4125
+ id: string;
4126
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<INotification, "id"> & {
4127
+ _id: string;
4128
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<INotification, "id"> & {
4129
+ _id: string;
4130
+ } & Required<{
4131
+ _id: string;
4132
+ }> & {
4133
+ __v: number;
4134
+ } & {
4135
+ id: string;
4136
+ }> | undefined;
4137
+ actionData?: import("mongoose").SchemaDefinitionProperty<Record<string, unknown> | undefined, import("mongoose").Document<unknown, {}, Omit<INotification, "id"> & {
4138
+ _id: string;
4139
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<INotification, "id"> & {
4140
+ _id: string;
4141
+ } & Required<{
4142
+ _id: string;
4143
+ }> & {
4144
+ __v: number;
4145
+ } & {
4146
+ id: string;
4147
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<INotification, "id"> & {
4148
+ _id: string;
4149
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<INotification, "id"> & {
4150
+ _id: string;
4151
+ } & Required<{
4152
+ _id: string;
4153
+ }> & {
4154
+ __v: number;
4155
+ } & {
4156
+ id: string;
4157
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<INotification, "id"> & {
4158
+ _id: string;
4159
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<INotification, "id"> & {
4160
+ _id: string;
4161
+ } & Required<{
4162
+ _id: string;
4163
+ }> & {
4164
+ __v: number;
4165
+ } & {
4166
+ id: string;
4167
+ }> | undefined;
4168
+ channels?: import("mongoose").SchemaDefinitionProperty<NotificationChannel[], import("mongoose").Document<unknown, {}, Omit<INotification, "id"> & {
4169
+ _id: string;
4170
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<INotification, "id"> & {
4171
+ _id: string;
4172
+ } & Required<{
4173
+ _id: string;
4174
+ }> & {
4175
+ __v: number;
4176
+ } & {
4177
+ id: string;
4178
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<INotification, "id"> & {
4179
+ _id: string;
4180
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<INotification, "id"> & {
4181
+ _id: string;
4182
+ } & Required<{
4183
+ _id: string;
4184
+ }> & {
4185
+ __v: number;
4186
+ } & {
4187
+ id: string;
4188
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<INotification, "id"> & {
4189
+ _id: string;
4190
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<INotification, "id"> & {
4191
+ _id: string;
4192
+ } & Required<{
4193
+ _id: string;
4194
+ }> & {
4195
+ __v: number;
4196
+ } & {
4197
+ id: string;
4198
+ }> | undefined;
4199
+ isRead?: import("mongoose").SchemaDefinitionProperty<boolean, import("mongoose").Document<unknown, {}, Omit<INotification, "id"> & {
4200
+ _id: string;
4201
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<INotification, "id"> & {
4202
+ _id: string;
4203
+ } & Required<{
4204
+ _id: string;
4205
+ }> & {
4206
+ __v: number;
4207
+ } & {
4208
+ id: string;
4209
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<INotification, "id"> & {
4210
+ _id: string;
4211
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<INotification, "id"> & {
4212
+ _id: string;
4213
+ } & Required<{
4214
+ _id: string;
4215
+ }> & {
4216
+ __v: number;
4217
+ } & {
4218
+ id: string;
4219
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<INotification, "id"> & {
4220
+ _id: string;
4221
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<INotification, "id"> & {
4222
+ _id: string;
4223
+ } & Required<{
4224
+ _id: string;
4225
+ }> & {
4226
+ __v: number;
4227
+ } & {
4228
+ id: string;
4229
+ }> | undefined;
4230
+ isArchived?: import("mongoose").SchemaDefinitionProperty<boolean, import("mongoose").Document<unknown, {}, Omit<INotification, "id"> & {
4231
+ _id: string;
4232
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<INotification, "id"> & {
4233
+ _id: string;
4234
+ } & Required<{
4235
+ _id: string;
4236
+ }> & {
4237
+ __v: number;
4238
+ } & {
4239
+ id: string;
4240
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<INotification, "id"> & {
4241
+ _id: string;
4242
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<INotification, "id"> & {
4243
+ _id: string;
4244
+ } & Required<{
4245
+ _id: string;
4246
+ }> & {
4247
+ __v: number;
4248
+ } & {
4249
+ id: string;
4250
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<INotification, "id"> & {
4251
+ _id: string;
4252
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<INotification, "id"> & {
4253
+ _id: string;
4254
+ } & Required<{
4255
+ _id: string;
4256
+ }> & {
4257
+ __v: number;
4258
+ } & {
4259
+ id: string;
4260
+ }> | undefined;
4261
+ archivedAt?: import("mongoose").SchemaDefinitionProperty<Date | undefined, import("mongoose").Document<unknown, {}, Omit<INotification, "id"> & {
4262
+ _id: string;
4263
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<INotification, "id"> & {
4264
+ _id: string;
4265
+ } & Required<{
4266
+ _id: string;
4267
+ }> & {
4268
+ __v: number;
4269
+ } & {
4270
+ id: string;
4271
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<INotification, "id"> & {
4272
+ _id: string;
4273
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<INotification, "id"> & {
4274
+ _id: string;
4275
+ } & Required<{
4276
+ _id: string;
4277
+ }> & {
4278
+ __v: number;
4279
+ } & {
4280
+ id: string;
4281
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<INotification, "id"> & {
4282
+ _id: string;
4283
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<INotification, "id"> & {
4284
+ _id: string;
4285
+ } & Required<{
4286
+ _id: string;
4287
+ }> & {
4288
+ __v: number;
4289
+ } & {
4290
+ id: string;
4291
+ }> | undefined;
4292
+ pushSentAt?: import("mongoose").SchemaDefinitionProperty<Date | undefined, import("mongoose").Document<unknown, {}, Omit<INotification, "id"> & {
4293
+ _id: string;
4294
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<INotification, "id"> & {
4295
+ _id: string;
4296
+ } & Required<{
4297
+ _id: string;
4298
+ }> & {
4299
+ __v: number;
4300
+ } & {
4301
+ id: string;
4302
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<INotification, "id"> & {
4303
+ _id: string;
4304
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<INotification, "id"> & {
4305
+ _id: string;
4306
+ } & Required<{
4307
+ _id: string;
4308
+ }> & {
4309
+ __v: number;
4310
+ } & {
4311
+ id: string;
4312
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<INotification, "id"> & {
4313
+ _id: string;
4314
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<INotification, "id"> & {
4315
+ _id: string;
4316
+ } & Required<{
4317
+ _id: string;
4318
+ }> & {
4319
+ __v: number;
4320
+ } & {
4321
+ id: string;
4322
+ }> | undefined;
4323
+ pushDeliveredAt?: import("mongoose").SchemaDefinitionProperty<Date | undefined, import("mongoose").Document<unknown, {}, Omit<INotification, "id"> & {
4324
+ _id: string;
4325
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<INotification, "id"> & {
4326
+ _id: string;
4327
+ } & Required<{
4328
+ _id: string;
4329
+ }> & {
4330
+ __v: number;
4331
+ } & {
4332
+ id: string;
4333
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<INotification, "id"> & {
4334
+ _id: string;
4335
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<INotification, "id"> & {
4336
+ _id: string;
4337
+ } & Required<{
4338
+ _id: string;
4339
+ }> & {
4340
+ __v: number;
4341
+ } & {
4342
+ id: string;
4343
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<INotification, "id"> & {
4344
+ _id: string;
4345
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<INotification, "id"> & {
4346
+ _id: string;
4347
+ } & Required<{
4348
+ _id: string;
4349
+ }> & {
4350
+ __v: number;
4351
+ } & {
4352
+ id: string;
4353
+ }> | undefined;
4354
+ pushFailedAt?: import("mongoose").SchemaDefinitionProperty<Date | undefined, import("mongoose").Document<unknown, {}, Omit<INotification, "id"> & {
4355
+ _id: string;
4356
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<INotification, "id"> & {
4357
+ _id: string;
4358
+ } & Required<{
4359
+ _id: string;
4360
+ }> & {
4361
+ __v: number;
4362
+ } & {
4363
+ id: string;
4364
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<INotification, "id"> & {
4365
+ _id: string;
4366
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<INotification, "id"> & {
4367
+ _id: string;
4368
+ } & Required<{
4369
+ _id: string;
4370
+ }> & {
4371
+ __v: number;
4372
+ } & {
4373
+ id: string;
4374
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<INotification, "id"> & {
4375
+ _id: string;
4376
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<INotification, "id"> & {
4377
+ _id: string;
4378
+ } & Required<{
4379
+ _id: string;
4380
+ }> & {
4381
+ __v: number;
4382
+ } & {
4383
+ id: string;
4384
+ }> | undefined;
4385
+ pushFailureReason?: import("mongoose").SchemaDefinitionProperty<string | undefined, import("mongoose").Document<unknown, {}, Omit<INotification, "id"> & {
4386
+ _id: string;
4387
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<INotification, "id"> & {
4388
+ _id: string;
4389
+ } & Required<{
4390
+ _id: string;
4391
+ }> & {
4392
+ __v: number;
4393
+ } & {
4394
+ id: string;
4395
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<INotification, "id"> & {
4396
+ _id: string;
4397
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<INotification, "id"> & {
4398
+ _id: string;
4399
+ } & Required<{
4400
+ _id: string;
4401
+ }> & {
4402
+ __v: number;
4403
+ } & {
4404
+ id: string;
4405
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<INotification, "id"> & {
4406
+ _id: string;
4407
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<INotification, "id"> & {
4408
+ _id: string;
4409
+ } & Required<{
4410
+ _id: string;
4411
+ }> & {
4412
+ __v: number;
4413
+ } & {
4414
+ id: string;
4415
+ }> | undefined;
4416
+ emailSentAt?: import("mongoose").SchemaDefinitionProperty<Date | undefined, import("mongoose").Document<unknown, {}, Omit<INotification, "id"> & {
4417
+ _id: string;
4418
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<INotification, "id"> & {
4419
+ _id: string;
4420
+ } & Required<{
4421
+ _id: string;
4422
+ }> & {
4423
+ __v: number;
4424
+ } & {
4425
+ id: string;
4426
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<INotification, "id"> & {
4427
+ _id: string;
4428
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<INotification, "id"> & {
4429
+ _id: string;
4430
+ } & Required<{
4431
+ _id: string;
4432
+ }> & {
4433
+ __v: number;
4434
+ } & {
4435
+ id: string;
4436
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<INotification, "id"> & {
4437
+ _id: string;
4438
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<INotification, "id"> & {
4439
+ _id: string;
4440
+ } & Required<{
4441
+ _id: string;
4442
+ }> & {
4443
+ __v: number;
4444
+ } & {
4445
+ id: string;
4446
+ }> | undefined;
4447
+ emailDeliveredAt?: import("mongoose").SchemaDefinitionProperty<Date | undefined, import("mongoose").Document<unknown, {}, Omit<INotification, "id"> & {
4448
+ _id: string;
4449
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<INotification, "id"> & {
4450
+ _id: string;
4451
+ } & Required<{
4452
+ _id: string;
4453
+ }> & {
4454
+ __v: number;
4455
+ } & {
4456
+ id: string;
4457
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<INotification, "id"> & {
4458
+ _id: string;
4459
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<INotification, "id"> & {
4460
+ _id: string;
4461
+ } & Required<{
4462
+ _id: string;
4463
+ }> & {
4464
+ __v: number;
4465
+ } & {
4466
+ id: string;
4467
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<INotification, "id"> & {
4468
+ _id: string;
4469
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<INotification, "id"> & {
4470
+ _id: string;
4471
+ } & Required<{
4472
+ _id: string;
4473
+ }> & {
4474
+ __v: number;
4475
+ } & {
4476
+ id: string;
4477
+ }> | undefined;
4478
+ smsSentAt?: import("mongoose").SchemaDefinitionProperty<Date | undefined, import("mongoose").Document<unknown, {}, Omit<INotification, "id"> & {
4479
+ _id: string;
4480
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<INotification, "id"> & {
4481
+ _id: string;
4482
+ } & Required<{
4483
+ _id: string;
4484
+ }> & {
4485
+ __v: number;
4486
+ } & {
4487
+ id: string;
4488
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<INotification, "id"> & {
4489
+ _id: string;
4490
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<INotification, "id"> & {
4491
+ _id: string;
4492
+ } & Required<{
4493
+ _id: string;
4494
+ }> & {
4495
+ __v: number;
4496
+ } & {
4497
+ id: string;
4498
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<INotification, "id"> & {
4499
+ _id: string;
4500
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<INotification, "id"> & {
4501
+ _id: string;
4502
+ } & Required<{
4503
+ _id: string;
4504
+ }> & {
4505
+ __v: number;
4506
+ } & {
4507
+ id: string;
4508
+ }> | undefined;
4509
+ smsDeliveredAt?: import("mongoose").SchemaDefinitionProperty<Date | undefined, import("mongoose").Document<unknown, {}, Omit<INotification, "id"> & {
4510
+ _id: string;
4511
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<INotification, "id"> & {
4512
+ _id: string;
4513
+ } & Required<{
4514
+ _id: string;
4515
+ }> & {
4516
+ __v: number;
4517
+ } & {
4518
+ id: string;
4519
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<INotification, "id"> & {
4520
+ _id: string;
4521
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<INotification, "id"> & {
4522
+ _id: string;
4523
+ } & Required<{
4524
+ _id: string;
4525
+ }> & {
4526
+ __v: number;
4527
+ } & {
4528
+ id: string;
4529
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<INotification, "id"> & {
4530
+ _id: string;
4531
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<INotification, "id"> & {
4532
+ _id: string;
4533
+ } & Required<{
4534
+ _id: string;
4535
+ }> & {
4536
+ __v: number;
4537
+ } & {
4538
+ id: string;
4539
+ }> | undefined;
4540
+ expiresAt?: import("mongoose").SchemaDefinitionProperty<Date | undefined, import("mongoose").Document<unknown, {}, Omit<INotification, "id"> & {
4541
+ _id: string;
4542
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<INotification, "id"> & {
4543
+ _id: string;
4544
+ } & Required<{
4545
+ _id: string;
4546
+ }> & {
4547
+ __v: number;
4548
+ } & {
4549
+ id: string;
4550
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<INotification, "id"> & {
4551
+ _id: string;
4552
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<INotification, "id"> & {
4553
+ _id: string;
4554
+ } & Required<{
4555
+ _id: string;
4556
+ }> & {
4557
+ __v: number;
4558
+ } & {
4559
+ id: string;
4560
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<INotification, "id"> & {
4561
+ _id: string;
4562
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<INotification, "id"> & {
4563
+ _id: string;
4564
+ } & Required<{
4565
+ _id: string;
4566
+ }> & {
4567
+ __v: number;
4568
+ } & {
4569
+ id: string;
4570
+ }> | undefined;
4571
+ groupKey?: import("mongoose").SchemaDefinitionProperty<string | undefined, import("mongoose").Document<unknown, {}, Omit<INotification, "id"> & {
4572
+ _id: string;
4573
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<INotification, "id"> & {
4574
+ _id: string;
4575
+ } & Required<{
4576
+ _id: string;
4577
+ }> & {
4578
+ __v: number;
4579
+ } & {
4580
+ id: string;
4581
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<INotification, "id"> & {
4582
+ _id: string;
4583
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<INotification, "id"> & {
4584
+ _id: string;
4585
+ } & Required<{
4586
+ _id: string;
4587
+ }> & {
4588
+ __v: number;
4589
+ } & {
4590
+ id: string;
4591
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<INotification, "id"> & {
4592
+ _id: string;
4593
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<INotification, "id"> & {
4594
+ _id: string;
4595
+ } & Required<{
4596
+ _id: string;
4597
+ }> & {
4598
+ __v: number;
4599
+ } & {
4600
+ id: string;
4601
+ }> | undefined;
4602
+ collapseKey?: import("mongoose").SchemaDefinitionProperty<string | undefined, import("mongoose").Document<unknown, {}, Omit<INotification, "id"> & {
4603
+ _id: string;
4604
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<INotification, "id"> & {
4605
+ _id: string;
4606
+ } & Required<{
4607
+ _id: string;
4608
+ }> & {
4609
+ __v: number;
4610
+ } & {
4611
+ id: string;
4612
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<INotification, "id"> & {
4613
+ _id: string;
4614
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<INotification, "id"> & {
4615
+ _id: string;
4616
+ } & Required<{
4617
+ _id: string;
4618
+ }> & {
4619
+ __v: number;
4620
+ } & {
4621
+ id: string;
4622
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<INotification, "id"> & {
4623
+ _id: string;
4624
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<INotification, "id"> & {
4625
+ _id: string;
4626
+ } & Required<{
4627
+ _id: string;
4628
+ }> & {
4629
+ __v: number;
4630
+ } & {
4631
+ id: string;
4632
+ }> | undefined;
4633
+ __v?: import("mongoose").SchemaDefinitionProperty<number, import("mongoose").Document<unknown, {}, Omit<INotification, "id"> & {
4634
+ _id: string;
4635
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<INotification, "id"> & {
4636
+ _id: string;
4637
+ } & Required<{
4638
+ _id: string;
4639
+ }> & {
4640
+ __v: number;
4641
+ } & {
4642
+ id: string;
4643
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<INotification, "id"> & {
4644
+ _id: string;
4645
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<INotification, "id"> & {
4646
+ _id: string;
4647
+ } & Required<{
4648
+ _id: string;
4649
+ }> & {
4650
+ __v: number;
4651
+ } & {
4652
+ id: string;
4653
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<INotification, "id"> & {
4654
+ _id: string;
4655
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<INotification, "id"> & {
4656
+ _id: string;
4657
+ } & Required<{
4658
+ _id: string;
4659
+ }> & {
4660
+ __v: number;
4661
+ } & {
4662
+ id: string;
4663
+ }> | undefined;
4664
+ id?: import("mongoose").SchemaDefinitionProperty<string, import("mongoose").Document<unknown, {}, Omit<INotification, "id"> & {
4665
+ _id: string;
4666
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<INotification, "id"> & {
4667
+ _id: string;
4668
+ } & Required<{
4669
+ _id: string;
4670
+ }> & {
4671
+ __v: number;
4672
+ } & {
4673
+ id: string;
4674
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<INotification, "id"> & {
4675
+ _id: string;
4676
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<INotification, "id"> & {
4677
+ _id: string;
4678
+ } & Required<{
4679
+ _id: string;
4680
+ }> & {
4681
+ __v: number;
4682
+ } & {
4683
+ id: string;
4684
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<INotification, "id"> & {
4685
+ _id: string;
4686
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<INotification, "id"> & {
4687
+ _id: string;
4688
+ } & Required<{
4689
+ _id: string;
4690
+ }> & {
4691
+ __v: number;
4692
+ } & {
4693
+ id: string;
4694
+ }> | undefined;
4695
+ }, import("mongoose").Document<unknown, {}, Omit<INotification, "id"> & {
4696
+ _id: string;
4697
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<INotification, "id"> & {
4698
+ _id: string;
4699
+ } & Required<{
50
4700
  _id: string;
51
4701
  }> & {
52
4702
  __v: number;
4703
+ } & {
4704
+ id: string;
53
4705
  }>;
54
4706
  //# sourceMappingURL=notification.schema.d.ts.map