@managesome/knotr-toolkit 0.8.21 → 0.8.23

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.
@@ -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" | "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"> & {
1220
+ <T extends "email" | "phone" | "status" | "settings" | "type" | "role" | "tenantId" | "subscriptionId" | "createdAt" | "firebaseUid" | "emailVerified" | "phoneVerified" | "holderName" | "holderRelation" | "maxFreeProfiles" | "additionalProfilesPurchased" | "companyId" | "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" | "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;
1379
+ <T extends "email" | "phone" | "status" | "settings" | "type" | "role" | "tenantId" | "subscriptionId" | "createdAt" | "firebaseUid" | "emailVerified" | "phoneVerified" | "holderName" | "holderRelation" | "maxFreeProfiles" | "additionalProfilesPurchased" | "companyId" | "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" | "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;
1413
+ <T extends "email" | "phone" | "status" | "settings" | "type" | "role" | "tenantId" | "subscriptionId" | "createdAt" | "firebaseUid" | "emailVerified" | "phoneVerified" | "holderName" | "holderRelation" | "maxFreeProfiles" | "additionalProfilesPurchased" | "companyId" | "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" | "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;
1447
+ <T extends "email" | "phone" | "status" | "settings" | "type" | "role" | "tenantId" | "subscriptionId" | "createdAt" | "firebaseUid" | "emailVerified" | "phoneVerified" | "holderName" | "holderRelation" | "maxFreeProfiles" | "additionalProfilesPurchased" | "companyId" | "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" | "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;
1481
+ <T extends "email" | "phone" | "status" | "settings" | "type" | "role" | "tenantId" | "subscriptionId" | "createdAt" | "firebaseUid" | "emailVerified" | "phoneVerified" | "holderName" | "holderRelation" | "maxFreeProfiles" | "additionalProfilesPurchased" | "companyId" | "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" | "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?: {
1515
+ <T extends "email" | "phone" | "status" | "settings" | "type" | "role" | "tenantId" | "subscriptionId" | "createdAt" | "firebaseUid" | "emailVerified" | "phoneVerified" | "holderName" | "holderRelation" | "maxFreeProfiles" | "additionalProfilesPurchased" | "companyId" | "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" | "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;
1584
+ <T extends "email" | "phone" | "status" | "settings" | "type" | "role" | "tenantId" | "subscriptionId" | "createdAt" | "firebaseUid" | "emailVerified" | "phoneVerified" | "holderName" | "holderRelation" | "maxFreeProfiles" | "additionalProfilesPurchased" | "companyId" | "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" | "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;
1618
+ <T extends "email" | "phone" | "status" | "settings" | "type" | "role" | "tenantId" | "subscriptionId" | "createdAt" | "firebaseUid" | "emailVerified" | "phoneVerified" | "holderName" | "holderRelation" | "maxFreeProfiles" | "additionalProfilesPurchased" | "companyId" | "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" | "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"> & {
2057
+ <T extends "email" | "phone" | "status" | "settings" | "type" | "role" | "tenantId" | "subscriptionId" | "createdAt" | "firebaseUid" | "emailVerified" | "phoneVerified" | "holderName" | "holderRelation" | "maxFreeProfiles" | "additionalProfilesPurchased" | "companyId" | "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,9 +2165,10 @@ 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
+ tenantId?: string | undefined;
2169
+ subscriptionId?: string | undefined;
2168
2170
  createdAt: Date;
2169
2171
  firebaseUid: string;
2170
- tenantId?: string | undefined;
2171
2172
  emailVerified: boolean;
2172
2173
  phoneVerified: boolean;
2173
2174
  holderName: string;
@@ -2175,7 +2176,6 @@ export declare const AccountSchema: Schema<import("mongoose").Document<unknown,
2175
2176
  maxFreeProfiles: number;
2176
2177
  additionalProfilesPurchased: number;
2177
2178
  companyId?: string | undefined;
2178
- subscriptionId?: string | undefined;
2179
2179
  trialEndsAt?: Date | undefined;
2180
2180
  flagCount: number;
2181
2181
  preferredLanguage: import("../index.js").Language;
@@ -2220,9 +2220,10 @@ 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
+ tenantId?: string | undefined;
2224
+ subscriptionId?: string | undefined;
2223
2225
  createdAt: Date;
2224
2226
  firebaseUid: string;
2225
- tenantId?: string | undefined;
2226
2227
  emailVerified: boolean;
2227
2228
  phoneVerified: boolean;
2228
2229
  holderName: string;
@@ -2230,7 +2231,6 @@ export declare const AccountSchema: Schema<import("mongoose").Document<unknown,
2230
2231
  maxFreeProfiles: number;
2231
2232
  additionalProfilesPurchased: number;
2232
2233
  companyId?: string | undefined;
2233
- subscriptionId?: string | undefined;
2234
2234
  trialEndsAt?: Date | undefined;
2235
2235
  flagCount: number;
2236
2236
  preferredLanguage: import("../index.js").Language;
@@ -2295,9 +2295,10 @@ 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
+ tenantId?: string | undefined;
2299
+ subscriptionId?: string | undefined;
2298
2300
  createdAt: Date;
2299
2301
  firebaseUid: string;
2300
- tenantId?: string | undefined;
2301
2302
  emailVerified: boolean;
2302
2303
  phoneVerified: boolean;
2303
2304
  holderName: string;
@@ -2305,7 +2306,6 @@ export declare const AccountSchema: Schema<import("mongoose").Document<unknown,
2305
2306
  maxFreeProfiles: number;
2306
2307
  additionalProfilesPurchased: number;
2307
2308
  companyId?: string | undefined;
2308
- subscriptionId?: string | undefined;
2309
2309
  trialEndsAt?: Date | undefined;
2310
2310
  flagCount: number;
2311
2311
  preferredLanguage: import("../index.js").Language;
@@ -2350,9 +2350,10 @@ 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
+ tenantId?: string | undefined;
2354
+ subscriptionId?: string | undefined;
2353
2355
  createdAt: Date;
2354
2356
  firebaseUid: string;
2355
- tenantId?: string | undefined;
2356
2357
  emailVerified: boolean;
2357
2358
  phoneVerified: boolean;
2358
2359
  holderName: string;
@@ -2360,7 +2361,6 @@ export declare const AccountSchema: Schema<import("mongoose").Document<unknown,
2360
2361
  maxFreeProfiles: number;
2361
2362
  additionalProfilesPurchased: number;
2362
2363
  companyId?: string | undefined;
2363
- subscriptionId?: string | undefined;
2364
2364
  trialEndsAt?: Date | undefined;
2365
2365
  flagCount: number;
2366
2366
  preferredLanguage: import("../index.js").Language;
@@ -2425,9 +2425,10 @@ 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
+ tenantId?: string | undefined;
2429
+ subscriptionId?: string | undefined;
2428
2430
  createdAt: Date;
2429
2431
  firebaseUid: string;
2430
- tenantId?: string | undefined;
2431
2432
  emailVerified: boolean;
2432
2433
  phoneVerified: boolean;
2433
2434
  holderName: string;
@@ -2435,7 +2436,6 @@ export declare const AccountSchema: Schema<import("mongoose").Document<unknown,
2435
2436
  maxFreeProfiles: number;
2436
2437
  additionalProfilesPurchased: number;
2437
2438
  companyId?: string | undefined;
2438
- subscriptionId?: string | undefined;
2439
2439
  trialEndsAt?: Date | undefined;
2440
2440
  flagCount: number;
2441
2441
  preferredLanguage: import("../index.js").Language;
@@ -2480,9 +2480,10 @@ 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
+ tenantId?: string | undefined;
2484
+ subscriptionId?: string | undefined;
2483
2485
  createdAt: Date;
2484
2486
  firebaseUid: string;
2485
- tenantId?: string | undefined;
2486
2487
  emailVerified: boolean;
2487
2488
  phoneVerified: boolean;
2488
2489
  holderName: string;
@@ -2490,7 +2491,6 @@ export declare const AccountSchema: Schema<import("mongoose").Document<unknown,
2490
2491
  maxFreeProfiles: number;
2491
2492
  additionalProfilesPurchased: number;
2492
2493
  companyId?: string | undefined;
2493
- subscriptionId?: string | undefined;
2494
2494
  trialEndsAt?: Date | undefined;
2495
2495
  flagCount: number;
2496
2496
  preferredLanguage: import("../index.js").Language;
@@ -2555,9 +2555,10 @@ 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
+ tenantId?: string | undefined;
2559
+ subscriptionId?: string | undefined;
2558
2560
  createdAt: Date;
2559
2561
  firebaseUid: string;
2560
- tenantId?: string | undefined;
2561
2562
  emailVerified: boolean;
2562
2563
  phoneVerified: boolean;
2563
2564
  holderName: string;
@@ -2565,7 +2566,6 @@ export declare const AccountSchema: Schema<import("mongoose").Document<unknown,
2565
2566
  maxFreeProfiles: number;
2566
2567
  additionalProfilesPurchased: number;
2567
2568
  companyId?: string | undefined;
2568
- subscriptionId?: string | undefined;
2569
2569
  trialEndsAt?: Date | undefined;
2570
2570
  flagCount: number;
2571
2571
  preferredLanguage: import("../index.js").Language;
@@ -2610,9 +2610,10 @@ 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
+ tenantId?: string | undefined;
2614
+ subscriptionId?: string | undefined;
2613
2615
  createdAt: Date;
2614
2616
  firebaseUid: string;
2615
- tenantId?: string | undefined;
2616
2617
  emailVerified: boolean;
2617
2618
  phoneVerified: boolean;
2618
2619
  holderName: string;
@@ -2620,7 +2621,6 @@ export declare const AccountSchema: Schema<import("mongoose").Document<unknown,
2620
2621
  maxFreeProfiles: number;
2621
2622
  additionalProfilesPurchased: number;
2622
2623
  companyId?: string | undefined;
2623
- subscriptionId?: string | undefined;
2624
2624
  trialEndsAt?: Date | undefined;
2625
2625
  flagCount: number;
2626
2626
  preferredLanguage: import("../index.js").Language;
@@ -2684,9 +2684,10 @@ 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
+ tenantId?: string | undefined;
2688
+ subscriptionId?: string | undefined;
2687
2689
  createdAt: Date;
2688
2690
  firebaseUid: string;
2689
- tenantId?: string | undefined;
2690
2691
  emailVerified: boolean;
2691
2692
  phoneVerified: boolean;
2692
2693
  holderName: string;
@@ -2694,7 +2695,6 @@ export declare const AccountSchema: Schema<import("mongoose").Document<unknown,
2694
2695
  maxFreeProfiles: number;
2695
2696
  additionalProfilesPurchased: number;
2696
2697
  companyId?: string | undefined;
2697
- subscriptionId?: string | undefined;
2698
2698
  trialEndsAt?: Date | undefined;
2699
2699
  flagCount: number;
2700
2700
  preferredLanguage: import("../index.js").Language;
@@ -2738,9 +2738,10 @@ 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
+ tenantId?: string | undefined;
2742
+ subscriptionId?: string | undefined;
2741
2743
  createdAt: Date;
2742
2744
  firebaseUid: string;
2743
- tenantId?: string | undefined;
2744
2745
  emailVerified: boolean;
2745
2746
  phoneVerified: boolean;
2746
2747
  holderName: string;
@@ -2748,7 +2749,6 @@ export declare const AccountSchema: Schema<import("mongoose").Document<unknown,
2748
2749
  maxFreeProfiles: number;
2749
2750
  additionalProfilesPurchased: number;
2750
2751
  companyId?: string | undefined;
2751
- subscriptionId?: string | undefined;
2752
2752
  trialEndsAt?: Date | undefined;
2753
2753
  flagCount: number;
2754
2754
  preferredLanguage: import("../index.js").Language;
@@ -2792,9 +2792,10 @@ 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
+ tenantId?: string | undefined;
2796
+ subscriptionId?: string | undefined;
2795
2797
  createdAt: Date;
2796
2798
  firebaseUid: string;
2797
- tenantId?: string | undefined;
2798
2799
  emailVerified: boolean;
2799
2800
  phoneVerified: boolean;
2800
2801
  holderName: string;
@@ -2802,7 +2803,6 @@ export declare const AccountSchema: Schema<import("mongoose").Document<unknown,
2802
2803
  maxFreeProfiles: number;
2803
2804
  additionalProfilesPurchased: number;
2804
2805
  companyId?: string | undefined;
2805
- subscriptionId?: string | undefined;
2806
2806
  trialEndsAt?: Date | undefined;
2807
2807
  flagCount: number;
2808
2808
  preferredLanguage: import("../index.js").Language;
@@ -2845,9 +2845,10 @@ 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
+ tenantId?: string | undefined;
2849
+ subscriptionId?: string | undefined;
2848
2850
  createdAt: Date;
2849
2851
  firebaseUid: string;
2850
- tenantId?: string | undefined;
2851
2852
  emailVerified: boolean;
2852
2853
  phoneVerified: boolean;
2853
2854
  holderName: string;
@@ -2855,7 +2856,6 @@ export declare const AccountSchema: Schema<import("mongoose").Document<unknown,
2855
2856
  maxFreeProfiles: number;
2856
2857
  additionalProfilesPurchased: number;
2857
2858
  companyId?: string | undefined;
2858
- subscriptionId?: string | undefined;
2859
2859
  trialEndsAt?: Date | undefined;
2860
2860
  flagCount: number;
2861
2861
  preferredLanguage: import("../index.js").Language;
@@ -2916,9 +2916,10 @@ 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
+ tenantId?: string | undefined;
2920
+ subscriptionId?: string | undefined;
2919
2921
  createdAt: Date;
2920
2922
  firebaseUid: string;
2921
- tenantId?: string | undefined;
2922
2923
  emailVerified: boolean;
2923
2924
  phoneVerified: boolean;
2924
2925
  holderName: string;
@@ -2926,7 +2927,6 @@ export declare const AccountSchema: Schema<import("mongoose").Document<unknown,
2926
2927
  maxFreeProfiles: number;
2927
2928
  additionalProfilesPurchased: number;
2928
2929
  companyId?: string | undefined;
2929
- subscriptionId?: string | undefined;
2930
2930
  trialEndsAt?: Date | undefined;
2931
2931
  flagCount: number;
2932
2932
  preferredLanguage: import("../index.js").Language;
@@ -2972,9 +2972,10 @@ 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
+ tenantId?: string | undefined;
2976
+ subscriptionId?: string | undefined;
2975
2977
  createdAt: Date;
2976
2978
  firebaseUid: string;
2977
- tenantId?: string | undefined;
2978
2979
  emailVerified: boolean;
2979
2980
  phoneVerified: boolean;
2980
2981
  holderName: string;
@@ -2982,7 +2983,6 @@ export declare const AccountSchema: Schema<import("mongoose").Document<unknown,
2982
2983
  maxFreeProfiles: number;
2983
2984
  additionalProfilesPurchased: number;
2984
2985
  companyId?: string | undefined;
2985
- subscriptionId?: string | undefined;
2986
2986
  trialEndsAt?: Date | undefined;
2987
2987
  flagCount: number;
2988
2988
  preferredLanguage: import("../index.js").Language;
@@ -3036,9 +3036,10 @@ 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
+ tenantId?: string | undefined;
3040
+ subscriptionId?: string | undefined;
3039
3041
  createdAt: Date;
3040
3042
  firebaseUid: string;
3041
- tenantId?: string | undefined;
3042
3043
  emailVerified: boolean;
3043
3044
  phoneVerified: boolean;
3044
3045
  holderName: string;
@@ -3046,7 +3047,6 @@ export declare const AccountSchema: Schema<import("mongoose").Document<unknown,
3046
3047
  maxFreeProfiles: number;
3047
3048
  additionalProfilesPurchased: number;
3048
3049
  companyId?: string | undefined;
3049
- subscriptionId?: string | undefined;
3050
3050
  trialEndsAt?: Date | undefined;
3051
3051
  flagCount: number;
3052
3052
  preferredLanguage: import("../index.js").Language;
@@ -3099,9 +3099,10 @@ 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
+ tenantId?: string | undefined;
3103
+ subscriptionId?: string | undefined;
3102
3104
  createdAt: Date;
3103
3105
  firebaseUid: string;
3104
- tenantId?: string | undefined;
3105
3106
  emailVerified: boolean;
3106
3107
  phoneVerified: boolean;
3107
3108
  holderName: string;
@@ -3109,7 +3110,6 @@ export declare const AccountSchema: Schema<import("mongoose").Document<unknown,
3109
3110
  maxFreeProfiles: number;
3110
3111
  additionalProfilesPurchased: number;
3111
3112
  companyId?: string | undefined;
3112
- subscriptionId?: string | undefined;
3113
3113
  trialEndsAt?: Date | undefined;
3114
3114
  flagCount: number;
3115
3115
  preferredLanguage: import("../index.js").Language;
@@ -3153,9 +3153,10 @@ 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
+ tenantId?: string | undefined;
3157
+ subscriptionId?: string | undefined;
3156
3158
  createdAt: Date;
3157
3159
  firebaseUid: string;
3158
- tenantId?: string | undefined;
3159
3160
  emailVerified: boolean;
3160
3161
  phoneVerified: boolean;
3161
3162
  holderName: string;
@@ -3163,7 +3164,6 @@ export declare const AccountSchema: Schema<import("mongoose").Document<unknown,
3163
3164
  maxFreeProfiles: number;
3164
3165
  additionalProfilesPurchased: number;
3165
3166
  companyId?: string | undefined;
3166
- subscriptionId?: string | undefined;
3167
3167
  trialEndsAt?: Date | undefined;
3168
3168
  flagCount: number;
3169
3169
  preferredLanguage: import("../index.js").Language;
@@ -3273,9 +3273,10 @@ 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
+ tenantId?: string | undefined;
3277
+ subscriptionId?: string | undefined;
3276
3278
  createdAt: Date;
3277
3279
  firebaseUid: string;
3278
- tenantId?: string | undefined;
3279
3280
  emailVerified: boolean;
3280
3281
  phoneVerified: boolean;
3281
3282
  holderName: string;
@@ -3283,7 +3284,6 @@ export declare const AccountSchema: Schema<import("mongoose").Document<unknown,
3283
3284
  maxFreeProfiles: number;
3284
3285
  additionalProfilesPurchased: number;
3285
3286
  companyId?: string | undefined;
3286
- subscriptionId?: string | undefined;
3287
3287
  trialEndsAt?: Date | undefined;
3288
3288
  flagCount: number;
3289
3289
  preferredLanguage: import("../index.js").Language;
@@ -3328,9 +3328,10 @@ 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
+ tenantId?: string | undefined;
3332
+ subscriptionId?: string | undefined;
3331
3333
  createdAt: Date;
3332
3334
  firebaseUid: string;
3333
- tenantId?: string | undefined;
3334
3335
  emailVerified: boolean;
3335
3336
  phoneVerified: boolean;
3336
3337
  holderName: string;
@@ -3338,7 +3339,6 @@ export declare const AccountSchema: Schema<import("mongoose").Document<unknown,
3338
3339
  maxFreeProfiles: number;
3339
3340
  additionalProfilesPurchased: number;
3340
3341
  companyId?: string | undefined;
3341
- subscriptionId?: string | undefined;
3342
3342
  trialEndsAt?: Date | undefined;
3343
3343
  flagCount: number;
3344
3344
  preferredLanguage: import("../index.js").Language;
@@ -3403,9 +3403,10 @@ 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
+ tenantId?: string | undefined;
3407
+ subscriptionId?: string | undefined;
3406
3408
  createdAt: Date;
3407
3409
  firebaseUid: string;
3408
- tenantId?: string | undefined;
3409
3410
  emailVerified: boolean;
3410
3411
  phoneVerified: boolean;
3411
3412
  holderName: string;
@@ -3413,7 +3414,6 @@ export declare const AccountSchema: Schema<import("mongoose").Document<unknown,
3413
3414
  maxFreeProfiles: number;
3414
3415
  additionalProfilesPurchased: number;
3415
3416
  companyId?: string | undefined;
3416
- subscriptionId?: string | undefined;
3417
3417
  trialEndsAt?: Date | undefined;
3418
3418
  flagCount: number;
3419
3419
  preferredLanguage: import("../index.js").Language;
@@ -3458,9 +3458,10 @@ 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
+ tenantId?: string | undefined;
3462
+ subscriptionId?: string | undefined;
3461
3463
  createdAt: Date;
3462
3464
  firebaseUid: string;
3463
- tenantId?: string | undefined;
3464
3465
  emailVerified: boolean;
3465
3466
  phoneVerified: boolean;
3466
3467
  holderName: string;
@@ -3468,7 +3469,6 @@ export declare const AccountSchema: Schema<import("mongoose").Document<unknown,
3468
3469
  maxFreeProfiles: number;
3469
3470
  additionalProfilesPurchased: number;
3470
3471
  companyId?: string | undefined;
3471
- subscriptionId?: string | undefined;
3472
3472
  trialEndsAt?: Date | undefined;
3473
3473
  flagCount: number;
3474
3474
  preferredLanguage: import("../index.js").Language;
@@ -3533,9 +3533,10 @@ 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
+ tenantId?: string | undefined;
3537
+ subscriptionId?: string | undefined;
3536
3538
  createdAt: Date;
3537
3539
  firebaseUid: string;
3538
- tenantId?: string | undefined;
3539
3540
  emailVerified: boolean;
3540
3541
  phoneVerified: boolean;
3541
3542
  holderName: string;
@@ -3543,7 +3544,6 @@ export declare const AccountSchema: Schema<import("mongoose").Document<unknown,
3543
3544
  maxFreeProfiles: number;
3544
3545
  additionalProfilesPurchased: number;
3545
3546
  companyId?: string | undefined;
3546
- subscriptionId?: string | undefined;
3547
3547
  trialEndsAt?: Date | undefined;
3548
3548
  flagCount: number;
3549
3549
  preferredLanguage: import("../index.js").Language;
@@ -3588,9 +3588,10 @@ 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
+ tenantId?: string | undefined;
3592
+ subscriptionId?: string | undefined;
3591
3593
  createdAt: Date;
3592
3594
  firebaseUid: string;
3593
- tenantId?: string | undefined;
3594
3595
  emailVerified: boolean;
3595
3596
  phoneVerified: boolean;
3596
3597
  holderName: string;
@@ -3598,7 +3599,6 @@ export declare const AccountSchema: Schema<import("mongoose").Document<unknown,
3598
3599
  maxFreeProfiles: number;
3599
3600
  additionalProfilesPurchased: number;
3600
3601
  companyId?: string | undefined;
3601
- subscriptionId?: string | undefined;
3602
3602
  trialEndsAt?: Date | undefined;
3603
3603
  flagCount: number;
3604
3604
  preferredLanguage: import("../index.js").Language;
@@ -3663,9 +3663,10 @@ 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
+ tenantId?: string | undefined;
3667
+ subscriptionId?: string | undefined;
3666
3668
  createdAt: Date;
3667
3669
  firebaseUid: string;
3668
- tenantId?: string | undefined;
3669
3670
  emailVerified: boolean;
3670
3671
  phoneVerified: boolean;
3671
3672
  holderName: string;
@@ -3673,7 +3674,6 @@ export declare const AccountSchema: Schema<import("mongoose").Document<unknown,
3673
3674
  maxFreeProfiles: number;
3674
3675
  additionalProfilesPurchased: number;
3675
3676
  companyId?: string | undefined;
3676
- subscriptionId?: string | undefined;
3677
3677
  trialEndsAt?: Date | undefined;
3678
3678
  flagCount: number;
3679
3679
  preferredLanguage: import("../index.js").Language;
@@ -3718,9 +3718,10 @@ 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
+ tenantId?: string | undefined;
3722
+ subscriptionId?: string | undefined;
3721
3723
  createdAt: Date;
3722
3724
  firebaseUid: string;
3723
- tenantId?: string | undefined;
3724
3725
  emailVerified: boolean;
3725
3726
  phoneVerified: boolean;
3726
3727
  holderName: string;
@@ -3728,7 +3729,6 @@ export declare const AccountSchema: Schema<import("mongoose").Document<unknown,
3728
3729
  maxFreeProfiles: number;
3729
3730
  additionalProfilesPurchased: number;
3730
3731
  companyId?: string | undefined;
3731
- subscriptionId?: string | undefined;
3732
3732
  trialEndsAt?: Date | undefined;
3733
3733
  flagCount: number;
3734
3734
  preferredLanguage: import("../index.js").Language;
@@ -3792,9 +3792,10 @@ 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
+ tenantId?: string | undefined;
3796
+ subscriptionId?: string | undefined;
3795
3797
  createdAt: Date;
3796
3798
  firebaseUid: string;
3797
- tenantId?: string | undefined;
3798
3799
  emailVerified: boolean;
3799
3800
  phoneVerified: boolean;
3800
3801
  holderName: string;
@@ -3802,7 +3803,6 @@ export declare const AccountSchema: Schema<import("mongoose").Document<unknown,
3802
3803
  maxFreeProfiles: number;
3803
3804
  additionalProfilesPurchased: number;
3804
3805
  companyId?: string | undefined;
3805
- subscriptionId?: string | undefined;
3806
3806
  trialEndsAt?: Date | undefined;
3807
3807
  flagCount: number;
3808
3808
  preferredLanguage: import("../index.js").Language;
@@ -3846,9 +3846,10 @@ 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
+ tenantId?: string | undefined;
3850
+ subscriptionId?: string | undefined;
3849
3851
  createdAt: Date;
3850
3852
  firebaseUid: string;
3851
- tenantId?: string | undefined;
3852
3853
  emailVerified: boolean;
3853
3854
  phoneVerified: boolean;
3854
3855
  holderName: string;
@@ -3856,7 +3857,6 @@ export declare const AccountSchema: Schema<import("mongoose").Document<unknown,
3856
3857
  maxFreeProfiles: number;
3857
3858
  additionalProfilesPurchased: number;
3858
3859
  companyId?: string | undefined;
3859
- subscriptionId?: string | undefined;
3860
3860
  trialEndsAt?: Date | undefined;
3861
3861
  flagCount: number;
3862
3862
  preferredLanguage: import("../index.js").Language;
@@ -3900,9 +3900,10 @@ 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
+ tenantId?: string | undefined;
3904
+ subscriptionId?: string | undefined;
3903
3905
  createdAt: Date;
3904
3906
  firebaseUid: string;
3905
- tenantId?: string | undefined;
3906
3907
  emailVerified: boolean;
3907
3908
  phoneVerified: boolean;
3908
3909
  holderName: string;
@@ -3910,7 +3911,6 @@ export declare const AccountSchema: Schema<import("mongoose").Document<unknown,
3910
3911
  maxFreeProfiles: number;
3911
3912
  additionalProfilesPurchased: number;
3912
3913
  companyId?: string | undefined;
3913
- subscriptionId?: string | undefined;
3914
3914
  trialEndsAt?: Date | undefined;
3915
3915
  flagCount: number;
3916
3916
  preferredLanguage: import("../index.js").Language;
@@ -3953,9 +3953,10 @@ 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
+ tenantId?: string | undefined;
3957
+ subscriptionId?: string | undefined;
3956
3958
  createdAt: Date;
3957
3959
  firebaseUid: string;
3958
- tenantId?: string | undefined;
3959
3960
  emailVerified: boolean;
3960
3961
  phoneVerified: boolean;
3961
3962
  holderName: string;
@@ -3963,7 +3964,6 @@ export declare const AccountSchema: Schema<import("mongoose").Document<unknown,
3963
3964
  maxFreeProfiles: number;
3964
3965
  additionalProfilesPurchased: number;
3965
3966
  companyId?: string | undefined;
3966
- subscriptionId?: string | undefined;
3967
3967
  trialEndsAt?: Date | undefined;
3968
3968
  flagCount: number;
3969
3969
  preferredLanguage: import("../index.js").Language;
@@ -4024,9 +4024,10 @@ 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
+ tenantId?: string | undefined;
4028
+ subscriptionId?: string | undefined;
4027
4029
  createdAt: Date;
4028
4030
  firebaseUid: string;
4029
- tenantId?: string | undefined;
4030
4031
  emailVerified: boolean;
4031
4032
  phoneVerified: boolean;
4032
4033
  holderName: string;
@@ -4034,7 +4035,6 @@ export declare const AccountSchema: Schema<import("mongoose").Document<unknown,
4034
4035
  maxFreeProfiles: number;
4035
4036
  additionalProfilesPurchased: number;
4036
4037
  companyId?: string | undefined;
4037
- subscriptionId?: string | undefined;
4038
4038
  trialEndsAt?: Date | undefined;
4039
4039
  flagCount: number;
4040
4040
  preferredLanguage: import("../index.js").Language;
@@ -4080,9 +4080,10 @@ 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
+ tenantId?: string | undefined;
4084
+ subscriptionId?: string | undefined;
4083
4085
  createdAt: Date;
4084
4086
  firebaseUid: string;
4085
- tenantId?: string | undefined;
4086
4087
  emailVerified: boolean;
4087
4088
  phoneVerified: boolean;
4088
4089
  holderName: string;
@@ -4090,7 +4091,6 @@ export declare const AccountSchema: Schema<import("mongoose").Document<unknown,
4090
4091
  maxFreeProfiles: number;
4091
4092
  additionalProfilesPurchased: number;
4092
4093
  companyId?: string | undefined;
4093
- subscriptionId?: string | undefined;
4094
4094
  trialEndsAt?: Date | undefined;
4095
4095
  flagCount: number;
4096
4096
  preferredLanguage: import("../index.js").Language;
@@ -4144,9 +4144,10 @@ 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
+ tenantId?: string | undefined;
4148
+ subscriptionId?: string | undefined;
4147
4149
  createdAt: Date;
4148
4150
  firebaseUid: string;
4149
- tenantId?: string | undefined;
4150
4151
  emailVerified: boolean;
4151
4152
  phoneVerified: boolean;
4152
4153
  holderName: string;
@@ -4154,7 +4155,6 @@ export declare const AccountSchema: Schema<import("mongoose").Document<unknown,
4154
4155
  maxFreeProfiles: number;
4155
4156
  additionalProfilesPurchased: number;
4156
4157
  companyId?: string | undefined;
4157
- subscriptionId?: string | undefined;
4158
4158
  trialEndsAt?: Date | undefined;
4159
4159
  flagCount: number;
4160
4160
  preferredLanguage: import("../index.js").Language;
@@ -4207,9 +4207,10 @@ 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
+ tenantId?: string | undefined;
4211
+ subscriptionId?: string | undefined;
4210
4212
  createdAt: Date;
4211
4213
  firebaseUid: string;
4212
- tenantId?: string | undefined;
4213
4214
  emailVerified: boolean;
4214
4215
  phoneVerified: boolean;
4215
4216
  holderName: string;
@@ -4217,7 +4218,6 @@ export declare const AccountSchema: Schema<import("mongoose").Document<unknown,
4217
4218
  maxFreeProfiles: number;
4218
4219
  additionalProfilesPurchased: number;
4219
4220
  companyId?: string | undefined;
4220
- subscriptionId?: string | undefined;
4221
4221
  trialEndsAt?: Date | undefined;
4222
4222
  flagCount: number;
4223
4223
  preferredLanguage: import("../index.js").Language;
@@ -4261,9 +4261,10 @@ 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
+ tenantId?: string | undefined;
4265
+ subscriptionId?: string | undefined;
4264
4266
  createdAt: Date;
4265
4267
  firebaseUid: string;
4266
- tenantId?: string | undefined;
4267
4268
  emailVerified: boolean;
4268
4269
  phoneVerified: boolean;
4269
4270
  holderName: string;
@@ -4271,7 +4272,6 @@ export declare const AccountSchema: Schema<import("mongoose").Document<unknown,
4271
4272
  maxFreeProfiles: number;
4272
4273
  additionalProfilesPurchased: number;
4273
4274
  companyId?: string | undefined;
4274
- subscriptionId?: string | undefined;
4275
4275
  trialEndsAt?: Date | undefined;
4276
4276
  flagCount: number;
4277
4277
  preferredLanguage: import("../index.js").Language;
@@ -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" | "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;
4351
+ <T extends "email" | "phone" | "status" | "settings" | "type" | "role" | "tenantId" | "subscriptionId" | "createdAt" | "firebaseUid" | "emailVerified" | "phoneVerified" | "holderName" | "holderRelation" | "maxFreeProfiles" | "additionalProfilesPurchased" | "companyId" | "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" | "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>;
4436
+ <T extends "email" | "phone" | "status" | "settings" | "type" | "role" | "tenantId" | "subscriptionId" | "createdAt" | "firebaseUid" | "emailVerified" | "phoneVerified" | "holderName" | "holderRelation" | "maxFreeProfiles" | "additionalProfilesPurchased" | "companyId" | "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" | "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;
4477
+ <T extends "email" | "phone" | "status" | "settings" | "type" | "role" | "tenantId" | "subscriptionId" | "createdAt" | "firebaseUid" | "emailVerified" | "phoneVerified" | "holderName" | "holderRelation" | "maxFreeProfiles" | "additionalProfilesPurchased" | "companyId" | "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
- createdAt?: import("mongoose").SchemaDefinitionProperty<Date, import("mongoose").Document<unknown, {}, Omit<IAccount, "id"> & {
4696
+ tenantId?: import("mongoose").SchemaDefinitionProperty<string | undefined, 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
- firebaseUid?: import("mongoose").SchemaDefinitionProperty<string, import("mongoose").Document<unknown, {}, Omit<IAccount, "id"> & {
4727
+ subscriptionId?: import("mongoose").SchemaDefinitionProperty<string | undefined, 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
- tenantId?: import("mongoose").SchemaDefinitionProperty<string | undefined, import("mongoose").Document<unknown, {}, Omit<IAccount, "id"> & {
4758
+ createdAt?: import("mongoose").SchemaDefinitionProperty<Date, 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
- emailVerified?: import("mongoose").SchemaDefinitionProperty<boolean, import("mongoose").Document<unknown, {}, Omit<IAccount, "id"> & {
4789
+ firebaseUid?: import("mongoose").SchemaDefinitionProperty<string, 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
- phoneVerified?: import("mongoose").SchemaDefinitionProperty<boolean, import("mongoose").Document<unknown, {}, Omit<IAccount, "id"> & {
4820
+ emailVerified?: 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
- holderName?: import("mongoose").SchemaDefinitionProperty<string, import("mongoose").Document<unknown, {}, Omit<IAccount, "id"> & {
4851
+ phoneVerified?: import("mongoose").SchemaDefinitionProperty<boolean, 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
- holderRelation?: import("mongoose").SchemaDefinitionProperty<import("../index.js").RelationToCandidate, import("mongoose").Document<unknown, {}, Omit<IAccount, "id"> & {
4882
+ holderName?: import("mongoose").SchemaDefinitionProperty<string, 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
- maxFreeProfiles?: import("mongoose").SchemaDefinitionProperty<number, import("mongoose").Document<unknown, {}, Omit<IAccount, "id"> & {
4913
+ holderRelation?: import("mongoose").SchemaDefinitionProperty<import("../index.js").RelationToCandidate, 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
- additionalProfilesPurchased?: import("mongoose").SchemaDefinitionProperty<number, import("mongoose").Document<unknown, {}, Omit<IAccount, "id"> & {
4944
+ maxFreeProfiles?: 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
- companyId?: import("mongoose").SchemaDefinitionProperty<string | undefined, import("mongoose").Document<unknown, {}, Omit<IAccount, "id"> & {
4975
+ additionalProfilesPurchased?: import("mongoose").SchemaDefinitionProperty<number, 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
- subscriptionId?: import("mongoose").SchemaDefinitionProperty<string | undefined, import("mongoose").Document<unknown, {}, Omit<IAccount, "id"> & {
5006
+ companyId?: 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;