@managesome/knotr-toolkit 0.8.18 → 0.8.20

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (59) hide show
  1. package/dist/backend/index.d.ts +2 -2
  2. package/dist/backend/index.d.ts.map +1 -1
  3. package/dist/backend/index.js +1 -1
  4. package/dist/backend/index.js.map +1 -1
  5. package/dist/backend/worker-queue.d.ts +203 -13
  6. package/dist/backend/worker-queue.d.ts.map +1 -1
  7. package/dist/backend/worker-queue.js +67 -12
  8. package/dist/backend/worker-queue.js.map +1 -1
  9. package/dist/constants/worker.d.ts +8 -0
  10. package/dist/constants/worker.d.ts.map +1 -1
  11. package/dist/constants/worker.js +8 -0
  12. package/dist/constants/worker.js.map +1 -1
  13. package/dist/schemas/account.schema.d.ts +66 -66
  14. package/dist/schemas/chat.schema.d.ts +49 -49
  15. package/dist/schemas/chat.schema.d.ts.map +1 -1
  16. package/dist/schemas/collaboration-request.schema.d.ts +84 -84
  17. package/dist/schemas/collaboration-request.schema.d.ts.map +1 -1
  18. package/dist/schemas/company-review.schema.d.ts +83 -83
  19. package/dist/schemas/company-review.schema.d.ts.map +1 -1
  20. package/dist/schemas/company.schema.d.ts +88 -88
  21. package/dist/schemas/company.schema.d.ts.map +1 -1
  22. package/dist/schemas/contract.schema.d.ts +120 -120
  23. package/dist/schemas/contract.schema.d.ts.map +1 -1
  24. package/dist/schemas/dispute.schema.d.ts +84 -84
  25. package/dist/schemas/dispute.schema.d.ts.map +1 -1
  26. package/dist/schemas/donation.schema.d.ts +49 -49
  27. package/dist/schemas/donation.schema.d.ts.map +1 -1
  28. package/dist/schemas/escrow.schema.d.ts +84 -84
  29. package/dist/schemas/escrow.schema.d.ts.map +1 -1
  30. package/dist/schemas/interest.schema.d.ts +87 -87
  31. package/dist/schemas/interest.schema.d.ts.map +1 -1
  32. package/dist/schemas/match.schema.d.ts +87 -87
  33. package/dist/schemas/match.schema.d.ts.map +1 -1
  34. package/dist/schemas/message.schema.d.ts +53 -53
  35. package/dist/schemas/message.schema.d.ts.map +1 -1
  36. package/dist/schemas/milestone.schema.d.ts +48 -48
  37. package/dist/schemas/notification.schema.d.ts +155 -155
  38. package/dist/schemas/notification.schema.d.ts.map +1 -1
  39. package/dist/schemas/profile.schema.d.ts +87 -87
  40. package/dist/schemas/profile.schema.d.ts.map +1 -1
  41. package/dist/schemas/profit-share-agreement.schema.d.ts +48 -48
  42. package/dist/schemas/profit-share.schema.d.ts +48 -48
  43. package/dist/schemas/proposal.schema.d.ts +48 -48
  44. package/dist/schemas/purchase.schema.d.ts +49 -49
  45. package/dist/schemas/purchase.schema.d.ts.map +1 -1
  46. package/dist/schemas/requirement-post.schema.d.ts +84 -84
  47. package/dist/schemas/requirement-post.schema.d.ts.map +1 -1
  48. package/dist/schemas/service-listing.schema.d.ts +48 -48
  49. package/dist/schemas/subscription.schema.d.ts +83 -83
  50. package/dist/schemas/subscription.schema.d.ts.map +1 -1
  51. package/dist/schemas/tmc-application.schema.d.ts +48 -48
  52. package/dist/schemas/tmc-membership.schema.d.ts +48 -48
  53. package/dist/schemas/trust-badge.schema.d.ts +48 -48
  54. package/dist/schemas/verification.schema.d.ts +87 -87
  55. package/dist/schemas/verification.schema.d.ts.map +1 -1
  56. package/dist/schemas/webhook-event.schema.d.ts +48 -48
  57. package/dist/types/worker.d.ts +9 -2
  58. package/dist/types/worker.d.ts.map +1 -1
  59. package/package.json +1 -1
@@ -1080,7 +1080,7 @@ export declare const VerificationSchema: Schema<import("mongoose").Document<unkn
1080
1080
  id: string;
1081
1081
  }> | undefined;
1082
1082
  get?: import("mongoose").SchemaDefinitionProperty<{
1083
- <T extends "status" | "documentType" | "documentNumber" | "verifiedAt" | "createdAt" | "updatedAt" | "_id" | "reviewedAt" | "reviewedBy" | "reviewNotes" | "profileId" | "accountId" | "rejectionReason" | "verifiedBy" | "documentCountry" | "frontImageUrl" | "backImageUrl" | "selfieUrl" | "extractedName" | "extractedDob" | "extractedAddress" | "nameMatchScore" | "dobMatch" | "faceMatchScore" | "documentExpiryDate" | "verificationExpiresAt" | "ipAddress" | "userAgent" | "submissionLocation">(path: T, type?: any, options?: any): (Omit<IVerification, "id"> & {
1083
+ <T extends "status" | "documentType" | "documentNumber" | "verifiedAt" | "accountId" | "profileId" | "createdAt" | "updatedAt" | "_id" | "reviewedAt" | "reviewedBy" | "reviewNotes" | "rejectionReason" | "verifiedBy" | "documentCountry" | "frontImageUrl" | "backImageUrl" | "selfieUrl" | "extractedName" | "extractedDob" | "extractedAddress" | "nameMatchScore" | "dobMatch" | "faceMatchScore" | "documentExpiryDate" | "verificationExpiresAt" | "ipAddress" | "userAgent" | "submissionLocation">(path: T, type?: any, options?: any): (Omit<IVerification, "id"> & {
1084
1084
  _id: string;
1085
1085
  })[T];
1086
1086
  (path: string, type?: any, options?: any): any;
@@ -1239,7 +1239,7 @@ export declare const VerificationSchema: Schema<import("mongoose").Document<unkn
1239
1239
  id: string;
1240
1240
  }> | undefined;
1241
1241
  invalidate?: import("mongoose").SchemaDefinitionProperty<{
1242
- <T extends "status" | "documentType" | "documentNumber" | "verifiedAt" | "createdAt" | "updatedAt" | "_id" | "reviewedAt" | "reviewedBy" | "reviewNotes" | "profileId" | "accountId" | "rejectionReason" | "verifiedBy" | "documentCountry" | "frontImageUrl" | "backImageUrl" | "selfieUrl" | "extractedName" | "extractedDob" | "extractedAddress" | "nameMatchScore" | "dobMatch" | "faceMatchScore" | "documentExpiryDate" | "verificationExpiresAt" | "ipAddress" | "userAgent" | "submissionLocation">(path: T, errorMsg: string | NativeError, value?: any, kind?: string): NativeError | null;
1242
+ <T extends "status" | "documentType" | "documentNumber" | "verifiedAt" | "accountId" | "profileId" | "createdAt" | "updatedAt" | "_id" | "reviewedAt" | "reviewedBy" | "reviewNotes" | "rejectionReason" | "verifiedBy" | "documentCountry" | "frontImageUrl" | "backImageUrl" | "selfieUrl" | "extractedName" | "extractedDob" | "extractedAddress" | "nameMatchScore" | "dobMatch" | "faceMatchScore" | "documentExpiryDate" | "verificationExpiresAt" | "ipAddress" | "userAgent" | "submissionLocation">(path: T, errorMsg: string | NativeError, value?: any, kind?: string): NativeError | null;
1243
1243
  (path: string, errorMsg: string | NativeError, value?: any, kind?: string): NativeError | null;
1244
1244
  }, import("mongoose").Document<unknown, {}, Omit<IVerification, "id"> & {
1245
1245
  _id: string;
@@ -1273,7 +1273,7 @@ export declare const VerificationSchema: Schema<import("mongoose").Document<unkn
1273
1273
  id: string;
1274
1274
  }> | undefined;
1275
1275
  isDirectModified?: import("mongoose").SchemaDefinitionProperty<{
1276
- <T extends "status" | "documentType" | "documentNumber" | "verifiedAt" | "createdAt" | "updatedAt" | "_id" | "reviewedAt" | "reviewedBy" | "reviewNotes" | "profileId" | "accountId" | "rejectionReason" | "verifiedBy" | "documentCountry" | "frontImageUrl" | "backImageUrl" | "selfieUrl" | "extractedName" | "extractedDob" | "extractedAddress" | "nameMatchScore" | "dobMatch" | "faceMatchScore" | "documentExpiryDate" | "verificationExpiresAt" | "ipAddress" | "userAgent" | "submissionLocation">(path: T | T[]): boolean;
1276
+ <T extends "status" | "documentType" | "documentNumber" | "verifiedAt" | "accountId" | "profileId" | "createdAt" | "updatedAt" | "_id" | "reviewedAt" | "reviewedBy" | "reviewNotes" | "rejectionReason" | "verifiedBy" | "documentCountry" | "frontImageUrl" | "backImageUrl" | "selfieUrl" | "extractedName" | "extractedDob" | "extractedAddress" | "nameMatchScore" | "dobMatch" | "faceMatchScore" | "documentExpiryDate" | "verificationExpiresAt" | "ipAddress" | "userAgent" | "submissionLocation">(path: T | T[]): boolean;
1277
1277
  (path: string | Array<string>): boolean;
1278
1278
  }, import("mongoose").Document<unknown, {}, Omit<IVerification, "id"> & {
1279
1279
  _id: string;
@@ -1307,7 +1307,7 @@ export declare const VerificationSchema: Schema<import("mongoose").Document<unkn
1307
1307
  id: string;
1308
1308
  }> | undefined;
1309
1309
  isDirectSelected?: import("mongoose").SchemaDefinitionProperty<{
1310
- <T extends "status" | "documentType" | "documentNumber" | "verifiedAt" | "createdAt" | "updatedAt" | "_id" | "reviewedAt" | "reviewedBy" | "reviewNotes" | "profileId" | "accountId" | "rejectionReason" | "verifiedBy" | "documentCountry" | "frontImageUrl" | "backImageUrl" | "selfieUrl" | "extractedName" | "extractedDob" | "extractedAddress" | "nameMatchScore" | "dobMatch" | "faceMatchScore" | "documentExpiryDate" | "verificationExpiresAt" | "ipAddress" | "userAgent" | "submissionLocation">(path: T): boolean;
1310
+ <T extends "status" | "documentType" | "documentNumber" | "verifiedAt" | "accountId" | "profileId" | "createdAt" | "updatedAt" | "_id" | "reviewedAt" | "reviewedBy" | "reviewNotes" | "rejectionReason" | "verifiedBy" | "documentCountry" | "frontImageUrl" | "backImageUrl" | "selfieUrl" | "extractedName" | "extractedDob" | "extractedAddress" | "nameMatchScore" | "dobMatch" | "faceMatchScore" | "documentExpiryDate" | "verificationExpiresAt" | "ipAddress" | "userAgent" | "submissionLocation">(path: T): boolean;
1311
1311
  (path: string): boolean;
1312
1312
  }, import("mongoose").Document<unknown, {}, Omit<IVerification, "id"> & {
1313
1313
  _id: string;
@@ -1341,7 +1341,7 @@ export declare const VerificationSchema: Schema<import("mongoose").Document<unkn
1341
1341
  id: string;
1342
1342
  }> | undefined;
1343
1343
  isInit?: import("mongoose").SchemaDefinitionProperty<{
1344
- <T extends "status" | "documentType" | "documentNumber" | "verifiedAt" | "createdAt" | "updatedAt" | "_id" | "reviewedAt" | "reviewedBy" | "reviewNotes" | "profileId" | "accountId" | "rejectionReason" | "verifiedBy" | "documentCountry" | "frontImageUrl" | "backImageUrl" | "selfieUrl" | "extractedName" | "extractedDob" | "extractedAddress" | "nameMatchScore" | "dobMatch" | "faceMatchScore" | "documentExpiryDate" | "verificationExpiresAt" | "ipAddress" | "userAgent" | "submissionLocation">(path: T): boolean;
1344
+ <T extends "status" | "documentType" | "documentNumber" | "verifiedAt" | "accountId" | "profileId" | "createdAt" | "updatedAt" | "_id" | "reviewedAt" | "reviewedBy" | "reviewNotes" | "rejectionReason" | "verifiedBy" | "documentCountry" | "frontImageUrl" | "backImageUrl" | "selfieUrl" | "extractedName" | "extractedDob" | "extractedAddress" | "nameMatchScore" | "dobMatch" | "faceMatchScore" | "documentExpiryDate" | "verificationExpiresAt" | "ipAddress" | "userAgent" | "submissionLocation">(path: T): boolean;
1345
1345
  (path: string): boolean;
1346
1346
  }, import("mongoose").Document<unknown, {}, Omit<IVerification, "id"> & {
1347
1347
  _id: string;
@@ -1375,7 +1375,7 @@ export declare const VerificationSchema: Schema<import("mongoose").Document<unkn
1375
1375
  id: string;
1376
1376
  }> | undefined;
1377
1377
  isModified?: import("mongoose").SchemaDefinitionProperty<{
1378
- <T extends "status" | "documentType" | "documentNumber" | "verifiedAt" | "createdAt" | "updatedAt" | "_id" | "reviewedAt" | "reviewedBy" | "reviewNotes" | "profileId" | "accountId" | "rejectionReason" | "verifiedBy" | "documentCountry" | "frontImageUrl" | "backImageUrl" | "selfieUrl" | "extractedName" | "extractedDob" | "extractedAddress" | "nameMatchScore" | "dobMatch" | "faceMatchScore" | "documentExpiryDate" | "verificationExpiresAt" | "ipAddress" | "userAgent" | "submissionLocation">(path?: T | T[] | undefined, options?: {
1378
+ <T extends "status" | "documentType" | "documentNumber" | "verifiedAt" | "accountId" | "profileId" | "createdAt" | "updatedAt" | "_id" | "reviewedAt" | "reviewedBy" | "reviewNotes" | "rejectionReason" | "verifiedBy" | "documentCountry" | "frontImageUrl" | "backImageUrl" | "selfieUrl" | "extractedName" | "extractedDob" | "extractedAddress" | "nameMatchScore" | "dobMatch" | "faceMatchScore" | "documentExpiryDate" | "verificationExpiresAt" | "ipAddress" | "userAgent" | "submissionLocation">(path?: T | T[] | undefined, options?: {
1379
1379
  ignoreAtomics?: boolean;
1380
1380
  } | null): boolean;
1381
1381
  (path?: string | Array<string>, options?: {
@@ -1444,7 +1444,7 @@ export declare const VerificationSchema: Schema<import("mongoose").Document<unkn
1444
1444
  id: string;
1445
1445
  }> | undefined;
1446
1446
  isSelected?: import("mongoose").SchemaDefinitionProperty<{
1447
- <T extends "status" | "documentType" | "documentNumber" | "verifiedAt" | "createdAt" | "updatedAt" | "_id" | "reviewedAt" | "reviewedBy" | "reviewNotes" | "profileId" | "accountId" | "rejectionReason" | "verifiedBy" | "documentCountry" | "frontImageUrl" | "backImageUrl" | "selfieUrl" | "extractedName" | "extractedDob" | "extractedAddress" | "nameMatchScore" | "dobMatch" | "faceMatchScore" | "documentExpiryDate" | "verificationExpiresAt" | "ipAddress" | "userAgent" | "submissionLocation">(path: T): boolean;
1447
+ <T extends "status" | "documentType" | "documentNumber" | "verifiedAt" | "accountId" | "profileId" | "createdAt" | "updatedAt" | "_id" | "reviewedAt" | "reviewedBy" | "reviewNotes" | "rejectionReason" | "verifiedBy" | "documentCountry" | "frontImageUrl" | "backImageUrl" | "selfieUrl" | "extractedName" | "extractedDob" | "extractedAddress" | "nameMatchScore" | "dobMatch" | "faceMatchScore" | "documentExpiryDate" | "verificationExpiresAt" | "ipAddress" | "userAgent" | "submissionLocation">(path: T): boolean;
1448
1448
  (path: string): boolean;
1449
1449
  }, import("mongoose").Document<unknown, {}, Omit<IVerification, "id"> & {
1450
1450
  _id: string;
@@ -1478,7 +1478,7 @@ export declare const VerificationSchema: Schema<import("mongoose").Document<unkn
1478
1478
  id: string;
1479
1479
  }> | undefined;
1480
1480
  markModified?: import("mongoose").SchemaDefinitionProperty<{
1481
- <T extends "status" | "documentType" | "documentNumber" | "verifiedAt" | "createdAt" | "updatedAt" | "_id" | "reviewedAt" | "reviewedBy" | "reviewNotes" | "profileId" | "accountId" | "rejectionReason" | "verifiedBy" | "documentCountry" | "frontImageUrl" | "backImageUrl" | "selfieUrl" | "extractedName" | "extractedDob" | "extractedAddress" | "nameMatchScore" | "dobMatch" | "faceMatchScore" | "documentExpiryDate" | "verificationExpiresAt" | "ipAddress" | "userAgent" | "submissionLocation">(path: T, scope?: any): void;
1481
+ <T extends "status" | "documentType" | "documentNumber" | "verifiedAt" | "accountId" | "profileId" | "createdAt" | "updatedAt" | "_id" | "reviewedAt" | "reviewedBy" | "reviewNotes" | "rejectionReason" | "verifiedBy" | "documentCountry" | "frontImageUrl" | "backImageUrl" | "selfieUrl" | "extractedName" | "extractedDob" | "extractedAddress" | "nameMatchScore" | "dobMatch" | "faceMatchScore" | "documentExpiryDate" | "verificationExpiresAt" | "ipAddress" | "userAgent" | "submissionLocation">(path: T, scope?: any): void;
1482
1482
  (path: string, scope?: any): void;
1483
1483
  }, import("mongoose").Document<unknown, {}, Omit<IVerification, "id"> & {
1484
1484
  _id: string;
@@ -1917,7 +1917,7 @@ export declare const VerificationSchema: Schema<import("mongoose").Document<unkn
1917
1917
  id: string;
1918
1918
  }> | undefined;
1919
1919
  set?: import("mongoose").SchemaDefinitionProperty<{
1920
- <T extends "status" | "documentType" | "documentNumber" | "verifiedAt" | "createdAt" | "updatedAt" | "_id" | "reviewedAt" | "reviewedBy" | "reviewNotes" | "profileId" | "accountId" | "rejectionReason" | "verifiedBy" | "documentCountry" | "frontImageUrl" | "backImageUrl" | "selfieUrl" | "extractedName" | "extractedDob" | "extractedAddress" | "nameMatchScore" | "dobMatch" | "faceMatchScore" | "documentExpiryDate" | "verificationExpiresAt" | "ipAddress" | "userAgent" | "submissionLocation">(path: T, val: (Omit<IVerification, "id"> & {
1920
+ <T extends "status" | "documentType" | "documentNumber" | "verifiedAt" | "accountId" | "profileId" | "createdAt" | "updatedAt" | "_id" | "reviewedAt" | "reviewedBy" | "reviewNotes" | "rejectionReason" | "verifiedBy" | "documentCountry" | "frontImageUrl" | "backImageUrl" | "selfieUrl" | "extractedName" | "extractedDob" | "extractedAddress" | "nameMatchScore" | "dobMatch" | "faceMatchScore" | "documentExpiryDate" | "verificationExpiresAt" | "ipAddress" | "userAgent" | "submissionLocation">(path: T, val: (Omit<IVerification, "id"> & {
1921
1921
  _id: string;
1922
1922
  })[T], type: any, options?: import("mongoose").DocumentSetOptions): import("mongoose").Document<unknown, {}, Omit<IVerification, "id"> & {
1923
1923
  _id: string;
@@ -2005,14 +2005,14 @@ export declare const VerificationSchema: Schema<import("mongoose").Document<unkn
2005
2005
  documentType: IdDocumentType;
2006
2006
  documentNumber: string;
2007
2007
  verifiedAt?: Date | undefined;
2008
+ accountId: string;
2009
+ profileId: string;
2008
2010
  createdAt: Date;
2009
2011
  updatedAt: Date;
2010
2012
  _id: string;
2011
2013
  reviewedAt?: Date | undefined;
2012
2014
  reviewedBy?: string | undefined;
2013
2015
  reviewNotes?: string | undefined;
2014
- profileId: string;
2015
- accountId: string;
2016
2016
  rejectionReason?: string | undefined;
2017
2017
  verifiedBy?: string | undefined;
2018
2018
  documentCountry: string;
@@ -2043,13 +2043,13 @@ export declare const VerificationSchema: Schema<import("mongoose").Document<unkn
2043
2043
  documentType: IdDocumentType;
2044
2044
  documentNumber: string;
2045
2045
  verifiedAt?: Date | undefined;
2046
+ accountId: string;
2047
+ profileId: string;
2046
2048
  createdAt: Date;
2047
2049
  updatedAt: Date;
2048
2050
  reviewedAt?: Date | undefined;
2049
2051
  reviewedBy?: string | undefined;
2050
2052
  reviewNotes?: string | undefined;
2051
- profileId: string;
2052
- accountId: string;
2053
2053
  rejectionReason?: string | undefined;
2054
2054
  verifiedBy?: string | undefined;
2055
2055
  documentCountry: string;
@@ -2101,14 +2101,14 @@ export declare const VerificationSchema: Schema<import("mongoose").Document<unkn
2101
2101
  documentType: IdDocumentType;
2102
2102
  documentNumber: string;
2103
2103
  verifiedAt?: Date | undefined;
2104
+ accountId: string;
2105
+ profileId: string;
2104
2106
  createdAt: Date;
2105
2107
  updatedAt: Date;
2106
2108
  _id: string;
2107
2109
  reviewedAt?: Date | undefined;
2108
2110
  reviewedBy?: string | undefined;
2109
2111
  reviewNotes?: string | undefined;
2110
- profileId: string;
2111
- accountId: string;
2112
2112
  rejectionReason?: string | undefined;
2113
2113
  verifiedBy?: string | undefined;
2114
2114
  documentCountry: string;
@@ -2139,13 +2139,13 @@ export declare const VerificationSchema: Schema<import("mongoose").Document<unkn
2139
2139
  documentType: IdDocumentType;
2140
2140
  documentNumber: string;
2141
2141
  verifiedAt?: Date | undefined;
2142
+ accountId: string;
2143
+ profileId: string;
2142
2144
  createdAt: Date;
2143
2145
  updatedAt: Date;
2144
2146
  reviewedAt?: Date | undefined;
2145
2147
  reviewedBy?: string | undefined;
2146
2148
  reviewNotes?: string | undefined;
2147
- profileId: string;
2148
- accountId: string;
2149
2149
  rejectionReason?: string | undefined;
2150
2150
  verifiedBy?: string | undefined;
2151
2151
  documentCountry: string;
@@ -2197,14 +2197,14 @@ export declare const VerificationSchema: Schema<import("mongoose").Document<unkn
2197
2197
  documentType: IdDocumentType;
2198
2198
  documentNumber: string;
2199
2199
  verifiedAt?: Date | undefined;
2200
+ accountId: string;
2201
+ profileId: string;
2200
2202
  createdAt: Date;
2201
2203
  updatedAt: Date;
2202
2204
  _id: string;
2203
2205
  reviewedAt?: Date | undefined;
2204
2206
  reviewedBy?: string | undefined;
2205
2207
  reviewNotes?: string | undefined;
2206
- profileId: string;
2207
- accountId: string;
2208
2208
  rejectionReason?: string | undefined;
2209
2209
  verifiedBy?: string | undefined;
2210
2210
  documentCountry: string;
@@ -2235,13 +2235,13 @@ export declare const VerificationSchema: Schema<import("mongoose").Document<unkn
2235
2235
  documentType: IdDocumentType;
2236
2236
  documentNumber: string;
2237
2237
  verifiedAt?: Date | undefined;
2238
+ accountId: string;
2239
+ profileId: string;
2238
2240
  createdAt: Date;
2239
2241
  updatedAt: Date;
2240
2242
  reviewedAt?: Date | undefined;
2241
2243
  reviewedBy?: string | undefined;
2242
2244
  reviewNotes?: string | undefined;
2243
- profileId: string;
2244
- accountId: string;
2245
2245
  rejectionReason?: string | undefined;
2246
2246
  verifiedBy?: string | undefined;
2247
2247
  documentCountry: string;
@@ -2293,14 +2293,14 @@ export declare const VerificationSchema: Schema<import("mongoose").Document<unkn
2293
2293
  documentType: IdDocumentType;
2294
2294
  documentNumber: string;
2295
2295
  verifiedAt?: Date | undefined;
2296
+ accountId: string;
2297
+ profileId: string;
2296
2298
  createdAt: Date;
2297
2299
  updatedAt: Date;
2298
2300
  _id: string;
2299
2301
  reviewedAt?: Date | undefined;
2300
2302
  reviewedBy?: string | undefined;
2301
2303
  reviewNotes?: string | undefined;
2302
- profileId: string;
2303
- accountId: string;
2304
2304
  rejectionReason?: string | undefined;
2305
2305
  verifiedBy?: string | undefined;
2306
2306
  documentCountry: string;
@@ -2331,13 +2331,13 @@ export declare const VerificationSchema: Schema<import("mongoose").Document<unkn
2331
2331
  documentType: IdDocumentType;
2332
2332
  documentNumber: string;
2333
2333
  verifiedAt?: Date | undefined;
2334
+ accountId: string;
2335
+ profileId: string;
2334
2336
  createdAt: Date;
2335
2337
  updatedAt: Date;
2336
2338
  reviewedAt?: Date | undefined;
2337
2339
  reviewedBy?: string | undefined;
2338
2340
  reviewNotes?: string | undefined;
2339
- profileId: string;
2340
- accountId: string;
2341
2341
  rejectionReason?: string | undefined;
2342
2342
  verifiedBy?: string | undefined;
2343
2343
  documentCountry: string;
@@ -2388,13 +2388,13 @@ export declare const VerificationSchema: Schema<import("mongoose").Document<unkn
2388
2388
  documentType: IdDocumentType;
2389
2389
  documentNumber: string;
2390
2390
  verifiedAt?: Date | undefined;
2391
+ accountId: string;
2392
+ profileId: string;
2391
2393
  createdAt: Date;
2392
2394
  updatedAt: Date;
2393
2395
  reviewedAt?: Date | undefined;
2394
2396
  reviewedBy?: string | undefined;
2395
2397
  reviewNotes?: string | undefined;
2396
- profileId: string;
2397
- accountId: string;
2398
2398
  rejectionReason?: string | undefined;
2399
2399
  verifiedBy?: string | undefined;
2400
2400
  documentCountry: string;
@@ -2425,13 +2425,13 @@ export declare const VerificationSchema: Schema<import("mongoose").Document<unkn
2425
2425
  documentType: IdDocumentType;
2426
2426
  documentNumber: string;
2427
2427
  verifiedAt?: Date | undefined;
2428
+ accountId: string;
2429
+ profileId: string;
2428
2430
  createdAt: Date;
2429
2431
  updatedAt: Date;
2430
2432
  reviewedAt?: Date | undefined;
2431
2433
  reviewedBy?: string | undefined;
2432
2434
  reviewNotes?: string | undefined;
2433
- profileId: string;
2434
- accountId: string;
2435
2435
  rejectionReason?: string | undefined;
2436
2436
  verifiedBy?: string | undefined;
2437
2437
  documentCountry: string;
@@ -2462,13 +2462,13 @@ export declare const VerificationSchema: Schema<import("mongoose").Document<unkn
2462
2462
  documentType: IdDocumentType;
2463
2463
  documentNumber: string;
2464
2464
  verifiedAt?: Date | undefined;
2465
+ accountId: string;
2466
+ profileId: string;
2465
2467
  createdAt: Date;
2466
2468
  updatedAt: Date;
2467
2469
  reviewedAt?: Date | undefined;
2468
2470
  reviewedBy?: string | undefined;
2469
2471
  reviewNotes?: string | undefined;
2470
- profileId: string;
2471
- accountId: string;
2472
2472
  rejectionReason?: string | undefined;
2473
2473
  verifiedBy?: string | undefined;
2474
2474
  documentCountry: string;
@@ -2498,13 +2498,13 @@ export declare const VerificationSchema: Schema<import("mongoose").Document<unkn
2498
2498
  documentType: IdDocumentType;
2499
2499
  documentNumber: string;
2500
2500
  verifiedAt?: Date | undefined;
2501
+ accountId: string;
2502
+ profileId: string;
2501
2503
  createdAt: Date;
2502
2504
  updatedAt: Date;
2503
2505
  reviewedAt?: Date | undefined;
2504
2506
  reviewedBy?: string | undefined;
2505
2507
  reviewNotes?: string | undefined;
2506
- profileId: string;
2507
- accountId: string;
2508
2508
  rejectionReason?: string | undefined;
2509
2509
  verifiedBy?: string | undefined;
2510
2510
  documentCountry: string;
@@ -2552,14 +2552,14 @@ export declare const VerificationSchema: Schema<import("mongoose").Document<unkn
2552
2552
  documentType: IdDocumentType;
2553
2553
  documentNumber: string;
2554
2554
  verifiedAt?: Date | undefined;
2555
+ accountId: string;
2556
+ profileId: string;
2555
2557
  createdAt: Date;
2556
2558
  updatedAt: Date;
2557
2559
  _id: string;
2558
2560
  reviewedAt?: Date | undefined;
2559
2561
  reviewedBy?: string | undefined;
2560
2562
  reviewNotes?: string | undefined;
2561
- profileId: string;
2562
- accountId: string;
2563
2563
  rejectionReason?: string | undefined;
2564
2564
  verifiedBy?: string | undefined;
2565
2565
  documentCountry: string;
@@ -2591,14 +2591,14 @@ export declare const VerificationSchema: Schema<import("mongoose").Document<unkn
2591
2591
  documentType: IdDocumentType;
2592
2592
  documentNumber: string;
2593
2593
  verifiedAt?: Date | undefined;
2594
+ accountId: string;
2595
+ profileId: string;
2594
2596
  createdAt: Date;
2595
2597
  updatedAt: Date;
2596
2598
  _id: string;
2597
2599
  reviewedAt?: Date | undefined;
2598
2600
  reviewedBy?: string | undefined;
2599
2601
  reviewNotes?: string | undefined;
2600
- profileId: string;
2601
- accountId: string;
2602
2602
  rejectionReason?: string | undefined;
2603
2603
  verifiedBy?: string | undefined;
2604
2604
  documentCountry: string;
@@ -2638,14 +2638,14 @@ export declare const VerificationSchema: Schema<import("mongoose").Document<unkn
2638
2638
  documentType: IdDocumentType;
2639
2639
  documentNumber: string;
2640
2640
  verifiedAt?: Date | undefined;
2641
+ accountId: string;
2642
+ profileId: string;
2641
2643
  createdAt: Date;
2642
2644
  updatedAt: Date;
2643
2645
  _id: string;
2644
2646
  reviewedAt?: Date | undefined;
2645
2647
  reviewedBy?: string | undefined;
2646
2648
  reviewNotes?: string | undefined;
2647
- profileId: string;
2648
- accountId: string;
2649
2649
  rejectionReason?: string | undefined;
2650
2650
  verifiedBy?: string | undefined;
2651
2651
  documentCountry: string;
@@ -2684,14 +2684,14 @@ export declare const VerificationSchema: Schema<import("mongoose").Document<unkn
2684
2684
  documentType: IdDocumentType;
2685
2685
  documentNumber: string;
2686
2686
  verifiedAt?: Date | undefined;
2687
+ accountId: string;
2688
+ profileId: string;
2687
2689
  createdAt: Date;
2688
2690
  updatedAt: Date;
2689
2691
  _id: string;
2690
2692
  reviewedAt?: Date | undefined;
2691
2693
  reviewedBy?: string | undefined;
2692
2694
  reviewNotes?: string | undefined;
2693
- profileId: string;
2694
- accountId: string;
2695
2695
  rejectionReason?: string | undefined;
2696
2696
  verifiedBy?: string | undefined;
2697
2697
  documentCountry: string;
@@ -2721,14 +2721,14 @@ export declare const VerificationSchema: Schema<import("mongoose").Document<unkn
2721
2721
  documentType: IdDocumentType;
2722
2722
  documentNumber: string;
2723
2723
  verifiedAt?: Date | undefined;
2724
+ accountId: string;
2725
+ profileId: string;
2724
2726
  createdAt: Date;
2725
2727
  updatedAt: Date;
2726
2728
  _id: string;
2727
2729
  reviewedAt?: Date | undefined;
2728
2730
  reviewedBy?: string | undefined;
2729
2731
  reviewNotes?: string | undefined;
2730
- profileId: string;
2731
- accountId: string;
2732
2732
  rejectionReason?: string | undefined;
2733
2733
  verifiedBy?: string | undefined;
2734
2734
  documentCountry: string;
@@ -2824,14 +2824,14 @@ export declare const VerificationSchema: Schema<import("mongoose").Document<unkn
2824
2824
  documentType: IdDocumentType;
2825
2825
  documentNumber: string;
2826
2826
  verifiedAt?: Date | undefined;
2827
+ accountId: string;
2828
+ profileId: string;
2827
2829
  createdAt: Date;
2828
2830
  updatedAt: Date;
2829
2831
  _id: string;
2830
2832
  reviewedAt?: Date | undefined;
2831
2833
  reviewedBy?: string | undefined;
2832
2834
  reviewNotes?: string | undefined;
2833
- profileId: string;
2834
- accountId: string;
2835
2835
  rejectionReason?: string | undefined;
2836
2836
  verifiedBy?: string | undefined;
2837
2837
  documentCountry: string;
@@ -2862,13 +2862,13 @@ export declare const VerificationSchema: Schema<import("mongoose").Document<unkn
2862
2862
  documentType: IdDocumentType;
2863
2863
  documentNumber: string;
2864
2864
  verifiedAt?: Date | undefined;
2865
+ accountId: string;
2866
+ profileId: string;
2865
2867
  createdAt: Date;
2866
2868
  updatedAt: Date;
2867
2869
  reviewedAt?: Date | undefined;
2868
2870
  reviewedBy?: string | undefined;
2869
2871
  reviewNotes?: string | undefined;
2870
- profileId: string;
2871
- accountId: string;
2872
2872
  rejectionReason?: string | undefined;
2873
2873
  verifiedBy?: string | undefined;
2874
2874
  documentCountry: string;
@@ -2920,14 +2920,14 @@ export declare const VerificationSchema: Schema<import("mongoose").Document<unkn
2920
2920
  documentType: IdDocumentType;
2921
2921
  documentNumber: string;
2922
2922
  verifiedAt?: Date | undefined;
2923
+ accountId: string;
2924
+ profileId: string;
2923
2925
  createdAt: Date;
2924
2926
  updatedAt: Date;
2925
2927
  _id: string;
2926
2928
  reviewedAt?: Date | undefined;
2927
2929
  reviewedBy?: string | undefined;
2928
2930
  reviewNotes?: string | undefined;
2929
- profileId: string;
2930
- accountId: string;
2931
2931
  rejectionReason?: string | undefined;
2932
2932
  verifiedBy?: string | undefined;
2933
2933
  documentCountry: string;
@@ -2958,13 +2958,13 @@ export declare const VerificationSchema: Schema<import("mongoose").Document<unkn
2958
2958
  documentType: IdDocumentType;
2959
2959
  documentNumber: string;
2960
2960
  verifiedAt?: Date | undefined;
2961
+ accountId: string;
2962
+ profileId: string;
2961
2963
  createdAt: Date;
2962
2964
  updatedAt: Date;
2963
2965
  reviewedAt?: Date | undefined;
2964
2966
  reviewedBy?: string | undefined;
2965
2967
  reviewNotes?: string | undefined;
2966
- profileId: string;
2967
- accountId: string;
2968
2968
  rejectionReason?: string | undefined;
2969
2969
  verifiedBy?: string | undefined;
2970
2970
  documentCountry: string;
@@ -3016,14 +3016,14 @@ export declare const VerificationSchema: Schema<import("mongoose").Document<unkn
3016
3016
  documentType: IdDocumentType;
3017
3017
  documentNumber: string;
3018
3018
  verifiedAt?: Date | undefined;
3019
+ accountId: string;
3020
+ profileId: string;
3019
3021
  createdAt: Date;
3020
3022
  updatedAt: Date;
3021
3023
  _id: string;
3022
3024
  reviewedAt?: Date | undefined;
3023
3025
  reviewedBy?: string | undefined;
3024
3026
  reviewNotes?: string | undefined;
3025
- profileId: string;
3026
- accountId: string;
3027
3027
  rejectionReason?: string | undefined;
3028
3028
  verifiedBy?: string | undefined;
3029
3029
  documentCountry: string;
@@ -3054,13 +3054,13 @@ export declare const VerificationSchema: Schema<import("mongoose").Document<unkn
3054
3054
  documentType: IdDocumentType;
3055
3055
  documentNumber: string;
3056
3056
  verifiedAt?: Date | undefined;
3057
+ accountId: string;
3058
+ profileId: string;
3057
3059
  createdAt: Date;
3058
3060
  updatedAt: Date;
3059
3061
  reviewedAt?: Date | undefined;
3060
3062
  reviewedBy?: string | undefined;
3061
3063
  reviewNotes?: string | undefined;
3062
- profileId: string;
3063
- accountId: string;
3064
3064
  rejectionReason?: string | undefined;
3065
3065
  verifiedBy?: string | undefined;
3066
3066
  documentCountry: string;
@@ -3112,14 +3112,14 @@ export declare const VerificationSchema: Schema<import("mongoose").Document<unkn
3112
3112
  documentType: IdDocumentType;
3113
3113
  documentNumber: string;
3114
3114
  verifiedAt?: Date | undefined;
3115
+ accountId: string;
3116
+ profileId: string;
3115
3117
  createdAt: Date;
3116
3118
  updatedAt: Date;
3117
3119
  _id: string;
3118
3120
  reviewedAt?: Date | undefined;
3119
3121
  reviewedBy?: string | undefined;
3120
3122
  reviewNotes?: string | undefined;
3121
- profileId: string;
3122
- accountId: string;
3123
3123
  rejectionReason?: string | undefined;
3124
3124
  verifiedBy?: string | undefined;
3125
3125
  documentCountry: string;
@@ -3150,13 +3150,13 @@ export declare const VerificationSchema: Schema<import("mongoose").Document<unkn
3150
3150
  documentType: IdDocumentType;
3151
3151
  documentNumber: string;
3152
3152
  verifiedAt?: Date | undefined;
3153
+ accountId: string;
3154
+ profileId: string;
3153
3155
  createdAt: Date;
3154
3156
  updatedAt: Date;
3155
3157
  reviewedAt?: Date | undefined;
3156
3158
  reviewedBy?: string | undefined;
3157
3159
  reviewNotes?: string | undefined;
3158
- profileId: string;
3159
- accountId: string;
3160
3160
  rejectionReason?: string | undefined;
3161
3161
  verifiedBy?: string | undefined;
3162
3162
  documentCountry: string;
@@ -3207,13 +3207,13 @@ export declare const VerificationSchema: Schema<import("mongoose").Document<unkn
3207
3207
  documentType: IdDocumentType;
3208
3208
  documentNumber: string;
3209
3209
  verifiedAt?: Date | undefined;
3210
+ accountId: string;
3211
+ profileId: string;
3210
3212
  createdAt: Date;
3211
3213
  updatedAt: Date;
3212
3214
  reviewedAt?: Date | undefined;
3213
3215
  reviewedBy?: string | undefined;
3214
3216
  reviewNotes?: string | undefined;
3215
- profileId: string;
3216
- accountId: string;
3217
3217
  rejectionReason?: string | undefined;
3218
3218
  verifiedBy?: string | undefined;
3219
3219
  documentCountry: string;
@@ -3244,13 +3244,13 @@ export declare const VerificationSchema: Schema<import("mongoose").Document<unkn
3244
3244
  documentType: IdDocumentType;
3245
3245
  documentNumber: string;
3246
3246
  verifiedAt?: Date | undefined;
3247
+ accountId: string;
3248
+ profileId: string;
3247
3249
  createdAt: Date;
3248
3250
  updatedAt: Date;
3249
3251
  reviewedAt?: Date | undefined;
3250
3252
  reviewedBy?: string | undefined;
3251
3253
  reviewNotes?: string | undefined;
3252
- profileId: string;
3253
- accountId: string;
3254
3254
  rejectionReason?: string | undefined;
3255
3255
  verifiedBy?: string | undefined;
3256
3256
  documentCountry: string;
@@ -3281,13 +3281,13 @@ export declare const VerificationSchema: Schema<import("mongoose").Document<unkn
3281
3281
  documentType: IdDocumentType;
3282
3282
  documentNumber: string;
3283
3283
  verifiedAt?: Date | undefined;
3284
+ accountId: string;
3285
+ profileId: string;
3284
3286
  createdAt: Date;
3285
3287
  updatedAt: Date;
3286
3288
  reviewedAt?: Date | undefined;
3287
3289
  reviewedBy?: string | undefined;
3288
3290
  reviewNotes?: string | undefined;
3289
- profileId: string;
3290
- accountId: string;
3291
3291
  rejectionReason?: string | undefined;
3292
3292
  verifiedBy?: string | undefined;
3293
3293
  documentCountry: string;
@@ -3317,13 +3317,13 @@ export declare const VerificationSchema: Schema<import("mongoose").Document<unkn
3317
3317
  documentType: IdDocumentType;
3318
3318
  documentNumber: string;
3319
3319
  verifiedAt?: Date | undefined;
3320
+ accountId: string;
3321
+ profileId: string;
3320
3322
  createdAt: Date;
3321
3323
  updatedAt: Date;
3322
3324
  reviewedAt?: Date | undefined;
3323
3325
  reviewedBy?: string | undefined;
3324
3326
  reviewNotes?: string | undefined;
3325
- profileId: string;
3326
- accountId: string;
3327
3327
  rejectionReason?: string | undefined;
3328
3328
  verifiedBy?: string | undefined;
3329
3329
  documentCountry: string;
@@ -3371,14 +3371,14 @@ export declare const VerificationSchema: Schema<import("mongoose").Document<unkn
3371
3371
  documentType: IdDocumentType;
3372
3372
  documentNumber: string;
3373
3373
  verifiedAt?: Date | undefined;
3374
+ accountId: string;
3375
+ profileId: string;
3374
3376
  createdAt: Date;
3375
3377
  updatedAt: Date;
3376
3378
  _id: string;
3377
3379
  reviewedAt?: Date | undefined;
3378
3380
  reviewedBy?: string | undefined;
3379
3381
  reviewNotes?: string | undefined;
3380
- profileId: string;
3381
- accountId: string;
3382
3382
  rejectionReason?: string | undefined;
3383
3383
  verifiedBy?: string | undefined;
3384
3384
  documentCountry: string;
@@ -3410,14 +3410,14 @@ export declare const VerificationSchema: Schema<import("mongoose").Document<unkn
3410
3410
  documentType: IdDocumentType;
3411
3411
  documentNumber: string;
3412
3412
  verifiedAt?: Date | undefined;
3413
+ accountId: string;
3414
+ profileId: string;
3413
3415
  createdAt: Date;
3414
3416
  updatedAt: Date;
3415
3417
  _id: string;
3416
3418
  reviewedAt?: Date | undefined;
3417
3419
  reviewedBy?: string | undefined;
3418
3420
  reviewNotes?: string | undefined;
3419
- profileId: string;
3420
- accountId: string;
3421
3421
  rejectionReason?: string | undefined;
3422
3422
  verifiedBy?: string | undefined;
3423
3423
  documentCountry: string;
@@ -3457,14 +3457,14 @@ export declare const VerificationSchema: Schema<import("mongoose").Document<unkn
3457
3457
  documentType: IdDocumentType;
3458
3458
  documentNumber: string;
3459
3459
  verifiedAt?: Date | undefined;
3460
+ accountId: string;
3461
+ profileId: string;
3460
3462
  createdAt: Date;
3461
3463
  updatedAt: Date;
3462
3464
  _id: string;
3463
3465
  reviewedAt?: Date | undefined;
3464
3466
  reviewedBy?: string | undefined;
3465
3467
  reviewNotes?: string | undefined;
3466
- profileId: string;
3467
- accountId: string;
3468
3468
  rejectionReason?: string | undefined;
3469
3469
  verifiedBy?: string | undefined;
3470
3470
  documentCountry: string;
@@ -3503,14 +3503,14 @@ export declare const VerificationSchema: Schema<import("mongoose").Document<unkn
3503
3503
  documentType: IdDocumentType;
3504
3504
  documentNumber: string;
3505
3505
  verifiedAt?: Date | undefined;
3506
+ accountId: string;
3507
+ profileId: string;
3506
3508
  createdAt: Date;
3507
3509
  updatedAt: Date;
3508
3510
  _id: string;
3509
3511
  reviewedAt?: Date | undefined;
3510
3512
  reviewedBy?: string | undefined;
3511
3513
  reviewNotes?: string | undefined;
3512
- profileId: string;
3513
- accountId: string;
3514
3514
  rejectionReason?: string | undefined;
3515
3515
  verifiedBy?: string | undefined;
3516
3516
  documentCountry: string;
@@ -3540,14 +3540,14 @@ export declare const VerificationSchema: Schema<import("mongoose").Document<unkn
3540
3540
  documentType: IdDocumentType;
3541
3541
  documentNumber: string;
3542
3542
  verifiedAt?: Date | undefined;
3543
+ accountId: string;
3544
+ profileId: string;
3543
3545
  createdAt: Date;
3544
3546
  updatedAt: Date;
3545
3547
  _id: string;
3546
3548
  reviewedAt?: Date | undefined;
3547
3549
  reviewedBy?: string | undefined;
3548
3550
  reviewNotes?: string | undefined;
3549
- profileId: string;
3550
- accountId: string;
3551
3551
  rejectionReason?: string | undefined;
3552
3552
  verifiedBy?: string | undefined;
3553
3553
  documentCountry: string;
@@ -3633,7 +3633,7 @@ export declare const VerificationSchema: Schema<import("mongoose").Document<unkn
3633
3633
  id: string;
3634
3634
  }> | undefined;
3635
3635
  unmarkModified?: import("mongoose").SchemaDefinitionProperty<{
3636
- <T extends "status" | "documentType" | "documentNumber" | "verifiedAt" | "createdAt" | "updatedAt" | "_id" | "reviewedAt" | "reviewedBy" | "reviewNotes" | "profileId" | "accountId" | "rejectionReason" | "verifiedBy" | "documentCountry" | "frontImageUrl" | "backImageUrl" | "selfieUrl" | "extractedName" | "extractedDob" | "extractedAddress" | "nameMatchScore" | "dobMatch" | "faceMatchScore" | "documentExpiryDate" | "verificationExpiresAt" | "ipAddress" | "userAgent" | "submissionLocation">(path: T): void;
3636
+ <T extends "status" | "documentType" | "documentNumber" | "verifiedAt" | "accountId" | "profileId" | "createdAt" | "updatedAt" | "_id" | "reviewedAt" | "reviewedBy" | "reviewNotes" | "rejectionReason" | "verifiedBy" | "documentCountry" | "frontImageUrl" | "backImageUrl" | "selfieUrl" | "extractedName" | "extractedDob" | "extractedAddress" | "nameMatchScore" | "dobMatch" | "faceMatchScore" | "documentExpiryDate" | "verificationExpiresAt" | "ipAddress" | "userAgent" | "submissionLocation">(path: T): void;
3637
3637
  (path: string): void;
3638
3638
  }, import("mongoose").Document<unknown, {}, Omit<IVerification, "id"> & {
3639
3639
  _id: string;
@@ -3718,7 +3718,7 @@ export declare const VerificationSchema: Schema<import("mongoose").Document<unkn
3718
3718
  id: string;
3719
3719
  }> | undefined;
3720
3720
  validate?: import("mongoose").SchemaDefinitionProperty<{
3721
- <T extends "status" | "documentType" | "documentNumber" | "verifiedAt" | "createdAt" | "updatedAt" | "_id" | "reviewedAt" | "reviewedBy" | "reviewNotes" | "profileId" | "accountId" | "rejectionReason" | "verifiedBy" | "documentCountry" | "frontImageUrl" | "backImageUrl" | "selfieUrl" | "extractedName" | "extractedDob" | "extractedAddress" | "nameMatchScore" | "dobMatch" | "faceMatchScore" | "documentExpiryDate" | "verificationExpiresAt" | "ipAddress" | "userAgent" | "submissionLocation">(pathsToValidate?: T | T[] | undefined, options?: import("mongoose").AnyObject): Promise<void>;
3721
+ <T extends "status" | "documentType" | "documentNumber" | "verifiedAt" | "accountId" | "profileId" | "createdAt" | "updatedAt" | "_id" | "reviewedAt" | "reviewedBy" | "reviewNotes" | "rejectionReason" | "verifiedBy" | "documentCountry" | "frontImageUrl" | "backImageUrl" | "selfieUrl" | "extractedName" | "extractedDob" | "extractedAddress" | "nameMatchScore" | "dobMatch" | "faceMatchScore" | "documentExpiryDate" | "verificationExpiresAt" | "ipAddress" | "userAgent" | "submissionLocation">(pathsToValidate?: T | T[] | undefined, options?: import("mongoose").AnyObject): Promise<void>;
3722
3722
  (pathsToValidate?: import("mongoose").pathsToValidate, options?: import("mongoose").AnyObject): Promise<void>;
3723
3723
  (options: {
3724
3724
  pathsToSkip?: import("mongoose").pathsToSkip;
@@ -3759,7 +3759,7 @@ export declare const VerificationSchema: Schema<import("mongoose").Document<unkn
3759
3759
  pathsToSkip?: import("mongoose").pathsToSkip;
3760
3760
  [k: string]: any;
3761
3761
  }): import("mongoose").Error.ValidationError | null;
3762
- <T extends "status" | "documentType" | "documentNumber" | "verifiedAt" | "createdAt" | "updatedAt" | "_id" | "reviewedAt" | "reviewedBy" | "reviewNotes" | "profileId" | "accountId" | "rejectionReason" | "verifiedBy" | "documentCountry" | "frontImageUrl" | "backImageUrl" | "selfieUrl" | "extractedName" | "extractedDob" | "extractedAddress" | "nameMatchScore" | "dobMatch" | "faceMatchScore" | "documentExpiryDate" | "verificationExpiresAt" | "ipAddress" | "userAgent" | "submissionLocation">(pathsToValidate?: T | T[] | undefined, options?: import("mongoose").AnyObject): import("mongoose").Error.ValidationError | null;
3762
+ <T extends "status" | "documentType" | "documentNumber" | "verifiedAt" | "accountId" | "profileId" | "createdAt" | "updatedAt" | "_id" | "reviewedAt" | "reviewedBy" | "reviewNotes" | "rejectionReason" | "verifiedBy" | "documentCountry" | "frontImageUrl" | "backImageUrl" | "selfieUrl" | "extractedName" | "extractedDob" | "extractedAddress" | "nameMatchScore" | "dobMatch" | "faceMatchScore" | "documentExpiryDate" | "verificationExpiresAt" | "ipAddress" | "userAgent" | "submissionLocation">(pathsToValidate?: T | T[] | undefined, options?: import("mongoose").AnyObject): import("mongoose").Error.ValidationError | null;
3763
3763
  (pathsToValidate?: import("mongoose").pathsToValidate, options?: import("mongoose").AnyObject): import("mongoose").Error.ValidationError | null;
3764
3764
  }, import("mongoose").Document<unknown, {}, Omit<IVerification, "id"> & {
3765
3765
  _id: string;
@@ -3916,7 +3916,7 @@ export declare const VerificationSchema: Schema<import("mongoose").Document<unkn
3916
3916
  } & {
3917
3917
  id: string;
3918
3918
  }> | undefined;
3919
- createdAt?: import("mongoose").SchemaDefinitionProperty<Date, import("mongoose").Document<unknown, {}, Omit<IVerification, "id"> & {
3919
+ accountId?: import("mongoose").SchemaDefinitionProperty<string, import("mongoose").Document<unknown, {}, Omit<IVerification, "id"> & {
3920
3920
  _id: string;
3921
3921
  }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IVerification, "id"> & {
3922
3922
  _id: string;
@@ -3947,7 +3947,7 @@ export declare const VerificationSchema: Schema<import("mongoose").Document<unkn
3947
3947
  } & {
3948
3948
  id: string;
3949
3949
  }> | undefined;
3950
- updatedAt?: import("mongoose").SchemaDefinitionProperty<Date, import("mongoose").Document<unknown, {}, Omit<IVerification, "id"> & {
3950
+ profileId?: import("mongoose").SchemaDefinitionProperty<string, import("mongoose").Document<unknown, {}, Omit<IVerification, "id"> & {
3951
3951
  _id: string;
3952
3952
  }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IVerification, "id"> & {
3953
3953
  _id: string;
@@ -3978,7 +3978,7 @@ export declare const VerificationSchema: Schema<import("mongoose").Document<unkn
3978
3978
  } & {
3979
3979
  id: string;
3980
3980
  }> | undefined;
3981
- reviewedAt?: import("mongoose").SchemaDefinitionProperty<Date | undefined, import("mongoose").Document<unknown, {}, Omit<IVerification, "id"> & {
3981
+ createdAt?: import("mongoose").SchemaDefinitionProperty<Date, import("mongoose").Document<unknown, {}, Omit<IVerification, "id"> & {
3982
3982
  _id: string;
3983
3983
  }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IVerification, "id"> & {
3984
3984
  _id: string;
@@ -4009,7 +4009,7 @@ export declare const VerificationSchema: Schema<import("mongoose").Document<unkn
4009
4009
  } & {
4010
4010
  id: string;
4011
4011
  }> | undefined;
4012
- reviewedBy?: import("mongoose").SchemaDefinitionProperty<string | undefined, import("mongoose").Document<unknown, {}, Omit<IVerification, "id"> & {
4012
+ updatedAt?: import("mongoose").SchemaDefinitionProperty<Date, import("mongoose").Document<unknown, {}, Omit<IVerification, "id"> & {
4013
4013
  _id: string;
4014
4014
  }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IVerification, "id"> & {
4015
4015
  _id: string;
@@ -4040,7 +4040,7 @@ export declare const VerificationSchema: Schema<import("mongoose").Document<unkn
4040
4040
  } & {
4041
4041
  id: string;
4042
4042
  }> | undefined;
4043
- reviewNotes?: import("mongoose").SchemaDefinitionProperty<string | undefined, import("mongoose").Document<unknown, {}, Omit<IVerification, "id"> & {
4043
+ reviewedAt?: import("mongoose").SchemaDefinitionProperty<Date | undefined, import("mongoose").Document<unknown, {}, Omit<IVerification, "id"> & {
4044
4044
  _id: string;
4045
4045
  }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IVerification, "id"> & {
4046
4046
  _id: string;
@@ -4071,7 +4071,7 @@ export declare const VerificationSchema: Schema<import("mongoose").Document<unkn
4071
4071
  } & {
4072
4072
  id: string;
4073
4073
  }> | undefined;
4074
- profileId?: import("mongoose").SchemaDefinitionProperty<string, import("mongoose").Document<unknown, {}, Omit<IVerification, "id"> & {
4074
+ reviewedBy?: import("mongoose").SchemaDefinitionProperty<string | undefined, import("mongoose").Document<unknown, {}, Omit<IVerification, "id"> & {
4075
4075
  _id: string;
4076
4076
  }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IVerification, "id"> & {
4077
4077
  _id: string;
@@ -4102,7 +4102,7 @@ export declare const VerificationSchema: Schema<import("mongoose").Document<unkn
4102
4102
  } & {
4103
4103
  id: string;
4104
4104
  }> | undefined;
4105
- accountId?: import("mongoose").SchemaDefinitionProperty<string, import("mongoose").Document<unknown, {}, Omit<IVerification, "id"> & {
4105
+ reviewNotes?: import("mongoose").SchemaDefinitionProperty<string | undefined, import("mongoose").Document<unknown, {}, Omit<IVerification, "id"> & {
4106
4106
  _id: string;
4107
4107
  }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IVerification, "id"> & {
4108
4108
  _id: string;