@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.
- package/dist/backend/index.d.ts +2 -2
- package/dist/backend/index.d.ts.map +1 -1
- package/dist/backend/index.js +1 -1
- package/dist/backend/index.js.map +1 -1
- package/dist/backend/worker-queue.d.ts +203 -13
- package/dist/backend/worker-queue.d.ts.map +1 -1
- package/dist/backend/worker-queue.js +67 -12
- package/dist/backend/worker-queue.js.map +1 -1
- package/dist/constants/worker.d.ts +17 -0
- package/dist/constants/worker.d.ts.map +1 -1
- package/dist/constants/worker.js +20 -0
- package/dist/constants/worker.js.map +1 -1
- package/dist/schemas/account.schema.d.ts +66 -66
- package/dist/schemas/chat.schema.d.ts +49 -49
- package/dist/schemas/chat.schema.d.ts.map +1 -1
- package/dist/schemas/collaboration-request.schema.d.ts +84 -84
- package/dist/schemas/collaboration-request.schema.d.ts.map +1 -1
- package/dist/schemas/company-review.schema.d.ts +83 -83
- package/dist/schemas/company-review.schema.d.ts.map +1 -1
- package/dist/schemas/company.schema.d.ts +88 -88
- package/dist/schemas/company.schema.d.ts.map +1 -1
- package/dist/schemas/contract.schema.d.ts +120 -120
- package/dist/schemas/contract.schema.d.ts.map +1 -1
- package/dist/schemas/dispute.schema.d.ts +84 -84
- package/dist/schemas/dispute.schema.d.ts.map +1 -1
- package/dist/schemas/donation.schema.d.ts +49 -49
- package/dist/schemas/donation.schema.d.ts.map +1 -1
- package/dist/schemas/escrow.schema.d.ts +84 -84
- package/dist/schemas/escrow.schema.d.ts.map +1 -1
- package/dist/schemas/interest.schema.d.ts +87 -87
- package/dist/schemas/interest.schema.d.ts.map +1 -1
- package/dist/schemas/match.schema.d.ts +87 -87
- package/dist/schemas/match.schema.d.ts.map +1 -1
- package/dist/schemas/message.schema.d.ts +53 -53
- package/dist/schemas/message.schema.d.ts.map +1 -1
- package/dist/schemas/milestone.schema.d.ts +48 -48
- package/dist/schemas/notification.schema.d.ts +155 -155
- package/dist/schemas/notification.schema.d.ts.map +1 -1
- package/dist/schemas/profile.schema.d.ts +87 -87
- package/dist/schemas/profile.schema.d.ts.map +1 -1
- package/dist/schemas/profit-share-agreement.schema.d.ts +48 -48
- package/dist/schemas/profit-share.schema.d.ts +48 -48
- package/dist/schemas/proposal.schema.d.ts +48 -48
- package/dist/schemas/purchase.schema.d.ts +49 -49
- package/dist/schemas/purchase.schema.d.ts.map +1 -1
- package/dist/schemas/requirement-post.schema.d.ts +84 -84
- package/dist/schemas/requirement-post.schema.d.ts.map +1 -1
- package/dist/schemas/service-listing.schema.d.ts +48 -48
- package/dist/schemas/subscription.schema.d.ts +83 -83
- package/dist/schemas/subscription.schema.d.ts.map +1 -1
- package/dist/schemas/tmc-application.schema.d.ts +48 -48
- package/dist/schemas/tmc-membership.schema.d.ts +48 -48
- package/dist/schemas/trust-badge.schema.d.ts +48 -48
- package/dist/schemas/verification.schema.d.ts +87 -87
- package/dist/schemas/verification.schema.d.ts.map +1 -1
- package/dist/schemas/webhook-event.schema.d.ts +48 -48
- package/dist/types/worker.d.ts +9 -2
- package/dist/types/worker.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -1079,7 +1079,7 @@ export declare const TMCApplicationSchema: Schema<import("mongoose").Document<un
|
|
|
1079
1079
|
id: string;
|
|
1080
1080
|
}> | undefined;
|
|
1081
1081
|
get?: import("mongoose").SchemaDefinitionProperty<{
|
|
1082
|
-
<T extends "status" | "companyName" | "references" | "
|
|
1082
|
+
<T extends "status" | "companyName" | "references" | "createdAt" | "companyId" | "updatedAt" | "_id" | "reviewedAt" | "reviewedBy" | "reviewNotes" | "yearsInBusiness" | "rejectionReason" | "specializations" | "applicationLetter" | "totalMatchesFacilitated" | "currentTrustLevel" | "geographicCoverage" | "documents" | "approvedTier">(path: T, type?: any, options?: any): (Omit<ITMCApplication, "id"> & {
|
|
1083
1083
|
_id: string;
|
|
1084
1084
|
})[T];
|
|
1085
1085
|
(path: string, type?: any, options?: any): any;
|
|
@@ -1238,7 +1238,7 @@ export declare const TMCApplicationSchema: Schema<import("mongoose").Document<un
|
|
|
1238
1238
|
id: string;
|
|
1239
1239
|
}> | undefined;
|
|
1240
1240
|
invalidate?: import("mongoose").SchemaDefinitionProperty<{
|
|
1241
|
-
<T extends "status" | "companyName" | "references" | "
|
|
1241
|
+
<T extends "status" | "companyName" | "references" | "createdAt" | "companyId" | "updatedAt" | "_id" | "reviewedAt" | "reviewedBy" | "reviewNotes" | "yearsInBusiness" | "rejectionReason" | "specializations" | "applicationLetter" | "totalMatchesFacilitated" | "currentTrustLevel" | "geographicCoverage" | "documents" | "approvedTier">(path: T, errorMsg: string | NativeError, value?: any, kind?: string): NativeError | null;
|
|
1242
1242
|
(path: string, errorMsg: string | NativeError, value?: any, kind?: string): NativeError | null;
|
|
1243
1243
|
}, import("mongoose").Document<unknown, {}, Omit<ITMCApplication, "id"> & {
|
|
1244
1244
|
_id: string;
|
|
@@ -1272,7 +1272,7 @@ export declare const TMCApplicationSchema: Schema<import("mongoose").Document<un
|
|
|
1272
1272
|
id: string;
|
|
1273
1273
|
}> | undefined;
|
|
1274
1274
|
isDirectModified?: import("mongoose").SchemaDefinitionProperty<{
|
|
1275
|
-
<T extends "status" | "companyName" | "references" | "
|
|
1275
|
+
<T extends "status" | "companyName" | "references" | "createdAt" | "companyId" | "updatedAt" | "_id" | "reviewedAt" | "reviewedBy" | "reviewNotes" | "yearsInBusiness" | "rejectionReason" | "specializations" | "applicationLetter" | "totalMatchesFacilitated" | "currentTrustLevel" | "geographicCoverage" | "documents" | "approvedTier">(path: T | T[]): boolean;
|
|
1276
1276
|
(path: string | Array<string>): boolean;
|
|
1277
1277
|
}, import("mongoose").Document<unknown, {}, Omit<ITMCApplication, "id"> & {
|
|
1278
1278
|
_id: string;
|
|
@@ -1306,7 +1306,7 @@ export declare const TMCApplicationSchema: Schema<import("mongoose").Document<un
|
|
|
1306
1306
|
id: string;
|
|
1307
1307
|
}> | undefined;
|
|
1308
1308
|
isDirectSelected?: import("mongoose").SchemaDefinitionProperty<{
|
|
1309
|
-
<T extends "status" | "companyName" | "references" | "
|
|
1309
|
+
<T extends "status" | "companyName" | "references" | "createdAt" | "companyId" | "updatedAt" | "_id" | "reviewedAt" | "reviewedBy" | "reviewNotes" | "yearsInBusiness" | "rejectionReason" | "specializations" | "applicationLetter" | "totalMatchesFacilitated" | "currentTrustLevel" | "geographicCoverage" | "documents" | "approvedTier">(path: T): boolean;
|
|
1310
1310
|
(path: string): boolean;
|
|
1311
1311
|
}, import("mongoose").Document<unknown, {}, Omit<ITMCApplication, "id"> & {
|
|
1312
1312
|
_id: string;
|
|
@@ -1340,7 +1340,7 @@ export declare const TMCApplicationSchema: Schema<import("mongoose").Document<un
|
|
|
1340
1340
|
id: string;
|
|
1341
1341
|
}> | undefined;
|
|
1342
1342
|
isInit?: import("mongoose").SchemaDefinitionProperty<{
|
|
1343
|
-
<T extends "status" | "companyName" | "references" | "
|
|
1343
|
+
<T extends "status" | "companyName" | "references" | "createdAt" | "companyId" | "updatedAt" | "_id" | "reviewedAt" | "reviewedBy" | "reviewNotes" | "yearsInBusiness" | "rejectionReason" | "specializations" | "applicationLetter" | "totalMatchesFacilitated" | "currentTrustLevel" | "geographicCoverage" | "documents" | "approvedTier">(path: T): boolean;
|
|
1344
1344
|
(path: string): boolean;
|
|
1345
1345
|
}, import("mongoose").Document<unknown, {}, Omit<ITMCApplication, "id"> & {
|
|
1346
1346
|
_id: string;
|
|
@@ -1374,7 +1374,7 @@ export declare const TMCApplicationSchema: Schema<import("mongoose").Document<un
|
|
|
1374
1374
|
id: string;
|
|
1375
1375
|
}> | undefined;
|
|
1376
1376
|
isModified?: import("mongoose").SchemaDefinitionProperty<{
|
|
1377
|
-
<T extends "status" | "companyName" | "references" | "
|
|
1377
|
+
<T extends "status" | "companyName" | "references" | "createdAt" | "companyId" | "updatedAt" | "_id" | "reviewedAt" | "reviewedBy" | "reviewNotes" | "yearsInBusiness" | "rejectionReason" | "specializations" | "applicationLetter" | "totalMatchesFacilitated" | "currentTrustLevel" | "geographicCoverage" | "documents" | "approvedTier">(path?: T | T[] | undefined, options?: {
|
|
1378
1378
|
ignoreAtomics?: boolean;
|
|
1379
1379
|
} | null): boolean;
|
|
1380
1380
|
(path?: string | Array<string>, options?: {
|
|
@@ -1443,7 +1443,7 @@ export declare const TMCApplicationSchema: Schema<import("mongoose").Document<un
|
|
|
1443
1443
|
id: string;
|
|
1444
1444
|
}> | undefined;
|
|
1445
1445
|
isSelected?: import("mongoose").SchemaDefinitionProperty<{
|
|
1446
|
-
<T extends "status" | "companyName" | "references" | "
|
|
1446
|
+
<T extends "status" | "companyName" | "references" | "createdAt" | "companyId" | "updatedAt" | "_id" | "reviewedAt" | "reviewedBy" | "reviewNotes" | "yearsInBusiness" | "rejectionReason" | "specializations" | "applicationLetter" | "totalMatchesFacilitated" | "currentTrustLevel" | "geographicCoverage" | "documents" | "approvedTier">(path: T): boolean;
|
|
1447
1447
|
(path: string): boolean;
|
|
1448
1448
|
}, import("mongoose").Document<unknown, {}, Omit<ITMCApplication, "id"> & {
|
|
1449
1449
|
_id: string;
|
|
@@ -1477,7 +1477,7 @@ export declare const TMCApplicationSchema: Schema<import("mongoose").Document<un
|
|
|
1477
1477
|
id: string;
|
|
1478
1478
|
}> | undefined;
|
|
1479
1479
|
markModified?: import("mongoose").SchemaDefinitionProperty<{
|
|
1480
|
-
<T extends "status" | "companyName" | "references" | "
|
|
1480
|
+
<T extends "status" | "companyName" | "references" | "createdAt" | "companyId" | "updatedAt" | "_id" | "reviewedAt" | "reviewedBy" | "reviewNotes" | "yearsInBusiness" | "rejectionReason" | "specializations" | "applicationLetter" | "totalMatchesFacilitated" | "currentTrustLevel" | "geographicCoverage" | "documents" | "approvedTier">(path: T, scope?: any): void;
|
|
1481
1481
|
(path: string, scope?: any): void;
|
|
1482
1482
|
}, import("mongoose").Document<unknown, {}, Omit<ITMCApplication, "id"> & {
|
|
1483
1483
|
_id: string;
|
|
@@ -1916,7 +1916,7 @@ export declare const TMCApplicationSchema: Schema<import("mongoose").Document<un
|
|
|
1916
1916
|
id: string;
|
|
1917
1917
|
}> | undefined;
|
|
1918
1918
|
set?: import("mongoose").SchemaDefinitionProperty<{
|
|
1919
|
-
<T extends "status" | "companyName" | "references" | "
|
|
1919
|
+
<T extends "status" | "companyName" | "references" | "createdAt" | "companyId" | "updatedAt" | "_id" | "reviewedAt" | "reviewedBy" | "reviewNotes" | "yearsInBusiness" | "rejectionReason" | "specializations" | "applicationLetter" | "totalMatchesFacilitated" | "currentTrustLevel" | "geographicCoverage" | "documents" | "approvedTier">(path: T, val: (Omit<ITMCApplication, "id"> & {
|
|
1920
1920
|
_id: string;
|
|
1921
1921
|
})[T], type: any, options?: import("mongoose").DocumentSetOptions): import("mongoose").Document<unknown, {}, Omit<ITMCApplication, "id"> & {
|
|
1922
1922
|
_id: string;
|
|
@@ -2009,8 +2009,8 @@ export declare const TMCApplicationSchema: Schema<import("mongoose").Document<un
|
|
|
2009
2009
|
phone?: string | undefined;
|
|
2010
2010
|
relationship: string;
|
|
2011
2011
|
}[];
|
|
2012
|
-
companyId: string;
|
|
2013
2012
|
createdAt: Date;
|
|
2013
|
+
companyId: string;
|
|
2014
2014
|
updatedAt: Date;
|
|
2015
2015
|
_id: string;
|
|
2016
2016
|
reviewedAt?: Date | undefined;
|
|
@@ -2045,8 +2045,8 @@ export declare const TMCApplicationSchema: Schema<import("mongoose").Document<un
|
|
|
2045
2045
|
phone?: string | undefined;
|
|
2046
2046
|
relationship: string;
|
|
2047
2047
|
}[];
|
|
2048
|
-
companyId: string;
|
|
2049
2048
|
createdAt: Date;
|
|
2049
|
+
companyId: string;
|
|
2050
2050
|
updatedAt: Date;
|
|
2051
2051
|
reviewedAt?: Date | undefined;
|
|
2052
2052
|
reviewedBy?: string | undefined;
|
|
@@ -2101,8 +2101,8 @@ export declare const TMCApplicationSchema: Schema<import("mongoose").Document<un
|
|
|
2101
2101
|
phone?: string | undefined;
|
|
2102
2102
|
relationship: string;
|
|
2103
2103
|
}[];
|
|
2104
|
-
companyId: string;
|
|
2105
2104
|
createdAt: Date;
|
|
2105
|
+
companyId: string;
|
|
2106
2106
|
updatedAt: Date;
|
|
2107
2107
|
_id: string;
|
|
2108
2108
|
reviewedAt?: Date | undefined;
|
|
@@ -2137,8 +2137,8 @@ export declare const TMCApplicationSchema: Schema<import("mongoose").Document<un
|
|
|
2137
2137
|
phone?: string | undefined;
|
|
2138
2138
|
relationship: string;
|
|
2139
2139
|
}[];
|
|
2140
|
-
companyId: string;
|
|
2141
2140
|
createdAt: Date;
|
|
2141
|
+
companyId: string;
|
|
2142
2142
|
updatedAt: Date;
|
|
2143
2143
|
reviewedAt?: Date | undefined;
|
|
2144
2144
|
reviewedBy?: string | undefined;
|
|
@@ -2193,8 +2193,8 @@ export declare const TMCApplicationSchema: Schema<import("mongoose").Document<un
|
|
|
2193
2193
|
phone?: string | undefined;
|
|
2194
2194
|
relationship: string;
|
|
2195
2195
|
}[];
|
|
2196
|
-
companyId: string;
|
|
2197
2196
|
createdAt: Date;
|
|
2197
|
+
companyId: string;
|
|
2198
2198
|
updatedAt: Date;
|
|
2199
2199
|
_id: string;
|
|
2200
2200
|
reviewedAt?: Date | undefined;
|
|
@@ -2229,8 +2229,8 @@ export declare const TMCApplicationSchema: Schema<import("mongoose").Document<un
|
|
|
2229
2229
|
phone?: string | undefined;
|
|
2230
2230
|
relationship: string;
|
|
2231
2231
|
}[];
|
|
2232
|
-
companyId: string;
|
|
2233
2232
|
createdAt: Date;
|
|
2233
|
+
companyId: string;
|
|
2234
2234
|
updatedAt: Date;
|
|
2235
2235
|
reviewedAt?: Date | undefined;
|
|
2236
2236
|
reviewedBy?: string | undefined;
|
|
@@ -2285,8 +2285,8 @@ export declare const TMCApplicationSchema: Schema<import("mongoose").Document<un
|
|
|
2285
2285
|
phone?: string | undefined;
|
|
2286
2286
|
relationship: string;
|
|
2287
2287
|
}[];
|
|
2288
|
-
companyId: string;
|
|
2289
2288
|
createdAt: Date;
|
|
2289
|
+
companyId: string;
|
|
2290
2290
|
updatedAt: Date;
|
|
2291
2291
|
_id: string;
|
|
2292
2292
|
reviewedAt?: Date | undefined;
|
|
@@ -2321,8 +2321,8 @@ export declare const TMCApplicationSchema: Schema<import("mongoose").Document<un
|
|
|
2321
2321
|
phone?: string | undefined;
|
|
2322
2322
|
relationship: string;
|
|
2323
2323
|
}[];
|
|
2324
|
-
companyId: string;
|
|
2325
2324
|
createdAt: Date;
|
|
2325
|
+
companyId: string;
|
|
2326
2326
|
updatedAt: Date;
|
|
2327
2327
|
reviewedAt?: Date | undefined;
|
|
2328
2328
|
reviewedBy?: string | undefined;
|
|
@@ -2376,8 +2376,8 @@ export declare const TMCApplicationSchema: Schema<import("mongoose").Document<un
|
|
|
2376
2376
|
phone?: string | undefined;
|
|
2377
2377
|
relationship: string;
|
|
2378
2378
|
}[];
|
|
2379
|
-
companyId: string;
|
|
2380
2379
|
createdAt: Date;
|
|
2380
|
+
companyId: string;
|
|
2381
2381
|
updatedAt: Date;
|
|
2382
2382
|
reviewedAt?: Date | undefined;
|
|
2383
2383
|
reviewedBy?: string | undefined;
|
|
@@ -2411,8 +2411,8 @@ export declare const TMCApplicationSchema: Schema<import("mongoose").Document<un
|
|
|
2411
2411
|
phone?: string | undefined;
|
|
2412
2412
|
relationship: string;
|
|
2413
2413
|
}[];
|
|
2414
|
-
companyId: string;
|
|
2415
2414
|
createdAt: Date;
|
|
2415
|
+
companyId: string;
|
|
2416
2416
|
updatedAt: Date;
|
|
2417
2417
|
reviewedAt?: Date | undefined;
|
|
2418
2418
|
reviewedBy?: string | undefined;
|
|
@@ -2446,8 +2446,8 @@ export declare const TMCApplicationSchema: Schema<import("mongoose").Document<un
|
|
|
2446
2446
|
phone?: string | undefined;
|
|
2447
2447
|
relationship: string;
|
|
2448
2448
|
}[];
|
|
2449
|
-
companyId: string;
|
|
2450
2449
|
createdAt: Date;
|
|
2450
|
+
companyId: string;
|
|
2451
2451
|
updatedAt: Date;
|
|
2452
2452
|
reviewedAt?: Date | undefined;
|
|
2453
2453
|
reviewedBy?: string | undefined;
|
|
@@ -2480,8 +2480,8 @@ export declare const TMCApplicationSchema: Schema<import("mongoose").Document<un
|
|
|
2480
2480
|
phone?: string | undefined;
|
|
2481
2481
|
relationship: string;
|
|
2482
2482
|
}[];
|
|
2483
|
-
companyId: string;
|
|
2484
2483
|
createdAt: Date;
|
|
2484
|
+
companyId: string;
|
|
2485
2485
|
updatedAt: Date;
|
|
2486
2486
|
reviewedAt?: Date | undefined;
|
|
2487
2487
|
reviewedBy?: string | undefined;
|
|
@@ -2532,8 +2532,8 @@ export declare const TMCApplicationSchema: Schema<import("mongoose").Document<un
|
|
|
2532
2532
|
phone?: string | undefined;
|
|
2533
2533
|
relationship: string;
|
|
2534
2534
|
}[];
|
|
2535
|
-
companyId: string;
|
|
2536
2535
|
createdAt: Date;
|
|
2536
|
+
companyId: string;
|
|
2537
2537
|
updatedAt: Date;
|
|
2538
2538
|
_id: string;
|
|
2539
2539
|
reviewedAt?: Date | undefined;
|
|
@@ -2569,8 +2569,8 @@ export declare const TMCApplicationSchema: Schema<import("mongoose").Document<un
|
|
|
2569
2569
|
phone?: string | undefined;
|
|
2570
2570
|
relationship: string;
|
|
2571
2571
|
}[];
|
|
2572
|
-
companyId: string;
|
|
2573
2572
|
createdAt: Date;
|
|
2573
|
+
companyId: string;
|
|
2574
2574
|
updatedAt: Date;
|
|
2575
2575
|
_id: string;
|
|
2576
2576
|
reviewedAt?: Date | undefined;
|
|
@@ -2614,8 +2614,8 @@ export declare const TMCApplicationSchema: Schema<import("mongoose").Document<un
|
|
|
2614
2614
|
phone?: string | undefined;
|
|
2615
2615
|
relationship: string;
|
|
2616
2616
|
}[];
|
|
2617
|
-
companyId: string;
|
|
2618
2617
|
createdAt: Date;
|
|
2618
|
+
companyId: string;
|
|
2619
2619
|
updatedAt: Date;
|
|
2620
2620
|
_id: string;
|
|
2621
2621
|
reviewedAt?: Date | undefined;
|
|
@@ -2658,8 +2658,8 @@ export declare const TMCApplicationSchema: Schema<import("mongoose").Document<un
|
|
|
2658
2658
|
phone?: string | undefined;
|
|
2659
2659
|
relationship: string;
|
|
2660
2660
|
}[];
|
|
2661
|
-
companyId: string;
|
|
2662
2661
|
createdAt: Date;
|
|
2662
|
+
companyId: string;
|
|
2663
2663
|
updatedAt: Date;
|
|
2664
2664
|
_id: string;
|
|
2665
2665
|
reviewedAt?: Date | undefined;
|
|
@@ -2693,8 +2693,8 @@ export declare const TMCApplicationSchema: Schema<import("mongoose").Document<un
|
|
|
2693
2693
|
phone?: string | undefined;
|
|
2694
2694
|
relationship: string;
|
|
2695
2695
|
}[];
|
|
2696
|
-
companyId: string;
|
|
2697
2696
|
createdAt: Date;
|
|
2697
|
+
companyId: string;
|
|
2698
2698
|
updatedAt: Date;
|
|
2699
2699
|
_id: string;
|
|
2700
2700
|
reviewedAt?: Date | undefined;
|
|
@@ -2794,8 +2794,8 @@ export declare const TMCApplicationSchema: Schema<import("mongoose").Document<un
|
|
|
2794
2794
|
phone?: string | undefined;
|
|
2795
2795
|
relationship: string;
|
|
2796
2796
|
}[];
|
|
2797
|
-
companyId: string;
|
|
2798
2797
|
createdAt: Date;
|
|
2798
|
+
companyId: string;
|
|
2799
2799
|
updatedAt: Date;
|
|
2800
2800
|
_id: string;
|
|
2801
2801
|
reviewedAt?: Date | undefined;
|
|
@@ -2830,8 +2830,8 @@ export declare const TMCApplicationSchema: Schema<import("mongoose").Document<un
|
|
|
2830
2830
|
phone?: string | undefined;
|
|
2831
2831
|
relationship: string;
|
|
2832
2832
|
}[];
|
|
2833
|
-
companyId: string;
|
|
2834
2833
|
createdAt: Date;
|
|
2834
|
+
companyId: string;
|
|
2835
2835
|
updatedAt: Date;
|
|
2836
2836
|
reviewedAt?: Date | undefined;
|
|
2837
2837
|
reviewedBy?: string | undefined;
|
|
@@ -2886,8 +2886,8 @@ export declare const TMCApplicationSchema: Schema<import("mongoose").Document<un
|
|
|
2886
2886
|
phone?: string | undefined;
|
|
2887
2887
|
relationship: string;
|
|
2888
2888
|
}[];
|
|
2889
|
-
companyId: string;
|
|
2890
2889
|
createdAt: Date;
|
|
2890
|
+
companyId: string;
|
|
2891
2891
|
updatedAt: Date;
|
|
2892
2892
|
_id: string;
|
|
2893
2893
|
reviewedAt?: Date | undefined;
|
|
@@ -2922,8 +2922,8 @@ export declare const TMCApplicationSchema: Schema<import("mongoose").Document<un
|
|
|
2922
2922
|
phone?: string | undefined;
|
|
2923
2923
|
relationship: string;
|
|
2924
2924
|
}[];
|
|
2925
|
-
companyId: string;
|
|
2926
2925
|
createdAt: Date;
|
|
2926
|
+
companyId: string;
|
|
2927
2927
|
updatedAt: Date;
|
|
2928
2928
|
reviewedAt?: Date | undefined;
|
|
2929
2929
|
reviewedBy?: string | undefined;
|
|
@@ -2978,8 +2978,8 @@ export declare const TMCApplicationSchema: Schema<import("mongoose").Document<un
|
|
|
2978
2978
|
phone?: string | undefined;
|
|
2979
2979
|
relationship: string;
|
|
2980
2980
|
}[];
|
|
2981
|
-
companyId: string;
|
|
2982
2981
|
createdAt: Date;
|
|
2982
|
+
companyId: string;
|
|
2983
2983
|
updatedAt: Date;
|
|
2984
2984
|
_id: string;
|
|
2985
2985
|
reviewedAt?: Date | undefined;
|
|
@@ -3014,8 +3014,8 @@ export declare const TMCApplicationSchema: Schema<import("mongoose").Document<un
|
|
|
3014
3014
|
phone?: string | undefined;
|
|
3015
3015
|
relationship: string;
|
|
3016
3016
|
}[];
|
|
3017
|
-
companyId: string;
|
|
3018
3017
|
createdAt: Date;
|
|
3018
|
+
companyId: string;
|
|
3019
3019
|
updatedAt: Date;
|
|
3020
3020
|
reviewedAt?: Date | undefined;
|
|
3021
3021
|
reviewedBy?: string | undefined;
|
|
@@ -3070,8 +3070,8 @@ export declare const TMCApplicationSchema: Schema<import("mongoose").Document<un
|
|
|
3070
3070
|
phone?: string | undefined;
|
|
3071
3071
|
relationship: string;
|
|
3072
3072
|
}[];
|
|
3073
|
-
companyId: string;
|
|
3074
3073
|
createdAt: Date;
|
|
3074
|
+
companyId: string;
|
|
3075
3075
|
updatedAt: Date;
|
|
3076
3076
|
_id: string;
|
|
3077
3077
|
reviewedAt?: Date | undefined;
|
|
@@ -3106,8 +3106,8 @@ export declare const TMCApplicationSchema: Schema<import("mongoose").Document<un
|
|
|
3106
3106
|
phone?: string | undefined;
|
|
3107
3107
|
relationship: string;
|
|
3108
3108
|
}[];
|
|
3109
|
-
companyId: string;
|
|
3110
3109
|
createdAt: Date;
|
|
3110
|
+
companyId: string;
|
|
3111
3111
|
updatedAt: Date;
|
|
3112
3112
|
reviewedAt?: Date | undefined;
|
|
3113
3113
|
reviewedBy?: string | undefined;
|
|
@@ -3161,8 +3161,8 @@ export declare const TMCApplicationSchema: Schema<import("mongoose").Document<un
|
|
|
3161
3161
|
phone?: string | undefined;
|
|
3162
3162
|
relationship: string;
|
|
3163
3163
|
}[];
|
|
3164
|
-
companyId: string;
|
|
3165
3164
|
createdAt: Date;
|
|
3165
|
+
companyId: string;
|
|
3166
3166
|
updatedAt: Date;
|
|
3167
3167
|
reviewedAt?: Date | undefined;
|
|
3168
3168
|
reviewedBy?: string | undefined;
|
|
@@ -3196,8 +3196,8 @@ export declare const TMCApplicationSchema: Schema<import("mongoose").Document<un
|
|
|
3196
3196
|
phone?: string | undefined;
|
|
3197
3197
|
relationship: string;
|
|
3198
3198
|
}[];
|
|
3199
|
-
companyId: string;
|
|
3200
3199
|
createdAt: Date;
|
|
3200
|
+
companyId: string;
|
|
3201
3201
|
updatedAt: Date;
|
|
3202
3202
|
reviewedAt?: Date | undefined;
|
|
3203
3203
|
reviewedBy?: string | undefined;
|
|
@@ -3231,8 +3231,8 @@ export declare const TMCApplicationSchema: Schema<import("mongoose").Document<un
|
|
|
3231
3231
|
phone?: string | undefined;
|
|
3232
3232
|
relationship: string;
|
|
3233
3233
|
}[];
|
|
3234
|
-
companyId: string;
|
|
3235
3234
|
createdAt: Date;
|
|
3235
|
+
companyId: string;
|
|
3236
3236
|
updatedAt: Date;
|
|
3237
3237
|
reviewedAt?: Date | undefined;
|
|
3238
3238
|
reviewedBy?: string | undefined;
|
|
@@ -3265,8 +3265,8 @@ export declare const TMCApplicationSchema: Schema<import("mongoose").Document<un
|
|
|
3265
3265
|
phone?: string | undefined;
|
|
3266
3266
|
relationship: string;
|
|
3267
3267
|
}[];
|
|
3268
|
-
companyId: string;
|
|
3269
3268
|
createdAt: Date;
|
|
3269
|
+
companyId: string;
|
|
3270
3270
|
updatedAt: Date;
|
|
3271
3271
|
reviewedAt?: Date | undefined;
|
|
3272
3272
|
reviewedBy?: string | undefined;
|
|
@@ -3317,8 +3317,8 @@ export declare const TMCApplicationSchema: Schema<import("mongoose").Document<un
|
|
|
3317
3317
|
phone?: string | undefined;
|
|
3318
3318
|
relationship: string;
|
|
3319
3319
|
}[];
|
|
3320
|
-
companyId: string;
|
|
3321
3320
|
createdAt: Date;
|
|
3321
|
+
companyId: string;
|
|
3322
3322
|
updatedAt: Date;
|
|
3323
3323
|
_id: string;
|
|
3324
3324
|
reviewedAt?: Date | undefined;
|
|
@@ -3354,8 +3354,8 @@ export declare const TMCApplicationSchema: Schema<import("mongoose").Document<un
|
|
|
3354
3354
|
phone?: string | undefined;
|
|
3355
3355
|
relationship: string;
|
|
3356
3356
|
}[];
|
|
3357
|
-
companyId: string;
|
|
3358
3357
|
createdAt: Date;
|
|
3358
|
+
companyId: string;
|
|
3359
3359
|
updatedAt: Date;
|
|
3360
3360
|
_id: string;
|
|
3361
3361
|
reviewedAt?: Date | undefined;
|
|
@@ -3399,8 +3399,8 @@ export declare const TMCApplicationSchema: Schema<import("mongoose").Document<un
|
|
|
3399
3399
|
phone?: string | undefined;
|
|
3400
3400
|
relationship: string;
|
|
3401
3401
|
}[];
|
|
3402
|
-
companyId: string;
|
|
3403
3402
|
createdAt: Date;
|
|
3403
|
+
companyId: string;
|
|
3404
3404
|
updatedAt: Date;
|
|
3405
3405
|
_id: string;
|
|
3406
3406
|
reviewedAt?: Date | undefined;
|
|
@@ -3443,8 +3443,8 @@ export declare const TMCApplicationSchema: Schema<import("mongoose").Document<un
|
|
|
3443
3443
|
phone?: string | undefined;
|
|
3444
3444
|
relationship: string;
|
|
3445
3445
|
}[];
|
|
3446
|
-
companyId: string;
|
|
3447
3446
|
createdAt: Date;
|
|
3447
|
+
companyId: string;
|
|
3448
3448
|
updatedAt: Date;
|
|
3449
3449
|
_id: string;
|
|
3450
3450
|
reviewedAt?: Date | undefined;
|
|
@@ -3478,8 +3478,8 @@ export declare const TMCApplicationSchema: Schema<import("mongoose").Document<un
|
|
|
3478
3478
|
phone?: string | undefined;
|
|
3479
3479
|
relationship: string;
|
|
3480
3480
|
}[];
|
|
3481
|
-
companyId: string;
|
|
3482
3481
|
createdAt: Date;
|
|
3482
|
+
companyId: string;
|
|
3483
3483
|
updatedAt: Date;
|
|
3484
3484
|
_id: string;
|
|
3485
3485
|
reviewedAt?: Date | undefined;
|
|
@@ -3564,7 +3564,7 @@ export declare const TMCApplicationSchema: Schema<import("mongoose").Document<un
|
|
|
3564
3564
|
id: string;
|
|
3565
3565
|
}> | undefined;
|
|
3566
3566
|
unmarkModified?: import("mongoose").SchemaDefinitionProperty<{
|
|
3567
|
-
<T extends "status" | "companyName" | "references" | "
|
|
3567
|
+
<T extends "status" | "companyName" | "references" | "createdAt" | "companyId" | "updatedAt" | "_id" | "reviewedAt" | "reviewedBy" | "reviewNotes" | "yearsInBusiness" | "rejectionReason" | "specializations" | "applicationLetter" | "totalMatchesFacilitated" | "currentTrustLevel" | "geographicCoverage" | "documents" | "approvedTier">(path: T): void;
|
|
3568
3568
|
(path: string): void;
|
|
3569
3569
|
}, import("mongoose").Document<unknown, {}, Omit<ITMCApplication, "id"> & {
|
|
3570
3570
|
_id: string;
|
|
@@ -3649,7 +3649,7 @@ export declare const TMCApplicationSchema: Schema<import("mongoose").Document<un
|
|
|
3649
3649
|
id: string;
|
|
3650
3650
|
}> | undefined;
|
|
3651
3651
|
validate?: import("mongoose").SchemaDefinitionProperty<{
|
|
3652
|
-
<T extends "status" | "companyName" | "references" | "
|
|
3652
|
+
<T extends "status" | "companyName" | "references" | "createdAt" | "companyId" | "updatedAt" | "_id" | "reviewedAt" | "reviewedBy" | "reviewNotes" | "yearsInBusiness" | "rejectionReason" | "specializations" | "applicationLetter" | "totalMatchesFacilitated" | "currentTrustLevel" | "geographicCoverage" | "documents" | "approvedTier">(pathsToValidate?: T | T[] | undefined, options?: import("mongoose").AnyObject): Promise<void>;
|
|
3653
3653
|
(pathsToValidate?: import("mongoose").pathsToValidate, options?: import("mongoose").AnyObject): Promise<void>;
|
|
3654
3654
|
(options: {
|
|
3655
3655
|
pathsToSkip?: import("mongoose").pathsToSkip;
|
|
@@ -3690,7 +3690,7 @@ export declare const TMCApplicationSchema: Schema<import("mongoose").Document<un
|
|
|
3690
3690
|
pathsToSkip?: import("mongoose").pathsToSkip;
|
|
3691
3691
|
[k: string]: any;
|
|
3692
3692
|
}): import("mongoose").Error.ValidationError | null;
|
|
3693
|
-
<T extends "status" | "companyName" | "references" | "
|
|
3693
|
+
<T extends "status" | "companyName" | "references" | "createdAt" | "companyId" | "updatedAt" | "_id" | "reviewedAt" | "reviewedBy" | "reviewNotes" | "yearsInBusiness" | "rejectionReason" | "specializations" | "applicationLetter" | "totalMatchesFacilitated" | "currentTrustLevel" | "geographicCoverage" | "documents" | "approvedTier">(pathsToValidate?: T | T[] | undefined, options?: import("mongoose").AnyObject): import("mongoose").Error.ValidationError | null;
|
|
3694
3694
|
(pathsToValidate?: import("mongoose").pathsToValidate, options?: import("mongoose").AnyObject): import("mongoose").Error.ValidationError | null;
|
|
3695
3695
|
}, import("mongoose").Document<unknown, {}, Omit<ITMCApplication, "id"> & {
|
|
3696
3696
|
_id: string;
|
|
@@ -3816,7 +3816,7 @@ export declare const TMCApplicationSchema: Schema<import("mongoose").Document<un
|
|
|
3816
3816
|
} & {
|
|
3817
3817
|
id: string;
|
|
3818
3818
|
}> | undefined;
|
|
3819
|
-
|
|
3819
|
+
createdAt?: import("mongoose").SchemaDefinitionProperty<Date, import("mongoose").Document<unknown, {}, Omit<ITMCApplication, "id"> & {
|
|
3820
3820
|
_id: string;
|
|
3821
3821
|
}, {}, import("mongoose").DefaultSchemaOptions> & Omit<ITMCApplication, "id"> & {
|
|
3822
3822
|
_id: string;
|
|
@@ -3847,7 +3847,7 @@ export declare const TMCApplicationSchema: Schema<import("mongoose").Document<un
|
|
|
3847
3847
|
} & {
|
|
3848
3848
|
id: string;
|
|
3849
3849
|
}> | undefined;
|
|
3850
|
-
|
|
3850
|
+
companyId?: import("mongoose").SchemaDefinitionProperty<string, import("mongoose").Document<unknown, {}, Omit<ITMCApplication, "id"> & {
|
|
3851
3851
|
_id: string;
|
|
3852
3852
|
}, {}, import("mongoose").DefaultSchemaOptions> & Omit<ITMCApplication, "id"> & {
|
|
3853
3853
|
_id: string;
|