@managesome/knotr-toolkit 0.8.5 → 0.8.7

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