@managesome/knotr-toolkit 0.8.13 → 0.8.14

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