@kimdaegyu/babmukdang-shared 2.0.2 → 2.0.3

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 (52) hide show
  1. package/dist/{chunk-EX7S5FI5.js → chunk-3TY6OPD3.js} +4 -4
  2. package/dist/{chunk-QUAG5LF5.js → chunk-6O2YTBVC.js} +4 -11
  3. package/dist/{chunk-TOXRHSD6.js → chunk-7JYVBXKQ.js} +1 -1
  4. package/dist/chunk-7UZD4LBQ.js +459 -0
  5. package/dist/chunk-BSJC7OVV.js +10 -0
  6. package/dist/{chunk-YV734GYZ.js → chunk-C63TN7L3.js} +9 -26
  7. package/dist/{chunk-Q4BPFDVB.js → chunk-CGFW5LYV.js} +6 -34
  8. package/dist/{chunk-TIOX7OHA.js → chunk-GOOH2LGN.js} +24 -58
  9. package/dist/{chunk-EYZU5HPG.js → chunk-HRM3FQPL.js} +1 -4
  10. package/dist/{chunk-3BLXZW4U.js → chunk-LEH6UFL7.js} +11 -35
  11. package/dist/{chunk-P3MYMK34.js → chunk-NENVUHL5.js} +9 -17
  12. package/dist/{chunk-IPANLE7B.js → chunk-OPMBGBYS.js} +34 -34
  13. package/dist/{chunk-G7TITUHT.js → chunk-QFPVAJ2U.js} +1 -1
  14. package/dist/{chunk-65DWKLP6.js → chunk-RZPNVRRS.js} +5 -14
  15. package/dist/{chunk-DRCY5UNQ.js → chunk-VD3VGLBQ.js} +4 -9
  16. package/dist/{chunk-GESEM4IA.js → chunk-WYBFBLQC.js} +6 -17
  17. package/dist/{chunk-6R5CCY5Q.js → chunk-XMRYAG3V.js} +0 -2
  18. package/dist/domain/article/index.cjs +13 -41
  19. package/dist/domain/article/index.js +5 -5
  20. package/dist/domain/auth/index.cjs +8 -25
  21. package/dist/domain/auth/index.js +3 -3
  22. package/dist/domain/common/index.cjs +735 -1332
  23. package/dist/domain/common/index.js +15 -14
  24. package/dist/domain/food/index.cjs +5 -28
  25. package/dist/domain/food/index.d.cts +4 -4
  26. package/dist/domain/food/index.d.ts +4 -4
  27. package/dist/domain/food/index.js +7 -5
  28. package/dist/domain/friend/index.cjs +10 -35
  29. package/dist/domain/friend/index.js +4 -4
  30. package/dist/domain/index.cjs +736 -1476
  31. package/dist/domain/index.d.cts +4 -5
  32. package/dist/domain/index.d.ts +4 -5
  33. package/dist/domain/index.js +35 -35
  34. package/dist/domain/live-activity/index.cjs +422 -371
  35. package/dist/domain/live-activity/index.js +9 -8
  36. package/dist/domain/meal/index.cjs +11 -38
  37. package/dist/domain/meal/index.js +4 -4
  38. package/dist/domain/meal-plan/index.cjs +462 -426
  39. package/dist/domain/meal-plan/index.d.cts +149 -50
  40. package/dist/domain/meal-plan/index.d.ts +149 -50
  41. package/dist/domain/meal-plan/index.js +7 -8
  42. package/dist/domain/member/index.cjs +8 -25
  43. package/dist/domain/member/index.js +2 -2
  44. package/dist/domain/promotion/index.cjs +4 -16
  45. package/dist/domain/promotion/index.js +3 -3
  46. package/dist/domain/push/index.cjs +392 -341
  47. package/dist/domain/push/index.js +7 -6
  48. package/dist/domain/restaurant/index.js +2 -2
  49. package/dist/index.cjs +736 -1475
  50. package/dist/index.js +17 -16
  51. package/package.json +1 -1
  52. package/dist/chunk-KREAZLLH.js +0 -1062
@@ -42,16 +42,13 @@ __export(live_activity_exports, {
42
42
  module.exports = __toCommonJS(live_activity_exports);
43
43
 
44
44
  // src/domain/live-activity/live-activity.schema.ts
45
- var import_zod13 = require("zod");
45
+ var import_zod14 = require("zod");
46
46
 
47
47
  // src/domain/common/schema/date.schema.ts
48
48
  var import_zod = require("zod");
49
49
  var isoDateRegex = /^\d{4}-\d{2}-\d{2}$/;
50
50
  var ISODateStringSchema = import_zod.z.string().regex(isoDateRegex, "Expected ISO date string in YYYY-MM-DD format");
51
- var ISODateTimeStringSchema = import_zod.z.string().datetime({
52
- offset: true,
53
- message: "Expected ISO datetime string"
54
- });
51
+ var ISODateTimeStringSchema = import_zod.z.string().datetime({ offset: true, message: "Expected ISO datetime string" });
55
52
  var TimeHHmmStringSchema = import_zod.z.string().regex(/^\d{2}:\d{2}$/, "Expected time string in HH:mm format");
56
53
 
57
54
  // src/domain/common/schema/id.schema.ts
@@ -84,7 +81,7 @@ var FoodSchema = import_zod2.z.object({
84
81
  });
85
82
 
86
83
  // src/domain/meal-plan/meal-plan.schema.ts
87
- var import_zod11 = require("zod");
84
+ var import_zod12 = require("zod");
88
85
 
89
86
  // src/domain/member/member.schema.ts
90
87
  var import_zod4 = require("zod");
@@ -101,24 +98,10 @@ var UploadPresignImageRequestSchema = import_zod3.default.object({
101
98
  });
102
99
 
103
100
  // src/domain/member/member.schema.ts
104
- var MemberRoleSchema = import_zod4.z.enum([
105
- "USER",
106
- "ADMIN"
107
- ]);
108
- var LocationConsentStatusSchema = import_zod4.z.enum([
109
- "UNKNOWN",
110
- "GRANTED",
111
- "DENIED"
112
- ]);
113
- var OnboardingStatusSchema = import_zod4.z.enum([
114
- "REQUIRED",
115
- "COMPLETED"
116
- ]);
117
- var PermissionKindSchema = import_zod4.z.enum([
118
- "LOCATION",
119
- "NOTIFICATION",
120
- "CAMERA"
121
- ]);
101
+ var MemberRoleSchema = import_zod4.z.enum(["USER", "ADMIN"]);
102
+ var LocationConsentStatusSchema = import_zod4.z.enum(["UNKNOWN", "GRANTED", "DENIED"]);
103
+ var OnboardingStatusSchema = import_zod4.z.enum(["REQUIRED", "COMPLETED"]);
104
+ var PermissionKindSchema = import_zod4.z.enum(["LOCATION", "NOTIFICATION", "CAMERA"]);
122
105
  var PermissionStatusSchema = import_zod4.z.enum([
123
106
  "UNKNOWN",
124
107
  "PROMPT",
@@ -127,12 +110,7 @@ var PermissionStatusSchema = import_zod4.z.enum([
127
110
  "LIMITED",
128
111
  "UNSUPPORTED"
129
112
  ]);
130
- var PermissionPlatformSchema = import_zod4.z.enum([
131
- "WEB",
132
- "IOS",
133
- "ANDROID",
134
- "UNKNOWN"
135
- ]);
113
+ var PermissionPlatformSchema = import_zod4.z.enum(["WEB", "IOS", "ANDROID", "UNKNOWN"]);
136
114
  var DevicePermissionSnapshotSchema = import_zod4.z.object({
137
115
  kind: PermissionKindSchema,
138
116
  status: PermissionStatusSchema,
@@ -204,7 +182,9 @@ var UpdateProfileRequestSchema = import_zod4.z.object({
204
182
  bio: import_zod4.z.string().max(500).nullable()
205
183
  });
206
184
  var UpdatePreferenceRequestSchema = MemberFoodPreferenceSchema;
207
- var CompleteOnboardingRequestSchema = UpdateProfileRequestSchema.merge(UpdatePreferenceRequestSchema);
185
+ var CompleteOnboardingRequestSchema = UpdateProfileRequestSchema.merge(
186
+ UpdatePreferenceRequestSchema
187
+ );
208
188
  var OnboardingDraftSchema = import_zod4.z.object({
209
189
  username: import_zod4.z.string().min(1).max(50).optional(),
210
190
  profileImageUrl: import_zod4.z.string().url().nullable().optional(),
@@ -244,54 +224,172 @@ var KakaoPlaceRawSchema = import_zod5.z.object({
244
224
  });
245
225
 
246
226
  // src/domain/meal-plan/meal-plan-decision.schema.ts
227
+ var import_zod7 = require("zod");
228
+
229
+ // src/domain/food/food.schema.ts
247
230
  var import_zod6 = require("zod");
248
- var MealPlanLatitudeSchema = import_zod6.z.number().brand();
249
- var MealPlanLongitudeSchema = import_zod6.z.number().brand();
250
- var MealPlanLocationCandidateIdSchema = import_zod6.z.string().min(1).brand();
251
- var MealPlanMenuCandidateIdSchema = import_zod6.z.string().min(1).brand();
252
- var MealPlanDecisionStageIdSchema = import_zod6.z.string().uuid().brand();
253
- var MealPlanVoteIdSchema = import_zod6.z.string().uuid().brand();
254
- var MealPlanLocationCandidateSourceSchema = import_zod6.z.enum([
231
+ var FoodGranularitySchema = import_zod6.z.enum(["main_dish", "side_dish", "beverage", "sauce"]);
232
+ var CuisineTagSchema = import_zod6.z.enum([
233
+ "korean",
234
+ "western",
235
+ "chinese",
236
+ "japanese",
237
+ "mexican",
238
+ "indian",
239
+ "asian",
240
+ "snack",
241
+ "dessert",
242
+ "beverage",
243
+ "unknown"
244
+ ]);
245
+ var FoodResolvedMatchSourceSchema = import_zod6.z.enum(["category", "alias", "lexical", "semantic"]);
246
+ var FoodCodeManifestImageSchema = import_zod6.z.object({
247
+ src: import_zod6.z.string().min(1),
248
+ avifSrcset: import_zod6.z.string().min(1).optional(),
249
+ thumbhashDataURL: import_zod6.z.string().min(1).optional(),
250
+ aspectRatio: import_zod6.z.number().positive().optional()
251
+ });
252
+ var FoodCodeManifestItemSchema = import_zod6.z.object({
253
+ code: FoodCodeSchema,
254
+ label: FoodLabelSchema,
255
+ aliases: import_zod6.z.array(import_zod6.z.string().min(1)).default([]),
256
+ parentCategory: import_zod6.z.string().min(1),
257
+ cuisineTags: import_zod6.z.array(CuisineTagSchema).default([]),
258
+ categoryTags: import_zod6.z.array(import_zod6.z.string().min(1)).default([]),
259
+ semanticTags: import_zod6.z.array(import_zod6.z.string().min(1)).default([]),
260
+ granularity: FoodGranularitySchema,
261
+ searchable: import_zod6.z.boolean(),
262
+ recommendable: import_zod6.z.boolean(),
263
+ previewEnabled: import_zod6.z.boolean(),
264
+ imageUrl: import_zod6.z.string().min(1).nullable().optional(),
265
+ image: FoodCodeManifestImageSchema.nullable().optional(),
266
+ popularity: import_zod6.z.number().nonnegative().optional(),
267
+ source: import_zod6.z.enum(["foodname", "manual", "foodai", "legacy"]).optional()
268
+ });
269
+ var FoodCodeManifestSchema = import_zod6.z.object({
270
+ version: import_zod6.z.string().min(1),
271
+ updatedAt: ISODateTimeStringSchema,
272
+ taxonomyVersion: import_zod6.z.string().min(1),
273
+ etag: import_zod6.z.string().min(1).optional(),
274
+ items: import_zod6.z.array(FoodCodeManifestItemSchema),
275
+ categoryIndex: import_zod6.z.record(import_zod6.z.string(), import_zod6.z.array(FoodCodeSchema)),
276
+ aliasIndex: import_zod6.z.record(import_zod6.z.string(), import_zod6.z.array(FoodCodeSchema)).optional()
277
+ });
278
+ var FoodImageIndexItemSchema = import_zod6.z.object({
279
+ code: FoodCodeSchema,
280
+ label: FoodLabelSchema,
281
+ imageUrl: import_zod6.z.string().min(1).nullable(),
282
+ image: FoodCodeManifestImageSchema.nullable(),
283
+ source: import_zod6.z.enum(["foodname", "manual", "foodai", "legacy"]).optional()
284
+ });
285
+ var FoodImageIndexManifestSchema = import_zod6.z.object({
286
+ version: import_zod6.z.string().min(1),
287
+ updatedAt: ISODateTimeStringSchema,
288
+ taxonomyVersion: import_zod6.z.string().min(1),
289
+ items: import_zod6.z.array(FoodImageIndexItemSchema)
290
+ });
291
+ var ResolvedFoodCodeSchema = import_zod6.z.object({
292
+ code: FoodCodeSchema,
293
+ label: FoodLabelSchema,
294
+ matchedBy: FoodResolvedMatchSourceSchema,
295
+ score: import_zod6.z.number(),
296
+ granularity: FoodGranularitySchema,
297
+ imageUrl: import_zod6.z.string().min(1).nullable().optional()
298
+ });
299
+ var BooleanQuerySchema = import_zod6.z.preprocess((value) => {
300
+ if (value === "true") return true;
301
+ if (value === "false") return false;
302
+ return value;
303
+ }, import_zod6.z.boolean());
304
+ var FoodResolveQuerySchema = import_zod6.z.object({
305
+ q: import_zod6.z.string().default(""),
306
+ limit: import_zod6.z.coerce.number().int().min(1).max(100).optional().default(30),
307
+ recommendableOnly: BooleanQuerySchema.optional().default(true)
308
+ });
309
+ var FoodSearchQuerySchema = import_zod6.z.object({
310
+ q: import_zod6.z.string().default(""),
311
+ limit: import_zod6.z.coerce.number().int().min(1).max(100).optional().default(20)
312
+ });
313
+ var FoodResolveResponseSchema = import_zod6.z.object({
314
+ query: import_zod6.z.string(),
315
+ items: import_zod6.z.array(ResolvedFoodCodeSchema)
316
+ });
317
+ var FoodAiClassMappingStatusSchema = import_zod6.z.enum([
318
+ "exact",
319
+ "broad",
320
+ "narrow",
321
+ "merged",
322
+ "ignored",
323
+ "review_required"
324
+ ]);
325
+ var AiClassFoodCodeMappingSchema = import_zod6.z.object({
326
+ classId: import_zod6.z.number().int().nonnegative(),
327
+ aiLabel: import_zod6.z.string().min(1),
328
+ aiAliases: import_zod6.z.array(import_zod6.z.string().min(1)).default([]),
329
+ representativeCode: FoodCodeSchema.nullable(),
330
+ candidateCodes: import_zod6.z.array(FoodCodeSchema).default([]),
331
+ mappingStatus: FoodAiClassMappingStatusSchema,
332
+ granularity: FoodGranularitySchema,
333
+ searchable: import_zod6.z.boolean(),
334
+ recommendable: import_zod6.z.boolean(),
335
+ reason: import_zod6.z.string().min(1).optional()
336
+ });
337
+ var AiClassToFoodCodeMapManifestSchema = import_zod6.z.object({
338
+ version: import_zod6.z.string().min(1),
339
+ updatedAt: ISODateTimeStringSchema,
340
+ modelTaxonomyVersion: import_zod6.z.string().min(1),
341
+ serviceTaxonomyVersion: import_zod6.z.string().min(1),
342
+ classes: import_zod6.z.array(AiClassFoodCodeMappingSchema)
343
+ });
344
+
345
+ // src/domain/meal-plan/meal-plan-decision.schema.ts
346
+ var MealPlanLatitudeSchema = import_zod7.z.number().brand();
347
+ var MealPlanLongitudeSchema = import_zod7.z.number().brand();
348
+ var MealPlanLocationCandidateIdSchema = import_zod7.z.string().min(1).brand();
349
+ var MealPlanMenuCandidateIdSchema = import_zod7.z.string().min(1).brand();
350
+ var MealPlanDecisionStageIdSchema = import_zod7.z.string().uuid().brand();
351
+ var MealPlanVoteIdSchema = import_zod7.z.string().uuid().brand();
352
+ var MealPlanLocationCandidateSourceSchema = import_zod7.z.enum([
255
353
  "manual",
354
+ "map-marker",
256
355
  "midpoint",
356
+ "user-location",
257
357
  "search",
258
358
  "recent-place",
259
359
  "fallback"
260
360
  ]);
261
- var MealPlanLocationCandidateSchema = import_zod6.z.object({
361
+ var MealPlanLocationCandidateSchema = import_zod7.z.object({
262
362
  locationId: MealPlanLocationCandidateIdSchema,
263
- placeName: import_zod6.z.string().min(1),
363
+ placeName: import_zod7.z.string().min(1),
264
364
  lat: MealPlanLatitudeSchema,
265
365
  lng: MealPlanLongitudeSchema,
266
- address: import_zod6.z.string().default(""),
366
+ address: import_zod7.z.string().default(""),
267
367
  source: MealPlanLocationCandidateSourceSchema.default("manual"),
268
368
  createdBy: MemberIdSchema.optional(),
269
369
  createdAt: ISODateTimeStringSchema.optional()
270
370
  });
271
- var MealPlanMenuCandidateSourceSchema = import_zod6.z.enum([
371
+ var MealPlanMenuCandidateSourceSchema = import_zod7.z.enum([
272
372
  "external-recommendation",
273
373
  "prefer-menu",
274
374
  "recent-menu",
275
375
  "fallback",
276
376
  "manual-search"
277
377
  ]);
278
- var MealPlanMenuCandidateSchema = import_zod6.z.object({
378
+ var MealPlanMenuCandidateSchema = import_zod7.z.object({
279
379
  menuCandidateId: MealPlanMenuCandidateIdSchema,
280
380
  menu: FoodSchema,
281
381
  source: MealPlanMenuCandidateSourceSchema,
282
- score: import_zod6.z.number().default(0),
382
+ score: import_zod7.z.number().default(0),
383
+ imageUrl: import_zod7.z.string().min(1).nullable().default(null),
384
+ image: FoodCodeManifestImageSchema.nullable().default(null),
283
385
  createdAt: ISODateTimeStringSchema
284
386
  });
285
387
  var MealPlanRestaurantCandidateSchema = RestaurantSchema.extend({
286
388
  candidateId: RestaurantIdSchema.optional(),
287
- source: import_zod6.z.enum([
288
- "search",
289
- "fallback",
290
- "manual"
291
- ]).optional(),
389
+ source: import_zod7.z.enum(["search", "fallback", "manual"]).optional(),
292
390
  createdAt: ISODateTimeStringSchema.optional()
293
391
  });
294
- var MealPlanDecisionStageTypeSchema = import_zod6.z.enum([
392
+ var MealPlanDecisionStageTypeSchema = import_zod7.z.enum([
295
393
  "DATE",
296
394
  "TIME",
297
395
  "AREA",
@@ -299,108 +397,90 @@ var MealPlanDecisionStageTypeSchema = import_zod6.z.enum([
299
397
  "RESTAURANT",
300
398
  "FINAL_CONFIRMATION"
301
399
  ]);
302
- var MealPlanDecisionStageStatusSchema = import_zod6.z.enum([
400
+ var MealPlanDecisionStageStatusSchema = import_zod7.z.enum([
303
401
  "OPEN",
304
402
  "COMPLETED",
305
403
  "REOPENED"
306
404
  ]);
307
- var MealPlanRestaurantSearchStatusSchema = import_zod6.z.enum([
405
+ var MealPlanRestaurantSearchStatusSchema = import_zod7.z.enum([
308
406
  "IDLE",
309
407
  "PENDING",
310
408
  "READY",
311
409
  "FAILED",
312
410
  "STALE"
313
411
  ]);
314
- var MealPlanRestaurantSearchStateSchema = import_zod6.z.object({
315
- searchKey: import_zod6.z.string().min(1).nullable(),
412
+ var MealPlanRestaurantSearchStateSchema = import_zod7.z.object({
413
+ searchKey: import_zod7.z.string().min(1).nullable(),
316
414
  status: MealPlanRestaurantSearchStatusSchema,
317
415
  startedAt: ISODateTimeStringSchema.nullable(),
318
416
  completedAt: ISODateTimeStringSchema.nullable(),
319
- version: import_zod6.z.number().int().min(0),
320
- candidateCount: import_zod6.z.number().int().min(0),
321
- errorMessage: import_zod6.z.string().nullable().default(null)
417
+ version: import_zod7.z.number().int().min(0),
418
+ candidateCount: import_zod7.z.number().int().min(0),
419
+ errorMessage: import_zod7.z.string().nullable().default(null)
322
420
  });
323
- var MealPlanDecisionStageMetadataSchema = import_zod6.z.object({
421
+ var MealPlanDecisionStageMetadataSchema = import_zod7.z.object({
324
422
  restaurantSearch: MealPlanRestaurantSearchStateSchema.optional()
325
- }).catchall(import_zod6.z.unknown());
326
- var MealPlanVoteTypeSchema = import_zod6.z.enum([
423
+ }).catchall(import_zod7.z.unknown());
424
+ var MealPlanVoteTypeSchema = import_zod7.z.enum([
327
425
  "PICK",
328
426
  "EXCLUDE",
329
427
  "PREFER",
330
428
  "READY"
331
429
  ]);
332
- var MealPlanDecisionCandidateSchema = import_zod6.z.discriminatedUnion("stageType", [
333
- import_zod6.z.object({
334
- stageType: import_zod6.z.literal("DATE"),
335
- value: ISODateStringSchema
336
- }),
337
- import_zod6.z.object({
338
- stageType: import_zod6.z.literal("TIME"),
339
- value: TimeHHmmStringSchema
340
- }),
341
- import_zod6.z.object({
342
- stageType: import_zod6.z.literal("AREA"),
343
- value: MealPlanLocationCandidateSchema
344
- }),
345
- import_zod6.z.object({
346
- stageType: import_zod6.z.literal("MENU"),
347
- value: MealPlanMenuCandidateSchema
348
- }),
349
- import_zod6.z.object({
350
- stageType: import_zod6.z.literal("RESTAURANT"),
351
- value: MealPlanRestaurantCandidateSchema
352
- }),
353
- import_zod6.z.object({
354
- stageType: import_zod6.z.literal("FINAL_CONFIRMATION"),
355
- value: import_zod6.z.literal("READY")
356
- })
430
+ var MealPlanDecisionCandidateSchema = import_zod7.z.discriminatedUnion("stageType", [
431
+ import_zod7.z.object({ stageType: import_zod7.z.literal("DATE"), value: ISODateStringSchema }),
432
+ import_zod7.z.object({ stageType: import_zod7.z.literal("TIME"), value: TimeHHmmStringSchema }),
433
+ import_zod7.z.object({ stageType: import_zod7.z.literal("AREA"), value: MealPlanLocationCandidateSchema }),
434
+ import_zod7.z.object({ stageType: import_zod7.z.literal("MENU"), value: MealPlanMenuCandidateSchema }),
435
+ import_zod7.z.object({ stageType: import_zod7.z.literal("RESTAURANT"), value: MealPlanRestaurantCandidateSchema }),
436
+ import_zod7.z.object({ stageType: import_zod7.z.literal("FINAL_CONFIRMATION"), value: import_zod7.z.literal("READY") })
357
437
  ]);
358
- var MealPlanVoteSchema = import_zod6.z.object({
438
+ var MealPlanVoteSchema = import_zod7.z.object({
359
439
  voteId: MealPlanVoteIdSchema,
360
440
  voterId: MemberIdSchema.nullable(),
361
- guestId: import_zod6.z.string().min(1).nullable(),
441
+ guestId: import_zod7.z.string().min(1).nullable(),
362
442
  voteType: MealPlanVoteTypeSchema,
363
443
  candidate: MealPlanDecisionCandidateSchema,
364
444
  createdAt: ISODateTimeStringSchema
365
445
  });
366
- var MealPlanDecisionStageResponseSchema = import_zod6.z.object({
446
+ var MealPlanDecisionStageResponseSchema = import_zod7.z.object({
367
447
  stageId: MealPlanDecisionStageIdSchema,
368
448
  stageType: MealPlanDecisionStageTypeSchema,
369
449
  status: MealPlanDecisionStageStatusSchema,
370
- candidates: import_zod6.z.array(MealPlanDecisionCandidateSchema),
371
- votes: import_zod6.z.array(MealPlanVoteSchema),
450
+ candidates: import_zod7.z.array(MealPlanDecisionCandidateSchema),
451
+ votes: import_zod7.z.array(MealPlanVoteSchema),
372
452
  selectedCandidate: MealPlanDecisionCandidateSchema.nullable(),
373
453
  metadata: MealPlanDecisionStageMetadataSchema.nullable().default(null),
374
454
  openedAt: ISODateTimeStringSchema,
375
455
  completedAt: ISODateTimeStringSchema.nullable(),
376
456
  reopenedAt: ISODateTimeStringSchema.nullable()
377
457
  });
378
- var CreateMealPlanVoteRequestSchema = import_zod6.z.object({
458
+ var CreateMealPlanVoteRequestSchema = import_zod7.z.object({
379
459
  voteType: MealPlanVoteTypeSchema,
380
460
  candidate: MealPlanDecisionCandidateSchema
381
461
  });
382
- var CompleteMealPlanDecisionStageRequestSchema = import_zod6.z.object({
462
+ var CompleteMealPlanDecisionStageRequestSchema = import_zod7.z.object({
383
463
  selectedCandidate: MealPlanDecisionCandidateSchema
384
464
  });
385
- var MealPlanChangeRequestStatusSchema = import_zod6.z.enum([
465
+ var MealPlanChangeRequestStatusSchema = import_zod7.z.enum([
386
466
  "PENDING",
387
467
  "ACCEPTED",
388
468
  "REJECTED",
389
469
  "CANCELLED"
390
470
  ]);
391
- var CreateMealPlanChangeRequestSchema = import_zod6.z.object({
471
+ var CreateMealPlanChangeRequestSchema = import_zod7.z.object({
392
472
  stageType: MealPlanDecisionStageTypeSchema,
393
- reason: import_zod6.z.string().min(1).max(500),
473
+ reason: import_zod7.z.string().min(1).max(500),
394
474
  proposedCandidate: MealPlanDecisionCandidateSchema.optional()
395
475
  });
396
- var MealPlanChangeRequestSummarySchema = import_zod6.z.object({
476
+ var MealPlanChangeRequestSummarySchema = import_zod7.z.object({
397
477
  changeRequestId: MealPlanChangeRequestIdSchema,
398
478
  stageType: MealPlanDecisionStageTypeSchema,
399
479
  status: MealPlanChangeRequestStatusSchema,
400
- reason: import_zod6.z.string(),
480
+ reason: import_zod7.z.string(),
401
481
  requestedAt: ISODateTimeStringSchema
402
482
  });
403
- var MealPlanDecisionTaskKeySchema = import_zod6.z.enum([
483
+ var MealPlanDecisionTaskKeySchema = import_zod7.z.enum([
404
484
  "SCHEDULE_DATE",
405
485
  "SCHEDULE_TIME",
406
486
  "LOCATION_CANDIDATE",
@@ -412,14 +492,13 @@ var MealPlanDecisionTaskKeySchema = import_zod6.z.enum([
412
492
  "RESTAURANT_PICK",
413
493
  "FINAL_CONFIRMATION"
414
494
  ]);
415
- var MealPlanDecisionTaskStatusSchema = import_zod6.z.enum([
495
+ var MealPlanDecisionTaskStatusSchema = import_zod7.z.enum([
416
496
  "LOCKED",
417
497
  "OPEN",
418
- "READY",
419
498
  "RESOLVED",
420
499
  "STALE"
421
500
  ]);
422
- var MealPlanDecisionFinalFieldSchema = import_zod6.z.enum([
501
+ var MealPlanDecisionFinalFieldSchema = import_zod7.z.enum([
423
502
  "date",
424
503
  "time",
425
504
  "meetingAt",
@@ -427,82 +506,72 @@ var MealPlanDecisionFinalFieldSchema = import_zod6.z.enum([
427
506
  "menu",
428
507
  "restaurant"
429
508
  ]);
430
- var MealPlanDecisionSnapshotStatusSchema = import_zod6.z.enum([
509
+ var MealPlanDecisionSnapshotStatusSchema = import_zod7.z.enum([
431
510
  "CANDIDATE",
432
511
  "PROVISIONAL",
433
512
  "FINAL",
434
513
  "STALE"
435
514
  ]);
436
- var MealPlanDecisionReasonSchema = import_zod6.z.enum([
515
+ var MealPlanDecisionReasonSchema = import_zod7.z.enum([
437
516
  "COMMON_SCHEDULE",
438
517
  "TOP_VOTED_LOCATION",
439
518
  "TOP_PICKED_MENU",
440
519
  "TOP_PICKED_RESTAURANT",
441
520
  "OWNER_CONFIRMED",
442
- "TASK_ALL_READY",
443
521
  "MANUAL_SELECTION"
444
522
  ]);
445
- var MealPlanDecisionActorTypeSchema = import_zod6.z.enum([
446
- "MEMBER",
447
- "GUEST",
448
- "SYSTEM"
449
- ]);
450
- var MealPlanDecisionSnapshotSchema = import_zod6.z.object({
451
- snapshotId: import_zod6.z.string().uuid(),
452
- mealPlanId: import_zod6.z.string().uuid(),
523
+ var MealPlanDecisionActorTypeSchema = import_zod7.z.enum(["MEMBER", "GUEST", "SYSTEM"]);
524
+ var MealPlanDecisionSnapshotSchema = import_zod7.z.object({
525
+ snapshotId: import_zod7.z.string().uuid(),
526
+ mealPlanId: import_zod7.z.string().uuid(),
453
527
  field: MealPlanDecisionFinalFieldSchema,
454
- value: import_zod6.z.unknown(),
528
+ value: import_zod7.z.unknown(),
455
529
  status: MealPlanDecisionSnapshotStatusSchema,
456
530
  reason: MealPlanDecisionReasonSchema,
457
- score: import_zod6.z.number().nullable().default(null),
458
- sourceEvent: import_zod6.z.string().min(1),
531
+ score: import_zod7.z.number().nullable().default(null),
532
+ sourceEvent: import_zod7.z.string().min(1),
459
533
  sourceActorType: MealPlanDecisionActorTypeSchema,
460
534
  sourceMemberId: MemberIdSchema.nullable(),
461
- sourceGuestId: import_zod6.z.string().min(1).nullable(),
462
- sourceParticipantId: import_zod6.z.string().uuid().nullable(),
463
- sourceVersion: import_zod6.z.number().int().min(0),
464
- dependencyHash: import_zod6.z.string().min(1),
465
- dependencyFields: import_zod6.z.array(MealPlanDecisionFinalFieldSchema),
535
+ sourceGuestId: import_zod7.z.string().min(1).nullable(),
536
+ sourceParticipantId: import_zod7.z.string().uuid().nullable(),
537
+ sourceVersion: import_zod7.z.number().int().min(0),
538
+ dependencyHash: import_zod7.z.string().min(1),
539
+ dependencyFields: import_zod7.z.array(MealPlanDecisionFinalFieldSchema),
466
540
  createdAt: ISODateTimeStringSchema,
467
541
  staleAt: ISODateTimeStringSchema.nullable()
468
542
  });
469
- var MealPlanDecisionTaskProgressSchema = import_zod6.z.object({
543
+ var MealPlanDecisionTaskProgressSchema = import_zod7.z.object({
470
544
  taskKey: MealPlanDecisionTaskKeySchema,
471
545
  status: MealPlanDecisionTaskStatusSchema,
472
- readyCount: import_zod6.z.number().int().min(0),
473
- participantCount: import_zod6.z.number().int().min(0),
474
- blockers: import_zod6.z.array(import_zod6.z.string()).default([]),
546
+ blockers: import_zod7.z.array(import_zod7.z.string()).default([]),
475
547
  updatedAt: ISODateTimeStringSchema
476
548
  });
477
- var MealPlanDecisionProgressSchema = import_zod6.z.object({
478
- mealPlanId: import_zod6.z.string().uuid(),
479
- status: import_zod6.z.string().min(1),
480
- tasks: import_zod6.z.array(MealPlanDecisionTaskProgressSchema),
481
- final: import_zod6.z.record(import_zod6.z.string(), import_zod6.z.unknown()),
482
- provisional: import_zod6.z.record(import_zod6.z.string(), import_zod6.z.unknown()),
483
- snapshots: import_zod6.z.array(MealPlanDecisionSnapshotSchema),
484
- version: import_zod6.z.number().int().min(0),
549
+ var MealPlanDecisionProgressSchema = import_zod7.z.object({
550
+ mealPlanId: import_zod7.z.string().uuid(),
551
+ status: import_zod7.z.string().min(1),
552
+ tasks: import_zod7.z.array(MealPlanDecisionTaskProgressSchema),
553
+ final: import_zod7.z.record(import_zod7.z.string(), import_zod7.z.unknown()),
554
+ provisional: import_zod7.z.record(import_zod7.z.string(), import_zod7.z.unknown()),
555
+ snapshots: import_zod7.z.array(MealPlanDecisionSnapshotSchema),
556
+ version: import_zod7.z.number().int().min(0),
485
557
  updatedAt: ISODateTimeStringSchema
486
558
  });
487
- var MealPlanDecisionTaskReadyRequestSchema = import_zod6.z.object({
488
- isReady: import_zod6.z.boolean()
489
- });
490
- var ReopenMealPlanDecisionTaskRequestSchema = import_zod6.z.object({
491
- reason: import_zod6.z.string().max(500).optional()
559
+ var ReopenMealPlanDecisionTaskRequestSchema = import_zod7.z.object({
560
+ reason: import_zod7.z.string().max(500).optional()
492
561
  });
493
- var ConfirmMealPlanDecisionSnapshotRequestSchema = import_zod6.z.object({
494
- snapshotId: import_zod6.z.string().uuid()
562
+ var ConfirmMealPlanDecisionSnapshotRequestSchema = import_zod7.z.object({
563
+ snapshotId: import_zod7.z.string().uuid()
495
564
  });
496
565
 
497
566
  // src/domain/meal-plan/meal-plan-participant.schema.ts
498
- var import_zod7 = require("zod");
499
- var MealPlanParticipantIdSchema = import_zod7.z.string().uuid().brand();
500
- var MealPlanParticipantRoleSchema = import_zod7.z.enum([
567
+ var import_zod8 = require("zod");
568
+ var MealPlanParticipantIdSchema = import_zod8.z.string().uuid().brand();
569
+ var MealPlanParticipantRoleSchema = import_zod8.z.enum([
501
570
  "OWNER",
502
571
  "FRIEND",
503
572
  "GUEST"
504
573
  ]);
505
- var MealPlanParticipantStatusSchema = import_zod7.z.enum([
574
+ var MealPlanParticipantStatusSchema = import_zod8.z.enum([
506
575
  "INVITED",
507
576
  "REQUESTED",
508
577
  "JOINED",
@@ -511,17 +580,17 @@ var MealPlanParticipantStatusSchema = import_zod7.z.enum([
511
580
  "LEFT",
512
581
  "REMOVED"
513
582
  ]);
514
- var MealPlanJoinSourceSchema = import_zod7.z.enum([
583
+ var MealPlanJoinSourceSchema = import_zod8.z.enum([
515
584
  "OWNER",
516
585
  "FRIEND_INVITE",
517
586
  "LINK_GUEST",
518
587
  "NEARBY_FRIENDS"
519
588
  ]);
520
- var MealPlanGuestParticipantSchema = import_zod7.z.object({
521
- guestId: import_zod7.z.string().min(1),
522
- nickname: import_zod7.z.string().min(1).max(50)
589
+ var MealPlanGuestParticipantSchema = import_zod8.z.object({
590
+ guestId: import_zod8.z.string().min(1),
591
+ nickname: import_zod8.z.string().min(1).max(50)
523
592
  });
524
- var MealPlanParticipantResponseSchema = import_zod7.z.object({
593
+ var MealPlanParticipantResponseSchema = import_zod8.z.object({
525
594
  participantId: MealPlanParticipantIdSchema,
526
595
  mealPlanId: MealPlanIdSchema,
527
596
  member: MemberCoreSchema.nullable(),
@@ -532,66 +601,66 @@ var MealPlanParticipantResponseSchema = import_zod7.z.object({
532
601
  joinedAt: ISODateTimeStringSchema.nullable(),
533
602
  readyAt: ISODateTimeStringSchema.nullable()
534
603
  });
535
- var CreateMealPlanParticipantRequestSchema = import_zod7.z.object({
604
+ var CreateMealPlanParticipantRequestSchema = import_zod8.z.object({
536
605
  memberId: MemberIdSchema.optional(),
537
- guestNickname: import_zod7.z.string().min(1).max(50).optional(),
606
+ guestNickname: import_zod8.z.string().min(1).max(50).optional(),
538
607
  source: MealPlanJoinSourceSchema
539
608
  });
540
609
 
541
610
  // src/domain/meal-plan/meal-plan-invite.schema.ts
542
- var import_zod8 = require("zod");
543
- var MealPlanInviteStatusSchema = import_zod8.z.enum([
611
+ var import_zod9 = require("zod");
612
+ var MealPlanInviteStatusSchema = import_zod9.z.enum([
544
613
  "PENDING",
545
614
  "ACCEPTED",
546
615
  "DECLINED",
547
616
  "CANCELLED",
548
617
  "EXPIRED"
549
618
  ]);
550
- var CreateMealPlanInviteRequestSchema = import_zod8.z.object({
619
+ var CreateMealPlanInviteRequestSchema = import_zod9.z.object({
551
620
  inviteeId: MemberIdSchema,
552
- message: import_zod8.z.string().max(500).default("")
621
+ message: import_zod9.z.string().max(500).default("")
553
622
  });
554
- var MealPlanInviteSummarySchema = import_zod8.z.object({
623
+ var MealPlanInviteSummarySchema = import_zod9.z.object({
555
624
  inviteId: MealPlanInviteIdSchema,
556
625
  mealPlanId: MealPlanIdSchema,
557
626
  inviter: MemberCoreSchema,
558
627
  invitee: MemberCoreSchema,
559
628
  status: MealPlanInviteStatusSchema,
560
- message: import_zod8.z.string().max(500),
629
+ message: import_zod9.z.string().max(500),
561
630
  createdAt: ISODateTimeStringSchema,
562
631
  respondedAt: ISODateTimeStringSchema.nullable()
563
632
  });
564
- var MealPlanInviteListResponseSchema = import_zod8.z.array(MealPlanInviteSummarySchema);
565
- var SendMealPlanInviteResponseSchema = import_zod8.z.object({
633
+ var MealPlanInviteListResponseSchema = import_zod9.z.array(MealPlanInviteSummarySchema);
634
+ var SendMealPlanInviteResponseSchema = import_zod9.z.object({
566
635
  inviteId: MealPlanInviteIdSchema
567
636
  });
568
637
 
569
638
  // src/domain/meal-plan/meal-plan-nearby-friend.schema.ts
570
- var import_zod9 = require("zod");
571
- var MealPlanNearbyFriendExposureIdSchema = import_zod9.z.string().uuid().brand();
572
- var MealPlanNearbyFriendExposureStatusSchema = import_zod9.z.enum([
639
+ var import_zod10 = require("zod");
640
+ var MealPlanNearbyFriendExposureIdSchema = import_zod10.z.string().uuid().brand();
641
+ var MealPlanNearbyFriendExposureStatusSchema = import_zod10.z.enum([
573
642
  "OPEN",
574
643
  "CLOSED",
575
644
  "EXPIRED"
576
645
  ]);
577
- var MealPlanNearbyFriendExposureNotificationStatusSchema = import_zod9.z.enum([
646
+ var MealPlanNearbyFriendExposureNotificationStatusSchema = import_zod10.z.enum([
578
647
  "PENDING",
579
648
  "SENT",
580
649
  "PARTIAL",
581
650
  "FAILED",
582
651
  "SKIPPED"
583
652
  ]);
584
- var ExposeMealPlanToNearbyFriendsRequestSchema = import_zod9.z.object({
585
- radiusMeters: import_zod9.z.number().int().min(100).max(5e3).default(1e3),
653
+ var ExposeMealPlanToNearbyFriendsRequestSchema = import_zod10.z.object({
654
+ radiusMeters: import_zod10.z.number().int().min(100).max(5e3).default(1e3),
586
655
  expiresAt: ISODateTimeStringSchema.optional()
587
656
  });
588
- var NearbyFriendExposureEligibilitySchema = import_zod9.z.object({
589
- canExpose: import_zod9.z.boolean(),
657
+ var NearbyFriendExposureEligibilitySchema = import_zod10.z.object({
658
+ canExpose: import_zod10.z.boolean(),
590
659
  locationConsentStatus: LocationConsentStatusSchema,
591
- nearbyMealPlanExposureAllowed: import_zod9.z.boolean(),
592
- mealSuggestionAllowed: import_zod9.z.boolean(),
593
- hasLastKnownLocation: import_zod9.z.boolean(),
594
- missingRequirements: import_zod9.z.array(import_zod9.z.enum([
660
+ nearbyMealPlanExposureAllowed: import_zod10.z.boolean(),
661
+ mealSuggestionAllowed: import_zod10.z.boolean(),
662
+ hasLastKnownLocation: import_zod10.z.boolean(),
663
+ missingRequirements: import_zod10.z.array(import_zod10.z.enum([
595
664
  "LOCATION_PERMISSION",
596
665
  "SERVICE_LOCATION_CONSENT",
597
666
  "NEARBY_EXPOSURE_TOGGLE",
@@ -599,7 +668,7 @@ var NearbyFriendExposureEligibilitySchema = import_zod9.z.object({
599
668
  "LAST_KNOWN_LOCATION"
600
669
  ]))
601
670
  });
602
- var MealPlanNearbyFriendRejectionReasonSchema = import_zod9.z.enum([
671
+ var MealPlanNearbyFriendRejectionReasonSchema = import_zod10.z.enum([
603
672
  "NOT_FRIEND",
604
673
  "BLOCKED",
605
674
  "LOCATION_CONSENT_REQUIRED",
@@ -608,79 +677,79 @@ var MealPlanNearbyFriendRejectionReasonSchema = import_zod9.z.enum([
608
677
  "MEAL_SUGGESTION_DISABLED",
609
678
  "NOT_HUNGRY"
610
679
  ]);
611
- var MealPlanNearbyFriendRejectionSummarySchema = import_zod9.z.object({
680
+ var MealPlanNearbyFriendRejectionSummarySchema = import_zod10.z.object({
612
681
  reason: MealPlanNearbyFriendRejectionReasonSchema,
613
- count: import_zod9.z.number().int().min(0)
682
+ count: import_zod10.z.number().int().min(0)
614
683
  });
615
- var ExposeMealPlanToNearbyFriendsResponseSchema = import_zod9.z.object({
684
+ var ExposeMealPlanToNearbyFriendsResponseSchema = import_zod10.z.object({
616
685
  mealPlanId: MealPlanIdSchema,
617
686
  exposureBatchId: MealPlanNearbyFriendExposureBatchIdSchema,
618
- exposedFriendCount: import_zod9.z.number().int().min(0),
619
- rejectedFriendCount: import_zod9.z.number().int().min(0),
687
+ exposedFriendCount: import_zod10.z.number().int().min(0),
688
+ rejectedFriendCount: import_zod10.z.number().int().min(0),
620
689
  notificationStatus: MealPlanNearbyFriendExposureNotificationStatusSchema,
621
- rejectionSummary: import_zod9.z.array(MealPlanNearbyFriendRejectionSummarySchema)
690
+ rejectionSummary: import_zod10.z.array(MealPlanNearbyFriendRejectionSummarySchema)
622
691
  });
623
- var MealPlanNearbyFriendExposureSummarySchema = import_zod9.z.object({
692
+ var MealPlanNearbyFriendExposureSummarySchema = import_zod10.z.object({
624
693
  exposureId: MealPlanNearbyFriendExposureIdSchema,
625
694
  exposureBatchId: MealPlanNearbyFriendExposureBatchIdSchema.nullable(),
626
695
  mealPlanId: MealPlanIdSchema,
627
696
  status: MealPlanNearbyFriendExposureStatusSchema,
628
- radiusMeters: import_zod9.z.number().int().min(100),
629
- exposedFriendCount: import_zod9.z.number().int().min(0),
697
+ radiusMeters: import_zod10.z.number().int().min(100),
698
+ exposedFriendCount: import_zod10.z.number().int().min(0),
630
699
  openedAt: ISODateTimeStringSchema,
631
700
  expiresAt: ISODateTimeStringSchema.nullable(),
632
701
  closedAt: ISODateTimeStringSchema.nullable()
633
702
  });
634
- var MealPlanNearbyFriendExposureBatchSummarySchema = import_zod9.z.object({
703
+ var MealPlanNearbyFriendExposureBatchSummarySchema = import_zod10.z.object({
635
704
  exposureBatchId: MealPlanNearbyFriendExposureBatchIdSchema,
636
705
  mealPlanId: MealPlanIdSchema,
637
706
  status: MealPlanNearbyFriendExposureStatusSchema,
638
- radiusMeters: import_zod9.z.number().int().min(100),
639
- exposedFriendCount: import_zod9.z.number().int().min(0),
640
- rejectedFriendCount: import_zod9.z.number().int().min(0),
641
- rejectionSummary: import_zod9.z.array(MealPlanNearbyFriendRejectionSummarySchema),
707
+ radiusMeters: import_zod10.z.number().int().min(100),
708
+ exposedFriendCount: import_zod10.z.number().int().min(0),
709
+ rejectedFriendCount: import_zod10.z.number().int().min(0),
710
+ rejectionSummary: import_zod10.z.array(MealPlanNearbyFriendRejectionSummarySchema),
642
711
  notificationStatus: MealPlanNearbyFriendExposureNotificationStatusSchema,
643
712
  notificationSentAt: ISODateTimeStringSchema.nullable(),
644
713
  openedAt: ISODateTimeStringSchema,
645
714
  expiresAt: ISODateTimeStringSchema.nullable(),
646
715
  closedAt: ISODateTimeStringSchema.nullable()
647
716
  });
648
- var MealPlanJoinRequestStatusSchema = import_zod9.z.enum([
717
+ var MealPlanJoinRequestStatusSchema = import_zod10.z.enum([
649
718
  "PENDING",
650
719
  "ACCEPTED",
651
720
  "REJECTED",
652
721
  "CANCELLED"
653
722
  ]);
654
- var CreateMealPlanJoinRequestSchema = import_zod9.z.object({
655
- message: import_zod9.z.string().max(500).default("")
723
+ var CreateMealPlanJoinRequestSchema = import_zod10.z.object({
724
+ message: import_zod10.z.string().max(500).default("")
656
725
  });
657
- var MealPlanJoinRequestSummarySchema = import_zod9.z.object({
726
+ var MealPlanJoinRequestSummarySchema = import_zod10.z.object({
658
727
  joinRequestId: MealPlanJoinRequestIdSchema,
659
728
  mealPlanId: MealPlanIdSchema,
660
729
  requester: MemberCoreSchema,
661
730
  status: MealPlanJoinRequestStatusSchema,
662
- message: import_zod9.z.string().max(500),
731
+ message: import_zod10.z.string().max(500),
663
732
  requestedAt: ISODateTimeStringSchema,
664
733
  respondedAt: ISODateTimeStringSchema.nullable()
665
734
  });
666
- var NearbyFriendMealPlanSummarySchema = import_zod9.z.object({
735
+ var NearbyFriendMealPlanSummarySchema = import_zod10.z.object({
667
736
  mealPlanId: MealPlanIdSchema,
668
737
  owner: MemberCoreSchema,
669
- title: import_zod9.z.string(),
670
- participantCount: import_zod9.z.number().int().min(1),
671
- distanceMeters: import_zod9.z.number().int().min(0),
738
+ title: import_zod10.z.string(),
739
+ participantCount: import_zod10.z.number().int().min(1),
740
+ distanceMeters: import_zod10.z.number().int().min(0),
672
741
  exposedAt: ISODateTimeStringSchema,
673
742
  expiresAt: ISODateTimeStringSchema.nullable(),
674
743
  joinRequestStatus: MealPlanJoinRequestStatusSchema.nullable().default(null)
675
744
  });
676
745
 
677
746
  // src/domain/meal-plan/meal-plan-chat.schema.ts
678
- var import_zod10 = require("zod");
679
- var MealPlanChatMessageKindSchema = import_zod10.z.enum([
747
+ var import_zod11 = require("zod");
748
+ var MealPlanChatMessageKindSchema = import_zod11.z.enum([
680
749
  "USER",
681
750
  "SYSTEM"
682
751
  ]);
683
- var MealPlanSystemMessageKindSchema = import_zod10.z.enum([
752
+ var MealPlanSystemMessageKindSchema = import_zod11.z.enum([
684
753
  "PARTICIPANT_JOINED",
685
754
  "PARTICIPANT_READY",
686
755
  "PARTICIPANT_REMOVED",
@@ -689,39 +758,41 @@ var MealPlanSystemMessageKindSchema = import_zod10.z.enum([
689
758
  "CONFIRMED",
690
759
  "RECORD_NEEDED"
691
760
  ]);
692
- var MealPlanChatSystemPayloadSchema = import_zod10.z.object({
761
+ var MealPlanChatSystemPayloadSchema = import_zod11.z.object({
693
762
  kind: MealPlanSystemMessageKindSchema
694
- }).catchall(import_zod10.z.unknown());
695
- var MealPlanChatMessageListResponseSchema = import_zod10.z.array(import_zod10.z.lazy(() => MealPlanChatMessageResponseSchema));
696
- var MealPlanChatRoomSummarySchema = import_zod10.z.object({
763
+ }).catchall(import_zod11.z.unknown());
764
+ var MealPlanChatMessageListResponseSchema = import_zod11.z.array(
765
+ import_zod11.z.lazy(() => MealPlanChatMessageResponseSchema)
766
+ );
767
+ var MealPlanChatRoomSummarySchema = import_zod11.z.object({
697
768
  chatRoomId: MealPlanChatRoomIdSchema,
698
769
  mealPlanId: MealPlanIdSchema,
699
- messageCount: import_zod10.z.number().int().min(0),
770
+ messageCount: import_zod11.z.number().int().min(0),
700
771
  lastMessageAt: ISODateTimeStringSchema.nullable(),
701
772
  createdAt: ISODateTimeStringSchema
702
773
  });
703
- var SendMealPlanChatMessageRequestSchema = import_zod10.z.object({
704
- message: import_zod10.z.string().min(1).max(500)
774
+ var SendMealPlanChatMessageRequestSchema = import_zod11.z.object({
775
+ message: import_zod11.z.string().min(1).max(500)
705
776
  });
706
- var MealPlanChatMessageResponseSchema = import_zod10.z.object({
777
+ var MealPlanChatMessageResponseSchema = import_zod11.z.object({
707
778
  messageId: MealPlanChatMessageIdSchema,
708
779
  chatRoomId: MealPlanChatRoomIdSchema,
709
780
  sender: MemberCoreSchema.nullable(),
710
- guestId: import_zod10.z.string().min(1).nullable(),
711
- guestNickname: import_zod10.z.string().min(1).nullable(),
781
+ guestId: import_zod11.z.string().min(1).nullable(),
782
+ guestNickname: import_zod11.z.string().min(1).nullable(),
712
783
  kind: MealPlanChatMessageKindSchema,
713
- message: import_zod10.z.string().min(1).max(1e3),
784
+ message: import_zod11.z.string().min(1).max(1e3),
714
785
  systemPayload: MealPlanChatSystemPayloadSchema.nullable(),
715
786
  createdAt: ISODateTimeStringSchema
716
787
  });
717
- var MealPlanSystemMessageSchema = import_zod10.z.object({
788
+ var MealPlanSystemMessageSchema = import_zod11.z.object({
718
789
  kind: MealPlanSystemMessageKindSchema,
719
- message: import_zod10.z.string().min(1),
790
+ message: import_zod11.z.string().min(1),
720
791
  createdAt: ISODateTimeStringSchema
721
792
  });
722
793
 
723
794
  // src/domain/meal-plan/meal-plan.schema.ts
724
- var MealPlanStatusSchema = import_zod11.z.enum([
795
+ var MealPlanStatusSchema = import_zod12.z.enum([
725
796
  "DRAFT",
726
797
  "RECOMMENDING",
727
798
  "GATHERING",
@@ -733,78 +804,74 @@ var MealPlanStatusSchema = import_zod11.z.enum([
733
804
  "RECORDED",
734
805
  "CANCELLED"
735
806
  ]);
736
- var MealPlanChannelSchema = import_zod11.z.enum([
807
+ var MealPlanChannelSchema = import_zod12.z.enum([
737
808
  "OWNER_ONLY",
738
809
  "FRIEND_INVITE",
739
810
  "LINK_GUEST",
740
811
  "NEARBY_FRIENDS"
741
812
  ]);
742
- var MealPlanRecommendationContextSchema = import_zod11.z.object({
813
+ var MealPlanRecommendationContextSchema = import_zod12.z.object({
743
814
  mealDate: ISODateStringSchema.optional(),
744
815
  mealTime: TimeHHmmStringSchema.optional(),
745
816
  area: MealPlanLocationCandidateSchema.optional(),
746
- preferredMenuCategories: import_zod11.z.array(import_zod11.z.string().min(1)).default([]),
747
- excludedMenuCategories: import_zod11.z.array(import_zod11.z.string().min(1)).default([]),
748
- candidateMenuCategories: import_zod11.z.array(import_zod11.z.string().min(1)).default([]),
749
- budgetMin: import_zod11.z.number().int().min(0).optional(),
750
- budgetMax: import_zod11.z.number().int().min(0).optional(),
751
- memo: import_zod11.z.string().max(500).optional()
752
- });
753
- var CreateMealPlanRequestSchema = import_zod11.z.object({
754
- title: import_zod11.z.string().min(1).max(100).optional(),
755
- channels: import_zod11.z.array(MealPlanChannelSchema).default([
756
- "OWNER_ONLY"
757
- ]),
817
+ preferredMenuCategories: import_zod12.z.array(import_zod12.z.string().min(1)).default([]),
818
+ excludedMenuCategories: import_zod12.z.array(import_zod12.z.string().min(1)).default([]),
819
+ candidateMenuCategories: import_zod12.z.array(import_zod12.z.string().min(1)).default([]),
820
+ budgetMin: import_zod12.z.number().int().min(0).optional(),
821
+ budgetMax: import_zod12.z.number().int().min(0).optional(),
822
+ memo: import_zod12.z.string().max(500).optional()
823
+ });
824
+ var CreateMealPlanRequestSchema = import_zod12.z.object({
825
+ title: import_zod12.z.string().min(1).max(100).optional(),
826
+ channels: import_zod12.z.array(MealPlanChannelSchema).default(["OWNER_ONLY"]),
758
827
  recommendationContext: MealPlanRecommendationContextSchema.optional()
759
828
  });
760
- var CreateMealPlanResponseSchema = import_zod11.z.object({
829
+ var CreateMealPlanResponseSchema = import_zod12.z.object({
761
830
  mealPlanId: MealPlanIdSchema
762
831
  });
763
832
  var UpdateMealPlanContextRequestSchema = MealPlanRecommendationContextSchema.partial();
764
- var MealPlanViewerRoleSchema = import_zod11.z.enum([
833
+ var MealPlanViewerRoleSchema = import_zod12.z.enum([
765
834
  "OWNER",
766
835
  "FRIEND",
767
836
  "GUEST",
768
837
  "NONE"
769
838
  ]);
770
- var MealPlanViewerPermissionsSchema = import_zod11.z.object({
771
- canView: import_zod11.z.boolean(),
772
- canInviteFriends: import_zod11.z.boolean(),
773
- canManageParticipants: import_zod11.z.boolean(),
774
- canCreateShareLink: import_zod11.z.boolean(),
775
- canExposeNearbyFriends: import_zod11.z.boolean(),
776
- canVote: import_zod11.z.boolean(),
777
- canChat: import_zod11.z.boolean(),
778
- canReadyMealPlan: import_zod11.z.boolean(),
779
- canReadyDecisionTask: import_zod11.z.boolean(),
780
- canRequestChange: import_zod11.z.boolean(),
781
- canReopenDecisionTask: import_zod11.z.boolean(),
782
- canConfirmDecisionSnapshot: import_zod11.z.boolean(),
783
- canConfirmMealPlan: import_zod11.z.boolean(),
784
- canCompleteMealPlan: import_zod11.z.boolean(),
785
- canRecordMealPlan: import_zod11.z.boolean(),
786
- canCancelMealPlan: import_zod11.z.boolean()
787
- });
788
- var MealPlanResponseSchema = import_zod11.z.object({
839
+ var MealPlanViewerPermissionsSchema = import_zod12.z.object({
840
+ canView: import_zod12.z.boolean(),
841
+ canInviteFriends: import_zod12.z.boolean(),
842
+ canManageParticipants: import_zod12.z.boolean(),
843
+ canCreateShareLink: import_zod12.z.boolean(),
844
+ canExposeNearbyFriends: import_zod12.z.boolean(),
845
+ canVote: import_zod12.z.boolean(),
846
+ canChat: import_zod12.z.boolean(),
847
+ canReadyMealPlan: import_zod12.z.boolean(),
848
+ canRequestChange: import_zod12.z.boolean(),
849
+ canReopenDecisionTask: import_zod12.z.boolean(),
850
+ canConfirmDecisionSnapshot: import_zod12.z.boolean(),
851
+ canConfirmMealPlan: import_zod12.z.boolean(),
852
+ canCompleteMealPlan: import_zod12.z.boolean(),
853
+ canRecordMealPlan: import_zod12.z.boolean(),
854
+ canCancelMealPlan: import_zod12.z.boolean()
855
+ });
856
+ var MealPlanResponseSchema = import_zod12.z.object({
789
857
  mealPlanId: MealPlanIdSchema,
790
858
  owner: MemberCoreSchema,
791
- title: import_zod11.z.string().nullable(),
859
+ title: import_zod12.z.string().nullable(),
792
860
  status: MealPlanStatusSchema,
793
- channels: import_zod11.z.array(MealPlanChannelSchema),
794
- participants: import_zod11.z.array(MealPlanParticipantResponseSchema),
795
- pendingInvites: import_zod11.z.array(MealPlanInviteSummarySchema),
796
- pendingJoinRequests: import_zod11.z.array(MealPlanJoinRequestSummarySchema),
797
- decisionStages: import_zod11.z.array(MealPlanDecisionStageResponseSchema),
861
+ channels: import_zod12.z.array(MealPlanChannelSchema),
862
+ participants: import_zod12.z.array(MealPlanParticipantResponseSchema),
863
+ pendingInvites: import_zod12.z.array(MealPlanInviteSummarySchema),
864
+ pendingJoinRequests: import_zod12.z.array(MealPlanJoinRequestSummarySchema),
865
+ decisionStages: import_zod12.z.array(MealPlanDecisionStageResponseSchema),
798
866
  decisionProgress: MealPlanDecisionProgressSchema.nullable(),
799
867
  viewerRole: MealPlanViewerRoleSchema,
800
868
  viewerParticipantStatus: MealPlanParticipantStatusSchema.nullable(),
801
869
  viewerPermissions: MealPlanViewerPermissionsSchema,
802
- viewerTaskReadyMap: import_zod11.z.record(MealPlanDecisionTaskKeySchema, import_zod11.z.boolean()),
803
870
  selectedDate: ISODateStringSchema.nullable(),
804
871
  selectedTime: TimeHHmmStringSchema.nullable(),
805
872
  selectedArea: MealPlanLocationCandidateSchema.nullable(),
806
873
  selectedRestaurant: RestaurantSchema.nullable(),
807
- selectedMenuCategory: import_zod11.z.string().nullable(),
874
+ selectedMenuCategory: import_zod12.z.string().nullable(),
808
875
  chatRoom: MealPlanChatRoomSummarySchema.nullable(),
809
876
  confirmedAt: ISODateTimeStringSchema.nullable(),
810
877
  lockedAt: ISODateTimeStringSchema.nullable(),
@@ -813,36 +880,31 @@ var MealPlanResponseSchema = import_zod11.z.object({
813
880
  createdAt: ISODateTimeStringSchema,
814
881
  updatedAt: ISODateTimeStringSchema
815
882
  });
816
- var MyMealPlanGroupSchema = import_zod11.z.enum([
817
- "DECIDING",
818
- "UPCOMING",
819
- "RECORD_NEEDED",
820
- "PAST"
821
- ]);
822
- var MyMealPlanListItemSchema = import_zod11.z.object({
883
+ var MyMealPlanGroupSchema = import_zod12.z.enum(["DECIDING", "UPCOMING", "RECORD_NEEDED", "PAST"]);
884
+ var MyMealPlanListItemSchema = import_zod12.z.object({
823
885
  mealPlanId: MealPlanIdSchema,
824
886
  group: MyMealPlanGroupSchema,
825
- title: import_zod11.z.string(),
887
+ title: import_zod12.z.string(),
826
888
  status: MealPlanStatusSchema,
827
- channels: import_zod11.z.array(MealPlanChannelSchema),
828
- participantCount: import_zod11.z.number().int().min(1),
889
+ channels: import_zod12.z.array(MealPlanChannelSchema),
890
+ participantCount: import_zod12.z.number().int().min(1),
829
891
  selectedDate: ISODateStringSchema.nullable(),
830
892
  selectedTime: TimeHHmmStringSchema.nullable(),
831
- selectedAreaName: import_zod11.z.string().nullable(),
832
- selectedRestaurantName: import_zod11.z.string().nullable(),
833
- primaryAction: import_zod11.z.object({
834
- label: import_zod11.z.string(),
835
- href: import_zod11.z.string()
893
+ selectedAreaName: import_zod12.z.string().nullable(),
894
+ selectedRestaurantName: import_zod12.z.string().nullable(),
895
+ primaryAction: import_zod12.z.object({
896
+ label: import_zod12.z.string(),
897
+ href: import_zod12.z.string()
836
898
  }),
837
899
  updatedAt: ISODateTimeStringSchema
838
900
  });
839
- var MyMealPlanListResponseSchema = import_zod11.z.object({
840
- deciding: import_zod11.z.array(MyMealPlanListItemSchema),
841
- upcoming: import_zod11.z.array(MyMealPlanListItemSchema),
842
- recordNeeded: import_zod11.z.array(MyMealPlanListItemSchema),
843
- past: import_zod11.z.array(MyMealPlanListItemSchema)
901
+ var MyMealPlanListResponseSchema = import_zod12.z.object({
902
+ deciding: import_zod12.z.array(MyMealPlanListItemSchema),
903
+ upcoming: import_zod12.z.array(MyMealPlanListItemSchema),
904
+ recordNeeded: import_zod12.z.array(MyMealPlanListItemSchema),
905
+ past: import_zod12.z.array(MyMealPlanListItemSchema)
844
906
  });
845
- var MealPlanNotificationKindSchema = import_zod11.z.enum([
907
+ var MealPlanNotificationKindSchema = import_zod12.z.enum([
846
908
  "MEAL_PLAN_INVITE_RECEIVED",
847
909
  "MEAL_PLAN_INVITE_ACCEPTED",
848
910
  "MEAL_PLAN_JOIN_REQUESTED",
@@ -854,199 +916,188 @@ var MealPlanNotificationKindSchema = import_zod11.z.enum([
854
916
  "MEAL_PLAN_LOCKED",
855
917
  "MEAL_PLAN_RECORD_NEEDED"
856
918
  ]);
857
- var MealPlanNotificationPriorityChannelSchema = import_zod11.z.enum([
919
+ var MealPlanNotificationPriorityChannelSchema = import_zod12.z.enum([
858
920
  "HOME",
859
921
  "NOTIFICATION_INBOX",
860
922
  "FCM_PUSH",
861
923
  "LIVE_ACTIVITY"
862
924
  ]);
863
- var MealPlanLiveActivityBehaviorSchema = import_zod11.z.enum([
925
+ var MealPlanLiveActivityBehaviorSchema = import_zod12.z.enum([
864
926
  "NONE",
865
927
  "START_OR_UPDATE",
866
928
  "UPDATE",
867
929
  "END"
868
930
  ]);
869
- var MealPlanNotificationPriorityPolicyItemSchema = import_zod11.z.object({
931
+ var MealPlanNotificationPriorityPolicyItemSchema = import_zod12.z.object({
870
932
  kind: MealPlanNotificationKindSchema,
871
- priority: import_zod11.z.number().int().min(0),
872
- homePriority: import_zod11.z.number().int().min(0),
873
- inboxPriority: import_zod11.z.number().int().min(0),
874
- fcmPriority: import_zod11.z.number().int().min(0),
875
- liveActivityPriority: import_zod11.z.number().int().min(0),
933
+ priority: import_zod12.z.number().int().min(0),
934
+ homePriority: import_zod12.z.number().int().min(0),
935
+ inboxPriority: import_zod12.z.number().int().min(0),
936
+ fcmPriority: import_zod12.z.number().int().min(0),
937
+ liveActivityPriority: import_zod12.z.number().int().min(0),
876
938
  liveActivityBehavior: MealPlanLiveActivityBehaviorSchema,
877
- foregroundToast: import_zod11.z.boolean()
939
+ foregroundToast: import_zod12.z.boolean()
878
940
  });
879
- var MealPlanNotificationSchema = import_zod11.z.object({
880
- notificationId: import_zod11.z.string().min(1),
941
+ var MealPlanNotificationSchema = import_zod12.z.object({
942
+ notificationId: import_zod12.z.string().min(1),
881
943
  kind: MealPlanNotificationKindSchema,
882
944
  mealPlanId: MealPlanIdSchema,
883
- deepLink: import_zod11.z.string().min(1),
884
- title: import_zod11.z.string().min(1),
885
- message: import_zod11.z.string().min(1),
945
+ deepLink: import_zod12.z.string().min(1),
946
+ title: import_zod12.z.string().min(1),
947
+ message: import_zod12.z.string().min(1),
886
948
  createdAt: ISODateTimeStringSchema,
887
949
  readAt: ISODateTimeStringSchema.nullable()
888
950
  });
889
951
 
890
952
  // src/domain/push/push.schema.ts
891
- var import_zod12 = require("zod");
892
- var PushProviderSchema = import_zod12.z.enum([
893
- "FCM",
894
- "APNS_LIVE_ACTIVITY"
895
- ]);
896
- var PushPlatformSchema = import_zod12.z.enum([
897
- "WEB",
898
- "ANDROID",
899
- "IOS"
900
- ]);
901
- var PushPermissionStatusSchema = import_zod12.z.enum([
953
+ var import_zod13 = require("zod");
954
+ var PushProviderSchema = import_zod13.z.enum(["FCM", "APNS_LIVE_ACTIVITY"]);
955
+ var PushPlatformSchema = import_zod13.z.enum(["WEB", "ANDROID", "IOS"]);
956
+ var PushPermissionStatusSchema = import_zod13.z.enum([
902
957
  "UNKNOWN",
903
958
  "PROMPT",
904
959
  "GRANTED",
905
960
  "DENIED"
906
961
  ]);
907
- var PushTokenStatusSchema = import_zod12.z.enum([
908
- "ACTIVE",
909
- "REVOKED",
910
- "DISABLED"
911
- ]);
912
- var RegisterPushTokenRequestSchema = import_zod12.z.object({
962
+ var PushTokenStatusSchema = import_zod13.z.enum(["ACTIVE", "REVOKED", "DISABLED"]);
963
+ var RegisterPushTokenRequestSchema = import_zod13.z.object({
913
964
  provider: PushProviderSchema.default("FCM"),
914
965
  platform: PushPlatformSchema,
915
- token: import_zod12.z.string().min(10),
916
- deviceId: import_zod12.z.string().min(1).max(128),
917
- appVersion: import_zod12.z.string().min(1).max(64).optional(),
918
- buildNumber: import_zod12.z.string().min(1).max(64).optional(),
966
+ token: import_zod13.z.string().min(10),
967
+ deviceId: import_zod13.z.string().min(1).max(128),
968
+ appVersion: import_zod13.z.string().min(1).max(64).optional(),
969
+ buildNumber: import_zod13.z.string().min(1).max(64).optional(),
919
970
  permissionStatus: PushPermissionStatusSchema
920
971
  });
921
- var RevokePushTokenRequestSchema = import_zod12.z.object({
972
+ var RevokePushTokenRequestSchema = import_zod13.z.object({
922
973
  provider: PushProviderSchema.default("FCM"),
923
- token: import_zod12.z.string().min(10).optional(),
924
- deviceId: import_zod12.z.string().min(1).max(128).optional()
974
+ token: import_zod13.z.string().min(10).optional(),
975
+ deviceId: import_zod13.z.string().min(1).max(128).optional()
925
976
  });
926
- var PushTokenResponseSchema = import_zod12.z.object({
927
- pushTokenId: import_zod12.z.string().uuid(),
977
+ var PushTokenResponseSchema = import_zod13.z.object({
978
+ pushTokenId: import_zod13.z.string().uuid(),
928
979
  provider: PushProviderSchema,
929
980
  platform: PushPlatformSchema,
930
- deviceId: import_zod12.z.string(),
981
+ deviceId: import_zod13.z.string(),
931
982
  status: PushTokenStatusSchema,
932
983
  permissionStatus: PushPermissionStatusSchema,
933
- appVersion: import_zod12.z.string().nullable(),
934
- buildNumber: import_zod12.z.string().nullable(),
984
+ appVersion: import_zod13.z.string().nullable(),
985
+ buildNumber: import_zod13.z.string().nullable(),
935
986
  lastSeenAt: ISODateTimeStringSchema,
936
987
  revokedAt: ISODateTimeStringSchema.nullable()
937
988
  });
938
- var PushPayloadSchemaVersionSchema = import_zod12.z.literal("2026-06-17");
939
- var MealPlanPushPayloadDataSchema = import_zod12.z.object({
989
+ var PushPayloadSchemaVersionSchema = import_zod13.z.literal("2026-06-17");
990
+ var MealPlanPushPayloadDataSchema = import_zod13.z.object({
940
991
  schemaVersion: PushPayloadSchemaVersionSchema,
941
- notificationId: import_zod12.z.string().min(1),
992
+ notificationId: import_zod13.z.string().min(1),
942
993
  kind: MealPlanNotificationKindSchema,
943
994
  mealPlanId: MealPlanIdSchema,
944
- deepLink: import_zod12.z.string().min(1),
945
- title: import_zod12.z.string().min(1),
946
- body: import_zod12.z.string().min(1),
947
- fcmPriority: import_zod12.z.coerce.number().int().min(0),
948
- liveActivityPriority: import_zod12.z.coerce.number().int().min(0),
995
+ deepLink: import_zod13.z.string().min(1),
996
+ title: import_zod13.z.string().min(1),
997
+ body: import_zod13.z.string().min(1),
998
+ fcmPriority: import_zod13.z.coerce.number().int().min(0),
999
+ liveActivityPriority: import_zod13.z.coerce.number().int().min(0),
949
1000
  liveActivityBehavior: MealPlanLiveActivityBehaviorSchema
950
1001
  });
951
- var PushDeliveryStatusSchema = import_zod12.z.enum([
1002
+ var PushDeliveryStatusSchema = import_zod13.z.enum([
952
1003
  "PENDING",
953
1004
  "SENT",
954
1005
  "FAILED",
955
1006
  "SKIPPED"
956
1007
  ]);
957
- var PushDeliveryAttemptResultSchema = import_zod12.z.enum([
1008
+ var PushDeliveryAttemptResultSchema = import_zod13.z.enum([
958
1009
  "SENT",
959
1010
  "FAILED",
960
1011
  "SKIPPED"
961
1012
  ]);
962
- var PushDeliveryAttemptSummarySchema = import_zod12.z.object({
963
- attemptId: import_zod12.z.string().uuid(),
964
- outboxId: import_zod12.z.string().uuid(),
965
- pushTokenId: import_zod12.z.string().uuid().nullable(),
1013
+ var PushDeliveryAttemptSummarySchema = import_zod13.z.object({
1014
+ attemptId: import_zod13.z.string().uuid(),
1015
+ outboxId: import_zod13.z.string().uuid(),
1016
+ pushTokenId: import_zod13.z.string().uuid().nullable(),
966
1017
  provider: PushProviderSchema,
967
1018
  result: PushDeliveryAttemptResultSchema,
968
- providerMessageId: import_zod12.z.string().nullable(),
969
- errorCode: import_zod12.z.string().nullable(),
970
- errorMessage: import_zod12.z.string().nullable(),
971
- invalidToken: import_zod12.z.boolean(),
1019
+ providerMessageId: import_zod13.z.string().nullable(),
1020
+ errorCode: import_zod13.z.string().nullable(),
1021
+ errorMessage: import_zod13.z.string().nullable(),
1022
+ invalidToken: import_zod13.z.boolean(),
972
1023
  createdAt: ISODateTimeStringSchema
973
1024
  });
974
- var PushDeliveryOutboxSummarySchema = import_zod12.z.object({
975
- outboxId: import_zod12.z.string().uuid(),
976
- notificationId: import_zod12.z.string().min(1),
977
- memberId: import_zod12.z.number().int().positive(),
1025
+ var PushDeliveryOutboxSummarySchema = import_zod13.z.object({
1026
+ outboxId: import_zod13.z.string().uuid(),
1027
+ notificationId: import_zod13.z.string().min(1),
1028
+ memberId: import_zod13.z.number().int().positive(),
978
1029
  status: PushDeliveryStatusSchema,
979
- attemptCount: import_zod12.z.number().int().min(0),
980
- lastError: import_zod12.z.string().nullable(),
1030
+ attemptCount: import_zod13.z.number().int().min(0),
1031
+ lastError: import_zod13.z.string().nullable(),
981
1032
  nextAttemptAt: ISODateTimeStringSchema.nullable(),
982
1033
  sentAt: ISODateTimeStringSchema.nullable(),
983
1034
  createdAt: ISODateTimeStringSchema
984
1035
  });
985
1036
 
986
1037
  // src/domain/live-activity/live-activity.schema.ts
987
- var MealPlanLiveActivityPlatformSchema = import_zod13.z.enum([
1038
+ var MealPlanLiveActivityPlatformSchema = import_zod14.z.enum([
988
1039
  "IOS_LIVE_ACTIVITY",
989
1040
  "ANDROID_LIVE_UPDATE"
990
1041
  ]);
991
- var MealPlanLiveActivitySessionStatusSchema = import_zod13.z.enum([
1042
+ var MealPlanLiveActivitySessionStatusSchema = import_zod14.z.enum([
992
1043
  "ACTIVE",
993
1044
  "ENDED",
994
1045
  "EXPIRED",
995
1046
  "DISABLED"
996
1047
  ]);
997
- var MealPlanLiveActivityUpdateStatusSchema = import_zod13.z.enum([
1048
+ var MealPlanLiveActivityUpdateStatusSchema = import_zod14.z.enum([
998
1049
  "PENDING",
999
1050
  "SENT",
1000
1051
  "FAILED",
1001
1052
  "SKIPPED"
1002
1053
  ]);
1003
- var RegisterMealPlanLiveActivitySessionRequestSchema = import_zod13.z.object({
1054
+ var RegisterMealPlanLiveActivitySessionRequestSchema = import_zod14.z.object({
1004
1055
  platform: MealPlanLiveActivityPlatformSchema,
1005
- deviceId: import_zod13.z.string().min(1).max(128),
1006
- activityId: import_zod13.z.string().min(1).max(128),
1007
- pushToken: import_zod13.z.string().min(10).optional(),
1008
- appVersion: import_zod13.z.string().min(1).max(64).optional(),
1009
- buildNumber: import_zod13.z.string().min(1).max(64).optional()
1056
+ deviceId: import_zod14.z.string().min(1).max(128),
1057
+ activityId: import_zod14.z.string().min(1).max(128),
1058
+ pushToken: import_zod14.z.string().min(10).optional(),
1059
+ appVersion: import_zod14.z.string().min(1).max(64).optional(),
1060
+ buildNumber: import_zod14.z.string().min(1).max(64).optional()
1010
1061
  });
1011
- var EndMealPlanLiveActivitySessionRequestSchema = import_zod13.z.object({
1062
+ var EndMealPlanLiveActivitySessionRequestSchema = import_zod14.z.object({
1012
1063
  platform: MealPlanLiveActivityPlatformSchema.optional(),
1013
- deviceId: import_zod13.z.string().min(1).max(128).optional(),
1014
- activityId: import_zod13.z.string().min(1).max(128).optional()
1064
+ deviceId: import_zod14.z.string().min(1).max(128).optional(),
1065
+ activityId: import_zod14.z.string().min(1).max(128).optional()
1015
1066
  });
1016
- var MealPlanLiveActivityStateSchema = import_zod13.z.object({
1067
+ var MealPlanLiveActivityStateSchema = import_zod14.z.object({
1017
1068
  mealPlanId: MealPlanIdSchema,
1018
- title: import_zod13.z.string().min(1),
1019
- status: import_zod13.z.string().min(1),
1069
+ title: import_zod14.z.string().min(1),
1070
+ status: import_zod14.z.string().min(1),
1020
1071
  scheduledAt: ISODateTimeStringSchema.nullable(),
1021
- restaurantName: import_zod13.z.string().nullable(),
1022
- placeName: import_zod13.z.string().nullable(),
1023
- deepLink: import_zod13.z.string().min(1),
1024
- progressLabel: import_zod13.z.string().min(1),
1072
+ restaurantName: import_zod14.z.string().nullable(),
1073
+ placeName: import_zod14.z.string().nullable(),
1074
+ deepLink: import_zod14.z.string().min(1),
1075
+ progressLabel: import_zod14.z.string().min(1),
1025
1076
  updatedAt: ISODateTimeStringSchema
1026
1077
  });
1027
- var MealPlanLiveActivitySessionResponseSchema = import_zod13.z.object({
1028
- sessionId: import_zod13.z.string().uuid(),
1078
+ var MealPlanLiveActivitySessionResponseSchema = import_zod14.z.object({
1079
+ sessionId: import_zod14.z.string().uuid(),
1029
1080
  mealPlanId: MealPlanIdSchema,
1030
- memberId: import_zod13.z.number().int().positive(),
1081
+ memberId: import_zod14.z.number().int().positive(),
1031
1082
  platform: MealPlanLiveActivityPlatformSchema,
1032
1083
  devicePlatform: PushPlatformSchema,
1033
- deviceId: import_zod13.z.string(),
1034
- activityId: import_zod13.z.string(),
1084
+ deviceId: import_zod14.z.string(),
1085
+ activityId: import_zod14.z.string(),
1035
1086
  status: MealPlanLiveActivitySessionStatusSchema,
1036
- appVersion: import_zod13.z.string().nullable(),
1037
- buildNumber: import_zod13.z.string().nullable(),
1087
+ appVersion: import_zod14.z.string().nullable(),
1088
+ buildNumber: import_zod14.z.string().nullable(),
1038
1089
  lastEventKind: MealPlanNotificationKindSchema.nullable(),
1039
1090
  lastBehavior: MealPlanLiveActivityBehaviorSchema.nullable(),
1040
1091
  lastUpdateStatus: MealPlanLiveActivityUpdateStatusSchema.nullable(),
1041
- lastError: import_zod13.z.string().nullable(),
1092
+ lastError: import_zod14.z.string().nullable(),
1042
1093
  startedAt: ISODateTimeStringSchema,
1043
1094
  endedAt: ISODateTimeStringSchema.nullable(),
1044
1095
  updatedAt: ISODateTimeStringSchema
1045
1096
  });
1046
- var MealPlanLiveActivitySessionListResponseSchema = import_zod13.z.object({
1097
+ var MealPlanLiveActivitySessionListResponseSchema = import_zod14.z.object({
1047
1098
  mealPlanId: MealPlanIdSchema,
1048
1099
  state: MealPlanLiveActivityStateSchema,
1049
- sessions: import_zod13.z.array(MealPlanLiveActivitySessionResponseSchema)
1100
+ sessions: import_zod14.z.array(MealPlanLiveActivitySessionResponseSchema)
1050
1101
  });
1051
1102
  // Annotate the CommonJS export names for ESM import in node:
1052
1103
  0 && (module.exports = {