@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
|
@@ -1082,7 +1082,7 @@ export declare const ProfitShareSchema: Schema<import("mongoose").Document<unkno
|
|
|
1082
1082
|
id: string;
|
|
1083
1083
|
}> | undefined;
|
|
1084
1084
|
get?: import("mongoose").SchemaDefinitionProperty<{
|
|
1085
|
-
<T extends "status" | "currency" | "
|
|
1085
|
+
<T extends "status" | "currency" | "createdAt" | "companyId" | "updatedAt" | "_id" | "platformFee" | "processedAt" | "paidAt" | "tmcCompanyId" | "sharePercentage" | "agreementId" | "memberCompanyId" | "triggerType" | "triggerId" | "originalAmount" | "grossShareAmount" | "netShareAmount" | "tmcAmount" | "failureReason" | "payoutMethod" | "stripeTransferId">(path: T, type?: any, options?: any): (Omit<IProfitShare, "id"> & {
|
|
1086
1086
|
_id: string;
|
|
1087
1087
|
})[T];
|
|
1088
1088
|
(path: string, type?: any, options?: any): any;
|
|
@@ -1241,7 +1241,7 @@ export declare const ProfitShareSchema: Schema<import("mongoose").Document<unkno
|
|
|
1241
1241
|
id: string;
|
|
1242
1242
|
}> | undefined;
|
|
1243
1243
|
invalidate?: import("mongoose").SchemaDefinitionProperty<{
|
|
1244
|
-
<T extends "status" | "currency" | "
|
|
1244
|
+
<T extends "status" | "currency" | "createdAt" | "companyId" | "updatedAt" | "_id" | "platformFee" | "processedAt" | "paidAt" | "tmcCompanyId" | "sharePercentage" | "agreementId" | "memberCompanyId" | "triggerType" | "triggerId" | "originalAmount" | "grossShareAmount" | "netShareAmount" | "tmcAmount" | "failureReason" | "payoutMethod" | "stripeTransferId">(path: T, errorMsg: string | NativeError, value?: any, kind?: string): NativeError | null;
|
|
1245
1245
|
(path: string, errorMsg: string | NativeError, value?: any, kind?: string): NativeError | null;
|
|
1246
1246
|
}, import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
|
|
1247
1247
|
_id: string;
|
|
@@ -1275,7 +1275,7 @@ export declare const ProfitShareSchema: Schema<import("mongoose").Document<unkno
|
|
|
1275
1275
|
id: string;
|
|
1276
1276
|
}> | undefined;
|
|
1277
1277
|
isDirectModified?: import("mongoose").SchemaDefinitionProperty<{
|
|
1278
|
-
<T extends "status" | "currency" | "
|
|
1278
|
+
<T extends "status" | "currency" | "createdAt" | "companyId" | "updatedAt" | "_id" | "platformFee" | "processedAt" | "paidAt" | "tmcCompanyId" | "sharePercentage" | "agreementId" | "memberCompanyId" | "triggerType" | "triggerId" | "originalAmount" | "grossShareAmount" | "netShareAmount" | "tmcAmount" | "failureReason" | "payoutMethod" | "stripeTransferId">(path: T | T[]): boolean;
|
|
1279
1279
|
(path: string | Array<string>): boolean;
|
|
1280
1280
|
}, import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
|
|
1281
1281
|
_id: string;
|
|
@@ -1309,7 +1309,7 @@ export declare const ProfitShareSchema: Schema<import("mongoose").Document<unkno
|
|
|
1309
1309
|
id: string;
|
|
1310
1310
|
}> | undefined;
|
|
1311
1311
|
isDirectSelected?: import("mongoose").SchemaDefinitionProperty<{
|
|
1312
|
-
<T extends "status" | "currency" | "
|
|
1312
|
+
<T extends "status" | "currency" | "createdAt" | "companyId" | "updatedAt" | "_id" | "platformFee" | "processedAt" | "paidAt" | "tmcCompanyId" | "sharePercentage" | "agreementId" | "memberCompanyId" | "triggerType" | "triggerId" | "originalAmount" | "grossShareAmount" | "netShareAmount" | "tmcAmount" | "failureReason" | "payoutMethod" | "stripeTransferId">(path: T): boolean;
|
|
1313
1313
|
(path: string): boolean;
|
|
1314
1314
|
}, import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
|
|
1315
1315
|
_id: string;
|
|
@@ -1343,7 +1343,7 @@ export declare const ProfitShareSchema: Schema<import("mongoose").Document<unkno
|
|
|
1343
1343
|
id: string;
|
|
1344
1344
|
}> | undefined;
|
|
1345
1345
|
isInit?: import("mongoose").SchemaDefinitionProperty<{
|
|
1346
|
-
<T extends "status" | "currency" | "
|
|
1346
|
+
<T extends "status" | "currency" | "createdAt" | "companyId" | "updatedAt" | "_id" | "platformFee" | "processedAt" | "paidAt" | "tmcCompanyId" | "sharePercentage" | "agreementId" | "memberCompanyId" | "triggerType" | "triggerId" | "originalAmount" | "grossShareAmount" | "netShareAmount" | "tmcAmount" | "failureReason" | "payoutMethod" | "stripeTransferId">(path: T): boolean;
|
|
1347
1347
|
(path: string): boolean;
|
|
1348
1348
|
}, import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
|
|
1349
1349
|
_id: string;
|
|
@@ -1377,7 +1377,7 @@ export declare const ProfitShareSchema: Schema<import("mongoose").Document<unkno
|
|
|
1377
1377
|
id: string;
|
|
1378
1378
|
}> | undefined;
|
|
1379
1379
|
isModified?: import("mongoose").SchemaDefinitionProperty<{
|
|
1380
|
-
<T extends "status" | "currency" | "
|
|
1380
|
+
<T extends "status" | "currency" | "createdAt" | "companyId" | "updatedAt" | "_id" | "platformFee" | "processedAt" | "paidAt" | "tmcCompanyId" | "sharePercentage" | "agreementId" | "memberCompanyId" | "triggerType" | "triggerId" | "originalAmount" | "grossShareAmount" | "netShareAmount" | "tmcAmount" | "failureReason" | "payoutMethod" | "stripeTransferId">(path?: T | T[] | undefined, options?: {
|
|
1381
1381
|
ignoreAtomics?: boolean;
|
|
1382
1382
|
} | null): boolean;
|
|
1383
1383
|
(path?: string | Array<string>, options?: {
|
|
@@ -1446,7 +1446,7 @@ export declare const ProfitShareSchema: Schema<import("mongoose").Document<unkno
|
|
|
1446
1446
|
id: string;
|
|
1447
1447
|
}> | undefined;
|
|
1448
1448
|
isSelected?: import("mongoose").SchemaDefinitionProperty<{
|
|
1449
|
-
<T extends "status" | "currency" | "
|
|
1449
|
+
<T extends "status" | "currency" | "createdAt" | "companyId" | "updatedAt" | "_id" | "platformFee" | "processedAt" | "paidAt" | "tmcCompanyId" | "sharePercentage" | "agreementId" | "memberCompanyId" | "triggerType" | "triggerId" | "originalAmount" | "grossShareAmount" | "netShareAmount" | "tmcAmount" | "failureReason" | "payoutMethod" | "stripeTransferId">(path: T): boolean;
|
|
1450
1450
|
(path: string): boolean;
|
|
1451
1451
|
}, import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
|
|
1452
1452
|
_id: string;
|
|
@@ -1480,7 +1480,7 @@ export declare const ProfitShareSchema: Schema<import("mongoose").Document<unkno
|
|
|
1480
1480
|
id: string;
|
|
1481
1481
|
}> | undefined;
|
|
1482
1482
|
markModified?: import("mongoose").SchemaDefinitionProperty<{
|
|
1483
|
-
<T extends "status" | "currency" | "
|
|
1483
|
+
<T extends "status" | "currency" | "createdAt" | "companyId" | "updatedAt" | "_id" | "platformFee" | "processedAt" | "paidAt" | "tmcCompanyId" | "sharePercentage" | "agreementId" | "memberCompanyId" | "triggerType" | "triggerId" | "originalAmount" | "grossShareAmount" | "netShareAmount" | "tmcAmount" | "failureReason" | "payoutMethod" | "stripeTransferId">(path: T, scope?: any): void;
|
|
1484
1484
|
(path: string, scope?: any): void;
|
|
1485
1485
|
}, import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
|
|
1486
1486
|
_id: string;
|
|
@@ -1919,7 +1919,7 @@ export declare const ProfitShareSchema: Schema<import("mongoose").Document<unkno
|
|
|
1919
1919
|
id: string;
|
|
1920
1920
|
}> | undefined;
|
|
1921
1921
|
set?: import("mongoose").SchemaDefinitionProperty<{
|
|
1922
|
-
<T extends "status" | "currency" | "
|
|
1922
|
+
<T extends "status" | "currency" | "createdAt" | "companyId" | "updatedAt" | "_id" | "platformFee" | "processedAt" | "paidAt" | "tmcCompanyId" | "sharePercentage" | "agreementId" | "memberCompanyId" | "triggerType" | "triggerId" | "originalAmount" | "grossShareAmount" | "netShareAmount" | "tmcAmount" | "failureReason" | "payoutMethod" | "stripeTransferId">(path: T, val: (Omit<IProfitShare, "id"> & {
|
|
1923
1923
|
_id: string;
|
|
1924
1924
|
})[T], type: any, options?: import("mongoose").DocumentSetOptions): import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
|
|
1925
1925
|
_id: string;
|
|
@@ -2005,8 +2005,8 @@ export declare const ProfitShareSchema: Schema<import("mongoose").Document<unkno
|
|
|
2005
2005
|
}): {
|
|
2006
2006
|
status: ProfitShareStatus;
|
|
2007
2007
|
currency: string;
|
|
2008
|
-
companyId: string;
|
|
2009
2008
|
createdAt: Date;
|
|
2009
|
+
companyId: string;
|
|
2010
2010
|
updatedAt: Date;
|
|
2011
2011
|
_id: string;
|
|
2012
2012
|
platformFee: number;
|
|
@@ -2033,8 +2033,8 @@ export declare const ProfitShareSchema: Schema<import("mongoose").Document<unkno
|
|
|
2033
2033
|
}): {
|
|
2034
2034
|
status: ProfitShareStatus;
|
|
2035
2035
|
currency: string;
|
|
2036
|
-
companyId: string;
|
|
2037
2036
|
createdAt: Date;
|
|
2037
|
+
companyId: string;
|
|
2038
2038
|
updatedAt: Date;
|
|
2039
2039
|
platformFee: number;
|
|
2040
2040
|
processedAt?: Date | undefined;
|
|
@@ -2081,8 +2081,8 @@ export declare const ProfitShareSchema: Schema<import("mongoose").Document<unkno
|
|
|
2081
2081
|
}): {
|
|
2082
2082
|
status: ProfitShareStatus;
|
|
2083
2083
|
currency: string;
|
|
2084
|
-
companyId: string;
|
|
2085
2084
|
createdAt: Date;
|
|
2085
|
+
companyId: string;
|
|
2086
2086
|
updatedAt: Date;
|
|
2087
2087
|
_id: string;
|
|
2088
2088
|
platformFee: number;
|
|
@@ -2109,8 +2109,8 @@ export declare const ProfitShareSchema: Schema<import("mongoose").Document<unkno
|
|
|
2109
2109
|
}): {
|
|
2110
2110
|
status: ProfitShareStatus;
|
|
2111
2111
|
currency: string;
|
|
2112
|
-
companyId: string;
|
|
2113
2112
|
createdAt: Date;
|
|
2113
|
+
companyId: string;
|
|
2114
2114
|
updatedAt: Date;
|
|
2115
2115
|
platformFee: number;
|
|
2116
2116
|
processedAt?: Date | undefined;
|
|
@@ -2157,8 +2157,8 @@ export declare const ProfitShareSchema: Schema<import("mongoose").Document<unkno
|
|
|
2157
2157
|
}): {
|
|
2158
2158
|
status: ProfitShareStatus;
|
|
2159
2159
|
currency: string;
|
|
2160
|
-
companyId: string;
|
|
2161
2160
|
createdAt: Date;
|
|
2161
|
+
companyId: string;
|
|
2162
2162
|
updatedAt: Date;
|
|
2163
2163
|
_id: string;
|
|
2164
2164
|
platformFee: number;
|
|
@@ -2185,8 +2185,8 @@ export declare const ProfitShareSchema: Schema<import("mongoose").Document<unkno
|
|
|
2185
2185
|
}): {
|
|
2186
2186
|
status: ProfitShareStatus;
|
|
2187
2187
|
currency: string;
|
|
2188
|
-
companyId: string;
|
|
2189
2188
|
createdAt: Date;
|
|
2189
|
+
companyId: string;
|
|
2190
2190
|
updatedAt: Date;
|
|
2191
2191
|
platformFee: number;
|
|
2192
2192
|
processedAt?: Date | undefined;
|
|
@@ -2233,8 +2233,8 @@ export declare const ProfitShareSchema: Schema<import("mongoose").Document<unkno
|
|
|
2233
2233
|
}): {
|
|
2234
2234
|
status: ProfitShareStatus;
|
|
2235
2235
|
currency: string;
|
|
2236
|
-
companyId: string;
|
|
2237
2236
|
createdAt: Date;
|
|
2237
|
+
companyId: string;
|
|
2238
2238
|
updatedAt: Date;
|
|
2239
2239
|
_id: string;
|
|
2240
2240
|
platformFee: number;
|
|
@@ -2261,8 +2261,8 @@ export declare const ProfitShareSchema: Schema<import("mongoose").Document<unkno
|
|
|
2261
2261
|
}): {
|
|
2262
2262
|
status: ProfitShareStatus;
|
|
2263
2263
|
currency: string;
|
|
2264
|
-
companyId: string;
|
|
2265
2264
|
createdAt: Date;
|
|
2265
|
+
companyId: string;
|
|
2266
2266
|
updatedAt: Date;
|
|
2267
2267
|
platformFee: number;
|
|
2268
2268
|
processedAt?: Date | undefined;
|
|
@@ -2308,8 +2308,8 @@ export declare const ProfitShareSchema: Schema<import("mongoose").Document<unkno
|
|
|
2308
2308
|
}): {
|
|
2309
2309
|
status: ProfitShareStatus;
|
|
2310
2310
|
currency: string;
|
|
2311
|
-
companyId: string;
|
|
2312
2311
|
createdAt: Date;
|
|
2312
|
+
companyId: string;
|
|
2313
2313
|
updatedAt: Date;
|
|
2314
2314
|
platformFee: number;
|
|
2315
2315
|
processedAt?: Date | undefined;
|
|
@@ -2335,8 +2335,8 @@ export declare const ProfitShareSchema: Schema<import("mongoose").Document<unkno
|
|
|
2335
2335
|
}): {
|
|
2336
2336
|
status: ProfitShareStatus;
|
|
2337
2337
|
currency: string;
|
|
2338
|
-
companyId: string;
|
|
2339
2338
|
createdAt: Date;
|
|
2339
|
+
companyId: string;
|
|
2340
2340
|
updatedAt: Date;
|
|
2341
2341
|
platformFee: number;
|
|
2342
2342
|
processedAt?: Date | undefined;
|
|
@@ -2362,8 +2362,8 @@ export declare const ProfitShareSchema: Schema<import("mongoose").Document<unkno
|
|
|
2362
2362
|
}): {
|
|
2363
2363
|
status: ProfitShareStatus;
|
|
2364
2364
|
currency: string;
|
|
2365
|
-
companyId: string;
|
|
2366
2365
|
createdAt: Date;
|
|
2366
|
+
companyId: string;
|
|
2367
2367
|
updatedAt: Date;
|
|
2368
2368
|
platformFee: number;
|
|
2369
2369
|
processedAt?: Date | undefined;
|
|
@@ -2388,8 +2388,8 @@ export declare const ProfitShareSchema: Schema<import("mongoose").Document<unkno
|
|
|
2388
2388
|
}): {
|
|
2389
2389
|
status: ProfitShareStatus;
|
|
2390
2390
|
currency: string;
|
|
2391
|
-
companyId: string;
|
|
2392
2391
|
createdAt: Date;
|
|
2392
|
+
companyId: string;
|
|
2393
2393
|
updatedAt: Date;
|
|
2394
2394
|
platformFee: number;
|
|
2395
2395
|
processedAt?: Date | undefined;
|
|
@@ -2432,8 +2432,8 @@ export declare const ProfitShareSchema: Schema<import("mongoose").Document<unkno
|
|
|
2432
2432
|
}): {
|
|
2433
2433
|
status: ProfitShareStatus;
|
|
2434
2434
|
currency: string;
|
|
2435
|
-
companyId: string;
|
|
2436
2435
|
createdAt: Date;
|
|
2436
|
+
companyId: string;
|
|
2437
2437
|
updatedAt: Date;
|
|
2438
2438
|
_id: string;
|
|
2439
2439
|
platformFee: number;
|
|
@@ -2461,8 +2461,8 @@ export declare const ProfitShareSchema: Schema<import("mongoose").Document<unkno
|
|
|
2461
2461
|
}): {
|
|
2462
2462
|
status: ProfitShareStatus;
|
|
2463
2463
|
currency: string;
|
|
2464
|
-
companyId: string;
|
|
2465
2464
|
createdAt: Date;
|
|
2465
|
+
companyId: string;
|
|
2466
2466
|
updatedAt: Date;
|
|
2467
2467
|
_id: string;
|
|
2468
2468
|
platformFee: number;
|
|
@@ -2498,8 +2498,8 @@ export declare const ProfitShareSchema: Schema<import("mongoose").Document<unkno
|
|
|
2498
2498
|
}): {
|
|
2499
2499
|
status: ProfitShareStatus;
|
|
2500
2500
|
currency: string;
|
|
2501
|
-
companyId: string;
|
|
2502
2501
|
createdAt: Date;
|
|
2502
|
+
companyId: string;
|
|
2503
2503
|
updatedAt: Date;
|
|
2504
2504
|
_id: string;
|
|
2505
2505
|
platformFee: number;
|
|
@@ -2534,8 +2534,8 @@ export declare const ProfitShareSchema: Schema<import("mongoose").Document<unkno
|
|
|
2534
2534
|
}): {
|
|
2535
2535
|
status: ProfitShareStatus;
|
|
2536
2536
|
currency: string;
|
|
2537
|
-
companyId: string;
|
|
2538
2537
|
createdAt: Date;
|
|
2538
|
+
companyId: string;
|
|
2539
2539
|
updatedAt: Date;
|
|
2540
2540
|
_id: string;
|
|
2541
2541
|
platformFee: number;
|
|
@@ -2561,8 +2561,8 @@ export declare const ProfitShareSchema: Schema<import("mongoose").Document<unkno
|
|
|
2561
2561
|
}): {
|
|
2562
2562
|
status: ProfitShareStatus;
|
|
2563
2563
|
currency: string;
|
|
2564
|
-
companyId: string;
|
|
2565
2564
|
createdAt: Date;
|
|
2565
|
+
companyId: string;
|
|
2566
2566
|
updatedAt: Date;
|
|
2567
2567
|
_id: string;
|
|
2568
2568
|
platformFee: number;
|
|
@@ -2654,8 +2654,8 @@ export declare const ProfitShareSchema: Schema<import("mongoose").Document<unkno
|
|
|
2654
2654
|
}): {
|
|
2655
2655
|
status: ProfitShareStatus;
|
|
2656
2656
|
currency: string;
|
|
2657
|
-
companyId: string;
|
|
2658
2657
|
createdAt: Date;
|
|
2658
|
+
companyId: string;
|
|
2659
2659
|
updatedAt: Date;
|
|
2660
2660
|
_id: string;
|
|
2661
2661
|
platformFee: number;
|
|
@@ -2682,8 +2682,8 @@ export declare const ProfitShareSchema: Schema<import("mongoose").Document<unkno
|
|
|
2682
2682
|
}): {
|
|
2683
2683
|
status: ProfitShareStatus;
|
|
2684
2684
|
currency: string;
|
|
2685
|
-
companyId: string;
|
|
2686
2685
|
createdAt: Date;
|
|
2686
|
+
companyId: string;
|
|
2687
2687
|
updatedAt: Date;
|
|
2688
2688
|
platformFee: number;
|
|
2689
2689
|
processedAt?: Date | undefined;
|
|
@@ -2730,8 +2730,8 @@ export declare const ProfitShareSchema: Schema<import("mongoose").Document<unkno
|
|
|
2730
2730
|
}): {
|
|
2731
2731
|
status: ProfitShareStatus;
|
|
2732
2732
|
currency: string;
|
|
2733
|
-
companyId: string;
|
|
2734
2733
|
createdAt: Date;
|
|
2734
|
+
companyId: string;
|
|
2735
2735
|
updatedAt: Date;
|
|
2736
2736
|
_id: string;
|
|
2737
2737
|
platformFee: number;
|
|
@@ -2758,8 +2758,8 @@ export declare const ProfitShareSchema: Schema<import("mongoose").Document<unkno
|
|
|
2758
2758
|
}): {
|
|
2759
2759
|
status: ProfitShareStatus;
|
|
2760
2760
|
currency: string;
|
|
2761
|
-
companyId: string;
|
|
2762
2761
|
createdAt: Date;
|
|
2762
|
+
companyId: string;
|
|
2763
2763
|
updatedAt: Date;
|
|
2764
2764
|
platformFee: number;
|
|
2765
2765
|
processedAt?: Date | undefined;
|
|
@@ -2806,8 +2806,8 @@ export declare const ProfitShareSchema: Schema<import("mongoose").Document<unkno
|
|
|
2806
2806
|
}): {
|
|
2807
2807
|
status: ProfitShareStatus;
|
|
2808
2808
|
currency: string;
|
|
2809
|
-
companyId: string;
|
|
2810
2809
|
createdAt: Date;
|
|
2810
|
+
companyId: string;
|
|
2811
2811
|
updatedAt: Date;
|
|
2812
2812
|
_id: string;
|
|
2813
2813
|
platformFee: number;
|
|
@@ -2834,8 +2834,8 @@ export declare const ProfitShareSchema: Schema<import("mongoose").Document<unkno
|
|
|
2834
2834
|
}): {
|
|
2835
2835
|
status: ProfitShareStatus;
|
|
2836
2836
|
currency: string;
|
|
2837
|
-
companyId: string;
|
|
2838
2837
|
createdAt: Date;
|
|
2838
|
+
companyId: string;
|
|
2839
2839
|
updatedAt: Date;
|
|
2840
2840
|
platformFee: number;
|
|
2841
2841
|
processedAt?: Date | undefined;
|
|
@@ -2882,8 +2882,8 @@ export declare const ProfitShareSchema: Schema<import("mongoose").Document<unkno
|
|
|
2882
2882
|
}): {
|
|
2883
2883
|
status: ProfitShareStatus;
|
|
2884
2884
|
currency: string;
|
|
2885
|
-
companyId: string;
|
|
2886
2885
|
createdAt: Date;
|
|
2886
|
+
companyId: string;
|
|
2887
2887
|
updatedAt: Date;
|
|
2888
2888
|
_id: string;
|
|
2889
2889
|
platformFee: number;
|
|
@@ -2910,8 +2910,8 @@ export declare const ProfitShareSchema: Schema<import("mongoose").Document<unkno
|
|
|
2910
2910
|
}): {
|
|
2911
2911
|
status: ProfitShareStatus;
|
|
2912
2912
|
currency: string;
|
|
2913
|
-
companyId: string;
|
|
2914
2913
|
createdAt: Date;
|
|
2914
|
+
companyId: string;
|
|
2915
2915
|
updatedAt: Date;
|
|
2916
2916
|
platformFee: number;
|
|
2917
2917
|
processedAt?: Date | undefined;
|
|
@@ -2957,8 +2957,8 @@ export declare const ProfitShareSchema: Schema<import("mongoose").Document<unkno
|
|
|
2957
2957
|
}): {
|
|
2958
2958
|
status: ProfitShareStatus;
|
|
2959
2959
|
currency: string;
|
|
2960
|
-
companyId: string;
|
|
2961
2960
|
createdAt: Date;
|
|
2961
|
+
companyId: string;
|
|
2962
2962
|
updatedAt: Date;
|
|
2963
2963
|
platformFee: number;
|
|
2964
2964
|
processedAt?: Date | undefined;
|
|
@@ -2984,8 +2984,8 @@ export declare const ProfitShareSchema: Schema<import("mongoose").Document<unkno
|
|
|
2984
2984
|
}): {
|
|
2985
2985
|
status: ProfitShareStatus;
|
|
2986
2986
|
currency: string;
|
|
2987
|
-
companyId: string;
|
|
2988
2987
|
createdAt: Date;
|
|
2988
|
+
companyId: string;
|
|
2989
2989
|
updatedAt: Date;
|
|
2990
2990
|
platformFee: number;
|
|
2991
2991
|
processedAt?: Date | undefined;
|
|
@@ -3011,8 +3011,8 @@ export declare const ProfitShareSchema: Schema<import("mongoose").Document<unkno
|
|
|
3011
3011
|
}): {
|
|
3012
3012
|
status: ProfitShareStatus;
|
|
3013
3013
|
currency: string;
|
|
3014
|
-
companyId: string;
|
|
3015
3014
|
createdAt: Date;
|
|
3015
|
+
companyId: string;
|
|
3016
3016
|
updatedAt: Date;
|
|
3017
3017
|
platformFee: number;
|
|
3018
3018
|
processedAt?: Date | undefined;
|
|
@@ -3037,8 +3037,8 @@ export declare const ProfitShareSchema: Schema<import("mongoose").Document<unkno
|
|
|
3037
3037
|
}): {
|
|
3038
3038
|
status: ProfitShareStatus;
|
|
3039
3039
|
currency: string;
|
|
3040
|
-
companyId: string;
|
|
3041
3040
|
createdAt: Date;
|
|
3041
|
+
companyId: string;
|
|
3042
3042
|
updatedAt: Date;
|
|
3043
3043
|
platformFee: number;
|
|
3044
3044
|
processedAt?: Date | undefined;
|
|
@@ -3081,8 +3081,8 @@ export declare const ProfitShareSchema: Schema<import("mongoose").Document<unkno
|
|
|
3081
3081
|
}): {
|
|
3082
3082
|
status: ProfitShareStatus;
|
|
3083
3083
|
currency: string;
|
|
3084
|
-
companyId: string;
|
|
3085
3084
|
createdAt: Date;
|
|
3085
|
+
companyId: string;
|
|
3086
3086
|
updatedAt: Date;
|
|
3087
3087
|
_id: string;
|
|
3088
3088
|
platformFee: number;
|
|
@@ -3110,8 +3110,8 @@ export declare const ProfitShareSchema: Schema<import("mongoose").Document<unkno
|
|
|
3110
3110
|
}): {
|
|
3111
3111
|
status: ProfitShareStatus;
|
|
3112
3112
|
currency: string;
|
|
3113
|
-
companyId: string;
|
|
3114
3113
|
createdAt: Date;
|
|
3114
|
+
companyId: string;
|
|
3115
3115
|
updatedAt: Date;
|
|
3116
3116
|
_id: string;
|
|
3117
3117
|
platformFee: number;
|
|
@@ -3147,8 +3147,8 @@ export declare const ProfitShareSchema: Schema<import("mongoose").Document<unkno
|
|
|
3147
3147
|
}): {
|
|
3148
3148
|
status: ProfitShareStatus;
|
|
3149
3149
|
currency: string;
|
|
3150
|
-
companyId: string;
|
|
3151
3150
|
createdAt: Date;
|
|
3151
|
+
companyId: string;
|
|
3152
3152
|
updatedAt: Date;
|
|
3153
3153
|
_id: string;
|
|
3154
3154
|
platformFee: number;
|
|
@@ -3183,8 +3183,8 @@ export declare const ProfitShareSchema: Schema<import("mongoose").Document<unkno
|
|
|
3183
3183
|
}): {
|
|
3184
3184
|
status: ProfitShareStatus;
|
|
3185
3185
|
currency: string;
|
|
3186
|
-
companyId: string;
|
|
3187
3186
|
createdAt: Date;
|
|
3187
|
+
companyId: string;
|
|
3188
3188
|
updatedAt: Date;
|
|
3189
3189
|
_id: string;
|
|
3190
3190
|
platformFee: number;
|
|
@@ -3210,8 +3210,8 @@ export declare const ProfitShareSchema: Schema<import("mongoose").Document<unkno
|
|
|
3210
3210
|
}): {
|
|
3211
3211
|
status: ProfitShareStatus;
|
|
3212
3212
|
currency: string;
|
|
3213
|
-
companyId: string;
|
|
3214
3213
|
createdAt: Date;
|
|
3214
|
+
companyId: string;
|
|
3215
3215
|
updatedAt: Date;
|
|
3216
3216
|
_id: string;
|
|
3217
3217
|
platformFee: number;
|
|
@@ -3295,7 +3295,7 @@ export declare const ProfitShareSchema: Schema<import("mongoose").Document<unkno
|
|
|
3295
3295
|
id: string;
|
|
3296
3296
|
}> | undefined;
|
|
3297
3297
|
unmarkModified?: import("mongoose").SchemaDefinitionProperty<{
|
|
3298
|
-
<T extends "status" | "currency" | "
|
|
3298
|
+
<T extends "status" | "currency" | "createdAt" | "companyId" | "updatedAt" | "_id" | "platformFee" | "processedAt" | "paidAt" | "tmcCompanyId" | "sharePercentage" | "agreementId" | "memberCompanyId" | "triggerType" | "triggerId" | "originalAmount" | "grossShareAmount" | "netShareAmount" | "tmcAmount" | "failureReason" | "payoutMethod" | "stripeTransferId">(path: T): void;
|
|
3299
3299
|
(path: string): void;
|
|
3300
3300
|
}, import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
|
|
3301
3301
|
_id: string;
|
|
@@ -3380,7 +3380,7 @@ export declare const ProfitShareSchema: Schema<import("mongoose").Document<unkno
|
|
|
3380
3380
|
id: string;
|
|
3381
3381
|
}> | undefined;
|
|
3382
3382
|
validate?: import("mongoose").SchemaDefinitionProperty<{
|
|
3383
|
-
<T extends "status" | "currency" | "
|
|
3383
|
+
<T extends "status" | "currency" | "createdAt" | "companyId" | "updatedAt" | "_id" | "platformFee" | "processedAt" | "paidAt" | "tmcCompanyId" | "sharePercentage" | "agreementId" | "memberCompanyId" | "triggerType" | "triggerId" | "originalAmount" | "grossShareAmount" | "netShareAmount" | "tmcAmount" | "failureReason" | "payoutMethod" | "stripeTransferId">(pathsToValidate?: T | T[] | undefined, options?: import("mongoose").AnyObject): Promise<void>;
|
|
3384
3384
|
(pathsToValidate?: import("mongoose").pathsToValidate, options?: import("mongoose").AnyObject): Promise<void>;
|
|
3385
3385
|
(options: {
|
|
3386
3386
|
pathsToSkip?: import("mongoose").pathsToSkip;
|
|
@@ -3421,7 +3421,7 @@ export declare const ProfitShareSchema: Schema<import("mongoose").Document<unkno
|
|
|
3421
3421
|
pathsToSkip?: import("mongoose").pathsToSkip;
|
|
3422
3422
|
[k: string]: any;
|
|
3423
3423
|
}): import("mongoose").Error.ValidationError | null;
|
|
3424
|
-
<T extends "status" | "currency" | "
|
|
3424
|
+
<T extends "status" | "currency" | "createdAt" | "companyId" | "updatedAt" | "_id" | "platformFee" | "processedAt" | "paidAt" | "tmcCompanyId" | "sharePercentage" | "agreementId" | "memberCompanyId" | "triggerType" | "triggerId" | "originalAmount" | "grossShareAmount" | "netShareAmount" | "tmcAmount" | "failureReason" | "payoutMethod" | "stripeTransferId">(pathsToValidate?: T | T[] | undefined, options?: import("mongoose").AnyObject): import("mongoose").Error.ValidationError | null;
|
|
3425
3425
|
(pathsToValidate?: import("mongoose").pathsToValidate, options?: import("mongoose").AnyObject): import("mongoose").Error.ValidationError | null;
|
|
3426
3426
|
}, import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
|
|
3427
3427
|
_id: string;
|
|
@@ -3516,7 +3516,7 @@ export declare const ProfitShareSchema: Schema<import("mongoose").Document<unkno
|
|
|
3516
3516
|
} & {
|
|
3517
3517
|
id: string;
|
|
3518
3518
|
}> | undefined;
|
|
3519
|
-
|
|
3519
|
+
createdAt?: import("mongoose").SchemaDefinitionProperty<Date, import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
|
|
3520
3520
|
_id: string;
|
|
3521
3521
|
}, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
|
|
3522
3522
|
_id: string;
|
|
@@ -3547,7 +3547,7 @@ export declare const ProfitShareSchema: Schema<import("mongoose").Document<unkno
|
|
|
3547
3547
|
} & {
|
|
3548
3548
|
id: string;
|
|
3549
3549
|
}> | undefined;
|
|
3550
|
-
|
|
3550
|
+
companyId?: import("mongoose").SchemaDefinitionProperty<string, import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
|
|
3551
3551
|
_id: string;
|
|
3552
3552
|
}, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
|
|
3553
3553
|
_id: string;
|