@managesome/knotr-toolkit 0.8.18 → 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 +8 -0
  10. package/dist/constants/worker.d.ts.map +1 -1
  11. package/dist/constants/worker.js +8 -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
@@ -1217,7 +1217,7 @@ export declare const AccountSchema: Schema<import("mongoose").Document<unknown,
1217
1217
  id: string;
1218
1218
  }> | undefined;
1219
1219
  get?: import("mongoose").SchemaDefinitionProperty<{
1220
- <T extends "email" | "phone" | "status" | "settings" | "type" | "role" | "firebaseUid" | "tenantId" | "emailVerified" | "phoneVerified" | "holderName" | "holderRelation" | "maxFreeProfiles" | "additionalProfilesPurchased" | "companyId" | "subscriptionId" | "trialEndsAt" | "flagCount" | "preferredLanguage" | "notificationsEnabled" | "agreedToTermsAt" | "privacyConsentAt" | "dataStorageConsentAt" | "lastActiveAt" | "deviceTokens" | "createdAt" | "updatedAt" | "_id">(path: T, type?: any, options?: any): (Omit<IAccount, "id"> & {
1220
+ <T extends "email" | "phone" | "status" | "settings" | "type" | "role" | "createdAt" | "firebaseUid" | "tenantId" | "emailVerified" | "phoneVerified" | "holderName" | "holderRelation" | "maxFreeProfiles" | "additionalProfilesPurchased" | "companyId" | "subscriptionId" | "trialEndsAt" | "flagCount" | "preferredLanguage" | "notificationsEnabled" | "agreedToTermsAt" | "privacyConsentAt" | "dataStorageConsentAt" | "lastActiveAt" | "deviceTokens" | "updatedAt" | "_id">(path: T, type?: any, options?: any): (Omit<IAccount, "id"> & {
1221
1221
  _id: string;
1222
1222
  })[T];
1223
1223
  (path: string, type?: any, options?: any): any;
@@ -1376,7 +1376,7 @@ export declare const AccountSchema: Schema<import("mongoose").Document<unknown,
1376
1376
  id: string;
1377
1377
  }> | undefined;
1378
1378
  invalidate?: import("mongoose").SchemaDefinitionProperty<{
1379
- <T extends "email" | "phone" | "status" | "settings" | "type" | "role" | "firebaseUid" | "tenantId" | "emailVerified" | "phoneVerified" | "holderName" | "holderRelation" | "maxFreeProfiles" | "additionalProfilesPurchased" | "companyId" | "subscriptionId" | "trialEndsAt" | "flagCount" | "preferredLanguage" | "notificationsEnabled" | "agreedToTermsAt" | "privacyConsentAt" | "dataStorageConsentAt" | "lastActiveAt" | "deviceTokens" | "createdAt" | "updatedAt" | "_id">(path: T, errorMsg: string | NativeError, value?: any, kind?: string): NativeError | null;
1379
+ <T extends "email" | "phone" | "status" | "settings" | "type" | "role" | "createdAt" | "firebaseUid" | "tenantId" | "emailVerified" | "phoneVerified" | "holderName" | "holderRelation" | "maxFreeProfiles" | "additionalProfilesPurchased" | "companyId" | "subscriptionId" | "trialEndsAt" | "flagCount" | "preferredLanguage" | "notificationsEnabled" | "agreedToTermsAt" | "privacyConsentAt" | "dataStorageConsentAt" | "lastActiveAt" | "deviceTokens" | "updatedAt" | "_id">(path: T, errorMsg: string | NativeError, value?: any, kind?: string): NativeError | null;
1380
1380
  (path: string, errorMsg: string | NativeError, value?: any, kind?: string): NativeError | null;
1381
1381
  }, import("mongoose").Document<unknown, {}, Omit<IAccount, "id"> & {
1382
1382
  _id: string;
@@ -1410,7 +1410,7 @@ export declare const AccountSchema: Schema<import("mongoose").Document<unknown,
1410
1410
  id: string;
1411
1411
  }> | undefined;
1412
1412
  isDirectModified?: import("mongoose").SchemaDefinitionProperty<{
1413
- <T extends "email" | "phone" | "status" | "settings" | "type" | "role" | "firebaseUid" | "tenantId" | "emailVerified" | "phoneVerified" | "holderName" | "holderRelation" | "maxFreeProfiles" | "additionalProfilesPurchased" | "companyId" | "subscriptionId" | "trialEndsAt" | "flagCount" | "preferredLanguage" | "notificationsEnabled" | "agreedToTermsAt" | "privacyConsentAt" | "dataStorageConsentAt" | "lastActiveAt" | "deviceTokens" | "createdAt" | "updatedAt" | "_id">(path: T | T[]): boolean;
1413
+ <T extends "email" | "phone" | "status" | "settings" | "type" | "role" | "createdAt" | "firebaseUid" | "tenantId" | "emailVerified" | "phoneVerified" | "holderName" | "holderRelation" | "maxFreeProfiles" | "additionalProfilesPurchased" | "companyId" | "subscriptionId" | "trialEndsAt" | "flagCount" | "preferredLanguage" | "notificationsEnabled" | "agreedToTermsAt" | "privacyConsentAt" | "dataStorageConsentAt" | "lastActiveAt" | "deviceTokens" | "updatedAt" | "_id">(path: T | T[]): boolean;
1414
1414
  (path: string | Array<string>): boolean;
1415
1415
  }, import("mongoose").Document<unknown, {}, Omit<IAccount, "id"> & {
1416
1416
  _id: string;
@@ -1444,7 +1444,7 @@ export declare const AccountSchema: Schema<import("mongoose").Document<unknown,
1444
1444
  id: string;
1445
1445
  }> | undefined;
1446
1446
  isDirectSelected?: import("mongoose").SchemaDefinitionProperty<{
1447
- <T extends "email" | "phone" | "status" | "settings" | "type" | "role" | "firebaseUid" | "tenantId" | "emailVerified" | "phoneVerified" | "holderName" | "holderRelation" | "maxFreeProfiles" | "additionalProfilesPurchased" | "companyId" | "subscriptionId" | "trialEndsAt" | "flagCount" | "preferredLanguage" | "notificationsEnabled" | "agreedToTermsAt" | "privacyConsentAt" | "dataStorageConsentAt" | "lastActiveAt" | "deviceTokens" | "createdAt" | "updatedAt" | "_id">(path: T): boolean;
1447
+ <T extends "email" | "phone" | "status" | "settings" | "type" | "role" | "createdAt" | "firebaseUid" | "tenantId" | "emailVerified" | "phoneVerified" | "holderName" | "holderRelation" | "maxFreeProfiles" | "additionalProfilesPurchased" | "companyId" | "subscriptionId" | "trialEndsAt" | "flagCount" | "preferredLanguage" | "notificationsEnabled" | "agreedToTermsAt" | "privacyConsentAt" | "dataStorageConsentAt" | "lastActiveAt" | "deviceTokens" | "updatedAt" | "_id">(path: T): boolean;
1448
1448
  (path: string): boolean;
1449
1449
  }, import("mongoose").Document<unknown, {}, Omit<IAccount, "id"> & {
1450
1450
  _id: string;
@@ -1478,7 +1478,7 @@ export declare const AccountSchema: Schema<import("mongoose").Document<unknown,
1478
1478
  id: string;
1479
1479
  }> | undefined;
1480
1480
  isInit?: import("mongoose").SchemaDefinitionProperty<{
1481
- <T extends "email" | "phone" | "status" | "settings" | "type" | "role" | "firebaseUid" | "tenantId" | "emailVerified" | "phoneVerified" | "holderName" | "holderRelation" | "maxFreeProfiles" | "additionalProfilesPurchased" | "companyId" | "subscriptionId" | "trialEndsAt" | "flagCount" | "preferredLanguage" | "notificationsEnabled" | "agreedToTermsAt" | "privacyConsentAt" | "dataStorageConsentAt" | "lastActiveAt" | "deviceTokens" | "createdAt" | "updatedAt" | "_id">(path: T): boolean;
1481
+ <T extends "email" | "phone" | "status" | "settings" | "type" | "role" | "createdAt" | "firebaseUid" | "tenantId" | "emailVerified" | "phoneVerified" | "holderName" | "holderRelation" | "maxFreeProfiles" | "additionalProfilesPurchased" | "companyId" | "subscriptionId" | "trialEndsAt" | "flagCount" | "preferredLanguage" | "notificationsEnabled" | "agreedToTermsAt" | "privacyConsentAt" | "dataStorageConsentAt" | "lastActiveAt" | "deviceTokens" | "updatedAt" | "_id">(path: T): boolean;
1482
1482
  (path: string): boolean;
1483
1483
  }, import("mongoose").Document<unknown, {}, Omit<IAccount, "id"> & {
1484
1484
  _id: string;
@@ -1512,7 +1512,7 @@ export declare const AccountSchema: Schema<import("mongoose").Document<unknown,
1512
1512
  id: string;
1513
1513
  }> | undefined;
1514
1514
  isModified?: import("mongoose").SchemaDefinitionProperty<{
1515
- <T extends "email" | "phone" | "status" | "settings" | "type" | "role" | "firebaseUid" | "tenantId" | "emailVerified" | "phoneVerified" | "holderName" | "holderRelation" | "maxFreeProfiles" | "additionalProfilesPurchased" | "companyId" | "subscriptionId" | "trialEndsAt" | "flagCount" | "preferredLanguage" | "notificationsEnabled" | "agreedToTermsAt" | "privacyConsentAt" | "dataStorageConsentAt" | "lastActiveAt" | "deviceTokens" | "createdAt" | "updatedAt" | "_id">(path?: T | T[] | undefined, options?: {
1515
+ <T extends "email" | "phone" | "status" | "settings" | "type" | "role" | "createdAt" | "firebaseUid" | "tenantId" | "emailVerified" | "phoneVerified" | "holderName" | "holderRelation" | "maxFreeProfiles" | "additionalProfilesPurchased" | "companyId" | "subscriptionId" | "trialEndsAt" | "flagCount" | "preferredLanguage" | "notificationsEnabled" | "agreedToTermsAt" | "privacyConsentAt" | "dataStorageConsentAt" | "lastActiveAt" | "deviceTokens" | "updatedAt" | "_id">(path?: T | T[] | undefined, options?: {
1516
1516
  ignoreAtomics?: boolean;
1517
1517
  } | null): boolean;
1518
1518
  (path?: string | Array<string>, options?: {
@@ -1581,7 +1581,7 @@ export declare const AccountSchema: Schema<import("mongoose").Document<unknown,
1581
1581
  id: string;
1582
1582
  }> | undefined;
1583
1583
  isSelected?: import("mongoose").SchemaDefinitionProperty<{
1584
- <T extends "email" | "phone" | "status" | "settings" | "type" | "role" | "firebaseUid" | "tenantId" | "emailVerified" | "phoneVerified" | "holderName" | "holderRelation" | "maxFreeProfiles" | "additionalProfilesPurchased" | "companyId" | "subscriptionId" | "trialEndsAt" | "flagCount" | "preferredLanguage" | "notificationsEnabled" | "agreedToTermsAt" | "privacyConsentAt" | "dataStorageConsentAt" | "lastActiveAt" | "deviceTokens" | "createdAt" | "updatedAt" | "_id">(path: T): boolean;
1584
+ <T extends "email" | "phone" | "status" | "settings" | "type" | "role" | "createdAt" | "firebaseUid" | "tenantId" | "emailVerified" | "phoneVerified" | "holderName" | "holderRelation" | "maxFreeProfiles" | "additionalProfilesPurchased" | "companyId" | "subscriptionId" | "trialEndsAt" | "flagCount" | "preferredLanguage" | "notificationsEnabled" | "agreedToTermsAt" | "privacyConsentAt" | "dataStorageConsentAt" | "lastActiveAt" | "deviceTokens" | "updatedAt" | "_id">(path: T): boolean;
1585
1585
  (path: string): boolean;
1586
1586
  }, import("mongoose").Document<unknown, {}, Omit<IAccount, "id"> & {
1587
1587
  _id: string;
@@ -1615,7 +1615,7 @@ export declare const AccountSchema: Schema<import("mongoose").Document<unknown,
1615
1615
  id: string;
1616
1616
  }> | undefined;
1617
1617
  markModified?: import("mongoose").SchemaDefinitionProperty<{
1618
- <T extends "email" | "phone" | "status" | "settings" | "type" | "role" | "firebaseUid" | "tenantId" | "emailVerified" | "phoneVerified" | "holderName" | "holderRelation" | "maxFreeProfiles" | "additionalProfilesPurchased" | "companyId" | "subscriptionId" | "trialEndsAt" | "flagCount" | "preferredLanguage" | "notificationsEnabled" | "agreedToTermsAt" | "privacyConsentAt" | "dataStorageConsentAt" | "lastActiveAt" | "deviceTokens" | "createdAt" | "updatedAt" | "_id">(path: T, scope?: any): void;
1618
+ <T extends "email" | "phone" | "status" | "settings" | "type" | "role" | "createdAt" | "firebaseUid" | "tenantId" | "emailVerified" | "phoneVerified" | "holderName" | "holderRelation" | "maxFreeProfiles" | "additionalProfilesPurchased" | "companyId" | "subscriptionId" | "trialEndsAt" | "flagCount" | "preferredLanguage" | "notificationsEnabled" | "agreedToTermsAt" | "privacyConsentAt" | "dataStorageConsentAt" | "lastActiveAt" | "deviceTokens" | "updatedAt" | "_id">(path: T, scope?: any): void;
1619
1619
  (path: string, scope?: any): void;
1620
1620
  }, import("mongoose").Document<unknown, {}, Omit<IAccount, "id"> & {
1621
1621
  _id: string;
@@ -2054,7 +2054,7 @@ export declare const AccountSchema: Schema<import("mongoose").Document<unknown,
2054
2054
  id: string;
2055
2055
  }> | undefined;
2056
2056
  set?: import("mongoose").SchemaDefinitionProperty<{
2057
- <T extends "email" | "phone" | "status" | "settings" | "type" | "role" | "firebaseUid" | "tenantId" | "emailVerified" | "phoneVerified" | "holderName" | "holderRelation" | "maxFreeProfiles" | "additionalProfilesPurchased" | "companyId" | "subscriptionId" | "trialEndsAt" | "flagCount" | "preferredLanguage" | "notificationsEnabled" | "agreedToTermsAt" | "privacyConsentAt" | "dataStorageConsentAt" | "lastActiveAt" | "deviceTokens" | "createdAt" | "updatedAt" | "_id">(path: T, val: (Omit<IAccount, "id"> & {
2057
+ <T extends "email" | "phone" | "status" | "settings" | "type" | "role" | "createdAt" | "firebaseUid" | "tenantId" | "emailVerified" | "phoneVerified" | "holderName" | "holderRelation" | "maxFreeProfiles" | "additionalProfilesPurchased" | "companyId" | "subscriptionId" | "trialEndsAt" | "flagCount" | "preferredLanguage" | "notificationsEnabled" | "agreedToTermsAt" | "privacyConsentAt" | "dataStorageConsentAt" | "lastActiveAt" | "deviceTokens" | "updatedAt" | "_id">(path: T, val: (Omit<IAccount, "id"> & {
2058
2058
  _id: string;
2059
2059
  })[T], type: any, options?: import("mongoose").DocumentSetOptions): import("mongoose").Document<unknown, {}, Omit<IAccount, "id"> & {
2060
2060
  _id: string;
@@ -2165,6 +2165,7 @@ export declare const AccountSchema: Schema<import("mongoose").Document<unknown,
2165
2165
  } | undefined;
2166
2166
  type: import("../index.js").AccountType;
2167
2167
  role?: string | undefined;
2168
+ createdAt: Date;
2168
2169
  firebaseUid: string;
2169
2170
  tenantId?: string | undefined;
2170
2171
  emailVerified: boolean;
@@ -2184,7 +2185,6 @@ export declare const AccountSchema: Schema<import("mongoose").Document<unknown,
2184
2185
  dataStorageConsentAt: Date;
2185
2186
  lastActiveAt: Date;
2186
2187
  deviceTokens: string[];
2187
- createdAt: Date;
2188
2188
  updatedAt: Date;
2189
2189
  _id: string;
2190
2190
  };
@@ -2220,6 +2220,7 @@ export declare const AccountSchema: Schema<import("mongoose").Document<unknown,
2220
2220
  } | undefined;
2221
2221
  type: import("../index.js").AccountType;
2222
2222
  role?: string | undefined;
2223
+ createdAt: Date;
2223
2224
  firebaseUid: string;
2224
2225
  tenantId?: string | undefined;
2225
2226
  emailVerified: boolean;
@@ -2239,7 +2240,6 @@ export declare const AccountSchema: Schema<import("mongoose").Document<unknown,
2239
2240
  dataStorageConsentAt: Date;
2240
2241
  lastActiveAt: Date;
2241
2242
  deviceTokens: string[];
2242
- createdAt: Date;
2243
2243
  updatedAt: Date;
2244
2244
  _id: string;
2245
2245
  };
@@ -2295,6 +2295,7 @@ export declare const AccountSchema: Schema<import("mongoose").Document<unknown,
2295
2295
  } | undefined;
2296
2296
  type: import("../index.js").AccountType;
2297
2297
  role?: string | undefined;
2298
+ createdAt: Date;
2298
2299
  firebaseUid: string;
2299
2300
  tenantId?: string | undefined;
2300
2301
  emailVerified: boolean;
@@ -2314,7 +2315,6 @@ export declare const AccountSchema: Schema<import("mongoose").Document<unknown,
2314
2315
  dataStorageConsentAt: Date;
2315
2316
  lastActiveAt: Date;
2316
2317
  deviceTokens: string[];
2317
- createdAt: Date;
2318
2318
  updatedAt: Date;
2319
2319
  _id: string;
2320
2320
  };
@@ -2350,6 +2350,7 @@ export declare const AccountSchema: Schema<import("mongoose").Document<unknown,
2350
2350
  } | undefined;
2351
2351
  type: import("../index.js").AccountType;
2352
2352
  role?: string | undefined;
2353
+ createdAt: Date;
2353
2354
  firebaseUid: string;
2354
2355
  tenantId?: string | undefined;
2355
2356
  emailVerified: boolean;
@@ -2369,7 +2370,6 @@ export declare const AccountSchema: Schema<import("mongoose").Document<unknown,
2369
2370
  dataStorageConsentAt: Date;
2370
2371
  lastActiveAt: Date;
2371
2372
  deviceTokens: string[];
2372
- createdAt: Date;
2373
2373
  updatedAt: Date;
2374
2374
  _id: string;
2375
2375
  };
@@ -2425,6 +2425,7 @@ export declare const AccountSchema: Schema<import("mongoose").Document<unknown,
2425
2425
  } | undefined;
2426
2426
  type: import("../index.js").AccountType;
2427
2427
  role?: string | undefined;
2428
+ createdAt: Date;
2428
2429
  firebaseUid: string;
2429
2430
  tenantId?: string | undefined;
2430
2431
  emailVerified: boolean;
@@ -2444,7 +2445,6 @@ export declare const AccountSchema: Schema<import("mongoose").Document<unknown,
2444
2445
  dataStorageConsentAt: Date;
2445
2446
  lastActiveAt: Date;
2446
2447
  deviceTokens: string[];
2447
- createdAt: Date;
2448
2448
  updatedAt: Date;
2449
2449
  _id: string;
2450
2450
  };
@@ -2480,6 +2480,7 @@ export declare const AccountSchema: Schema<import("mongoose").Document<unknown,
2480
2480
  } | undefined;
2481
2481
  type: import("../index.js").AccountType;
2482
2482
  role?: string | undefined;
2483
+ createdAt: Date;
2483
2484
  firebaseUid: string;
2484
2485
  tenantId?: string | undefined;
2485
2486
  emailVerified: boolean;
@@ -2499,7 +2500,6 @@ export declare const AccountSchema: Schema<import("mongoose").Document<unknown,
2499
2500
  dataStorageConsentAt: Date;
2500
2501
  lastActiveAt: Date;
2501
2502
  deviceTokens: string[];
2502
- createdAt: Date;
2503
2503
  updatedAt: Date;
2504
2504
  _id: string;
2505
2505
  };
@@ -2555,6 +2555,7 @@ export declare const AccountSchema: Schema<import("mongoose").Document<unknown,
2555
2555
  } | undefined;
2556
2556
  type: import("../index.js").AccountType;
2557
2557
  role?: string | undefined;
2558
+ createdAt: Date;
2558
2559
  firebaseUid: string;
2559
2560
  tenantId?: string | undefined;
2560
2561
  emailVerified: boolean;
@@ -2574,7 +2575,6 @@ export declare const AccountSchema: Schema<import("mongoose").Document<unknown,
2574
2575
  dataStorageConsentAt: Date;
2575
2576
  lastActiveAt: Date;
2576
2577
  deviceTokens: string[];
2577
- createdAt: Date;
2578
2578
  updatedAt: Date;
2579
2579
  _id: string;
2580
2580
  };
@@ -2610,6 +2610,7 @@ export declare const AccountSchema: Schema<import("mongoose").Document<unknown,
2610
2610
  } | undefined;
2611
2611
  type: import("../index.js").AccountType;
2612
2612
  role?: string | undefined;
2613
+ createdAt: Date;
2613
2614
  firebaseUid: string;
2614
2615
  tenantId?: string | undefined;
2615
2616
  emailVerified: boolean;
@@ -2629,7 +2630,6 @@ export declare const AccountSchema: Schema<import("mongoose").Document<unknown,
2629
2630
  dataStorageConsentAt: Date;
2630
2631
  lastActiveAt: Date;
2631
2632
  deviceTokens: string[];
2632
- createdAt: Date;
2633
2633
  updatedAt: Date;
2634
2634
  _id: string;
2635
2635
  };
@@ -2684,6 +2684,7 @@ export declare const AccountSchema: Schema<import("mongoose").Document<unknown,
2684
2684
  } | undefined;
2685
2685
  type: import("../index.js").AccountType;
2686
2686
  role?: string | undefined;
2687
+ createdAt: Date;
2687
2688
  firebaseUid: string;
2688
2689
  tenantId?: string | undefined;
2689
2690
  emailVerified: boolean;
@@ -2703,7 +2704,6 @@ export declare const AccountSchema: Schema<import("mongoose").Document<unknown,
2703
2704
  dataStorageConsentAt: Date;
2704
2705
  lastActiveAt: Date;
2705
2706
  deviceTokens: string[];
2706
- createdAt: Date;
2707
2707
  updatedAt: Date;
2708
2708
  _id: string;
2709
2709
  };
@@ -2738,6 +2738,7 @@ export declare const AccountSchema: Schema<import("mongoose").Document<unknown,
2738
2738
  } | undefined;
2739
2739
  type: import("../index.js").AccountType;
2740
2740
  role?: string | undefined;
2741
+ createdAt: Date;
2741
2742
  firebaseUid: string;
2742
2743
  tenantId?: string | undefined;
2743
2744
  emailVerified: boolean;
@@ -2757,7 +2758,6 @@ export declare const AccountSchema: Schema<import("mongoose").Document<unknown,
2757
2758
  dataStorageConsentAt: Date;
2758
2759
  lastActiveAt: Date;
2759
2760
  deviceTokens: string[];
2760
- createdAt: Date;
2761
2761
  updatedAt: Date;
2762
2762
  _id: string;
2763
2763
  };
@@ -2792,6 +2792,7 @@ export declare const AccountSchema: Schema<import("mongoose").Document<unknown,
2792
2792
  } | undefined;
2793
2793
  type: import("../index.js").AccountType;
2794
2794
  role?: string | undefined;
2795
+ createdAt: Date;
2795
2796
  firebaseUid: string;
2796
2797
  tenantId?: string | undefined;
2797
2798
  emailVerified: boolean;
@@ -2811,7 +2812,6 @@ export declare const AccountSchema: Schema<import("mongoose").Document<unknown,
2811
2812
  dataStorageConsentAt: Date;
2812
2813
  lastActiveAt: Date;
2813
2814
  deviceTokens: string[];
2814
- createdAt: Date;
2815
2815
  updatedAt: Date;
2816
2816
  _id: string;
2817
2817
  };
@@ -2845,6 +2845,7 @@ export declare const AccountSchema: Schema<import("mongoose").Document<unknown,
2845
2845
  } | undefined;
2846
2846
  type: import("../index.js").AccountType;
2847
2847
  role?: string | undefined;
2848
+ createdAt: Date;
2848
2849
  firebaseUid: string;
2849
2850
  tenantId?: string | undefined;
2850
2851
  emailVerified: boolean;
@@ -2864,7 +2865,6 @@ export declare const AccountSchema: Schema<import("mongoose").Document<unknown,
2864
2865
  dataStorageConsentAt: Date;
2865
2866
  lastActiveAt: Date;
2866
2867
  deviceTokens: string[];
2867
- createdAt: Date;
2868
2868
  updatedAt: Date;
2869
2869
  _id: string;
2870
2870
  };
@@ -2916,6 +2916,7 @@ export declare const AccountSchema: Schema<import("mongoose").Document<unknown,
2916
2916
  } | undefined;
2917
2917
  type: import("../index.js").AccountType;
2918
2918
  role?: string | undefined;
2919
+ createdAt: Date;
2919
2920
  firebaseUid: string;
2920
2921
  tenantId?: string | undefined;
2921
2922
  emailVerified: boolean;
@@ -2935,7 +2936,6 @@ export declare const AccountSchema: Schema<import("mongoose").Document<unknown,
2935
2936
  dataStorageConsentAt: Date;
2936
2937
  lastActiveAt: Date;
2937
2938
  deviceTokens: string[];
2938
- createdAt: Date;
2939
2939
  updatedAt: Date;
2940
2940
  _id: string;
2941
2941
  };
@@ -2972,6 +2972,7 @@ export declare const AccountSchema: Schema<import("mongoose").Document<unknown,
2972
2972
  } | undefined;
2973
2973
  type: import("../index.js").AccountType;
2974
2974
  role?: string | undefined;
2975
+ createdAt: Date;
2975
2976
  firebaseUid: string;
2976
2977
  tenantId?: string | undefined;
2977
2978
  emailVerified: boolean;
@@ -2991,7 +2992,6 @@ export declare const AccountSchema: Schema<import("mongoose").Document<unknown,
2991
2992
  dataStorageConsentAt: Date;
2992
2993
  lastActiveAt: Date;
2993
2994
  deviceTokens: string[];
2994
- createdAt: Date;
2995
2995
  updatedAt: Date;
2996
2996
  _id: string;
2997
2997
  };
@@ -3036,6 +3036,7 @@ export declare const AccountSchema: Schema<import("mongoose").Document<unknown,
3036
3036
  } | undefined;
3037
3037
  type: import("../index.js").AccountType;
3038
3038
  role?: string | undefined;
3039
+ createdAt: Date;
3039
3040
  firebaseUid: string;
3040
3041
  tenantId?: string | undefined;
3041
3042
  emailVerified: boolean;
@@ -3055,7 +3056,6 @@ export declare const AccountSchema: Schema<import("mongoose").Document<unknown,
3055
3056
  dataStorageConsentAt: Date;
3056
3057
  lastActiveAt: Date;
3057
3058
  deviceTokens: string[];
3058
- createdAt: Date;
3059
3059
  updatedAt: Date;
3060
3060
  _id: string;
3061
3061
  };
@@ -3099,6 +3099,7 @@ export declare const AccountSchema: Schema<import("mongoose").Document<unknown,
3099
3099
  } | undefined;
3100
3100
  type: import("../index.js").AccountType;
3101
3101
  role?: string | undefined;
3102
+ createdAt: Date;
3102
3103
  firebaseUid: string;
3103
3104
  tenantId?: string | undefined;
3104
3105
  emailVerified: boolean;
@@ -3118,7 +3119,6 @@ export declare const AccountSchema: Schema<import("mongoose").Document<unknown,
3118
3119
  dataStorageConsentAt: Date;
3119
3120
  lastActiveAt: Date;
3120
3121
  deviceTokens: string[];
3121
- createdAt: Date;
3122
3122
  updatedAt: Date;
3123
3123
  _id: string;
3124
3124
  };
@@ -3153,6 +3153,7 @@ export declare const AccountSchema: Schema<import("mongoose").Document<unknown,
3153
3153
  } | undefined;
3154
3154
  type: import("../index.js").AccountType;
3155
3155
  role?: string | undefined;
3156
+ createdAt: Date;
3156
3157
  firebaseUid: string;
3157
3158
  tenantId?: string | undefined;
3158
3159
  emailVerified: boolean;
@@ -3172,7 +3173,6 @@ export declare const AccountSchema: Schema<import("mongoose").Document<unknown,
3172
3173
  dataStorageConsentAt: Date;
3173
3174
  lastActiveAt: Date;
3174
3175
  deviceTokens: string[];
3175
- createdAt: Date;
3176
3176
  updatedAt: Date;
3177
3177
  _id: string;
3178
3178
  };
@@ -3273,6 +3273,7 @@ export declare const AccountSchema: Schema<import("mongoose").Document<unknown,
3273
3273
  } | undefined;
3274
3274
  type: import("../index.js").AccountType;
3275
3275
  role?: string | undefined;
3276
+ createdAt: Date;
3276
3277
  firebaseUid: string;
3277
3278
  tenantId?: string | undefined;
3278
3279
  emailVerified: boolean;
@@ -3292,7 +3293,6 @@ export declare const AccountSchema: Schema<import("mongoose").Document<unknown,
3292
3293
  dataStorageConsentAt: Date;
3293
3294
  lastActiveAt: Date;
3294
3295
  deviceTokens: string[];
3295
- createdAt: Date;
3296
3296
  updatedAt: Date;
3297
3297
  _id: string;
3298
3298
  };
@@ -3328,6 +3328,7 @@ export declare const AccountSchema: Schema<import("mongoose").Document<unknown,
3328
3328
  } | undefined;
3329
3329
  type: import("../index.js").AccountType;
3330
3330
  role?: string | undefined;
3331
+ createdAt: Date;
3331
3332
  firebaseUid: string;
3332
3333
  tenantId?: string | undefined;
3333
3334
  emailVerified: boolean;
@@ -3347,7 +3348,6 @@ export declare const AccountSchema: Schema<import("mongoose").Document<unknown,
3347
3348
  dataStorageConsentAt: Date;
3348
3349
  lastActiveAt: Date;
3349
3350
  deviceTokens: string[];
3350
- createdAt: Date;
3351
3351
  updatedAt: Date;
3352
3352
  _id: string;
3353
3353
  };
@@ -3403,6 +3403,7 @@ export declare const AccountSchema: Schema<import("mongoose").Document<unknown,
3403
3403
  } | undefined;
3404
3404
  type: import("../index.js").AccountType;
3405
3405
  role?: string | undefined;
3406
+ createdAt: Date;
3406
3407
  firebaseUid: string;
3407
3408
  tenantId?: string | undefined;
3408
3409
  emailVerified: boolean;
@@ -3422,7 +3423,6 @@ export declare const AccountSchema: Schema<import("mongoose").Document<unknown,
3422
3423
  dataStorageConsentAt: Date;
3423
3424
  lastActiveAt: Date;
3424
3425
  deviceTokens: string[];
3425
- createdAt: Date;
3426
3426
  updatedAt: Date;
3427
3427
  _id: string;
3428
3428
  };
@@ -3458,6 +3458,7 @@ export declare const AccountSchema: Schema<import("mongoose").Document<unknown,
3458
3458
  } | undefined;
3459
3459
  type: import("../index.js").AccountType;
3460
3460
  role?: string | undefined;
3461
+ createdAt: Date;
3461
3462
  firebaseUid: string;
3462
3463
  tenantId?: string | undefined;
3463
3464
  emailVerified: boolean;
@@ -3477,7 +3478,6 @@ export declare const AccountSchema: Schema<import("mongoose").Document<unknown,
3477
3478
  dataStorageConsentAt: Date;
3478
3479
  lastActiveAt: Date;
3479
3480
  deviceTokens: string[];
3480
- createdAt: Date;
3481
3481
  updatedAt: Date;
3482
3482
  _id: string;
3483
3483
  };
@@ -3533,6 +3533,7 @@ export declare const AccountSchema: Schema<import("mongoose").Document<unknown,
3533
3533
  } | undefined;
3534
3534
  type: import("../index.js").AccountType;
3535
3535
  role?: string | undefined;
3536
+ createdAt: Date;
3536
3537
  firebaseUid: string;
3537
3538
  tenantId?: string | undefined;
3538
3539
  emailVerified: boolean;
@@ -3552,7 +3553,6 @@ export declare const AccountSchema: Schema<import("mongoose").Document<unknown,
3552
3553
  dataStorageConsentAt: Date;
3553
3554
  lastActiveAt: Date;
3554
3555
  deviceTokens: string[];
3555
- createdAt: Date;
3556
3556
  updatedAt: Date;
3557
3557
  _id: string;
3558
3558
  };
@@ -3588,6 +3588,7 @@ export declare const AccountSchema: Schema<import("mongoose").Document<unknown,
3588
3588
  } | undefined;
3589
3589
  type: import("../index.js").AccountType;
3590
3590
  role?: string | undefined;
3591
+ createdAt: Date;
3591
3592
  firebaseUid: string;
3592
3593
  tenantId?: string | undefined;
3593
3594
  emailVerified: boolean;
@@ -3607,7 +3608,6 @@ export declare const AccountSchema: Schema<import("mongoose").Document<unknown,
3607
3608
  dataStorageConsentAt: Date;
3608
3609
  lastActiveAt: Date;
3609
3610
  deviceTokens: string[];
3610
- createdAt: Date;
3611
3611
  updatedAt: Date;
3612
3612
  _id: string;
3613
3613
  };
@@ -3663,6 +3663,7 @@ export declare const AccountSchema: Schema<import("mongoose").Document<unknown,
3663
3663
  } | undefined;
3664
3664
  type: import("../index.js").AccountType;
3665
3665
  role?: string | undefined;
3666
+ createdAt: Date;
3666
3667
  firebaseUid: string;
3667
3668
  tenantId?: string | undefined;
3668
3669
  emailVerified: boolean;
@@ -3682,7 +3683,6 @@ export declare const AccountSchema: Schema<import("mongoose").Document<unknown,
3682
3683
  dataStorageConsentAt: Date;
3683
3684
  lastActiveAt: Date;
3684
3685
  deviceTokens: string[];
3685
- createdAt: Date;
3686
3686
  updatedAt: Date;
3687
3687
  _id: string;
3688
3688
  };
@@ -3718,6 +3718,7 @@ export declare const AccountSchema: Schema<import("mongoose").Document<unknown,
3718
3718
  } | undefined;
3719
3719
  type: import("../index.js").AccountType;
3720
3720
  role?: string | undefined;
3721
+ createdAt: Date;
3721
3722
  firebaseUid: string;
3722
3723
  tenantId?: string | undefined;
3723
3724
  emailVerified: boolean;
@@ -3737,7 +3738,6 @@ export declare const AccountSchema: Schema<import("mongoose").Document<unknown,
3737
3738
  dataStorageConsentAt: Date;
3738
3739
  lastActiveAt: Date;
3739
3740
  deviceTokens: string[];
3740
- createdAt: Date;
3741
3741
  updatedAt: Date;
3742
3742
  _id: string;
3743
3743
  };
@@ -3792,6 +3792,7 @@ export declare const AccountSchema: Schema<import("mongoose").Document<unknown,
3792
3792
  } | undefined;
3793
3793
  type: import("../index.js").AccountType;
3794
3794
  role?: string | undefined;
3795
+ createdAt: Date;
3795
3796
  firebaseUid: string;
3796
3797
  tenantId?: string | undefined;
3797
3798
  emailVerified: boolean;
@@ -3811,7 +3812,6 @@ export declare const AccountSchema: Schema<import("mongoose").Document<unknown,
3811
3812
  dataStorageConsentAt: Date;
3812
3813
  lastActiveAt: Date;
3813
3814
  deviceTokens: string[];
3814
- createdAt: Date;
3815
3815
  updatedAt: Date;
3816
3816
  _id: string;
3817
3817
  };
@@ -3846,6 +3846,7 @@ export declare const AccountSchema: Schema<import("mongoose").Document<unknown,
3846
3846
  } | undefined;
3847
3847
  type: import("../index.js").AccountType;
3848
3848
  role?: string | undefined;
3849
+ createdAt: Date;
3849
3850
  firebaseUid: string;
3850
3851
  tenantId?: string | undefined;
3851
3852
  emailVerified: boolean;
@@ -3865,7 +3866,6 @@ export declare const AccountSchema: Schema<import("mongoose").Document<unknown,
3865
3866
  dataStorageConsentAt: Date;
3866
3867
  lastActiveAt: Date;
3867
3868
  deviceTokens: string[];
3868
- createdAt: Date;
3869
3869
  updatedAt: Date;
3870
3870
  _id: string;
3871
3871
  };
@@ -3900,6 +3900,7 @@ export declare const AccountSchema: Schema<import("mongoose").Document<unknown,
3900
3900
  } | undefined;
3901
3901
  type: import("../index.js").AccountType;
3902
3902
  role?: string | undefined;
3903
+ createdAt: Date;
3903
3904
  firebaseUid: string;
3904
3905
  tenantId?: string | undefined;
3905
3906
  emailVerified: boolean;
@@ -3919,7 +3920,6 @@ export declare const AccountSchema: Schema<import("mongoose").Document<unknown,
3919
3920
  dataStorageConsentAt: Date;
3920
3921
  lastActiveAt: Date;
3921
3922
  deviceTokens: string[];
3922
- createdAt: Date;
3923
3923
  updatedAt: Date;
3924
3924
  _id: string;
3925
3925
  };
@@ -3953,6 +3953,7 @@ export declare const AccountSchema: Schema<import("mongoose").Document<unknown,
3953
3953
  } | undefined;
3954
3954
  type: import("../index.js").AccountType;
3955
3955
  role?: string | undefined;
3956
+ createdAt: Date;
3956
3957
  firebaseUid: string;
3957
3958
  tenantId?: string | undefined;
3958
3959
  emailVerified: boolean;
@@ -3972,7 +3973,6 @@ export declare const AccountSchema: Schema<import("mongoose").Document<unknown,
3972
3973
  dataStorageConsentAt: Date;
3973
3974
  lastActiveAt: Date;
3974
3975
  deviceTokens: string[];
3975
- createdAt: Date;
3976
3976
  updatedAt: Date;
3977
3977
  _id: string;
3978
3978
  };
@@ -4024,6 +4024,7 @@ export declare const AccountSchema: Schema<import("mongoose").Document<unknown,
4024
4024
  } | undefined;
4025
4025
  type: import("../index.js").AccountType;
4026
4026
  role?: string | undefined;
4027
+ createdAt: Date;
4027
4028
  firebaseUid: string;
4028
4029
  tenantId?: string | undefined;
4029
4030
  emailVerified: boolean;
@@ -4043,7 +4044,6 @@ export declare const AccountSchema: Schema<import("mongoose").Document<unknown,
4043
4044
  dataStorageConsentAt: Date;
4044
4045
  lastActiveAt: Date;
4045
4046
  deviceTokens: string[];
4046
- createdAt: Date;
4047
4047
  updatedAt: Date;
4048
4048
  _id: string;
4049
4049
  };
@@ -4080,6 +4080,7 @@ export declare const AccountSchema: Schema<import("mongoose").Document<unknown,
4080
4080
  } | undefined;
4081
4081
  type: import("../index.js").AccountType;
4082
4082
  role?: string | undefined;
4083
+ createdAt: Date;
4083
4084
  firebaseUid: string;
4084
4085
  tenantId?: string | undefined;
4085
4086
  emailVerified: boolean;
@@ -4099,7 +4100,6 @@ export declare const AccountSchema: Schema<import("mongoose").Document<unknown,
4099
4100
  dataStorageConsentAt: Date;
4100
4101
  lastActiveAt: Date;
4101
4102
  deviceTokens: string[];
4102
- createdAt: Date;
4103
4103
  updatedAt: Date;
4104
4104
  _id: string;
4105
4105
  };
@@ -4144,6 +4144,7 @@ export declare const AccountSchema: Schema<import("mongoose").Document<unknown,
4144
4144
  } | undefined;
4145
4145
  type: import("../index.js").AccountType;
4146
4146
  role?: string | undefined;
4147
+ createdAt: Date;
4147
4148
  firebaseUid: string;
4148
4149
  tenantId?: string | undefined;
4149
4150
  emailVerified: boolean;
@@ -4163,7 +4164,6 @@ export declare const AccountSchema: Schema<import("mongoose").Document<unknown,
4163
4164
  dataStorageConsentAt: Date;
4164
4165
  lastActiveAt: Date;
4165
4166
  deviceTokens: string[];
4166
- createdAt: Date;
4167
4167
  updatedAt: Date;
4168
4168
  _id: string;
4169
4169
  };
@@ -4207,6 +4207,7 @@ export declare const AccountSchema: Schema<import("mongoose").Document<unknown,
4207
4207
  } | undefined;
4208
4208
  type: import("../index.js").AccountType;
4209
4209
  role?: string | undefined;
4210
+ createdAt: Date;
4210
4211
  firebaseUid: string;
4211
4212
  tenantId?: string | undefined;
4212
4213
  emailVerified: boolean;
@@ -4226,7 +4227,6 @@ export declare const AccountSchema: Schema<import("mongoose").Document<unknown,
4226
4227
  dataStorageConsentAt: Date;
4227
4228
  lastActiveAt: Date;
4228
4229
  deviceTokens: string[];
4229
- createdAt: Date;
4230
4230
  updatedAt: Date;
4231
4231
  _id: string;
4232
4232
  };
@@ -4261,6 +4261,7 @@ export declare const AccountSchema: Schema<import("mongoose").Document<unknown,
4261
4261
  } | undefined;
4262
4262
  type: import("../index.js").AccountType;
4263
4263
  role?: string | undefined;
4264
+ createdAt: Date;
4264
4265
  firebaseUid: string;
4265
4266
  tenantId?: string | undefined;
4266
4267
  emailVerified: boolean;
@@ -4280,7 +4281,6 @@ export declare const AccountSchema: Schema<import("mongoose").Document<unknown,
4280
4281
  dataStorageConsentAt: Date;
4281
4282
  lastActiveAt: Date;
4282
4283
  deviceTokens: string[];
4283
- createdAt: Date;
4284
4284
  updatedAt: Date;
4285
4285
  _id: string;
4286
4286
  };
@@ -4348,7 +4348,7 @@ export declare const AccountSchema: Schema<import("mongoose").Document<unknown,
4348
4348
  id: string;
4349
4349
  }> | undefined;
4350
4350
  unmarkModified?: import("mongoose").SchemaDefinitionProperty<{
4351
- <T extends "email" | "phone" | "status" | "settings" | "type" | "role" | "firebaseUid" | "tenantId" | "emailVerified" | "phoneVerified" | "holderName" | "holderRelation" | "maxFreeProfiles" | "additionalProfilesPurchased" | "companyId" | "subscriptionId" | "trialEndsAt" | "flagCount" | "preferredLanguage" | "notificationsEnabled" | "agreedToTermsAt" | "privacyConsentAt" | "dataStorageConsentAt" | "lastActiveAt" | "deviceTokens" | "createdAt" | "updatedAt" | "_id">(path: T): void;
4351
+ <T extends "email" | "phone" | "status" | "settings" | "type" | "role" | "createdAt" | "firebaseUid" | "tenantId" | "emailVerified" | "phoneVerified" | "holderName" | "holderRelation" | "maxFreeProfiles" | "additionalProfilesPurchased" | "companyId" | "subscriptionId" | "trialEndsAt" | "flagCount" | "preferredLanguage" | "notificationsEnabled" | "agreedToTermsAt" | "privacyConsentAt" | "dataStorageConsentAt" | "lastActiveAt" | "deviceTokens" | "updatedAt" | "_id">(path: T): void;
4352
4352
  (path: string): void;
4353
4353
  }, import("mongoose").Document<unknown, {}, Omit<IAccount, "id"> & {
4354
4354
  _id: string;
@@ -4433,7 +4433,7 @@ export declare const AccountSchema: Schema<import("mongoose").Document<unknown,
4433
4433
  id: string;
4434
4434
  }> | undefined;
4435
4435
  validate?: import("mongoose").SchemaDefinitionProperty<{
4436
- <T extends "email" | "phone" | "status" | "settings" | "type" | "role" | "firebaseUid" | "tenantId" | "emailVerified" | "phoneVerified" | "holderName" | "holderRelation" | "maxFreeProfiles" | "additionalProfilesPurchased" | "companyId" | "subscriptionId" | "trialEndsAt" | "flagCount" | "preferredLanguage" | "notificationsEnabled" | "agreedToTermsAt" | "privacyConsentAt" | "dataStorageConsentAt" | "lastActiveAt" | "deviceTokens" | "createdAt" | "updatedAt" | "_id">(pathsToValidate?: T | T[] | undefined, options?: import("mongoose").AnyObject): Promise<void>;
4436
+ <T extends "email" | "phone" | "status" | "settings" | "type" | "role" | "createdAt" | "firebaseUid" | "tenantId" | "emailVerified" | "phoneVerified" | "holderName" | "holderRelation" | "maxFreeProfiles" | "additionalProfilesPurchased" | "companyId" | "subscriptionId" | "trialEndsAt" | "flagCount" | "preferredLanguage" | "notificationsEnabled" | "agreedToTermsAt" | "privacyConsentAt" | "dataStorageConsentAt" | "lastActiveAt" | "deviceTokens" | "updatedAt" | "_id">(pathsToValidate?: T | T[] | undefined, options?: import("mongoose").AnyObject): Promise<void>;
4437
4437
  (pathsToValidate?: import("mongoose").pathsToValidate, options?: import("mongoose").AnyObject): Promise<void>;
4438
4438
  (options: {
4439
4439
  pathsToSkip?: import("mongoose").pathsToSkip;
@@ -4474,7 +4474,7 @@ export declare const AccountSchema: Schema<import("mongoose").Document<unknown,
4474
4474
  pathsToSkip?: import("mongoose").pathsToSkip;
4475
4475
  [k: string]: any;
4476
4476
  }): import("mongoose").Error.ValidationError | null;
4477
- <T extends "email" | "phone" | "status" | "settings" | "type" | "role" | "firebaseUid" | "tenantId" | "emailVerified" | "phoneVerified" | "holderName" | "holderRelation" | "maxFreeProfiles" | "additionalProfilesPurchased" | "companyId" | "subscriptionId" | "trialEndsAt" | "flagCount" | "preferredLanguage" | "notificationsEnabled" | "agreedToTermsAt" | "privacyConsentAt" | "dataStorageConsentAt" | "lastActiveAt" | "deviceTokens" | "createdAt" | "updatedAt" | "_id">(pathsToValidate?: T | T[] | undefined, options?: import("mongoose").AnyObject): import("mongoose").Error.ValidationError | null;
4477
+ <T extends "email" | "phone" | "status" | "settings" | "type" | "role" | "createdAt" | "firebaseUid" | "tenantId" | "emailVerified" | "phoneVerified" | "holderName" | "holderRelation" | "maxFreeProfiles" | "additionalProfilesPurchased" | "companyId" | "subscriptionId" | "trialEndsAt" | "flagCount" | "preferredLanguage" | "notificationsEnabled" | "agreedToTermsAt" | "privacyConsentAt" | "dataStorageConsentAt" | "lastActiveAt" | "deviceTokens" | "updatedAt" | "_id">(pathsToValidate?: T | T[] | undefined, options?: import("mongoose").AnyObject): import("mongoose").Error.ValidationError | null;
4478
4478
  (pathsToValidate?: import("mongoose").pathsToValidate, options?: import("mongoose").AnyObject): import("mongoose").Error.ValidationError | null;
4479
4479
  }, import("mongoose").Document<unknown, {}, Omit<IAccount, "id"> & {
4480
4480
  _id: string;
@@ -4693,7 +4693,7 @@ export declare const AccountSchema: Schema<import("mongoose").Document<unknown,
4693
4693
  } & {
4694
4694
  id: string;
4695
4695
  }> | undefined;
4696
- firebaseUid?: import("mongoose").SchemaDefinitionProperty<string, import("mongoose").Document<unknown, {}, Omit<IAccount, "id"> & {
4696
+ createdAt?: import("mongoose").SchemaDefinitionProperty<Date, import("mongoose").Document<unknown, {}, Omit<IAccount, "id"> & {
4697
4697
  _id: string;
4698
4698
  }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IAccount, "id"> & {
4699
4699
  _id: string;
@@ -4724,7 +4724,7 @@ export declare const AccountSchema: Schema<import("mongoose").Document<unknown,
4724
4724
  } & {
4725
4725
  id: string;
4726
4726
  }> | undefined;
4727
- tenantId?: import("mongoose").SchemaDefinitionProperty<string | undefined, import("mongoose").Document<unknown, {}, Omit<IAccount, "id"> & {
4727
+ firebaseUid?: import("mongoose").SchemaDefinitionProperty<string, import("mongoose").Document<unknown, {}, Omit<IAccount, "id"> & {
4728
4728
  _id: string;
4729
4729
  }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IAccount, "id"> & {
4730
4730
  _id: string;
@@ -4755,7 +4755,7 @@ export declare const AccountSchema: Schema<import("mongoose").Document<unknown,
4755
4755
  } & {
4756
4756
  id: string;
4757
4757
  }> | undefined;
4758
- emailVerified?: import("mongoose").SchemaDefinitionProperty<boolean, import("mongoose").Document<unknown, {}, Omit<IAccount, "id"> & {
4758
+ tenantId?: import("mongoose").SchemaDefinitionProperty<string | undefined, import("mongoose").Document<unknown, {}, Omit<IAccount, "id"> & {
4759
4759
  _id: string;
4760
4760
  }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IAccount, "id"> & {
4761
4761
  _id: string;
@@ -4786,7 +4786,7 @@ export declare const AccountSchema: Schema<import("mongoose").Document<unknown,
4786
4786
  } & {
4787
4787
  id: string;
4788
4788
  }> | undefined;
4789
- phoneVerified?: import("mongoose").SchemaDefinitionProperty<boolean, import("mongoose").Document<unknown, {}, Omit<IAccount, "id"> & {
4789
+ emailVerified?: import("mongoose").SchemaDefinitionProperty<boolean, import("mongoose").Document<unknown, {}, Omit<IAccount, "id"> & {
4790
4790
  _id: string;
4791
4791
  }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IAccount, "id"> & {
4792
4792
  _id: string;
@@ -4817,7 +4817,7 @@ export declare const AccountSchema: Schema<import("mongoose").Document<unknown,
4817
4817
  } & {
4818
4818
  id: string;
4819
4819
  }> | undefined;
4820
- holderName?: import("mongoose").SchemaDefinitionProperty<string, import("mongoose").Document<unknown, {}, Omit<IAccount, "id"> & {
4820
+ phoneVerified?: import("mongoose").SchemaDefinitionProperty<boolean, import("mongoose").Document<unknown, {}, Omit<IAccount, "id"> & {
4821
4821
  _id: string;
4822
4822
  }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IAccount, "id"> & {
4823
4823
  _id: string;
@@ -4848,7 +4848,7 @@ export declare const AccountSchema: Schema<import("mongoose").Document<unknown,
4848
4848
  } & {
4849
4849
  id: string;
4850
4850
  }> | undefined;
4851
- holderRelation?: import("mongoose").SchemaDefinitionProperty<import("../index.js").RelationToCandidate, import("mongoose").Document<unknown, {}, Omit<IAccount, "id"> & {
4851
+ holderName?: import("mongoose").SchemaDefinitionProperty<string, import("mongoose").Document<unknown, {}, Omit<IAccount, "id"> & {
4852
4852
  _id: string;
4853
4853
  }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IAccount, "id"> & {
4854
4854
  _id: string;
@@ -4879,7 +4879,7 @@ export declare const AccountSchema: Schema<import("mongoose").Document<unknown,
4879
4879
  } & {
4880
4880
  id: string;
4881
4881
  }> | undefined;
4882
- maxFreeProfiles?: import("mongoose").SchemaDefinitionProperty<number, import("mongoose").Document<unknown, {}, Omit<IAccount, "id"> & {
4882
+ holderRelation?: import("mongoose").SchemaDefinitionProperty<import("../index.js").RelationToCandidate, import("mongoose").Document<unknown, {}, Omit<IAccount, "id"> & {
4883
4883
  _id: string;
4884
4884
  }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IAccount, "id"> & {
4885
4885
  _id: string;
@@ -4910,7 +4910,7 @@ export declare const AccountSchema: Schema<import("mongoose").Document<unknown,
4910
4910
  } & {
4911
4911
  id: string;
4912
4912
  }> | undefined;
4913
- additionalProfilesPurchased?: import("mongoose").SchemaDefinitionProperty<number, import("mongoose").Document<unknown, {}, Omit<IAccount, "id"> & {
4913
+ maxFreeProfiles?: import("mongoose").SchemaDefinitionProperty<number, import("mongoose").Document<unknown, {}, Omit<IAccount, "id"> & {
4914
4914
  _id: string;
4915
4915
  }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IAccount, "id"> & {
4916
4916
  _id: string;
@@ -4941,7 +4941,7 @@ export declare const AccountSchema: Schema<import("mongoose").Document<unknown,
4941
4941
  } & {
4942
4942
  id: string;
4943
4943
  }> | undefined;
4944
- companyId?: import("mongoose").SchemaDefinitionProperty<string | undefined, import("mongoose").Document<unknown, {}, Omit<IAccount, "id"> & {
4944
+ additionalProfilesPurchased?: import("mongoose").SchemaDefinitionProperty<number, import("mongoose").Document<unknown, {}, Omit<IAccount, "id"> & {
4945
4945
  _id: string;
4946
4946
  }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IAccount, "id"> & {
4947
4947
  _id: string;
@@ -4972,7 +4972,7 @@ export declare const AccountSchema: Schema<import("mongoose").Document<unknown,
4972
4972
  } & {
4973
4973
  id: string;
4974
4974
  }> | undefined;
4975
- subscriptionId?: import("mongoose").SchemaDefinitionProperty<string | undefined, import("mongoose").Document<unknown, {}, Omit<IAccount, "id"> & {
4975
+ companyId?: import("mongoose").SchemaDefinitionProperty<string | undefined, import("mongoose").Document<unknown, {}, Omit<IAccount, "id"> & {
4976
4976
  _id: string;
4977
4977
  }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IAccount, "id"> & {
4978
4978
  _id: string;
@@ -5003,7 +5003,7 @@ export declare const AccountSchema: Schema<import("mongoose").Document<unknown,
5003
5003
  } & {
5004
5004
  id: string;
5005
5005
  }> | undefined;
5006
- trialEndsAt?: import("mongoose").SchemaDefinitionProperty<Date | undefined, import("mongoose").Document<unknown, {}, Omit<IAccount, "id"> & {
5006
+ subscriptionId?: import("mongoose").SchemaDefinitionProperty<string | undefined, import("mongoose").Document<unknown, {}, Omit<IAccount, "id"> & {
5007
5007
  _id: string;
5008
5008
  }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IAccount, "id"> & {
5009
5009
  _id: string;
@@ -5034,7 +5034,7 @@ export declare const AccountSchema: Schema<import("mongoose").Document<unknown,
5034
5034
  } & {
5035
5035
  id: string;
5036
5036
  }> | undefined;
5037
- flagCount?: import("mongoose").SchemaDefinitionProperty<number, import("mongoose").Document<unknown, {}, Omit<IAccount, "id"> & {
5037
+ trialEndsAt?: import("mongoose").SchemaDefinitionProperty<Date | undefined, import("mongoose").Document<unknown, {}, Omit<IAccount, "id"> & {
5038
5038
  _id: string;
5039
5039
  }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IAccount, "id"> & {
5040
5040
  _id: string;
@@ -5065,7 +5065,7 @@ export declare const AccountSchema: Schema<import("mongoose").Document<unknown,
5065
5065
  } & {
5066
5066
  id: string;
5067
5067
  }> | undefined;
5068
- preferredLanguage?: import("mongoose").SchemaDefinitionProperty<import("../index.js").Language, import("mongoose").Document<unknown, {}, Omit<IAccount, "id"> & {
5068
+ flagCount?: import("mongoose").SchemaDefinitionProperty<number, import("mongoose").Document<unknown, {}, Omit<IAccount, "id"> & {
5069
5069
  _id: string;
5070
5070
  }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IAccount, "id"> & {
5071
5071
  _id: string;
@@ -5096,7 +5096,7 @@ export declare const AccountSchema: Schema<import("mongoose").Document<unknown,
5096
5096
  } & {
5097
5097
  id: string;
5098
5098
  }> | undefined;
5099
- notificationsEnabled?: import("mongoose").SchemaDefinitionProperty<boolean, import("mongoose").Document<unknown, {}, Omit<IAccount, "id"> & {
5099
+ preferredLanguage?: import("mongoose").SchemaDefinitionProperty<import("../index.js").Language, import("mongoose").Document<unknown, {}, Omit<IAccount, "id"> & {
5100
5100
  _id: string;
5101
5101
  }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IAccount, "id"> & {
5102
5102
  _id: string;
@@ -5127,7 +5127,7 @@ export declare const AccountSchema: Schema<import("mongoose").Document<unknown,
5127
5127
  } & {
5128
5128
  id: string;
5129
5129
  }> | undefined;
5130
- agreedToTermsAt?: import("mongoose").SchemaDefinitionProperty<Date, import("mongoose").Document<unknown, {}, Omit<IAccount, "id"> & {
5130
+ notificationsEnabled?: import("mongoose").SchemaDefinitionProperty<boolean, import("mongoose").Document<unknown, {}, Omit<IAccount, "id"> & {
5131
5131
  _id: string;
5132
5132
  }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IAccount, "id"> & {
5133
5133
  _id: string;
@@ -5158,7 +5158,7 @@ export declare const AccountSchema: Schema<import("mongoose").Document<unknown,
5158
5158
  } & {
5159
5159
  id: string;
5160
5160
  }> | undefined;
5161
- privacyConsentAt?: import("mongoose").SchemaDefinitionProperty<Date, import("mongoose").Document<unknown, {}, Omit<IAccount, "id"> & {
5161
+ agreedToTermsAt?: import("mongoose").SchemaDefinitionProperty<Date, import("mongoose").Document<unknown, {}, Omit<IAccount, "id"> & {
5162
5162
  _id: string;
5163
5163
  }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IAccount, "id"> & {
5164
5164
  _id: string;
@@ -5189,7 +5189,7 @@ export declare const AccountSchema: Schema<import("mongoose").Document<unknown,
5189
5189
  } & {
5190
5190
  id: string;
5191
5191
  }> | undefined;
5192
- dataStorageConsentAt?: import("mongoose").SchemaDefinitionProperty<Date, import("mongoose").Document<unknown, {}, Omit<IAccount, "id"> & {
5192
+ privacyConsentAt?: import("mongoose").SchemaDefinitionProperty<Date, import("mongoose").Document<unknown, {}, Omit<IAccount, "id"> & {
5193
5193
  _id: string;
5194
5194
  }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IAccount, "id"> & {
5195
5195
  _id: string;
@@ -5220,7 +5220,7 @@ export declare const AccountSchema: Schema<import("mongoose").Document<unknown,
5220
5220
  } & {
5221
5221
  id: string;
5222
5222
  }> | undefined;
5223
- lastActiveAt?: import("mongoose").SchemaDefinitionProperty<Date, import("mongoose").Document<unknown, {}, Omit<IAccount, "id"> & {
5223
+ dataStorageConsentAt?: import("mongoose").SchemaDefinitionProperty<Date, import("mongoose").Document<unknown, {}, Omit<IAccount, "id"> & {
5224
5224
  _id: string;
5225
5225
  }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IAccount, "id"> & {
5226
5226
  _id: string;
@@ -5251,7 +5251,7 @@ export declare const AccountSchema: Schema<import("mongoose").Document<unknown,
5251
5251
  } & {
5252
5252
  id: string;
5253
5253
  }> | undefined;
5254
- deviceTokens?: import("mongoose").SchemaDefinitionProperty<string[], import("mongoose").Document<unknown, {}, Omit<IAccount, "id"> & {
5254
+ lastActiveAt?: import("mongoose").SchemaDefinitionProperty<Date, import("mongoose").Document<unknown, {}, Omit<IAccount, "id"> & {
5255
5255
  _id: string;
5256
5256
  }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IAccount, "id"> & {
5257
5257
  _id: string;
@@ -5282,7 +5282,7 @@ export declare const AccountSchema: Schema<import("mongoose").Document<unknown,
5282
5282
  } & {
5283
5283
  id: string;
5284
5284
  }> | undefined;
5285
- createdAt?: import("mongoose").SchemaDefinitionProperty<Date, import("mongoose").Document<unknown, {}, Omit<IAccount, "id"> & {
5285
+ deviceTokens?: import("mongoose").SchemaDefinitionProperty<string[], import("mongoose").Document<unknown, {}, Omit<IAccount, "id"> & {
5286
5286
  _id: string;
5287
5287
  }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IAccount, "id"> & {
5288
5288
  _id: string;