@intlayer/backend 8.12.0-canary.0 → 8.12.0

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.
@@ -13,7 +13,7 @@ declare const promoCodeSchema: Schema<PromoCodeSchema, import("mongoose").Model<
13
13
  }, "id"> & {
14
14
  id: string;
15
15
  }, {
16
- createdAt?: import("mongoose").SchemaDefinitionProperty<Date, PromoCodeSchema, import("mongoose").Document<unknown, {}, PromoCodeSchema, {
16
+ code?: import("mongoose").SchemaDefinitionProperty<string, PromoCodeSchema, import("mongoose").Document<unknown, {}, PromoCodeSchema, {
17
17
  id: string;
18
18
  }, import("mongoose").DefaultSchemaOptions> & Omit<Omit<PromoCode, "id"> & {
19
19
  _id: import("mongoose").Types.ObjectId;
@@ -24,7 +24,7 @@ declare const promoCodeSchema: Schema<PromoCodeSchema, import("mongoose").Model<
24
24
  }, "id"> & {
25
25
  id: string;
26
26
  }>;
27
- updatedAt?: import("mongoose").SchemaDefinitionProperty<Date, PromoCodeSchema, import("mongoose").Document<unknown, {}, PromoCodeSchema, {
27
+ stripeCouponId?: import("mongoose").SchemaDefinitionProperty<string, PromoCodeSchema, import("mongoose").Document<unknown, {}, PromoCodeSchema, {
28
28
  id: string;
29
29
  }, import("mongoose").DefaultSchemaOptions> & Omit<Omit<PromoCode, "id"> & {
30
30
  _id: import("mongoose").Types.ObjectId;
@@ -35,7 +35,7 @@ declare const promoCodeSchema: Schema<PromoCodeSchema, import("mongoose").Model<
35
35
  }, "id"> & {
36
36
  id: string;
37
37
  }>;
38
- code?: import("mongoose").SchemaDefinitionProperty<string, PromoCodeSchema, import("mongoose").Document<unknown, {}, PromoCodeSchema, {
38
+ stripePromotionCodeId?: import("mongoose").SchemaDefinitionProperty<string, PromoCodeSchema, import("mongoose").Document<unknown, {}, PromoCodeSchema, {
39
39
  id: string;
40
40
  }, import("mongoose").DefaultSchemaOptions> & Omit<Omit<PromoCode, "id"> & {
41
41
  _id: import("mongoose").Types.ObjectId;
@@ -46,7 +46,7 @@ declare const promoCodeSchema: Schema<PromoCodeSchema, import("mongoose").Model<
46
46
  }, "id"> & {
47
47
  id: string;
48
48
  }>;
49
- expiresAt?: import("mongoose").SchemaDefinitionProperty<Date, PromoCodeSchema, import("mongoose").Document<unknown, {}, PromoCodeSchema, {
49
+ affiliateId?: import("mongoose").SchemaDefinitionProperty<import("mongoose").Types.ObjectId, PromoCodeSchema, import("mongoose").Document<unknown, {}, PromoCodeSchema, {
50
50
  id: string;
51
51
  }, import("mongoose").DefaultSchemaOptions> & Omit<Omit<PromoCode, "id"> & {
52
52
  _id: import("mongoose").Types.ObjectId;
@@ -57,7 +57,7 @@ declare const promoCodeSchema: Schema<PromoCodeSchema, import("mongoose").Model<
57
57
  }, "id"> & {
58
58
  id: string;
59
59
  }>;
60
- active?: import("mongoose").SchemaDefinitionProperty<boolean, PromoCodeSchema, import("mongoose").Document<unknown, {}, PromoCodeSchema, {
60
+ discountType?: import("mongoose").SchemaDefinitionProperty<"percentage" | "amount", PromoCodeSchema, import("mongoose").Document<unknown, {}, PromoCodeSchema, {
61
61
  id: string;
62
62
  }, import("mongoose").DefaultSchemaOptions> & Omit<Omit<PromoCode, "id"> & {
63
63
  _id: import("mongoose").Types.ObjectId;
@@ -68,7 +68,7 @@ declare const promoCodeSchema: Schema<PromoCodeSchema, import("mongoose").Model<
68
68
  }, "id"> & {
69
69
  id: string;
70
70
  }>;
71
- currency?: import("mongoose").SchemaDefinitionProperty<string, PromoCodeSchema, import("mongoose").Document<unknown, {}, PromoCodeSchema, {
71
+ discountValue?: import("mongoose").SchemaDefinitionProperty<number, PromoCodeSchema, import("mongoose").Document<unknown, {}, PromoCodeSchema, {
72
72
  id: string;
73
73
  }, import("mongoose").DefaultSchemaOptions> & Omit<Omit<PromoCode, "id"> & {
74
74
  _id: import("mongoose").Types.ObjectId;
@@ -79,7 +79,7 @@ declare const promoCodeSchema: Schema<PromoCodeSchema, import("mongoose").Model<
79
79
  }, "id"> & {
80
80
  id: string;
81
81
  }>;
82
- affiliateId?: import("mongoose").SchemaDefinitionProperty<import("mongoose").Types.ObjectId, PromoCodeSchema, import("mongoose").Document<unknown, {}, PromoCodeSchema, {
82
+ currency?: import("mongoose").SchemaDefinitionProperty<string, PromoCodeSchema, import("mongoose").Document<unknown, {}, PromoCodeSchema, {
83
83
  id: string;
84
84
  }, import("mongoose").DefaultSchemaOptions> & Omit<Omit<PromoCode, "id"> & {
85
85
  _id: import("mongoose").Types.ObjectId;
@@ -90,7 +90,7 @@ declare const promoCodeSchema: Schema<PromoCodeSchema, import("mongoose").Model<
90
90
  }, "id"> & {
91
91
  id: string;
92
92
  }>;
93
- stripeCouponId?: import("mongoose").SchemaDefinitionProperty<string, PromoCodeSchema, import("mongoose").Document<unknown, {}, PromoCodeSchema, {
93
+ maxRedemptions?: import("mongoose").SchemaDefinitionProperty<number, PromoCodeSchema, import("mongoose").Document<unknown, {}, PromoCodeSchema, {
94
94
  id: string;
95
95
  }, import("mongoose").DefaultSchemaOptions> & Omit<Omit<PromoCode, "id"> & {
96
96
  _id: import("mongoose").Types.ObjectId;
@@ -101,7 +101,7 @@ declare const promoCodeSchema: Schema<PromoCodeSchema, import("mongoose").Model<
101
101
  }, "id"> & {
102
102
  id: string;
103
103
  }>;
104
- stripePromotionCodeId?: import("mongoose").SchemaDefinitionProperty<string, PromoCodeSchema, import("mongoose").Document<unknown, {}, PromoCodeSchema, {
104
+ timesRedeemed?: import("mongoose").SchemaDefinitionProperty<number, PromoCodeSchema, import("mongoose").Document<unknown, {}, PromoCodeSchema, {
105
105
  id: string;
106
106
  }, import("mongoose").DefaultSchemaOptions> & Omit<Omit<PromoCode, "id"> & {
107
107
  _id: import("mongoose").Types.ObjectId;
@@ -112,7 +112,7 @@ declare const promoCodeSchema: Schema<PromoCodeSchema, import("mongoose").Model<
112
112
  }, "id"> & {
113
113
  id: string;
114
114
  }>;
115
- discountType?: import("mongoose").SchemaDefinitionProperty<"percentage" | "amount", PromoCodeSchema, import("mongoose").Document<unknown, {}, PromoCodeSchema, {
115
+ active?: import("mongoose").SchemaDefinitionProperty<boolean, PromoCodeSchema, import("mongoose").Document<unknown, {}, PromoCodeSchema, {
116
116
  id: string;
117
117
  }, import("mongoose").DefaultSchemaOptions> & Omit<Omit<PromoCode, "id"> & {
118
118
  _id: import("mongoose").Types.ObjectId;
@@ -123,7 +123,7 @@ declare const promoCodeSchema: Schema<PromoCodeSchema, import("mongoose").Model<
123
123
  }, "id"> & {
124
124
  id: string;
125
125
  }>;
126
- discountValue?: import("mongoose").SchemaDefinitionProperty<number, PromoCodeSchema, import("mongoose").Document<unknown, {}, PromoCodeSchema, {
126
+ expiresAt?: import("mongoose").SchemaDefinitionProperty<Date, PromoCodeSchema, import("mongoose").Document<unknown, {}, PromoCodeSchema, {
127
127
  id: string;
128
128
  }, import("mongoose").DefaultSchemaOptions> & Omit<Omit<PromoCode, "id"> & {
129
129
  _id: import("mongoose").Types.ObjectId;
@@ -134,7 +134,7 @@ declare const promoCodeSchema: Schema<PromoCodeSchema, import("mongoose").Model<
134
134
  }, "id"> & {
135
135
  id: string;
136
136
  }>;
137
- maxRedemptions?: import("mongoose").SchemaDefinitionProperty<number, PromoCodeSchema, import("mongoose").Document<unknown, {}, PromoCodeSchema, {
137
+ createdAt?: import("mongoose").SchemaDefinitionProperty<Date, PromoCodeSchema, import("mongoose").Document<unknown, {}, PromoCodeSchema, {
138
138
  id: string;
139
139
  }, import("mongoose").DefaultSchemaOptions> & Omit<Omit<PromoCode, "id"> & {
140
140
  _id: import("mongoose").Types.ObjectId;
@@ -145,7 +145,7 @@ declare const promoCodeSchema: Schema<PromoCodeSchema, import("mongoose").Model<
145
145
  }, "id"> & {
146
146
  id: string;
147
147
  }>;
148
- timesRedeemed?: import("mongoose").SchemaDefinitionProperty<number, PromoCodeSchema, import("mongoose").Document<unknown, {}, PromoCodeSchema, {
148
+ updatedAt?: import("mongoose").SchemaDefinitionProperty<Date, PromoCodeSchema, import("mongoose").Document<unknown, {}, PromoCodeSchema, {
149
149
  id: string;
150
150
  }, import("mongoose").DefaultSchemaOptions> & Omit<Omit<PromoCode, "id"> & {
151
151
  _id: import("mongoose").Types.ObjectId;
@@ -13,7 +13,7 @@ declare const reviewerProfileSchema: Schema<ReviewerProfileSchema, import("mongo
13
13
  }, "id"> & {
14
14
  id: string;
15
15
  }, {
16
- name?: import("mongoose").SchemaDefinitionProperty<string, ReviewerProfileSchema, import("mongoose").Document<unknown, {}, ReviewerProfileSchema, {
16
+ createdAt?: import("mongoose").SchemaDefinitionProperty<Date, ReviewerProfileSchema, import("mongoose").Document<unknown, {}, ReviewerProfileSchema, {
17
17
  id: string;
18
18
  }, import("mongoose").DefaultSchemaOptions> & Omit<Omit<ReviewerProfile, "id"> & {
19
19
  _id: import("mongoose").Types.ObjectId;
@@ -24,7 +24,7 @@ declare const reviewerProfileSchema: Schema<ReviewerProfileSchema, import("mongo
24
24
  }, "id"> & {
25
25
  id: string;
26
26
  }>;
27
- createdAt?: import("mongoose").SchemaDefinitionProperty<Date, ReviewerProfileSchema, import("mongoose").Document<unknown, {}, ReviewerProfileSchema, {
27
+ updatedAt?: import("mongoose").SchemaDefinitionProperty<Date, ReviewerProfileSchema, import("mongoose").Document<unknown, {}, ReviewerProfileSchema, {
28
28
  id: string;
29
29
  }, import("mongoose").DefaultSchemaOptions> & Omit<Omit<ReviewerProfile, "id"> & {
30
30
  _id: import("mongoose").Types.ObjectId;
@@ -35,7 +35,7 @@ declare const reviewerProfileSchema: Schema<ReviewerProfileSchema, import("mongo
35
35
  }, "id"> & {
36
36
  id: string;
37
37
  }>;
38
- updatedAt?: import("mongoose").SchemaDefinitionProperty<Date, ReviewerProfileSchema, import("mongoose").Document<unknown, {}, ReviewerProfileSchema, {
38
+ name?: import("mongoose").SchemaDefinitionProperty<string, ReviewerProfileSchema, import("mongoose").Document<unknown, {}, ReviewerProfileSchema, {
39
39
  id: string;
40
40
  }, import("mongoose").DefaultSchemaOptions> & Omit<Omit<ReviewerProfile, "id"> & {
41
41
  _id: import("mongoose").Types.ObjectId;
@@ -57,7 +57,7 @@ declare const reviewerProfileSchema: Schema<ReviewerProfileSchema, import("mongo
57
57
  }, "id"> & {
58
58
  id: string;
59
59
  }>;
60
- status?: import("mongoose").SchemaDefinitionProperty<ReviewerStatus, ReviewerProfileSchema, import("mongoose").Document<unknown, {}, ReviewerProfileSchema, {
60
+ bio?: import("mongoose").SchemaDefinitionProperty<string, ReviewerProfileSchema, import("mongoose").Document<unknown, {}, ReviewerProfileSchema, {
61
61
  id: string;
62
62
  }, import("mongoose").DefaultSchemaOptions> & Omit<Omit<ReviewerProfile, "id"> & {
63
63
  _id: import("mongoose").Types.ObjectId;
@@ -68,7 +68,7 @@ declare const reviewerProfileSchema: Schema<ReviewerProfileSchema, import("mongo
68
68
  }, "id"> & {
69
69
  id: string;
70
70
  }>;
71
- totalMissions?: import("mongoose").SchemaDefinitionProperty<number, ReviewerProfileSchema, import("mongoose").Document<unknown, {}, ReviewerProfileSchema, {
71
+ mainPicture?: import("mongoose").SchemaDefinitionProperty<string, ReviewerProfileSchema, import("mongoose").Document<unknown, {}, ReviewerProfileSchema, {
72
72
  id: string;
73
73
  }, import("mongoose").DefaultSchemaOptions> & Omit<Omit<ReviewerProfile, "id"> & {
74
74
  _id: import("mongoose").Types.ObjectId;
@@ -79,7 +79,7 @@ declare const reviewerProfileSchema: Schema<ReviewerProfileSchema, import("mongo
79
79
  }, "id"> & {
80
80
  id: string;
81
81
  }>;
82
- averageRating?: import("mongoose").SchemaDefinitionProperty<number, ReviewerProfileSchema, import("mongoose").Document<unknown, {}, ReviewerProfileSchema, {
82
+ coverPicture?: import("mongoose").SchemaDefinitionProperty<string, ReviewerProfileSchema, import("mongoose").Document<unknown, {}, ReviewerProfileSchema, {
83
83
  id: string;
84
84
  }, import("mongoose").DefaultSchemaOptions> & Omit<Omit<ReviewerProfile, "id"> & {
85
85
  _id: import("mongoose").Types.ObjectId;
@@ -90,7 +90,7 @@ declare const reviewerProfileSchema: Schema<ReviewerProfileSchema, import("mongo
90
90
  }, "id"> & {
91
91
  id: string;
92
92
  }>;
93
- reviewCount?: import("mongoose").SchemaDefinitionProperty<number, ReviewerProfileSchema, import("mongoose").Document<unknown, {}, ReviewerProfileSchema, {
93
+ languagePairs?: import("mongoose").SchemaDefinitionProperty<LanguagePair[], ReviewerProfileSchema, import("mongoose").Document<unknown, {}, ReviewerProfileSchema, {
94
94
  id: string;
95
95
  }, import("mongoose").DefaultSchemaOptions> & Omit<Omit<ReviewerProfile, "id"> & {
96
96
  _id: import("mongoose").Types.ObjectId;
@@ -101,7 +101,7 @@ declare const reviewerProfileSchema: Schema<ReviewerProfileSchema, import("mongo
101
101
  }, "id"> & {
102
102
  id: string;
103
103
  }>;
104
- bio?: import("mongoose").SchemaDefinitionProperty<string, ReviewerProfileSchema, import("mongoose").Document<unknown, {}, ReviewerProfileSchema, {
104
+ categories?: import("mongoose").SchemaDefinitionProperty<ReviewerCategory[], ReviewerProfileSchema, import("mongoose").Document<unknown, {}, ReviewerProfileSchema, {
105
105
  id: string;
106
106
  }, import("mongoose").DefaultSchemaOptions> & Omit<Omit<ReviewerProfile, "id"> & {
107
107
  _id: import("mongoose").Types.ObjectId;
@@ -112,7 +112,7 @@ declare const reviewerProfileSchema: Schema<ReviewerProfileSchema, import("mongo
112
112
  }, "id"> & {
113
113
  id: string;
114
114
  }>;
115
- mainPicture?: import("mongoose").SchemaDefinitionProperty<string, ReviewerProfileSchema, import("mongoose").Document<unknown, {}, ReviewerProfileSchema, {
115
+ pricePerHour?: import("mongoose").SchemaDefinitionProperty<number, ReviewerProfileSchema, import("mongoose").Document<unknown, {}, ReviewerProfileSchema, {
116
116
  id: string;
117
117
  }, import("mongoose").DefaultSchemaOptions> & Omit<Omit<ReviewerProfile, "id"> & {
118
118
  _id: import("mongoose").Types.ObjectId;
@@ -123,7 +123,7 @@ declare const reviewerProfileSchema: Schema<ReviewerProfileSchema, import("mongo
123
123
  }, "id"> & {
124
124
  id: string;
125
125
  }>;
126
- coverPicture?: import("mongoose").SchemaDefinitionProperty<string, ReviewerProfileSchema, import("mongoose").Document<unknown, {}, ReviewerProfileSchema, {
126
+ status?: import("mongoose").SchemaDefinitionProperty<ReviewerStatus, ReviewerProfileSchema, import("mongoose").Document<unknown, {}, ReviewerProfileSchema, {
127
127
  id: string;
128
128
  }, import("mongoose").DefaultSchemaOptions> & Omit<Omit<ReviewerProfile, "id"> & {
129
129
  _id: import("mongoose").Types.ObjectId;
@@ -134,7 +134,7 @@ declare const reviewerProfileSchema: Schema<ReviewerProfileSchema, import("mongo
134
134
  }, "id"> & {
135
135
  id: string;
136
136
  }>;
137
- languagePairs?: import("mongoose").SchemaDefinitionProperty<LanguagePair[], ReviewerProfileSchema, import("mongoose").Document<unknown, {}, ReviewerProfileSchema, {
137
+ totalMissions?: import("mongoose").SchemaDefinitionProperty<number, ReviewerProfileSchema, import("mongoose").Document<unknown, {}, ReviewerProfileSchema, {
138
138
  id: string;
139
139
  }, import("mongoose").DefaultSchemaOptions> & Omit<Omit<ReviewerProfile, "id"> & {
140
140
  _id: import("mongoose").Types.ObjectId;
@@ -145,7 +145,7 @@ declare const reviewerProfileSchema: Schema<ReviewerProfileSchema, import("mongo
145
145
  }, "id"> & {
146
146
  id: string;
147
147
  }>;
148
- categories?: import("mongoose").SchemaDefinitionProperty<ReviewerCategory[], ReviewerProfileSchema, import("mongoose").Document<unknown, {}, ReviewerProfileSchema, {
148
+ averageRating?: import("mongoose").SchemaDefinitionProperty<number, ReviewerProfileSchema, import("mongoose").Document<unknown, {}, ReviewerProfileSchema, {
149
149
  id: string;
150
150
  }, import("mongoose").DefaultSchemaOptions> & Omit<Omit<ReviewerProfile, "id"> & {
151
151
  _id: import("mongoose").Types.ObjectId;
@@ -156,7 +156,7 @@ declare const reviewerProfileSchema: Schema<ReviewerProfileSchema, import("mongo
156
156
  }, "id"> & {
157
157
  id: string;
158
158
  }>;
159
- pricePerHour?: import("mongoose").SchemaDefinitionProperty<number, ReviewerProfileSchema, import("mongoose").Document<unknown, {}, ReviewerProfileSchema, {
159
+ reviewCount?: import("mongoose").SchemaDefinitionProperty<number, ReviewerProfileSchema, import("mongoose").Document<unknown, {}, ReviewerProfileSchema, {
160
160
  id: string;
161
161
  }, import("mongoose").DefaultSchemaOptions> & Omit<Omit<ReviewerProfile, "id"> & {
162
162
  _id: import("mongoose").Types.ObjectId;
@@ -224,7 +224,7 @@ declare const translationMissionSchema: Schema<TranslationMissionSchema, import(
224
224
  }, "id"> & {
225
225
  id: string;
226
226
  }, {
227
- createdAt?: import("mongoose").SchemaDefinitionProperty<Date, TranslationMissionSchema, import("mongoose").Document<unknown, {}, TranslationMissionSchema, {
227
+ currency?: import("mongoose").SchemaDefinitionProperty<string, TranslationMissionSchema, import("mongoose").Document<unknown, {}, TranslationMissionSchema, {
228
228
  id: string;
229
229
  }, import("mongoose").DefaultSchemaOptions> & Omit<Omit<TranslationMission, "id"> & {
230
230
  _id: import("mongoose").Types.ObjectId;
@@ -235,7 +235,7 @@ declare const translationMissionSchema: Schema<TranslationMissionSchema, import(
235
235
  }, "id"> & {
236
236
  id: string;
237
237
  }>;
238
- updatedAt?: import("mongoose").SchemaDefinitionProperty<Date, TranslationMissionSchema, import("mongoose").Document<unknown, {}, TranslationMissionSchema, {
238
+ createdAt?: import("mongoose").SchemaDefinitionProperty<Date, TranslationMissionSchema, import("mongoose").Document<unknown, {}, TranslationMissionSchema, {
239
239
  id: string;
240
240
  }, import("mongoose").DefaultSchemaOptions> & Omit<Omit<TranslationMission, "id"> & {
241
241
  _id: import("mongoose").Types.ObjectId;
@@ -246,7 +246,7 @@ declare const translationMissionSchema: Schema<TranslationMissionSchema, import(
246
246
  }, "id"> & {
247
247
  id: string;
248
248
  }>;
249
- status?: import("mongoose").SchemaDefinitionProperty<MissionStatus, TranslationMissionSchema, import("mongoose").Document<unknown, {}, TranslationMissionSchema, {
249
+ updatedAt?: import("mongoose").SchemaDefinitionProperty<Date, TranslationMissionSchema, import("mongoose").Document<unknown, {}, TranslationMissionSchema, {
250
250
  id: string;
251
251
  }, import("mongoose").DefaultSchemaOptions> & Omit<Omit<TranslationMission, "id"> & {
252
252
  _id: import("mongoose").Types.ObjectId;
@@ -268,7 +268,7 @@ declare const translationMissionSchema: Schema<TranslationMissionSchema, import(
268
268
  }, "id"> & {
269
269
  id: string;
270
270
  }>;
271
- sourceLocale?: import("mongoose").SchemaDefinitionProperty<string, TranslationMissionSchema, import("mongoose").Document<unknown, {}, TranslationMissionSchema, {
271
+ pricePerHour?: import("mongoose").SchemaDefinitionProperty<number, TranslationMissionSchema, import("mongoose").Document<unknown, {}, TranslationMissionSchema, {
272
272
  id: string;
273
273
  }, import("mongoose").DefaultSchemaOptions> & Omit<Omit<TranslationMission, "id"> & {
274
274
  _id: import("mongoose").Types.ObjectId;
@@ -279,7 +279,7 @@ declare const translationMissionSchema: Schema<TranslationMissionSchema, import(
279
279
  }, "id"> & {
280
280
  id: string;
281
281
  }>;
282
- targetLocales?: import("mongoose").SchemaDefinitionProperty<string[], TranslationMissionSchema, import("mongoose").Document<unknown, {}, TranslationMissionSchema, {
282
+ status?: import("mongoose").SchemaDefinitionProperty<MissionStatus, TranslationMissionSchema, import("mongoose").Document<unknown, {}, TranslationMissionSchema, {
283
283
  id: string;
284
284
  }, import("mongoose").DefaultSchemaOptions> & Omit<Omit<TranslationMission, "id"> & {
285
285
  _id: import("mongoose").Types.ObjectId;
@@ -290,7 +290,7 @@ declare const translationMissionSchema: Schema<TranslationMissionSchema, import(
290
290
  }, "id"> & {
291
291
  id: string;
292
292
  }>;
293
- notes?: import("mongoose").SchemaDefinitionProperty<string, TranslationMissionSchema, import("mongoose").Document<unknown, {}, TranslationMissionSchema, {
293
+ reviewerId?: import("mongoose").SchemaDefinitionProperty<import("mongoose").Types.ObjectId, TranslationMissionSchema, import("mongoose").Document<unknown, {}, TranslationMissionSchema, {
294
294
  id: string;
295
295
  }, import("mongoose").DefaultSchemaOptions> & Omit<Omit<TranslationMission, "id"> & {
296
296
  _id: import("mongoose").Types.ObjectId;
@@ -301,7 +301,7 @@ declare const translationMissionSchema: Schema<TranslationMissionSchema, import(
301
301
  }, "id"> & {
302
302
  id: string;
303
303
  }>;
304
- pricePerHour?: import("mongoose").SchemaDefinitionProperty<number, TranslationMissionSchema, import("mongoose").Document<unknown, {}, TranslationMissionSchema, {
304
+ clientUserId?: import("mongoose").SchemaDefinitionProperty<import("mongoose").Types.ObjectId, TranslationMissionSchema, import("mongoose").Document<unknown, {}, TranslationMissionSchema, {
305
305
  id: string;
306
306
  }, import("mongoose").DefaultSchemaOptions> & Omit<Omit<TranslationMission, "id"> & {
307
307
  _id: import("mongoose").Types.ObjectId;
@@ -312,7 +312,7 @@ declare const translationMissionSchema: Schema<TranslationMissionSchema, import(
312
312
  }, "id"> & {
313
313
  id: string;
314
314
  }>;
315
- reviewerId?: import("mongoose").SchemaDefinitionProperty<import("mongoose").Types.ObjectId, TranslationMissionSchema, import("mongoose").Document<unknown, {}, TranslationMissionSchema, {
315
+ dictionaryIds?: import("mongoose").SchemaDefinitionProperty<import("mongoose").Types.ObjectId[], TranslationMissionSchema, import("mongoose").Document<unknown, {}, TranslationMissionSchema, {
316
316
  id: string;
317
317
  }, import("mongoose").DefaultSchemaOptions> & Omit<Omit<TranslationMission, "id"> & {
318
318
  _id: import("mongoose").Types.ObjectId;
@@ -323,7 +323,7 @@ declare const translationMissionSchema: Schema<TranslationMissionSchema, import(
323
323
  }, "id"> & {
324
324
  id: string;
325
325
  }>;
326
- clientUserId?: import("mongoose").SchemaDefinitionProperty<import("mongoose").Types.ObjectId, TranslationMissionSchema, import("mongoose").Document<unknown, {}, TranslationMissionSchema, {
326
+ sourceLocale?: import("mongoose").SchemaDefinitionProperty<string, TranslationMissionSchema, import("mongoose").Document<unknown, {}, TranslationMissionSchema, {
327
327
  id: string;
328
328
  }, import("mongoose").DefaultSchemaOptions> & Omit<Omit<TranslationMission, "id"> & {
329
329
  _id: import("mongoose").Types.ObjectId;
@@ -334,7 +334,7 @@ declare const translationMissionSchema: Schema<TranslationMissionSchema, import(
334
334
  }, "id"> & {
335
335
  id: string;
336
336
  }>;
337
- dictionaryIds?: import("mongoose").SchemaDefinitionProperty<import("mongoose").Types.ObjectId[], TranslationMissionSchema, import("mongoose").Document<unknown, {}, TranslationMissionSchema, {
337
+ targetLocales?: import("mongoose").SchemaDefinitionProperty<string[], TranslationMissionSchema, import("mongoose").Document<unknown, {}, TranslationMissionSchema, {
338
338
  id: string;
339
339
  }, import("mongoose").DefaultSchemaOptions> & Omit<Omit<TranslationMission, "id"> & {
340
340
  _id: import("mongoose").Types.ObjectId;
@@ -378,7 +378,7 @@ declare const translationMissionSchema: Schema<TranslationMissionSchema, import(
378
378
  }, "id"> & {
379
379
  id: string;
380
380
  }>;
381
- currency?: import("mongoose").SchemaDefinitionProperty<string, TranslationMissionSchema, import("mongoose").Document<unknown, {}, TranslationMissionSchema, {
381
+ notes?: import("mongoose").SchemaDefinitionProperty<string, TranslationMissionSchema, import("mongoose").Document<unknown, {}, TranslationMissionSchema, {
382
382
  id: string;
383
383
  }, import("mongoose").DefaultSchemaOptions> & Omit<Omit<TranslationMission, "id"> & {
384
384
  _id: import("mongoose").Types.ObjectId;
@@ -468,7 +468,7 @@ declare const reviewerReviewSchema: Schema<ReviewerReviewSchema, import("mongoos
468
468
  }, "id"> & {
469
469
  id: string;
470
470
  }>;
471
- reviewerId?: import("mongoose").SchemaDefinitionProperty<import("mongoose").Types.ObjectId, ReviewerReviewSchema, import("mongoose").Document<unknown, {}, ReviewerReviewSchema, {
471
+ comment?: import("mongoose").SchemaDefinitionProperty<string, ReviewerReviewSchema, import("mongoose").Document<unknown, {}, ReviewerReviewSchema, {
472
472
  id: string;
473
473
  }, import("mongoose").DefaultSchemaOptions> & Omit<Omit<ReviewerReview, "id"> & {
474
474
  _id: import("mongoose").Types.ObjectId;
@@ -479,7 +479,7 @@ declare const reviewerReviewSchema: Schema<ReviewerReviewSchema, import("mongoos
479
479
  }, "id"> & {
480
480
  id: string;
481
481
  }>;
482
- comment?: import("mongoose").SchemaDefinitionProperty<string, ReviewerReviewSchema, import("mongoose").Document<unknown, {}, ReviewerReviewSchema, {
482
+ reviewerId?: import("mongoose").SchemaDefinitionProperty<import("mongoose").Types.ObjectId, ReviewerReviewSchema, import("mongoose").Document<unknown, {}, ReviewerReviewSchema, {
483
483
  id: string;
484
484
  }, import("mongoose").DefaultSchemaOptions> & Omit<Omit<ReviewerReview, "id"> & {
485
485
  _id: import("mongoose").Types.ObjectId;
@@ -558,7 +558,7 @@ declare const reviewerMessageSchema: Schema<ReviewerMessageSchema, import("mongo
558
558
  }, "id"> & {
559
559
  id: string;
560
560
  }>;
561
- content?: import("mongoose").SchemaDefinitionProperty<string, ReviewerMessageSchema, import("mongoose").Document<unknown, {}, ReviewerMessageSchema, {
561
+ missionId?: import("mongoose").SchemaDefinitionProperty<import("mongoose").Types.ObjectId, ReviewerMessageSchema, import("mongoose").Document<unknown, {}, ReviewerMessageSchema, {
562
562
  id: string;
563
563
  }, import("mongoose").DefaultSchemaOptions> & Omit<Omit<ReviewerMessage, "id"> & {
564
564
  _id: import("mongoose").Types.ObjectId;
@@ -569,7 +569,7 @@ declare const reviewerMessageSchema: Schema<ReviewerMessageSchema, import("mongo
569
569
  }, "id"> & {
570
570
  id: string;
571
571
  }>;
572
- missionId?: import("mongoose").SchemaDefinitionProperty<import("mongoose").Types.ObjectId, ReviewerMessageSchema, import("mongoose").Document<unknown, {}, ReviewerMessageSchema, {
572
+ senderId?: import("mongoose").SchemaDefinitionProperty<import("mongoose").Types.ObjectId, ReviewerMessageSchema, import("mongoose").Document<unknown, {}, ReviewerMessageSchema, {
573
573
  id: string;
574
574
  }, import("mongoose").DefaultSchemaOptions> & Omit<Omit<ReviewerMessage, "id"> & {
575
575
  _id: import("mongoose").Types.ObjectId;
@@ -580,7 +580,7 @@ declare const reviewerMessageSchema: Schema<ReviewerMessageSchema, import("mongo
580
580
  }, "id"> & {
581
581
  id: string;
582
582
  }>;
583
- senderId?: import("mongoose").SchemaDefinitionProperty<import("mongoose").Types.ObjectId, ReviewerMessageSchema, import("mongoose").Document<unknown, {}, ReviewerMessageSchema, {
583
+ content?: import("mongoose").SchemaDefinitionProperty<string, ReviewerMessageSchema, import("mongoose").Document<unknown, {}, ReviewerMessageSchema, {
584
584
  id: string;
585
585
  }, import("mongoose").DefaultSchemaOptions> & Omit<Omit<ReviewerMessage, "id"> & {
586
586
  _id: import("mongoose").Types.ObjectId;
@@ -13,7 +13,7 @@ declare const sessionSchema: Schema<SessionSchema, import("mongoose").Model<Sess
13
13
  }, "id"> & {
14
14
  id: string;
15
15
  }, {
16
- locale?: import("mongoose").SchemaDefinitionProperty<import("intlayer").Locale, SessionSchema, import("mongoose").Document<unknown, {}, SessionSchema, {
16
+ expiresAt?: import("mongoose").SchemaDefinitionProperty<Date, SessionSchema, import("mongoose").Document<unknown, {}, SessionSchema, {
17
17
  id: string;
18
18
  }, import("mongoose").DefaultSchemaOptions> & Omit<Omit<SessionData, "id"> & {
19
19
  _id: import("mongoose").Types.ObjectId;
@@ -57,7 +57,7 @@ declare const sessionSchema: Schema<SessionSchema, import("mongoose").Model<Sess
57
57
  }, "id"> & {
58
58
  id: string;
59
59
  }>;
60
- expiresAt?: import("mongoose").SchemaDefinitionProperty<Date, SessionSchema, import("mongoose").Document<unknown, {}, SessionSchema, {
60
+ token?: import("mongoose").SchemaDefinitionProperty<string, SessionSchema, import("mongoose").Document<unknown, {}, SessionSchema, {
61
61
  id: string;
62
62
  }, import("mongoose").DefaultSchemaOptions> & Omit<Omit<SessionData, "id"> & {
63
63
  _id: import("mongoose").Types.ObjectId;
@@ -68,7 +68,7 @@ declare const sessionSchema: Schema<SessionSchema, import("mongoose").Model<Sess
68
68
  }, "id"> & {
69
69
  id: string;
70
70
  }>;
71
- token?: import("mongoose").SchemaDefinitionProperty<string, SessionSchema, import("mongoose").Document<unknown, {}, SessionSchema, {
71
+ locale?: import("mongoose").SchemaDefinitionProperty<import("intlayer").Locale, SessionSchema, import("mongoose").Document<unknown, {}, SessionSchema, {
72
72
  id: string;
73
73
  }, import("mongoose").DefaultSchemaOptions> & Omit<Omit<SessionData, "id"> & {
74
74
  _id: import("mongoose").Types.ObjectId;
@@ -29,7 +29,7 @@ declare const showcaseProjectSchema: Schema<ShowcaseProjectDocument, import("mon
29
29
  }, "id"> & {
30
30
  id: string;
31
31
  }>;
32
- title?: import("mongoose").SchemaDefinitionProperty<string, ShowcaseProjectDocument, import("mongoose").Document<unknown, {}, ShowcaseProjectDocument, {
32
+ description?: import("mongoose").SchemaDefinitionProperty<string, ShowcaseProjectDocument, import("mongoose").Document<unknown, {}, ShowcaseProjectDocument, {
33
33
  id: string;
34
34
  }, import("mongoose").DefaultSchemaOptions> & Omit<ShowcaseProject & import("mongoose").Document<import("mongoose").Types.ObjectId, any, any, Record<string, any>, {}> & Required<{
35
35
  _id: import("mongoose").Types.ObjectId;
@@ -38,7 +38,7 @@ declare const showcaseProjectSchema: Schema<ShowcaseProjectDocument, import("mon
38
38
  }, "id"> & {
39
39
  id: string;
40
40
  }>;
41
- description?: import("mongoose").SchemaDefinitionProperty<string, ShowcaseProjectDocument, import("mongoose").Document<unknown, {}, ShowcaseProjectDocument, {
41
+ imageUrl?: import("mongoose").SchemaDefinitionProperty<string, ShowcaseProjectDocument, import("mongoose").Document<unknown, {}, ShowcaseProjectDocument, {
42
42
  id: string;
43
43
  }, import("mongoose").DefaultSchemaOptions> & Omit<ShowcaseProject & import("mongoose").Document<import("mongoose").Types.ObjectId, any, any, Record<string, any>, {}> & Required<{
44
44
  _id: import("mongoose").Types.ObjectId;
@@ -47,7 +47,7 @@ declare const showcaseProjectSchema: Schema<ShowcaseProjectDocument, import("mon
47
47
  }, "id"> & {
48
48
  id: string;
49
49
  }>;
50
- status?: import("mongoose").SchemaDefinitionProperty<ShowcaseProjectStatus, ShowcaseProjectDocument, import("mongoose").Document<unknown, {}, ShowcaseProjectDocument, {
50
+ owner?: import("mongoose").SchemaDefinitionProperty<string, ShowcaseProjectDocument, import("mongoose").Document<unknown, {}, ShowcaseProjectDocument, {
51
51
  id: string;
52
52
  }, import("mongoose").DefaultSchemaOptions> & Omit<ShowcaseProject & import("mongoose").Document<import("mongoose").Types.ObjectId, any, any, Record<string, any>, {}> & Required<{
53
53
  _id: import("mongoose").Types.ObjectId;
@@ -56,7 +56,7 @@ declare const showcaseProjectSchema: Schema<ShowcaseProjectDocument, import("mon
56
56
  }, "id"> & {
57
57
  id: string;
58
58
  }>;
59
- tags?: import("mongoose").SchemaDefinitionProperty<string[], ShowcaseProjectDocument, import("mongoose").Document<unknown, {}, ShowcaseProjectDocument, {
59
+ status?: import("mongoose").SchemaDefinitionProperty<ShowcaseProjectStatus, ShowcaseProjectDocument, import("mongoose").Document<unknown, {}, ShowcaseProjectDocument, {
60
60
  id: string;
61
61
  }, import("mongoose").DefaultSchemaOptions> & Omit<ShowcaseProject & import("mongoose").Document<import("mongoose").Types.ObjectId, any, any, Record<string, any>, {}> & Required<{
62
62
  _id: import("mongoose").Types.ObjectId;
@@ -65,7 +65,7 @@ declare const showcaseProjectSchema: Schema<ShowcaseProjectDocument, import("mon
65
65
  }, "id"> & {
66
66
  id: string;
67
67
  }>;
68
- imageUrl?: import("mongoose").SchemaDefinitionProperty<string, ShowcaseProjectDocument, import("mongoose").Document<unknown, {}, ShowcaseProjectDocument, {
68
+ title?: import("mongoose").SchemaDefinitionProperty<string, ShowcaseProjectDocument, import("mongoose").Document<unknown, {}, ShowcaseProjectDocument, {
69
69
  id: string;
70
70
  }, import("mongoose").DefaultSchemaOptions> & Omit<ShowcaseProject & import("mongoose").Document<import("mongoose").Types.ObjectId, any, any, Record<string, any>, {}> & Required<{
71
71
  _id: import("mongoose").Types.ObjectId;
@@ -74,7 +74,7 @@ declare const showcaseProjectSchema: Schema<ShowcaseProjectDocument, import("mon
74
74
  }, "id"> & {
75
75
  id: string;
76
76
  }>;
77
- owner?: import("mongoose").SchemaDefinitionProperty<string, ShowcaseProjectDocument, import("mongoose").Document<unknown, {}, ShowcaseProjectDocument, {
77
+ tags?: import("mongoose").SchemaDefinitionProperty<string[], ShowcaseProjectDocument, import("mongoose").Document<unknown, {}, ShowcaseProjectDocument, {
78
78
  id: string;
79
79
  }, import("mongoose").DefaultSchemaOptions> & Omit<ShowcaseProject & import("mongoose").Document<import("mongoose").Types.ObjectId, any, any, Record<string, any>, {}> & Required<{
80
80
  _id: import("mongoose").Types.ObjectId;
@@ -13,7 +13,7 @@ declare const tagSchema: Schema<TagSchema, import("mongoose").Model<TagSchema, a
13
13
  }, "id"> & {
14
14
  id: string;
15
15
  }, {
16
- name?: import("mongoose").SchemaDefinitionProperty<string, TagSchema, import("mongoose").Document<unknown, {}, TagSchema, {
16
+ createdAt?: import("mongoose").SchemaDefinitionProperty<number, TagSchema, import("mongoose").Document<unknown, {}, TagSchema, {
17
17
  id: string;
18
18
  }, import("mongoose").DefaultSchemaOptions> & Omit<Omit<Tag, "id"> & {
19
19
  _id: import("mongoose").Types.ObjectId;
@@ -24,7 +24,7 @@ declare const tagSchema: Schema<TagSchema, import("mongoose").Model<TagSchema, a
24
24
  }, "id"> & {
25
25
  id: string;
26
26
  }>;
27
- creatorId?: import("mongoose").SchemaDefinitionProperty<import("mongoose").Types.ObjectId, TagSchema, import("mongoose").Document<unknown, {}, TagSchema, {
27
+ updatedAt?: import("mongoose").SchemaDefinitionProperty<number, TagSchema, import("mongoose").Document<unknown, {}, TagSchema, {
28
28
  id: string;
29
29
  }, import("mongoose").DefaultSchemaOptions> & Omit<Omit<Tag, "id"> & {
30
30
  _id: import("mongoose").Types.ObjectId;
@@ -35,7 +35,7 @@ declare const tagSchema: Schema<TagSchema, import("mongoose").Model<TagSchema, a
35
35
  }, "id"> & {
36
36
  id: string;
37
37
  }>;
38
- createdAt?: import("mongoose").SchemaDefinitionProperty<number, TagSchema, import("mongoose").Document<unknown, {}, TagSchema, {
38
+ name?: import("mongoose").SchemaDefinitionProperty<string, TagSchema, import("mongoose").Document<unknown, {}, TagSchema, {
39
39
  id: string;
40
40
  }, import("mongoose").DefaultSchemaOptions> & Omit<Omit<Tag, "id"> & {
41
41
  _id: import("mongoose").Types.ObjectId;
@@ -46,7 +46,7 @@ declare const tagSchema: Schema<TagSchema, import("mongoose").Model<TagSchema, a
46
46
  }, "id"> & {
47
47
  id: string;
48
48
  }>;
49
- updatedAt?: import("mongoose").SchemaDefinitionProperty<number, TagSchema, import("mongoose").Document<unknown, {}, TagSchema, {
49
+ description?: import("mongoose").SchemaDefinitionProperty<string, TagSchema, import("mongoose").Document<unknown, {}, TagSchema, {
50
50
  id: string;
51
51
  }, import("mongoose").DefaultSchemaOptions> & Omit<Omit<Tag, "id"> & {
52
52
  _id: import("mongoose").Types.ObjectId;
@@ -57,7 +57,7 @@ declare const tagSchema: Schema<TagSchema, import("mongoose").Model<TagSchema, a
57
57
  }, "id"> & {
58
58
  id: string;
59
59
  }>;
60
- description?: import("mongoose").SchemaDefinitionProperty<string, TagSchema, import("mongoose").Document<unknown, {}, TagSchema, {
60
+ organizationId?: import("mongoose").SchemaDefinitionProperty<import("mongoose").Types.ObjectId, TagSchema, import("mongoose").Document<unknown, {}, TagSchema, {
61
61
  id: string;
62
62
  }, import("mongoose").DefaultSchemaOptions> & Omit<Omit<Tag, "id"> & {
63
63
  _id: import("mongoose").Types.ObjectId;
@@ -68,7 +68,7 @@ declare const tagSchema: Schema<TagSchema, import("mongoose").Model<TagSchema, a
68
68
  }, "id"> & {
69
69
  id: string;
70
70
  }>;
71
- projectId?: import("mongoose").SchemaDefinitionProperty<import("mongoose").Types.ObjectId, TagSchema, import("mongoose").Document<unknown, {}, TagSchema, {
71
+ creatorId?: import("mongoose").SchemaDefinitionProperty<import("mongoose").Types.ObjectId, TagSchema, import("mongoose").Document<unknown, {}, TagSchema, {
72
72
  id: string;
73
73
  }, import("mongoose").DefaultSchemaOptions> & Omit<Omit<Tag, "id"> & {
74
74
  _id: import("mongoose").Types.ObjectId;
@@ -79,7 +79,7 @@ declare const tagSchema: Schema<TagSchema, import("mongoose").Model<TagSchema, a
79
79
  }, "id"> & {
80
80
  id: string;
81
81
  }>;
82
- organizationId?: import("mongoose").SchemaDefinitionProperty<import("mongoose").Types.ObjectId, TagSchema, import("mongoose").Document<unknown, {}, TagSchema, {
82
+ projectId?: import("mongoose").SchemaDefinitionProperty<import("mongoose").Types.ObjectId, TagSchema, import("mongoose").Document<unknown, {}, TagSchema, {
83
83
  id: string;
84
84
  }, import("mongoose").DefaultSchemaOptions> & Omit<Omit<Tag, "id"> & {
85
85
  _id: import("mongoose").Types.ObjectId;
@@ -13,7 +13,7 @@ declare const userSchema: Schema<UserSchema, import("mongoose").Model<UserSchema
13
13
  }, "id"> & {
14
14
  id: string;
15
15
  }, {
16
- name?: import("mongoose").SchemaDefinitionProperty<string, UserSchema, import("mongoose").Document<unknown, {}, UserSchema, {
16
+ createdAt?: import("mongoose").SchemaDefinitionProperty<Date, UserSchema, import("mongoose").Document<unknown, {}, UserSchema, {
17
17
  id: string;
18
18
  }, import("mongoose").DefaultSchemaOptions> & Omit<Omit<User, "id"> & {
19
19
  _id: import("mongoose").Types.ObjectId;
@@ -24,7 +24,7 @@ declare const userSchema: Schema<UserSchema, import("mongoose").Model<UserSchema
24
24
  }, "id"> & {
25
25
  id: string;
26
26
  }>;
27
- createdAt?: import("mongoose").SchemaDefinitionProperty<Date, UserSchema, import("mongoose").Document<unknown, {}, UserSchema, {
27
+ updatedAt?: import("mongoose").SchemaDefinitionProperty<Date, UserSchema, import("mongoose").Document<unknown, {}, UserSchema, {
28
28
  id: string;
29
29
  }, import("mongoose").DefaultSchemaOptions> & Omit<Omit<User, "id"> & {
30
30
  _id: import("mongoose").Types.ObjectId;
@@ -35,7 +35,7 @@ declare const userSchema: Schema<UserSchema, import("mongoose").Model<UserSchema
35
35
  }, "id"> & {
36
36
  id: string;
37
37
  }>;
38
- updatedAt?: import("mongoose").SchemaDefinitionProperty<Date, UserSchema, import("mongoose").Document<unknown, {}, UserSchema, {
38
+ name?: import("mongoose").SchemaDefinitionProperty<string, UserSchema, import("mongoose").Document<unknown, {}, UserSchema, {
39
39
  id: string;
40
40
  }, import("mongoose").DefaultSchemaOptions> & Omit<Omit<User, "id"> & {
41
41
  _id: import("mongoose").Types.ObjectId;
@@ -101,9 +101,7 @@ declare const userSchema: Schema<UserSchema, import("mongoose").Model<UserSchema
101
101
  }, "id"> & {
102
102
  id: string;
103
103
  }>;
104
- emailsList?: import("mongoose").SchemaDefinitionProperty<{
105
- newsLetter: boolean;
106
- }, UserSchema, import("mongoose").Document<unknown, {}, UserSchema, {
104
+ role?: import("mongoose").SchemaDefinitionProperty<string, UserSchema, import("mongoose").Document<unknown, {}, UserSchema, {
107
105
  id: string;
108
106
  }, import("mongoose").DefaultSchemaOptions> & Omit<Omit<User, "id"> & {
109
107
  _id: import("mongoose").Types.ObjectId;
@@ -114,7 +112,9 @@ declare const userSchema: Schema<UserSchema, import("mongoose").Model<UserSchema
114
112
  }, "id"> & {
115
113
  id: string;
116
114
  }>;
117
- customerId?: import("mongoose").SchemaDefinitionProperty<string, UserSchema, import("mongoose").Document<unknown, {}, UserSchema, {
115
+ emailsList?: import("mongoose").SchemaDefinitionProperty<{
116
+ newsLetter: boolean;
117
+ }, UserSchema, import("mongoose").Document<unknown, {}, UserSchema, {
118
118
  id: string;
119
119
  }, import("mongoose").DefaultSchemaOptions> & Omit<Omit<User, "id"> & {
120
120
  _id: import("mongoose").Types.ObjectId;
@@ -125,7 +125,7 @@ declare const userSchema: Schema<UserSchema, import("mongoose").Model<UserSchema
125
125
  }, "id"> & {
126
126
  id: string;
127
127
  }>;
128
- role?: import("mongoose").SchemaDefinitionProperty<string, UserSchema, import("mongoose").Document<unknown, {}, UserSchema, {
128
+ customerId?: import("mongoose").SchemaDefinitionProperty<string, UserSchema, import("mongoose").Document<unknown, {}, UserSchema, {
129
129
  id: string;
130
130
  }, import("mongoose").DefaultSchemaOptions> & Omit<Omit<User, "id"> & {
131
131
  _id: import("mongoose").Types.ObjectId;
@@ -136,7 +136,7 @@ declare const userSchema: Schema<UserSchema, import("mongoose").Model<UserSchema
136
136
  }, "id"> & {
137
137
  id: string;
138
138
  }>;
139
- lastLoginMethod?: import("mongoose").SchemaDefinitionProperty<"email" | "github" | "google" | "passkey", UserSchema, import("mongoose").Document<unknown, {}, UserSchema, {
139
+ lastLoginMethod?: import("mongoose").SchemaDefinitionProperty<"github" | "email" | "google" | "passkey", UserSchema, import("mongoose").Document<unknown, {}, UserSchema, {
140
140
  id: string;
141
141
  }, import("mongoose").DefaultSchemaOptions> & Omit<Omit<User, "id"> & {
142
142
  _id: import("mongoose").Types.ObjectId;
@@ -42,19 +42,19 @@ declare const handleCustomErrorResponse: (reply: FastifyReply, errorKey: ErrorCo
42
42
  */
43
43
  declare const formatGenericErrorResponse: (errorKey: ErrorCodes, errorDetails?: object, statusCode?: HttpStatusCodes) => ResponseData<{
44
44
  id: string;
45
- name: string;
46
45
  createdAt: Date;
47
46
  updatedAt: Date;
47
+ name: string;
48
48
  email: string;
49
49
  emailVerified: boolean;
50
50
  image?: string;
51
51
  phone?: string;
52
52
  dateOfBirth?: Date;
53
+ role?: string;
53
54
  emailsList?: {
54
55
  newsLetter: boolean;
55
56
  };
56
57
  customerId?: string;
57
- role?: string;
58
58
  lastLoginMethod?: "email" | "google" | "github" | "passkey";
59
59
  lang?: string;
60
60
  lastActiveOrganizationId?: string | null;
@@ -66,19 +66,19 @@ declare const ErrorHandler: {
66
66
  handleCustomErrorResponse: (reply: FastifyReply, errorKey: ErrorCodes | string, title: StrictModeLocaleMap<string> | string, message: StrictModeLocaleMap<string> | string, messageDetails?: object, statusCode?: HttpStatusCodes, logDetails?: object) => FastifyReply<import("fastify").RouteGenericInterface, import("fastify").RawServerDefault, import("node:http").IncomingMessage, import("node:http").ServerResponse<import("node:http").IncomingMessage>, unknown, import("fastify").FastifySchema, import("fastify").FastifyTypeProviderDefault, unknown>;
67
67
  formatGenericErrorResponse: (errorKey: ErrorCodes, errorDetails?: object, statusCode?: HttpStatusCodes) => ResponseData<{
68
68
  id: string;
69
- name: string;
70
69
  createdAt: Date;
71
70
  updatedAt: Date;
71
+ name: string;
72
72
  email: string;
73
73
  emailVerified: boolean;
74
74
  image?: string;
75
75
  phone?: string;
76
76
  dateOfBirth?: Date;
77
+ role?: string;
77
78
  emailsList?: {
78
79
  newsLetter: boolean;
79
80
  };
80
81
  customerId?: string;
81
- role?: string;
82
82
  lastLoginMethod?: "email" | "google" | "github" | "passkey";
83
83
  lang?: string;
84
84
  lastActiveOrganizationId?: string | null;