@managesome/knotr-toolkit 0.8.13 → 0.8.15

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