@managesome/knotr-toolkit 0.8.21 → 0.8.22

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.
@@ -1083,7 +1083,7 @@ export declare const CompanySchema: Schema<import("mongoose").Document<unknown,
1083
1083
  id: string;
1084
1084
  }> | undefined;
1085
1085
  get?: import("mongoose").SchemaDefinitionProperty<{
1086
- <T extends "email" | "phone" | "description" | "status" | "location" | "trustLevel" | "rating" | "activeProfiles" | "successfulMatches" | "name" | "type" | "website" | "references" | "accountId" | "createdAt" | "firebaseUid" | "tenantId" | "updatedAt" | "_id" | "reviewedAt" | "reviewedBy" | "reviewNotes" | "registrationNumber" | "registrationDocument" | "contactEmail" | "contactPhone" | "logoUrl" | "socialMedia" | "serviceAreas" | "yearsInBusiness" | "documentsSubmitted" | "guaranteeStatement" | "rejectionReason" | "totalReviews" | "totalProfilesCreated" | "reportedCount" | "autoApproveProfiles" | "maxConcurrentChats" | "isTmc" | "teamMembers">(path: T, type?: any, options?: any): (Omit<ICompany, "id"> & {
1086
+ <T extends "email" | "phone" | "description" | "status" | "location" | "trustLevel" | "rating" | "activeProfiles" | "successfulMatches" | "name" | "type" | "website" | "references" | "accountId" | "tenantId" | "createdAt" | "firebaseUid" | "updatedAt" | "_id" | "reviewedAt" | "reviewedBy" | "reviewNotes" | "registrationNumber" | "registrationDocument" | "contactEmail" | "contactPhone" | "logoUrl" | "socialMedia" | "serviceAreas" | "yearsInBusiness" | "documentsSubmitted" | "guaranteeStatement" | "rejectionReason" | "totalReviews" | "totalProfilesCreated" | "reportedCount" | "autoApproveProfiles" | "maxConcurrentChats" | "isTmc" | "teamMembers">(path: T, type?: any, options?: any): (Omit<ICompany, "id"> & {
1087
1087
  _id: string;
1088
1088
  })[T];
1089
1089
  (path: string, type?: any, options?: any): any;
@@ -1242,7 +1242,7 @@ export declare const CompanySchema: Schema<import("mongoose").Document<unknown,
1242
1242
  id: string;
1243
1243
  }> | undefined;
1244
1244
  invalidate?: import("mongoose").SchemaDefinitionProperty<{
1245
- <T extends "email" | "phone" | "description" | "status" | "location" | "trustLevel" | "rating" | "activeProfiles" | "successfulMatches" | "name" | "type" | "website" | "references" | "accountId" | "createdAt" | "firebaseUid" | "tenantId" | "updatedAt" | "_id" | "reviewedAt" | "reviewedBy" | "reviewNotes" | "registrationNumber" | "registrationDocument" | "contactEmail" | "contactPhone" | "logoUrl" | "socialMedia" | "serviceAreas" | "yearsInBusiness" | "documentsSubmitted" | "guaranteeStatement" | "rejectionReason" | "totalReviews" | "totalProfilesCreated" | "reportedCount" | "autoApproveProfiles" | "maxConcurrentChats" | "isTmc" | "teamMembers">(path: T, errorMsg: string | NativeError, value?: any, kind?: string): NativeError | null;
1245
+ <T extends "email" | "phone" | "description" | "status" | "location" | "trustLevel" | "rating" | "activeProfiles" | "successfulMatches" | "name" | "type" | "website" | "references" | "accountId" | "tenantId" | "createdAt" | "firebaseUid" | "updatedAt" | "_id" | "reviewedAt" | "reviewedBy" | "reviewNotes" | "registrationNumber" | "registrationDocument" | "contactEmail" | "contactPhone" | "logoUrl" | "socialMedia" | "serviceAreas" | "yearsInBusiness" | "documentsSubmitted" | "guaranteeStatement" | "rejectionReason" | "totalReviews" | "totalProfilesCreated" | "reportedCount" | "autoApproveProfiles" | "maxConcurrentChats" | "isTmc" | "teamMembers">(path: T, errorMsg: string | NativeError, value?: any, kind?: string): NativeError | null;
1246
1246
  (path: string, errorMsg: string | NativeError, value?: any, kind?: string): NativeError | null;
1247
1247
  }, import("mongoose").Document<unknown, {}, Omit<ICompany, "id"> & {
1248
1248
  _id: string;
@@ -1276,7 +1276,7 @@ export declare const CompanySchema: Schema<import("mongoose").Document<unknown,
1276
1276
  id: string;
1277
1277
  }> | undefined;
1278
1278
  isDirectModified?: import("mongoose").SchemaDefinitionProperty<{
1279
- <T extends "email" | "phone" | "description" | "status" | "location" | "trustLevel" | "rating" | "activeProfiles" | "successfulMatches" | "name" | "type" | "website" | "references" | "accountId" | "createdAt" | "firebaseUid" | "tenantId" | "updatedAt" | "_id" | "reviewedAt" | "reviewedBy" | "reviewNotes" | "registrationNumber" | "registrationDocument" | "contactEmail" | "contactPhone" | "logoUrl" | "socialMedia" | "serviceAreas" | "yearsInBusiness" | "documentsSubmitted" | "guaranteeStatement" | "rejectionReason" | "totalReviews" | "totalProfilesCreated" | "reportedCount" | "autoApproveProfiles" | "maxConcurrentChats" | "isTmc" | "teamMembers">(path: T | T[]): boolean;
1279
+ <T extends "email" | "phone" | "description" | "status" | "location" | "trustLevel" | "rating" | "activeProfiles" | "successfulMatches" | "name" | "type" | "website" | "references" | "accountId" | "tenantId" | "createdAt" | "firebaseUid" | "updatedAt" | "_id" | "reviewedAt" | "reviewedBy" | "reviewNotes" | "registrationNumber" | "registrationDocument" | "contactEmail" | "contactPhone" | "logoUrl" | "socialMedia" | "serviceAreas" | "yearsInBusiness" | "documentsSubmitted" | "guaranteeStatement" | "rejectionReason" | "totalReviews" | "totalProfilesCreated" | "reportedCount" | "autoApproveProfiles" | "maxConcurrentChats" | "isTmc" | "teamMembers">(path: T | T[]): boolean;
1280
1280
  (path: string | Array<string>): boolean;
1281
1281
  }, import("mongoose").Document<unknown, {}, Omit<ICompany, "id"> & {
1282
1282
  _id: string;
@@ -1310,7 +1310,7 @@ export declare const CompanySchema: Schema<import("mongoose").Document<unknown,
1310
1310
  id: string;
1311
1311
  }> | undefined;
1312
1312
  isDirectSelected?: import("mongoose").SchemaDefinitionProperty<{
1313
- <T extends "email" | "phone" | "description" | "status" | "location" | "trustLevel" | "rating" | "activeProfiles" | "successfulMatches" | "name" | "type" | "website" | "references" | "accountId" | "createdAt" | "firebaseUid" | "tenantId" | "updatedAt" | "_id" | "reviewedAt" | "reviewedBy" | "reviewNotes" | "registrationNumber" | "registrationDocument" | "contactEmail" | "contactPhone" | "logoUrl" | "socialMedia" | "serviceAreas" | "yearsInBusiness" | "documentsSubmitted" | "guaranteeStatement" | "rejectionReason" | "totalReviews" | "totalProfilesCreated" | "reportedCount" | "autoApproveProfiles" | "maxConcurrentChats" | "isTmc" | "teamMembers">(path: T): boolean;
1313
+ <T extends "email" | "phone" | "description" | "status" | "location" | "trustLevel" | "rating" | "activeProfiles" | "successfulMatches" | "name" | "type" | "website" | "references" | "accountId" | "tenantId" | "createdAt" | "firebaseUid" | "updatedAt" | "_id" | "reviewedAt" | "reviewedBy" | "reviewNotes" | "registrationNumber" | "registrationDocument" | "contactEmail" | "contactPhone" | "logoUrl" | "socialMedia" | "serviceAreas" | "yearsInBusiness" | "documentsSubmitted" | "guaranteeStatement" | "rejectionReason" | "totalReviews" | "totalProfilesCreated" | "reportedCount" | "autoApproveProfiles" | "maxConcurrentChats" | "isTmc" | "teamMembers">(path: T): boolean;
1314
1314
  (path: string): boolean;
1315
1315
  }, import("mongoose").Document<unknown, {}, Omit<ICompany, "id"> & {
1316
1316
  _id: string;
@@ -1344,7 +1344,7 @@ export declare const CompanySchema: Schema<import("mongoose").Document<unknown,
1344
1344
  id: string;
1345
1345
  }> | undefined;
1346
1346
  isInit?: import("mongoose").SchemaDefinitionProperty<{
1347
- <T extends "email" | "phone" | "description" | "status" | "location" | "trustLevel" | "rating" | "activeProfiles" | "successfulMatches" | "name" | "type" | "website" | "references" | "accountId" | "createdAt" | "firebaseUid" | "tenantId" | "updatedAt" | "_id" | "reviewedAt" | "reviewedBy" | "reviewNotes" | "registrationNumber" | "registrationDocument" | "contactEmail" | "contactPhone" | "logoUrl" | "socialMedia" | "serviceAreas" | "yearsInBusiness" | "documentsSubmitted" | "guaranteeStatement" | "rejectionReason" | "totalReviews" | "totalProfilesCreated" | "reportedCount" | "autoApproveProfiles" | "maxConcurrentChats" | "isTmc" | "teamMembers">(path: T): boolean;
1347
+ <T extends "email" | "phone" | "description" | "status" | "location" | "trustLevel" | "rating" | "activeProfiles" | "successfulMatches" | "name" | "type" | "website" | "references" | "accountId" | "tenantId" | "createdAt" | "firebaseUid" | "updatedAt" | "_id" | "reviewedAt" | "reviewedBy" | "reviewNotes" | "registrationNumber" | "registrationDocument" | "contactEmail" | "contactPhone" | "logoUrl" | "socialMedia" | "serviceAreas" | "yearsInBusiness" | "documentsSubmitted" | "guaranteeStatement" | "rejectionReason" | "totalReviews" | "totalProfilesCreated" | "reportedCount" | "autoApproveProfiles" | "maxConcurrentChats" | "isTmc" | "teamMembers">(path: T): boolean;
1348
1348
  (path: string): boolean;
1349
1349
  }, import("mongoose").Document<unknown, {}, Omit<ICompany, "id"> & {
1350
1350
  _id: string;
@@ -1378,7 +1378,7 @@ export declare const CompanySchema: Schema<import("mongoose").Document<unknown,
1378
1378
  id: string;
1379
1379
  }> | undefined;
1380
1380
  isModified?: import("mongoose").SchemaDefinitionProperty<{
1381
- <T extends "email" | "phone" | "description" | "status" | "location" | "trustLevel" | "rating" | "activeProfiles" | "successfulMatches" | "name" | "type" | "website" | "references" | "accountId" | "createdAt" | "firebaseUid" | "tenantId" | "updatedAt" | "_id" | "reviewedAt" | "reviewedBy" | "reviewNotes" | "registrationNumber" | "registrationDocument" | "contactEmail" | "contactPhone" | "logoUrl" | "socialMedia" | "serviceAreas" | "yearsInBusiness" | "documentsSubmitted" | "guaranteeStatement" | "rejectionReason" | "totalReviews" | "totalProfilesCreated" | "reportedCount" | "autoApproveProfiles" | "maxConcurrentChats" | "isTmc" | "teamMembers">(path?: T | T[] | undefined, options?: {
1381
+ <T extends "email" | "phone" | "description" | "status" | "location" | "trustLevel" | "rating" | "activeProfiles" | "successfulMatches" | "name" | "type" | "website" | "references" | "accountId" | "tenantId" | "createdAt" | "firebaseUid" | "updatedAt" | "_id" | "reviewedAt" | "reviewedBy" | "reviewNotes" | "registrationNumber" | "registrationDocument" | "contactEmail" | "contactPhone" | "logoUrl" | "socialMedia" | "serviceAreas" | "yearsInBusiness" | "documentsSubmitted" | "guaranteeStatement" | "rejectionReason" | "totalReviews" | "totalProfilesCreated" | "reportedCount" | "autoApproveProfiles" | "maxConcurrentChats" | "isTmc" | "teamMembers">(path?: T | T[] | undefined, options?: {
1382
1382
  ignoreAtomics?: boolean;
1383
1383
  } | null): boolean;
1384
1384
  (path?: string | Array<string>, options?: {
@@ -1447,7 +1447,7 @@ export declare const CompanySchema: Schema<import("mongoose").Document<unknown,
1447
1447
  id: string;
1448
1448
  }> | undefined;
1449
1449
  isSelected?: import("mongoose").SchemaDefinitionProperty<{
1450
- <T extends "email" | "phone" | "description" | "status" | "location" | "trustLevel" | "rating" | "activeProfiles" | "successfulMatches" | "name" | "type" | "website" | "references" | "accountId" | "createdAt" | "firebaseUid" | "tenantId" | "updatedAt" | "_id" | "reviewedAt" | "reviewedBy" | "reviewNotes" | "registrationNumber" | "registrationDocument" | "contactEmail" | "contactPhone" | "logoUrl" | "socialMedia" | "serviceAreas" | "yearsInBusiness" | "documentsSubmitted" | "guaranteeStatement" | "rejectionReason" | "totalReviews" | "totalProfilesCreated" | "reportedCount" | "autoApproveProfiles" | "maxConcurrentChats" | "isTmc" | "teamMembers">(path: T): boolean;
1450
+ <T extends "email" | "phone" | "description" | "status" | "location" | "trustLevel" | "rating" | "activeProfiles" | "successfulMatches" | "name" | "type" | "website" | "references" | "accountId" | "tenantId" | "createdAt" | "firebaseUid" | "updatedAt" | "_id" | "reviewedAt" | "reviewedBy" | "reviewNotes" | "registrationNumber" | "registrationDocument" | "contactEmail" | "contactPhone" | "logoUrl" | "socialMedia" | "serviceAreas" | "yearsInBusiness" | "documentsSubmitted" | "guaranteeStatement" | "rejectionReason" | "totalReviews" | "totalProfilesCreated" | "reportedCount" | "autoApproveProfiles" | "maxConcurrentChats" | "isTmc" | "teamMembers">(path: T): boolean;
1451
1451
  (path: string): boolean;
1452
1452
  }, import("mongoose").Document<unknown, {}, Omit<ICompany, "id"> & {
1453
1453
  _id: string;
@@ -1481,7 +1481,7 @@ export declare const CompanySchema: Schema<import("mongoose").Document<unknown,
1481
1481
  id: string;
1482
1482
  }> | undefined;
1483
1483
  markModified?: import("mongoose").SchemaDefinitionProperty<{
1484
- <T extends "email" | "phone" | "description" | "status" | "location" | "trustLevel" | "rating" | "activeProfiles" | "successfulMatches" | "name" | "type" | "website" | "references" | "accountId" | "createdAt" | "firebaseUid" | "tenantId" | "updatedAt" | "_id" | "reviewedAt" | "reviewedBy" | "reviewNotes" | "registrationNumber" | "registrationDocument" | "contactEmail" | "contactPhone" | "logoUrl" | "socialMedia" | "serviceAreas" | "yearsInBusiness" | "documentsSubmitted" | "guaranteeStatement" | "rejectionReason" | "totalReviews" | "totalProfilesCreated" | "reportedCount" | "autoApproveProfiles" | "maxConcurrentChats" | "isTmc" | "teamMembers">(path: T, scope?: any): void;
1484
+ <T extends "email" | "phone" | "description" | "status" | "location" | "trustLevel" | "rating" | "activeProfiles" | "successfulMatches" | "name" | "type" | "website" | "references" | "accountId" | "tenantId" | "createdAt" | "firebaseUid" | "updatedAt" | "_id" | "reviewedAt" | "reviewedBy" | "reviewNotes" | "registrationNumber" | "registrationDocument" | "contactEmail" | "contactPhone" | "logoUrl" | "socialMedia" | "serviceAreas" | "yearsInBusiness" | "documentsSubmitted" | "guaranteeStatement" | "rejectionReason" | "totalReviews" | "totalProfilesCreated" | "reportedCount" | "autoApproveProfiles" | "maxConcurrentChats" | "isTmc" | "teamMembers">(path: T, scope?: any): void;
1485
1485
  (path: string, scope?: any): void;
1486
1486
  }, import("mongoose").Document<unknown, {}, Omit<ICompany, "id"> & {
1487
1487
  _id: string;
@@ -1920,7 +1920,7 @@ export declare const CompanySchema: Schema<import("mongoose").Document<unknown,
1920
1920
  id: string;
1921
1921
  }> | undefined;
1922
1922
  set?: import("mongoose").SchemaDefinitionProperty<{
1923
- <T extends "email" | "phone" | "description" | "status" | "location" | "trustLevel" | "rating" | "activeProfiles" | "successfulMatches" | "name" | "type" | "website" | "references" | "accountId" | "createdAt" | "firebaseUid" | "tenantId" | "updatedAt" | "_id" | "reviewedAt" | "reviewedBy" | "reviewNotes" | "registrationNumber" | "registrationDocument" | "contactEmail" | "contactPhone" | "logoUrl" | "socialMedia" | "serviceAreas" | "yearsInBusiness" | "documentsSubmitted" | "guaranteeStatement" | "rejectionReason" | "totalReviews" | "totalProfilesCreated" | "reportedCount" | "autoApproveProfiles" | "maxConcurrentChats" | "isTmc" | "teamMembers">(path: T, val: (Omit<ICompany, "id"> & {
1923
+ <T extends "email" | "phone" | "description" | "status" | "location" | "trustLevel" | "rating" | "activeProfiles" | "successfulMatches" | "name" | "type" | "website" | "references" | "accountId" | "tenantId" | "createdAt" | "firebaseUid" | "updatedAt" | "_id" | "reviewedAt" | "reviewedBy" | "reviewNotes" | "registrationNumber" | "registrationDocument" | "contactEmail" | "contactPhone" | "logoUrl" | "socialMedia" | "serviceAreas" | "yearsInBusiness" | "documentsSubmitted" | "guaranteeStatement" | "rejectionReason" | "totalReviews" | "totalProfilesCreated" | "reportedCount" | "autoApproveProfiles" | "maxConcurrentChats" | "isTmc" | "teamMembers">(path: T, val: (Omit<ICompany, "id"> & {
1924
1924
  _id: string;
1925
1925
  })[T], type: any, options?: import("mongoose").DocumentSetOptions): import("mongoose").Document<unknown, {}, Omit<ICompany, "id"> & {
1926
1926
  _id: string;
@@ -2034,9 +2034,9 @@ export declare const CompanySchema: Schema<import("mongoose").Document<unknown,
2034
2034
  notes?: string | undefined;
2035
2035
  }[];
2036
2036
  accountId: string;
2037
+ tenantId?: string | undefined;
2037
2038
  createdAt: Date;
2038
2039
  firebaseUid?: string | undefined;
2039
- tenantId?: string | undefined;
2040
2040
  updatedAt: Date;
2041
2041
  _id: string;
2042
2042
  reviewedAt?: Date | undefined;
@@ -2115,9 +2115,9 @@ export declare const CompanySchema: Schema<import("mongoose").Document<unknown,
2115
2115
  notes?: string | undefined;
2116
2116
  }[];
2117
2117
  accountId: string;
2118
+ tenantId?: string | undefined;
2118
2119
  createdAt: Date;
2119
2120
  firebaseUid?: string | undefined;
2120
- tenantId?: string | undefined;
2121
2121
  updatedAt: Date;
2122
2122
  reviewedAt?: Date | undefined;
2123
2123
  reviewedBy?: string | undefined;
@@ -2216,9 +2216,9 @@ export declare const CompanySchema: Schema<import("mongoose").Document<unknown,
2216
2216
  notes?: string | undefined;
2217
2217
  }[];
2218
2218
  accountId: string;
2219
+ tenantId?: string | undefined;
2219
2220
  createdAt: Date;
2220
2221
  firebaseUid?: string | undefined;
2221
- tenantId?: string | undefined;
2222
2222
  updatedAt: Date;
2223
2223
  _id: string;
2224
2224
  reviewedAt?: Date | undefined;
@@ -2297,9 +2297,9 @@ export declare const CompanySchema: Schema<import("mongoose").Document<unknown,
2297
2297
  notes?: string | undefined;
2298
2298
  }[];
2299
2299
  accountId: string;
2300
+ tenantId?: string | undefined;
2300
2301
  createdAt: Date;
2301
2302
  firebaseUid?: string | undefined;
2302
- tenantId?: string | undefined;
2303
2303
  updatedAt: Date;
2304
2304
  reviewedAt?: Date | undefined;
2305
2305
  reviewedBy?: string | undefined;
@@ -2398,9 +2398,9 @@ export declare const CompanySchema: Schema<import("mongoose").Document<unknown,
2398
2398
  notes?: string | undefined;
2399
2399
  }[];
2400
2400
  accountId: string;
2401
+ tenantId?: string | undefined;
2401
2402
  createdAt: Date;
2402
2403
  firebaseUid?: string | undefined;
2403
- tenantId?: string | undefined;
2404
2404
  updatedAt: Date;
2405
2405
  _id: string;
2406
2406
  reviewedAt?: Date | undefined;
@@ -2479,9 +2479,9 @@ export declare const CompanySchema: Schema<import("mongoose").Document<unknown,
2479
2479
  notes?: string | undefined;
2480
2480
  }[];
2481
2481
  accountId: string;
2482
+ tenantId?: string | undefined;
2482
2483
  createdAt: Date;
2483
2484
  firebaseUid?: string | undefined;
2484
- tenantId?: string | undefined;
2485
2485
  updatedAt: Date;
2486
2486
  reviewedAt?: Date | undefined;
2487
2487
  reviewedBy?: string | undefined;
@@ -2580,9 +2580,9 @@ export declare const CompanySchema: Schema<import("mongoose").Document<unknown,
2580
2580
  notes?: string | undefined;
2581
2581
  }[];
2582
2582
  accountId: string;
2583
+ tenantId?: string | undefined;
2583
2584
  createdAt: Date;
2584
2585
  firebaseUid?: string | undefined;
2585
- tenantId?: string | undefined;
2586
2586
  updatedAt: Date;
2587
2587
  _id: string;
2588
2588
  reviewedAt?: Date | undefined;
@@ -2661,9 +2661,9 @@ export declare const CompanySchema: Schema<import("mongoose").Document<unknown,
2661
2661
  notes?: string | undefined;
2662
2662
  }[];
2663
2663
  accountId: string;
2664
+ tenantId?: string | undefined;
2664
2665
  createdAt: Date;
2665
2666
  firebaseUid?: string | undefined;
2666
- tenantId?: string | undefined;
2667
2667
  updatedAt: Date;
2668
2668
  reviewedAt?: Date | undefined;
2669
2669
  reviewedBy?: string | undefined;
@@ -2761,9 +2761,9 @@ export declare const CompanySchema: Schema<import("mongoose").Document<unknown,
2761
2761
  notes?: string | undefined;
2762
2762
  }[];
2763
2763
  accountId: string;
2764
+ tenantId?: string | undefined;
2764
2765
  createdAt: Date;
2765
2766
  firebaseUid?: string | undefined;
2766
- tenantId?: string | undefined;
2767
2767
  updatedAt: Date;
2768
2768
  reviewedAt?: Date | undefined;
2769
2769
  reviewedBy?: string | undefined;
@@ -2841,9 +2841,9 @@ export declare const CompanySchema: Schema<import("mongoose").Document<unknown,
2841
2841
  notes?: string | undefined;
2842
2842
  }[];
2843
2843
  accountId: string;
2844
+ tenantId?: string | undefined;
2844
2845
  createdAt: Date;
2845
2846
  firebaseUid?: string | undefined;
2846
- tenantId?: string | undefined;
2847
2847
  updatedAt: Date;
2848
2848
  reviewedAt?: Date | undefined;
2849
2849
  reviewedBy?: string | undefined;
@@ -2921,9 +2921,9 @@ export declare const CompanySchema: Schema<import("mongoose").Document<unknown,
2921
2921
  notes?: string | undefined;
2922
2922
  }[];
2923
2923
  accountId: string;
2924
+ tenantId?: string | undefined;
2924
2925
  createdAt: Date;
2925
2926
  firebaseUid?: string | undefined;
2926
- tenantId?: string | undefined;
2927
2927
  updatedAt: Date;
2928
2928
  reviewedAt?: Date | undefined;
2929
2929
  reviewedBy?: string | undefined;
@@ -3000,9 +3000,9 @@ export declare const CompanySchema: Schema<import("mongoose").Document<unknown,
3000
3000
  notes?: string | undefined;
3001
3001
  }[];
3002
3002
  accountId: string;
3003
+ tenantId?: string | undefined;
3003
3004
  createdAt: Date;
3004
3005
  firebaseUid?: string | undefined;
3005
- tenantId?: string | undefined;
3006
3006
  updatedAt: Date;
3007
3007
  reviewedAt?: Date | undefined;
3008
3008
  reviewedBy?: string | undefined;
@@ -3097,9 +3097,9 @@ export declare const CompanySchema: Schema<import("mongoose").Document<unknown,
3097
3097
  notes?: string | undefined;
3098
3098
  }[];
3099
3099
  accountId: string;
3100
+ tenantId?: string | undefined;
3100
3101
  createdAt: Date;
3101
3102
  firebaseUid?: string | undefined;
3102
- tenantId?: string | undefined;
3103
3103
  updatedAt: Date;
3104
3104
  _id: string;
3105
3105
  reviewedAt?: Date | undefined;
@@ -3179,9 +3179,9 @@ export declare const CompanySchema: Schema<import("mongoose").Document<unknown,
3179
3179
  notes?: string | undefined;
3180
3180
  }[];
3181
3181
  accountId: string;
3182
+ tenantId?: string | undefined;
3182
3183
  createdAt: Date;
3183
3184
  firebaseUid?: string | undefined;
3184
- tenantId?: string | undefined;
3185
3185
  updatedAt: Date;
3186
3186
  _id: string;
3187
3187
  reviewedAt?: Date | undefined;
@@ -3269,9 +3269,9 @@ export declare const CompanySchema: Schema<import("mongoose").Document<unknown,
3269
3269
  notes?: string | undefined;
3270
3270
  }[];
3271
3271
  accountId: string;
3272
+ tenantId?: string | undefined;
3272
3273
  createdAt: Date;
3273
3274
  firebaseUid?: string | undefined;
3274
- tenantId?: string | undefined;
3275
3275
  updatedAt: Date;
3276
3276
  _id: string;
3277
3277
  reviewedAt?: Date | undefined;
@@ -3358,9 +3358,9 @@ export declare const CompanySchema: Schema<import("mongoose").Document<unknown,
3358
3358
  notes?: string | undefined;
3359
3359
  }[];
3360
3360
  accountId: string;
3361
+ tenantId?: string | undefined;
3361
3362
  createdAt: Date;
3362
3363
  firebaseUid?: string | undefined;
3363
- tenantId?: string | undefined;
3364
3364
  updatedAt: Date;
3365
3365
  _id: string;
3366
3366
  reviewedAt?: Date | undefined;
@@ -3438,9 +3438,9 @@ export declare const CompanySchema: Schema<import("mongoose").Document<unknown,
3438
3438
  notes?: string | undefined;
3439
3439
  }[];
3440
3440
  accountId: string;
3441
+ tenantId?: string | undefined;
3441
3442
  createdAt: Date;
3442
3443
  firebaseUid?: string | undefined;
3443
- tenantId?: string | undefined;
3444
3444
  updatedAt: Date;
3445
3445
  _id: string;
3446
3446
  reviewedAt?: Date | undefined;
@@ -3584,9 +3584,9 @@ export declare const CompanySchema: Schema<import("mongoose").Document<unknown,
3584
3584
  notes?: string | undefined;
3585
3585
  }[];
3586
3586
  accountId: string;
3587
+ tenantId?: string | undefined;
3587
3588
  createdAt: Date;
3588
3589
  firebaseUid?: string | undefined;
3589
- tenantId?: string | undefined;
3590
3590
  updatedAt: Date;
3591
3591
  _id: string;
3592
3592
  reviewedAt?: Date | undefined;
@@ -3665,9 +3665,9 @@ export declare const CompanySchema: Schema<import("mongoose").Document<unknown,
3665
3665
  notes?: string | undefined;
3666
3666
  }[];
3667
3667
  accountId: string;
3668
+ tenantId?: string | undefined;
3668
3669
  createdAt: Date;
3669
3670
  firebaseUid?: string | undefined;
3670
- tenantId?: string | undefined;
3671
3671
  updatedAt: Date;
3672
3672
  reviewedAt?: Date | undefined;
3673
3673
  reviewedBy?: string | undefined;
@@ -3766,9 +3766,9 @@ export declare const CompanySchema: Schema<import("mongoose").Document<unknown,
3766
3766
  notes?: string | undefined;
3767
3767
  }[];
3768
3768
  accountId: string;
3769
+ tenantId?: string | undefined;
3769
3770
  createdAt: Date;
3770
3771
  firebaseUid?: string | undefined;
3771
- tenantId?: string | undefined;
3772
3772
  updatedAt: Date;
3773
3773
  _id: string;
3774
3774
  reviewedAt?: Date | undefined;
@@ -3847,9 +3847,9 @@ export declare const CompanySchema: Schema<import("mongoose").Document<unknown,
3847
3847
  notes?: string | undefined;
3848
3848
  }[];
3849
3849
  accountId: string;
3850
+ tenantId?: string | undefined;
3850
3851
  createdAt: Date;
3851
3852
  firebaseUid?: string | undefined;
3852
- tenantId?: string | undefined;
3853
3853
  updatedAt: Date;
3854
3854
  reviewedAt?: Date | undefined;
3855
3855
  reviewedBy?: string | undefined;
@@ -3948,9 +3948,9 @@ export declare const CompanySchema: Schema<import("mongoose").Document<unknown,
3948
3948
  notes?: string | undefined;
3949
3949
  }[];
3950
3950
  accountId: string;
3951
+ tenantId?: string | undefined;
3951
3952
  createdAt: Date;
3952
3953
  firebaseUid?: string | undefined;
3953
- tenantId?: string | undefined;
3954
3954
  updatedAt: Date;
3955
3955
  _id: string;
3956
3956
  reviewedAt?: Date | undefined;
@@ -4029,9 +4029,9 @@ export declare const CompanySchema: Schema<import("mongoose").Document<unknown,
4029
4029
  notes?: string | undefined;
4030
4030
  }[];
4031
4031
  accountId: string;
4032
+ tenantId?: string | undefined;
4032
4033
  createdAt: Date;
4033
4034
  firebaseUid?: string | undefined;
4034
- tenantId?: string | undefined;
4035
4035
  updatedAt: Date;
4036
4036
  reviewedAt?: Date | undefined;
4037
4037
  reviewedBy?: string | undefined;
@@ -4130,9 +4130,9 @@ export declare const CompanySchema: Schema<import("mongoose").Document<unknown,
4130
4130
  notes?: string | undefined;
4131
4131
  }[];
4132
4132
  accountId: string;
4133
+ tenantId?: string | undefined;
4133
4134
  createdAt: Date;
4134
4135
  firebaseUid?: string | undefined;
4135
- tenantId?: string | undefined;
4136
4136
  updatedAt: Date;
4137
4137
  _id: string;
4138
4138
  reviewedAt?: Date | undefined;
@@ -4211,9 +4211,9 @@ export declare const CompanySchema: Schema<import("mongoose").Document<unknown,
4211
4211
  notes?: string | undefined;
4212
4212
  }[];
4213
4213
  accountId: string;
4214
+ tenantId?: string | undefined;
4214
4215
  createdAt: Date;
4215
4216
  firebaseUid?: string | undefined;
4216
- tenantId?: string | undefined;
4217
4217
  updatedAt: Date;
4218
4218
  reviewedAt?: Date | undefined;
4219
4219
  reviewedBy?: string | undefined;
@@ -4311,9 +4311,9 @@ export declare const CompanySchema: Schema<import("mongoose").Document<unknown,
4311
4311
  notes?: string | undefined;
4312
4312
  }[];
4313
4313
  accountId: string;
4314
+ tenantId?: string | undefined;
4314
4315
  createdAt: Date;
4315
4316
  firebaseUid?: string | undefined;
4316
- tenantId?: string | undefined;
4317
4317
  updatedAt: Date;
4318
4318
  reviewedAt?: Date | undefined;
4319
4319
  reviewedBy?: string | undefined;
@@ -4391,9 +4391,9 @@ export declare const CompanySchema: Schema<import("mongoose").Document<unknown,
4391
4391
  notes?: string | undefined;
4392
4392
  }[];
4393
4393
  accountId: string;
4394
+ tenantId?: string | undefined;
4394
4395
  createdAt: Date;
4395
4396
  firebaseUid?: string | undefined;
4396
- tenantId?: string | undefined;
4397
4397
  updatedAt: Date;
4398
4398
  reviewedAt?: Date | undefined;
4399
4399
  reviewedBy?: string | undefined;
@@ -4471,9 +4471,9 @@ export declare const CompanySchema: Schema<import("mongoose").Document<unknown,
4471
4471
  notes?: string | undefined;
4472
4472
  }[];
4473
4473
  accountId: string;
4474
+ tenantId?: string | undefined;
4474
4475
  createdAt: Date;
4475
4476
  firebaseUid?: string | undefined;
4476
- tenantId?: string | undefined;
4477
4477
  updatedAt: Date;
4478
4478
  reviewedAt?: Date | undefined;
4479
4479
  reviewedBy?: string | undefined;
@@ -4550,9 +4550,9 @@ export declare const CompanySchema: Schema<import("mongoose").Document<unknown,
4550
4550
  notes?: string | undefined;
4551
4551
  }[];
4552
4552
  accountId: string;
4553
+ tenantId?: string | undefined;
4553
4554
  createdAt: Date;
4554
4555
  firebaseUid?: string | undefined;
4555
- tenantId?: string | undefined;
4556
4556
  updatedAt: Date;
4557
4557
  reviewedAt?: Date | undefined;
4558
4558
  reviewedBy?: string | undefined;
@@ -4647,9 +4647,9 @@ export declare const CompanySchema: Schema<import("mongoose").Document<unknown,
4647
4647
  notes?: string | undefined;
4648
4648
  }[];
4649
4649
  accountId: string;
4650
+ tenantId?: string | undefined;
4650
4651
  createdAt: Date;
4651
4652
  firebaseUid?: string | undefined;
4652
- tenantId?: string | undefined;
4653
4653
  updatedAt: Date;
4654
4654
  _id: string;
4655
4655
  reviewedAt?: Date | undefined;
@@ -4729,9 +4729,9 @@ export declare const CompanySchema: Schema<import("mongoose").Document<unknown,
4729
4729
  notes?: string | undefined;
4730
4730
  }[];
4731
4731
  accountId: string;
4732
+ tenantId?: string | undefined;
4732
4733
  createdAt: Date;
4733
4734
  firebaseUid?: string | undefined;
4734
- tenantId?: string | undefined;
4735
4735
  updatedAt: Date;
4736
4736
  _id: string;
4737
4737
  reviewedAt?: Date | undefined;
@@ -4819,9 +4819,9 @@ export declare const CompanySchema: Schema<import("mongoose").Document<unknown,
4819
4819
  notes?: string | undefined;
4820
4820
  }[];
4821
4821
  accountId: string;
4822
+ tenantId?: string | undefined;
4822
4823
  createdAt: Date;
4823
4824
  firebaseUid?: string | undefined;
4824
- tenantId?: string | undefined;
4825
4825
  updatedAt: Date;
4826
4826
  _id: string;
4827
4827
  reviewedAt?: Date | undefined;
@@ -4908,9 +4908,9 @@ export declare const CompanySchema: Schema<import("mongoose").Document<unknown,
4908
4908
  notes?: string | undefined;
4909
4909
  }[];
4910
4910
  accountId: string;
4911
+ tenantId?: string | undefined;
4911
4912
  createdAt: Date;
4912
4913
  firebaseUid?: string | undefined;
4913
- tenantId?: string | undefined;
4914
4914
  updatedAt: Date;
4915
4915
  _id: string;
4916
4916
  reviewedAt?: Date | undefined;
@@ -4988,9 +4988,9 @@ export declare const CompanySchema: Schema<import("mongoose").Document<unknown,
4988
4988
  notes?: string | undefined;
4989
4989
  }[];
4990
4990
  accountId: string;
4991
+ tenantId?: string | undefined;
4991
4992
  createdAt: Date;
4992
4993
  firebaseUid?: string | undefined;
4993
- tenantId?: string | undefined;
4994
4994
  updatedAt: Date;
4995
4995
  _id: string;
4996
4996
  reviewedAt?: Date | undefined;
@@ -5098,7 +5098,7 @@ export declare const CompanySchema: Schema<import("mongoose").Document<unknown,
5098
5098
  id: string;
5099
5099
  }> | undefined;
5100
5100
  unmarkModified?: import("mongoose").SchemaDefinitionProperty<{
5101
- <T extends "email" | "phone" | "description" | "status" | "location" | "trustLevel" | "rating" | "activeProfiles" | "successfulMatches" | "name" | "type" | "website" | "references" | "accountId" | "createdAt" | "firebaseUid" | "tenantId" | "updatedAt" | "_id" | "reviewedAt" | "reviewedBy" | "reviewNotes" | "registrationNumber" | "registrationDocument" | "contactEmail" | "contactPhone" | "logoUrl" | "socialMedia" | "serviceAreas" | "yearsInBusiness" | "documentsSubmitted" | "guaranteeStatement" | "rejectionReason" | "totalReviews" | "totalProfilesCreated" | "reportedCount" | "autoApproveProfiles" | "maxConcurrentChats" | "isTmc" | "teamMembers">(path: T): void;
5101
+ <T extends "email" | "phone" | "description" | "status" | "location" | "trustLevel" | "rating" | "activeProfiles" | "successfulMatches" | "name" | "type" | "website" | "references" | "accountId" | "tenantId" | "createdAt" | "firebaseUid" | "updatedAt" | "_id" | "reviewedAt" | "reviewedBy" | "reviewNotes" | "registrationNumber" | "registrationDocument" | "contactEmail" | "contactPhone" | "logoUrl" | "socialMedia" | "serviceAreas" | "yearsInBusiness" | "documentsSubmitted" | "guaranteeStatement" | "rejectionReason" | "totalReviews" | "totalProfilesCreated" | "reportedCount" | "autoApproveProfiles" | "maxConcurrentChats" | "isTmc" | "teamMembers">(path: T): void;
5102
5102
  (path: string): void;
5103
5103
  }, import("mongoose").Document<unknown, {}, Omit<ICompany, "id"> & {
5104
5104
  _id: string;
@@ -5183,7 +5183,7 @@ export declare const CompanySchema: Schema<import("mongoose").Document<unknown,
5183
5183
  id: string;
5184
5184
  }> | undefined;
5185
5185
  validate?: import("mongoose").SchemaDefinitionProperty<{
5186
- <T extends "email" | "phone" | "description" | "status" | "location" | "trustLevel" | "rating" | "activeProfiles" | "successfulMatches" | "name" | "type" | "website" | "references" | "accountId" | "createdAt" | "firebaseUid" | "tenantId" | "updatedAt" | "_id" | "reviewedAt" | "reviewedBy" | "reviewNotes" | "registrationNumber" | "registrationDocument" | "contactEmail" | "contactPhone" | "logoUrl" | "socialMedia" | "serviceAreas" | "yearsInBusiness" | "documentsSubmitted" | "guaranteeStatement" | "rejectionReason" | "totalReviews" | "totalProfilesCreated" | "reportedCount" | "autoApproveProfiles" | "maxConcurrentChats" | "isTmc" | "teamMembers">(pathsToValidate?: T | T[] | undefined, options?: import("mongoose").AnyObject): Promise<void>;
5186
+ <T extends "email" | "phone" | "description" | "status" | "location" | "trustLevel" | "rating" | "activeProfiles" | "successfulMatches" | "name" | "type" | "website" | "references" | "accountId" | "tenantId" | "createdAt" | "firebaseUid" | "updatedAt" | "_id" | "reviewedAt" | "reviewedBy" | "reviewNotes" | "registrationNumber" | "registrationDocument" | "contactEmail" | "contactPhone" | "logoUrl" | "socialMedia" | "serviceAreas" | "yearsInBusiness" | "documentsSubmitted" | "guaranteeStatement" | "rejectionReason" | "totalReviews" | "totalProfilesCreated" | "reportedCount" | "autoApproveProfiles" | "maxConcurrentChats" | "isTmc" | "teamMembers">(pathsToValidate?: T | T[] | undefined, options?: import("mongoose").AnyObject): Promise<void>;
5187
5187
  (pathsToValidate?: import("mongoose").pathsToValidate, options?: import("mongoose").AnyObject): Promise<void>;
5188
5188
  (options: {
5189
5189
  pathsToSkip?: import("mongoose").pathsToSkip;
@@ -5224,7 +5224,7 @@ export declare const CompanySchema: Schema<import("mongoose").Document<unknown,
5224
5224
  pathsToSkip?: import("mongoose").pathsToSkip;
5225
5225
  [k: string]: any;
5226
5226
  }): import("mongoose").Error.ValidationError | null;
5227
- <T extends "email" | "phone" | "description" | "status" | "location" | "trustLevel" | "rating" | "activeProfiles" | "successfulMatches" | "name" | "type" | "website" | "references" | "accountId" | "createdAt" | "firebaseUid" | "tenantId" | "updatedAt" | "_id" | "reviewedAt" | "reviewedBy" | "reviewNotes" | "registrationNumber" | "registrationDocument" | "contactEmail" | "contactPhone" | "logoUrl" | "socialMedia" | "serviceAreas" | "yearsInBusiness" | "documentsSubmitted" | "guaranteeStatement" | "rejectionReason" | "totalReviews" | "totalProfilesCreated" | "reportedCount" | "autoApproveProfiles" | "maxConcurrentChats" | "isTmc" | "teamMembers">(pathsToValidate?: T | T[] | undefined, options?: import("mongoose").AnyObject): import("mongoose").Error.ValidationError | null;
5227
+ <T extends "email" | "phone" | "description" | "status" | "location" | "trustLevel" | "rating" | "activeProfiles" | "successfulMatches" | "name" | "type" | "website" | "references" | "accountId" | "tenantId" | "createdAt" | "firebaseUid" | "updatedAt" | "_id" | "reviewedAt" | "reviewedBy" | "reviewNotes" | "registrationNumber" | "registrationDocument" | "contactEmail" | "contactPhone" | "logoUrl" | "socialMedia" | "serviceAreas" | "yearsInBusiness" | "documentsSubmitted" | "guaranteeStatement" | "rejectionReason" | "totalReviews" | "totalProfilesCreated" | "reportedCount" | "autoApproveProfiles" | "maxConcurrentChats" | "isTmc" | "teamMembers">(pathsToValidate?: T | T[] | undefined, options?: import("mongoose").AnyObject): import("mongoose").Error.ValidationError | null;
5228
5228
  (pathsToValidate?: import("mongoose").pathsToValidate, options?: import("mongoose").AnyObject): import("mongoose").Error.ValidationError | null;
5229
5229
  }, import("mongoose").Document<unknown, {}, Omit<ICompany, "id"> & {
5230
5230
  _id: string;
@@ -5691,7 +5691,7 @@ export declare const CompanySchema: Schema<import("mongoose").Document<unknown,
5691
5691
  } & {
5692
5692
  id: string;
5693
5693
  }> | undefined;
5694
- createdAt?: import("mongoose").SchemaDefinitionProperty<Date, import("mongoose").Document<unknown, {}, Omit<ICompany, "id"> & {
5694
+ tenantId?: import("mongoose").SchemaDefinitionProperty<string | undefined, import("mongoose").Document<unknown, {}, Omit<ICompany, "id"> & {
5695
5695
  _id: string;
5696
5696
  }, {}, import("mongoose").DefaultSchemaOptions> & Omit<ICompany, "id"> & {
5697
5697
  _id: string;
@@ -5722,7 +5722,7 @@ export declare const CompanySchema: Schema<import("mongoose").Document<unknown,
5722
5722
  } & {
5723
5723
  id: string;
5724
5724
  }> | undefined;
5725
- firebaseUid?: import("mongoose").SchemaDefinitionProperty<string | undefined, import("mongoose").Document<unknown, {}, Omit<ICompany, "id"> & {
5725
+ createdAt?: import("mongoose").SchemaDefinitionProperty<Date, import("mongoose").Document<unknown, {}, Omit<ICompany, "id"> & {
5726
5726
  _id: string;
5727
5727
  }, {}, import("mongoose").DefaultSchemaOptions> & Omit<ICompany, "id"> & {
5728
5728
  _id: string;
@@ -5753,7 +5753,7 @@ export declare const CompanySchema: Schema<import("mongoose").Document<unknown,
5753
5753
  } & {
5754
5754
  id: string;
5755
5755
  }> | undefined;
5756
- tenantId?: import("mongoose").SchemaDefinitionProperty<string | undefined, import("mongoose").Document<unknown, {}, Omit<ICompany, "id"> & {
5756
+ firebaseUid?: import("mongoose").SchemaDefinitionProperty<string | undefined, import("mongoose").Document<unknown, {}, Omit<ICompany, "id"> & {
5757
5757
  _id: string;
5758
5758
  }, {}, import("mongoose").DefaultSchemaOptions> & Omit<ICompany, "id"> & {
5759
5759
  _id: string;