@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
@@ -1081,7 +1081,7 @@ export declare const ProposalSchema: Schema<import("mongoose").Document<unknown,
1081
1081
  id: string;
1082
1082
  }> | undefined;
1083
1083
  get?: import("mongoose").SchemaDefinitionProperty<{
1084
- <T extends "status" | "currency" | "requirementId" | "coverLetter" | "companyId" | "createdAt" | "updatedAt" | "_id" | "lastMessageAt" | "rejectionReason" | "tmcAccountId" | "familyAccountId" | "guarantees" | "acceptedAt" | "rejectedAt" | "listingId" | "proposedPackage" | "customPrice" | "proposedDuration" | "proposedMilestones" | "relevantExperience" | "potentialMatches" | "uniqueSellingPoints" | "exclusivityRequired" | "termsAccepted" | "customTerms" | "shortlistedAt" | "messageCount" | "viewedByClient" | "viewedAt">(path: T, type?: any, options?: any): (Omit<IProposal, "id"> & {
1084
+ <T extends "status" | "currency" | "requirementId" | "coverLetter" | "createdAt" | "companyId" | "updatedAt" | "_id" | "lastMessageAt" | "rejectionReason" | "tmcAccountId" | "familyAccountId" | "guarantees" | "acceptedAt" | "rejectedAt" | "listingId" | "proposedPackage" | "customPrice" | "proposedDuration" | "proposedMilestones" | "relevantExperience" | "potentialMatches" | "uniqueSellingPoints" | "exclusivityRequired" | "termsAccepted" | "customTerms" | "shortlistedAt" | "messageCount" | "viewedByClient" | "viewedAt">(path: T, type?: any, options?: any): (Omit<IProposal, "id"> & {
1085
1085
  _id: string;
1086
1086
  })[T];
1087
1087
  (path: string, type?: any, options?: any): any;
@@ -1240,7 +1240,7 @@ export declare const ProposalSchema: Schema<import("mongoose").Document<unknown,
1240
1240
  id: string;
1241
1241
  }> | undefined;
1242
1242
  invalidate?: import("mongoose").SchemaDefinitionProperty<{
1243
- <T extends "status" | "currency" | "requirementId" | "coverLetter" | "companyId" | "createdAt" | "updatedAt" | "_id" | "lastMessageAt" | "rejectionReason" | "tmcAccountId" | "familyAccountId" | "guarantees" | "acceptedAt" | "rejectedAt" | "listingId" | "proposedPackage" | "customPrice" | "proposedDuration" | "proposedMilestones" | "relevantExperience" | "potentialMatches" | "uniqueSellingPoints" | "exclusivityRequired" | "termsAccepted" | "customTerms" | "shortlistedAt" | "messageCount" | "viewedByClient" | "viewedAt">(path: T, errorMsg: string | NativeError, value?: any, kind?: string): NativeError | null;
1243
+ <T extends "status" | "currency" | "requirementId" | "coverLetter" | "createdAt" | "companyId" | "updatedAt" | "_id" | "lastMessageAt" | "rejectionReason" | "tmcAccountId" | "familyAccountId" | "guarantees" | "acceptedAt" | "rejectedAt" | "listingId" | "proposedPackage" | "customPrice" | "proposedDuration" | "proposedMilestones" | "relevantExperience" | "potentialMatches" | "uniqueSellingPoints" | "exclusivityRequired" | "termsAccepted" | "customTerms" | "shortlistedAt" | "messageCount" | "viewedByClient" | "viewedAt">(path: T, errorMsg: string | NativeError, value?: any, kind?: string): NativeError | null;
1244
1244
  (path: string, errorMsg: string | NativeError, value?: any, kind?: string): NativeError | null;
1245
1245
  }, import("mongoose").Document<unknown, {}, Omit<IProposal, "id"> & {
1246
1246
  _id: string;
@@ -1274,7 +1274,7 @@ export declare const ProposalSchema: Schema<import("mongoose").Document<unknown,
1274
1274
  id: string;
1275
1275
  }> | undefined;
1276
1276
  isDirectModified?: import("mongoose").SchemaDefinitionProperty<{
1277
- <T extends "status" | "currency" | "requirementId" | "coverLetter" | "companyId" | "createdAt" | "updatedAt" | "_id" | "lastMessageAt" | "rejectionReason" | "tmcAccountId" | "familyAccountId" | "guarantees" | "acceptedAt" | "rejectedAt" | "listingId" | "proposedPackage" | "customPrice" | "proposedDuration" | "proposedMilestones" | "relevantExperience" | "potentialMatches" | "uniqueSellingPoints" | "exclusivityRequired" | "termsAccepted" | "customTerms" | "shortlistedAt" | "messageCount" | "viewedByClient" | "viewedAt">(path: T | T[]): boolean;
1277
+ <T extends "status" | "currency" | "requirementId" | "coverLetter" | "createdAt" | "companyId" | "updatedAt" | "_id" | "lastMessageAt" | "rejectionReason" | "tmcAccountId" | "familyAccountId" | "guarantees" | "acceptedAt" | "rejectedAt" | "listingId" | "proposedPackage" | "customPrice" | "proposedDuration" | "proposedMilestones" | "relevantExperience" | "potentialMatches" | "uniqueSellingPoints" | "exclusivityRequired" | "termsAccepted" | "customTerms" | "shortlistedAt" | "messageCount" | "viewedByClient" | "viewedAt">(path: T | T[]): boolean;
1278
1278
  (path: string | Array<string>): boolean;
1279
1279
  }, import("mongoose").Document<unknown, {}, Omit<IProposal, "id"> & {
1280
1280
  _id: string;
@@ -1308,7 +1308,7 @@ export declare const ProposalSchema: Schema<import("mongoose").Document<unknown,
1308
1308
  id: string;
1309
1309
  }> | undefined;
1310
1310
  isDirectSelected?: import("mongoose").SchemaDefinitionProperty<{
1311
- <T extends "status" | "currency" | "requirementId" | "coverLetter" | "companyId" | "createdAt" | "updatedAt" | "_id" | "lastMessageAt" | "rejectionReason" | "tmcAccountId" | "familyAccountId" | "guarantees" | "acceptedAt" | "rejectedAt" | "listingId" | "proposedPackage" | "customPrice" | "proposedDuration" | "proposedMilestones" | "relevantExperience" | "potentialMatches" | "uniqueSellingPoints" | "exclusivityRequired" | "termsAccepted" | "customTerms" | "shortlistedAt" | "messageCount" | "viewedByClient" | "viewedAt">(path: T): boolean;
1311
+ <T extends "status" | "currency" | "requirementId" | "coverLetter" | "createdAt" | "companyId" | "updatedAt" | "_id" | "lastMessageAt" | "rejectionReason" | "tmcAccountId" | "familyAccountId" | "guarantees" | "acceptedAt" | "rejectedAt" | "listingId" | "proposedPackage" | "customPrice" | "proposedDuration" | "proposedMilestones" | "relevantExperience" | "potentialMatches" | "uniqueSellingPoints" | "exclusivityRequired" | "termsAccepted" | "customTerms" | "shortlistedAt" | "messageCount" | "viewedByClient" | "viewedAt">(path: T): boolean;
1312
1312
  (path: string): boolean;
1313
1313
  }, import("mongoose").Document<unknown, {}, Omit<IProposal, "id"> & {
1314
1314
  _id: string;
@@ -1342,7 +1342,7 @@ export declare const ProposalSchema: Schema<import("mongoose").Document<unknown,
1342
1342
  id: string;
1343
1343
  }> | undefined;
1344
1344
  isInit?: import("mongoose").SchemaDefinitionProperty<{
1345
- <T extends "status" | "currency" | "requirementId" | "coverLetter" | "companyId" | "createdAt" | "updatedAt" | "_id" | "lastMessageAt" | "rejectionReason" | "tmcAccountId" | "familyAccountId" | "guarantees" | "acceptedAt" | "rejectedAt" | "listingId" | "proposedPackage" | "customPrice" | "proposedDuration" | "proposedMilestones" | "relevantExperience" | "potentialMatches" | "uniqueSellingPoints" | "exclusivityRequired" | "termsAccepted" | "customTerms" | "shortlistedAt" | "messageCount" | "viewedByClient" | "viewedAt">(path: T): boolean;
1345
+ <T extends "status" | "currency" | "requirementId" | "coverLetter" | "createdAt" | "companyId" | "updatedAt" | "_id" | "lastMessageAt" | "rejectionReason" | "tmcAccountId" | "familyAccountId" | "guarantees" | "acceptedAt" | "rejectedAt" | "listingId" | "proposedPackage" | "customPrice" | "proposedDuration" | "proposedMilestones" | "relevantExperience" | "potentialMatches" | "uniqueSellingPoints" | "exclusivityRequired" | "termsAccepted" | "customTerms" | "shortlistedAt" | "messageCount" | "viewedByClient" | "viewedAt">(path: T): boolean;
1346
1346
  (path: string): boolean;
1347
1347
  }, import("mongoose").Document<unknown, {}, Omit<IProposal, "id"> & {
1348
1348
  _id: string;
@@ -1376,7 +1376,7 @@ export declare const ProposalSchema: Schema<import("mongoose").Document<unknown,
1376
1376
  id: string;
1377
1377
  }> | undefined;
1378
1378
  isModified?: import("mongoose").SchemaDefinitionProperty<{
1379
- <T extends "status" | "currency" | "requirementId" | "coverLetter" | "companyId" | "createdAt" | "updatedAt" | "_id" | "lastMessageAt" | "rejectionReason" | "tmcAccountId" | "familyAccountId" | "guarantees" | "acceptedAt" | "rejectedAt" | "listingId" | "proposedPackage" | "customPrice" | "proposedDuration" | "proposedMilestones" | "relevantExperience" | "potentialMatches" | "uniqueSellingPoints" | "exclusivityRequired" | "termsAccepted" | "customTerms" | "shortlistedAt" | "messageCount" | "viewedByClient" | "viewedAt">(path?: T | T[] | undefined, options?: {
1379
+ <T extends "status" | "currency" | "requirementId" | "coverLetter" | "createdAt" | "companyId" | "updatedAt" | "_id" | "lastMessageAt" | "rejectionReason" | "tmcAccountId" | "familyAccountId" | "guarantees" | "acceptedAt" | "rejectedAt" | "listingId" | "proposedPackage" | "customPrice" | "proposedDuration" | "proposedMilestones" | "relevantExperience" | "potentialMatches" | "uniqueSellingPoints" | "exclusivityRequired" | "termsAccepted" | "customTerms" | "shortlistedAt" | "messageCount" | "viewedByClient" | "viewedAt">(path?: T | T[] | undefined, options?: {
1380
1380
  ignoreAtomics?: boolean;
1381
1381
  } | null): boolean;
1382
1382
  (path?: string | Array<string>, options?: {
@@ -1445,7 +1445,7 @@ export declare const ProposalSchema: Schema<import("mongoose").Document<unknown,
1445
1445
  id: string;
1446
1446
  }> | undefined;
1447
1447
  isSelected?: import("mongoose").SchemaDefinitionProperty<{
1448
- <T extends "status" | "currency" | "requirementId" | "coverLetter" | "companyId" | "createdAt" | "updatedAt" | "_id" | "lastMessageAt" | "rejectionReason" | "tmcAccountId" | "familyAccountId" | "guarantees" | "acceptedAt" | "rejectedAt" | "listingId" | "proposedPackage" | "customPrice" | "proposedDuration" | "proposedMilestones" | "relevantExperience" | "potentialMatches" | "uniqueSellingPoints" | "exclusivityRequired" | "termsAccepted" | "customTerms" | "shortlistedAt" | "messageCount" | "viewedByClient" | "viewedAt">(path: T): boolean;
1448
+ <T extends "status" | "currency" | "requirementId" | "coverLetter" | "createdAt" | "companyId" | "updatedAt" | "_id" | "lastMessageAt" | "rejectionReason" | "tmcAccountId" | "familyAccountId" | "guarantees" | "acceptedAt" | "rejectedAt" | "listingId" | "proposedPackage" | "customPrice" | "proposedDuration" | "proposedMilestones" | "relevantExperience" | "potentialMatches" | "uniqueSellingPoints" | "exclusivityRequired" | "termsAccepted" | "customTerms" | "shortlistedAt" | "messageCount" | "viewedByClient" | "viewedAt">(path: T): boolean;
1449
1449
  (path: string): boolean;
1450
1450
  }, import("mongoose").Document<unknown, {}, Omit<IProposal, "id"> & {
1451
1451
  _id: string;
@@ -1479,7 +1479,7 @@ export declare const ProposalSchema: Schema<import("mongoose").Document<unknown,
1479
1479
  id: string;
1480
1480
  }> | undefined;
1481
1481
  markModified?: import("mongoose").SchemaDefinitionProperty<{
1482
- <T extends "status" | "currency" | "requirementId" | "coverLetter" | "companyId" | "createdAt" | "updatedAt" | "_id" | "lastMessageAt" | "rejectionReason" | "tmcAccountId" | "familyAccountId" | "guarantees" | "acceptedAt" | "rejectedAt" | "listingId" | "proposedPackage" | "customPrice" | "proposedDuration" | "proposedMilestones" | "relevantExperience" | "potentialMatches" | "uniqueSellingPoints" | "exclusivityRequired" | "termsAccepted" | "customTerms" | "shortlistedAt" | "messageCount" | "viewedByClient" | "viewedAt">(path: T, scope?: any): void;
1482
+ <T extends "status" | "currency" | "requirementId" | "coverLetter" | "createdAt" | "companyId" | "updatedAt" | "_id" | "lastMessageAt" | "rejectionReason" | "tmcAccountId" | "familyAccountId" | "guarantees" | "acceptedAt" | "rejectedAt" | "listingId" | "proposedPackage" | "customPrice" | "proposedDuration" | "proposedMilestones" | "relevantExperience" | "potentialMatches" | "uniqueSellingPoints" | "exclusivityRequired" | "termsAccepted" | "customTerms" | "shortlistedAt" | "messageCount" | "viewedByClient" | "viewedAt">(path: T, scope?: any): void;
1483
1483
  (path: string, scope?: any): void;
1484
1484
  }, import("mongoose").Document<unknown, {}, Omit<IProposal, "id"> & {
1485
1485
  _id: string;
@@ -1918,7 +1918,7 @@ export declare const ProposalSchema: Schema<import("mongoose").Document<unknown,
1918
1918
  id: string;
1919
1919
  }> | undefined;
1920
1920
  set?: import("mongoose").SchemaDefinitionProperty<{
1921
- <T extends "status" | "currency" | "requirementId" | "coverLetter" | "companyId" | "createdAt" | "updatedAt" | "_id" | "lastMessageAt" | "rejectionReason" | "tmcAccountId" | "familyAccountId" | "guarantees" | "acceptedAt" | "rejectedAt" | "listingId" | "proposedPackage" | "customPrice" | "proposedDuration" | "proposedMilestones" | "relevantExperience" | "potentialMatches" | "uniqueSellingPoints" | "exclusivityRequired" | "termsAccepted" | "customTerms" | "shortlistedAt" | "messageCount" | "viewedByClient" | "viewedAt">(path: T, val: (Omit<IProposal, "id"> & {
1921
+ <T extends "status" | "currency" | "requirementId" | "coverLetter" | "createdAt" | "companyId" | "updatedAt" | "_id" | "lastMessageAt" | "rejectionReason" | "tmcAccountId" | "familyAccountId" | "guarantees" | "acceptedAt" | "rejectedAt" | "listingId" | "proposedPackage" | "customPrice" | "proposedDuration" | "proposedMilestones" | "relevantExperience" | "potentialMatches" | "uniqueSellingPoints" | "exclusivityRequired" | "termsAccepted" | "customTerms" | "shortlistedAt" | "messageCount" | "viewedByClient" | "viewedAt">(path: T, val: (Omit<IProposal, "id"> & {
1922
1922
  _id: string;
1923
1923
  })[T], type: any, options?: import("mongoose").DocumentSetOptions): import("mongoose").Document<unknown, {}, Omit<IProposal, "id"> & {
1924
1924
  _id: string;
@@ -2006,8 +2006,8 @@ export declare const ProposalSchema: Schema<import("mongoose").Document<unknown,
2006
2006
  currency: string;
2007
2007
  requirementId: string;
2008
2008
  coverLetter: string;
2009
- companyId: string;
2010
2009
  createdAt: Date;
2010
+ companyId: string;
2011
2011
  updatedAt: Date;
2012
2012
  _id: string;
2013
2013
  lastMessageAt?: Date | undefined;
@@ -2060,8 +2060,8 @@ export declare const ProposalSchema: Schema<import("mongoose").Document<unknown,
2060
2060
  currency: string;
2061
2061
  requirementId: string;
2062
2062
  coverLetter: string;
2063
- companyId: string;
2064
2063
  createdAt: Date;
2064
+ companyId: string;
2065
2065
  updatedAt: Date;
2066
2066
  lastMessageAt?: Date | undefined;
2067
2067
  rejectionReason?: string | undefined;
@@ -2134,8 +2134,8 @@ export declare const ProposalSchema: Schema<import("mongoose").Document<unknown,
2134
2134
  currency: string;
2135
2135
  requirementId: string;
2136
2136
  coverLetter: string;
2137
- companyId: string;
2138
2137
  createdAt: Date;
2138
+ companyId: string;
2139
2139
  updatedAt: Date;
2140
2140
  _id: string;
2141
2141
  lastMessageAt?: Date | undefined;
@@ -2188,8 +2188,8 @@ export declare const ProposalSchema: Schema<import("mongoose").Document<unknown,
2188
2188
  currency: string;
2189
2189
  requirementId: string;
2190
2190
  coverLetter: string;
2191
- companyId: string;
2192
2191
  createdAt: Date;
2192
+ companyId: string;
2193
2193
  updatedAt: Date;
2194
2194
  lastMessageAt?: Date | undefined;
2195
2195
  rejectionReason?: string | undefined;
@@ -2262,8 +2262,8 @@ export declare const ProposalSchema: Schema<import("mongoose").Document<unknown,
2262
2262
  currency: string;
2263
2263
  requirementId: string;
2264
2264
  coverLetter: string;
2265
- companyId: string;
2266
2265
  createdAt: Date;
2266
+ companyId: string;
2267
2267
  updatedAt: Date;
2268
2268
  _id: string;
2269
2269
  lastMessageAt?: Date | undefined;
@@ -2316,8 +2316,8 @@ export declare const ProposalSchema: Schema<import("mongoose").Document<unknown,
2316
2316
  currency: string;
2317
2317
  requirementId: string;
2318
2318
  coverLetter: string;
2319
- companyId: string;
2320
2319
  createdAt: Date;
2320
+ companyId: string;
2321
2321
  updatedAt: Date;
2322
2322
  lastMessageAt?: Date | undefined;
2323
2323
  rejectionReason?: string | undefined;
@@ -2390,8 +2390,8 @@ export declare const ProposalSchema: Schema<import("mongoose").Document<unknown,
2390
2390
  currency: string;
2391
2391
  requirementId: string;
2392
2392
  coverLetter: string;
2393
- companyId: string;
2394
2393
  createdAt: Date;
2394
+ companyId: string;
2395
2395
  updatedAt: Date;
2396
2396
  _id: string;
2397
2397
  lastMessageAt?: Date | undefined;
@@ -2444,8 +2444,8 @@ export declare const ProposalSchema: Schema<import("mongoose").Document<unknown,
2444
2444
  currency: string;
2445
2445
  requirementId: string;
2446
2446
  coverLetter: string;
2447
- companyId: string;
2448
2447
  createdAt: Date;
2448
+ companyId: string;
2449
2449
  updatedAt: Date;
2450
2450
  lastMessageAt?: Date | undefined;
2451
2451
  rejectionReason?: string | undefined;
@@ -2517,8 +2517,8 @@ export declare const ProposalSchema: Schema<import("mongoose").Document<unknown,
2517
2517
  currency: string;
2518
2518
  requirementId: string;
2519
2519
  coverLetter: string;
2520
- companyId: string;
2521
2520
  createdAt: Date;
2521
+ companyId: string;
2522
2522
  updatedAt: Date;
2523
2523
  lastMessageAt?: Date | undefined;
2524
2524
  rejectionReason?: string | undefined;
@@ -2570,8 +2570,8 @@ export declare const ProposalSchema: Schema<import("mongoose").Document<unknown,
2570
2570
  currency: string;
2571
2571
  requirementId: string;
2572
2572
  coverLetter: string;
2573
- companyId: string;
2574
2573
  createdAt: Date;
2574
+ companyId: string;
2575
2575
  updatedAt: Date;
2576
2576
  lastMessageAt?: Date | undefined;
2577
2577
  rejectionReason?: string | undefined;
@@ -2623,8 +2623,8 @@ export declare const ProposalSchema: Schema<import("mongoose").Document<unknown,
2623
2623
  currency: string;
2624
2624
  requirementId: string;
2625
2625
  coverLetter: string;
2626
- companyId: string;
2627
2626
  createdAt: Date;
2627
+ companyId: string;
2628
2628
  updatedAt: Date;
2629
2629
  lastMessageAt?: Date | undefined;
2630
2630
  rejectionReason?: string | undefined;
@@ -2675,8 +2675,8 @@ export declare const ProposalSchema: Schema<import("mongoose").Document<unknown,
2675
2675
  currency: string;
2676
2676
  requirementId: string;
2677
2677
  coverLetter: string;
2678
- companyId: string;
2679
2678
  createdAt: Date;
2679
+ companyId: string;
2680
2680
  updatedAt: Date;
2681
2681
  lastMessageAt?: Date | undefined;
2682
2682
  rejectionReason?: string | undefined;
@@ -2745,8 +2745,8 @@ export declare const ProposalSchema: Schema<import("mongoose").Document<unknown,
2745
2745
  currency: string;
2746
2746
  requirementId: string;
2747
2747
  coverLetter: string;
2748
- companyId: string;
2749
2748
  createdAt: Date;
2749
+ companyId: string;
2750
2750
  updatedAt: Date;
2751
2751
  _id: string;
2752
2752
  lastMessageAt?: Date | undefined;
@@ -2800,8 +2800,8 @@ export declare const ProposalSchema: Schema<import("mongoose").Document<unknown,
2800
2800
  currency: string;
2801
2801
  requirementId: string;
2802
2802
  coverLetter: string;
2803
- companyId: string;
2804
2803
  createdAt: Date;
2804
+ companyId: string;
2805
2805
  updatedAt: Date;
2806
2806
  _id: string;
2807
2807
  lastMessageAt?: Date | undefined;
@@ -2863,8 +2863,8 @@ export declare const ProposalSchema: Schema<import("mongoose").Document<unknown,
2863
2863
  currency: string;
2864
2864
  requirementId: string;
2865
2865
  coverLetter: string;
2866
- companyId: string;
2867
2866
  createdAt: Date;
2867
+ companyId: string;
2868
2868
  updatedAt: Date;
2869
2869
  _id: string;
2870
2870
  lastMessageAt?: Date | undefined;
@@ -2925,8 +2925,8 @@ export declare const ProposalSchema: Schema<import("mongoose").Document<unknown,
2925
2925
  currency: string;
2926
2926
  requirementId: string;
2927
2927
  coverLetter: string;
2928
- companyId: string;
2929
2928
  createdAt: Date;
2929
+ companyId: string;
2930
2930
  updatedAt: Date;
2931
2931
  _id: string;
2932
2932
  lastMessageAt?: Date | undefined;
@@ -2978,8 +2978,8 @@ export declare const ProposalSchema: Schema<import("mongoose").Document<unknown,
2978
2978
  currency: string;
2979
2979
  requirementId: string;
2980
2980
  coverLetter: string;
2981
- companyId: string;
2982
2981
  createdAt: Date;
2982
+ companyId: string;
2983
2983
  updatedAt: Date;
2984
2984
  _id: string;
2985
2985
  lastMessageAt?: Date | undefined;
@@ -3097,8 +3097,8 @@ export declare const ProposalSchema: Schema<import("mongoose").Document<unknown,
3097
3097
  currency: string;
3098
3098
  requirementId: string;
3099
3099
  coverLetter: string;
3100
- companyId: string;
3101
3100
  createdAt: Date;
3101
+ companyId: string;
3102
3102
  updatedAt: Date;
3103
3103
  _id: string;
3104
3104
  lastMessageAt?: Date | undefined;
@@ -3151,8 +3151,8 @@ export declare const ProposalSchema: Schema<import("mongoose").Document<unknown,
3151
3151
  currency: string;
3152
3152
  requirementId: string;
3153
3153
  coverLetter: string;
3154
- companyId: string;
3155
3154
  createdAt: Date;
3155
+ companyId: string;
3156
3156
  updatedAt: Date;
3157
3157
  lastMessageAt?: Date | undefined;
3158
3158
  rejectionReason?: string | undefined;
@@ -3225,8 +3225,8 @@ export declare const ProposalSchema: Schema<import("mongoose").Document<unknown,
3225
3225
  currency: string;
3226
3226
  requirementId: string;
3227
3227
  coverLetter: string;
3228
- companyId: string;
3229
3228
  createdAt: Date;
3229
+ companyId: string;
3230
3230
  updatedAt: Date;
3231
3231
  _id: string;
3232
3232
  lastMessageAt?: Date | undefined;
@@ -3279,8 +3279,8 @@ export declare const ProposalSchema: Schema<import("mongoose").Document<unknown,
3279
3279
  currency: string;
3280
3280
  requirementId: string;
3281
3281
  coverLetter: string;
3282
- companyId: string;
3283
3282
  createdAt: Date;
3283
+ companyId: string;
3284
3284
  updatedAt: Date;
3285
3285
  lastMessageAt?: Date | undefined;
3286
3286
  rejectionReason?: string | undefined;
@@ -3353,8 +3353,8 @@ export declare const ProposalSchema: Schema<import("mongoose").Document<unknown,
3353
3353
  currency: string;
3354
3354
  requirementId: string;
3355
3355
  coverLetter: string;
3356
- companyId: string;
3357
3356
  createdAt: Date;
3357
+ companyId: string;
3358
3358
  updatedAt: Date;
3359
3359
  _id: string;
3360
3360
  lastMessageAt?: Date | undefined;
@@ -3407,8 +3407,8 @@ export declare const ProposalSchema: Schema<import("mongoose").Document<unknown,
3407
3407
  currency: string;
3408
3408
  requirementId: string;
3409
3409
  coverLetter: string;
3410
- companyId: string;
3411
3410
  createdAt: Date;
3411
+ companyId: string;
3412
3412
  updatedAt: Date;
3413
3413
  lastMessageAt?: Date | undefined;
3414
3414
  rejectionReason?: string | undefined;
@@ -3481,8 +3481,8 @@ export declare const ProposalSchema: Schema<import("mongoose").Document<unknown,
3481
3481
  currency: string;
3482
3482
  requirementId: string;
3483
3483
  coverLetter: string;
3484
- companyId: string;
3485
3484
  createdAt: Date;
3485
+ companyId: string;
3486
3486
  updatedAt: Date;
3487
3487
  _id: string;
3488
3488
  lastMessageAt?: Date | undefined;
@@ -3535,8 +3535,8 @@ export declare const ProposalSchema: Schema<import("mongoose").Document<unknown,
3535
3535
  currency: string;
3536
3536
  requirementId: string;
3537
3537
  coverLetter: string;
3538
- companyId: string;
3539
3538
  createdAt: Date;
3539
+ companyId: string;
3540
3540
  updatedAt: Date;
3541
3541
  lastMessageAt?: Date | undefined;
3542
3542
  rejectionReason?: string | undefined;
@@ -3608,8 +3608,8 @@ export declare const ProposalSchema: Schema<import("mongoose").Document<unknown,
3608
3608
  currency: string;
3609
3609
  requirementId: string;
3610
3610
  coverLetter: string;
3611
- companyId: string;
3612
3611
  createdAt: Date;
3612
+ companyId: string;
3613
3613
  updatedAt: Date;
3614
3614
  lastMessageAt?: Date | undefined;
3615
3615
  rejectionReason?: string | undefined;
@@ -3661,8 +3661,8 @@ export declare const ProposalSchema: Schema<import("mongoose").Document<unknown,
3661
3661
  currency: string;
3662
3662
  requirementId: string;
3663
3663
  coverLetter: string;
3664
- companyId: string;
3665
3664
  createdAt: Date;
3665
+ companyId: string;
3666
3666
  updatedAt: Date;
3667
3667
  lastMessageAt?: Date | undefined;
3668
3668
  rejectionReason?: string | undefined;
@@ -3714,8 +3714,8 @@ export declare const ProposalSchema: Schema<import("mongoose").Document<unknown,
3714
3714
  currency: string;
3715
3715
  requirementId: string;
3716
3716
  coverLetter: string;
3717
- companyId: string;
3718
3717
  createdAt: Date;
3718
+ companyId: string;
3719
3719
  updatedAt: Date;
3720
3720
  lastMessageAt?: Date | undefined;
3721
3721
  rejectionReason?: string | undefined;
@@ -3766,8 +3766,8 @@ export declare const ProposalSchema: Schema<import("mongoose").Document<unknown,
3766
3766
  currency: string;
3767
3767
  requirementId: string;
3768
3768
  coverLetter: string;
3769
- companyId: string;
3770
3769
  createdAt: Date;
3770
+ companyId: string;
3771
3771
  updatedAt: Date;
3772
3772
  lastMessageAt?: Date | undefined;
3773
3773
  rejectionReason?: string | undefined;
@@ -3836,8 +3836,8 @@ export declare const ProposalSchema: Schema<import("mongoose").Document<unknown,
3836
3836
  currency: string;
3837
3837
  requirementId: string;
3838
3838
  coverLetter: string;
3839
- companyId: string;
3840
3839
  createdAt: Date;
3840
+ companyId: string;
3841
3841
  updatedAt: Date;
3842
3842
  _id: string;
3843
3843
  lastMessageAt?: Date | undefined;
@@ -3891,8 +3891,8 @@ export declare const ProposalSchema: Schema<import("mongoose").Document<unknown,
3891
3891
  currency: string;
3892
3892
  requirementId: string;
3893
3893
  coverLetter: string;
3894
- companyId: string;
3895
3894
  createdAt: Date;
3895
+ companyId: string;
3896
3896
  updatedAt: Date;
3897
3897
  _id: string;
3898
3898
  lastMessageAt?: Date | undefined;
@@ -3954,8 +3954,8 @@ export declare const ProposalSchema: Schema<import("mongoose").Document<unknown,
3954
3954
  currency: string;
3955
3955
  requirementId: string;
3956
3956
  coverLetter: string;
3957
- companyId: string;
3958
3957
  createdAt: Date;
3958
+ companyId: string;
3959
3959
  updatedAt: Date;
3960
3960
  _id: string;
3961
3961
  lastMessageAt?: Date | undefined;
@@ -4016,8 +4016,8 @@ export declare const ProposalSchema: Schema<import("mongoose").Document<unknown,
4016
4016
  currency: string;
4017
4017
  requirementId: string;
4018
4018
  coverLetter: string;
4019
- companyId: string;
4020
4019
  createdAt: Date;
4020
+ companyId: string;
4021
4021
  updatedAt: Date;
4022
4022
  _id: string;
4023
4023
  lastMessageAt?: Date | undefined;
@@ -4069,8 +4069,8 @@ export declare const ProposalSchema: Schema<import("mongoose").Document<unknown,
4069
4069
  currency: string;
4070
4070
  requirementId: string;
4071
4071
  coverLetter: string;
4072
- companyId: string;
4073
4072
  createdAt: Date;
4073
+ companyId: string;
4074
4074
  updatedAt: Date;
4075
4075
  _id: string;
4076
4076
  lastMessageAt?: Date | undefined;
@@ -4178,7 +4178,7 @@ export declare const ProposalSchema: Schema<import("mongoose").Document<unknown,
4178
4178
  id: string;
4179
4179
  }> | undefined;
4180
4180
  unmarkModified?: import("mongoose").SchemaDefinitionProperty<{
4181
- <T extends "status" | "currency" | "requirementId" | "coverLetter" | "companyId" | "createdAt" | "updatedAt" | "_id" | "lastMessageAt" | "rejectionReason" | "tmcAccountId" | "familyAccountId" | "guarantees" | "acceptedAt" | "rejectedAt" | "listingId" | "proposedPackage" | "customPrice" | "proposedDuration" | "proposedMilestones" | "relevantExperience" | "potentialMatches" | "uniqueSellingPoints" | "exclusivityRequired" | "termsAccepted" | "customTerms" | "shortlistedAt" | "messageCount" | "viewedByClient" | "viewedAt">(path: T): void;
4181
+ <T extends "status" | "currency" | "requirementId" | "coverLetter" | "createdAt" | "companyId" | "updatedAt" | "_id" | "lastMessageAt" | "rejectionReason" | "tmcAccountId" | "familyAccountId" | "guarantees" | "acceptedAt" | "rejectedAt" | "listingId" | "proposedPackage" | "customPrice" | "proposedDuration" | "proposedMilestones" | "relevantExperience" | "potentialMatches" | "uniqueSellingPoints" | "exclusivityRequired" | "termsAccepted" | "customTerms" | "shortlistedAt" | "messageCount" | "viewedByClient" | "viewedAt">(path: T): void;
4182
4182
  (path: string): void;
4183
4183
  }, import("mongoose").Document<unknown, {}, Omit<IProposal, "id"> & {
4184
4184
  _id: string;
@@ -4263,7 +4263,7 @@ export declare const ProposalSchema: Schema<import("mongoose").Document<unknown,
4263
4263
  id: string;
4264
4264
  }> | undefined;
4265
4265
  validate?: import("mongoose").SchemaDefinitionProperty<{
4266
- <T extends "status" | "currency" | "requirementId" | "coverLetter" | "companyId" | "createdAt" | "updatedAt" | "_id" | "lastMessageAt" | "rejectionReason" | "tmcAccountId" | "familyAccountId" | "guarantees" | "acceptedAt" | "rejectedAt" | "listingId" | "proposedPackage" | "customPrice" | "proposedDuration" | "proposedMilestones" | "relevantExperience" | "potentialMatches" | "uniqueSellingPoints" | "exclusivityRequired" | "termsAccepted" | "customTerms" | "shortlistedAt" | "messageCount" | "viewedByClient" | "viewedAt">(pathsToValidate?: T | T[] | undefined, options?: import("mongoose").AnyObject): Promise<void>;
4266
+ <T extends "status" | "currency" | "requirementId" | "coverLetter" | "createdAt" | "companyId" | "updatedAt" | "_id" | "lastMessageAt" | "rejectionReason" | "tmcAccountId" | "familyAccountId" | "guarantees" | "acceptedAt" | "rejectedAt" | "listingId" | "proposedPackage" | "customPrice" | "proposedDuration" | "proposedMilestones" | "relevantExperience" | "potentialMatches" | "uniqueSellingPoints" | "exclusivityRequired" | "termsAccepted" | "customTerms" | "shortlistedAt" | "messageCount" | "viewedByClient" | "viewedAt">(pathsToValidate?: T | T[] | undefined, options?: import("mongoose").AnyObject): Promise<void>;
4267
4267
  (pathsToValidate?: import("mongoose").pathsToValidate, options?: import("mongoose").AnyObject): Promise<void>;
4268
4268
  (options: {
4269
4269
  pathsToSkip?: import("mongoose").pathsToSkip;
@@ -4304,7 +4304,7 @@ export declare const ProposalSchema: Schema<import("mongoose").Document<unknown,
4304
4304
  pathsToSkip?: import("mongoose").pathsToSkip;
4305
4305
  [k: string]: any;
4306
4306
  }): import("mongoose").Error.ValidationError | null;
4307
- <T extends "status" | "currency" | "requirementId" | "coverLetter" | "companyId" | "createdAt" | "updatedAt" | "_id" | "lastMessageAt" | "rejectionReason" | "tmcAccountId" | "familyAccountId" | "guarantees" | "acceptedAt" | "rejectedAt" | "listingId" | "proposedPackage" | "customPrice" | "proposedDuration" | "proposedMilestones" | "relevantExperience" | "potentialMatches" | "uniqueSellingPoints" | "exclusivityRequired" | "termsAccepted" | "customTerms" | "shortlistedAt" | "messageCount" | "viewedByClient" | "viewedAt">(pathsToValidate?: T | T[] | undefined, options?: import("mongoose").AnyObject): import("mongoose").Error.ValidationError | null;
4307
+ <T extends "status" | "currency" | "requirementId" | "coverLetter" | "createdAt" | "companyId" | "updatedAt" | "_id" | "lastMessageAt" | "rejectionReason" | "tmcAccountId" | "familyAccountId" | "guarantees" | "acceptedAt" | "rejectedAt" | "listingId" | "proposedPackage" | "customPrice" | "proposedDuration" | "proposedMilestones" | "relevantExperience" | "potentialMatches" | "uniqueSellingPoints" | "exclusivityRequired" | "termsAccepted" | "customTerms" | "shortlistedAt" | "messageCount" | "viewedByClient" | "viewedAt">(pathsToValidate?: T | T[] | undefined, options?: import("mongoose").AnyObject): import("mongoose").Error.ValidationError | null;
4308
4308
  (pathsToValidate?: import("mongoose").pathsToValidate, options?: import("mongoose").AnyObject): import("mongoose").Error.ValidationError | null;
4309
4309
  }, import("mongoose").Document<unknown, {}, Omit<IProposal, "id"> & {
4310
4310
  _id: string;
@@ -4461,7 +4461,7 @@ export declare const ProposalSchema: Schema<import("mongoose").Document<unknown,
4461
4461
  } & {
4462
4462
  id: string;
4463
4463
  }> | undefined;
4464
- companyId?: import("mongoose").SchemaDefinitionProperty<string, import("mongoose").Document<unknown, {}, Omit<IProposal, "id"> & {
4464
+ createdAt?: import("mongoose").SchemaDefinitionProperty<Date, import("mongoose").Document<unknown, {}, Omit<IProposal, "id"> & {
4465
4465
  _id: string;
4466
4466
  }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProposal, "id"> & {
4467
4467
  _id: string;
@@ -4492,7 +4492,7 @@ export declare const ProposalSchema: Schema<import("mongoose").Document<unknown,
4492
4492
  } & {
4493
4493
  id: string;
4494
4494
  }> | undefined;
4495
- createdAt?: import("mongoose").SchemaDefinitionProperty<Date, import("mongoose").Document<unknown, {}, Omit<IProposal, "id"> & {
4495
+ companyId?: import("mongoose").SchemaDefinitionProperty<string, import("mongoose").Document<unknown, {}, Omit<IProposal, "id"> & {
4496
4496
  _id: string;
4497
4497
  }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProposal, "id"> & {
4498
4498
  _id: string;