@managesome/knotr-toolkit 0.8.16 → 0.8.20

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 (59) hide show
  1. package/dist/backend/index.d.ts +2 -2
  2. package/dist/backend/index.d.ts.map +1 -1
  3. package/dist/backend/index.js +1 -1
  4. package/dist/backend/index.js.map +1 -1
  5. package/dist/backend/worker-queue.d.ts +203 -13
  6. package/dist/backend/worker-queue.d.ts.map +1 -1
  7. package/dist/backend/worker-queue.js +67 -12
  8. package/dist/backend/worker-queue.js.map +1 -1
  9. package/dist/constants/worker.d.ts +17 -0
  10. package/dist/constants/worker.d.ts.map +1 -1
  11. package/dist/constants/worker.js +20 -0
  12. package/dist/constants/worker.js.map +1 -1
  13. package/dist/schemas/account.schema.d.ts +66 -66
  14. package/dist/schemas/chat.schema.d.ts +49 -49
  15. package/dist/schemas/chat.schema.d.ts.map +1 -1
  16. package/dist/schemas/collaboration-request.schema.d.ts +84 -84
  17. package/dist/schemas/collaboration-request.schema.d.ts.map +1 -1
  18. package/dist/schemas/company-review.schema.d.ts +83 -83
  19. package/dist/schemas/company-review.schema.d.ts.map +1 -1
  20. package/dist/schemas/company.schema.d.ts +88 -88
  21. package/dist/schemas/company.schema.d.ts.map +1 -1
  22. package/dist/schemas/contract.schema.d.ts +120 -120
  23. package/dist/schemas/contract.schema.d.ts.map +1 -1
  24. package/dist/schemas/dispute.schema.d.ts +84 -84
  25. package/dist/schemas/dispute.schema.d.ts.map +1 -1
  26. package/dist/schemas/donation.schema.d.ts +49 -49
  27. package/dist/schemas/donation.schema.d.ts.map +1 -1
  28. package/dist/schemas/escrow.schema.d.ts +84 -84
  29. package/dist/schemas/escrow.schema.d.ts.map +1 -1
  30. package/dist/schemas/interest.schema.d.ts +87 -87
  31. package/dist/schemas/interest.schema.d.ts.map +1 -1
  32. package/dist/schemas/match.schema.d.ts +87 -87
  33. package/dist/schemas/match.schema.d.ts.map +1 -1
  34. package/dist/schemas/message.schema.d.ts +53 -53
  35. package/dist/schemas/message.schema.d.ts.map +1 -1
  36. package/dist/schemas/milestone.schema.d.ts +48 -48
  37. package/dist/schemas/notification.schema.d.ts +155 -155
  38. package/dist/schemas/notification.schema.d.ts.map +1 -1
  39. package/dist/schemas/profile.schema.d.ts +87 -87
  40. package/dist/schemas/profile.schema.d.ts.map +1 -1
  41. package/dist/schemas/profit-share-agreement.schema.d.ts +48 -48
  42. package/dist/schemas/profit-share.schema.d.ts +48 -48
  43. package/dist/schemas/proposal.schema.d.ts +48 -48
  44. package/dist/schemas/purchase.schema.d.ts +49 -49
  45. package/dist/schemas/purchase.schema.d.ts.map +1 -1
  46. package/dist/schemas/requirement-post.schema.d.ts +84 -84
  47. package/dist/schemas/requirement-post.schema.d.ts.map +1 -1
  48. package/dist/schemas/service-listing.schema.d.ts +48 -48
  49. package/dist/schemas/subscription.schema.d.ts +83 -83
  50. package/dist/schemas/subscription.schema.d.ts.map +1 -1
  51. package/dist/schemas/tmc-application.schema.d.ts +48 -48
  52. package/dist/schemas/tmc-membership.schema.d.ts +48 -48
  53. package/dist/schemas/trust-badge.schema.d.ts +48 -48
  54. package/dist/schemas/verification.schema.d.ts +87 -87
  55. package/dist/schemas/verification.schema.d.ts.map +1 -1
  56. package/dist/schemas/webhook-event.schema.d.ts +48 -48
  57. package/dist/types/worker.d.ts +9 -2
  58. package/dist/types/worker.d.ts.map +1 -1
  59. package/package.json +1 -1
@@ -1084,7 +1084,7 @@ export declare const NotificationSchema: Schema<import("mongoose").Document<unkn
1084
1084
  id: string;
1085
1085
  }> | undefined;
1086
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"> & {
1087
+ <T extends "title" | "message" | "type" | "priority" | "body" | "imageUrl" | "accountId" | "profileId" | "createdAt" | "updatedAt" | "_id" | "readAt" | "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
1088
  _id: string;
1089
1089
  })[T];
1090
1090
  (path: string, type?: any, options?: any): any;
@@ -1243,7 +1243,7 @@ export declare const NotificationSchema: Schema<import("mongoose").Document<unkn
1243
1243
  id: string;
1244
1244
  }> | undefined;
1245
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;
1246
+ <T extends "title" | "message" | "type" | "priority" | "body" | "imageUrl" | "accountId" | "profileId" | "createdAt" | "updatedAt" | "_id" | "readAt" | "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
1247
  (path: string, errorMsg: string | NativeError, value?: any, kind?: string): NativeError | null;
1248
1248
  }, import("mongoose").Document<unknown, {}, Omit<INotification, "id"> & {
1249
1249
  _id: string;
@@ -1277,7 +1277,7 @@ export declare const NotificationSchema: Schema<import("mongoose").Document<unkn
1277
1277
  id: string;
1278
1278
  }> | undefined;
1279
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;
1280
+ <T extends "title" | "message" | "type" | "priority" | "body" | "imageUrl" | "accountId" | "profileId" | "createdAt" | "updatedAt" | "_id" | "readAt" | "actionUrl" | "actionData" | "channels" | "isRead" | "isArchived" | "archivedAt" | "pushSentAt" | "pushDeliveredAt" | "pushFailedAt" | "pushFailureReason" | "emailSentAt" | "emailDeliveredAt" | "smsSentAt" | "smsDeliveredAt" | "expiresAt" | "groupKey" | "collapseKey">(path: T | T[]): boolean;
1281
1281
  (path: string | Array<string>): boolean;
1282
1282
  }, import("mongoose").Document<unknown, {}, Omit<INotification, "id"> & {
1283
1283
  _id: string;
@@ -1311,7 +1311,7 @@ export declare const NotificationSchema: Schema<import("mongoose").Document<unkn
1311
1311
  id: string;
1312
1312
  }> | undefined;
1313
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;
1314
+ <T extends "title" | "message" | "type" | "priority" | "body" | "imageUrl" | "accountId" | "profileId" | "createdAt" | "updatedAt" | "_id" | "readAt" | "actionUrl" | "actionData" | "channels" | "isRead" | "isArchived" | "archivedAt" | "pushSentAt" | "pushDeliveredAt" | "pushFailedAt" | "pushFailureReason" | "emailSentAt" | "emailDeliveredAt" | "smsSentAt" | "smsDeliveredAt" | "expiresAt" | "groupKey" | "collapseKey">(path: T): boolean;
1315
1315
  (path: string): boolean;
1316
1316
  }, import("mongoose").Document<unknown, {}, Omit<INotification, "id"> & {
1317
1317
  _id: string;
@@ -1345,7 +1345,7 @@ export declare const NotificationSchema: Schema<import("mongoose").Document<unkn
1345
1345
  id: string;
1346
1346
  }> | undefined;
1347
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;
1348
+ <T extends "title" | "message" | "type" | "priority" | "body" | "imageUrl" | "accountId" | "profileId" | "createdAt" | "updatedAt" | "_id" | "readAt" | "actionUrl" | "actionData" | "channels" | "isRead" | "isArchived" | "archivedAt" | "pushSentAt" | "pushDeliveredAt" | "pushFailedAt" | "pushFailureReason" | "emailSentAt" | "emailDeliveredAt" | "smsSentAt" | "smsDeliveredAt" | "expiresAt" | "groupKey" | "collapseKey">(path: T): boolean;
1349
1349
  (path: string): boolean;
1350
1350
  }, import("mongoose").Document<unknown, {}, Omit<INotification, "id"> & {
1351
1351
  _id: string;
@@ -1379,7 +1379,7 @@ export declare const NotificationSchema: Schema<import("mongoose").Document<unkn
1379
1379
  id: string;
1380
1380
  }> | undefined;
1381
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?: {
1382
+ <T extends "title" | "message" | "type" | "priority" | "body" | "imageUrl" | "accountId" | "profileId" | "createdAt" | "updatedAt" | "_id" | "readAt" | "actionUrl" | "actionData" | "channels" | "isRead" | "isArchived" | "archivedAt" | "pushSentAt" | "pushDeliveredAt" | "pushFailedAt" | "pushFailureReason" | "emailSentAt" | "emailDeliveredAt" | "smsSentAt" | "smsDeliveredAt" | "expiresAt" | "groupKey" | "collapseKey">(path?: T | T[] | undefined, options?: {
1383
1383
  ignoreAtomics?: boolean;
1384
1384
  } | null): boolean;
1385
1385
  (path?: string | Array<string>, options?: {
@@ -1448,7 +1448,7 @@ export declare const NotificationSchema: Schema<import("mongoose").Document<unkn
1448
1448
  id: string;
1449
1449
  }> | undefined;
1450
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;
1451
+ <T extends "title" | "message" | "type" | "priority" | "body" | "imageUrl" | "accountId" | "profileId" | "createdAt" | "updatedAt" | "_id" | "readAt" | "actionUrl" | "actionData" | "channels" | "isRead" | "isArchived" | "archivedAt" | "pushSentAt" | "pushDeliveredAt" | "pushFailedAt" | "pushFailureReason" | "emailSentAt" | "emailDeliveredAt" | "smsSentAt" | "smsDeliveredAt" | "expiresAt" | "groupKey" | "collapseKey">(path: T): boolean;
1452
1452
  (path: string): boolean;
1453
1453
  }, import("mongoose").Document<unknown, {}, Omit<INotification, "id"> & {
1454
1454
  _id: string;
@@ -1482,7 +1482,7 @@ export declare const NotificationSchema: Schema<import("mongoose").Document<unkn
1482
1482
  id: string;
1483
1483
  }> | undefined;
1484
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;
1485
+ <T extends "title" | "message" | "type" | "priority" | "body" | "imageUrl" | "accountId" | "profileId" | "createdAt" | "updatedAt" | "_id" | "readAt" | "actionUrl" | "actionData" | "channels" | "isRead" | "isArchived" | "archivedAt" | "pushSentAt" | "pushDeliveredAt" | "pushFailedAt" | "pushFailureReason" | "emailSentAt" | "emailDeliveredAt" | "smsSentAt" | "smsDeliveredAt" | "expiresAt" | "groupKey" | "collapseKey">(path: T, scope?: any): void;
1486
1486
  (path: string, scope?: any): void;
1487
1487
  }, import("mongoose").Document<unknown, {}, Omit<INotification, "id"> & {
1488
1488
  _id: string;
@@ -1921,7 +1921,7 @@ export declare const NotificationSchema: Schema<import("mongoose").Document<unkn
1921
1921
  id: string;
1922
1922
  }> | undefined;
1923
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"> & {
1924
+ <T extends "title" | "message" | "type" | "priority" | "body" | "imageUrl" | "accountId" | "profileId" | "createdAt" | "updatedAt" | "_id" | "readAt" | "actionUrl" | "actionData" | "channels" | "isRead" | "isArchived" | "archivedAt" | "pushSentAt" | "pushDeliveredAt" | "pushFailedAt" | "pushFailureReason" | "emailSentAt" | "emailDeliveredAt" | "smsSentAt" | "smsDeliveredAt" | "expiresAt" | "groupKey" | "collapseKey">(path: T, val: (Omit<INotification, "id"> & {
1925
1925
  _id: string;
1926
1926
  })[T], type: any, options?: import("mongoose").DocumentSetOptions): import("mongoose").Document<unknown, {}, Omit<INotification, "id"> & {
1927
1927
  _id: string;
@@ -2009,14 +2009,14 @@ export declare const NotificationSchema: Schema<import("mongoose").Document<unkn
2009
2009
  message?: string | undefined;
2010
2010
  type: NotificationType;
2011
2011
  priority: NotificationPriority;
2012
+ body: string;
2013
+ imageUrl?: string | undefined;
2014
+ accountId: string;
2015
+ profileId?: string | undefined;
2012
2016
  createdAt: Date;
2013
2017
  updatedAt: Date;
2014
2018
  _id: string;
2015
- profileId?: string | undefined;
2016
- accountId: string;
2017
- imageUrl?: string | undefined;
2018
2019
  readAt?: Date | undefined;
2019
- body: string;
2020
2020
  actionUrl?: string | undefined;
2021
2021
  actionData?: {
2022
2022
  [x: string]: unknown;
@@ -2046,13 +2046,13 @@ export declare const NotificationSchema: Schema<import("mongoose").Document<unkn
2046
2046
  message?: string | undefined;
2047
2047
  type: NotificationType;
2048
2048
  priority: NotificationPriority;
2049
+ body: string;
2050
+ imageUrl?: string | undefined;
2051
+ accountId: string;
2052
+ profileId?: string | undefined;
2049
2053
  createdAt: Date;
2050
2054
  updatedAt: Date;
2051
- profileId?: string | undefined;
2052
- accountId: string;
2053
- imageUrl?: string | undefined;
2054
2055
  readAt?: Date | undefined;
2055
- body: string;
2056
2056
  actionUrl?: string | undefined;
2057
2057
  actionData?: {
2058
2058
  [x: string]: unknown;
@@ -2103,14 +2103,14 @@ export declare const NotificationSchema: Schema<import("mongoose").Document<unkn
2103
2103
  message?: string | undefined;
2104
2104
  type: NotificationType;
2105
2105
  priority: NotificationPriority;
2106
+ body: string;
2107
+ imageUrl?: string | undefined;
2108
+ accountId: string;
2109
+ profileId?: string | undefined;
2106
2110
  createdAt: Date;
2107
2111
  updatedAt: Date;
2108
2112
  _id: string;
2109
- profileId?: string | undefined;
2110
- accountId: string;
2111
- imageUrl?: string | undefined;
2112
2113
  readAt?: Date | undefined;
2113
- body: string;
2114
2114
  actionUrl?: string | undefined;
2115
2115
  actionData?: {
2116
2116
  [x: string]: unknown;
@@ -2140,13 +2140,13 @@ export declare const NotificationSchema: Schema<import("mongoose").Document<unkn
2140
2140
  message?: string | undefined;
2141
2141
  type: NotificationType;
2142
2142
  priority: NotificationPriority;
2143
+ body: string;
2144
+ imageUrl?: string | undefined;
2145
+ accountId: string;
2146
+ profileId?: string | undefined;
2143
2147
  createdAt: Date;
2144
2148
  updatedAt: Date;
2145
- profileId?: string | undefined;
2146
- accountId: string;
2147
- imageUrl?: string | undefined;
2148
2149
  readAt?: Date | undefined;
2149
- body: string;
2150
2150
  actionUrl?: string | undefined;
2151
2151
  actionData?: {
2152
2152
  [x: string]: unknown;
@@ -2197,14 +2197,14 @@ export declare const NotificationSchema: Schema<import("mongoose").Document<unkn
2197
2197
  message?: string | undefined;
2198
2198
  type: NotificationType;
2199
2199
  priority: NotificationPriority;
2200
+ body: string;
2201
+ imageUrl?: string | undefined;
2202
+ accountId: string;
2203
+ profileId?: string | undefined;
2200
2204
  createdAt: Date;
2201
2205
  updatedAt: Date;
2202
2206
  _id: string;
2203
- profileId?: string | undefined;
2204
- accountId: string;
2205
- imageUrl?: string | undefined;
2206
2207
  readAt?: Date | undefined;
2207
- body: string;
2208
2208
  actionUrl?: string | undefined;
2209
2209
  actionData?: {
2210
2210
  [x: string]: {};
@@ -2234,13 +2234,13 @@ export declare const NotificationSchema: Schema<import("mongoose").Document<unkn
2234
2234
  message?: string | undefined;
2235
2235
  type: NotificationType;
2236
2236
  priority: NotificationPriority;
2237
+ body: string;
2238
+ imageUrl?: string | undefined;
2239
+ accountId: string;
2240
+ profileId?: string | undefined;
2237
2241
  createdAt: Date;
2238
2242
  updatedAt: Date;
2239
- profileId?: string | undefined;
2240
- accountId: string;
2241
- imageUrl?: string | undefined;
2242
2243
  readAt?: Date | undefined;
2243
- body: string;
2244
2244
  actionUrl?: string | undefined;
2245
2245
  actionData?: {
2246
2246
  [x: string]: {};
@@ -2291,14 +2291,14 @@ export declare const NotificationSchema: Schema<import("mongoose").Document<unkn
2291
2291
  message?: string | undefined;
2292
2292
  type: NotificationType;
2293
2293
  priority: NotificationPriority;
2294
+ body: string;
2295
+ imageUrl?: string | undefined;
2296
+ accountId: string;
2297
+ profileId?: string | undefined;
2294
2298
  createdAt: Date;
2295
2299
  updatedAt: Date;
2296
2300
  _id: string;
2297
- profileId?: string | undefined;
2298
- accountId: string;
2299
- imageUrl?: string | undefined;
2300
2301
  readAt?: Date | undefined;
2301
- body: string;
2302
2302
  actionUrl?: string | undefined;
2303
2303
  actionData?: {
2304
2304
  [x: string]: {};
@@ -2328,13 +2328,13 @@ export declare const NotificationSchema: Schema<import("mongoose").Document<unkn
2328
2328
  message?: string | undefined;
2329
2329
  type: NotificationType;
2330
2330
  priority: NotificationPriority;
2331
+ body: string;
2332
+ imageUrl?: string | undefined;
2333
+ accountId: string;
2334
+ profileId?: string | undefined;
2331
2335
  createdAt: Date;
2332
2336
  updatedAt: Date;
2333
- profileId?: string | undefined;
2334
- accountId: string;
2335
- imageUrl?: string | undefined;
2336
2337
  readAt?: Date | undefined;
2337
- body: string;
2338
2338
  actionUrl?: string | undefined;
2339
2339
  actionData?: {
2340
2340
  [x: string]: {};
@@ -2384,13 +2384,13 @@ export declare const NotificationSchema: Schema<import("mongoose").Document<unkn
2384
2384
  message?: string | undefined;
2385
2385
  type: NotificationType;
2386
2386
  priority: NotificationPriority;
2387
+ body: string;
2388
+ imageUrl?: string | undefined;
2389
+ accountId: string;
2390
+ profileId?: string | undefined;
2387
2391
  createdAt: Date;
2388
2392
  updatedAt: Date;
2389
- profileId?: string | undefined;
2390
- accountId: string;
2391
- imageUrl?: string | undefined;
2392
2393
  readAt?: Date | undefined;
2393
- body: string;
2394
2394
  actionUrl?: string | undefined;
2395
2395
  actionData?: {
2396
2396
  [x: string]: {};
@@ -2420,13 +2420,13 @@ export declare const NotificationSchema: Schema<import("mongoose").Document<unkn
2420
2420
  message?: string | undefined;
2421
2421
  type: NotificationType;
2422
2422
  priority: NotificationPriority;
2423
+ body: string;
2424
+ imageUrl?: string | undefined;
2425
+ accountId: string;
2426
+ profileId?: string | undefined;
2423
2427
  createdAt: Date;
2424
2428
  updatedAt: Date;
2425
- profileId?: string | undefined;
2426
- accountId: string;
2427
- imageUrl?: string | undefined;
2428
2429
  readAt?: Date | undefined;
2429
- body: string;
2430
2430
  actionUrl?: string | undefined;
2431
2431
  actionData?: {
2432
2432
  [x: string]: {};
@@ -2456,13 +2456,13 @@ export declare const NotificationSchema: Schema<import("mongoose").Document<unkn
2456
2456
  message?: string | undefined;
2457
2457
  type: NotificationType;
2458
2458
  priority: NotificationPriority;
2459
+ body: string;
2460
+ imageUrl?: string | undefined;
2461
+ accountId: string;
2462
+ profileId?: string | undefined;
2459
2463
  createdAt: Date;
2460
2464
  updatedAt: Date;
2461
- profileId?: string | undefined;
2462
- accountId: string;
2463
- imageUrl?: string | undefined;
2464
2465
  readAt?: Date | undefined;
2465
- body: string;
2466
2466
  actionUrl?: string | undefined;
2467
2467
  actionData?: {
2468
2468
  [x: string]: unknown;
@@ -2491,13 +2491,13 @@ export declare const NotificationSchema: Schema<import("mongoose").Document<unkn
2491
2491
  message?: string | undefined;
2492
2492
  type: NotificationType;
2493
2493
  priority: NotificationPriority;
2494
+ body: string;
2495
+ imageUrl?: string | undefined;
2496
+ accountId: string;
2497
+ profileId?: string | undefined;
2494
2498
  createdAt: Date;
2495
2499
  updatedAt: Date;
2496
- profileId?: string | undefined;
2497
- accountId: string;
2498
- imageUrl?: string | undefined;
2499
2500
  readAt?: Date | undefined;
2500
- body: string;
2501
2501
  actionUrl?: string | undefined;
2502
2502
  actionData?: {
2503
2503
  [x: string]: unknown;
@@ -2544,14 +2544,14 @@ export declare const NotificationSchema: Schema<import("mongoose").Document<unkn
2544
2544
  message?: string | undefined;
2545
2545
  type: NotificationType;
2546
2546
  priority: NotificationPriority;
2547
+ body: string;
2548
+ imageUrl?: string | undefined;
2549
+ accountId: string;
2550
+ profileId?: string | undefined;
2547
2551
  createdAt: Date;
2548
2552
  updatedAt: Date;
2549
2553
  _id: string;
2550
- profileId?: string | undefined;
2551
- accountId: string;
2552
- imageUrl?: string | undefined;
2553
2554
  readAt?: Date | undefined;
2554
- body: string;
2555
2555
  actionUrl?: string | undefined;
2556
2556
  actionData?: {
2557
2557
  [x: string]: {};
@@ -2582,14 +2582,14 @@ export declare const NotificationSchema: Schema<import("mongoose").Document<unkn
2582
2582
  message?: string | undefined;
2583
2583
  type: NotificationType;
2584
2584
  priority: NotificationPriority;
2585
+ body: string;
2586
+ imageUrl?: string | undefined;
2587
+ accountId: string;
2588
+ profileId?: string | undefined;
2585
2589
  createdAt: Date;
2586
2590
  updatedAt: Date;
2587
2591
  _id: string;
2588
- profileId?: string | undefined;
2589
- accountId: string;
2590
- imageUrl?: string | undefined;
2591
2592
  readAt?: Date | undefined;
2592
- body: string;
2593
2593
  actionUrl?: string | undefined;
2594
2594
  actionData?: {
2595
2595
  [x: string]: unknown;
@@ -2628,14 +2628,14 @@ export declare const NotificationSchema: Schema<import("mongoose").Document<unkn
2628
2628
  message?: string | undefined;
2629
2629
  type: NotificationType;
2630
2630
  priority: NotificationPriority;
2631
+ body: string;
2632
+ imageUrl?: string | undefined;
2633
+ accountId: string;
2634
+ profileId?: string | undefined;
2631
2635
  createdAt: Date;
2632
2636
  updatedAt: Date;
2633
2637
  _id: string;
2634
- profileId?: string | undefined;
2635
- accountId: string;
2636
- imageUrl?: string | undefined;
2637
2638
  readAt?: Date | undefined;
2638
- body: string;
2639
2639
  actionUrl?: string | undefined;
2640
2640
  actionData?: {
2641
2641
  [x: string]: unknown;
@@ -2673,14 +2673,14 @@ export declare const NotificationSchema: Schema<import("mongoose").Document<unkn
2673
2673
  message?: string | undefined;
2674
2674
  type: NotificationType;
2675
2675
  priority: NotificationPriority;
2676
+ body: string;
2677
+ imageUrl?: string | undefined;
2678
+ accountId: string;
2679
+ profileId?: string | undefined;
2676
2680
  createdAt: Date;
2677
2681
  updatedAt: Date;
2678
2682
  _id: string;
2679
- profileId?: string | undefined;
2680
- accountId: string;
2681
- imageUrl?: string | undefined;
2682
2683
  readAt?: Date | undefined;
2683
- body: string;
2684
2684
  actionUrl?: string | undefined;
2685
2685
  actionData?: {
2686
2686
  [x: string]: {};
@@ -2709,14 +2709,14 @@ export declare const NotificationSchema: Schema<import("mongoose").Document<unkn
2709
2709
  message?: string | undefined;
2710
2710
  type: NotificationType;
2711
2711
  priority: NotificationPriority;
2712
+ body: string;
2713
+ imageUrl?: string | undefined;
2714
+ accountId: string;
2715
+ profileId?: string | undefined;
2712
2716
  createdAt: Date;
2713
2717
  updatedAt: Date;
2714
2718
  _id: string;
2715
- profileId?: string | undefined;
2716
- accountId: string;
2717
- imageUrl?: string | undefined;
2718
2719
  readAt?: Date | undefined;
2719
- body: string;
2720
2720
  actionUrl?: string | undefined;
2721
2721
  actionData?: {
2722
2722
  [x: string]: unknown;
@@ -2811,14 +2811,14 @@ export declare const NotificationSchema: Schema<import("mongoose").Document<unkn
2811
2811
  message?: string | undefined;
2812
2812
  type: NotificationType;
2813
2813
  priority: NotificationPriority;
2814
+ body: string;
2815
+ imageUrl?: string | undefined;
2816
+ accountId: string;
2817
+ profileId?: string | undefined;
2814
2818
  createdAt: Date;
2815
2819
  updatedAt: Date;
2816
2820
  _id: string;
2817
- profileId?: string | undefined;
2818
- accountId: string;
2819
- imageUrl?: string | undefined;
2820
2821
  readAt?: Date | undefined;
2821
- body: string;
2822
2822
  actionUrl?: string | undefined;
2823
2823
  actionData?: {
2824
2824
  [x: string]: unknown;
@@ -2848,13 +2848,13 @@ export declare const NotificationSchema: Schema<import("mongoose").Document<unkn
2848
2848
  message?: string | undefined;
2849
2849
  type: NotificationType;
2850
2850
  priority: NotificationPriority;
2851
+ body: string;
2852
+ imageUrl?: string | undefined;
2853
+ accountId: string;
2854
+ profileId?: string | undefined;
2851
2855
  createdAt: Date;
2852
2856
  updatedAt: Date;
2853
- profileId?: string | undefined;
2854
- accountId: string;
2855
- imageUrl?: string | undefined;
2856
2857
  readAt?: Date | undefined;
2857
- body: string;
2858
2858
  actionUrl?: string | undefined;
2859
2859
  actionData?: {
2860
2860
  [x: string]: unknown;
@@ -2905,14 +2905,14 @@ export declare const NotificationSchema: Schema<import("mongoose").Document<unkn
2905
2905
  message?: string | undefined;
2906
2906
  type: NotificationType;
2907
2907
  priority: NotificationPriority;
2908
+ body: string;
2909
+ imageUrl?: string | undefined;
2910
+ accountId: string;
2911
+ profileId?: string | undefined;
2908
2912
  createdAt: Date;
2909
2913
  updatedAt: Date;
2910
2914
  _id: string;
2911
- profileId?: string | undefined;
2912
- accountId: string;
2913
- imageUrl?: string | undefined;
2914
2915
  readAt?: Date | undefined;
2915
- body: string;
2916
2916
  actionUrl?: string | undefined;
2917
2917
  actionData?: {
2918
2918
  [x: string]: unknown;
@@ -2942,13 +2942,13 @@ export declare const NotificationSchema: Schema<import("mongoose").Document<unkn
2942
2942
  message?: string | undefined;
2943
2943
  type: NotificationType;
2944
2944
  priority: NotificationPriority;
2945
+ body: string;
2946
+ imageUrl?: string | undefined;
2947
+ accountId: string;
2948
+ profileId?: string | undefined;
2945
2949
  createdAt: Date;
2946
2950
  updatedAt: Date;
2947
- profileId?: string | undefined;
2948
- accountId: string;
2949
- imageUrl?: string | undefined;
2950
2951
  readAt?: Date | undefined;
2951
- body: string;
2952
2952
  actionUrl?: string | undefined;
2953
2953
  actionData?: {
2954
2954
  [x: string]: unknown;
@@ -2999,14 +2999,14 @@ export declare const NotificationSchema: Schema<import("mongoose").Document<unkn
2999
2999
  message?: string | undefined;
3000
3000
  type: NotificationType;
3001
3001
  priority: NotificationPriority;
3002
+ body: string;
3003
+ imageUrl?: string | undefined;
3004
+ accountId: string;
3005
+ profileId?: string | undefined;
3002
3006
  createdAt: Date;
3003
3007
  updatedAt: Date;
3004
3008
  _id: string;
3005
- profileId?: string | undefined;
3006
- accountId: string;
3007
- imageUrl?: string | undefined;
3008
3009
  readAt?: Date | undefined;
3009
- body: string;
3010
3010
  actionUrl?: string | undefined;
3011
3011
  actionData?: {
3012
3012
  [x: string]: {};
@@ -3036,13 +3036,13 @@ export declare const NotificationSchema: Schema<import("mongoose").Document<unkn
3036
3036
  message?: string | undefined;
3037
3037
  type: NotificationType;
3038
3038
  priority: NotificationPriority;
3039
+ body: string;
3040
+ imageUrl?: string | undefined;
3041
+ accountId: string;
3042
+ profileId?: string | undefined;
3039
3043
  createdAt: Date;
3040
3044
  updatedAt: Date;
3041
- profileId?: string | undefined;
3042
- accountId: string;
3043
- imageUrl?: string | undefined;
3044
3045
  readAt?: Date | undefined;
3045
- body: string;
3046
3046
  actionUrl?: string | undefined;
3047
3047
  actionData?: {
3048
3048
  [x: string]: {};
@@ -3093,14 +3093,14 @@ export declare const NotificationSchema: Schema<import("mongoose").Document<unkn
3093
3093
  message?: string | undefined;
3094
3094
  type: NotificationType;
3095
3095
  priority: NotificationPriority;
3096
+ body: string;
3097
+ imageUrl?: string | undefined;
3098
+ accountId: string;
3099
+ profileId?: string | undefined;
3096
3100
  createdAt: Date;
3097
3101
  updatedAt: Date;
3098
3102
  _id: string;
3099
- profileId?: string | undefined;
3100
- accountId: string;
3101
- imageUrl?: string | undefined;
3102
3103
  readAt?: Date | undefined;
3103
- body: string;
3104
3104
  actionUrl?: string | undefined;
3105
3105
  actionData?: {
3106
3106
  [x: string]: {};
@@ -3130,13 +3130,13 @@ export declare const NotificationSchema: Schema<import("mongoose").Document<unkn
3130
3130
  message?: string | undefined;
3131
3131
  type: NotificationType;
3132
3132
  priority: NotificationPriority;
3133
+ body: string;
3134
+ imageUrl?: string | undefined;
3135
+ accountId: string;
3136
+ profileId?: string | undefined;
3133
3137
  createdAt: Date;
3134
3138
  updatedAt: Date;
3135
- profileId?: string | undefined;
3136
- accountId: string;
3137
- imageUrl?: string | undefined;
3138
3139
  readAt?: Date | undefined;
3139
- body: string;
3140
3140
  actionUrl?: string | undefined;
3141
3141
  actionData?: {
3142
3142
  [x: string]: {};
@@ -3186,13 +3186,13 @@ export declare const NotificationSchema: Schema<import("mongoose").Document<unkn
3186
3186
  message?: string | undefined;
3187
3187
  type: NotificationType;
3188
3188
  priority: NotificationPriority;
3189
+ body: string;
3190
+ imageUrl?: string | undefined;
3191
+ accountId: string;
3192
+ profileId?: string | undefined;
3189
3193
  createdAt: Date;
3190
3194
  updatedAt: Date;
3191
- profileId?: string | undefined;
3192
- accountId: string;
3193
- imageUrl?: string | undefined;
3194
3195
  readAt?: Date | undefined;
3195
- body: string;
3196
3196
  actionUrl?: string | undefined;
3197
3197
  actionData?: {
3198
3198
  [x: string]: {};
@@ -3222,13 +3222,13 @@ export declare const NotificationSchema: Schema<import("mongoose").Document<unkn
3222
3222
  message?: string | undefined;
3223
3223
  type: NotificationType;
3224
3224
  priority: NotificationPriority;
3225
+ body: string;
3226
+ imageUrl?: string | undefined;
3227
+ accountId: string;
3228
+ profileId?: string | undefined;
3225
3229
  createdAt: Date;
3226
3230
  updatedAt: Date;
3227
- profileId?: string | undefined;
3228
- accountId: string;
3229
- imageUrl?: string | undefined;
3230
3231
  readAt?: Date | undefined;
3231
- body: string;
3232
3232
  actionUrl?: string | undefined;
3233
3233
  actionData?: {
3234
3234
  [x: string]: {};
@@ -3258,13 +3258,13 @@ export declare const NotificationSchema: Schema<import("mongoose").Document<unkn
3258
3258
  message?: string | undefined;
3259
3259
  type: NotificationType;
3260
3260
  priority: NotificationPriority;
3261
+ body: string;
3262
+ imageUrl?: string | undefined;
3263
+ accountId: string;
3264
+ profileId?: string | undefined;
3261
3265
  createdAt: Date;
3262
3266
  updatedAt: Date;
3263
- profileId?: string | undefined;
3264
- accountId: string;
3265
- imageUrl?: string | undefined;
3266
3267
  readAt?: Date | undefined;
3267
- body: string;
3268
3268
  actionUrl?: string | undefined;
3269
3269
  actionData?: {
3270
3270
  [x: string]: unknown;
@@ -3293,13 +3293,13 @@ export declare const NotificationSchema: Schema<import("mongoose").Document<unkn
3293
3293
  message?: string | undefined;
3294
3294
  type: NotificationType;
3295
3295
  priority: NotificationPriority;
3296
+ body: string;
3297
+ imageUrl?: string | undefined;
3298
+ accountId: string;
3299
+ profileId?: string | undefined;
3296
3300
  createdAt: Date;
3297
3301
  updatedAt: Date;
3298
- profileId?: string | undefined;
3299
- accountId: string;
3300
- imageUrl?: string | undefined;
3301
3302
  readAt?: Date | undefined;
3302
- body: string;
3303
3303
  actionUrl?: string | undefined;
3304
3304
  actionData?: {
3305
3305
  [x: string]: unknown;
@@ -3346,14 +3346,14 @@ export declare const NotificationSchema: Schema<import("mongoose").Document<unkn
3346
3346
  message?: string | undefined;
3347
3347
  type: NotificationType;
3348
3348
  priority: NotificationPriority;
3349
+ body: string;
3350
+ imageUrl?: string | undefined;
3351
+ accountId: string;
3352
+ profileId?: string | undefined;
3349
3353
  createdAt: Date;
3350
3354
  updatedAt: Date;
3351
3355
  _id: string;
3352
- profileId?: string | undefined;
3353
- accountId: string;
3354
- imageUrl?: string | undefined;
3355
3356
  readAt?: Date | undefined;
3356
- body: string;
3357
3357
  actionUrl?: string | undefined;
3358
3358
  actionData?: {
3359
3359
  [x: string]: {};
@@ -3384,14 +3384,14 @@ export declare const NotificationSchema: Schema<import("mongoose").Document<unkn
3384
3384
  message?: string | undefined;
3385
3385
  type: NotificationType;
3386
3386
  priority: NotificationPriority;
3387
+ body: string;
3388
+ imageUrl?: string | undefined;
3389
+ accountId: string;
3390
+ profileId?: string | undefined;
3387
3391
  createdAt: Date;
3388
3392
  updatedAt: Date;
3389
3393
  _id: string;
3390
- profileId?: string | undefined;
3391
- accountId: string;
3392
- imageUrl?: string | undefined;
3393
3394
  readAt?: Date | undefined;
3394
- body: string;
3395
3395
  actionUrl?: string | undefined;
3396
3396
  actionData?: {
3397
3397
  [x: string]: unknown;
@@ -3430,14 +3430,14 @@ export declare const NotificationSchema: Schema<import("mongoose").Document<unkn
3430
3430
  message?: string | undefined;
3431
3431
  type: NotificationType;
3432
3432
  priority: NotificationPriority;
3433
+ body: string;
3434
+ imageUrl?: string | undefined;
3435
+ accountId: string;
3436
+ profileId?: string | undefined;
3433
3437
  createdAt: Date;
3434
3438
  updatedAt: Date;
3435
3439
  _id: string;
3436
- profileId?: string | undefined;
3437
- accountId: string;
3438
- imageUrl?: string | undefined;
3439
3440
  readAt?: Date | undefined;
3440
- body: string;
3441
3441
  actionUrl?: string | undefined;
3442
3442
  actionData?: {
3443
3443
  [x: string]: unknown;
@@ -3475,14 +3475,14 @@ export declare const NotificationSchema: Schema<import("mongoose").Document<unkn
3475
3475
  message?: string | undefined;
3476
3476
  type: NotificationType;
3477
3477
  priority: NotificationPriority;
3478
+ body: string;
3479
+ imageUrl?: string | undefined;
3480
+ accountId: string;
3481
+ profileId?: string | undefined;
3478
3482
  createdAt: Date;
3479
3483
  updatedAt: Date;
3480
3484
  _id: string;
3481
- profileId?: string | undefined;
3482
- accountId: string;
3483
- imageUrl?: string | undefined;
3484
3485
  readAt?: Date | undefined;
3485
- body: string;
3486
3486
  actionUrl?: string | undefined;
3487
3487
  actionData?: {
3488
3488
  [x: string]: {};
@@ -3511,14 +3511,14 @@ export declare const NotificationSchema: Schema<import("mongoose").Document<unkn
3511
3511
  message?: string | undefined;
3512
3512
  type: NotificationType;
3513
3513
  priority: NotificationPriority;
3514
+ body: string;
3515
+ imageUrl?: string | undefined;
3516
+ accountId: string;
3517
+ profileId?: string | undefined;
3514
3518
  createdAt: Date;
3515
3519
  updatedAt: Date;
3516
3520
  _id: string;
3517
- profileId?: string | undefined;
3518
- accountId: string;
3519
- imageUrl?: string | undefined;
3520
3521
  readAt?: Date | undefined;
3521
- body: string;
3522
3522
  actionUrl?: string | undefined;
3523
3523
  actionData?: {
3524
3524
  [x: string]: unknown;
@@ -3603,7 +3603,7 @@ export declare const NotificationSchema: Schema<import("mongoose").Document<unkn
3603
3603
  id: string;
3604
3604
  }> | undefined;
3605
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;
3606
+ <T extends "title" | "message" | "type" | "priority" | "body" | "imageUrl" | "accountId" | "profileId" | "createdAt" | "updatedAt" | "_id" | "readAt" | "actionUrl" | "actionData" | "channels" | "isRead" | "isArchived" | "archivedAt" | "pushSentAt" | "pushDeliveredAt" | "pushFailedAt" | "pushFailureReason" | "emailSentAt" | "emailDeliveredAt" | "smsSentAt" | "smsDeliveredAt" | "expiresAt" | "groupKey" | "collapseKey">(path: T): void;
3607
3607
  (path: string): void;
3608
3608
  }, import("mongoose").Document<unknown, {}, Omit<INotification, "id"> & {
3609
3609
  _id: string;
@@ -3688,7 +3688,7 @@ export declare const NotificationSchema: Schema<import("mongoose").Document<unkn
3688
3688
  id: string;
3689
3689
  }> | undefined;
3690
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>;
3691
+ <T extends "title" | "message" | "type" | "priority" | "body" | "imageUrl" | "accountId" | "profileId" | "createdAt" | "updatedAt" | "_id" | "readAt" | "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
3692
  (pathsToValidate?: import("mongoose").pathsToValidate, options?: import("mongoose").AnyObject): Promise<void>;
3693
3693
  (options: {
3694
3694
  pathsToSkip?: import("mongoose").pathsToSkip;
@@ -3729,7 +3729,7 @@ export declare const NotificationSchema: Schema<import("mongoose").Document<unkn
3729
3729
  pathsToSkip?: import("mongoose").pathsToSkip;
3730
3730
  [k: string]: any;
3731
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;
3732
+ <T extends "title" | "message" | "type" | "priority" | "body" | "imageUrl" | "accountId" | "profileId" | "createdAt" | "updatedAt" | "_id" | "readAt" | "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
3733
  (pathsToValidate?: import("mongoose").pathsToValidate, options?: import("mongoose").AnyObject): import("mongoose").Error.ValidationError | null;
3734
3734
  }, import("mongoose").Document<unknown, {}, Omit<INotification, "id"> & {
3735
3735
  _id: string;
@@ -3886,7 +3886,7 @@ export declare const NotificationSchema: Schema<import("mongoose").Document<unkn
3886
3886
  } & {
3887
3887
  id: string;
3888
3888
  }> | undefined;
3889
- createdAt?: import("mongoose").SchemaDefinitionProperty<Date, import("mongoose").Document<unknown, {}, Omit<INotification, "id"> & {
3889
+ body?: import("mongoose").SchemaDefinitionProperty<string, import("mongoose").Document<unknown, {}, Omit<INotification, "id"> & {
3890
3890
  _id: string;
3891
3891
  }, {}, import("mongoose").DefaultSchemaOptions> & Omit<INotification, "id"> & {
3892
3892
  _id: string;
@@ -3917,7 +3917,7 @@ export declare const NotificationSchema: Schema<import("mongoose").Document<unkn
3917
3917
  } & {
3918
3918
  id: string;
3919
3919
  }> | undefined;
3920
- updatedAt?: import("mongoose").SchemaDefinitionProperty<Date, import("mongoose").Document<unknown, {}, Omit<INotification, "id"> & {
3920
+ imageUrl?: import("mongoose").SchemaDefinitionProperty<string | undefined, import("mongoose").Document<unknown, {}, Omit<INotification, "id"> & {
3921
3921
  _id: string;
3922
3922
  }, {}, import("mongoose").DefaultSchemaOptions> & Omit<INotification, "id"> & {
3923
3923
  _id: string;
@@ -3948,7 +3948,7 @@ export declare const NotificationSchema: Schema<import("mongoose").Document<unkn
3948
3948
  } & {
3949
3949
  id: string;
3950
3950
  }> | undefined;
3951
- profileId?: import("mongoose").SchemaDefinitionProperty<string | undefined, import("mongoose").Document<unknown, {}, Omit<INotification, "id"> & {
3951
+ accountId?: import("mongoose").SchemaDefinitionProperty<string, import("mongoose").Document<unknown, {}, Omit<INotification, "id"> & {
3952
3952
  _id: string;
3953
3953
  }, {}, import("mongoose").DefaultSchemaOptions> & Omit<INotification, "id"> & {
3954
3954
  _id: string;
@@ -3979,7 +3979,7 @@ export declare const NotificationSchema: Schema<import("mongoose").Document<unkn
3979
3979
  } & {
3980
3980
  id: string;
3981
3981
  }> | undefined;
3982
- accountId?: import("mongoose").SchemaDefinitionProperty<string, import("mongoose").Document<unknown, {}, Omit<INotification, "id"> & {
3982
+ profileId?: import("mongoose").SchemaDefinitionProperty<string | undefined, import("mongoose").Document<unknown, {}, Omit<INotification, "id"> & {
3983
3983
  _id: string;
3984
3984
  }, {}, import("mongoose").DefaultSchemaOptions> & Omit<INotification, "id"> & {
3985
3985
  _id: string;
@@ -4010,7 +4010,7 @@ export declare const NotificationSchema: Schema<import("mongoose").Document<unkn
4010
4010
  } & {
4011
4011
  id: string;
4012
4012
  }> | undefined;
4013
- imageUrl?: import("mongoose").SchemaDefinitionProperty<string | undefined, import("mongoose").Document<unknown, {}, Omit<INotification, "id"> & {
4013
+ createdAt?: import("mongoose").SchemaDefinitionProperty<Date, import("mongoose").Document<unknown, {}, Omit<INotification, "id"> & {
4014
4014
  _id: string;
4015
4015
  }, {}, import("mongoose").DefaultSchemaOptions> & Omit<INotification, "id"> & {
4016
4016
  _id: string;
@@ -4041,7 +4041,7 @@ export declare const NotificationSchema: Schema<import("mongoose").Document<unkn
4041
4041
  } & {
4042
4042
  id: string;
4043
4043
  }> | undefined;
4044
- readAt?: import("mongoose").SchemaDefinitionProperty<Date | undefined, import("mongoose").Document<unknown, {}, Omit<INotification, "id"> & {
4044
+ updatedAt?: import("mongoose").SchemaDefinitionProperty<Date, import("mongoose").Document<unknown, {}, Omit<INotification, "id"> & {
4045
4045
  _id: string;
4046
4046
  }, {}, import("mongoose").DefaultSchemaOptions> & Omit<INotification, "id"> & {
4047
4047
  _id: string;
@@ -4072,7 +4072,7 @@ export declare const NotificationSchema: Schema<import("mongoose").Document<unkn
4072
4072
  } & {
4073
4073
  id: string;
4074
4074
  }> | undefined;
4075
- body?: import("mongoose").SchemaDefinitionProperty<string, import("mongoose").Document<unknown, {}, Omit<INotification, "id"> & {
4075
+ readAt?: import("mongoose").SchemaDefinitionProperty<Date | undefined, import("mongoose").Document<unknown, {}, Omit<INotification, "id"> & {
4076
4076
  _id: string;
4077
4077
  }, {}, import("mongoose").DefaultSchemaOptions> & Omit<INotification, "id"> & {
4078
4078
  _id: string;