@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 EscrowSchema: Schema<import("mongoose").Document<unknown, {
|
|
|
1081
1081
|
id: string;
|
|
1082
1082
|
}> | undefined;
|
|
1083
1083
|
get?: import("mongoose").SchemaDefinitionProperty<{
|
|
1084
|
-
<T extends "status" | "currency" | "
|
|
1084
|
+
<T extends "status" | "currency" | "accountId" | "createdAt" | "companyId" | "updatedAt" | "_id" | "contractId" | "totalAmount" | "disputeId" | "fundedAmount" | "releasedAmount" | "refundedAmount" | "availableBalance" | "transactions" | "platformFeePercentage" | "platformFeeAmount" | "disputeReason" | "disputeResolvedAt" | "stripePaymentIntentId">(path: T, type?: any, options?: any): (Omit<IEscrow, "id"> & {
|
|
1085
1085
|
_id: string;
|
|
1086
1086
|
})[T];
|
|
1087
1087
|
(path: string, type?: any, options?: any): any;
|
|
@@ -1240,7 +1240,7 @@ export declare const EscrowSchema: Schema<import("mongoose").Document<unknown, {
|
|
|
1240
1240
|
id: string;
|
|
1241
1241
|
}> | undefined;
|
|
1242
1242
|
invalidate?: import("mongoose").SchemaDefinitionProperty<{
|
|
1243
|
-
<T extends "status" | "currency" | "
|
|
1243
|
+
<T extends "status" | "currency" | "accountId" | "createdAt" | "companyId" | "updatedAt" | "_id" | "contractId" | "totalAmount" | "disputeId" | "fundedAmount" | "releasedAmount" | "refundedAmount" | "availableBalance" | "transactions" | "platformFeePercentage" | "platformFeeAmount" | "disputeReason" | "disputeResolvedAt" | "stripePaymentIntentId">(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<IEscrow, "id"> & {
|
|
1246
1246
|
_id: string;
|
|
@@ -1274,7 +1274,7 @@ export declare const EscrowSchema: Schema<import("mongoose").Document<unknown, {
|
|
|
1274
1274
|
id: string;
|
|
1275
1275
|
}> | undefined;
|
|
1276
1276
|
isDirectModified?: import("mongoose").SchemaDefinitionProperty<{
|
|
1277
|
-
<T extends "status" | "currency" | "
|
|
1277
|
+
<T extends "status" | "currency" | "accountId" | "createdAt" | "companyId" | "updatedAt" | "_id" | "contractId" | "totalAmount" | "disputeId" | "fundedAmount" | "releasedAmount" | "refundedAmount" | "availableBalance" | "transactions" | "platformFeePercentage" | "platformFeeAmount" | "disputeReason" | "disputeResolvedAt" | "stripePaymentIntentId">(path: T | T[]): boolean;
|
|
1278
1278
|
(path: string | Array<string>): boolean;
|
|
1279
1279
|
}, import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
|
|
1280
1280
|
_id: string;
|
|
@@ -1308,7 +1308,7 @@ export declare const EscrowSchema: Schema<import("mongoose").Document<unknown, {
|
|
|
1308
1308
|
id: string;
|
|
1309
1309
|
}> | undefined;
|
|
1310
1310
|
isDirectSelected?: import("mongoose").SchemaDefinitionProperty<{
|
|
1311
|
-
<T extends "status" | "currency" | "
|
|
1311
|
+
<T extends "status" | "currency" | "accountId" | "createdAt" | "companyId" | "updatedAt" | "_id" | "contractId" | "totalAmount" | "disputeId" | "fundedAmount" | "releasedAmount" | "refundedAmount" | "availableBalance" | "transactions" | "platformFeePercentage" | "platformFeeAmount" | "disputeReason" | "disputeResolvedAt" | "stripePaymentIntentId">(path: T): boolean;
|
|
1312
1312
|
(path: string): boolean;
|
|
1313
1313
|
}, import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
|
|
1314
1314
|
_id: string;
|
|
@@ -1342,7 +1342,7 @@ export declare const EscrowSchema: Schema<import("mongoose").Document<unknown, {
|
|
|
1342
1342
|
id: string;
|
|
1343
1343
|
}> | undefined;
|
|
1344
1344
|
isInit?: import("mongoose").SchemaDefinitionProperty<{
|
|
1345
|
-
<T extends "status" | "currency" | "
|
|
1345
|
+
<T extends "status" | "currency" | "accountId" | "createdAt" | "companyId" | "updatedAt" | "_id" | "contractId" | "totalAmount" | "disputeId" | "fundedAmount" | "releasedAmount" | "refundedAmount" | "availableBalance" | "transactions" | "platformFeePercentage" | "platformFeeAmount" | "disputeReason" | "disputeResolvedAt" | "stripePaymentIntentId">(path: T): boolean;
|
|
1346
1346
|
(path: string): boolean;
|
|
1347
1347
|
}, import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
|
|
1348
1348
|
_id: string;
|
|
@@ -1376,7 +1376,7 @@ export declare const EscrowSchema: Schema<import("mongoose").Document<unknown, {
|
|
|
1376
1376
|
id: string;
|
|
1377
1377
|
}> | undefined;
|
|
1378
1378
|
isModified?: import("mongoose").SchemaDefinitionProperty<{
|
|
1379
|
-
<T extends "status" | "currency" | "
|
|
1379
|
+
<T extends "status" | "currency" | "accountId" | "createdAt" | "companyId" | "updatedAt" | "_id" | "contractId" | "totalAmount" | "disputeId" | "fundedAmount" | "releasedAmount" | "refundedAmount" | "availableBalance" | "transactions" | "platformFeePercentage" | "platformFeeAmount" | "disputeReason" | "disputeResolvedAt" | "stripePaymentIntentId">(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 EscrowSchema: Schema<import("mongoose").Document<unknown, {
|
|
|
1445
1445
|
id: string;
|
|
1446
1446
|
}> | undefined;
|
|
1447
1447
|
isSelected?: import("mongoose").SchemaDefinitionProperty<{
|
|
1448
|
-
<T extends "status" | "currency" | "
|
|
1448
|
+
<T extends "status" | "currency" | "accountId" | "createdAt" | "companyId" | "updatedAt" | "_id" | "contractId" | "totalAmount" | "disputeId" | "fundedAmount" | "releasedAmount" | "refundedAmount" | "availableBalance" | "transactions" | "platformFeePercentage" | "platformFeeAmount" | "disputeReason" | "disputeResolvedAt" | "stripePaymentIntentId">(path: T): boolean;
|
|
1449
1449
|
(path: string): boolean;
|
|
1450
1450
|
}, import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
|
|
1451
1451
|
_id: string;
|
|
@@ -1479,7 +1479,7 @@ export declare const EscrowSchema: Schema<import("mongoose").Document<unknown, {
|
|
|
1479
1479
|
id: string;
|
|
1480
1480
|
}> | undefined;
|
|
1481
1481
|
markModified?: import("mongoose").SchemaDefinitionProperty<{
|
|
1482
|
-
<T extends "status" | "currency" | "
|
|
1482
|
+
<T extends "status" | "currency" | "accountId" | "createdAt" | "companyId" | "updatedAt" | "_id" | "contractId" | "totalAmount" | "disputeId" | "fundedAmount" | "releasedAmount" | "refundedAmount" | "availableBalance" | "transactions" | "platformFeePercentage" | "platformFeeAmount" | "disputeReason" | "disputeResolvedAt" | "stripePaymentIntentId">(path: T, scope?: any): void;
|
|
1483
1483
|
(path: string, scope?: any): void;
|
|
1484
1484
|
}, import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
|
|
1485
1485
|
_id: string;
|
|
@@ -1918,7 +1918,7 @@ export declare const EscrowSchema: Schema<import("mongoose").Document<unknown, {
|
|
|
1918
1918
|
id: string;
|
|
1919
1919
|
}> | undefined;
|
|
1920
1920
|
set?: import("mongoose").SchemaDefinitionProperty<{
|
|
1921
|
-
<T extends "status" | "currency" | "
|
|
1921
|
+
<T extends "status" | "currency" | "accountId" | "createdAt" | "companyId" | "updatedAt" | "_id" | "contractId" | "totalAmount" | "disputeId" | "fundedAmount" | "releasedAmount" | "refundedAmount" | "availableBalance" | "transactions" | "platformFeePercentage" | "platformFeeAmount" | "disputeReason" | "disputeResolvedAt" | "stripePaymentIntentId">(path: T, val: (Omit<IEscrow, "id"> & {
|
|
1922
1922
|
_id: string;
|
|
1923
1923
|
})[T], type: any, options?: import("mongoose").DocumentSetOptions): import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
|
|
1924
1924
|
_id: string;
|
|
@@ -2004,12 +2004,12 @@ export declare const EscrowSchema: Schema<import("mongoose").Document<unknown, {
|
|
|
2004
2004
|
}): {
|
|
2005
2005
|
status: EscrowStatus;
|
|
2006
2006
|
currency: string;
|
|
2007
|
-
|
|
2007
|
+
accountId: string;
|
|
2008
2008
|
createdAt: Date;
|
|
2009
|
+
companyId: string;
|
|
2009
2010
|
updatedAt: Date;
|
|
2010
2011
|
_id: string;
|
|
2011
2012
|
contractId: string;
|
|
2012
|
-
accountId: string;
|
|
2013
2013
|
totalAmount: number;
|
|
2014
2014
|
disputeId?: string | undefined;
|
|
2015
2015
|
fundedAmount: number;
|
|
@@ -2038,11 +2038,11 @@ export declare const EscrowSchema: Schema<import("mongoose").Document<unknown, {
|
|
|
2038
2038
|
}): {
|
|
2039
2039
|
status: EscrowStatus;
|
|
2040
2040
|
currency: string;
|
|
2041
|
-
|
|
2041
|
+
accountId: string;
|
|
2042
2042
|
createdAt: Date;
|
|
2043
|
+
companyId: string;
|
|
2043
2044
|
updatedAt: Date;
|
|
2044
2045
|
contractId: string;
|
|
2045
|
-
accountId: string;
|
|
2046
2046
|
totalAmount: number;
|
|
2047
2047
|
disputeId?: string | undefined;
|
|
2048
2048
|
fundedAmount: number;
|
|
@@ -2092,12 +2092,12 @@ export declare const EscrowSchema: Schema<import("mongoose").Document<unknown, {
|
|
|
2092
2092
|
}): {
|
|
2093
2093
|
status: EscrowStatus;
|
|
2094
2094
|
currency: string;
|
|
2095
|
-
|
|
2095
|
+
accountId: string;
|
|
2096
2096
|
createdAt: Date;
|
|
2097
|
+
companyId: string;
|
|
2097
2098
|
updatedAt: Date;
|
|
2098
2099
|
_id: string;
|
|
2099
2100
|
contractId: string;
|
|
2100
|
-
accountId: string;
|
|
2101
2101
|
totalAmount: number;
|
|
2102
2102
|
disputeId?: string | undefined;
|
|
2103
2103
|
fundedAmount: number;
|
|
@@ -2126,11 +2126,11 @@ export declare const EscrowSchema: Schema<import("mongoose").Document<unknown, {
|
|
|
2126
2126
|
}): {
|
|
2127
2127
|
status: EscrowStatus;
|
|
2128
2128
|
currency: string;
|
|
2129
|
-
|
|
2129
|
+
accountId: string;
|
|
2130
2130
|
createdAt: Date;
|
|
2131
|
+
companyId: string;
|
|
2131
2132
|
updatedAt: Date;
|
|
2132
2133
|
contractId: string;
|
|
2133
|
-
accountId: string;
|
|
2134
2134
|
totalAmount: number;
|
|
2135
2135
|
disputeId?: string | undefined;
|
|
2136
2136
|
fundedAmount: number;
|
|
@@ -2180,12 +2180,12 @@ export declare const EscrowSchema: Schema<import("mongoose").Document<unknown, {
|
|
|
2180
2180
|
}): {
|
|
2181
2181
|
status: EscrowStatus;
|
|
2182
2182
|
currency: string;
|
|
2183
|
-
|
|
2183
|
+
accountId: string;
|
|
2184
2184
|
createdAt: Date;
|
|
2185
|
+
companyId: string;
|
|
2185
2186
|
updatedAt: Date;
|
|
2186
2187
|
_id: string;
|
|
2187
2188
|
contractId: string;
|
|
2188
|
-
accountId: string;
|
|
2189
2189
|
totalAmount: number;
|
|
2190
2190
|
disputeId?: string | undefined;
|
|
2191
2191
|
fundedAmount: number;
|
|
@@ -2214,11 +2214,11 @@ export declare const EscrowSchema: Schema<import("mongoose").Document<unknown, {
|
|
|
2214
2214
|
}): {
|
|
2215
2215
|
status: EscrowStatus;
|
|
2216
2216
|
currency: string;
|
|
2217
|
-
|
|
2217
|
+
accountId: string;
|
|
2218
2218
|
createdAt: Date;
|
|
2219
|
+
companyId: string;
|
|
2219
2220
|
updatedAt: Date;
|
|
2220
2221
|
contractId: string;
|
|
2221
|
-
accountId: string;
|
|
2222
2222
|
totalAmount: number;
|
|
2223
2223
|
disputeId?: string | undefined;
|
|
2224
2224
|
fundedAmount: number;
|
|
@@ -2268,12 +2268,12 @@ export declare const EscrowSchema: Schema<import("mongoose").Document<unknown, {
|
|
|
2268
2268
|
}): {
|
|
2269
2269
|
status: EscrowStatus;
|
|
2270
2270
|
currency: string;
|
|
2271
|
-
|
|
2271
|
+
accountId: string;
|
|
2272
2272
|
createdAt: Date;
|
|
2273
|
+
companyId: string;
|
|
2273
2274
|
updatedAt: Date;
|
|
2274
2275
|
_id: string;
|
|
2275
2276
|
contractId: string;
|
|
2276
|
-
accountId: string;
|
|
2277
2277
|
totalAmount: number;
|
|
2278
2278
|
disputeId?: string | undefined;
|
|
2279
2279
|
fundedAmount: number;
|
|
@@ -2302,11 +2302,11 @@ export declare const EscrowSchema: Schema<import("mongoose").Document<unknown, {
|
|
|
2302
2302
|
}): {
|
|
2303
2303
|
status: EscrowStatus;
|
|
2304
2304
|
currency: string;
|
|
2305
|
-
|
|
2305
|
+
accountId: string;
|
|
2306
2306
|
createdAt: Date;
|
|
2307
|
+
companyId: string;
|
|
2307
2308
|
updatedAt: Date;
|
|
2308
2309
|
contractId: string;
|
|
2309
|
-
accountId: string;
|
|
2310
2310
|
totalAmount: number;
|
|
2311
2311
|
disputeId?: string | undefined;
|
|
2312
2312
|
fundedAmount: number;
|
|
@@ -2355,11 +2355,11 @@ export declare const EscrowSchema: Schema<import("mongoose").Document<unknown, {
|
|
|
2355
2355
|
}): {
|
|
2356
2356
|
status: EscrowStatus;
|
|
2357
2357
|
currency: string;
|
|
2358
|
-
|
|
2358
|
+
accountId: string;
|
|
2359
2359
|
createdAt: Date;
|
|
2360
|
+
companyId: string;
|
|
2360
2361
|
updatedAt: Date;
|
|
2361
2362
|
contractId: string;
|
|
2362
|
-
accountId: string;
|
|
2363
2363
|
totalAmount: number;
|
|
2364
2364
|
disputeId?: string | undefined;
|
|
2365
2365
|
fundedAmount: number;
|
|
@@ -2388,11 +2388,11 @@ export declare const EscrowSchema: Schema<import("mongoose").Document<unknown, {
|
|
|
2388
2388
|
}): {
|
|
2389
2389
|
status: EscrowStatus;
|
|
2390
2390
|
currency: string;
|
|
2391
|
-
|
|
2391
|
+
accountId: string;
|
|
2392
2392
|
createdAt: Date;
|
|
2393
|
+
companyId: string;
|
|
2393
2394
|
updatedAt: Date;
|
|
2394
2395
|
contractId: string;
|
|
2395
|
-
accountId: string;
|
|
2396
2396
|
totalAmount: number;
|
|
2397
2397
|
disputeId?: string | undefined;
|
|
2398
2398
|
fundedAmount: number;
|
|
@@ -2421,11 +2421,11 @@ export declare const EscrowSchema: Schema<import("mongoose").Document<unknown, {
|
|
|
2421
2421
|
}): {
|
|
2422
2422
|
status: EscrowStatus;
|
|
2423
2423
|
currency: string;
|
|
2424
|
-
|
|
2424
|
+
accountId: string;
|
|
2425
2425
|
createdAt: Date;
|
|
2426
|
+
companyId: string;
|
|
2426
2427
|
updatedAt: Date;
|
|
2427
2428
|
contractId: string;
|
|
2428
|
-
accountId: string;
|
|
2429
2429
|
totalAmount: number;
|
|
2430
2430
|
disputeId?: string | undefined;
|
|
2431
2431
|
fundedAmount: number;
|
|
@@ -2453,11 +2453,11 @@ export declare const EscrowSchema: Schema<import("mongoose").Document<unknown, {
|
|
|
2453
2453
|
}): {
|
|
2454
2454
|
status: EscrowStatus;
|
|
2455
2455
|
currency: string;
|
|
2456
|
-
|
|
2456
|
+
accountId: string;
|
|
2457
2457
|
createdAt: Date;
|
|
2458
|
+
companyId: string;
|
|
2458
2459
|
updatedAt: Date;
|
|
2459
2460
|
contractId: string;
|
|
2460
|
-
accountId: string;
|
|
2461
2461
|
totalAmount: number;
|
|
2462
2462
|
disputeId?: string | undefined;
|
|
2463
2463
|
fundedAmount: number;
|
|
@@ -2503,12 +2503,12 @@ export declare const EscrowSchema: Schema<import("mongoose").Document<unknown, {
|
|
|
2503
2503
|
}): {
|
|
2504
2504
|
status: EscrowStatus;
|
|
2505
2505
|
currency: string;
|
|
2506
|
-
|
|
2506
|
+
accountId: string;
|
|
2507
2507
|
createdAt: Date;
|
|
2508
|
+
companyId: string;
|
|
2508
2509
|
updatedAt: Date;
|
|
2509
2510
|
_id: string;
|
|
2510
2511
|
contractId: string;
|
|
2511
|
-
accountId: string;
|
|
2512
2512
|
totalAmount: number;
|
|
2513
2513
|
disputeId?: string | undefined;
|
|
2514
2514
|
fundedAmount: number;
|
|
@@ -2538,12 +2538,12 @@ export declare const EscrowSchema: Schema<import("mongoose").Document<unknown, {
|
|
|
2538
2538
|
}): {
|
|
2539
2539
|
status: EscrowStatus;
|
|
2540
2540
|
currency: string;
|
|
2541
|
-
|
|
2541
|
+
accountId: string;
|
|
2542
2542
|
createdAt: Date;
|
|
2543
|
+
companyId: string;
|
|
2543
2544
|
updatedAt: Date;
|
|
2544
2545
|
_id: string;
|
|
2545
2546
|
contractId: string;
|
|
2546
|
-
accountId: string;
|
|
2547
2547
|
totalAmount: number;
|
|
2548
2548
|
disputeId?: string | undefined;
|
|
2549
2549
|
fundedAmount: number;
|
|
@@ -2581,12 +2581,12 @@ export declare const EscrowSchema: Schema<import("mongoose").Document<unknown, {
|
|
|
2581
2581
|
}): {
|
|
2582
2582
|
status: EscrowStatus;
|
|
2583
2583
|
currency: string;
|
|
2584
|
-
|
|
2584
|
+
accountId: string;
|
|
2585
2585
|
createdAt: Date;
|
|
2586
|
+
companyId: string;
|
|
2586
2587
|
updatedAt: Date;
|
|
2587
2588
|
_id: string;
|
|
2588
2589
|
contractId: string;
|
|
2589
|
-
accountId: string;
|
|
2590
2590
|
totalAmount: number;
|
|
2591
2591
|
disputeId?: string | undefined;
|
|
2592
2592
|
fundedAmount: number;
|
|
@@ -2623,12 +2623,12 @@ export declare const EscrowSchema: Schema<import("mongoose").Document<unknown, {
|
|
|
2623
2623
|
}): {
|
|
2624
2624
|
status: EscrowStatus;
|
|
2625
2625
|
currency: string;
|
|
2626
|
-
|
|
2626
|
+
accountId: string;
|
|
2627
2627
|
createdAt: Date;
|
|
2628
|
+
companyId: string;
|
|
2628
2629
|
updatedAt: Date;
|
|
2629
2630
|
_id: string;
|
|
2630
2631
|
contractId: string;
|
|
2631
|
-
accountId: string;
|
|
2632
2632
|
totalAmount: number;
|
|
2633
2633
|
disputeId?: string | undefined;
|
|
2634
2634
|
fundedAmount: number;
|
|
@@ -2656,12 +2656,12 @@ export declare const EscrowSchema: Schema<import("mongoose").Document<unknown, {
|
|
|
2656
2656
|
}): {
|
|
2657
2657
|
status: EscrowStatus;
|
|
2658
2658
|
currency: string;
|
|
2659
|
-
|
|
2659
|
+
accountId: string;
|
|
2660
2660
|
createdAt: Date;
|
|
2661
|
+
companyId: string;
|
|
2661
2662
|
updatedAt: Date;
|
|
2662
2663
|
_id: string;
|
|
2663
2664
|
contractId: string;
|
|
2664
|
-
accountId: string;
|
|
2665
2665
|
totalAmount: number;
|
|
2666
2666
|
disputeId?: string | undefined;
|
|
2667
2667
|
fundedAmount: number;
|
|
@@ -2755,12 +2755,12 @@ export declare const EscrowSchema: Schema<import("mongoose").Document<unknown, {
|
|
|
2755
2755
|
}): {
|
|
2756
2756
|
status: EscrowStatus;
|
|
2757
2757
|
currency: string;
|
|
2758
|
-
|
|
2758
|
+
accountId: string;
|
|
2759
2759
|
createdAt: Date;
|
|
2760
|
+
companyId: string;
|
|
2760
2761
|
updatedAt: Date;
|
|
2761
2762
|
_id: string;
|
|
2762
2763
|
contractId: string;
|
|
2763
|
-
accountId: string;
|
|
2764
2764
|
totalAmount: number;
|
|
2765
2765
|
disputeId?: string | undefined;
|
|
2766
2766
|
fundedAmount: number;
|
|
@@ -2789,11 +2789,11 @@ export declare const EscrowSchema: Schema<import("mongoose").Document<unknown, {
|
|
|
2789
2789
|
}): {
|
|
2790
2790
|
status: EscrowStatus;
|
|
2791
2791
|
currency: string;
|
|
2792
|
-
|
|
2792
|
+
accountId: string;
|
|
2793
2793
|
createdAt: Date;
|
|
2794
|
+
companyId: string;
|
|
2794
2795
|
updatedAt: Date;
|
|
2795
2796
|
contractId: string;
|
|
2796
|
-
accountId: string;
|
|
2797
2797
|
totalAmount: number;
|
|
2798
2798
|
disputeId?: string | undefined;
|
|
2799
2799
|
fundedAmount: number;
|
|
@@ -2843,12 +2843,12 @@ export declare const EscrowSchema: Schema<import("mongoose").Document<unknown, {
|
|
|
2843
2843
|
}): {
|
|
2844
2844
|
status: EscrowStatus;
|
|
2845
2845
|
currency: string;
|
|
2846
|
-
|
|
2846
|
+
accountId: string;
|
|
2847
2847
|
createdAt: Date;
|
|
2848
|
+
companyId: string;
|
|
2848
2849
|
updatedAt: Date;
|
|
2849
2850
|
_id: string;
|
|
2850
2851
|
contractId: string;
|
|
2851
|
-
accountId: string;
|
|
2852
2852
|
totalAmount: number;
|
|
2853
2853
|
disputeId?: string | undefined;
|
|
2854
2854
|
fundedAmount: number;
|
|
@@ -2877,11 +2877,11 @@ export declare const EscrowSchema: Schema<import("mongoose").Document<unknown, {
|
|
|
2877
2877
|
}): {
|
|
2878
2878
|
status: EscrowStatus;
|
|
2879
2879
|
currency: string;
|
|
2880
|
-
|
|
2880
|
+
accountId: string;
|
|
2881
2881
|
createdAt: Date;
|
|
2882
|
+
companyId: string;
|
|
2882
2883
|
updatedAt: Date;
|
|
2883
2884
|
contractId: string;
|
|
2884
|
-
accountId: string;
|
|
2885
2885
|
totalAmount: number;
|
|
2886
2886
|
disputeId?: string | undefined;
|
|
2887
2887
|
fundedAmount: number;
|
|
@@ -2931,12 +2931,12 @@ export declare const EscrowSchema: Schema<import("mongoose").Document<unknown, {
|
|
|
2931
2931
|
}): {
|
|
2932
2932
|
status: EscrowStatus;
|
|
2933
2933
|
currency: string;
|
|
2934
|
-
|
|
2934
|
+
accountId: string;
|
|
2935
2935
|
createdAt: Date;
|
|
2936
|
+
companyId: string;
|
|
2936
2937
|
updatedAt: Date;
|
|
2937
2938
|
_id: string;
|
|
2938
2939
|
contractId: string;
|
|
2939
|
-
accountId: string;
|
|
2940
2940
|
totalAmount: number;
|
|
2941
2941
|
disputeId?: string | undefined;
|
|
2942
2942
|
fundedAmount: number;
|
|
@@ -2965,11 +2965,11 @@ export declare const EscrowSchema: Schema<import("mongoose").Document<unknown, {
|
|
|
2965
2965
|
}): {
|
|
2966
2966
|
status: EscrowStatus;
|
|
2967
2967
|
currency: string;
|
|
2968
|
-
|
|
2968
|
+
accountId: string;
|
|
2969
2969
|
createdAt: Date;
|
|
2970
|
+
companyId: string;
|
|
2970
2971
|
updatedAt: Date;
|
|
2971
2972
|
contractId: string;
|
|
2972
|
-
accountId: string;
|
|
2973
2973
|
totalAmount: number;
|
|
2974
2974
|
disputeId?: string | undefined;
|
|
2975
2975
|
fundedAmount: number;
|
|
@@ -3019,12 +3019,12 @@ export declare const EscrowSchema: Schema<import("mongoose").Document<unknown, {
|
|
|
3019
3019
|
}): {
|
|
3020
3020
|
status: EscrowStatus;
|
|
3021
3021
|
currency: string;
|
|
3022
|
-
|
|
3022
|
+
accountId: string;
|
|
3023
3023
|
createdAt: Date;
|
|
3024
|
+
companyId: string;
|
|
3024
3025
|
updatedAt: Date;
|
|
3025
3026
|
_id: string;
|
|
3026
3027
|
contractId: string;
|
|
3027
|
-
accountId: string;
|
|
3028
3028
|
totalAmount: number;
|
|
3029
3029
|
disputeId?: string | undefined;
|
|
3030
3030
|
fundedAmount: number;
|
|
@@ -3053,11 +3053,11 @@ export declare const EscrowSchema: Schema<import("mongoose").Document<unknown, {
|
|
|
3053
3053
|
}): {
|
|
3054
3054
|
status: EscrowStatus;
|
|
3055
3055
|
currency: string;
|
|
3056
|
-
|
|
3056
|
+
accountId: string;
|
|
3057
3057
|
createdAt: Date;
|
|
3058
|
+
companyId: string;
|
|
3058
3059
|
updatedAt: Date;
|
|
3059
3060
|
contractId: string;
|
|
3060
|
-
accountId: string;
|
|
3061
3061
|
totalAmount: number;
|
|
3062
3062
|
disputeId?: string | undefined;
|
|
3063
3063
|
fundedAmount: number;
|
|
@@ -3106,11 +3106,11 @@ export declare const EscrowSchema: Schema<import("mongoose").Document<unknown, {
|
|
|
3106
3106
|
}): {
|
|
3107
3107
|
status: EscrowStatus;
|
|
3108
3108
|
currency: string;
|
|
3109
|
-
|
|
3109
|
+
accountId: string;
|
|
3110
3110
|
createdAt: Date;
|
|
3111
|
+
companyId: string;
|
|
3111
3112
|
updatedAt: Date;
|
|
3112
3113
|
contractId: string;
|
|
3113
|
-
accountId: string;
|
|
3114
3114
|
totalAmount: number;
|
|
3115
3115
|
disputeId?: string | undefined;
|
|
3116
3116
|
fundedAmount: number;
|
|
@@ -3139,11 +3139,11 @@ export declare const EscrowSchema: Schema<import("mongoose").Document<unknown, {
|
|
|
3139
3139
|
}): {
|
|
3140
3140
|
status: EscrowStatus;
|
|
3141
3141
|
currency: string;
|
|
3142
|
-
|
|
3142
|
+
accountId: string;
|
|
3143
3143
|
createdAt: Date;
|
|
3144
|
+
companyId: string;
|
|
3144
3145
|
updatedAt: Date;
|
|
3145
3146
|
contractId: string;
|
|
3146
|
-
accountId: string;
|
|
3147
3147
|
totalAmount: number;
|
|
3148
3148
|
disputeId?: string | undefined;
|
|
3149
3149
|
fundedAmount: number;
|
|
@@ -3172,11 +3172,11 @@ export declare const EscrowSchema: Schema<import("mongoose").Document<unknown, {
|
|
|
3172
3172
|
}): {
|
|
3173
3173
|
status: EscrowStatus;
|
|
3174
3174
|
currency: string;
|
|
3175
|
-
|
|
3175
|
+
accountId: string;
|
|
3176
3176
|
createdAt: Date;
|
|
3177
|
+
companyId: string;
|
|
3177
3178
|
updatedAt: Date;
|
|
3178
3179
|
contractId: string;
|
|
3179
|
-
accountId: string;
|
|
3180
3180
|
totalAmount: number;
|
|
3181
3181
|
disputeId?: string | undefined;
|
|
3182
3182
|
fundedAmount: number;
|
|
@@ -3204,11 +3204,11 @@ export declare const EscrowSchema: Schema<import("mongoose").Document<unknown, {
|
|
|
3204
3204
|
}): {
|
|
3205
3205
|
status: EscrowStatus;
|
|
3206
3206
|
currency: string;
|
|
3207
|
-
|
|
3207
|
+
accountId: string;
|
|
3208
3208
|
createdAt: Date;
|
|
3209
|
+
companyId: string;
|
|
3209
3210
|
updatedAt: Date;
|
|
3210
3211
|
contractId: string;
|
|
3211
|
-
accountId: string;
|
|
3212
3212
|
totalAmount: number;
|
|
3213
3213
|
disputeId?: string | undefined;
|
|
3214
3214
|
fundedAmount: number;
|
|
@@ -3254,12 +3254,12 @@ export declare const EscrowSchema: Schema<import("mongoose").Document<unknown, {
|
|
|
3254
3254
|
}): {
|
|
3255
3255
|
status: EscrowStatus;
|
|
3256
3256
|
currency: string;
|
|
3257
|
-
|
|
3257
|
+
accountId: string;
|
|
3258
3258
|
createdAt: Date;
|
|
3259
|
+
companyId: string;
|
|
3259
3260
|
updatedAt: Date;
|
|
3260
3261
|
_id: string;
|
|
3261
3262
|
contractId: string;
|
|
3262
|
-
accountId: string;
|
|
3263
3263
|
totalAmount: number;
|
|
3264
3264
|
disputeId?: string | undefined;
|
|
3265
3265
|
fundedAmount: number;
|
|
@@ -3289,12 +3289,12 @@ export declare const EscrowSchema: Schema<import("mongoose").Document<unknown, {
|
|
|
3289
3289
|
}): {
|
|
3290
3290
|
status: EscrowStatus;
|
|
3291
3291
|
currency: string;
|
|
3292
|
-
|
|
3292
|
+
accountId: string;
|
|
3293
3293
|
createdAt: Date;
|
|
3294
|
+
companyId: string;
|
|
3294
3295
|
updatedAt: Date;
|
|
3295
3296
|
_id: string;
|
|
3296
3297
|
contractId: string;
|
|
3297
|
-
accountId: string;
|
|
3298
3298
|
totalAmount: number;
|
|
3299
3299
|
disputeId?: string | undefined;
|
|
3300
3300
|
fundedAmount: number;
|
|
@@ -3332,12 +3332,12 @@ export declare const EscrowSchema: Schema<import("mongoose").Document<unknown, {
|
|
|
3332
3332
|
}): {
|
|
3333
3333
|
status: EscrowStatus;
|
|
3334
3334
|
currency: string;
|
|
3335
|
-
|
|
3335
|
+
accountId: string;
|
|
3336
3336
|
createdAt: Date;
|
|
3337
|
+
companyId: string;
|
|
3337
3338
|
updatedAt: Date;
|
|
3338
3339
|
_id: string;
|
|
3339
3340
|
contractId: string;
|
|
3340
|
-
accountId: string;
|
|
3341
3341
|
totalAmount: number;
|
|
3342
3342
|
disputeId?: string | undefined;
|
|
3343
3343
|
fundedAmount: number;
|
|
@@ -3374,12 +3374,12 @@ export declare const EscrowSchema: Schema<import("mongoose").Document<unknown, {
|
|
|
3374
3374
|
}): {
|
|
3375
3375
|
status: EscrowStatus;
|
|
3376
3376
|
currency: string;
|
|
3377
|
-
|
|
3377
|
+
accountId: string;
|
|
3378
3378
|
createdAt: Date;
|
|
3379
|
+
companyId: string;
|
|
3379
3380
|
updatedAt: Date;
|
|
3380
3381
|
_id: string;
|
|
3381
3382
|
contractId: string;
|
|
3382
|
-
accountId: string;
|
|
3383
3383
|
totalAmount: number;
|
|
3384
3384
|
disputeId?: string | undefined;
|
|
3385
3385
|
fundedAmount: number;
|
|
@@ -3407,12 +3407,12 @@ export declare const EscrowSchema: Schema<import("mongoose").Document<unknown, {
|
|
|
3407
3407
|
}): {
|
|
3408
3408
|
status: EscrowStatus;
|
|
3409
3409
|
currency: string;
|
|
3410
|
-
|
|
3410
|
+
accountId: string;
|
|
3411
3411
|
createdAt: Date;
|
|
3412
|
+
companyId: string;
|
|
3412
3413
|
updatedAt: Date;
|
|
3413
3414
|
_id: string;
|
|
3414
3415
|
contractId: string;
|
|
3415
|
-
accountId: string;
|
|
3416
3416
|
totalAmount: number;
|
|
3417
3417
|
disputeId?: string | undefined;
|
|
3418
3418
|
fundedAmount: number;
|
|
@@ -3498,7 +3498,7 @@ export declare const EscrowSchema: Schema<import("mongoose").Document<unknown, {
|
|
|
3498
3498
|
id: string;
|
|
3499
3499
|
}> | undefined;
|
|
3500
3500
|
unmarkModified?: import("mongoose").SchemaDefinitionProperty<{
|
|
3501
|
-
<T extends "status" | "currency" | "
|
|
3501
|
+
<T extends "status" | "currency" | "accountId" | "createdAt" | "companyId" | "updatedAt" | "_id" | "contractId" | "totalAmount" | "disputeId" | "fundedAmount" | "releasedAmount" | "refundedAmount" | "availableBalance" | "transactions" | "platformFeePercentage" | "platformFeeAmount" | "disputeReason" | "disputeResolvedAt" | "stripePaymentIntentId">(path: T): void;
|
|
3502
3502
|
(path: string): void;
|
|
3503
3503
|
}, import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
|
|
3504
3504
|
_id: string;
|
|
@@ -3583,7 +3583,7 @@ export declare const EscrowSchema: Schema<import("mongoose").Document<unknown, {
|
|
|
3583
3583
|
id: string;
|
|
3584
3584
|
}> | undefined;
|
|
3585
3585
|
validate?: import("mongoose").SchemaDefinitionProperty<{
|
|
3586
|
-
<T extends "status" | "currency" | "
|
|
3586
|
+
<T extends "status" | "currency" | "accountId" | "createdAt" | "companyId" | "updatedAt" | "_id" | "contractId" | "totalAmount" | "disputeId" | "fundedAmount" | "releasedAmount" | "refundedAmount" | "availableBalance" | "transactions" | "platformFeePercentage" | "platformFeeAmount" | "disputeReason" | "disputeResolvedAt" | "stripePaymentIntentId">(pathsToValidate?: T | T[] | undefined, options?: import("mongoose").AnyObject): Promise<void>;
|
|
3587
3587
|
(pathsToValidate?: import("mongoose").pathsToValidate, options?: import("mongoose").AnyObject): Promise<void>;
|
|
3588
3588
|
(options: {
|
|
3589
3589
|
pathsToSkip?: import("mongoose").pathsToSkip;
|
|
@@ -3624,7 +3624,7 @@ export declare const EscrowSchema: Schema<import("mongoose").Document<unknown, {
|
|
|
3624
3624
|
pathsToSkip?: import("mongoose").pathsToSkip;
|
|
3625
3625
|
[k: string]: any;
|
|
3626
3626
|
}): import("mongoose").Error.ValidationError | null;
|
|
3627
|
-
<T extends "status" | "currency" | "
|
|
3627
|
+
<T extends "status" | "currency" | "accountId" | "createdAt" | "companyId" | "updatedAt" | "_id" | "contractId" | "totalAmount" | "disputeId" | "fundedAmount" | "releasedAmount" | "refundedAmount" | "availableBalance" | "transactions" | "platformFeePercentage" | "platformFeeAmount" | "disputeReason" | "disputeResolvedAt" | "stripePaymentIntentId">(pathsToValidate?: T | T[] | undefined, options?: import("mongoose").AnyObject): import("mongoose").Error.ValidationError | null;
|
|
3628
3628
|
(pathsToValidate?: import("mongoose").pathsToValidate, options?: import("mongoose").AnyObject): import("mongoose").Error.ValidationError | null;
|
|
3629
3629
|
}, import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
|
|
3630
3630
|
_id: string;
|
|
@@ -3719,7 +3719,7 @@ export declare const EscrowSchema: Schema<import("mongoose").Document<unknown, {
|
|
|
3719
3719
|
} & {
|
|
3720
3720
|
id: string;
|
|
3721
3721
|
}> | undefined;
|
|
3722
|
-
|
|
3722
|
+
accountId?: import("mongoose").SchemaDefinitionProperty<string, import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
|
|
3723
3723
|
_id: string;
|
|
3724
3724
|
}, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
|
|
3725
3725
|
_id: string;
|
|
@@ -3781,7 +3781,7 @@ export declare const EscrowSchema: Schema<import("mongoose").Document<unknown, {
|
|
|
3781
3781
|
} & {
|
|
3782
3782
|
id: string;
|
|
3783
3783
|
}> | undefined;
|
|
3784
|
-
|
|
3784
|
+
companyId?: import("mongoose").SchemaDefinitionProperty<string, import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
|
|
3785
3785
|
_id: string;
|
|
3786
3786
|
}, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
|
|
3787
3787
|
_id: string;
|
|
@@ -3812,7 +3812,7 @@ export declare const EscrowSchema: Schema<import("mongoose").Document<unknown, {
|
|
|
3812
3812
|
} & {
|
|
3813
3813
|
id: string;
|
|
3814
3814
|
}> | undefined;
|
|
3815
|
-
|
|
3815
|
+
updatedAt?: import("mongoose").SchemaDefinitionProperty<Date, import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
|
|
3816
3816
|
_id: string;
|
|
3817
3817
|
}, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
|
|
3818
3818
|
_id: string;
|
|
@@ -3843,7 +3843,7 @@ export declare const EscrowSchema: Schema<import("mongoose").Document<unknown, {
|
|
|
3843
3843
|
} & {
|
|
3844
3844
|
id: string;
|
|
3845
3845
|
}> | undefined;
|
|
3846
|
-
|
|
3846
|
+
contractId?: import("mongoose").SchemaDefinitionProperty<string, import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
|
|
3847
3847
|
_id: string;
|
|
3848
3848
|
}, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
|
|
3849
3849
|
_id: string;
|