@managesome/knotr-toolkit 0.8.16 → 0.8.20

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (59) hide show
  1. package/dist/backend/index.d.ts +2 -2
  2. package/dist/backend/index.d.ts.map +1 -1
  3. package/dist/backend/index.js +1 -1
  4. package/dist/backend/index.js.map +1 -1
  5. package/dist/backend/worker-queue.d.ts +203 -13
  6. package/dist/backend/worker-queue.d.ts.map +1 -1
  7. package/dist/backend/worker-queue.js +67 -12
  8. package/dist/backend/worker-queue.js.map +1 -1
  9. package/dist/constants/worker.d.ts +17 -0
  10. package/dist/constants/worker.d.ts.map +1 -1
  11. package/dist/constants/worker.js +20 -0
  12. package/dist/constants/worker.js.map +1 -1
  13. package/dist/schemas/account.schema.d.ts +66 -66
  14. package/dist/schemas/chat.schema.d.ts +49 -49
  15. package/dist/schemas/chat.schema.d.ts.map +1 -1
  16. package/dist/schemas/collaboration-request.schema.d.ts +84 -84
  17. package/dist/schemas/collaboration-request.schema.d.ts.map +1 -1
  18. package/dist/schemas/company-review.schema.d.ts +83 -83
  19. package/dist/schemas/company-review.schema.d.ts.map +1 -1
  20. package/dist/schemas/company.schema.d.ts +88 -88
  21. package/dist/schemas/company.schema.d.ts.map +1 -1
  22. package/dist/schemas/contract.schema.d.ts +120 -120
  23. package/dist/schemas/contract.schema.d.ts.map +1 -1
  24. package/dist/schemas/dispute.schema.d.ts +84 -84
  25. package/dist/schemas/dispute.schema.d.ts.map +1 -1
  26. package/dist/schemas/donation.schema.d.ts +49 -49
  27. package/dist/schemas/donation.schema.d.ts.map +1 -1
  28. package/dist/schemas/escrow.schema.d.ts +84 -84
  29. package/dist/schemas/escrow.schema.d.ts.map +1 -1
  30. package/dist/schemas/interest.schema.d.ts +87 -87
  31. package/dist/schemas/interest.schema.d.ts.map +1 -1
  32. package/dist/schemas/match.schema.d.ts +87 -87
  33. package/dist/schemas/match.schema.d.ts.map +1 -1
  34. package/dist/schemas/message.schema.d.ts +53 -53
  35. package/dist/schemas/message.schema.d.ts.map +1 -1
  36. package/dist/schemas/milestone.schema.d.ts +48 -48
  37. package/dist/schemas/notification.schema.d.ts +155 -155
  38. package/dist/schemas/notification.schema.d.ts.map +1 -1
  39. package/dist/schemas/profile.schema.d.ts +87 -87
  40. package/dist/schemas/profile.schema.d.ts.map +1 -1
  41. package/dist/schemas/profit-share-agreement.schema.d.ts +48 -48
  42. package/dist/schemas/profit-share.schema.d.ts +48 -48
  43. package/dist/schemas/proposal.schema.d.ts +48 -48
  44. package/dist/schemas/purchase.schema.d.ts +49 -49
  45. package/dist/schemas/purchase.schema.d.ts.map +1 -1
  46. package/dist/schemas/requirement-post.schema.d.ts +84 -84
  47. package/dist/schemas/requirement-post.schema.d.ts.map +1 -1
  48. package/dist/schemas/service-listing.schema.d.ts +48 -48
  49. package/dist/schemas/subscription.schema.d.ts +83 -83
  50. package/dist/schemas/subscription.schema.d.ts.map +1 -1
  51. package/dist/schemas/tmc-application.schema.d.ts +48 -48
  52. package/dist/schemas/tmc-membership.schema.d.ts +48 -48
  53. package/dist/schemas/trust-badge.schema.d.ts +48 -48
  54. package/dist/schemas/verification.schema.d.ts +87 -87
  55. package/dist/schemas/verification.schema.d.ts.map +1 -1
  56. package/dist/schemas/webhook-event.schema.d.ts +48 -48
  57. package/dist/types/worker.d.ts +9 -2
  58. package/dist/types/worker.d.ts.map +1 -1
  59. package/package.json +1 -1
@@ -1082,7 +1082,7 @@ export declare const ContractSchema: Schema<import("mongoose").Document<unknown,
1082
1082
  id: string;
1083
1083
  }> | undefined;
1084
1084
  get?: import("mongoose").SchemaDefinitionProperty<{
1085
- <T extends "title" | "description" | "status" | "currency" | "duration" | "refundPolicy" | "requirementId" | "companyId" | "createdAt" | "updatedAt" | "_id" | "proposalId" | "profileId" | "accountId" | "terms" | "tmcAccountId" | "familyAccountId" | "totalAmount" | "startDate" | "endDate" | "exclusivityAgreed" | "guarantees" | "pausedAt" | "pauseReason" | "completedAt" | "cancelledAt" | "cancellationReason" | "cancelledBy" | "currentMilestoneId" | "completedMilestones" | "progressPercentage" | "matchesIntroduced" | "matchesAccepted" | "successfulMatch" | "successMatchId" | "totalPaid" | "totalRefunded" | "platformFee" | "companyEarnings" | "tmcEarnings" | "milestoneIds" | "startedAt">(path: T, type?: any, options?: any): (Omit<IContract, "id"> & {
1085
+ <T extends "title" | "description" | "status" | "currency" | "duration" | "refundPolicy" | "requirementId" | "accountId" | "profileId" | "createdAt" | "companyId" | "updatedAt" | "_id" | "proposalId" | "terms" | "tmcAccountId" | "familyAccountId" | "totalAmount" | "startDate" | "endDate" | "exclusivityAgreed" | "guarantees" | "pausedAt" | "pauseReason" | "completedAt" | "cancelledAt" | "cancellationReason" | "cancelledBy" | "currentMilestoneId" | "completedMilestones" | "progressPercentage" | "matchesIntroduced" | "matchesAccepted" | "successfulMatch" | "successMatchId" | "totalPaid" | "totalRefunded" | "platformFee" | "companyEarnings" | "tmcEarnings" | "milestoneIds" | "startedAt">(path: T, type?: any, options?: any): (Omit<IContract, "id"> & {
1086
1086
  _id: string;
1087
1087
  })[T];
1088
1088
  (path: string, type?: any, options?: any): any;
@@ -1241,7 +1241,7 @@ export declare const ContractSchema: Schema<import("mongoose").Document<unknown,
1241
1241
  id: string;
1242
1242
  }> | undefined;
1243
1243
  invalidate?: import("mongoose").SchemaDefinitionProperty<{
1244
- <T extends "title" | "description" | "status" | "currency" | "duration" | "refundPolicy" | "requirementId" | "companyId" | "createdAt" | "updatedAt" | "_id" | "proposalId" | "profileId" | "accountId" | "terms" | "tmcAccountId" | "familyAccountId" | "totalAmount" | "startDate" | "endDate" | "exclusivityAgreed" | "guarantees" | "pausedAt" | "pauseReason" | "completedAt" | "cancelledAt" | "cancellationReason" | "cancelledBy" | "currentMilestoneId" | "completedMilestones" | "progressPercentage" | "matchesIntroduced" | "matchesAccepted" | "successfulMatch" | "successMatchId" | "totalPaid" | "totalRefunded" | "platformFee" | "companyEarnings" | "tmcEarnings" | "milestoneIds" | "startedAt">(path: T, errorMsg: string | NativeError, value?: any, kind?: string): NativeError | null;
1244
+ <T extends "title" | "description" | "status" | "currency" | "duration" | "refundPolicy" | "requirementId" | "accountId" | "profileId" | "createdAt" | "companyId" | "updatedAt" | "_id" | "proposalId" | "terms" | "tmcAccountId" | "familyAccountId" | "totalAmount" | "startDate" | "endDate" | "exclusivityAgreed" | "guarantees" | "pausedAt" | "pauseReason" | "completedAt" | "cancelledAt" | "cancellationReason" | "cancelledBy" | "currentMilestoneId" | "completedMilestones" | "progressPercentage" | "matchesIntroduced" | "matchesAccepted" | "successfulMatch" | "successMatchId" | "totalPaid" | "totalRefunded" | "platformFee" | "companyEarnings" | "tmcEarnings" | "milestoneIds" | "startedAt">(path: T, errorMsg: string | NativeError, value?: any, kind?: string): NativeError | null;
1245
1245
  (path: string, errorMsg: string | NativeError, value?: any, kind?: string): NativeError | null;
1246
1246
  }, import("mongoose").Document<unknown, {}, Omit<IContract, "id"> & {
1247
1247
  _id: string;
@@ -1275,7 +1275,7 @@ export declare const ContractSchema: Schema<import("mongoose").Document<unknown,
1275
1275
  id: string;
1276
1276
  }> | undefined;
1277
1277
  isDirectModified?: import("mongoose").SchemaDefinitionProperty<{
1278
- <T extends "title" | "description" | "status" | "currency" | "duration" | "refundPolicy" | "requirementId" | "companyId" | "createdAt" | "updatedAt" | "_id" | "proposalId" | "profileId" | "accountId" | "terms" | "tmcAccountId" | "familyAccountId" | "totalAmount" | "startDate" | "endDate" | "exclusivityAgreed" | "guarantees" | "pausedAt" | "pauseReason" | "completedAt" | "cancelledAt" | "cancellationReason" | "cancelledBy" | "currentMilestoneId" | "completedMilestones" | "progressPercentage" | "matchesIntroduced" | "matchesAccepted" | "successfulMatch" | "successMatchId" | "totalPaid" | "totalRefunded" | "platformFee" | "companyEarnings" | "tmcEarnings" | "milestoneIds" | "startedAt">(path: T | T[]): boolean;
1278
+ <T extends "title" | "description" | "status" | "currency" | "duration" | "refundPolicy" | "requirementId" | "accountId" | "profileId" | "createdAt" | "companyId" | "updatedAt" | "_id" | "proposalId" | "terms" | "tmcAccountId" | "familyAccountId" | "totalAmount" | "startDate" | "endDate" | "exclusivityAgreed" | "guarantees" | "pausedAt" | "pauseReason" | "completedAt" | "cancelledAt" | "cancellationReason" | "cancelledBy" | "currentMilestoneId" | "completedMilestones" | "progressPercentage" | "matchesIntroduced" | "matchesAccepted" | "successfulMatch" | "successMatchId" | "totalPaid" | "totalRefunded" | "platformFee" | "companyEarnings" | "tmcEarnings" | "milestoneIds" | "startedAt">(path: T | T[]): boolean;
1279
1279
  (path: string | Array<string>): boolean;
1280
1280
  }, import("mongoose").Document<unknown, {}, Omit<IContract, "id"> & {
1281
1281
  _id: string;
@@ -1309,7 +1309,7 @@ export declare const ContractSchema: Schema<import("mongoose").Document<unknown,
1309
1309
  id: string;
1310
1310
  }> | undefined;
1311
1311
  isDirectSelected?: import("mongoose").SchemaDefinitionProperty<{
1312
- <T extends "title" | "description" | "status" | "currency" | "duration" | "refundPolicy" | "requirementId" | "companyId" | "createdAt" | "updatedAt" | "_id" | "proposalId" | "profileId" | "accountId" | "terms" | "tmcAccountId" | "familyAccountId" | "totalAmount" | "startDate" | "endDate" | "exclusivityAgreed" | "guarantees" | "pausedAt" | "pauseReason" | "completedAt" | "cancelledAt" | "cancellationReason" | "cancelledBy" | "currentMilestoneId" | "completedMilestones" | "progressPercentage" | "matchesIntroduced" | "matchesAccepted" | "successfulMatch" | "successMatchId" | "totalPaid" | "totalRefunded" | "platformFee" | "companyEarnings" | "tmcEarnings" | "milestoneIds" | "startedAt">(path: T): boolean;
1312
+ <T extends "title" | "description" | "status" | "currency" | "duration" | "refundPolicy" | "requirementId" | "accountId" | "profileId" | "createdAt" | "companyId" | "updatedAt" | "_id" | "proposalId" | "terms" | "tmcAccountId" | "familyAccountId" | "totalAmount" | "startDate" | "endDate" | "exclusivityAgreed" | "guarantees" | "pausedAt" | "pauseReason" | "completedAt" | "cancelledAt" | "cancellationReason" | "cancelledBy" | "currentMilestoneId" | "completedMilestones" | "progressPercentage" | "matchesIntroduced" | "matchesAccepted" | "successfulMatch" | "successMatchId" | "totalPaid" | "totalRefunded" | "platformFee" | "companyEarnings" | "tmcEarnings" | "milestoneIds" | "startedAt">(path: T): boolean;
1313
1313
  (path: string): boolean;
1314
1314
  }, import("mongoose").Document<unknown, {}, Omit<IContract, "id"> & {
1315
1315
  _id: string;
@@ -1343,7 +1343,7 @@ export declare const ContractSchema: Schema<import("mongoose").Document<unknown,
1343
1343
  id: string;
1344
1344
  }> | undefined;
1345
1345
  isInit?: import("mongoose").SchemaDefinitionProperty<{
1346
- <T extends "title" | "description" | "status" | "currency" | "duration" | "refundPolicy" | "requirementId" | "companyId" | "createdAt" | "updatedAt" | "_id" | "proposalId" | "profileId" | "accountId" | "terms" | "tmcAccountId" | "familyAccountId" | "totalAmount" | "startDate" | "endDate" | "exclusivityAgreed" | "guarantees" | "pausedAt" | "pauseReason" | "completedAt" | "cancelledAt" | "cancellationReason" | "cancelledBy" | "currentMilestoneId" | "completedMilestones" | "progressPercentage" | "matchesIntroduced" | "matchesAccepted" | "successfulMatch" | "successMatchId" | "totalPaid" | "totalRefunded" | "platformFee" | "companyEarnings" | "tmcEarnings" | "milestoneIds" | "startedAt">(path: T): boolean;
1346
+ <T extends "title" | "description" | "status" | "currency" | "duration" | "refundPolicy" | "requirementId" | "accountId" | "profileId" | "createdAt" | "companyId" | "updatedAt" | "_id" | "proposalId" | "terms" | "tmcAccountId" | "familyAccountId" | "totalAmount" | "startDate" | "endDate" | "exclusivityAgreed" | "guarantees" | "pausedAt" | "pauseReason" | "completedAt" | "cancelledAt" | "cancellationReason" | "cancelledBy" | "currentMilestoneId" | "completedMilestones" | "progressPercentage" | "matchesIntroduced" | "matchesAccepted" | "successfulMatch" | "successMatchId" | "totalPaid" | "totalRefunded" | "platformFee" | "companyEarnings" | "tmcEarnings" | "milestoneIds" | "startedAt">(path: T): boolean;
1347
1347
  (path: string): boolean;
1348
1348
  }, import("mongoose").Document<unknown, {}, Omit<IContract, "id"> & {
1349
1349
  _id: string;
@@ -1377,7 +1377,7 @@ export declare const ContractSchema: Schema<import("mongoose").Document<unknown,
1377
1377
  id: string;
1378
1378
  }> | undefined;
1379
1379
  isModified?: import("mongoose").SchemaDefinitionProperty<{
1380
- <T extends "title" | "description" | "status" | "currency" | "duration" | "refundPolicy" | "requirementId" | "companyId" | "createdAt" | "updatedAt" | "_id" | "proposalId" | "profileId" | "accountId" | "terms" | "tmcAccountId" | "familyAccountId" | "totalAmount" | "startDate" | "endDate" | "exclusivityAgreed" | "guarantees" | "pausedAt" | "pauseReason" | "completedAt" | "cancelledAt" | "cancellationReason" | "cancelledBy" | "currentMilestoneId" | "completedMilestones" | "progressPercentage" | "matchesIntroduced" | "matchesAccepted" | "successfulMatch" | "successMatchId" | "totalPaid" | "totalRefunded" | "platformFee" | "companyEarnings" | "tmcEarnings" | "milestoneIds" | "startedAt">(path?: T | T[] | undefined, options?: {
1380
+ <T extends "title" | "description" | "status" | "currency" | "duration" | "refundPolicy" | "requirementId" | "accountId" | "profileId" | "createdAt" | "companyId" | "updatedAt" | "_id" | "proposalId" | "terms" | "tmcAccountId" | "familyAccountId" | "totalAmount" | "startDate" | "endDate" | "exclusivityAgreed" | "guarantees" | "pausedAt" | "pauseReason" | "completedAt" | "cancelledAt" | "cancellationReason" | "cancelledBy" | "currentMilestoneId" | "completedMilestones" | "progressPercentage" | "matchesIntroduced" | "matchesAccepted" | "successfulMatch" | "successMatchId" | "totalPaid" | "totalRefunded" | "platformFee" | "companyEarnings" | "tmcEarnings" | "milestoneIds" | "startedAt">(path?: T | T[] | undefined, options?: {
1381
1381
  ignoreAtomics?: boolean;
1382
1382
  } | null): boolean;
1383
1383
  (path?: string | Array<string>, options?: {
@@ -1446,7 +1446,7 @@ export declare const ContractSchema: Schema<import("mongoose").Document<unknown,
1446
1446
  id: string;
1447
1447
  }> | undefined;
1448
1448
  isSelected?: import("mongoose").SchemaDefinitionProperty<{
1449
- <T extends "title" | "description" | "status" | "currency" | "duration" | "refundPolicy" | "requirementId" | "companyId" | "createdAt" | "updatedAt" | "_id" | "proposalId" | "profileId" | "accountId" | "terms" | "tmcAccountId" | "familyAccountId" | "totalAmount" | "startDate" | "endDate" | "exclusivityAgreed" | "guarantees" | "pausedAt" | "pauseReason" | "completedAt" | "cancelledAt" | "cancellationReason" | "cancelledBy" | "currentMilestoneId" | "completedMilestones" | "progressPercentage" | "matchesIntroduced" | "matchesAccepted" | "successfulMatch" | "successMatchId" | "totalPaid" | "totalRefunded" | "platformFee" | "companyEarnings" | "tmcEarnings" | "milestoneIds" | "startedAt">(path: T): boolean;
1449
+ <T extends "title" | "description" | "status" | "currency" | "duration" | "refundPolicy" | "requirementId" | "accountId" | "profileId" | "createdAt" | "companyId" | "updatedAt" | "_id" | "proposalId" | "terms" | "tmcAccountId" | "familyAccountId" | "totalAmount" | "startDate" | "endDate" | "exclusivityAgreed" | "guarantees" | "pausedAt" | "pauseReason" | "completedAt" | "cancelledAt" | "cancellationReason" | "cancelledBy" | "currentMilestoneId" | "completedMilestones" | "progressPercentage" | "matchesIntroduced" | "matchesAccepted" | "successfulMatch" | "successMatchId" | "totalPaid" | "totalRefunded" | "platformFee" | "companyEarnings" | "tmcEarnings" | "milestoneIds" | "startedAt">(path: T): boolean;
1450
1450
  (path: string): boolean;
1451
1451
  }, import("mongoose").Document<unknown, {}, Omit<IContract, "id"> & {
1452
1452
  _id: string;
@@ -1480,7 +1480,7 @@ export declare const ContractSchema: Schema<import("mongoose").Document<unknown,
1480
1480
  id: string;
1481
1481
  }> | undefined;
1482
1482
  markModified?: import("mongoose").SchemaDefinitionProperty<{
1483
- <T extends "title" | "description" | "status" | "currency" | "duration" | "refundPolicy" | "requirementId" | "companyId" | "createdAt" | "updatedAt" | "_id" | "proposalId" | "profileId" | "accountId" | "terms" | "tmcAccountId" | "familyAccountId" | "totalAmount" | "startDate" | "endDate" | "exclusivityAgreed" | "guarantees" | "pausedAt" | "pauseReason" | "completedAt" | "cancelledAt" | "cancellationReason" | "cancelledBy" | "currentMilestoneId" | "completedMilestones" | "progressPercentage" | "matchesIntroduced" | "matchesAccepted" | "successfulMatch" | "successMatchId" | "totalPaid" | "totalRefunded" | "platformFee" | "companyEarnings" | "tmcEarnings" | "milestoneIds" | "startedAt">(path: T, scope?: any): void;
1483
+ <T extends "title" | "description" | "status" | "currency" | "duration" | "refundPolicy" | "requirementId" | "accountId" | "profileId" | "createdAt" | "companyId" | "updatedAt" | "_id" | "proposalId" | "terms" | "tmcAccountId" | "familyAccountId" | "totalAmount" | "startDate" | "endDate" | "exclusivityAgreed" | "guarantees" | "pausedAt" | "pauseReason" | "completedAt" | "cancelledAt" | "cancellationReason" | "cancelledBy" | "currentMilestoneId" | "completedMilestones" | "progressPercentage" | "matchesIntroduced" | "matchesAccepted" | "successfulMatch" | "successMatchId" | "totalPaid" | "totalRefunded" | "platformFee" | "companyEarnings" | "tmcEarnings" | "milestoneIds" | "startedAt">(path: T, scope?: any): void;
1484
1484
  (path: string, scope?: any): void;
1485
1485
  }, import("mongoose").Document<unknown, {}, Omit<IContract, "id"> & {
1486
1486
  _id: string;
@@ -1919,7 +1919,7 @@ export declare const ContractSchema: Schema<import("mongoose").Document<unknown,
1919
1919
  id: string;
1920
1920
  }> | undefined;
1921
1921
  set?: import("mongoose").SchemaDefinitionProperty<{
1922
- <T extends "title" | "description" | "status" | "currency" | "duration" | "refundPolicy" | "requirementId" | "companyId" | "createdAt" | "updatedAt" | "_id" | "proposalId" | "profileId" | "accountId" | "terms" | "tmcAccountId" | "familyAccountId" | "totalAmount" | "startDate" | "endDate" | "exclusivityAgreed" | "guarantees" | "pausedAt" | "pauseReason" | "completedAt" | "cancelledAt" | "cancellationReason" | "cancelledBy" | "currentMilestoneId" | "completedMilestones" | "progressPercentage" | "matchesIntroduced" | "matchesAccepted" | "successfulMatch" | "successMatchId" | "totalPaid" | "totalRefunded" | "platformFee" | "companyEarnings" | "tmcEarnings" | "milestoneIds" | "startedAt">(path: T, val: (Omit<IContract, "id"> & {
1922
+ <T extends "title" | "description" | "status" | "currency" | "duration" | "refundPolicy" | "requirementId" | "accountId" | "profileId" | "createdAt" | "companyId" | "updatedAt" | "_id" | "proposalId" | "terms" | "tmcAccountId" | "familyAccountId" | "totalAmount" | "startDate" | "endDate" | "exclusivityAgreed" | "guarantees" | "pausedAt" | "pauseReason" | "completedAt" | "cancelledAt" | "cancellationReason" | "cancelledBy" | "currentMilestoneId" | "completedMilestones" | "progressPercentage" | "matchesIntroduced" | "matchesAccepted" | "successfulMatch" | "successMatchId" | "totalPaid" | "totalRefunded" | "platformFee" | "companyEarnings" | "tmcEarnings" | "milestoneIds" | "startedAt">(path: T, val: (Omit<IContract, "id"> & {
1923
1923
  _id: string;
1924
1924
  })[T], type: any, options?: import("mongoose").DocumentSetOptions): import("mongoose").Document<unknown, {}, Omit<IContract, "id"> & {
1925
1925
  _id: string;
@@ -2010,13 +2010,13 @@ export declare const ContractSchema: Schema<import("mongoose").Document<unknown,
2010
2010
  duration: number;
2011
2011
  refundPolicy: string;
2012
2012
  requirementId: string;
2013
- companyId: string;
2013
+ accountId: string;
2014
+ profileId?: string | undefined;
2014
2015
  createdAt: Date;
2016
+ companyId: string;
2015
2017
  updatedAt: Date;
2016
2018
  _id: string;
2017
2019
  proposalId: string;
2018
- profileId?: string | undefined;
2019
- accountId: string;
2020
2020
  terms: string;
2021
2021
  tmcAccountId?: string | undefined;
2022
2022
  familyAccountId?: string | undefined;
@@ -2058,12 +2058,12 @@ export declare const ContractSchema: Schema<import("mongoose").Document<unknown,
2058
2058
  duration: number;
2059
2059
  refundPolicy: string;
2060
2060
  requirementId: string;
2061
- companyId: string;
2061
+ accountId: string;
2062
+ profileId?: string | undefined;
2062
2063
  createdAt: Date;
2064
+ companyId: string;
2063
2065
  updatedAt: Date;
2064
2066
  proposalId: string;
2065
- profileId?: string | undefined;
2066
- accountId: string;
2067
2067
  terms: string;
2068
2068
  tmcAccountId?: string | undefined;
2069
2069
  familyAccountId?: string | undefined;
@@ -2126,13 +2126,13 @@ export declare const ContractSchema: Schema<import("mongoose").Document<unknown,
2126
2126
  duration: number;
2127
2127
  refundPolicy: string;
2128
2128
  requirementId: string;
2129
- companyId: string;
2129
+ accountId: string;
2130
+ profileId?: string | undefined;
2130
2131
  createdAt: Date;
2132
+ companyId: string;
2131
2133
  updatedAt: Date;
2132
2134
  _id: string;
2133
2135
  proposalId: string;
2134
- profileId?: string | undefined;
2135
- accountId: string;
2136
2136
  terms: string;
2137
2137
  tmcAccountId?: string | undefined;
2138
2138
  familyAccountId?: string | undefined;
@@ -2174,12 +2174,12 @@ export declare const ContractSchema: Schema<import("mongoose").Document<unknown,
2174
2174
  duration: number;
2175
2175
  refundPolicy: string;
2176
2176
  requirementId: string;
2177
- companyId: string;
2177
+ accountId: string;
2178
+ profileId?: string | undefined;
2178
2179
  createdAt: Date;
2180
+ companyId: string;
2179
2181
  updatedAt: Date;
2180
2182
  proposalId: string;
2181
- profileId?: string | undefined;
2182
- accountId: string;
2183
2183
  terms: string;
2184
2184
  tmcAccountId?: string | undefined;
2185
2185
  familyAccountId?: string | undefined;
@@ -2242,13 +2242,13 @@ export declare const ContractSchema: Schema<import("mongoose").Document<unknown,
2242
2242
  duration: number;
2243
2243
  refundPolicy: string;
2244
2244
  requirementId: string;
2245
- companyId: string;
2245
+ accountId: string;
2246
+ profileId?: string | undefined;
2246
2247
  createdAt: Date;
2248
+ companyId: string;
2247
2249
  updatedAt: Date;
2248
2250
  _id: string;
2249
2251
  proposalId: string;
2250
- profileId?: string | undefined;
2251
- accountId: string;
2252
2252
  terms: string;
2253
2253
  tmcAccountId?: string | undefined;
2254
2254
  familyAccountId?: string | undefined;
@@ -2290,12 +2290,12 @@ export declare const ContractSchema: Schema<import("mongoose").Document<unknown,
2290
2290
  duration: number;
2291
2291
  refundPolicy: string;
2292
2292
  requirementId: string;
2293
- companyId: string;
2293
+ accountId: string;
2294
+ profileId?: string | undefined;
2294
2295
  createdAt: Date;
2296
+ companyId: string;
2295
2297
  updatedAt: Date;
2296
2298
  proposalId: string;
2297
- profileId?: string | undefined;
2298
- accountId: string;
2299
2299
  terms: string;
2300
2300
  tmcAccountId?: string | undefined;
2301
2301
  familyAccountId?: string | undefined;
@@ -2358,13 +2358,13 @@ export declare const ContractSchema: Schema<import("mongoose").Document<unknown,
2358
2358
  duration: number;
2359
2359
  refundPolicy: string;
2360
2360
  requirementId: string;
2361
- companyId: string;
2361
+ accountId: string;
2362
+ profileId?: string | undefined;
2362
2363
  createdAt: Date;
2364
+ companyId: string;
2363
2365
  updatedAt: Date;
2364
2366
  _id: string;
2365
2367
  proposalId: string;
2366
- profileId?: string | undefined;
2367
- accountId: string;
2368
2368
  terms: string;
2369
2369
  tmcAccountId?: string | undefined;
2370
2370
  familyAccountId?: string | undefined;
@@ -2406,12 +2406,12 @@ export declare const ContractSchema: Schema<import("mongoose").Document<unknown,
2406
2406
  duration: number;
2407
2407
  refundPolicy: string;
2408
2408
  requirementId: string;
2409
- companyId: string;
2409
+ accountId: string;
2410
+ profileId?: string | undefined;
2410
2411
  createdAt: Date;
2412
+ companyId: string;
2411
2413
  updatedAt: Date;
2412
2414
  proposalId: string;
2413
- profileId?: string | undefined;
2414
- accountId: string;
2415
2415
  terms: string;
2416
2416
  tmcAccountId?: string | undefined;
2417
2417
  familyAccountId?: string | undefined;
@@ -2473,12 +2473,12 @@ export declare const ContractSchema: Schema<import("mongoose").Document<unknown,
2473
2473
  duration: number;
2474
2474
  refundPolicy: string;
2475
2475
  requirementId: string;
2476
- companyId: string;
2476
+ accountId: string;
2477
+ profileId?: string | undefined;
2477
2478
  createdAt: Date;
2479
+ companyId: string;
2478
2480
  updatedAt: Date;
2479
2481
  proposalId: string;
2480
- profileId?: string | undefined;
2481
- accountId: string;
2482
2482
  terms: string;
2483
2483
  tmcAccountId?: string | undefined;
2484
2484
  familyAccountId?: string | undefined;
@@ -2520,12 +2520,12 @@ export declare const ContractSchema: Schema<import("mongoose").Document<unknown,
2520
2520
  duration: number;
2521
2521
  refundPolicy: string;
2522
2522
  requirementId: string;
2523
- companyId: string;
2523
+ accountId: string;
2524
+ profileId?: string | undefined;
2524
2525
  createdAt: Date;
2526
+ companyId: string;
2525
2527
  updatedAt: Date;
2526
2528
  proposalId: string;
2527
- profileId?: string | undefined;
2528
- accountId: string;
2529
2529
  terms: string;
2530
2530
  tmcAccountId?: string | undefined;
2531
2531
  familyAccountId?: string | undefined;
@@ -2567,12 +2567,12 @@ export declare const ContractSchema: Schema<import("mongoose").Document<unknown,
2567
2567
  duration: number;
2568
2568
  refundPolicy: string;
2569
2569
  requirementId: string;
2570
- companyId: string;
2570
+ accountId: string;
2571
+ profileId?: string | undefined;
2571
2572
  createdAt: Date;
2573
+ companyId: string;
2572
2574
  updatedAt: Date;
2573
2575
  proposalId: string;
2574
- profileId?: string | undefined;
2575
- accountId: string;
2576
2576
  terms: string;
2577
2577
  tmcAccountId?: string | undefined;
2578
2578
  familyAccountId?: string | undefined;
@@ -2613,12 +2613,12 @@ export declare const ContractSchema: Schema<import("mongoose").Document<unknown,
2613
2613
  duration: number;
2614
2614
  refundPolicy: string;
2615
2615
  requirementId: string;
2616
- companyId: string;
2616
+ accountId: string;
2617
+ profileId?: string | undefined;
2617
2618
  createdAt: Date;
2619
+ companyId: string;
2618
2620
  updatedAt: Date;
2619
2621
  proposalId: string;
2620
- profileId?: string | undefined;
2621
- accountId: string;
2622
2622
  terms: string;
2623
2623
  tmcAccountId?: string | undefined;
2624
2624
  familyAccountId?: string | undefined;
@@ -2677,13 +2677,13 @@ export declare const ContractSchema: Schema<import("mongoose").Document<unknown,
2677
2677
  duration: number;
2678
2678
  refundPolicy: string;
2679
2679
  requirementId: string;
2680
- companyId: string;
2680
+ accountId: string;
2681
+ profileId?: string | undefined;
2681
2682
  createdAt: Date;
2683
+ companyId: string;
2682
2684
  updatedAt: Date;
2683
2685
  _id: string;
2684
2686
  proposalId: string;
2685
- profileId?: string | undefined;
2686
- accountId: string;
2687
2687
  terms: string;
2688
2688
  tmcAccountId?: string | undefined;
2689
2689
  familyAccountId?: string | undefined;
@@ -2726,13 +2726,13 @@ export declare const ContractSchema: Schema<import("mongoose").Document<unknown,
2726
2726
  duration: number;
2727
2727
  refundPolicy: string;
2728
2728
  requirementId: string;
2729
- companyId: string;
2729
+ accountId: string;
2730
+ profileId?: string | undefined;
2730
2731
  createdAt: Date;
2732
+ companyId: string;
2731
2733
  updatedAt: Date;
2732
2734
  _id: string;
2733
2735
  proposalId: string;
2734
- profileId?: string | undefined;
2735
- accountId: string;
2736
2736
  terms: string;
2737
2737
  tmcAccountId?: string | undefined;
2738
2738
  familyAccountId?: string | undefined;
@@ -2783,13 +2783,13 @@ export declare const ContractSchema: Schema<import("mongoose").Document<unknown,
2783
2783
  duration: number;
2784
2784
  refundPolicy: string;
2785
2785
  requirementId: string;
2786
- companyId: string;
2786
+ accountId: string;
2787
+ profileId?: string | undefined;
2787
2788
  createdAt: Date;
2789
+ companyId: string;
2788
2790
  updatedAt: Date;
2789
2791
  _id: string;
2790
2792
  proposalId: string;
2791
- profileId?: string | undefined;
2792
- accountId: string;
2793
2793
  terms: string;
2794
2794
  tmcAccountId?: string | undefined;
2795
2795
  familyAccountId?: string | undefined;
@@ -2839,13 +2839,13 @@ export declare const ContractSchema: Schema<import("mongoose").Document<unknown,
2839
2839
  duration: number;
2840
2840
  refundPolicy: string;
2841
2841
  requirementId: string;
2842
- companyId: string;
2842
+ accountId: string;
2843
+ profileId?: string | undefined;
2843
2844
  createdAt: Date;
2845
+ companyId: string;
2844
2846
  updatedAt: Date;
2845
2847
  _id: string;
2846
2848
  proposalId: string;
2847
- profileId?: string | undefined;
2848
- accountId: string;
2849
2849
  terms: string;
2850
2850
  tmcAccountId?: string | undefined;
2851
2851
  familyAccountId?: string | undefined;
@@ -2886,13 +2886,13 @@ export declare const ContractSchema: Schema<import("mongoose").Document<unknown,
2886
2886
  duration: number;
2887
2887
  refundPolicy: string;
2888
2888
  requirementId: string;
2889
- companyId: string;
2889
+ accountId: string;
2890
+ profileId?: string | undefined;
2890
2891
  createdAt: Date;
2892
+ companyId: string;
2891
2893
  updatedAt: Date;
2892
2894
  _id: string;
2893
2895
  proposalId: string;
2894
- profileId?: string | undefined;
2895
- accountId: string;
2896
2896
  terms: string;
2897
2897
  tmcAccountId?: string | undefined;
2898
2898
  familyAccountId?: string | undefined;
@@ -2999,13 +2999,13 @@ export declare const ContractSchema: Schema<import("mongoose").Document<unknown,
2999
2999
  duration: number;
3000
3000
  refundPolicy: string;
3001
3001
  requirementId: string;
3002
- companyId: string;
3002
+ accountId: string;
3003
+ profileId?: string | undefined;
3003
3004
  createdAt: Date;
3005
+ companyId: string;
3004
3006
  updatedAt: Date;
3005
3007
  _id: string;
3006
3008
  proposalId: string;
3007
- profileId?: string | undefined;
3008
- accountId: string;
3009
3009
  terms: string;
3010
3010
  tmcAccountId?: string | undefined;
3011
3011
  familyAccountId?: string | undefined;
@@ -3047,12 +3047,12 @@ export declare const ContractSchema: Schema<import("mongoose").Document<unknown,
3047
3047
  duration: number;
3048
3048
  refundPolicy: string;
3049
3049
  requirementId: string;
3050
- companyId: string;
3050
+ accountId: string;
3051
+ profileId?: string | undefined;
3051
3052
  createdAt: Date;
3053
+ companyId: string;
3052
3054
  updatedAt: Date;
3053
3055
  proposalId: string;
3054
- profileId?: string | undefined;
3055
- accountId: string;
3056
3056
  terms: string;
3057
3057
  tmcAccountId?: string | undefined;
3058
3058
  familyAccountId?: string | undefined;
@@ -3115,13 +3115,13 @@ export declare const ContractSchema: Schema<import("mongoose").Document<unknown,
3115
3115
  duration: number;
3116
3116
  refundPolicy: string;
3117
3117
  requirementId: string;
3118
- companyId: string;
3118
+ accountId: string;
3119
+ profileId?: string | undefined;
3119
3120
  createdAt: Date;
3121
+ companyId: string;
3120
3122
  updatedAt: Date;
3121
3123
  _id: string;
3122
3124
  proposalId: string;
3123
- profileId?: string | undefined;
3124
- accountId: string;
3125
3125
  terms: string;
3126
3126
  tmcAccountId?: string | undefined;
3127
3127
  familyAccountId?: string | undefined;
@@ -3163,12 +3163,12 @@ export declare const ContractSchema: Schema<import("mongoose").Document<unknown,
3163
3163
  duration: number;
3164
3164
  refundPolicy: string;
3165
3165
  requirementId: string;
3166
- companyId: string;
3166
+ accountId: string;
3167
+ profileId?: string | undefined;
3167
3168
  createdAt: Date;
3169
+ companyId: string;
3168
3170
  updatedAt: Date;
3169
3171
  proposalId: string;
3170
- profileId?: string | undefined;
3171
- accountId: string;
3172
3172
  terms: string;
3173
3173
  tmcAccountId?: string | undefined;
3174
3174
  familyAccountId?: string | undefined;
@@ -3231,13 +3231,13 @@ export declare const ContractSchema: Schema<import("mongoose").Document<unknown,
3231
3231
  duration: number;
3232
3232
  refundPolicy: string;
3233
3233
  requirementId: string;
3234
- companyId: string;
3234
+ accountId: string;
3235
+ profileId?: string | undefined;
3235
3236
  createdAt: Date;
3237
+ companyId: string;
3236
3238
  updatedAt: Date;
3237
3239
  _id: string;
3238
3240
  proposalId: string;
3239
- profileId?: string | undefined;
3240
- accountId: string;
3241
3241
  terms: string;
3242
3242
  tmcAccountId?: string | undefined;
3243
3243
  familyAccountId?: string | undefined;
@@ -3279,12 +3279,12 @@ export declare const ContractSchema: Schema<import("mongoose").Document<unknown,
3279
3279
  duration: number;
3280
3280
  refundPolicy: string;
3281
3281
  requirementId: string;
3282
- companyId: string;
3282
+ accountId: string;
3283
+ profileId?: string | undefined;
3283
3284
  createdAt: Date;
3285
+ companyId: string;
3284
3286
  updatedAt: Date;
3285
3287
  proposalId: string;
3286
- profileId?: string | undefined;
3287
- accountId: string;
3288
3288
  terms: string;
3289
3289
  tmcAccountId?: string | undefined;
3290
3290
  familyAccountId?: string | undefined;
@@ -3347,13 +3347,13 @@ export declare const ContractSchema: Schema<import("mongoose").Document<unknown,
3347
3347
  duration: number;
3348
3348
  refundPolicy: string;
3349
3349
  requirementId: string;
3350
- companyId: string;
3350
+ accountId: string;
3351
+ profileId?: string | undefined;
3351
3352
  createdAt: Date;
3353
+ companyId: string;
3352
3354
  updatedAt: Date;
3353
3355
  _id: string;
3354
3356
  proposalId: string;
3355
- profileId?: string | undefined;
3356
- accountId: string;
3357
3357
  terms: string;
3358
3358
  tmcAccountId?: string | undefined;
3359
3359
  familyAccountId?: string | undefined;
@@ -3395,12 +3395,12 @@ export declare const ContractSchema: Schema<import("mongoose").Document<unknown,
3395
3395
  duration: number;
3396
3396
  refundPolicy: string;
3397
3397
  requirementId: string;
3398
- companyId: string;
3398
+ accountId: string;
3399
+ profileId?: string | undefined;
3399
3400
  createdAt: Date;
3401
+ companyId: string;
3400
3402
  updatedAt: Date;
3401
3403
  proposalId: string;
3402
- profileId?: string | undefined;
3403
- accountId: string;
3404
3404
  terms: string;
3405
3405
  tmcAccountId?: string | undefined;
3406
3406
  familyAccountId?: string | undefined;
@@ -3462,12 +3462,12 @@ export declare const ContractSchema: Schema<import("mongoose").Document<unknown,
3462
3462
  duration: number;
3463
3463
  refundPolicy: string;
3464
3464
  requirementId: string;
3465
- companyId: string;
3465
+ accountId: string;
3466
+ profileId?: string | undefined;
3466
3467
  createdAt: Date;
3468
+ companyId: string;
3467
3469
  updatedAt: Date;
3468
3470
  proposalId: string;
3469
- profileId?: string | undefined;
3470
- accountId: string;
3471
3471
  terms: string;
3472
3472
  tmcAccountId?: string | undefined;
3473
3473
  familyAccountId?: string | undefined;
@@ -3509,12 +3509,12 @@ export declare const ContractSchema: Schema<import("mongoose").Document<unknown,
3509
3509
  duration: number;
3510
3510
  refundPolicy: string;
3511
3511
  requirementId: string;
3512
- companyId: string;
3512
+ accountId: string;
3513
+ profileId?: string | undefined;
3513
3514
  createdAt: Date;
3515
+ companyId: string;
3514
3516
  updatedAt: Date;
3515
3517
  proposalId: string;
3516
- profileId?: string | undefined;
3517
- accountId: string;
3518
3518
  terms: string;
3519
3519
  tmcAccountId?: string | undefined;
3520
3520
  familyAccountId?: string | undefined;
@@ -3556,12 +3556,12 @@ export declare const ContractSchema: Schema<import("mongoose").Document<unknown,
3556
3556
  duration: number;
3557
3557
  refundPolicy: string;
3558
3558
  requirementId: string;
3559
- companyId: string;
3559
+ accountId: string;
3560
+ profileId?: string | undefined;
3560
3561
  createdAt: Date;
3562
+ companyId: string;
3561
3563
  updatedAt: Date;
3562
3564
  proposalId: string;
3563
- profileId?: string | undefined;
3564
- accountId: string;
3565
3565
  terms: string;
3566
3566
  tmcAccountId?: string | undefined;
3567
3567
  familyAccountId?: string | undefined;
@@ -3602,12 +3602,12 @@ export declare const ContractSchema: Schema<import("mongoose").Document<unknown,
3602
3602
  duration: number;
3603
3603
  refundPolicy: string;
3604
3604
  requirementId: string;
3605
- companyId: string;
3605
+ accountId: string;
3606
+ profileId?: string | undefined;
3606
3607
  createdAt: Date;
3608
+ companyId: string;
3607
3609
  updatedAt: Date;
3608
3610
  proposalId: string;
3609
- profileId?: string | undefined;
3610
- accountId: string;
3611
3611
  terms: string;
3612
3612
  tmcAccountId?: string | undefined;
3613
3613
  familyAccountId?: string | undefined;
@@ -3666,13 +3666,13 @@ export declare const ContractSchema: Schema<import("mongoose").Document<unknown,
3666
3666
  duration: number;
3667
3667
  refundPolicy: string;
3668
3668
  requirementId: string;
3669
- companyId: string;
3669
+ accountId: string;
3670
+ profileId?: string | undefined;
3670
3671
  createdAt: Date;
3672
+ companyId: string;
3671
3673
  updatedAt: Date;
3672
3674
  _id: string;
3673
3675
  proposalId: string;
3674
- profileId?: string | undefined;
3675
- accountId: string;
3676
3676
  terms: string;
3677
3677
  tmcAccountId?: string | undefined;
3678
3678
  familyAccountId?: string | undefined;
@@ -3715,13 +3715,13 @@ export declare const ContractSchema: Schema<import("mongoose").Document<unknown,
3715
3715
  duration: number;
3716
3716
  refundPolicy: string;
3717
3717
  requirementId: string;
3718
- companyId: string;
3718
+ accountId: string;
3719
+ profileId?: string | undefined;
3719
3720
  createdAt: Date;
3721
+ companyId: string;
3720
3722
  updatedAt: Date;
3721
3723
  _id: string;
3722
3724
  proposalId: string;
3723
- profileId?: string | undefined;
3724
- accountId: string;
3725
3725
  terms: string;
3726
3726
  tmcAccountId?: string | undefined;
3727
3727
  familyAccountId?: string | undefined;
@@ -3772,13 +3772,13 @@ export declare const ContractSchema: Schema<import("mongoose").Document<unknown,
3772
3772
  duration: number;
3773
3773
  refundPolicy: string;
3774
3774
  requirementId: string;
3775
- companyId: string;
3775
+ accountId: string;
3776
+ profileId?: string | undefined;
3776
3777
  createdAt: Date;
3778
+ companyId: string;
3777
3779
  updatedAt: Date;
3778
3780
  _id: string;
3779
3781
  proposalId: string;
3780
- profileId?: string | undefined;
3781
- accountId: string;
3782
3782
  terms: string;
3783
3783
  tmcAccountId?: string | undefined;
3784
3784
  familyAccountId?: string | undefined;
@@ -3828,13 +3828,13 @@ export declare const ContractSchema: Schema<import("mongoose").Document<unknown,
3828
3828
  duration: number;
3829
3829
  refundPolicy: string;
3830
3830
  requirementId: string;
3831
- companyId: string;
3831
+ accountId: string;
3832
+ profileId?: string | undefined;
3832
3833
  createdAt: Date;
3834
+ companyId: string;
3833
3835
  updatedAt: Date;
3834
3836
  _id: string;
3835
3837
  proposalId: string;
3836
- profileId?: string | undefined;
3837
- accountId: string;
3838
3838
  terms: string;
3839
3839
  tmcAccountId?: string | undefined;
3840
3840
  familyAccountId?: string | undefined;
@@ -3875,13 +3875,13 @@ export declare const ContractSchema: Schema<import("mongoose").Document<unknown,
3875
3875
  duration: number;
3876
3876
  refundPolicy: string;
3877
3877
  requirementId: string;
3878
- companyId: string;
3878
+ accountId: string;
3879
+ profileId?: string | undefined;
3879
3880
  createdAt: Date;
3881
+ companyId: string;
3880
3882
  updatedAt: Date;
3881
3883
  _id: string;
3882
3884
  proposalId: string;
3883
- profileId?: string | undefined;
3884
- accountId: string;
3885
3885
  terms: string;
3886
3886
  tmcAccountId?: string | undefined;
3887
3887
  familyAccountId?: string | undefined;
@@ -3975,7 +3975,7 @@ export declare const ContractSchema: Schema<import("mongoose").Document<unknown,
3975
3975
  id: string;
3976
3976
  }> | undefined;
3977
3977
  unmarkModified?: import("mongoose").SchemaDefinitionProperty<{
3978
- <T extends "title" | "description" | "status" | "currency" | "duration" | "refundPolicy" | "requirementId" | "companyId" | "createdAt" | "updatedAt" | "_id" | "proposalId" | "profileId" | "accountId" | "terms" | "tmcAccountId" | "familyAccountId" | "totalAmount" | "startDate" | "endDate" | "exclusivityAgreed" | "guarantees" | "pausedAt" | "pauseReason" | "completedAt" | "cancelledAt" | "cancellationReason" | "cancelledBy" | "currentMilestoneId" | "completedMilestones" | "progressPercentage" | "matchesIntroduced" | "matchesAccepted" | "successfulMatch" | "successMatchId" | "totalPaid" | "totalRefunded" | "platformFee" | "companyEarnings" | "tmcEarnings" | "milestoneIds" | "startedAt">(path: T): void;
3978
+ <T extends "title" | "description" | "status" | "currency" | "duration" | "refundPolicy" | "requirementId" | "accountId" | "profileId" | "createdAt" | "companyId" | "updatedAt" | "_id" | "proposalId" | "terms" | "tmcAccountId" | "familyAccountId" | "totalAmount" | "startDate" | "endDate" | "exclusivityAgreed" | "guarantees" | "pausedAt" | "pauseReason" | "completedAt" | "cancelledAt" | "cancellationReason" | "cancelledBy" | "currentMilestoneId" | "completedMilestones" | "progressPercentage" | "matchesIntroduced" | "matchesAccepted" | "successfulMatch" | "successMatchId" | "totalPaid" | "totalRefunded" | "platformFee" | "companyEarnings" | "tmcEarnings" | "milestoneIds" | "startedAt">(path: T): void;
3979
3979
  (path: string): void;
3980
3980
  }, import("mongoose").Document<unknown, {}, Omit<IContract, "id"> & {
3981
3981
  _id: string;
@@ -4060,7 +4060,7 @@ export declare const ContractSchema: Schema<import("mongoose").Document<unknown,
4060
4060
  id: string;
4061
4061
  }> | undefined;
4062
4062
  validate?: import("mongoose").SchemaDefinitionProperty<{
4063
- <T extends "title" | "description" | "status" | "currency" | "duration" | "refundPolicy" | "requirementId" | "companyId" | "createdAt" | "updatedAt" | "_id" | "proposalId" | "profileId" | "accountId" | "terms" | "tmcAccountId" | "familyAccountId" | "totalAmount" | "startDate" | "endDate" | "exclusivityAgreed" | "guarantees" | "pausedAt" | "pauseReason" | "completedAt" | "cancelledAt" | "cancellationReason" | "cancelledBy" | "currentMilestoneId" | "completedMilestones" | "progressPercentage" | "matchesIntroduced" | "matchesAccepted" | "successfulMatch" | "successMatchId" | "totalPaid" | "totalRefunded" | "platformFee" | "companyEarnings" | "tmcEarnings" | "milestoneIds" | "startedAt">(pathsToValidate?: T | T[] | undefined, options?: import("mongoose").AnyObject): Promise<void>;
4063
+ <T extends "title" | "description" | "status" | "currency" | "duration" | "refundPolicy" | "requirementId" | "accountId" | "profileId" | "createdAt" | "companyId" | "updatedAt" | "_id" | "proposalId" | "terms" | "tmcAccountId" | "familyAccountId" | "totalAmount" | "startDate" | "endDate" | "exclusivityAgreed" | "guarantees" | "pausedAt" | "pauseReason" | "completedAt" | "cancelledAt" | "cancellationReason" | "cancelledBy" | "currentMilestoneId" | "completedMilestones" | "progressPercentage" | "matchesIntroduced" | "matchesAccepted" | "successfulMatch" | "successMatchId" | "totalPaid" | "totalRefunded" | "platformFee" | "companyEarnings" | "tmcEarnings" | "milestoneIds" | "startedAt">(pathsToValidate?: T | T[] | undefined, options?: import("mongoose").AnyObject): Promise<void>;
4064
4064
  (pathsToValidate?: import("mongoose").pathsToValidate, options?: import("mongoose").AnyObject): Promise<void>;
4065
4065
  (options: {
4066
4066
  pathsToSkip?: import("mongoose").pathsToSkip;
@@ -4101,7 +4101,7 @@ export declare const ContractSchema: Schema<import("mongoose").Document<unknown,
4101
4101
  pathsToSkip?: import("mongoose").pathsToSkip;
4102
4102
  [k: string]: any;
4103
4103
  }): import("mongoose").Error.ValidationError | null;
4104
- <T extends "title" | "description" | "status" | "currency" | "duration" | "refundPolicy" | "requirementId" | "companyId" | "createdAt" | "updatedAt" | "_id" | "proposalId" | "profileId" | "accountId" | "terms" | "tmcAccountId" | "familyAccountId" | "totalAmount" | "startDate" | "endDate" | "exclusivityAgreed" | "guarantees" | "pausedAt" | "pauseReason" | "completedAt" | "cancelledAt" | "cancellationReason" | "cancelledBy" | "currentMilestoneId" | "completedMilestones" | "progressPercentage" | "matchesIntroduced" | "matchesAccepted" | "successfulMatch" | "successMatchId" | "totalPaid" | "totalRefunded" | "platformFee" | "companyEarnings" | "tmcEarnings" | "milestoneIds" | "startedAt">(pathsToValidate?: T | T[] | undefined, options?: import("mongoose").AnyObject): import("mongoose").Error.ValidationError | null;
4104
+ <T extends "title" | "description" | "status" | "currency" | "duration" | "refundPolicy" | "requirementId" | "accountId" | "profileId" | "createdAt" | "companyId" | "updatedAt" | "_id" | "proposalId" | "terms" | "tmcAccountId" | "familyAccountId" | "totalAmount" | "startDate" | "endDate" | "exclusivityAgreed" | "guarantees" | "pausedAt" | "pauseReason" | "completedAt" | "cancelledAt" | "cancellationReason" | "cancelledBy" | "currentMilestoneId" | "completedMilestones" | "progressPercentage" | "matchesIntroduced" | "matchesAccepted" | "successfulMatch" | "successMatchId" | "totalPaid" | "totalRefunded" | "platformFee" | "companyEarnings" | "tmcEarnings" | "milestoneIds" | "startedAt">(pathsToValidate?: T | T[] | undefined, options?: import("mongoose").AnyObject): import("mongoose").Error.ValidationError | null;
4105
4105
  (pathsToValidate?: import("mongoose").pathsToValidate, options?: import("mongoose").AnyObject): import("mongoose").Error.ValidationError | null;
4106
4106
  }, import("mongoose").Document<unknown, {}, Omit<IContract, "id"> & {
4107
4107
  _id: string;
@@ -4351,7 +4351,7 @@ export declare const ContractSchema: Schema<import("mongoose").Document<unknown,
4351
4351
  } & {
4352
4352
  id: string;
4353
4353
  }> | undefined;
4354
- companyId?: import("mongoose").SchemaDefinitionProperty<string, import("mongoose").Document<unknown, {}, Omit<IContract, "id"> & {
4354
+ accountId?: import("mongoose").SchemaDefinitionProperty<string, import("mongoose").Document<unknown, {}, Omit<IContract, "id"> & {
4355
4355
  _id: string;
4356
4356
  }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IContract, "id"> & {
4357
4357
  _id: string;
@@ -4382,7 +4382,7 @@ export declare const ContractSchema: Schema<import("mongoose").Document<unknown,
4382
4382
  } & {
4383
4383
  id: string;
4384
4384
  }> | undefined;
4385
- createdAt?: import("mongoose").SchemaDefinitionProperty<Date, import("mongoose").Document<unknown, {}, Omit<IContract, "id"> & {
4385
+ profileId?: import("mongoose").SchemaDefinitionProperty<string | undefined, import("mongoose").Document<unknown, {}, Omit<IContract, "id"> & {
4386
4386
  _id: string;
4387
4387
  }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IContract, "id"> & {
4388
4388
  _id: string;
@@ -4413,7 +4413,7 @@ export declare const ContractSchema: Schema<import("mongoose").Document<unknown,
4413
4413
  } & {
4414
4414
  id: string;
4415
4415
  }> | undefined;
4416
- updatedAt?: import("mongoose").SchemaDefinitionProperty<Date, import("mongoose").Document<unknown, {}, Omit<IContract, "id"> & {
4416
+ createdAt?: import("mongoose").SchemaDefinitionProperty<Date, import("mongoose").Document<unknown, {}, Omit<IContract, "id"> & {
4417
4417
  _id: string;
4418
4418
  }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IContract, "id"> & {
4419
4419
  _id: string;
@@ -4444,7 +4444,7 @@ export declare const ContractSchema: Schema<import("mongoose").Document<unknown,
4444
4444
  } & {
4445
4445
  id: string;
4446
4446
  }> | undefined;
4447
- proposalId?: import("mongoose").SchemaDefinitionProperty<string, import("mongoose").Document<unknown, {}, Omit<IContract, "id"> & {
4447
+ companyId?: import("mongoose").SchemaDefinitionProperty<string, import("mongoose").Document<unknown, {}, Omit<IContract, "id"> & {
4448
4448
  _id: string;
4449
4449
  }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IContract, "id"> & {
4450
4450
  _id: string;
@@ -4475,7 +4475,7 @@ export declare const ContractSchema: Schema<import("mongoose").Document<unknown,
4475
4475
  } & {
4476
4476
  id: string;
4477
4477
  }> | undefined;
4478
- profileId?: import("mongoose").SchemaDefinitionProperty<string | undefined, import("mongoose").Document<unknown, {}, Omit<IContract, "id"> & {
4478
+ updatedAt?: import("mongoose").SchemaDefinitionProperty<Date, import("mongoose").Document<unknown, {}, Omit<IContract, "id"> & {
4479
4479
  _id: string;
4480
4480
  }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IContract, "id"> & {
4481
4481
  _id: string;
@@ -4506,7 +4506,7 @@ export declare const ContractSchema: Schema<import("mongoose").Document<unknown,
4506
4506
  } & {
4507
4507
  id: string;
4508
4508
  }> | undefined;
4509
- accountId?: import("mongoose").SchemaDefinitionProperty<string, import("mongoose").Document<unknown, {}, Omit<IContract, "id"> & {
4509
+ proposalId?: import("mongoose").SchemaDefinitionProperty<string, import("mongoose").Document<unknown, {}, Omit<IContract, "id"> & {
4510
4510
  _id: string;
4511
4511
  }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IContract, "id"> & {
4512
4512
  _id: string;