@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
|
@@ -1081,7 +1081,7 @@ export declare const TMCMembershipSchema: Schema<import("mongoose").Document<unk
|
|
|
1081
1081
|
id: string;
|
|
1082
1082
|
}> | undefined;
|
|
1083
1083
|
get?: import("mongoose").SchemaDefinitionProperty<{
|
|
1084
|
-
<T extends "status" | "
|
|
1084
|
+
<T extends "status" | "createdAt" | "companyId" | "updatedAt" | "_id" | "rejectionReason" | "startDate" | "endDate" | "acceptedAt" | "rejectedAt" | "tmcCompanyId" | "memberCompanyId" | "vouchLevel" | "profitSharePercentage" | "profitShareEnabled" | "contractTerms" | "invitedAt" | "invitedBy" | "joinedAt" | "declinedAt" | "totalProfitShared" | "lastProfitShareDate">(path: T, type?: any, options?: any): (Omit<ITMCMembership, "id"> & {
|
|
1085
1085
|
_id: string;
|
|
1086
1086
|
})[T];
|
|
1087
1087
|
(path: string, type?: any, options?: any): any;
|
|
@@ -1240,7 +1240,7 @@ export declare const TMCMembershipSchema: Schema<import("mongoose").Document<unk
|
|
|
1240
1240
|
id: string;
|
|
1241
1241
|
}> | undefined;
|
|
1242
1242
|
invalidate?: import("mongoose").SchemaDefinitionProperty<{
|
|
1243
|
-
<T extends "status" | "
|
|
1243
|
+
<T extends "status" | "createdAt" | "companyId" | "updatedAt" | "_id" | "rejectionReason" | "startDate" | "endDate" | "acceptedAt" | "rejectedAt" | "tmcCompanyId" | "memberCompanyId" | "vouchLevel" | "profitSharePercentage" | "profitShareEnabled" | "contractTerms" | "invitedAt" | "invitedBy" | "joinedAt" | "declinedAt" | "totalProfitShared" | "lastProfitShareDate">(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<ITMCMembership, "id"> & {
|
|
1246
1246
|
_id: string;
|
|
@@ -1274,7 +1274,7 @@ export declare const TMCMembershipSchema: Schema<import("mongoose").Document<unk
|
|
|
1274
1274
|
id: string;
|
|
1275
1275
|
}> | undefined;
|
|
1276
1276
|
isDirectModified?: import("mongoose").SchemaDefinitionProperty<{
|
|
1277
|
-
<T extends "status" | "
|
|
1277
|
+
<T extends "status" | "createdAt" | "companyId" | "updatedAt" | "_id" | "rejectionReason" | "startDate" | "endDate" | "acceptedAt" | "rejectedAt" | "tmcCompanyId" | "memberCompanyId" | "vouchLevel" | "profitSharePercentage" | "profitShareEnabled" | "contractTerms" | "invitedAt" | "invitedBy" | "joinedAt" | "declinedAt" | "totalProfitShared" | "lastProfitShareDate">(path: T | T[]): boolean;
|
|
1278
1278
|
(path: string | Array<string>): boolean;
|
|
1279
1279
|
}, import("mongoose").Document<unknown, {}, Omit<ITMCMembership, "id"> & {
|
|
1280
1280
|
_id: string;
|
|
@@ -1308,7 +1308,7 @@ export declare const TMCMembershipSchema: Schema<import("mongoose").Document<unk
|
|
|
1308
1308
|
id: string;
|
|
1309
1309
|
}> | undefined;
|
|
1310
1310
|
isDirectSelected?: import("mongoose").SchemaDefinitionProperty<{
|
|
1311
|
-
<T extends "status" | "
|
|
1311
|
+
<T extends "status" | "createdAt" | "companyId" | "updatedAt" | "_id" | "rejectionReason" | "startDate" | "endDate" | "acceptedAt" | "rejectedAt" | "tmcCompanyId" | "memberCompanyId" | "vouchLevel" | "profitSharePercentage" | "profitShareEnabled" | "contractTerms" | "invitedAt" | "invitedBy" | "joinedAt" | "declinedAt" | "totalProfitShared" | "lastProfitShareDate">(path: T): boolean;
|
|
1312
1312
|
(path: string): boolean;
|
|
1313
1313
|
}, import("mongoose").Document<unknown, {}, Omit<ITMCMembership, "id"> & {
|
|
1314
1314
|
_id: string;
|
|
@@ -1342,7 +1342,7 @@ export declare const TMCMembershipSchema: Schema<import("mongoose").Document<unk
|
|
|
1342
1342
|
id: string;
|
|
1343
1343
|
}> | undefined;
|
|
1344
1344
|
isInit?: import("mongoose").SchemaDefinitionProperty<{
|
|
1345
|
-
<T extends "status" | "
|
|
1345
|
+
<T extends "status" | "createdAt" | "companyId" | "updatedAt" | "_id" | "rejectionReason" | "startDate" | "endDate" | "acceptedAt" | "rejectedAt" | "tmcCompanyId" | "memberCompanyId" | "vouchLevel" | "profitSharePercentage" | "profitShareEnabled" | "contractTerms" | "invitedAt" | "invitedBy" | "joinedAt" | "declinedAt" | "totalProfitShared" | "lastProfitShareDate">(path: T): boolean;
|
|
1346
1346
|
(path: string): boolean;
|
|
1347
1347
|
}, import("mongoose").Document<unknown, {}, Omit<ITMCMembership, "id"> & {
|
|
1348
1348
|
_id: string;
|
|
@@ -1376,7 +1376,7 @@ export declare const TMCMembershipSchema: Schema<import("mongoose").Document<unk
|
|
|
1376
1376
|
id: string;
|
|
1377
1377
|
}> | undefined;
|
|
1378
1378
|
isModified?: import("mongoose").SchemaDefinitionProperty<{
|
|
1379
|
-
<T extends "status" | "
|
|
1379
|
+
<T extends "status" | "createdAt" | "companyId" | "updatedAt" | "_id" | "rejectionReason" | "startDate" | "endDate" | "acceptedAt" | "rejectedAt" | "tmcCompanyId" | "memberCompanyId" | "vouchLevel" | "profitSharePercentage" | "profitShareEnabled" | "contractTerms" | "invitedAt" | "invitedBy" | "joinedAt" | "declinedAt" | "totalProfitShared" | "lastProfitShareDate">(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 TMCMembershipSchema: Schema<import("mongoose").Document<unk
|
|
|
1445
1445
|
id: string;
|
|
1446
1446
|
}> | undefined;
|
|
1447
1447
|
isSelected?: import("mongoose").SchemaDefinitionProperty<{
|
|
1448
|
-
<T extends "status" | "
|
|
1448
|
+
<T extends "status" | "createdAt" | "companyId" | "updatedAt" | "_id" | "rejectionReason" | "startDate" | "endDate" | "acceptedAt" | "rejectedAt" | "tmcCompanyId" | "memberCompanyId" | "vouchLevel" | "profitSharePercentage" | "profitShareEnabled" | "contractTerms" | "invitedAt" | "invitedBy" | "joinedAt" | "declinedAt" | "totalProfitShared" | "lastProfitShareDate">(path: T): boolean;
|
|
1449
1449
|
(path: string): boolean;
|
|
1450
1450
|
}, import("mongoose").Document<unknown, {}, Omit<ITMCMembership, "id"> & {
|
|
1451
1451
|
_id: string;
|
|
@@ -1479,7 +1479,7 @@ export declare const TMCMembershipSchema: Schema<import("mongoose").Document<unk
|
|
|
1479
1479
|
id: string;
|
|
1480
1480
|
}> | undefined;
|
|
1481
1481
|
markModified?: import("mongoose").SchemaDefinitionProperty<{
|
|
1482
|
-
<T extends "status" | "
|
|
1482
|
+
<T extends "status" | "createdAt" | "companyId" | "updatedAt" | "_id" | "rejectionReason" | "startDate" | "endDate" | "acceptedAt" | "rejectedAt" | "tmcCompanyId" | "memberCompanyId" | "vouchLevel" | "profitSharePercentage" | "profitShareEnabled" | "contractTerms" | "invitedAt" | "invitedBy" | "joinedAt" | "declinedAt" | "totalProfitShared" | "lastProfitShareDate">(path: T, scope?: any): void;
|
|
1483
1483
|
(path: string, scope?: any): void;
|
|
1484
1484
|
}, import("mongoose").Document<unknown, {}, Omit<ITMCMembership, "id"> & {
|
|
1485
1485
|
_id: string;
|
|
@@ -1918,7 +1918,7 @@ export declare const TMCMembershipSchema: Schema<import("mongoose").Document<unk
|
|
|
1918
1918
|
id: string;
|
|
1919
1919
|
}> | undefined;
|
|
1920
1920
|
set?: import("mongoose").SchemaDefinitionProperty<{
|
|
1921
|
-
<T extends "status" | "
|
|
1921
|
+
<T extends "status" | "createdAt" | "companyId" | "updatedAt" | "_id" | "rejectionReason" | "startDate" | "endDate" | "acceptedAt" | "rejectedAt" | "tmcCompanyId" | "memberCompanyId" | "vouchLevel" | "profitSharePercentage" | "profitShareEnabled" | "contractTerms" | "invitedAt" | "invitedBy" | "joinedAt" | "declinedAt" | "totalProfitShared" | "lastProfitShareDate">(path: T, val: (Omit<ITMCMembership, "id"> & {
|
|
1922
1922
|
_id: string;
|
|
1923
1923
|
})[T], type: any, options?: import("mongoose").DocumentSetOptions): import("mongoose").Document<unknown, {}, Omit<ITMCMembership, "id"> & {
|
|
1924
1924
|
_id: string;
|
|
@@ -2003,8 +2003,8 @@ export declare const TMCMembershipSchema: Schema<import("mongoose").Document<unk
|
|
|
2003
2003
|
versionKey: false;
|
|
2004
2004
|
}): {
|
|
2005
2005
|
status: TMCMembershipStatus;
|
|
2006
|
-
companyId: string;
|
|
2007
2006
|
createdAt: Date;
|
|
2007
|
+
companyId: string;
|
|
2008
2008
|
updatedAt: Date;
|
|
2009
2009
|
_id: string;
|
|
2010
2010
|
rejectionReason?: string | undefined;
|
|
@@ -2031,8 +2031,8 @@ export declare const TMCMembershipSchema: Schema<import("mongoose").Document<unk
|
|
|
2031
2031
|
virtuals: true;
|
|
2032
2032
|
}): {
|
|
2033
2033
|
status: TMCMembershipStatus;
|
|
2034
|
-
companyId: string;
|
|
2035
2034
|
createdAt: Date;
|
|
2035
|
+
companyId: string;
|
|
2036
2036
|
updatedAt: Date;
|
|
2037
2037
|
rejectionReason?: string | undefined;
|
|
2038
2038
|
startDate: Date;
|
|
@@ -2079,8 +2079,8 @@ export declare const TMCMembershipSchema: Schema<import("mongoose").Document<unk
|
|
|
2079
2079
|
versionKey: false;
|
|
2080
2080
|
}): {
|
|
2081
2081
|
status: TMCMembershipStatus;
|
|
2082
|
-
companyId: string;
|
|
2083
2082
|
createdAt: Date;
|
|
2083
|
+
companyId: string;
|
|
2084
2084
|
updatedAt: Date;
|
|
2085
2085
|
_id: string;
|
|
2086
2086
|
rejectionReason?: string | undefined;
|
|
@@ -2107,8 +2107,8 @@ export declare const TMCMembershipSchema: Schema<import("mongoose").Document<unk
|
|
|
2107
2107
|
virtuals: false;
|
|
2108
2108
|
}): {
|
|
2109
2109
|
status: TMCMembershipStatus;
|
|
2110
|
-
companyId: string;
|
|
2111
2110
|
createdAt: Date;
|
|
2111
|
+
companyId: string;
|
|
2112
2112
|
updatedAt: Date;
|
|
2113
2113
|
rejectionReason?: string | undefined;
|
|
2114
2114
|
startDate: Date;
|
|
@@ -2155,8 +2155,8 @@ export declare const TMCMembershipSchema: Schema<import("mongoose").Document<unk
|
|
|
2155
2155
|
versionKey: false;
|
|
2156
2156
|
}): {
|
|
2157
2157
|
status: TMCMembershipStatus;
|
|
2158
|
-
companyId: string;
|
|
2159
2158
|
createdAt: Date;
|
|
2159
|
+
companyId: string;
|
|
2160
2160
|
updatedAt: Date;
|
|
2161
2161
|
_id: string;
|
|
2162
2162
|
rejectionReason?: string | undefined;
|
|
@@ -2183,8 +2183,8 @@ export declare const TMCMembershipSchema: Schema<import("mongoose").Document<unk
|
|
|
2183
2183
|
virtuals: true;
|
|
2184
2184
|
}): {
|
|
2185
2185
|
status: TMCMembershipStatus;
|
|
2186
|
-
companyId: string;
|
|
2187
2186
|
createdAt: Date;
|
|
2187
|
+
companyId: string;
|
|
2188
2188
|
updatedAt: Date;
|
|
2189
2189
|
rejectionReason?: string | undefined;
|
|
2190
2190
|
startDate: Date;
|
|
@@ -2231,8 +2231,8 @@ export declare const TMCMembershipSchema: Schema<import("mongoose").Document<unk
|
|
|
2231
2231
|
versionKey: false;
|
|
2232
2232
|
}): {
|
|
2233
2233
|
status: TMCMembershipStatus;
|
|
2234
|
-
companyId: string;
|
|
2235
2234
|
createdAt: Date;
|
|
2235
|
+
companyId: string;
|
|
2236
2236
|
updatedAt: Date;
|
|
2237
2237
|
_id: string;
|
|
2238
2238
|
rejectionReason?: string | undefined;
|
|
@@ -2259,8 +2259,8 @@ export declare const TMCMembershipSchema: Schema<import("mongoose").Document<unk
|
|
|
2259
2259
|
virtuals: false;
|
|
2260
2260
|
}): {
|
|
2261
2261
|
status: TMCMembershipStatus;
|
|
2262
|
-
companyId: string;
|
|
2263
2262
|
createdAt: Date;
|
|
2263
|
+
companyId: string;
|
|
2264
2264
|
updatedAt: Date;
|
|
2265
2265
|
rejectionReason?: string | undefined;
|
|
2266
2266
|
startDate: Date;
|
|
@@ -2306,8 +2306,8 @@ export declare const TMCMembershipSchema: Schema<import("mongoose").Document<unk
|
|
|
2306
2306
|
virtuals: true;
|
|
2307
2307
|
}): {
|
|
2308
2308
|
status: TMCMembershipStatus;
|
|
2309
|
-
companyId: string;
|
|
2310
2309
|
createdAt: Date;
|
|
2310
|
+
companyId: string;
|
|
2311
2311
|
updatedAt: Date;
|
|
2312
2312
|
rejectionReason?: string | undefined;
|
|
2313
2313
|
startDate: Date;
|
|
@@ -2333,8 +2333,8 @@ export declare const TMCMembershipSchema: Schema<import("mongoose").Document<unk
|
|
|
2333
2333
|
flattenObjectIds: true;
|
|
2334
2334
|
}): {
|
|
2335
2335
|
status: TMCMembershipStatus;
|
|
2336
|
-
companyId: string;
|
|
2337
2336
|
createdAt: Date;
|
|
2337
|
+
companyId: string;
|
|
2338
2338
|
updatedAt: Date;
|
|
2339
2339
|
rejectionReason?: string | undefined;
|
|
2340
2340
|
startDate: Date;
|
|
@@ -2360,8 +2360,8 @@ export declare const TMCMembershipSchema: Schema<import("mongoose").Document<unk
|
|
|
2360
2360
|
virtuals: true;
|
|
2361
2361
|
}): {
|
|
2362
2362
|
status: TMCMembershipStatus;
|
|
2363
|
-
companyId: string;
|
|
2364
2363
|
createdAt: Date;
|
|
2364
|
+
companyId: string;
|
|
2365
2365
|
updatedAt: Date;
|
|
2366
2366
|
rejectionReason?: string | undefined;
|
|
2367
2367
|
startDate: Date;
|
|
@@ -2386,8 +2386,8 @@ export declare const TMCMembershipSchema: Schema<import("mongoose").Document<unk
|
|
|
2386
2386
|
flattenObjectIds: true;
|
|
2387
2387
|
}): {
|
|
2388
2388
|
status: TMCMembershipStatus;
|
|
2389
|
-
companyId: string;
|
|
2390
2389
|
createdAt: Date;
|
|
2390
|
+
companyId: string;
|
|
2391
2391
|
updatedAt: Date;
|
|
2392
2392
|
rejectionReason?: string | undefined;
|
|
2393
2393
|
startDate: Date;
|
|
@@ -2430,8 +2430,8 @@ export declare const TMCMembershipSchema: Schema<import("mongoose").Document<unk
|
|
|
2430
2430
|
virtuals: true;
|
|
2431
2431
|
}): {
|
|
2432
2432
|
status: TMCMembershipStatus;
|
|
2433
|
-
companyId: string;
|
|
2434
2433
|
createdAt: Date;
|
|
2434
|
+
companyId: string;
|
|
2435
2435
|
updatedAt: Date;
|
|
2436
2436
|
_id: string;
|
|
2437
2437
|
rejectionReason?: string | undefined;
|
|
@@ -2459,8 +2459,8 @@ export declare const TMCMembershipSchema: Schema<import("mongoose").Document<unk
|
|
|
2459
2459
|
virtuals: true;
|
|
2460
2460
|
}): {
|
|
2461
2461
|
status: TMCMembershipStatus;
|
|
2462
|
-
companyId: string;
|
|
2463
2462
|
createdAt: Date;
|
|
2463
|
+
companyId: string;
|
|
2464
2464
|
updatedAt: Date;
|
|
2465
2465
|
_id: string;
|
|
2466
2466
|
rejectionReason?: string | undefined;
|
|
@@ -2496,8 +2496,8 @@ export declare const TMCMembershipSchema: Schema<import("mongoose").Document<unk
|
|
|
2496
2496
|
virtuals: true;
|
|
2497
2497
|
}): {
|
|
2498
2498
|
status: TMCMembershipStatus;
|
|
2499
|
-
companyId: string;
|
|
2500
2499
|
createdAt: Date;
|
|
2500
|
+
companyId: string;
|
|
2501
2501
|
updatedAt: Date;
|
|
2502
2502
|
_id: string;
|
|
2503
2503
|
rejectionReason?: string | undefined;
|
|
@@ -2532,8 +2532,8 @@ export declare const TMCMembershipSchema: Schema<import("mongoose").Document<unk
|
|
|
2532
2532
|
flattenObjectIds: true;
|
|
2533
2533
|
}): {
|
|
2534
2534
|
status: TMCMembershipStatus;
|
|
2535
|
-
companyId: string;
|
|
2536
2535
|
createdAt: Date;
|
|
2536
|
+
companyId: string;
|
|
2537
2537
|
updatedAt: Date;
|
|
2538
2538
|
_id: string;
|
|
2539
2539
|
rejectionReason?: string | undefined;
|
|
@@ -2559,8 +2559,8 @@ export declare const TMCMembershipSchema: Schema<import("mongoose").Document<unk
|
|
|
2559
2559
|
flattenObjectIds: true;
|
|
2560
2560
|
}): {
|
|
2561
2561
|
status: TMCMembershipStatus;
|
|
2562
|
-
companyId: string;
|
|
2563
2562
|
createdAt: Date;
|
|
2563
|
+
companyId: string;
|
|
2564
2564
|
updatedAt: Date;
|
|
2565
2565
|
_id: string;
|
|
2566
2566
|
rejectionReason?: string | undefined;
|
|
@@ -2652,8 +2652,8 @@ export declare const TMCMembershipSchema: Schema<import("mongoose").Document<unk
|
|
|
2652
2652
|
versionKey: false;
|
|
2653
2653
|
}): {
|
|
2654
2654
|
status: TMCMembershipStatus;
|
|
2655
|
-
companyId: string;
|
|
2656
2655
|
createdAt: Date;
|
|
2656
|
+
companyId: string;
|
|
2657
2657
|
updatedAt: Date;
|
|
2658
2658
|
_id: string;
|
|
2659
2659
|
rejectionReason?: string | undefined;
|
|
@@ -2680,8 +2680,8 @@ export declare const TMCMembershipSchema: Schema<import("mongoose").Document<unk
|
|
|
2680
2680
|
virtuals: true;
|
|
2681
2681
|
}): {
|
|
2682
2682
|
status: TMCMembershipStatus;
|
|
2683
|
-
companyId: string;
|
|
2684
2683
|
createdAt: Date;
|
|
2684
|
+
companyId: string;
|
|
2685
2685
|
updatedAt: Date;
|
|
2686
2686
|
rejectionReason?: string | undefined;
|
|
2687
2687
|
startDate: Date;
|
|
@@ -2728,8 +2728,8 @@ export declare const TMCMembershipSchema: Schema<import("mongoose").Document<unk
|
|
|
2728
2728
|
versionKey: false;
|
|
2729
2729
|
}): {
|
|
2730
2730
|
status: TMCMembershipStatus;
|
|
2731
|
-
companyId: string;
|
|
2732
2731
|
createdAt: Date;
|
|
2732
|
+
companyId: string;
|
|
2733
2733
|
updatedAt: Date;
|
|
2734
2734
|
_id: string;
|
|
2735
2735
|
rejectionReason?: string | undefined;
|
|
@@ -2756,8 +2756,8 @@ export declare const TMCMembershipSchema: Schema<import("mongoose").Document<unk
|
|
|
2756
2756
|
virtuals: false;
|
|
2757
2757
|
}): {
|
|
2758
2758
|
status: TMCMembershipStatus;
|
|
2759
|
-
companyId: string;
|
|
2760
2759
|
createdAt: Date;
|
|
2760
|
+
companyId: string;
|
|
2761
2761
|
updatedAt: Date;
|
|
2762
2762
|
rejectionReason?: string | undefined;
|
|
2763
2763
|
startDate: Date;
|
|
@@ -2804,8 +2804,8 @@ export declare const TMCMembershipSchema: Schema<import("mongoose").Document<unk
|
|
|
2804
2804
|
versionKey: false;
|
|
2805
2805
|
}): {
|
|
2806
2806
|
status: TMCMembershipStatus;
|
|
2807
|
-
companyId: string;
|
|
2808
2807
|
createdAt: Date;
|
|
2808
|
+
companyId: string;
|
|
2809
2809
|
updatedAt: Date;
|
|
2810
2810
|
_id: string;
|
|
2811
2811
|
rejectionReason?: string | undefined;
|
|
@@ -2832,8 +2832,8 @@ export declare const TMCMembershipSchema: Schema<import("mongoose").Document<unk
|
|
|
2832
2832
|
virtuals: true;
|
|
2833
2833
|
}): {
|
|
2834
2834
|
status: TMCMembershipStatus;
|
|
2835
|
-
companyId: string;
|
|
2836
2835
|
createdAt: Date;
|
|
2836
|
+
companyId: string;
|
|
2837
2837
|
updatedAt: Date;
|
|
2838
2838
|
rejectionReason?: string | undefined;
|
|
2839
2839
|
startDate: Date;
|
|
@@ -2880,8 +2880,8 @@ export declare const TMCMembershipSchema: Schema<import("mongoose").Document<unk
|
|
|
2880
2880
|
versionKey: false;
|
|
2881
2881
|
}): {
|
|
2882
2882
|
status: TMCMembershipStatus;
|
|
2883
|
-
companyId: string;
|
|
2884
2883
|
createdAt: Date;
|
|
2884
|
+
companyId: string;
|
|
2885
2885
|
updatedAt: Date;
|
|
2886
2886
|
_id: string;
|
|
2887
2887
|
rejectionReason?: string | undefined;
|
|
@@ -2908,8 +2908,8 @@ export declare const TMCMembershipSchema: Schema<import("mongoose").Document<unk
|
|
|
2908
2908
|
virtuals: false;
|
|
2909
2909
|
}): {
|
|
2910
2910
|
status: TMCMembershipStatus;
|
|
2911
|
-
companyId: string;
|
|
2912
2911
|
createdAt: Date;
|
|
2912
|
+
companyId: string;
|
|
2913
2913
|
updatedAt: Date;
|
|
2914
2914
|
rejectionReason?: string | undefined;
|
|
2915
2915
|
startDate: Date;
|
|
@@ -2955,8 +2955,8 @@ export declare const TMCMembershipSchema: Schema<import("mongoose").Document<unk
|
|
|
2955
2955
|
virtuals: true;
|
|
2956
2956
|
}): {
|
|
2957
2957
|
status: TMCMembershipStatus;
|
|
2958
|
-
companyId: string;
|
|
2959
2958
|
createdAt: Date;
|
|
2959
|
+
companyId: string;
|
|
2960
2960
|
updatedAt: Date;
|
|
2961
2961
|
rejectionReason?: string | undefined;
|
|
2962
2962
|
startDate: Date;
|
|
@@ -2982,8 +2982,8 @@ export declare const TMCMembershipSchema: Schema<import("mongoose").Document<unk
|
|
|
2982
2982
|
flattenObjectIds: true;
|
|
2983
2983
|
}): {
|
|
2984
2984
|
status: TMCMembershipStatus;
|
|
2985
|
-
companyId: string;
|
|
2986
2985
|
createdAt: Date;
|
|
2986
|
+
companyId: string;
|
|
2987
2987
|
updatedAt: Date;
|
|
2988
2988
|
rejectionReason?: string | undefined;
|
|
2989
2989
|
startDate: Date;
|
|
@@ -3009,8 +3009,8 @@ export declare const TMCMembershipSchema: Schema<import("mongoose").Document<unk
|
|
|
3009
3009
|
virtuals: true;
|
|
3010
3010
|
}): {
|
|
3011
3011
|
status: TMCMembershipStatus;
|
|
3012
|
-
companyId: string;
|
|
3013
3012
|
createdAt: Date;
|
|
3013
|
+
companyId: string;
|
|
3014
3014
|
updatedAt: Date;
|
|
3015
3015
|
rejectionReason?: string | undefined;
|
|
3016
3016
|
startDate: Date;
|
|
@@ -3035,8 +3035,8 @@ export declare const TMCMembershipSchema: Schema<import("mongoose").Document<unk
|
|
|
3035
3035
|
flattenObjectIds: true;
|
|
3036
3036
|
}): {
|
|
3037
3037
|
status: TMCMembershipStatus;
|
|
3038
|
-
companyId: string;
|
|
3039
3038
|
createdAt: Date;
|
|
3039
|
+
companyId: string;
|
|
3040
3040
|
updatedAt: Date;
|
|
3041
3041
|
rejectionReason?: string | undefined;
|
|
3042
3042
|
startDate: Date;
|
|
@@ -3079,8 +3079,8 @@ export declare const TMCMembershipSchema: Schema<import("mongoose").Document<unk
|
|
|
3079
3079
|
virtuals: true;
|
|
3080
3080
|
}): {
|
|
3081
3081
|
status: TMCMembershipStatus;
|
|
3082
|
-
companyId: string;
|
|
3083
3082
|
createdAt: Date;
|
|
3083
|
+
companyId: string;
|
|
3084
3084
|
updatedAt: Date;
|
|
3085
3085
|
_id: string;
|
|
3086
3086
|
rejectionReason?: string | undefined;
|
|
@@ -3108,8 +3108,8 @@ export declare const TMCMembershipSchema: Schema<import("mongoose").Document<unk
|
|
|
3108
3108
|
virtuals: true;
|
|
3109
3109
|
}): {
|
|
3110
3110
|
status: TMCMembershipStatus;
|
|
3111
|
-
companyId: string;
|
|
3112
3111
|
createdAt: Date;
|
|
3112
|
+
companyId: string;
|
|
3113
3113
|
updatedAt: Date;
|
|
3114
3114
|
_id: string;
|
|
3115
3115
|
rejectionReason?: string | undefined;
|
|
@@ -3145,8 +3145,8 @@ export declare const TMCMembershipSchema: Schema<import("mongoose").Document<unk
|
|
|
3145
3145
|
virtuals: true;
|
|
3146
3146
|
}): {
|
|
3147
3147
|
status: TMCMembershipStatus;
|
|
3148
|
-
companyId: string;
|
|
3149
3148
|
createdAt: Date;
|
|
3149
|
+
companyId: string;
|
|
3150
3150
|
updatedAt: Date;
|
|
3151
3151
|
_id: string;
|
|
3152
3152
|
rejectionReason?: string | undefined;
|
|
@@ -3181,8 +3181,8 @@ export declare const TMCMembershipSchema: Schema<import("mongoose").Document<unk
|
|
|
3181
3181
|
flattenObjectIds: true;
|
|
3182
3182
|
}): {
|
|
3183
3183
|
status: TMCMembershipStatus;
|
|
3184
|
-
companyId: string;
|
|
3185
3184
|
createdAt: Date;
|
|
3185
|
+
companyId: string;
|
|
3186
3186
|
updatedAt: Date;
|
|
3187
3187
|
_id: string;
|
|
3188
3188
|
rejectionReason?: string | undefined;
|
|
@@ -3208,8 +3208,8 @@ export declare const TMCMembershipSchema: Schema<import("mongoose").Document<unk
|
|
|
3208
3208
|
flattenObjectIds: true;
|
|
3209
3209
|
}): {
|
|
3210
3210
|
status: TMCMembershipStatus;
|
|
3211
|
-
companyId: string;
|
|
3212
3211
|
createdAt: Date;
|
|
3212
|
+
companyId: string;
|
|
3213
3213
|
updatedAt: Date;
|
|
3214
3214
|
_id: string;
|
|
3215
3215
|
rejectionReason?: string | undefined;
|
|
@@ -3294,7 +3294,7 @@ export declare const TMCMembershipSchema: Schema<import("mongoose").Document<unk
|
|
|
3294
3294
|
id: string;
|
|
3295
3295
|
}> | undefined;
|
|
3296
3296
|
unmarkModified?: import("mongoose").SchemaDefinitionProperty<{
|
|
3297
|
-
<T extends "status" | "
|
|
3297
|
+
<T extends "status" | "createdAt" | "companyId" | "updatedAt" | "_id" | "rejectionReason" | "startDate" | "endDate" | "acceptedAt" | "rejectedAt" | "tmcCompanyId" | "memberCompanyId" | "vouchLevel" | "profitSharePercentage" | "profitShareEnabled" | "contractTerms" | "invitedAt" | "invitedBy" | "joinedAt" | "declinedAt" | "totalProfitShared" | "lastProfitShareDate">(path: T): void;
|
|
3298
3298
|
(path: string): void;
|
|
3299
3299
|
}, import("mongoose").Document<unknown, {}, Omit<ITMCMembership, "id"> & {
|
|
3300
3300
|
_id: string;
|
|
@@ -3379,7 +3379,7 @@ export declare const TMCMembershipSchema: Schema<import("mongoose").Document<unk
|
|
|
3379
3379
|
id: string;
|
|
3380
3380
|
}> | undefined;
|
|
3381
3381
|
validate?: import("mongoose").SchemaDefinitionProperty<{
|
|
3382
|
-
<T extends "status" | "
|
|
3382
|
+
<T extends "status" | "createdAt" | "companyId" | "updatedAt" | "_id" | "rejectionReason" | "startDate" | "endDate" | "acceptedAt" | "rejectedAt" | "tmcCompanyId" | "memberCompanyId" | "vouchLevel" | "profitSharePercentage" | "profitShareEnabled" | "contractTerms" | "invitedAt" | "invitedBy" | "joinedAt" | "declinedAt" | "totalProfitShared" | "lastProfitShareDate">(pathsToValidate?: T | T[] | undefined, options?: import("mongoose").AnyObject): Promise<void>;
|
|
3383
3383
|
(pathsToValidate?: import("mongoose").pathsToValidate, options?: import("mongoose").AnyObject): Promise<void>;
|
|
3384
3384
|
(options: {
|
|
3385
3385
|
pathsToSkip?: import("mongoose").pathsToSkip;
|
|
@@ -3420,7 +3420,7 @@ export declare const TMCMembershipSchema: Schema<import("mongoose").Document<unk
|
|
|
3420
3420
|
pathsToSkip?: import("mongoose").pathsToSkip;
|
|
3421
3421
|
[k: string]: any;
|
|
3422
3422
|
}): import("mongoose").Error.ValidationError | null;
|
|
3423
|
-
<T extends "status" | "
|
|
3423
|
+
<T extends "status" | "createdAt" | "companyId" | "updatedAt" | "_id" | "rejectionReason" | "startDate" | "endDate" | "acceptedAt" | "rejectedAt" | "tmcCompanyId" | "memberCompanyId" | "vouchLevel" | "profitSharePercentage" | "profitShareEnabled" | "contractTerms" | "invitedAt" | "invitedBy" | "joinedAt" | "declinedAt" | "totalProfitShared" | "lastProfitShareDate">(pathsToValidate?: T | T[] | undefined, options?: import("mongoose").AnyObject): import("mongoose").Error.ValidationError | null;
|
|
3424
3424
|
(pathsToValidate?: import("mongoose").pathsToValidate, options?: import("mongoose").AnyObject): import("mongoose").Error.ValidationError | null;
|
|
3425
3425
|
}, import("mongoose").Document<unknown, {}, Omit<ITMCMembership, "id"> & {
|
|
3426
3426
|
_id: string;
|
|
@@ -3484,7 +3484,7 @@ export declare const TMCMembershipSchema: Schema<import("mongoose").Document<unk
|
|
|
3484
3484
|
} & {
|
|
3485
3485
|
id: string;
|
|
3486
3486
|
}> | undefined;
|
|
3487
|
-
|
|
3487
|
+
createdAt?: import("mongoose").SchemaDefinitionProperty<Date, import("mongoose").Document<unknown, {}, Omit<ITMCMembership, "id"> & {
|
|
3488
3488
|
_id: string;
|
|
3489
3489
|
}, {}, import("mongoose").DefaultSchemaOptions> & Omit<ITMCMembership, "id"> & {
|
|
3490
3490
|
_id: string;
|
|
@@ -3515,7 +3515,7 @@ export declare const TMCMembershipSchema: Schema<import("mongoose").Document<unk
|
|
|
3515
3515
|
} & {
|
|
3516
3516
|
id: string;
|
|
3517
3517
|
}> | undefined;
|
|
3518
|
-
|
|
3518
|
+
companyId?: import("mongoose").SchemaDefinitionProperty<string, import("mongoose").Document<unknown, {}, Omit<ITMCMembership, "id"> & {
|
|
3519
3519
|
_id: string;
|
|
3520
3520
|
}, {}, import("mongoose").DefaultSchemaOptions> & Omit<ITMCMembership, "id"> & {
|
|
3521
3521
|
_id: string;
|