@managesome/knotr-toolkit 0.8.6 → 0.8.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (71) hide show
  1. package/dist/backend/index.d.ts +2 -1
  2. package/dist/backend/index.d.ts.map +1 -1
  3. package/dist/backend/index.js +2 -0
  4. package/dist/backend/index.js.map +1 -1
  5. package/dist/backend/service-auth.d.ts +54 -0
  6. package/dist/backend/service-auth.d.ts.map +1 -0
  7. package/dist/backend/service-auth.js +142 -0
  8. package/dist/backend/service-auth.js.map +1 -0
  9. package/dist/schemas/account.schema.d.ts +7 -4331
  10. package/dist/schemas/account.schema.d.ts.map +1 -1
  11. package/dist/schemas/chat.schema.d.ts +13 -4660
  12. package/dist/schemas/chat.schema.d.ts.map +1 -1
  13. package/dist/schemas/collaboration-request.schema.d.ts +8 -3917
  14. package/dist/schemas/collaboration-request.schema.d.ts.map +1 -1
  15. package/dist/schemas/company-review.schema.d.ts +7 -3421
  16. package/dist/schemas/company-review.schema.d.ts.map +1 -1
  17. package/dist/schemas/company.schema.d.ts +8 -6108
  18. package/dist/schemas/company.schema.d.ts.map +1 -1
  19. package/dist/schemas/contract.schema.d.ts +7 -5241
  20. package/dist/schemas/contract.schema.d.ts.map +1 -1
  21. package/dist/schemas/dispute-evidence.schema.d.ts +8 -3747
  22. package/dist/schemas/dispute-evidence.schema.d.ts.map +1 -1
  23. package/dist/schemas/dispute.schema.d.ts +8 -4926
  24. package/dist/schemas/dispute.schema.d.ts.map +1 -1
  25. package/dist/schemas/donation.schema.d.ts +8 -3552
  26. package/dist/schemas/donation.schema.d.ts.map +1 -1
  27. package/dist/schemas/escrow.schema.d.ts +8 -4279
  28. package/dist/schemas/escrow.schema.d.ts.map +1 -1
  29. package/dist/schemas/flag.schema.d.ts +8 -4332
  30. package/dist/schemas/flag.schema.d.ts.map +1 -1
  31. package/dist/schemas/interest.schema.d.ts +7 -3811
  32. package/dist/schemas/interest.schema.d.ts.map +1 -1
  33. package/dist/schemas/match.schema.d.ts +7 -3941
  34. package/dist/schemas/match.schema.d.ts.map +1 -1
  35. package/dist/schemas/message.schema.d.ts +7 -4071
  36. package/dist/schemas/message.schema.d.ts.map +1 -1
  37. package/dist/schemas/milestone.schema.d.ts +8 -4267
  38. package/dist/schemas/milestone.schema.d.ts.map +1 -1
  39. package/dist/schemas/notification.schema.d.ts +8 -4595
  40. package/dist/schemas/notification.schema.d.ts.map +1 -1
  41. package/dist/schemas/profile.schema.d.ts +16 -9241
  42. package/dist/schemas/profile.schema.d.ts.map +1 -1
  43. package/dist/schemas/profit-share-agreement.schema.d.ts +7 -3746
  44. package/dist/schemas/profit-share-agreement.schema.d.ts.map +1 -1
  45. package/dist/schemas/profit-share.schema.d.ts +7 -4006
  46. package/dist/schemas/profit-share.schema.d.ts.map +1 -1
  47. package/dist/schemas/promo-code.schema.d.ts +7 -3876
  48. package/dist/schemas/promo-code.schema.d.ts.map +1 -1
  49. package/dist/schemas/proposal.schema.d.ts +8 -5139
  50. package/dist/schemas/proposal.schema.d.ts.map +1 -1
  51. package/dist/schemas/purchase.schema.d.ts +8 -3682
  52. package/dist/schemas/purchase.schema.d.ts.map +1 -1
  53. package/dist/schemas/requirement-post.schema.d.ts +8 -6272
  54. package/dist/schemas/requirement-post.schema.d.ts.map +1 -1
  55. package/dist/schemas/review.schema.d.ts +8 -4462
  56. package/dist/schemas/review.schema.d.ts.map +1 -1
  57. package/dist/schemas/service-listing.schema.d.ts +8 -5109
  58. package/dist/schemas/service-listing.schema.d.ts.map +1 -1
  59. package/dist/schemas/subscription.schema.d.ts +8 -3942
  60. package/dist/schemas/subscription.schema.d.ts.map +1 -1
  61. package/dist/schemas/tmc-application.schema.d.ts +8 -4316
  62. package/dist/schemas/tmc-application.schema.d.ts.map +1 -1
  63. package/dist/schemas/tmc-membership.schema.d.ts +8 -3942
  64. package/dist/schemas/tmc-membership.schema.d.ts.map +1 -1
  65. package/dist/schemas/trust-badge.schema.d.ts +7 -3876
  66. package/dist/schemas/trust-badge.schema.d.ts.map +1 -1
  67. package/dist/schemas/verification.schema.d.ts +8 -4564
  68. package/dist/schemas/verification.schema.d.ts.map +1 -1
  69. package/dist/schemas/webhook-event.schema.d.ts +7 -3489
  70. package/dist/schemas/webhook-event.schema.d.ts.map +1 -1
  71. package/package.json +1 -1
@@ -1,5 +1,5 @@
1
1
  import { HydratedDocument, Model, Schema } from 'mongoose';
2
- import { EscrowStatus, IEscrow, IEscrowTransaction } from '../types/marketplace.js';
2
+ import { IEscrow } from '../types/marketplace.js';
3
3
  export type EscrowDocument = HydratedDocument<Omit<IEscrow, 'id'> & {
4
4
  _id: string;
5
5
  }>;
@@ -13,4310 +13,39 @@ export interface EscrowModel extends Model<EscrowDocument> {
13
13
  export declare function createEscrowSchema(): Schema<EscrowDocument, EscrowModel>;
14
14
  export declare const EscrowSchema: Schema<import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
15
15
  _id: string;
16
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
16
+ }, {}, {}> & Omit<IEscrow, "id"> & {
17
17
  _id: string;
18
18
  } & Required<{
19
19
  _id: string;
20
20
  }> & {
21
21
  __v: number;
22
- } & {
23
- id: string;
24
22
  }, EscrowModel, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
25
23
  _id: string;
26
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
24
+ }, {}, {}> & Omit<IEscrow, "id"> & {
27
25
  _id: string;
28
26
  } & Required<{
29
27
  _id: string;
30
28
  }> & {
31
29
  __v: number;
32
- } & {
33
- id: string;
34
- }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
30
+ }, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
35
31
  _id: string;
36
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
32
+ }, {}, {}> & Omit<IEscrow, "id"> & {
37
33
  _id: string;
38
34
  } & Required<{
39
35
  _id: string;
40
36
  }> & {
41
37
  __v: number;
42
- } & {
43
- id: string;
44
- }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
38
+ }>, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").FlatRecord<import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
45
39
  _id: string;
46
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
40
+ }, {}, {}> & Omit<IEscrow, "id"> & {
47
41
  _id: string;
48
42
  } & Required<{
49
43
  _id: string;
50
44
  }> & {
51
45
  __v: number;
52
- } & {
53
- id: string;
54
- }, {
55
- _id?: import("mongoose").SchemaDefinitionProperty<string, import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
56
- _id: string;
57
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
58
- _id: string;
59
- } & Required<{
60
- _id: string;
61
- }> & {
62
- __v: number;
63
- } & {
64
- id: string;
65
- }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
66
- _id: string;
67
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
68
- _id: string;
69
- } & Required<{
70
- _id: string;
71
- }> & {
72
- __v: number;
73
- } & {
74
- id: string;
75
- }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
76
- _id: string;
77
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
78
- _id: string;
79
- } & Required<{
80
- _id: string;
81
- }> & {
82
- __v: number;
83
- } & {
84
- id: string;
85
- }> | undefined;
86
- $assertPopulated?: import("mongoose").SchemaDefinitionProperty<(<Paths = {}>(path: string | string[], values?: Partial<Paths> | undefined) => Omit<import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
87
- _id: string;
88
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
89
- _id: string;
90
- } & Required<{
91
- _id: string;
92
- }> & {
93
- __v: number;
94
- } & {
95
- id: string;
96
- }, keyof Paths> & Paths), import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
97
- _id: string;
98
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
99
- _id: string;
100
- } & Required<{
101
- _id: string;
102
- }> & {
103
- __v: number;
104
- } & {
105
- id: string;
106
- }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
107
- _id: string;
108
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
109
- _id: string;
110
- } & Required<{
111
- _id: string;
112
- }> & {
113
- __v: number;
114
- } & {
115
- id: string;
116
- }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
117
- _id: string;
118
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
119
- _id: string;
120
- } & Required<{
121
- _id: string;
122
- }> & {
123
- __v: number;
124
- } & {
125
- id: string;
126
- }> | undefined;
127
- $clearModifiedPaths?: import("mongoose").SchemaDefinitionProperty<() => import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
128
- _id: string;
129
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
130
- _id: string;
131
- } & Required<{
132
- _id: string;
133
- }> & {
134
- __v: number;
135
- } & {
136
- id: string;
137
- }, import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
138
- _id: string;
139
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
140
- _id: string;
141
- } & Required<{
142
- _id: string;
143
- }> & {
144
- __v: number;
145
- } & {
146
- id: string;
147
- }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
148
- _id: string;
149
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
150
- _id: string;
151
- } & Required<{
152
- _id: string;
153
- }> & {
154
- __v: number;
155
- } & {
156
- id: string;
157
- }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
158
- _id: string;
159
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
160
- _id: string;
161
- } & Required<{
162
- _id: string;
163
- }> & {
164
- __v: number;
165
- } & {
166
- id: string;
167
- }> | undefined;
168
- $clone?: import("mongoose").SchemaDefinitionProperty<() => import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
169
- _id: string;
170
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
171
- _id: string;
172
- } & Required<{
173
- _id: string;
174
- }> & {
175
- __v: number;
176
- } & {
177
- id: string;
178
- }, import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
179
- _id: string;
180
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
181
- _id: string;
182
- } & Required<{
183
- _id: string;
184
- }> & {
185
- __v: number;
186
- } & {
187
- id: string;
188
- }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
189
- _id: string;
190
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
191
- _id: string;
192
- } & Required<{
193
- _id: string;
194
- }> & {
195
- __v: number;
196
- } & {
197
- id: string;
198
- }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
199
- _id: string;
200
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
201
- _id: string;
202
- } & Required<{
203
- _id: string;
204
- }> & {
205
- __v: number;
206
- } & {
207
- id: string;
208
- }> | undefined;
209
- $createModifiedPathsSnapshot?: import("mongoose").SchemaDefinitionProperty<() => import("mongoose").ModifiedPathsSnapshot, import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
210
- _id: string;
211
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
212
- _id: string;
213
- } & Required<{
214
- _id: string;
215
- }> & {
216
- __v: number;
217
- } & {
218
- id: string;
219
- }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
220
- _id: string;
221
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
222
- _id: string;
223
- } & Required<{
224
- _id: string;
225
- }> & {
226
- __v: number;
227
- } & {
228
- id: string;
229
- }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
230
- _id: string;
231
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
232
- _id: string;
233
- } & Required<{
234
- _id: string;
235
- }> & {
236
- __v: number;
237
- } & {
238
- id: string;
239
- }> | undefined;
240
- $getAllSubdocs?: import("mongoose").SchemaDefinitionProperty<() => import("mongoose").Document[], import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
241
- _id: string;
242
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
243
- _id: string;
244
- } & Required<{
245
- _id: string;
246
- }> & {
247
- __v: number;
248
- } & {
249
- id: string;
250
- }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
251
- _id: string;
252
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
253
- _id: string;
254
- } & Required<{
255
- _id: string;
256
- }> & {
257
- __v: number;
258
- } & {
259
- id: string;
260
- }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
261
- _id: string;
262
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
263
- _id: string;
264
- } & Required<{
265
- _id: string;
266
- }> & {
267
- __v: number;
268
- } & {
269
- id: string;
270
- }> | undefined;
271
- $ignore?: import("mongoose").SchemaDefinitionProperty<(path: string) => void, import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
272
- _id: string;
273
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
274
- _id: string;
275
- } & Required<{
276
- _id: string;
277
- }> & {
278
- __v: number;
279
- } & {
280
- id: string;
281
- }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
282
- _id: string;
283
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
284
- _id: string;
285
- } & Required<{
286
- _id: string;
287
- }> & {
288
- __v: number;
289
- } & {
290
- id: string;
291
- }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
292
- _id: string;
293
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
294
- _id: string;
295
- } & Required<{
296
- _id: string;
297
- }> & {
298
- __v: number;
299
- } & {
300
- id: string;
301
- }> | undefined;
302
- $isDefault?: import("mongoose").SchemaDefinitionProperty<(path?: string) => boolean, import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
303
- _id: string;
304
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
305
- _id: string;
306
- } & Required<{
307
- _id: string;
308
- }> & {
309
- __v: number;
310
- } & {
311
- id: string;
312
- }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
313
- _id: string;
314
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
315
- _id: string;
316
- } & Required<{
317
- _id: string;
318
- }> & {
319
- __v: number;
320
- } & {
321
- id: string;
322
- }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
323
- _id: string;
324
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
325
- _id: string;
326
- } & Required<{
327
- _id: string;
328
- }> & {
329
- __v: number;
330
- } & {
331
- id: string;
332
- }> | undefined;
333
- $isDeleted?: import("mongoose").SchemaDefinitionProperty<(val?: boolean) => boolean, import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
334
- _id: string;
335
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
336
- _id: string;
337
- } & Required<{
338
- _id: string;
339
- }> & {
340
- __v: number;
341
- } & {
342
- id: string;
343
- }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
344
- _id: string;
345
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
346
- _id: string;
347
- } & Required<{
348
- _id: string;
349
- }> & {
350
- __v: number;
351
- } & {
352
- id: string;
353
- }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
354
- _id: string;
355
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
356
- _id: string;
357
- } & Required<{
358
- _id: string;
359
- }> & {
360
- __v: number;
361
- } & {
362
- id: string;
363
- }> | undefined;
364
- $getPopulatedDocs?: import("mongoose").SchemaDefinitionProperty<() => import("mongoose").Document[], import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
365
- _id: string;
366
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
367
- _id: string;
368
- } & Required<{
369
- _id: string;
370
- }> & {
371
- __v: number;
372
- } & {
373
- id: string;
374
- }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
375
- _id: string;
376
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
377
- _id: string;
378
- } & Required<{
379
- _id: string;
380
- }> & {
381
- __v: number;
382
- } & {
383
- id: string;
384
- }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
385
- _id: string;
386
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
387
- _id: string;
388
- } & Required<{
389
- _id: string;
390
- }> & {
391
- __v: number;
392
- } & {
393
- id: string;
394
- }> | undefined;
395
- $inc?: import("mongoose").SchemaDefinitionProperty<(path: string | string[], val?: number) => import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
396
- _id: string;
397
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
398
- _id: string;
399
- } & Required<{
400
- _id: string;
401
- }> & {
402
- __v: number;
403
- } & {
404
- id: string;
405
- }, import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
406
- _id: string;
407
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
408
- _id: string;
409
- } & Required<{
410
- _id: string;
411
- }> & {
412
- __v: number;
413
- } & {
414
- id: string;
415
- }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
416
- _id: string;
417
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
418
- _id: string;
419
- } & Required<{
420
- _id: string;
421
- }> & {
422
- __v: number;
423
- } & {
424
- id: string;
425
- }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
426
- _id: string;
427
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
428
- _id: string;
429
- } & Required<{
430
- _id: string;
431
- }> & {
432
- __v: number;
433
- } & {
434
- id: string;
435
- }> | undefined;
436
- $isEmpty?: import("mongoose").SchemaDefinitionProperty<(path: string) => boolean, import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
437
- _id: string;
438
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
439
- _id: string;
440
- } & Required<{
441
- _id: string;
442
- }> & {
443
- __v: number;
444
- } & {
445
- id: string;
446
- }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
447
- _id: string;
448
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
449
- _id: string;
450
- } & Required<{
451
- _id: string;
452
- }> & {
453
- __v: number;
454
- } & {
455
- id: string;
456
- }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
457
- _id: string;
458
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
459
- _id: string;
460
- } & Required<{
461
- _id: string;
462
- }> & {
463
- __v: number;
464
- } & {
465
- id: string;
466
- }> | undefined;
467
- $isValid?: import("mongoose").SchemaDefinitionProperty<(path: string) => boolean, import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
468
- _id: string;
469
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
470
- _id: string;
471
- } & Required<{
472
- _id: string;
473
- }> & {
474
- __v: number;
475
- } & {
476
- id: string;
477
- }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
478
- _id: string;
479
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
480
- _id: string;
481
- } & Required<{
482
- _id: string;
483
- }> & {
484
- __v: number;
485
- } & {
486
- id: string;
487
- }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
488
- _id: string;
489
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
490
- _id: string;
491
- } & Required<{
492
- _id: string;
493
- }> & {
494
- __v: number;
495
- } & {
496
- id: string;
497
- }> | undefined;
498
- $locals?: import("mongoose").SchemaDefinitionProperty<Record<string, unknown>, import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
499
- _id: string;
500
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
501
- _id: string;
502
- } & Required<{
503
- _id: string;
504
- }> & {
505
- __v: number;
506
- } & {
507
- id: string;
508
- }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
509
- _id: string;
510
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
511
- _id: string;
512
- } & Required<{
513
- _id: string;
514
- }> & {
515
- __v: number;
516
- } & {
517
- id: string;
518
- }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
519
- _id: string;
520
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
521
- _id: string;
522
- } & Required<{
523
- _id: string;
524
- }> & {
525
- __v: number;
526
- } & {
527
- id: string;
528
- }> | undefined;
529
- $markValid?: import("mongoose").SchemaDefinitionProperty<(path: string) => void, import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
530
- _id: string;
531
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
532
- _id: string;
533
- } & Required<{
534
- _id: string;
535
- }> & {
536
- __v: number;
537
- } & {
538
- id: string;
539
- }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
540
- _id: string;
541
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
542
- _id: string;
543
- } & Required<{
544
- _id: string;
545
- }> & {
546
- __v: number;
547
- } & {
548
- id: string;
549
- }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
550
- _id: string;
551
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
552
- _id: string;
553
- } & Required<{
554
- _id: string;
555
- }> & {
556
- __v: number;
557
- } & {
558
- id: string;
559
- }> | undefined;
560
- $model?: import("mongoose").SchemaDefinitionProperty<{
561
- <ModelType = Model<unknown, {}, {}, {}, import("mongoose").Document<unknown, {}, unknown, {}, import("mongoose").DefaultSchemaOptions> & {
562
- _id: import("mongoose").Types.ObjectId;
563
- } & {
564
- __v: number;
565
- } & {
566
- id: string;
567
- }, any, unknown>>(name: string): ModelType;
568
- <ModelType = Model<Omit<IEscrow, "id"> & {
569
- _id: string;
570
- }, {}, {}, {}, import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
571
- _id: string;
572
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
573
- _id: string;
574
- } & Required<{
575
- _id: string;
576
- }> & {
577
- __v: number;
578
- } & {
579
- id: string;
580
- }, any, Omit<IEscrow, "id"> & {
581
- _id: string;
582
- }>>(): ModelType;
583
- }, import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
584
- _id: string;
585
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
586
- _id: string;
587
- } & Required<{
588
- _id: string;
589
- }> & {
590
- __v: number;
591
- } & {
592
- id: string;
593
- }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
594
- _id: string;
595
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
596
- _id: string;
597
- } & Required<{
598
- _id: string;
599
- }> & {
600
- __v: number;
601
- } & {
602
- id: string;
603
- }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
604
- _id: string;
605
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
606
- _id: string;
607
- } & Required<{
608
- _id: string;
609
- }> & {
610
- __v: number;
611
- } & {
612
- id: string;
613
- }> | undefined;
614
- $op?: import("mongoose").SchemaDefinitionProperty<"save" | "validate" | "remove" | null, import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
615
- _id: string;
616
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
617
- _id: string;
618
- } & Required<{
619
- _id: string;
620
- }> & {
621
- __v: number;
622
- } & {
623
- id: string;
624
- }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
625
- _id: string;
626
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
627
- _id: string;
628
- } & Required<{
629
- _id: string;
630
- }> & {
631
- __v: number;
632
- } & {
633
- id: string;
634
- }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
635
- _id: string;
636
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
637
- _id: string;
638
- } & Required<{
639
- _id: string;
640
- }> & {
641
- __v: number;
642
- } & {
643
- id: string;
644
- }> | undefined;
645
- $restoreModifiedPathsSnapshot?: import("mongoose").SchemaDefinitionProperty<(snapshot: import("mongoose").ModifiedPathsSnapshot) => import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
646
- _id: string;
647
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
648
- _id: string;
649
- } & Required<{
650
- _id: string;
651
- }> & {
652
- __v: number;
653
- } & {
654
- id: string;
655
- }, import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
656
- _id: string;
657
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
658
- _id: string;
659
- } & Required<{
660
- _id: string;
661
- }> & {
662
- __v: number;
663
- } & {
664
- id: string;
665
- }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
666
- _id: string;
667
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
668
- _id: string;
669
- } & Required<{
670
- _id: string;
671
- }> & {
672
- __v: number;
673
- } & {
674
- id: string;
675
- }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
676
- _id: string;
677
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
678
- _id: string;
679
- } & Required<{
680
- _id: string;
681
- }> & {
682
- __v: number;
683
- } & {
684
- id: string;
685
- }> | undefined;
686
- $session?: import("mongoose").SchemaDefinitionProperty<(session?: import("mongoose").ClientSession | null) => import("mongoose").ClientSession | null, import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
687
- _id: string;
688
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
689
- _id: string;
690
- } & Required<{
691
- _id: string;
692
- }> & {
693
- __v: number;
694
- } & {
695
- id: string;
696
- }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
697
- _id: string;
698
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
699
- _id: string;
700
- } & Required<{
701
- _id: string;
702
- }> & {
703
- __v: number;
704
- } & {
705
- id: string;
706
- }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
707
- _id: string;
708
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
709
- _id: string;
710
- } & Required<{
711
- _id: string;
712
- }> & {
713
- __v: number;
714
- } & {
715
- id: string;
716
- }> | undefined;
717
- $set?: import("mongoose").SchemaDefinitionProperty<{
718
- (path: string | Record<string, any>, val: any, type: any, options?: import("mongoose").DocumentSetOptions): import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
719
- _id: string;
720
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
721
- _id: string;
722
- } & Required<{
723
- _id: string;
724
- }> & {
725
- __v: number;
726
- } & {
727
- id: string;
728
- };
729
- (path: string | Record<string, any>, val: any, options?: import("mongoose").DocumentSetOptions): import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
730
- _id: string;
731
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
732
- _id: string;
733
- } & Required<{
734
- _id: string;
735
- }> & {
736
- __v: number;
737
- } & {
738
- id: string;
739
- };
740
- (value: string | Record<string, any>): import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
741
- _id: string;
742
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
743
- _id: string;
744
- } & Required<{
745
- _id: string;
746
- }> & {
747
- __v: number;
748
- } & {
749
- id: string;
750
- };
751
- }, import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
752
- _id: string;
753
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
754
- _id: string;
755
- } & Required<{
756
- _id: string;
757
- }> & {
758
- __v: number;
759
- } & {
760
- id: string;
761
- }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
762
- _id: string;
763
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
764
- _id: string;
765
- } & Required<{
766
- _id: string;
767
- }> & {
768
- __v: number;
769
- } & {
770
- id: string;
771
- }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
772
- _id: string;
773
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
774
- _id: string;
775
- } & Required<{
776
- _id: string;
777
- }> & {
778
- __v: number;
779
- } & {
780
- id: string;
781
- }> | undefined;
782
- $where?: import("mongoose").SchemaDefinitionProperty<Record<string, unknown>, import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
783
- _id: string;
784
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
785
- _id: string;
786
- } & Required<{
787
- _id: string;
788
- }> & {
789
- __v: number;
790
- } & {
791
- id: string;
792
- }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
793
- _id: string;
794
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
795
- _id: string;
796
- } & Required<{
797
- _id: string;
798
- }> & {
799
- __v: number;
800
- } & {
801
- id: string;
802
- }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
803
- _id: string;
804
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
805
- _id: string;
806
- } & Required<{
807
- _id: string;
808
- }> & {
809
- __v: number;
810
- } & {
811
- id: string;
812
- }> | undefined;
813
- baseModelName?: import("mongoose").SchemaDefinitionProperty<string | undefined, import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
814
- _id: string;
815
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
816
- _id: string;
817
- } & Required<{
818
- _id: string;
819
- }> & {
820
- __v: number;
821
- } & {
822
- id: string;
823
- }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
824
- _id: string;
825
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
826
- _id: string;
827
- } & Required<{
828
- _id: string;
829
- }> & {
830
- __v: number;
831
- } & {
832
- id: string;
833
- }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
834
- _id: string;
835
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
836
- _id: string;
837
- } & Required<{
838
- _id: string;
839
- }> & {
840
- __v: number;
841
- } & {
842
- id: string;
843
- }> | undefined;
844
- collection?: import("mongoose").SchemaDefinitionProperty<import("mongoose").Collection<import("bson").Document>, import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
845
- _id: string;
846
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
847
- _id: string;
848
- } & Required<{
849
- _id: string;
850
- }> & {
851
- __v: number;
852
- } & {
853
- id: string;
854
- }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
855
- _id: string;
856
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
857
- _id: string;
858
- } & Required<{
859
- _id: string;
860
- }> & {
861
- __v: number;
862
- } & {
863
- id: string;
864
- }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
865
- _id: string;
866
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
867
- _id: string;
868
- } & Required<{
869
- _id: string;
870
- }> & {
871
- __v: number;
872
- } & {
873
- id: string;
874
- }> | undefined;
875
- db?: import("mongoose").SchemaDefinitionProperty<import("mongoose").Connection, import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
876
- _id: string;
877
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
878
- _id: string;
879
- } & Required<{
880
- _id: string;
881
- }> & {
882
- __v: number;
883
- } & {
884
- id: string;
885
- }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
886
- _id: string;
887
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
888
- _id: string;
889
- } & Required<{
890
- _id: string;
891
- }> & {
892
- __v: number;
893
- } & {
894
- id: string;
895
- }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
896
- _id: string;
897
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
898
- _id: string;
899
- } & Required<{
900
- _id: string;
901
- }> & {
902
- __v: number;
903
- } & {
904
- id: string;
905
- }> | undefined;
906
- deleteOne?: import("mongoose").SchemaDefinitionProperty<(options?: import("mongoose").QueryOptions) => import("mongoose").Query<import("mongodb").DeleteResult, import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
907
- _id: string;
908
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
909
- _id: string;
910
- } & Required<{
911
- _id: string;
912
- }> & {
913
- __v: number;
914
- } & {
915
- id: string;
916
- }, {}, Omit<IEscrow, "id"> & {
917
- _id: string;
918
- }, "deleteOne", Record<string, never>>, import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
919
- _id: string;
920
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
921
- _id: string;
922
- } & Required<{
923
- _id: string;
924
- }> & {
925
- __v: number;
926
- } & {
927
- id: string;
928
- }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
929
- _id: string;
930
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
931
- _id: string;
932
- } & Required<{
933
- _id: string;
934
- }> & {
935
- __v: number;
936
- } & {
937
- id: string;
938
- }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
939
- _id: string;
940
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
941
- _id: string;
942
- } & Required<{
943
- _id: string;
944
- }> & {
945
- __v: number;
946
- } & {
947
- id: string;
948
- }> | undefined;
949
- depopulate?: import("mongoose").SchemaDefinitionProperty<(<Paths = {}>(path?: string | string[]) => import("mongoose").MergeType<import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
950
- _id: string;
951
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
952
- _id: string;
953
- } & Required<{
954
- _id: string;
955
- }> & {
956
- __v: number;
957
- } & {
958
- id: string;
959
- }, Paths>), import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
960
- _id: string;
961
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
962
- _id: string;
963
- } & Required<{
964
- _id: string;
965
- }> & {
966
- __v: number;
967
- } & {
968
- id: string;
969
- }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
970
- _id: string;
971
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
972
- _id: string;
973
- } & Required<{
974
- _id: string;
975
- }> & {
976
- __v: number;
977
- } & {
978
- id: string;
979
- }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
980
- _id: string;
981
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
982
- _id: string;
983
- } & Required<{
984
- _id: string;
985
- }> & {
986
- __v: number;
987
- } & {
988
- id: string;
989
- }> | undefined;
990
- directModifiedPaths?: import("mongoose").SchemaDefinitionProperty<() => Array<string>, import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
991
- _id: string;
992
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
993
- _id: string;
994
- } & Required<{
995
- _id: string;
996
- }> & {
997
- __v: number;
998
- } & {
999
- id: string;
1000
- }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
1001
- _id: string;
1002
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
1003
- _id: string;
1004
- } & Required<{
1005
- _id: string;
1006
- }> & {
1007
- __v: number;
1008
- } & {
1009
- id: string;
1010
- }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
1011
- _id: string;
1012
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
1013
- _id: string;
1014
- } & Required<{
1015
- _id: string;
1016
- }> & {
1017
- __v: number;
1018
- } & {
1019
- id: string;
1020
- }> | undefined;
1021
- equals?: import("mongoose").SchemaDefinitionProperty<(doc: import("mongoose").Document<unknown, any, any, Record<string, any>, {}>) => boolean, import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
1022
- _id: string;
1023
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
1024
- _id: string;
1025
- } & Required<{
1026
- _id: string;
1027
- }> & {
1028
- __v: number;
1029
- } & {
1030
- id: string;
1031
- }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
1032
- _id: string;
1033
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
1034
- _id: string;
1035
- } & Required<{
1036
- _id: string;
1037
- }> & {
1038
- __v: number;
1039
- } & {
1040
- id: string;
1041
- }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
1042
- _id: string;
1043
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
1044
- _id: string;
1045
- } & Required<{
1046
- _id: string;
1047
- }> & {
1048
- __v: number;
1049
- } & {
1050
- id: string;
1051
- }> | undefined;
1052
- errors?: import("mongoose").SchemaDefinitionProperty<import("mongoose").Error.ValidationError | undefined, import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
1053
- _id: string;
1054
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
1055
- _id: string;
1056
- } & Required<{
1057
- _id: string;
1058
- }> & {
1059
- __v: number;
1060
- } & {
1061
- id: string;
1062
- }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
1063
- _id: string;
1064
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
1065
- _id: string;
1066
- } & Required<{
1067
- _id: string;
1068
- }> & {
1069
- __v: number;
1070
- } & {
1071
- id: string;
1072
- }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
1073
- _id: string;
1074
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
1075
- _id: string;
1076
- } & Required<{
1077
- _id: string;
1078
- }> & {
1079
- __v: number;
1080
- } & {
1081
- id: string;
1082
- }> | undefined;
1083
- get?: import("mongoose").SchemaDefinitionProperty<{
1084
- <T extends "status" | "currency" | "companyId" | "createdAt" | "updatedAt" | "_id" | "accountId" | "totalAmount" | "disputeId" | "contractId" | "fundedAmount" | "releasedAmount" | "refundedAmount" | "availableBalance" | "transactions" | "platformFeePercentage" | "platformFeeAmount" | "disputeReason" | "disputeResolvedAt" | "stripePaymentIntentId">(path: T, type?: any, options?: any): (Omit<IEscrow, "id"> & {
1085
- _id: string;
1086
- })[T];
1087
- (path: string, type?: any, options?: any): any;
1088
- }, import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
1089
- _id: string;
1090
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
1091
- _id: string;
1092
- } & Required<{
1093
- _id: string;
1094
- }> & {
1095
- __v: number;
1096
- } & {
1097
- id: string;
1098
- }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
1099
- _id: string;
1100
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
1101
- _id: string;
1102
- } & Required<{
1103
- _id: string;
1104
- }> & {
1105
- __v: number;
1106
- } & {
1107
- id: string;
1108
- }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
1109
- _id: string;
1110
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
1111
- _id: string;
1112
- } & Required<{
1113
- _id: string;
1114
- }> & {
1115
- __v: number;
1116
- } & {
1117
- id: string;
1118
- }> | undefined;
1119
- getChanges?: import("mongoose").SchemaDefinitionProperty<() => import("mongoose").UpdateQuery<import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
1120
- _id: string;
1121
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
1122
- _id: string;
1123
- } & Required<{
1124
- _id: string;
1125
- }> & {
1126
- __v: number;
1127
- } & {
1128
- id: string;
1129
- }>, import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
1130
- _id: string;
1131
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
1132
- _id: string;
1133
- } & Required<{
1134
- _id: string;
1135
- }> & {
1136
- __v: number;
1137
- } & {
1138
- id: string;
1139
- }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
1140
- _id: string;
1141
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
1142
- _id: string;
1143
- } & Required<{
1144
- _id: string;
1145
- }> & {
1146
- __v: number;
1147
- } & {
1148
- id: string;
1149
- }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
1150
- _id: string;
1151
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
1152
- _id: string;
1153
- } & Required<{
1154
- _id: string;
1155
- }> & {
1156
- __v: number;
1157
- } & {
1158
- id: string;
1159
- }> | undefined;
1160
- increment?: import("mongoose").SchemaDefinitionProperty<() => import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
1161
- _id: string;
1162
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
1163
- _id: string;
1164
- } & Required<{
1165
- _id: string;
1166
- }> & {
1167
- __v: number;
1168
- } & {
1169
- id: string;
1170
- }, import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
1171
- _id: string;
1172
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
1173
- _id: string;
1174
- } & Required<{
1175
- _id: string;
1176
- }> & {
1177
- __v: number;
1178
- } & {
1179
- id: string;
1180
- }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
1181
- _id: string;
1182
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
1183
- _id: string;
1184
- } & Required<{
1185
- _id: string;
1186
- }> & {
1187
- __v: number;
1188
- } & {
1189
- id: string;
1190
- }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
1191
- _id: string;
1192
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
1193
- _id: string;
1194
- } & Required<{
1195
- _id: string;
1196
- }> & {
1197
- __v: number;
1198
- } & {
1199
- id: string;
1200
- }> | undefined;
1201
- init?: import("mongoose").SchemaDefinitionProperty<(obj: import("mongoose").AnyObject, opts?: import("mongoose").AnyObject) => import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
1202
- _id: string;
1203
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
1204
- _id: string;
1205
- } & Required<{
1206
- _id: string;
1207
- }> & {
1208
- __v: number;
1209
- } & {
1210
- id: string;
1211
- }, import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
1212
- _id: string;
1213
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
1214
- _id: string;
1215
- } & Required<{
1216
- _id: string;
1217
- }> & {
1218
- __v: number;
1219
- } & {
1220
- id: string;
1221
- }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
1222
- _id: string;
1223
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
1224
- _id: string;
1225
- } & Required<{
1226
- _id: string;
1227
- }> & {
1228
- __v: number;
1229
- } & {
1230
- id: string;
1231
- }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
1232
- _id: string;
1233
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
1234
- _id: string;
1235
- } & Required<{
1236
- _id: string;
1237
- }> & {
1238
- __v: number;
1239
- } & {
1240
- id: string;
1241
- }> | undefined;
1242
- invalidate?: import("mongoose").SchemaDefinitionProperty<{
1243
- <T extends "status" | "currency" | "companyId" | "createdAt" | "updatedAt" | "_id" | "accountId" | "totalAmount" | "disputeId" | "contractId" | "fundedAmount" | "releasedAmount" | "refundedAmount" | "availableBalance" | "transactions" | "platformFeePercentage" | "platformFeeAmount" | "disputeReason" | "disputeResolvedAt" | "stripePaymentIntentId">(path: T, errorMsg: string | NativeError, value?: any, kind?: string): NativeError | null;
1244
- (path: string, errorMsg: string | NativeError, value?: any, kind?: string): NativeError | null;
1245
- }, import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
1246
- _id: string;
1247
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
1248
- _id: string;
1249
- } & Required<{
1250
- _id: string;
1251
- }> & {
1252
- __v: number;
1253
- } & {
1254
- id: string;
1255
- }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
1256
- _id: string;
1257
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
1258
- _id: string;
1259
- } & Required<{
1260
- _id: string;
1261
- }> & {
1262
- __v: number;
1263
- } & {
1264
- id: string;
1265
- }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
1266
- _id: string;
1267
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
1268
- _id: string;
1269
- } & Required<{
1270
- _id: string;
1271
- }> & {
1272
- __v: number;
1273
- } & {
1274
- id: string;
1275
- }> | undefined;
1276
- isDirectModified?: import("mongoose").SchemaDefinitionProperty<{
1277
- <T extends "status" | "currency" | "companyId" | "createdAt" | "updatedAt" | "_id" | "accountId" | "totalAmount" | "disputeId" | "contractId" | "fundedAmount" | "releasedAmount" | "refundedAmount" | "availableBalance" | "transactions" | "platformFeePercentage" | "platformFeeAmount" | "disputeReason" | "disputeResolvedAt" | "stripePaymentIntentId">(path: T | T[]): boolean;
1278
- (path: string | Array<string>): boolean;
1279
- }, import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
1280
- _id: string;
1281
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
1282
- _id: string;
1283
- } & Required<{
1284
- _id: string;
1285
- }> & {
1286
- __v: number;
1287
- } & {
1288
- id: string;
1289
- }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
1290
- _id: string;
1291
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
1292
- _id: string;
1293
- } & Required<{
1294
- _id: string;
1295
- }> & {
1296
- __v: number;
1297
- } & {
1298
- id: string;
1299
- }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
1300
- _id: string;
1301
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
1302
- _id: string;
1303
- } & Required<{
1304
- _id: string;
1305
- }> & {
1306
- __v: number;
1307
- } & {
1308
- id: string;
1309
- }> | undefined;
1310
- isDirectSelected?: import("mongoose").SchemaDefinitionProperty<{
1311
- <T extends "status" | "currency" | "companyId" | "createdAt" | "updatedAt" | "_id" | "accountId" | "totalAmount" | "disputeId" | "contractId" | "fundedAmount" | "releasedAmount" | "refundedAmount" | "availableBalance" | "transactions" | "platformFeePercentage" | "platformFeeAmount" | "disputeReason" | "disputeResolvedAt" | "stripePaymentIntentId">(path: T): boolean;
1312
- (path: string): boolean;
1313
- }, import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
1314
- _id: string;
1315
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
1316
- _id: string;
1317
- } & Required<{
1318
- _id: string;
1319
- }> & {
1320
- __v: number;
1321
- } & {
1322
- id: string;
1323
- }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
1324
- _id: string;
1325
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
1326
- _id: string;
1327
- } & Required<{
1328
- _id: string;
1329
- }> & {
1330
- __v: number;
1331
- } & {
1332
- id: string;
1333
- }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
1334
- _id: string;
1335
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
1336
- _id: string;
1337
- } & Required<{
1338
- _id: string;
1339
- }> & {
1340
- __v: number;
1341
- } & {
1342
- id: string;
1343
- }> | undefined;
1344
- isInit?: import("mongoose").SchemaDefinitionProperty<{
1345
- <T extends "status" | "currency" | "companyId" | "createdAt" | "updatedAt" | "_id" | "accountId" | "totalAmount" | "disputeId" | "contractId" | "fundedAmount" | "releasedAmount" | "refundedAmount" | "availableBalance" | "transactions" | "platformFeePercentage" | "platformFeeAmount" | "disputeReason" | "disputeResolvedAt" | "stripePaymentIntentId">(path: T): boolean;
1346
- (path: string): boolean;
1347
- }, import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
1348
- _id: string;
1349
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
1350
- _id: string;
1351
- } & Required<{
1352
- _id: string;
1353
- }> & {
1354
- __v: number;
1355
- } & {
1356
- id: string;
1357
- }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
1358
- _id: string;
1359
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
1360
- _id: string;
1361
- } & Required<{
1362
- _id: string;
1363
- }> & {
1364
- __v: number;
1365
- } & {
1366
- id: string;
1367
- }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
1368
- _id: string;
1369
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
1370
- _id: string;
1371
- } & Required<{
1372
- _id: string;
1373
- }> & {
1374
- __v: number;
1375
- } & {
1376
- id: string;
1377
- }> | undefined;
1378
- isModified?: import("mongoose").SchemaDefinitionProperty<{
1379
- <T extends "status" | "currency" | "companyId" | "createdAt" | "updatedAt" | "_id" | "accountId" | "totalAmount" | "disputeId" | "contractId" | "fundedAmount" | "releasedAmount" | "refundedAmount" | "availableBalance" | "transactions" | "platformFeePercentage" | "platformFeeAmount" | "disputeReason" | "disputeResolvedAt" | "stripePaymentIntentId">(path?: T | T[] | undefined, options?: {
1380
- ignoreAtomics?: boolean;
1381
- } | null): boolean;
1382
- (path?: string | Array<string>, options?: {
1383
- ignoreAtomics?: boolean;
1384
- } | null): boolean;
1385
- }, import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
1386
- _id: string;
1387
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
1388
- _id: string;
1389
- } & Required<{
1390
- _id: string;
1391
- }> & {
1392
- __v: number;
1393
- } & {
1394
- id: string;
1395
- }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
1396
- _id: string;
1397
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
1398
- _id: string;
1399
- } & Required<{
1400
- _id: string;
1401
- }> & {
1402
- __v: number;
1403
- } & {
1404
- id: string;
1405
- }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
1406
- _id: string;
1407
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
1408
- _id: string;
1409
- } & Required<{
1410
- _id: string;
1411
- }> & {
1412
- __v: number;
1413
- } & {
1414
- id: string;
1415
- }> | undefined;
1416
- isNew?: import("mongoose").SchemaDefinitionProperty<boolean, import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
1417
- _id: string;
1418
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
1419
- _id: string;
1420
- } & Required<{
1421
- _id: string;
1422
- }> & {
1423
- __v: number;
1424
- } & {
1425
- id: string;
1426
- }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
1427
- _id: string;
1428
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
1429
- _id: string;
1430
- } & Required<{
1431
- _id: string;
1432
- }> & {
1433
- __v: number;
1434
- } & {
1435
- id: string;
1436
- }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
1437
- _id: string;
1438
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
1439
- _id: string;
1440
- } & Required<{
1441
- _id: string;
1442
- }> & {
1443
- __v: number;
1444
- } & {
1445
- id: string;
1446
- }> | undefined;
1447
- isSelected?: import("mongoose").SchemaDefinitionProperty<{
1448
- <T extends "status" | "currency" | "companyId" | "createdAt" | "updatedAt" | "_id" | "accountId" | "totalAmount" | "disputeId" | "contractId" | "fundedAmount" | "releasedAmount" | "refundedAmount" | "availableBalance" | "transactions" | "platformFeePercentage" | "platformFeeAmount" | "disputeReason" | "disputeResolvedAt" | "stripePaymentIntentId">(path: T): boolean;
1449
- (path: string): boolean;
1450
- }, import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
1451
- _id: string;
1452
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
1453
- _id: string;
1454
- } & Required<{
1455
- _id: string;
1456
- }> & {
1457
- __v: number;
1458
- } & {
1459
- id: string;
1460
- }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
1461
- _id: string;
1462
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
1463
- _id: string;
1464
- } & Required<{
1465
- _id: string;
1466
- }> & {
1467
- __v: number;
1468
- } & {
1469
- id: string;
1470
- }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
1471
- _id: string;
1472
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
1473
- _id: string;
1474
- } & Required<{
1475
- _id: string;
1476
- }> & {
1477
- __v: number;
1478
- } & {
1479
- id: string;
1480
- }> | undefined;
1481
- markModified?: import("mongoose").SchemaDefinitionProperty<{
1482
- <T extends "status" | "currency" | "companyId" | "createdAt" | "updatedAt" | "_id" | "accountId" | "totalAmount" | "disputeId" | "contractId" | "fundedAmount" | "releasedAmount" | "refundedAmount" | "availableBalance" | "transactions" | "platformFeePercentage" | "platformFeeAmount" | "disputeReason" | "disputeResolvedAt" | "stripePaymentIntentId">(path: T, scope?: any): void;
1483
- (path: string, scope?: any): void;
1484
- }, import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
1485
- _id: string;
1486
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
1487
- _id: string;
1488
- } & Required<{
1489
- _id: string;
1490
- }> & {
1491
- __v: number;
1492
- } & {
1493
- id: string;
1494
- }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
1495
- _id: string;
1496
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
1497
- _id: string;
1498
- } & Required<{
1499
- _id: string;
1500
- }> & {
1501
- __v: number;
1502
- } & {
1503
- id: string;
1504
- }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
1505
- _id: string;
1506
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
1507
- _id: string;
1508
- } & Required<{
1509
- _id: string;
1510
- }> & {
1511
- __v: number;
1512
- } & {
1513
- id: string;
1514
- }> | undefined;
1515
- model?: import("mongoose").SchemaDefinitionProperty<{
1516
- <ModelType = Model<unknown, {}, {}, {}, import("mongoose").Document<unknown, {}, unknown, {}, import("mongoose").DefaultSchemaOptions> & {
1517
- _id: import("mongoose").Types.ObjectId;
1518
- } & {
1519
- __v: number;
1520
- } & {
1521
- id: string;
1522
- }, any, unknown>>(name: string): ModelType;
1523
- <ModelType = Model<Omit<IEscrow, "id"> & {
1524
- _id: string;
1525
- }, {}, {}, {}, import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
1526
- _id: string;
1527
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
1528
- _id: string;
1529
- } & Required<{
1530
- _id: string;
1531
- }> & {
1532
- __v: number;
1533
- } & {
1534
- id: string;
1535
- }, any, Omit<IEscrow, "id"> & {
1536
- _id: string;
1537
- }>>(): ModelType;
1538
- }, import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
1539
- _id: string;
1540
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
1541
- _id: string;
1542
- } & Required<{
1543
- _id: string;
1544
- }> & {
1545
- __v: number;
1546
- } & {
1547
- id: string;
1548
- }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
1549
- _id: string;
1550
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
1551
- _id: string;
1552
- } & Required<{
1553
- _id: string;
1554
- }> & {
1555
- __v: number;
1556
- } & {
1557
- id: string;
1558
- }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
1559
- _id: string;
1560
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
1561
- _id: string;
1562
- } & Required<{
1563
- _id: string;
1564
- }> & {
1565
- __v: number;
1566
- } & {
1567
- id: string;
1568
- }> | undefined;
1569
- modifiedPaths?: import("mongoose").SchemaDefinitionProperty<(options?: {
1570
- includeChildren?: boolean;
1571
- }) => Array<string>, import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
1572
- _id: string;
1573
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
1574
- _id: string;
1575
- } & Required<{
1576
- _id: string;
1577
- }> & {
1578
- __v: number;
1579
- } & {
1580
- id: string;
1581
- }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
1582
- _id: string;
1583
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
1584
- _id: string;
1585
- } & Required<{
1586
- _id: string;
1587
- }> & {
1588
- __v: number;
1589
- } & {
1590
- id: string;
1591
- }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
1592
- _id: string;
1593
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
1594
- _id: string;
1595
- } & Required<{
1596
- _id: string;
1597
- }> & {
1598
- __v: number;
1599
- } & {
1600
- id: string;
1601
- }> | undefined;
1602
- overwrite?: import("mongoose").SchemaDefinitionProperty<(obj: import("mongoose").AnyObject) => import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
1603
- _id: string;
1604
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
1605
- _id: string;
1606
- } & Required<{
1607
- _id: string;
1608
- }> & {
1609
- __v: number;
1610
- } & {
1611
- id: string;
1612
- }, import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
1613
- _id: string;
1614
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
1615
- _id: string;
1616
- } & Required<{
1617
- _id: string;
1618
- }> & {
1619
- __v: number;
1620
- } & {
1621
- id: string;
1622
- }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
1623
- _id: string;
1624
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
1625
- _id: string;
1626
- } & Required<{
1627
- _id: string;
1628
- }> & {
1629
- __v: number;
1630
- } & {
1631
- id: string;
1632
- }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
1633
- _id: string;
1634
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
1635
- _id: string;
1636
- } & Required<{
1637
- _id: string;
1638
- }> & {
1639
- __v: number;
1640
- } & {
1641
- id: string;
1642
- }> | undefined;
1643
- $parent?: import("mongoose").SchemaDefinitionProperty<() => import("mongoose").Document | undefined, import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
1644
- _id: string;
1645
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
1646
- _id: string;
1647
- } & Required<{
1648
- _id: string;
1649
- }> & {
1650
- __v: number;
1651
- } & {
1652
- id: string;
1653
- }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
1654
- _id: string;
1655
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
1656
- _id: string;
1657
- } & Required<{
1658
- _id: string;
1659
- }> & {
1660
- __v: number;
1661
- } & {
1662
- id: string;
1663
- }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
1664
- _id: string;
1665
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
1666
- _id: string;
1667
- } & Required<{
1668
- _id: string;
1669
- }> & {
1670
- __v: number;
1671
- } & {
1672
- id: string;
1673
- }> | undefined;
1674
- populate?: import("mongoose").SchemaDefinitionProperty<{
1675
- <Paths = {}>(path: string | import("mongoose").PopulateOptions | (string | import("mongoose").PopulateOptions)[]): Promise<import("mongoose").MergeType<import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
1676
- _id: string;
1677
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
1678
- _id: string;
1679
- } & Required<{
1680
- _id: string;
1681
- }> & {
1682
- __v: number;
1683
- } & {
1684
- id: string;
1685
- }, Paths>>;
1686
- <Paths = {}>(path: string, select?: string | import("mongoose").AnyObject, model?: Model<any>, match?: import("mongoose").AnyObject, options?: import("mongoose").PopulateOptions): Promise<import("mongoose").MergeType<import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
1687
- _id: string;
1688
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
1689
- _id: string;
1690
- } & Required<{
1691
- _id: string;
1692
- }> & {
1693
- __v: number;
1694
- } & {
1695
- id: string;
1696
- }, Paths>>;
1697
- }, import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
1698
- _id: string;
1699
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
1700
- _id: string;
1701
- } & Required<{
1702
- _id: string;
1703
- }> & {
1704
- __v: number;
1705
- } & {
1706
- id: string;
1707
- }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
1708
- _id: string;
1709
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
1710
- _id: string;
1711
- } & Required<{
1712
- _id: string;
1713
- }> & {
1714
- __v: number;
1715
- } & {
1716
- id: string;
1717
- }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
1718
- _id: string;
1719
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
1720
- _id: string;
1721
- } & Required<{
1722
- _id: string;
1723
- }> & {
1724
- __v: number;
1725
- } & {
1726
- id: string;
1727
- }> | undefined;
1728
- populated?: import("mongoose").SchemaDefinitionProperty<(path: string) => any, import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
1729
- _id: string;
1730
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
1731
- _id: string;
1732
- } & Required<{
1733
- _id: string;
1734
- }> & {
1735
- __v: number;
1736
- } & {
1737
- id: string;
1738
- }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
1739
- _id: string;
1740
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
1741
- _id: string;
1742
- } & Required<{
1743
- _id: string;
1744
- }> & {
1745
- __v: number;
1746
- } & {
1747
- id: string;
1748
- }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
1749
- _id: string;
1750
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
1751
- _id: string;
1752
- } & Required<{
1753
- _id: string;
1754
- }> & {
1755
- __v: number;
1756
- } & {
1757
- id: string;
1758
- }> | undefined;
1759
- replaceOne?: import("mongoose").SchemaDefinitionProperty<(replacement?: import("mongoose").AnyObject, options?: import("mongoose").QueryOptions | null) => import("mongoose").Query<any, import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
1760
- _id: string;
1761
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
1762
- _id: string;
1763
- } & Required<{
1764
- _id: string;
1765
- }> & {
1766
- __v: number;
1767
- } & {
1768
- id: string;
1769
- }, {}, unknown, "find", Record<string, never>>, import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
1770
- _id: string;
1771
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
1772
- _id: string;
1773
- } & Required<{
1774
- _id: string;
1775
- }> & {
1776
- __v: number;
1777
- } & {
1778
- id: string;
1779
- }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
1780
- _id: string;
1781
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
1782
- _id: string;
1783
- } & Required<{
1784
- _id: string;
1785
- }> & {
1786
- __v: number;
1787
- } & {
1788
- id: string;
1789
- }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
1790
- _id: string;
1791
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
1792
- _id: string;
1793
- } & Required<{
1794
- _id: string;
1795
- }> & {
1796
- __v: number;
1797
- } & {
1798
- id: string;
1799
- }> | undefined;
1800
- save?: import("mongoose").SchemaDefinitionProperty<(options?: import("mongoose").SaveOptions) => Promise<import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
1801
- _id: string;
1802
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
1803
- _id: string;
1804
- } & Required<{
1805
- _id: string;
1806
- }> & {
1807
- __v: number;
1808
- } & {
1809
- id: string;
1810
- }>, import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
1811
- _id: string;
1812
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
1813
- _id: string;
1814
- } & Required<{
1815
- _id: string;
1816
- }> & {
1817
- __v: number;
1818
- } & {
1819
- id: string;
1820
- }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
1821
- _id: string;
1822
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
1823
- _id: string;
1824
- } & Required<{
1825
- _id: string;
1826
- }> & {
1827
- __v: number;
1828
- } & {
1829
- id: string;
1830
- }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
1831
- _id: string;
1832
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
1833
- _id: string;
1834
- } & Required<{
1835
- _id: string;
1836
- }> & {
1837
- __v: number;
1838
- } & {
1839
- id: string;
1840
- }> | undefined;
1841
- schema?: import("mongoose").SchemaDefinitionProperty<Schema<any, Model<any, any, any, any, any, any, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, {
1842
- [x: number]: unknown;
1843
- [x: symbol]: unknown;
1844
- [x: string]: unknown;
1845
- }, import("mongoose").Document<unknown, {}, {
1846
- [x: number]: unknown;
1847
- [x: symbol]: unknown;
1848
- [x: string]: unknown;
1849
- }, {
1850
- id: string;
1851
- }, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & Omit<{
1852
- [x: number]: unknown;
1853
- [x: symbol]: unknown;
1854
- [x: string]: unknown;
1855
- } & Required<{
1856
- _id: unknown;
1857
- }> & {
1858
- __v: number;
1859
- }, "id"> & {
1860
- id: string;
1861
- }, {
1862
- [path: string]: import("mongoose").SchemaDefinitionProperty<undefined, any, any>;
1863
- } | {
1864
- [x: string]: import("mongoose").SchemaDefinitionProperty<any, any, import("mongoose").Document<unknown, {}, {
1865
- [x: number]: unknown;
1866
- [x: symbol]: unknown;
1867
- [x: string]: unknown;
1868
- }, {
1869
- id: string;
1870
- }, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & Omit<{
1871
- [x: number]: unknown;
1872
- [x: symbol]: unknown;
1873
- [x: string]: unknown;
1874
- } & Required<{
1875
- _id: unknown;
1876
- }> & {
1877
- __v: number;
1878
- }, "id"> & {
1879
- id: string;
1880
- }> | undefined;
1881
- }, {
1882
- [x: number]: {};
1883
- [x: symbol]: {};
1884
- [x: string]: {};
1885
- } & Required<{
1886
- _id: unknown;
1887
- }> & {
1888
- __v: number;
1889
- }>, import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
1890
- _id: string;
1891
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
1892
- _id: string;
1893
- } & Required<{
1894
- _id: string;
1895
- }> & {
1896
- __v: number;
1897
- } & {
1898
- id: string;
1899
- }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
1900
- _id: string;
1901
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
1902
- _id: string;
1903
- } & Required<{
1904
- _id: string;
1905
- }> & {
1906
- __v: number;
1907
- } & {
1908
- id: string;
1909
- }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
1910
- _id: string;
1911
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
1912
- _id: string;
1913
- } & Required<{
1914
- _id: string;
1915
- }> & {
1916
- __v: number;
1917
- } & {
1918
- id: string;
1919
- }> | undefined;
1920
- set?: import("mongoose").SchemaDefinitionProperty<{
1921
- <T extends "status" | "currency" | "companyId" | "createdAt" | "updatedAt" | "_id" | "accountId" | "totalAmount" | "disputeId" | "contractId" | "fundedAmount" | "releasedAmount" | "refundedAmount" | "availableBalance" | "transactions" | "platformFeePercentage" | "platformFeeAmount" | "disputeReason" | "disputeResolvedAt" | "stripePaymentIntentId">(path: T, val: (Omit<IEscrow, "id"> & {
1922
- _id: string;
1923
- })[T], type: any, options?: import("mongoose").DocumentSetOptions): import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
1924
- _id: string;
1925
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
1926
- _id: string;
1927
- } & Required<{
1928
- _id: string;
1929
- }> & {
1930
- __v: number;
1931
- } & {
1932
- id: string;
1933
- };
1934
- (path: string | Record<string, any>, val: any, type: any, options?: import("mongoose").DocumentSetOptions): import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
1935
- _id: string;
1936
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
1937
- _id: string;
1938
- } & Required<{
1939
- _id: string;
1940
- }> & {
1941
- __v: number;
1942
- } & {
1943
- id: string;
1944
- };
1945
- (path: string | Record<string, any>, val: any, options?: import("mongoose").DocumentSetOptions): import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
1946
- _id: string;
1947
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
1948
- _id: string;
1949
- } & Required<{
1950
- _id: string;
1951
- }> & {
1952
- __v: number;
1953
- } & {
1954
- id: string;
1955
- };
1956
- (value: string | Record<string, any>): import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
1957
- _id: string;
1958
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
1959
- _id: string;
1960
- } & Required<{
1961
- _id: string;
1962
- }> & {
1963
- __v: number;
1964
- } & {
1965
- id: string;
1966
- };
1967
- }, import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
1968
- _id: string;
1969
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
1970
- _id: string;
1971
- } & Required<{
1972
- _id: string;
1973
- }> & {
1974
- __v: number;
1975
- } & {
1976
- id: string;
1977
- }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
1978
- _id: string;
1979
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
1980
- _id: string;
1981
- } & Required<{
1982
- _id: string;
1983
- }> & {
1984
- __v: number;
1985
- } & {
1986
- id: string;
1987
- }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
1988
- _id: string;
1989
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
1990
- _id: string;
1991
- } & Required<{
1992
- _id: string;
1993
- }> & {
1994
- __v: number;
1995
- } & {
1996
- id: string;
1997
- }> | undefined;
1998
- toJSON?: import("mongoose").SchemaDefinitionProperty<{
1999
- (options: import("mongoose").ToObjectOptions & {
2000
- flattenMaps: false;
2001
- flattenObjectIds: true;
2002
- virtuals: true;
2003
- versionKey: false;
2004
- }): {
2005
- status: EscrowStatus;
2006
- currency: string;
2007
- companyId: string;
2008
- createdAt: Date;
2009
- updatedAt: Date;
2010
- _id: string;
2011
- accountId: string;
2012
- totalAmount: number;
2013
- disputeId?: string | undefined;
2014
- contractId: string;
2015
- fundedAmount: number;
2016
- releasedAmount: number;
2017
- refundedAmount: number;
2018
- availableBalance: number;
2019
- transactions: {
2020
- id: string;
2021
- type: import("../index.js").EscrowTransactionType;
2022
- amount: number;
2023
- milestoneId?: string | undefined;
2024
- description: string;
2025
- createdAt: Date;
2026
- processedAt?: Date | undefined;
2027
- }[];
2028
- platformFeePercentage: number;
2029
- platformFeeAmount: number;
2030
- disputeReason?: string | undefined;
2031
- disputeResolvedAt?: Date | undefined;
2032
- stripePaymentIntentId?: string | undefined;
2033
- };
2034
- (options: import("mongoose").ToObjectOptions & {
2035
- flattenMaps: false;
2036
- flattenObjectIds: true;
2037
- virtuals: true;
2038
- }): {
2039
- status: EscrowStatus;
2040
- currency: string;
2041
- companyId: string;
2042
- createdAt: Date;
2043
- updatedAt: Date;
2044
- accountId: string;
2045
- totalAmount: number;
2046
- disputeId?: string | undefined;
2047
- contractId: string;
2048
- fundedAmount: number;
2049
- releasedAmount: number;
2050
- refundedAmount: number;
2051
- availableBalance: number;
2052
- transactions: {
2053
- id: string;
2054
- type: import("../index.js").EscrowTransactionType;
2055
- amount: number;
2056
- milestoneId?: string | undefined;
2057
- description: string;
2058
- createdAt: Date;
2059
- processedAt?: Date | undefined;
2060
- }[];
2061
- platformFeePercentage: number;
2062
- platformFeeAmount: number;
2063
- disputeReason?: string | undefined;
2064
- disputeResolvedAt?: Date | undefined;
2065
- stripePaymentIntentId?: string | undefined;
2066
- _id: string;
2067
- };
2068
- (options: import("mongoose").ToObjectOptions & {
2069
- flattenMaps: false;
2070
- flattenObjectIds: false;
2071
- virtuals: true;
2072
- versionKey: false;
2073
- }): Omit<Omit<IEscrow, "id"> & {
2074
- _id: string;
2075
- } & Required<{
2076
- _id: string;
2077
- }>, "__v">;
2078
- (options: import("mongoose").ToObjectOptions & {
2079
- flattenMaps: false;
2080
- flattenObjectIds: false;
2081
- virtuals: true;
2082
- }): Omit<IEscrow, "id"> & {
2083
- _id: string;
2084
- } & Required<{
2085
- _id: string;
2086
- }>;
2087
- (options: import("mongoose").ToObjectOptions & {
2088
- flattenMaps: false;
2089
- flattenObjectIds: true;
2090
- virtuals: false;
2091
- versionKey: false;
2092
- }): {
2093
- status: EscrowStatus;
2094
- currency: string;
2095
- companyId: string;
2096
- createdAt: Date;
2097
- updatedAt: Date;
2098
- _id: string;
2099
- accountId: string;
2100
- totalAmount: number;
2101
- disputeId?: string | undefined;
2102
- contractId: string;
2103
- fundedAmount: number;
2104
- releasedAmount: number;
2105
- refundedAmount: number;
2106
- availableBalance: number;
2107
- transactions: {
2108
- id: string;
2109
- type: import("../index.js").EscrowTransactionType;
2110
- amount: number;
2111
- milestoneId?: string | undefined;
2112
- description: string;
2113
- createdAt: Date;
2114
- processedAt?: Date | undefined;
2115
- }[];
2116
- platformFeePercentage: number;
2117
- platformFeeAmount: number;
2118
- disputeReason?: string | undefined;
2119
- disputeResolvedAt?: Date | undefined;
2120
- stripePaymentIntentId?: string | undefined;
2121
- };
2122
- (options: import("mongoose").ToObjectOptions & {
2123
- flattenMaps: false;
2124
- flattenObjectIds: true;
2125
- virtuals: false;
2126
- }): {
2127
- status: EscrowStatus;
2128
- currency: string;
2129
- companyId: string;
2130
- createdAt: Date;
2131
- updatedAt: Date;
2132
- accountId: string;
2133
- totalAmount: number;
2134
- disputeId?: string | undefined;
2135
- contractId: string;
2136
- fundedAmount: number;
2137
- releasedAmount: number;
2138
- refundedAmount: number;
2139
- availableBalance: number;
2140
- transactions: {
2141
- id: string;
2142
- type: import("../index.js").EscrowTransactionType;
2143
- amount: number;
2144
- milestoneId?: string | undefined;
2145
- description: string;
2146
- createdAt: Date;
2147
- processedAt?: Date | undefined;
2148
- }[];
2149
- platformFeePercentage: number;
2150
- platformFeeAmount: number;
2151
- disputeReason?: string | undefined;
2152
- disputeResolvedAt?: Date | undefined;
2153
- stripePaymentIntentId?: string | undefined;
2154
- _id: string;
2155
- };
2156
- (options: import("mongoose").ToObjectOptions & {
2157
- flattenMaps: false;
2158
- flattenObjectIds: false;
2159
- virtuals: false;
2160
- versionKey: false;
2161
- }): Omit<Omit<IEscrow, "id"> & {
2162
- _id: string;
2163
- } & Required<{
2164
- _id: string;
2165
- }>, "__v">;
2166
- (options: import("mongoose").ToObjectOptions & {
2167
- flattenMaps: false;
2168
- flattenObjectIds: false;
2169
- virtuals: false;
2170
- }): Omit<IEscrow, "id"> & {
2171
- _id: string;
2172
- } & Required<{
2173
- _id: string;
2174
- }>;
2175
- (options: import("mongoose").ToObjectOptions & {
2176
- flattenMaps: true;
2177
- flattenObjectIds: true;
2178
- virtuals: true;
2179
- versionKey: false;
2180
- }): {
2181
- status: EscrowStatus;
2182
- currency: string;
2183
- companyId: string;
2184
- createdAt: Date;
2185
- updatedAt: Date;
2186
- _id: string;
2187
- accountId: string;
2188
- totalAmount: number;
2189
- disputeId?: string | undefined;
2190
- contractId: string;
2191
- fundedAmount: number;
2192
- releasedAmount: number;
2193
- refundedAmount: number;
2194
- availableBalance: number;
2195
- transactions: {
2196
- id: string;
2197
- type: import("../index.js").EscrowTransactionType;
2198
- amount: number;
2199
- milestoneId?: string | undefined;
2200
- description: string;
2201
- createdAt: Date;
2202
- processedAt?: Date | undefined;
2203
- }[];
2204
- platformFeePercentage: number;
2205
- platformFeeAmount: number;
2206
- disputeReason?: string | undefined;
2207
- disputeResolvedAt?: Date | undefined;
2208
- stripePaymentIntentId?: string | undefined;
2209
- };
2210
- (options: import("mongoose").ToObjectOptions & {
2211
- flattenMaps: true;
2212
- flattenObjectIds: true;
2213
- virtuals: true;
2214
- }): {
2215
- status: EscrowStatus;
2216
- currency: string;
2217
- companyId: string;
2218
- createdAt: Date;
2219
- updatedAt: Date;
2220
- accountId: string;
2221
- totalAmount: number;
2222
- disputeId?: string | undefined;
2223
- contractId: string;
2224
- fundedAmount: number;
2225
- releasedAmount: number;
2226
- refundedAmount: number;
2227
- availableBalance: number;
2228
- transactions: {
2229
- id: string;
2230
- type: import("../index.js").EscrowTransactionType;
2231
- amount: number;
2232
- milestoneId?: string | undefined;
2233
- description: string;
2234
- createdAt: Date;
2235
- processedAt?: Date | undefined;
2236
- }[];
2237
- platformFeePercentage: number;
2238
- platformFeeAmount: number;
2239
- disputeReason?: string | undefined;
2240
- disputeResolvedAt?: Date | undefined;
2241
- stripePaymentIntentId?: string | undefined;
2242
- _id: string;
2243
- };
2244
- (options: import("mongoose").ToObjectOptions & {
2245
- flattenMaps: true;
2246
- flattenObjectIds: false;
2247
- virtuals: true;
2248
- versionKey: false;
2249
- }): Omit<import("mongoose").FlattenMaps<Omit<IEscrow, "id"> & {
2250
- _id: string;
2251
- } & Required<{
2252
- _id: string;
2253
- }>>, "__v">;
2254
- (options: import("mongoose").ToObjectOptions & {
2255
- flattenMaps: true;
2256
- flattenObjectIds: false;
2257
- virtuals: true;
2258
- }): import("mongoose").FlattenMaps<Omit<IEscrow, "id"> & {
2259
- _id: string;
2260
- } & Required<{
2261
- _id: string;
2262
- }>>;
2263
- (options: import("mongoose").ToObjectOptions & {
2264
- flattenMaps: true;
2265
- flattenObjectIds: true;
2266
- virtuals: false;
2267
- versionKey: false;
2268
- }): {
2269
- status: EscrowStatus;
2270
- currency: string;
2271
- companyId: string;
2272
- createdAt: Date;
2273
- updatedAt: Date;
2274
- _id: string;
2275
- accountId: string;
2276
- totalAmount: number;
2277
- disputeId?: string | undefined;
2278
- contractId: string;
2279
- fundedAmount: number;
2280
- releasedAmount: number;
2281
- refundedAmount: number;
2282
- availableBalance: number;
2283
- transactions: {
2284
- id: string;
2285
- type: import("../index.js").EscrowTransactionType;
2286
- amount: number;
2287
- milestoneId?: string | undefined;
2288
- description: string;
2289
- createdAt: Date;
2290
- processedAt?: Date | undefined;
2291
- }[];
2292
- platformFeePercentage: number;
2293
- platformFeeAmount: number;
2294
- disputeReason?: string | undefined;
2295
- disputeResolvedAt?: Date | undefined;
2296
- stripePaymentIntentId?: string | undefined;
2297
- };
2298
- (options: import("mongoose").ToObjectOptions & {
2299
- flattenMaps: true;
2300
- flattenObjectIds: true;
2301
- virtuals: false;
2302
- }): {
2303
- status: EscrowStatus;
2304
- currency: string;
2305
- companyId: string;
2306
- createdAt: Date;
2307
- updatedAt: Date;
2308
- accountId: string;
2309
- totalAmount: number;
2310
- disputeId?: string | undefined;
2311
- contractId: string;
2312
- fundedAmount: number;
2313
- releasedAmount: number;
2314
- refundedAmount: number;
2315
- availableBalance: number;
2316
- transactions: {
2317
- id: string;
2318
- type: import("../index.js").EscrowTransactionType;
2319
- amount: number;
2320
- milestoneId?: string | undefined;
2321
- description: string;
2322
- createdAt: Date;
2323
- processedAt?: Date | undefined;
2324
- }[];
2325
- platformFeePercentage: number;
2326
- platformFeeAmount: number;
2327
- disputeReason?: string | undefined;
2328
- disputeResolvedAt?: Date | undefined;
2329
- stripePaymentIntentId?: string | undefined;
2330
- _id: string;
2331
- };
2332
- (options: import("mongoose").ToObjectOptions & {
2333
- flattenMaps: true;
2334
- flattenObjectIds: false;
2335
- virtuals: false;
2336
- versionKey: false;
2337
- }): Omit<import("mongoose").FlattenMaps<Omit<IEscrow, "id"> & {
2338
- _id: string;
2339
- } & Required<{
2340
- _id: string;
2341
- }>>, "__v">;
2342
- (options: import("mongoose").ToObjectOptions & {
2343
- flattenMaps: true;
2344
- flattenObjectIds: false;
2345
- virtuals: false;
2346
- }): import("mongoose").FlattenMaps<Omit<IEscrow, "id"> & {
2347
- _id: string;
2348
- } & Required<{
2349
- _id: string;
2350
- }>>;
2351
- (options: import("mongoose").ToObjectOptions & {
2352
- flattenMaps: true;
2353
- flattenObjectIds: true;
2354
- virtuals: true;
2355
- }): {
2356
- status: EscrowStatus;
2357
- currency: string;
2358
- companyId: string;
2359
- createdAt: Date;
2360
- updatedAt: Date;
2361
- accountId: string;
2362
- totalAmount: number;
2363
- disputeId?: string | undefined;
2364
- contractId: string;
2365
- fundedAmount: number;
2366
- releasedAmount: number;
2367
- refundedAmount: number;
2368
- availableBalance: number;
2369
- transactions: {
2370
- id: string;
2371
- type: import("../index.js").EscrowTransactionType;
2372
- amount: number;
2373
- milestoneId?: string | undefined;
2374
- description: string;
2375
- createdAt: Date;
2376
- processedAt?: Date | undefined;
2377
- }[];
2378
- platformFeePercentage: number;
2379
- platformFeeAmount: number;
2380
- disputeReason?: string | undefined;
2381
- disputeResolvedAt?: Date | undefined;
2382
- stripePaymentIntentId?: string | undefined;
2383
- _id: string;
2384
- };
2385
- (options: import("mongoose").ToObjectOptions & {
2386
- flattenMaps: true;
2387
- flattenObjectIds: true;
2388
- }): {
2389
- status: EscrowStatus;
2390
- currency: string;
2391
- companyId: string;
2392
- createdAt: Date;
2393
- updatedAt: Date;
2394
- accountId: string;
2395
- totalAmount: number;
2396
- disputeId?: string | undefined;
2397
- contractId: string;
2398
- fundedAmount: number;
2399
- releasedAmount: number;
2400
- refundedAmount: number;
2401
- availableBalance: number;
2402
- transactions: {
2403
- id: string;
2404
- type: import("../index.js").EscrowTransactionType;
2405
- amount: number;
2406
- milestoneId?: string | undefined;
2407
- description: string;
2408
- createdAt: Date;
2409
- processedAt?: Date | undefined;
2410
- }[];
2411
- platformFeePercentage: number;
2412
- platformFeeAmount: number;
2413
- disputeReason?: string | undefined;
2414
- disputeResolvedAt?: Date | undefined;
2415
- stripePaymentIntentId?: string | undefined;
2416
- _id: string;
2417
- };
2418
- (options: import("mongoose").ToObjectOptions & {
2419
- flattenObjectIds: true;
2420
- virtuals: true;
2421
- }): {
2422
- status: EscrowStatus;
2423
- currency: string;
2424
- companyId: string;
2425
- createdAt: Date;
2426
- updatedAt: Date;
2427
- accountId: string;
2428
- totalAmount: number;
2429
- disputeId?: string | undefined;
2430
- contractId: string;
2431
- fundedAmount: number;
2432
- releasedAmount: number;
2433
- refundedAmount: number;
2434
- availableBalance: number;
2435
- transactions: {
2436
- id: string;
2437
- type: import("../index.js").EscrowTransactionType;
2438
- amount: number;
2439
- milestoneId?: string | undefined;
2440
- description: string;
2441
- createdAt: Date;
2442
- processedAt?: Date | undefined;
2443
- }[];
2444
- platformFeePercentage: number;
2445
- platformFeeAmount: number;
2446
- disputeReason?: string | undefined;
2447
- disputeResolvedAt?: Date | undefined;
2448
- stripePaymentIntentId?: string | undefined;
2449
- _id: string;
2450
- };
2451
- (options: import("mongoose").ToObjectOptions & {
2452
- flattenObjectIds: true;
2453
- }): {
2454
- status: EscrowStatus;
2455
- currency: string;
2456
- companyId: string;
2457
- createdAt: Date;
2458
- updatedAt: Date;
2459
- accountId: string;
2460
- totalAmount: number;
2461
- disputeId?: string | undefined;
2462
- contractId: string;
2463
- fundedAmount: number;
2464
- releasedAmount: number;
2465
- refundedAmount: number;
2466
- availableBalance: number;
2467
- transactions: {
2468
- id: string;
2469
- type: import("../index.js").EscrowTransactionType;
2470
- amount: number;
2471
- milestoneId?: string | undefined;
2472
- description: string;
2473
- createdAt: Date;
2474
- processedAt?: Date | undefined;
2475
- }[];
2476
- platformFeePercentage: number;
2477
- platformFeeAmount: number;
2478
- disputeReason?: string | undefined;
2479
- disputeResolvedAt?: Date | undefined;
2480
- stripePaymentIntentId?: string | undefined;
2481
- _id: string;
2482
- };
2483
- (options: import("mongoose").ToObjectOptions & {
2484
- flattenMaps: true;
2485
- virtuals: true;
2486
- }): import("mongoose").FlattenMaps<Omit<IEscrow, "id"> & {
2487
- _id: string;
2488
- } & Required<{
2489
- _id: string;
2490
- }>>;
2491
- (options: import("mongoose").ToObjectOptions & {
2492
- flattenMaps: true;
2493
- }): import("mongoose").FlattenMaps<Omit<IEscrow, "id"> & {
2494
- _id: string;
2495
- } & Required<{
2496
- _id: string;
2497
- }>>;
2498
- (options: import("mongoose").ToObjectOptions & {
2499
- versionKey: false;
2500
- flattenMaps: true;
2501
- flattenObjectIds: true;
2502
- virtuals: true;
2503
- }): {
2504
- status: EscrowStatus;
2505
- currency: string;
2506
- companyId: string;
2507
- createdAt: Date;
2508
- updatedAt: Date;
2509
- _id: string;
2510
- accountId: string;
2511
- totalAmount: number;
2512
- disputeId?: string | undefined;
2513
- contractId: string;
2514
- fundedAmount: number;
2515
- releasedAmount: number;
2516
- refundedAmount: number;
2517
- availableBalance: number;
2518
- transactions: {
2519
- id: string;
2520
- type: import("../index.js").EscrowTransactionType;
2521
- amount: number;
2522
- milestoneId?: string | undefined;
2523
- description: string;
2524
- createdAt: Date;
2525
- processedAt?: Date | undefined;
2526
- }[];
2527
- platformFeePercentage: number;
2528
- platformFeeAmount: number;
2529
- disputeReason?: string | undefined;
2530
- disputeResolvedAt?: Date | undefined;
2531
- stripePaymentIntentId?: string | undefined;
2532
- };
2533
- (options: import("mongoose").ToObjectOptions & {
2534
- versionKey: false;
2535
- flattenMaps: false;
2536
- flattenObjectIds: true;
2537
- virtuals: true;
2538
- }): {
2539
- status: EscrowStatus;
2540
- currency: string;
2541
- companyId: string;
2542
- createdAt: Date;
2543
- updatedAt: Date;
2544
- _id: string;
2545
- accountId: string;
2546
- totalAmount: number;
2547
- disputeId?: string | undefined;
2548
- contractId: string;
2549
- fundedAmount: number;
2550
- releasedAmount: number;
2551
- refundedAmount: number;
2552
- availableBalance: number;
2553
- transactions: {
2554
- id: string;
2555
- type: import("../index.js").EscrowTransactionType;
2556
- amount: number;
2557
- milestoneId?: string | undefined;
2558
- description: string;
2559
- createdAt: Date;
2560
- processedAt?: Date | undefined;
2561
- }[];
2562
- platformFeePercentage: number;
2563
- platformFeeAmount: number;
2564
- disputeReason?: string | undefined;
2565
- disputeResolvedAt?: Date | undefined;
2566
- stripePaymentIntentId?: string | undefined;
2567
- };
2568
- (options: import("mongoose").ToObjectOptions & {
2569
- versionKey: false;
2570
- flattenMaps: true;
2571
- virtuals: true;
2572
- }): Omit<import("mongoose").FlattenMaps<Omit<IEscrow, "id"> & {
2573
- _id: string;
2574
- } & Required<{
2575
- _id: string;
2576
- }>>, "__v">;
2577
- (options: import("mongoose").ToObjectOptions & {
2578
- versionKey: false;
2579
- flattenObjectIds: true;
2580
- virtuals: true;
2581
- }): {
2582
- status: EscrowStatus;
2583
- currency: string;
2584
- companyId: string;
2585
- createdAt: Date;
2586
- updatedAt: Date;
2587
- _id: string;
2588
- accountId: string;
2589
- totalAmount: number;
2590
- disputeId?: string | undefined;
2591
- contractId: string;
2592
- fundedAmount: number;
2593
- releasedAmount: number;
2594
- refundedAmount: number;
2595
- availableBalance: number;
2596
- transactions: {
2597
- id: string;
2598
- type: import("../index.js").EscrowTransactionType;
2599
- amount: number;
2600
- milestoneId?: string | undefined;
2601
- description: string;
2602
- createdAt: Date;
2603
- processedAt?: Date | undefined;
2604
- }[];
2605
- platformFeePercentage: number;
2606
- platformFeeAmount: number;
2607
- disputeReason?: string | undefined;
2608
- disputeResolvedAt?: Date | undefined;
2609
- stripePaymentIntentId?: string | undefined;
2610
- };
2611
- (options: import("mongoose").ToObjectOptions & {
2612
- versionKey: false;
2613
- virtuals: true;
2614
- }): Omit<Omit<IEscrow, "id"> & {
2615
- _id: string;
2616
- } & Required<{
2617
- _id: string;
2618
- }>, "__v">;
2619
- (options: import("mongoose").ToObjectOptions & {
2620
- versionKey: false;
2621
- flattenMaps: true;
2622
- flattenObjectIds: true;
2623
- }): {
2624
- status: EscrowStatus;
2625
- currency: string;
2626
- companyId: string;
2627
- createdAt: Date;
2628
- updatedAt: Date;
2629
- _id: string;
2630
- accountId: string;
2631
- totalAmount: number;
2632
- disputeId?: string | undefined;
2633
- contractId: string;
2634
- fundedAmount: number;
2635
- releasedAmount: number;
2636
- refundedAmount: number;
2637
- availableBalance: number;
2638
- transactions: {
2639
- id: string;
2640
- type: import("../index.js").EscrowTransactionType;
2641
- amount: number;
2642
- milestoneId?: string | undefined;
2643
- description: string;
2644
- createdAt: Date;
2645
- processedAt?: Date | undefined;
2646
- }[];
2647
- platformFeePercentage: number;
2648
- platformFeeAmount: number;
2649
- disputeReason?: string | undefined;
2650
- disputeResolvedAt?: Date | undefined;
2651
- stripePaymentIntentId?: string | undefined;
2652
- };
2653
- (options: import("mongoose").ToObjectOptions & {
2654
- versionKey: false;
2655
- flattenObjectIds: true;
2656
- }): {
2657
- status: EscrowStatus;
2658
- currency: string;
2659
- companyId: string;
2660
- createdAt: Date;
2661
- updatedAt: Date;
2662
- _id: string;
2663
- accountId: string;
2664
- totalAmount: number;
2665
- disputeId?: string | undefined;
2666
- contractId: string;
2667
- fundedAmount: number;
2668
- releasedAmount: number;
2669
- refundedAmount: number;
2670
- availableBalance: number;
2671
- transactions: {
2672
- id: string;
2673
- type: import("../index.js").EscrowTransactionType;
2674
- amount: number;
2675
- milestoneId?: string | undefined;
2676
- description: string;
2677
- createdAt: Date;
2678
- processedAt?: Date | undefined;
2679
- }[];
2680
- platformFeePercentage: number;
2681
- platformFeeAmount: number;
2682
- disputeReason?: string | undefined;
2683
- disputeResolvedAt?: Date | undefined;
2684
- stripePaymentIntentId?: string | undefined;
2685
- };
2686
- (options: import("mongoose").ToObjectOptions & {
2687
- versionKey: false;
2688
- flattenMaps: true;
2689
- }): Omit<import("mongoose").FlattenMaps<Omit<IEscrow, "id"> & {
2690
- _id: string;
2691
- } & Required<{
2692
- _id: string;
2693
- }>>, "__v">;
2694
- (options: import("mongoose").ToObjectOptions & {
2695
- versionKey: false;
2696
- }): Omit<Omit<IEscrow, "id"> & {
2697
- _id: string;
2698
- } & Required<{
2699
- _id: string;
2700
- }>, "__v">;
2701
- (options: import("mongoose").ToObjectOptions & {
2702
- virtuals: true;
2703
- }): Omit<IEscrow, "id"> & {
2704
- _id: string;
2705
- } & Required<{
2706
- _id: string;
2707
- }>;
2708
- (options?: import("mongoose").ToObjectOptions): Omit<IEscrow, "id"> & {
2709
- _id: string;
2710
- } & Required<{
2711
- _id: string;
2712
- }> & {
2713
- __v: number;
2714
- };
2715
- <T>(options?: import("mongoose").ToObjectOptions): import("mongoose").Require_id<T> & {
2716
- __v: number;
2717
- };
2718
- }, import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
2719
- _id: string;
2720
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
2721
- _id: string;
2722
- } & Required<{
2723
- _id: string;
2724
- }> & {
2725
- __v: number;
2726
- } & {
2727
- id: string;
2728
- }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
2729
- _id: string;
2730
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
2731
- _id: string;
2732
- } & Required<{
2733
- _id: string;
2734
- }> & {
2735
- __v: number;
2736
- } & {
2737
- id: string;
2738
- }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
2739
- _id: string;
2740
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
2741
- _id: string;
2742
- } & Required<{
2743
- _id: string;
2744
- }> & {
2745
- __v: number;
2746
- } & {
2747
- id: string;
2748
- }> | undefined;
2749
- toObject?: import("mongoose").SchemaDefinitionProperty<{
2750
- (options: import("mongoose").ToObjectOptions & {
2751
- flattenMaps: false;
2752
- flattenObjectIds: true;
2753
- virtuals: true;
2754
- versionKey: false;
2755
- }): {
2756
- status: EscrowStatus;
2757
- currency: string;
2758
- companyId: string;
2759
- createdAt: Date;
2760
- updatedAt: Date;
2761
- _id: string;
2762
- accountId: string;
2763
- totalAmount: number;
2764
- disputeId?: string | undefined;
2765
- contractId: string;
2766
- fundedAmount: number;
2767
- releasedAmount: number;
2768
- refundedAmount: number;
2769
- availableBalance: number;
2770
- transactions: {
2771
- id: string;
2772
- type: import("../index.js").EscrowTransactionType;
2773
- amount: number;
2774
- milestoneId?: string | undefined;
2775
- description: string;
2776
- createdAt: Date;
2777
- processedAt?: Date | undefined;
2778
- }[];
2779
- platformFeePercentage: number;
2780
- platformFeeAmount: number;
2781
- disputeReason?: string | undefined;
2782
- disputeResolvedAt?: Date | undefined;
2783
- stripePaymentIntentId?: string | undefined;
2784
- };
2785
- (options: import("mongoose").ToObjectOptions & {
2786
- flattenMaps: false;
2787
- flattenObjectIds: true;
2788
- virtuals: true;
2789
- }): {
2790
- status: EscrowStatus;
2791
- currency: string;
2792
- companyId: string;
2793
- createdAt: Date;
2794
- updatedAt: Date;
2795
- accountId: string;
2796
- totalAmount: number;
2797
- disputeId?: string | undefined;
2798
- contractId: string;
2799
- fundedAmount: number;
2800
- releasedAmount: number;
2801
- refundedAmount: number;
2802
- availableBalance: number;
2803
- transactions: {
2804
- id: string;
2805
- type: import("../index.js").EscrowTransactionType;
2806
- amount: number;
2807
- milestoneId?: string | undefined;
2808
- description: string;
2809
- createdAt: Date;
2810
- processedAt?: Date | undefined;
2811
- }[];
2812
- platformFeePercentage: number;
2813
- platformFeeAmount: number;
2814
- disputeReason?: string | undefined;
2815
- disputeResolvedAt?: Date | undefined;
2816
- stripePaymentIntentId?: string | undefined;
2817
- _id: string;
2818
- };
2819
- (options: import("mongoose").ToObjectOptions & {
2820
- flattenMaps: false;
2821
- flattenObjectIds: false;
2822
- virtuals: true;
2823
- versionKey: false;
2824
- }): Omit<Omit<IEscrow, "id"> & {
2825
- _id: string;
2826
- } & Required<{
2827
- _id: string;
2828
- }>, "__v">;
2829
- (options: import("mongoose").ToObjectOptions & {
2830
- flattenMaps: false;
2831
- flattenObjectIds: false;
2832
- virtuals: true;
2833
- }): Omit<IEscrow, "id"> & {
2834
- _id: string;
2835
- } & Required<{
2836
- _id: string;
2837
- }>;
2838
- (options: import("mongoose").ToObjectOptions & {
2839
- flattenMaps: false;
2840
- flattenObjectIds: true;
2841
- virtuals: false;
2842
- versionKey: false;
2843
- }): {
2844
- status: EscrowStatus;
2845
- currency: string;
2846
- companyId: string;
2847
- createdAt: Date;
2848
- updatedAt: Date;
2849
- _id: string;
2850
- accountId: string;
2851
- totalAmount: number;
2852
- disputeId?: string | undefined;
2853
- contractId: string;
2854
- fundedAmount: number;
2855
- releasedAmount: number;
2856
- refundedAmount: number;
2857
- availableBalance: number;
2858
- transactions: {
2859
- id: string;
2860
- type: import("../index.js").EscrowTransactionType;
2861
- amount: number;
2862
- milestoneId?: string | undefined;
2863
- description: string;
2864
- createdAt: Date;
2865
- processedAt?: Date | undefined;
2866
- }[];
2867
- platformFeePercentage: number;
2868
- platformFeeAmount: number;
2869
- disputeReason?: string | undefined;
2870
- disputeResolvedAt?: Date | undefined;
2871
- stripePaymentIntentId?: string | undefined;
2872
- };
2873
- (options: import("mongoose").ToObjectOptions & {
2874
- flattenMaps: false;
2875
- flattenObjectIds: true;
2876
- virtuals: false;
2877
- }): {
2878
- status: EscrowStatus;
2879
- currency: string;
2880
- companyId: string;
2881
- createdAt: Date;
2882
- updatedAt: Date;
2883
- accountId: string;
2884
- totalAmount: number;
2885
- disputeId?: string | undefined;
2886
- contractId: string;
2887
- fundedAmount: number;
2888
- releasedAmount: number;
2889
- refundedAmount: number;
2890
- availableBalance: number;
2891
- transactions: {
2892
- id: string;
2893
- type: import("../index.js").EscrowTransactionType;
2894
- amount: number;
2895
- milestoneId?: string | undefined;
2896
- description: string;
2897
- createdAt: Date;
2898
- processedAt?: Date | undefined;
2899
- }[];
2900
- platformFeePercentage: number;
2901
- platformFeeAmount: number;
2902
- disputeReason?: string | undefined;
2903
- disputeResolvedAt?: Date | undefined;
2904
- stripePaymentIntentId?: string | undefined;
2905
- _id: string;
2906
- };
2907
- (options: import("mongoose").ToObjectOptions & {
2908
- flattenMaps: false;
2909
- flattenObjectIds: false;
2910
- virtuals: false;
2911
- versionKey: false;
2912
- }): Omit<Omit<IEscrow, "id"> & {
2913
- _id: string;
2914
- } & Required<{
2915
- _id: string;
2916
- }>, "__v">;
2917
- (options: import("mongoose").ToObjectOptions & {
2918
- flattenMaps: false;
2919
- flattenObjectIds: false;
2920
- virtuals: false;
2921
- }): Omit<IEscrow, "id"> & {
2922
- _id: string;
2923
- } & Required<{
2924
- _id: string;
2925
- }>;
2926
- (options: import("mongoose").ToObjectOptions & {
2927
- flattenMaps: true;
2928
- flattenObjectIds: true;
2929
- virtuals: true;
2930
- versionKey: false;
2931
- }): {
2932
- status: EscrowStatus;
2933
- currency: string;
2934
- companyId: string;
2935
- createdAt: Date;
2936
- updatedAt: Date;
2937
- _id: string;
2938
- accountId: string;
2939
- totalAmount: number;
2940
- disputeId?: string | undefined;
2941
- contractId: string;
2942
- fundedAmount: number;
2943
- releasedAmount: number;
2944
- refundedAmount: number;
2945
- availableBalance: number;
2946
- transactions: {
2947
- id: string;
2948
- type: import("../index.js").EscrowTransactionType;
2949
- amount: number;
2950
- milestoneId?: string | undefined;
2951
- description: string;
2952
- createdAt: Date;
2953
- processedAt?: Date | undefined;
2954
- }[];
2955
- platformFeePercentage: number;
2956
- platformFeeAmount: number;
2957
- disputeReason?: string | undefined;
2958
- disputeResolvedAt?: Date | undefined;
2959
- stripePaymentIntentId?: string | undefined;
2960
- };
2961
- (options: import("mongoose").ToObjectOptions & {
2962
- flattenMaps: true;
2963
- flattenObjectIds: true;
2964
- virtuals: true;
2965
- }): {
2966
- status: EscrowStatus;
2967
- currency: string;
2968
- companyId: string;
2969
- createdAt: Date;
2970
- updatedAt: Date;
2971
- accountId: string;
2972
- totalAmount: number;
2973
- disputeId?: string | undefined;
2974
- contractId: string;
2975
- fundedAmount: number;
2976
- releasedAmount: number;
2977
- refundedAmount: number;
2978
- availableBalance: number;
2979
- transactions: {
2980
- id: string;
2981
- type: import("../index.js").EscrowTransactionType;
2982
- amount: number;
2983
- milestoneId?: string | undefined;
2984
- description: string;
2985
- createdAt: Date;
2986
- processedAt?: Date | undefined;
2987
- }[];
2988
- platformFeePercentage: number;
2989
- platformFeeAmount: number;
2990
- disputeReason?: string | undefined;
2991
- disputeResolvedAt?: Date | undefined;
2992
- stripePaymentIntentId?: string | undefined;
2993
- _id: string;
2994
- };
2995
- (options: import("mongoose").ToObjectOptions & {
2996
- flattenMaps: true;
2997
- flattenObjectIds: false;
2998
- virtuals: true;
2999
- versionKey: false;
3000
- }): Omit<import("mongoose").FlattenMaps<Omit<IEscrow, "id"> & {
3001
- _id: string;
3002
- } & Required<{
3003
- _id: string;
3004
- }>>, "__v">;
3005
- (options: import("mongoose").ToObjectOptions & {
3006
- flattenMaps: true;
3007
- flattenObjectIds: false;
3008
- virtuals: true;
3009
- }): import("mongoose").FlattenMaps<Omit<IEscrow, "id"> & {
3010
- _id: string;
3011
- } & Required<{
3012
- _id: string;
3013
- }>>;
3014
- (options: import("mongoose").ToObjectOptions & {
3015
- flattenMaps: true;
3016
- flattenObjectIds: true;
3017
- virtuals: false;
3018
- versionKey: false;
3019
- }): {
3020
- status: EscrowStatus;
3021
- currency: string;
3022
- companyId: string;
3023
- createdAt: Date;
3024
- updatedAt: Date;
3025
- _id: string;
3026
- accountId: string;
3027
- totalAmount: number;
3028
- disputeId?: string | undefined;
3029
- contractId: string;
3030
- fundedAmount: number;
3031
- releasedAmount: number;
3032
- refundedAmount: number;
3033
- availableBalance: number;
3034
- transactions: {
3035
- id: string;
3036
- type: import("../index.js").EscrowTransactionType;
3037
- amount: number;
3038
- milestoneId?: string | undefined;
3039
- description: string;
3040
- createdAt: Date;
3041
- processedAt?: Date | undefined;
3042
- }[];
3043
- platformFeePercentage: number;
3044
- platformFeeAmount: number;
3045
- disputeReason?: string | undefined;
3046
- disputeResolvedAt?: Date | undefined;
3047
- stripePaymentIntentId?: string | undefined;
3048
- };
3049
- (options: import("mongoose").ToObjectOptions & {
3050
- flattenMaps: true;
3051
- flattenObjectIds: true;
3052
- virtuals: false;
3053
- }): {
3054
- status: EscrowStatus;
3055
- currency: string;
3056
- companyId: string;
3057
- createdAt: Date;
3058
- updatedAt: Date;
3059
- accountId: string;
3060
- totalAmount: number;
3061
- disputeId?: string | undefined;
3062
- contractId: string;
3063
- fundedAmount: number;
3064
- releasedAmount: number;
3065
- refundedAmount: number;
3066
- availableBalance: number;
3067
- transactions: {
3068
- id: string;
3069
- type: import("../index.js").EscrowTransactionType;
3070
- amount: number;
3071
- milestoneId?: string | undefined;
3072
- description: string;
3073
- createdAt: Date;
3074
- processedAt?: Date | undefined;
3075
- }[];
3076
- platformFeePercentage: number;
3077
- platformFeeAmount: number;
3078
- disputeReason?: string | undefined;
3079
- disputeResolvedAt?: Date | undefined;
3080
- stripePaymentIntentId?: string | undefined;
3081
- _id: string;
3082
- };
3083
- (options: import("mongoose").ToObjectOptions & {
3084
- flattenMaps: true;
3085
- flattenObjectIds: false;
3086
- virtuals: false;
3087
- versionKey: false;
3088
- }): Omit<import("mongoose").FlattenMaps<Omit<IEscrow, "id"> & {
3089
- _id: string;
3090
- } & Required<{
3091
- _id: string;
3092
- }>>, "__v">;
3093
- (options: import("mongoose").ToObjectOptions & {
3094
- flattenMaps: true;
3095
- flattenObjectIds: false;
3096
- virtuals: false;
3097
- }): import("mongoose").FlattenMaps<Omit<IEscrow, "id"> & {
3098
- _id: string;
3099
- } & Required<{
3100
- _id: string;
3101
- }>>;
3102
- (options: import("mongoose").ToObjectOptions & {
3103
- flattenMaps: true;
3104
- flattenObjectIds: true;
3105
- virtuals: true;
3106
- }): {
3107
- status: EscrowStatus;
3108
- currency: string;
3109
- companyId: string;
3110
- createdAt: Date;
3111
- updatedAt: Date;
3112
- accountId: string;
3113
- totalAmount: number;
3114
- disputeId?: string | undefined;
3115
- contractId: string;
3116
- fundedAmount: number;
3117
- releasedAmount: number;
3118
- refundedAmount: number;
3119
- availableBalance: number;
3120
- transactions: {
3121
- id: string;
3122
- type: import("../index.js").EscrowTransactionType;
3123
- amount: number;
3124
- milestoneId?: string | undefined;
3125
- description: string;
3126
- createdAt: Date;
3127
- processedAt?: Date | undefined;
3128
- }[];
3129
- platformFeePercentage: number;
3130
- platformFeeAmount: number;
3131
- disputeReason?: string | undefined;
3132
- disputeResolvedAt?: Date | undefined;
3133
- stripePaymentIntentId?: string | undefined;
3134
- _id: string;
3135
- };
3136
- (options: import("mongoose").ToObjectOptions & {
3137
- flattenMaps: true;
3138
- flattenObjectIds: true;
3139
- }): {
3140
- status: EscrowStatus;
3141
- currency: string;
3142
- companyId: string;
3143
- createdAt: Date;
3144
- updatedAt: Date;
3145
- accountId: string;
3146
- totalAmount: number;
3147
- disputeId?: string | undefined;
3148
- contractId: string;
3149
- fundedAmount: number;
3150
- releasedAmount: number;
3151
- refundedAmount: number;
3152
- availableBalance: number;
3153
- transactions: {
3154
- id: string;
3155
- type: import("../index.js").EscrowTransactionType;
3156
- amount: number;
3157
- milestoneId?: string | undefined;
3158
- description: string;
3159
- createdAt: Date;
3160
- processedAt?: Date | undefined;
3161
- }[];
3162
- platformFeePercentage: number;
3163
- platformFeeAmount: number;
3164
- disputeReason?: string | undefined;
3165
- disputeResolvedAt?: Date | undefined;
3166
- stripePaymentIntentId?: string | undefined;
3167
- _id: string;
3168
- };
3169
- (options: import("mongoose").ToObjectOptions & {
3170
- flattenObjectIds: true;
3171
- virtuals: true;
3172
- }): {
3173
- status: EscrowStatus;
3174
- currency: string;
3175
- companyId: string;
3176
- createdAt: Date;
3177
- updatedAt: Date;
3178
- accountId: string;
3179
- totalAmount: number;
3180
- disputeId?: string | undefined;
3181
- contractId: string;
3182
- fundedAmount: number;
3183
- releasedAmount: number;
3184
- refundedAmount: number;
3185
- availableBalance: number;
3186
- transactions: {
3187
- id: string;
3188
- type: import("../index.js").EscrowTransactionType;
3189
- amount: number;
3190
- milestoneId?: string | undefined;
3191
- description: string;
3192
- createdAt: Date;
3193
- processedAt?: Date | undefined;
3194
- }[];
3195
- platformFeePercentage: number;
3196
- platformFeeAmount: number;
3197
- disputeReason?: string | undefined;
3198
- disputeResolvedAt?: Date | undefined;
3199
- stripePaymentIntentId?: string | undefined;
3200
- _id: string;
3201
- };
3202
- (options: import("mongoose").ToObjectOptions & {
3203
- flattenObjectIds: true;
3204
- }): {
3205
- status: EscrowStatus;
3206
- currency: string;
3207
- companyId: string;
3208
- createdAt: Date;
3209
- updatedAt: Date;
3210
- accountId: string;
3211
- totalAmount: number;
3212
- disputeId?: string | undefined;
3213
- contractId: string;
3214
- fundedAmount: number;
3215
- releasedAmount: number;
3216
- refundedAmount: number;
3217
- availableBalance: number;
3218
- transactions: {
3219
- id: string;
3220
- type: import("../index.js").EscrowTransactionType;
3221
- amount: number;
3222
- milestoneId?: string | undefined;
3223
- description: string;
3224
- createdAt: Date;
3225
- processedAt?: Date | undefined;
3226
- }[];
3227
- platformFeePercentage: number;
3228
- platformFeeAmount: number;
3229
- disputeReason?: string | undefined;
3230
- disputeResolvedAt?: Date | undefined;
3231
- stripePaymentIntentId?: string | undefined;
3232
- _id: string;
3233
- };
3234
- (options: import("mongoose").ToObjectOptions & {
3235
- flattenMaps: true;
3236
- virtuals: true;
3237
- }): import("mongoose").FlattenMaps<Omit<IEscrow, "id"> & {
3238
- _id: string;
3239
- } & Required<{
3240
- _id: string;
3241
- }>>;
3242
- (options: import("mongoose").ToObjectOptions & {
3243
- flattenMaps: true;
3244
- }): import("mongoose").FlattenMaps<Omit<IEscrow, "id"> & {
3245
- _id: string;
3246
- } & Required<{
3247
- _id: string;
3248
- }>>;
3249
- (options: import("mongoose").ToObjectOptions & {
3250
- versionKey: false;
3251
- flattenMaps: true;
3252
- flattenObjectIds: true;
3253
- virtuals: true;
3254
- }): {
3255
- status: EscrowStatus;
3256
- currency: string;
3257
- companyId: string;
3258
- createdAt: Date;
3259
- updatedAt: Date;
3260
- _id: string;
3261
- accountId: string;
3262
- totalAmount: number;
3263
- disputeId?: string | undefined;
3264
- contractId: string;
3265
- fundedAmount: number;
3266
- releasedAmount: number;
3267
- refundedAmount: number;
3268
- availableBalance: number;
3269
- transactions: {
3270
- id: string;
3271
- type: import("../index.js").EscrowTransactionType;
3272
- amount: number;
3273
- milestoneId?: string | undefined;
3274
- description: string;
3275
- createdAt: Date;
3276
- processedAt?: Date | undefined;
3277
- }[];
3278
- platformFeePercentage: number;
3279
- platformFeeAmount: number;
3280
- disputeReason?: string | undefined;
3281
- disputeResolvedAt?: Date | undefined;
3282
- stripePaymentIntentId?: string | undefined;
3283
- };
3284
- (options: import("mongoose").ToObjectOptions & {
3285
- versionKey: false;
3286
- flattenMaps: false;
3287
- flattenObjectIds: true;
3288
- virtuals: true;
3289
- }): {
3290
- status: EscrowStatus;
3291
- currency: string;
3292
- companyId: string;
3293
- createdAt: Date;
3294
- updatedAt: Date;
3295
- _id: string;
3296
- accountId: string;
3297
- totalAmount: number;
3298
- disputeId?: string | undefined;
3299
- contractId: string;
3300
- fundedAmount: number;
3301
- releasedAmount: number;
3302
- refundedAmount: number;
3303
- availableBalance: number;
3304
- transactions: {
3305
- id: string;
3306
- type: import("../index.js").EscrowTransactionType;
3307
- amount: number;
3308
- milestoneId?: string | undefined;
3309
- description: string;
3310
- createdAt: Date;
3311
- processedAt?: Date | undefined;
3312
- }[];
3313
- platformFeePercentage: number;
3314
- platformFeeAmount: number;
3315
- disputeReason?: string | undefined;
3316
- disputeResolvedAt?: Date | undefined;
3317
- stripePaymentIntentId?: string | undefined;
3318
- };
3319
- (options: import("mongoose").ToObjectOptions & {
3320
- versionKey: false;
3321
- flattenMaps: true;
3322
- virtuals: true;
3323
- }): Omit<import("mongoose").FlattenMaps<Omit<IEscrow, "id"> & {
3324
- _id: string;
3325
- } & Required<{
3326
- _id: string;
3327
- }>>, "__v">;
3328
- (options: import("mongoose").ToObjectOptions & {
3329
- versionKey: false;
3330
- flattenObjectIds: true;
3331
- virtuals: true;
3332
- }): {
3333
- status: EscrowStatus;
3334
- currency: string;
3335
- companyId: string;
3336
- createdAt: Date;
3337
- updatedAt: Date;
3338
- _id: string;
3339
- accountId: string;
3340
- totalAmount: number;
3341
- disputeId?: string | undefined;
3342
- contractId: string;
3343
- fundedAmount: number;
3344
- releasedAmount: number;
3345
- refundedAmount: number;
3346
- availableBalance: number;
3347
- transactions: {
3348
- id: string;
3349
- type: import("../index.js").EscrowTransactionType;
3350
- amount: number;
3351
- milestoneId?: string | undefined;
3352
- description: string;
3353
- createdAt: Date;
3354
- processedAt?: Date | undefined;
3355
- }[];
3356
- platformFeePercentage: number;
3357
- platformFeeAmount: number;
3358
- disputeReason?: string | undefined;
3359
- disputeResolvedAt?: Date | undefined;
3360
- stripePaymentIntentId?: string | undefined;
3361
- };
3362
- (options: import("mongoose").ToObjectOptions & {
3363
- versionKey: false;
3364
- virtuals: true;
3365
- }): Omit<Omit<IEscrow, "id"> & {
3366
- _id: string;
3367
- } & Required<{
3368
- _id: string;
3369
- }>, "__v">;
3370
- (options: import("mongoose").ToObjectOptions & {
3371
- versionKey: false;
3372
- flattenMaps: true;
3373
- flattenObjectIds: true;
3374
- }): {
3375
- status: EscrowStatus;
3376
- currency: string;
3377
- companyId: string;
3378
- createdAt: Date;
3379
- updatedAt: Date;
3380
- _id: string;
3381
- accountId: string;
3382
- totalAmount: number;
3383
- disputeId?: string | undefined;
3384
- contractId: string;
3385
- fundedAmount: number;
3386
- releasedAmount: number;
3387
- refundedAmount: number;
3388
- availableBalance: number;
3389
- transactions: {
3390
- id: string;
3391
- type: import("../index.js").EscrowTransactionType;
3392
- amount: number;
3393
- milestoneId?: string | undefined;
3394
- description: string;
3395
- createdAt: Date;
3396
- processedAt?: Date | undefined;
3397
- }[];
3398
- platformFeePercentage: number;
3399
- platformFeeAmount: number;
3400
- disputeReason?: string | undefined;
3401
- disputeResolvedAt?: Date | undefined;
3402
- stripePaymentIntentId?: string | undefined;
3403
- };
3404
- (options: import("mongoose").ToObjectOptions & {
3405
- versionKey: false;
3406
- flattenObjectIds: true;
3407
- }): {
3408
- status: EscrowStatus;
3409
- currency: string;
3410
- companyId: string;
3411
- createdAt: Date;
3412
- updatedAt: Date;
3413
- _id: string;
3414
- accountId: string;
3415
- totalAmount: number;
3416
- disputeId?: string | undefined;
3417
- contractId: string;
3418
- fundedAmount: number;
3419
- releasedAmount: number;
3420
- refundedAmount: number;
3421
- availableBalance: number;
3422
- transactions: {
3423
- id: string;
3424
- type: import("../index.js").EscrowTransactionType;
3425
- amount: number;
3426
- milestoneId?: string | undefined;
3427
- description: string;
3428
- createdAt: Date;
3429
- processedAt?: Date | undefined;
3430
- }[];
3431
- platformFeePercentage: number;
3432
- platformFeeAmount: number;
3433
- disputeReason?: string | undefined;
3434
- disputeResolvedAt?: Date | undefined;
3435
- stripePaymentIntentId?: string | undefined;
3436
- };
3437
- (options: import("mongoose").ToObjectOptions & {
3438
- versionKey: false;
3439
- flattenMaps: true;
3440
- }): Omit<import("mongoose").FlattenMaps<Omit<IEscrow, "id"> & {
3441
- _id: string;
3442
- } & Required<{
3443
- _id: string;
3444
- }>>, "__v">;
3445
- (options: import("mongoose").ToObjectOptions & {
3446
- versionKey: false;
3447
- }): Omit<Omit<IEscrow, "id"> & {
3448
- _id: string;
3449
- } & Required<{
3450
- _id: string;
3451
- }>, "__v">;
3452
- (options: import("mongoose").ToObjectOptions & {
3453
- virtuals: true;
3454
- }): Omit<IEscrow, "id"> & {
3455
- _id: string;
3456
- } & Required<{
3457
- _id: string;
3458
- }>;
3459
- (options?: import("mongoose").ToObjectOptions): Omit<IEscrow, "id"> & {
3460
- _id: string;
3461
- } & Required<{
3462
- _id: string;
3463
- }> & {
3464
- __v: number;
3465
- };
3466
- <T>(options?: import("mongoose").ToObjectOptions): import("mongoose").Require_id<T> & {
3467
- __v: number;
3468
- };
3469
- }, import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
3470
- _id: string;
3471
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
3472
- _id: string;
3473
- } & Required<{
3474
- _id: string;
3475
- }> & {
3476
- __v: number;
3477
- } & {
3478
- id: string;
3479
- }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
3480
- _id: string;
3481
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
3482
- _id: string;
3483
- } & Required<{
3484
- _id: string;
3485
- }> & {
3486
- __v: number;
3487
- } & {
3488
- id: string;
3489
- }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
3490
- _id: string;
3491
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
3492
- _id: string;
3493
- } & Required<{
3494
- _id: string;
3495
- }> & {
3496
- __v: number;
3497
- } & {
3498
- id: string;
3499
- }> | undefined;
3500
- unmarkModified?: import("mongoose").SchemaDefinitionProperty<{
3501
- <T extends "status" | "currency" | "companyId" | "createdAt" | "updatedAt" | "_id" | "accountId" | "totalAmount" | "disputeId" | "contractId" | "fundedAmount" | "releasedAmount" | "refundedAmount" | "availableBalance" | "transactions" | "platformFeePercentage" | "platformFeeAmount" | "disputeReason" | "disputeResolvedAt" | "stripePaymentIntentId">(path: T): void;
3502
- (path: string): void;
3503
- }, import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
3504
- _id: string;
3505
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
3506
- _id: string;
3507
- } & Required<{
3508
- _id: string;
3509
- }> & {
3510
- __v: number;
3511
- } & {
3512
- id: string;
3513
- }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
3514
- _id: string;
3515
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
3516
- _id: string;
3517
- } & Required<{
3518
- _id: string;
3519
- }> & {
3520
- __v: number;
3521
- } & {
3522
- id: string;
3523
- }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
3524
- _id: string;
3525
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
3526
- _id: string;
3527
- } & Required<{
3528
- _id: string;
3529
- }> & {
3530
- __v: number;
3531
- } & {
3532
- id: string;
3533
- }> | undefined;
3534
- updateOne?: import("mongoose").SchemaDefinitionProperty<(update?: import("mongoose").UpdateWithAggregationPipeline | import("mongoose").UpdateQuery<import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
3535
- _id: string;
3536
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
3537
- _id: string;
3538
- } & Required<{
3539
- _id: string;
3540
- }> & {
3541
- __v: number;
3542
- } & {
3543
- id: string;
3544
- }> | undefined, options?: import("mongoose").QueryOptions | null) => import("mongoose").Query<any, import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
3545
- _id: string;
3546
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
3547
- _id: string;
3548
- } & Required<{
3549
- _id: string;
3550
- }> & {
3551
- __v: number;
3552
- } & {
3553
- id: string;
3554
- }, {}, unknown, "find", Record<string, never>>, import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
3555
- _id: string;
3556
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
3557
- _id: string;
3558
- } & Required<{
3559
- _id: string;
3560
- }> & {
3561
- __v: number;
3562
- } & {
3563
- id: string;
3564
- }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
3565
- _id: string;
3566
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
3567
- _id: string;
3568
- } & Required<{
3569
- _id: string;
3570
- }> & {
3571
- __v: number;
3572
- } & {
3573
- id: string;
3574
- }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
3575
- _id: string;
3576
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
3577
- _id: string;
3578
- } & Required<{
3579
- _id: string;
3580
- }> & {
3581
- __v: number;
3582
- } & {
3583
- id: string;
3584
- }> | undefined;
3585
- validate?: import("mongoose").SchemaDefinitionProperty<{
3586
- <T extends "status" | "currency" | "companyId" | "createdAt" | "updatedAt" | "_id" | "accountId" | "totalAmount" | "disputeId" | "contractId" | "fundedAmount" | "releasedAmount" | "refundedAmount" | "availableBalance" | "transactions" | "platformFeePercentage" | "platformFeeAmount" | "disputeReason" | "disputeResolvedAt" | "stripePaymentIntentId">(pathsToValidate?: T | T[] | undefined, options?: import("mongoose").AnyObject): Promise<void>;
3587
- (pathsToValidate?: import("mongoose").pathsToValidate, options?: import("mongoose").AnyObject): Promise<void>;
3588
- (options: {
3589
- pathsToSkip?: import("mongoose").pathsToSkip;
3590
- }): Promise<void>;
3591
- }, import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
3592
- _id: string;
3593
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
3594
- _id: string;
3595
- } & Required<{
3596
- _id: string;
3597
- }> & {
3598
- __v: number;
3599
- } & {
3600
- id: string;
3601
- }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
3602
- _id: string;
3603
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
3604
- _id: string;
3605
- } & Required<{
3606
- _id: string;
3607
- }> & {
3608
- __v: number;
3609
- } & {
3610
- id: string;
3611
- }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
3612
- _id: string;
3613
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
3614
- _id: string;
3615
- } & Required<{
3616
- _id: string;
3617
- }> & {
3618
- __v: number;
3619
- } & {
3620
- id: string;
3621
- }> | undefined;
3622
- validateSync?: import("mongoose").SchemaDefinitionProperty<{
3623
- (options: {
3624
- pathsToSkip?: import("mongoose").pathsToSkip;
3625
- [k: string]: any;
3626
- }): import("mongoose").Error.ValidationError | null;
3627
- <T extends "status" | "currency" | "companyId" | "createdAt" | "updatedAt" | "_id" | "accountId" | "totalAmount" | "disputeId" | "contractId" | "fundedAmount" | "releasedAmount" | "refundedAmount" | "availableBalance" | "transactions" | "platformFeePercentage" | "platformFeeAmount" | "disputeReason" | "disputeResolvedAt" | "stripePaymentIntentId">(pathsToValidate?: T | T[] | undefined, options?: import("mongoose").AnyObject): import("mongoose").Error.ValidationError | null;
3628
- (pathsToValidate?: import("mongoose").pathsToValidate, options?: import("mongoose").AnyObject): import("mongoose").Error.ValidationError | null;
3629
- }, import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
3630
- _id: string;
3631
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
3632
- _id: string;
3633
- } & Required<{
3634
- _id: string;
3635
- }> & {
3636
- __v: number;
3637
- } & {
3638
- id: string;
3639
- }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
3640
- _id: string;
3641
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
3642
- _id: string;
3643
- } & Required<{
3644
- _id: string;
3645
- }> & {
3646
- __v: number;
3647
- } & {
3648
- id: string;
3649
- }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
3650
- _id: string;
3651
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
3652
- _id: string;
3653
- } & Required<{
3654
- _id: string;
3655
- }> & {
3656
- __v: number;
3657
- } & {
3658
- id: string;
3659
- }> | undefined;
3660
- status?: import("mongoose").SchemaDefinitionProperty<EscrowStatus, import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
3661
- _id: string;
3662
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
3663
- _id: string;
3664
- } & Required<{
3665
- _id: string;
3666
- }> & {
3667
- __v: number;
3668
- } & {
3669
- id: string;
3670
- }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
3671
- _id: string;
3672
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
3673
- _id: string;
3674
- } & Required<{
3675
- _id: string;
3676
- }> & {
3677
- __v: number;
3678
- } & {
3679
- id: string;
3680
- }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
3681
- _id: string;
3682
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
3683
- _id: string;
3684
- } & Required<{
3685
- _id: string;
3686
- }> & {
3687
- __v: number;
3688
- } & {
3689
- id: string;
3690
- }> | undefined;
3691
- currency?: import("mongoose").SchemaDefinitionProperty<string, import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
3692
- _id: string;
3693
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
3694
- _id: string;
3695
- } & Required<{
3696
- _id: string;
3697
- }> & {
3698
- __v: number;
3699
- } & {
3700
- id: string;
3701
- }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
3702
- _id: string;
3703
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
3704
- _id: string;
3705
- } & Required<{
3706
- _id: string;
3707
- }> & {
3708
- __v: number;
3709
- } & {
3710
- id: string;
3711
- }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
3712
- _id: string;
3713
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
3714
- _id: string;
3715
- } & Required<{
3716
- _id: string;
3717
- }> & {
3718
- __v: number;
3719
- } & {
3720
- id: string;
3721
- }> | undefined;
3722
- companyId?: import("mongoose").SchemaDefinitionProperty<string, import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
3723
- _id: string;
3724
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
3725
- _id: string;
3726
- } & Required<{
3727
- _id: string;
3728
- }> & {
3729
- __v: number;
3730
- } & {
3731
- id: string;
3732
- }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
3733
- _id: string;
3734
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
3735
- _id: string;
3736
- } & Required<{
3737
- _id: string;
3738
- }> & {
3739
- __v: number;
3740
- } & {
3741
- id: string;
3742
- }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
3743
- _id: string;
3744
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
3745
- _id: string;
3746
- } & Required<{
3747
- _id: string;
3748
- }> & {
3749
- __v: number;
3750
- } & {
3751
- id: string;
3752
- }> | undefined;
3753
- createdAt?: import("mongoose").SchemaDefinitionProperty<Date, import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
3754
- _id: string;
3755
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
3756
- _id: string;
3757
- } & Required<{
3758
- _id: string;
3759
- }> & {
3760
- __v: number;
3761
- } & {
3762
- id: string;
3763
- }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
3764
- _id: string;
3765
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
3766
- _id: string;
3767
- } & Required<{
3768
- _id: string;
3769
- }> & {
3770
- __v: number;
3771
- } & {
3772
- id: string;
3773
- }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
3774
- _id: string;
3775
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
3776
- _id: string;
3777
- } & Required<{
3778
- _id: string;
3779
- }> & {
3780
- __v: number;
3781
- } & {
3782
- id: string;
3783
- }> | undefined;
3784
- updatedAt?: import("mongoose").SchemaDefinitionProperty<Date, import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
3785
- _id: string;
3786
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
3787
- _id: string;
3788
- } & Required<{
3789
- _id: string;
3790
- }> & {
3791
- __v: number;
3792
- } & {
3793
- id: string;
3794
- }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
3795
- _id: string;
3796
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
3797
- _id: string;
3798
- } & Required<{
3799
- _id: string;
3800
- }> & {
3801
- __v: number;
3802
- } & {
3803
- id: string;
3804
- }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
3805
- _id: string;
3806
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
3807
- _id: string;
3808
- } & Required<{
3809
- _id: string;
3810
- }> & {
3811
- __v: number;
3812
- } & {
3813
- id: string;
3814
- }> | undefined;
3815
- accountId?: import("mongoose").SchemaDefinitionProperty<string, import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
3816
- _id: string;
3817
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
3818
- _id: string;
3819
- } & Required<{
3820
- _id: string;
3821
- }> & {
3822
- __v: number;
3823
- } & {
3824
- id: string;
3825
- }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
3826
- _id: string;
3827
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
3828
- _id: string;
3829
- } & Required<{
3830
- _id: string;
3831
- }> & {
3832
- __v: number;
3833
- } & {
3834
- id: string;
3835
- }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
3836
- _id: string;
3837
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
3838
- _id: string;
3839
- } & Required<{
3840
- _id: string;
3841
- }> & {
3842
- __v: number;
3843
- } & {
3844
- id: string;
3845
- }> | undefined;
3846
- totalAmount?: import("mongoose").SchemaDefinitionProperty<number, import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
3847
- _id: string;
3848
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
3849
- _id: string;
3850
- } & Required<{
3851
- _id: string;
3852
- }> & {
3853
- __v: number;
3854
- } & {
3855
- id: string;
3856
- }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
3857
- _id: string;
3858
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
3859
- _id: string;
3860
- } & Required<{
3861
- _id: string;
3862
- }> & {
3863
- __v: number;
3864
- } & {
3865
- id: string;
3866
- }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
3867
- _id: string;
3868
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
3869
- _id: string;
3870
- } & Required<{
3871
- _id: string;
3872
- }> & {
3873
- __v: number;
3874
- } & {
3875
- id: string;
3876
- }> | undefined;
3877
- disputeId?: import("mongoose").SchemaDefinitionProperty<string | undefined, import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
3878
- _id: string;
3879
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
3880
- _id: string;
3881
- } & Required<{
3882
- _id: string;
3883
- }> & {
3884
- __v: number;
3885
- } & {
3886
- id: string;
3887
- }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
3888
- _id: string;
3889
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
3890
- _id: string;
3891
- } & Required<{
3892
- _id: string;
3893
- }> & {
3894
- __v: number;
3895
- } & {
3896
- id: string;
3897
- }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
3898
- _id: string;
3899
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
3900
- _id: string;
3901
- } & Required<{
3902
- _id: string;
3903
- }> & {
3904
- __v: number;
3905
- } & {
3906
- id: string;
3907
- }> | undefined;
3908
- contractId?: import("mongoose").SchemaDefinitionProperty<string, import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
3909
- _id: string;
3910
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
3911
- _id: string;
3912
- } & Required<{
3913
- _id: string;
3914
- }> & {
3915
- __v: number;
3916
- } & {
3917
- id: string;
3918
- }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
3919
- _id: string;
3920
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
3921
- _id: string;
3922
- } & Required<{
3923
- _id: string;
3924
- }> & {
3925
- __v: number;
3926
- } & {
3927
- id: string;
3928
- }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
3929
- _id: string;
3930
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
3931
- _id: string;
3932
- } & Required<{
3933
- _id: string;
3934
- }> & {
3935
- __v: number;
3936
- } & {
3937
- id: string;
3938
- }> | undefined;
3939
- fundedAmount?: import("mongoose").SchemaDefinitionProperty<number, import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
3940
- _id: string;
3941
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
3942
- _id: string;
3943
- } & Required<{
3944
- _id: string;
3945
- }> & {
3946
- __v: number;
3947
- } & {
3948
- id: string;
3949
- }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
3950
- _id: string;
3951
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
3952
- _id: string;
3953
- } & Required<{
3954
- _id: string;
3955
- }> & {
3956
- __v: number;
3957
- } & {
3958
- id: string;
3959
- }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
3960
- _id: string;
3961
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
3962
- _id: string;
3963
- } & Required<{
3964
- _id: string;
3965
- }> & {
3966
- __v: number;
3967
- } & {
3968
- id: string;
3969
- }> | undefined;
3970
- releasedAmount?: import("mongoose").SchemaDefinitionProperty<number, import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
3971
- _id: string;
3972
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
3973
- _id: string;
3974
- } & Required<{
3975
- _id: string;
3976
- }> & {
3977
- __v: number;
3978
- } & {
3979
- id: string;
3980
- }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
3981
- _id: string;
3982
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
3983
- _id: string;
3984
- } & Required<{
3985
- _id: string;
3986
- }> & {
3987
- __v: number;
3988
- } & {
3989
- id: string;
3990
- }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
3991
- _id: string;
3992
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
3993
- _id: string;
3994
- } & Required<{
3995
- _id: string;
3996
- }> & {
3997
- __v: number;
3998
- } & {
3999
- id: string;
4000
- }> | undefined;
4001
- refundedAmount?: import("mongoose").SchemaDefinitionProperty<number, import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
4002
- _id: string;
4003
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
4004
- _id: string;
4005
- } & Required<{
4006
- _id: string;
4007
- }> & {
4008
- __v: number;
4009
- } & {
4010
- id: string;
4011
- }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
4012
- _id: string;
4013
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
4014
- _id: string;
4015
- } & Required<{
4016
- _id: string;
4017
- }> & {
4018
- __v: number;
4019
- } & {
4020
- id: string;
4021
- }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
4022
- _id: string;
4023
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
4024
- _id: string;
4025
- } & Required<{
4026
- _id: string;
4027
- }> & {
4028
- __v: number;
4029
- } & {
4030
- id: string;
4031
- }> | undefined;
4032
- availableBalance?: import("mongoose").SchemaDefinitionProperty<number, import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
4033
- _id: string;
4034
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
4035
- _id: string;
4036
- } & Required<{
4037
- _id: string;
4038
- }> & {
4039
- __v: number;
4040
- } & {
4041
- id: string;
4042
- }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
4043
- _id: string;
4044
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
4045
- _id: string;
4046
- } & Required<{
4047
- _id: string;
4048
- }> & {
4049
- __v: number;
4050
- } & {
4051
- id: string;
4052
- }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
4053
- _id: string;
4054
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
4055
- _id: string;
4056
- } & Required<{
4057
- _id: string;
4058
- }> & {
4059
- __v: number;
4060
- } & {
4061
- id: string;
4062
- }> | undefined;
4063
- transactions?: import("mongoose").SchemaDefinitionProperty<IEscrowTransaction[], import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
4064
- _id: string;
4065
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
4066
- _id: string;
4067
- } & Required<{
4068
- _id: string;
4069
- }> & {
4070
- __v: number;
4071
- } & {
4072
- id: string;
4073
- }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
4074
- _id: string;
4075
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
4076
- _id: string;
4077
- } & Required<{
4078
- _id: string;
4079
- }> & {
4080
- __v: number;
4081
- } & {
4082
- id: string;
4083
- }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
4084
- _id: string;
4085
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
4086
- _id: string;
4087
- } & Required<{
4088
- _id: string;
4089
- }> & {
4090
- __v: number;
4091
- } & {
4092
- id: string;
4093
- }> | undefined;
4094
- platformFeePercentage?: import("mongoose").SchemaDefinitionProperty<number, import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
4095
- _id: string;
4096
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
4097
- _id: string;
4098
- } & Required<{
4099
- _id: string;
4100
- }> & {
4101
- __v: number;
4102
- } & {
4103
- id: string;
4104
- }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
4105
- _id: string;
4106
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
4107
- _id: string;
4108
- } & Required<{
4109
- _id: string;
4110
- }> & {
4111
- __v: number;
4112
- } & {
4113
- id: string;
4114
- }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
4115
- _id: string;
4116
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
4117
- _id: string;
4118
- } & Required<{
4119
- _id: string;
4120
- }> & {
4121
- __v: number;
4122
- } & {
4123
- id: string;
4124
- }> | undefined;
4125
- platformFeeAmount?: import("mongoose").SchemaDefinitionProperty<number, import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
4126
- _id: string;
4127
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
4128
- _id: string;
4129
- } & Required<{
4130
- _id: string;
4131
- }> & {
4132
- __v: number;
4133
- } & {
4134
- id: string;
4135
- }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
4136
- _id: string;
4137
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
4138
- _id: string;
4139
- } & Required<{
4140
- _id: string;
4141
- }> & {
4142
- __v: number;
4143
- } & {
4144
- id: string;
4145
- }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
4146
- _id: string;
4147
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
4148
- _id: string;
4149
- } & Required<{
4150
- _id: string;
4151
- }> & {
4152
- __v: number;
4153
- } & {
4154
- id: string;
4155
- }> | undefined;
4156
- disputeReason?: import("mongoose").SchemaDefinitionProperty<string | undefined, import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
4157
- _id: string;
4158
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
4159
- _id: string;
4160
- } & Required<{
4161
- _id: string;
4162
- }> & {
4163
- __v: number;
4164
- } & {
4165
- id: string;
4166
- }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
4167
- _id: string;
4168
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
4169
- _id: string;
4170
- } & Required<{
4171
- _id: string;
4172
- }> & {
4173
- __v: number;
4174
- } & {
4175
- id: string;
4176
- }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
4177
- _id: string;
4178
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
4179
- _id: string;
4180
- } & Required<{
4181
- _id: string;
4182
- }> & {
4183
- __v: number;
4184
- } & {
4185
- id: string;
4186
- }> | undefined;
4187
- disputeResolvedAt?: import("mongoose").SchemaDefinitionProperty<Date | undefined, import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
4188
- _id: string;
4189
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
4190
- _id: string;
4191
- } & Required<{
4192
- _id: string;
4193
- }> & {
4194
- __v: number;
4195
- } & {
4196
- id: string;
4197
- }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
4198
- _id: string;
4199
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
4200
- _id: string;
4201
- } & Required<{
4202
- _id: string;
4203
- }> & {
4204
- __v: number;
4205
- } & {
4206
- id: string;
4207
- }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
4208
- _id: string;
4209
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
4210
- _id: string;
4211
- } & Required<{
4212
- _id: string;
4213
- }> & {
4214
- __v: number;
4215
- } & {
4216
- id: string;
4217
- }> | undefined;
4218
- stripePaymentIntentId?: import("mongoose").SchemaDefinitionProperty<string | undefined, import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
4219
- _id: string;
4220
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
4221
- _id: string;
4222
- } & Required<{
4223
- _id: string;
4224
- }> & {
4225
- __v: number;
4226
- } & {
4227
- id: string;
4228
- }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
4229
- _id: string;
4230
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
4231
- _id: string;
4232
- } & Required<{
4233
- _id: string;
4234
- }> & {
4235
- __v: number;
4236
- } & {
4237
- id: string;
4238
- }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
4239
- _id: string;
4240
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
4241
- _id: string;
4242
- } & Required<{
4243
- _id: string;
4244
- }> & {
4245
- __v: number;
4246
- } & {
4247
- id: string;
4248
- }> | undefined;
4249
- __v?: import("mongoose").SchemaDefinitionProperty<number, import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
4250
- _id: string;
4251
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
4252
- _id: string;
4253
- } & Required<{
4254
- _id: string;
4255
- }> & {
4256
- __v: number;
4257
- } & {
4258
- id: string;
4259
- }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
4260
- _id: string;
4261
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
4262
- _id: string;
4263
- } & Required<{
4264
- _id: string;
4265
- }> & {
4266
- __v: number;
4267
- } & {
4268
- id: string;
4269
- }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
4270
- _id: string;
4271
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
4272
- _id: string;
4273
- } & Required<{
4274
- _id: string;
4275
- }> & {
4276
- __v: number;
4277
- } & {
4278
- id: string;
4279
- }> | undefined;
4280
- id?: import("mongoose").SchemaDefinitionProperty<string, import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
4281
- _id: string;
4282
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
4283
- _id: string;
4284
- } & Required<{
4285
- _id: string;
4286
- }> & {
4287
- __v: number;
4288
- } & {
4289
- id: string;
4290
- }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
4291
- _id: string;
4292
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
4293
- _id: string;
4294
- } & Required<{
4295
- _id: string;
4296
- }> & {
4297
- __v: number;
4298
- } & {
4299
- id: string;
4300
- }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
4301
- _id: string;
4302
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
4303
- _id: string;
4304
- } & Required<{
4305
- _id: string;
4306
- }> & {
4307
- __v: number;
4308
- } & {
4309
- id: string;
4310
- }> | undefined;
4311
- }, import("mongoose").Document<unknown, {}, Omit<IEscrow, "id"> & {
4312
- _id: string;
4313
- }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IEscrow, "id"> & {
4314
- _id: string;
4315
- } & Required<{
46
+ }> & Required<{
4316
47
  _id: string;
4317
48
  }> & {
4318
49
  __v: number;
4319
- } & {
4320
- id: string;
4321
50
  }>;
4322
51
  //# sourceMappingURL=escrow.schema.d.ts.map