@kimdaegyu/babmukdang-shared 2.0.4 → 2.0.6

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.
@@ -29,9 +29,7 @@ declare const MealPlanRecommendationContextSchema: z.ZodObject<{
29
29
  address: z.ZodDefault<z.ZodString>;
30
30
  source: z.ZodDefault<z.ZodEnum<{
31
31
  manual: "manual";
32
- "map-marker": "map-marker";
33
32
  midpoint: "midpoint";
34
- "user-location": "user-location";
35
33
  search: "search";
36
34
  "recent-place": "recent-place";
37
35
  fallback: "fallback";
@@ -65,9 +63,7 @@ declare const CreateMealPlanRequestSchema: z.ZodObject<{
65
63
  address: z.ZodDefault<z.ZodString>;
66
64
  source: z.ZodDefault<z.ZodEnum<{
67
65
  manual: "manual";
68
- "map-marker": "map-marker";
69
66
  midpoint: "midpoint";
70
- "user-location": "user-location";
71
67
  search: "search";
72
68
  "recent-place": "recent-place";
73
69
  fallback: "fallback";
@@ -97,9 +93,7 @@ declare const UpdateMealPlanContextRequestSchema: z.ZodObject<{
97
93
  address: z.ZodDefault<z.ZodString>;
98
94
  source: z.ZodDefault<z.ZodEnum<{
99
95
  manual: "manual";
100
- "map-marker": "map-marker";
101
96
  midpoint: "midpoint";
102
- "user-location": "user-location";
103
97
  search: "search";
104
98
  "recent-place": "recent-place";
105
99
  fallback: "fallback";
@@ -271,9 +265,7 @@ declare const MealPlanResponseSchema: z.ZodObject<{
271
265
  address: z.ZodDefault<z.ZodString>;
272
266
  source: z.ZodDefault<z.ZodEnum<{
273
267
  manual: "manual";
274
- "map-marker": "map-marker";
275
268
  midpoint: "midpoint";
276
- "user-location": "user-location";
277
269
  search: "search";
278
270
  "recent-place": "recent-place";
279
271
  fallback: "fallback";
@@ -297,8 +289,8 @@ declare const MealPlanResponseSchema: z.ZodObject<{
297
289
  "manual-search": "manual-search";
298
290
  }>;
299
291
  score: z.ZodDefault<z.ZodNumber>;
300
- imageUrl: z.ZodDefault<z.ZodNullable<z.ZodString>>;
301
- image: z.ZodDefault<z.ZodNullable<z.ZodObject<{
292
+ imageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
293
+ image: z.ZodOptional<z.ZodNullable<z.ZodObject<{
302
294
  src: z.ZodString;
303
295
  avifSrcset: z.ZodOptional<z.ZodString>;
304
296
  thumbhashDataURL: z.ZodOptional<z.ZodString>;
@@ -358,9 +350,7 @@ declare const MealPlanResponseSchema: z.ZodObject<{
358
350
  address: z.ZodDefault<z.ZodString>;
359
351
  source: z.ZodDefault<z.ZodEnum<{
360
352
  manual: "manual";
361
- "map-marker": "map-marker";
362
353
  midpoint: "midpoint";
363
- "user-location": "user-location";
364
354
  search: "search";
365
355
  "recent-place": "recent-place";
366
356
  fallback: "fallback";
@@ -384,8 +374,8 @@ declare const MealPlanResponseSchema: z.ZodObject<{
384
374
  "manual-search": "manual-search";
385
375
  }>;
386
376
  score: z.ZodDefault<z.ZodNumber>;
387
- imageUrl: z.ZodDefault<z.ZodNullable<z.ZodString>>;
388
- image: z.ZodDefault<z.ZodNullable<z.ZodObject<{
377
+ imageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
378
+ image: z.ZodOptional<z.ZodNullable<z.ZodObject<{
389
379
  src: z.ZodString;
390
380
  avifSrcset: z.ZodOptional<z.ZodString>;
391
381
  thumbhashDataURL: z.ZodOptional<z.ZodString>;
@@ -437,9 +427,7 @@ declare const MealPlanResponseSchema: z.ZodObject<{
437
427
  address: z.ZodDefault<z.ZodString>;
438
428
  source: z.ZodDefault<z.ZodEnum<{
439
429
  manual: "manual";
440
- "map-marker": "map-marker";
441
430
  midpoint: "midpoint";
442
- "user-location": "user-location";
443
431
  search: "search";
444
432
  "recent-place": "recent-place";
445
433
  fallback: "fallback";
@@ -463,8 +451,8 @@ declare const MealPlanResponseSchema: z.ZodObject<{
463
451
  "manual-search": "manual-search";
464
452
  }>;
465
453
  score: z.ZodDefault<z.ZodNumber>;
466
- imageUrl: z.ZodDefault<z.ZodNullable<z.ZodString>>;
467
- image: z.ZodDefault<z.ZodNullable<z.ZodObject<{
454
+ imageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
455
+ image: z.ZodOptional<z.ZodNullable<z.ZodObject<{
468
456
  src: z.ZodString;
469
457
  avifSrcset: z.ZodOptional<z.ZodString>;
470
458
  thumbhashDataURL: z.ZodOptional<z.ZodString>;
@@ -514,6 +502,12 @@ declare const MealPlanResponseSchema: z.ZodObject<{
514
502
  candidateCount: z.ZodNumber;
515
503
  errorMessage: z.ZodDefault<z.ZodNullable<z.ZodString>>;
516
504
  }, z.core.$strip>>;
505
+ menuRecommendation: z.ZodOptional<z.ZodObject<{
506
+ preferenceKey: z.ZodString;
507
+ generatedFromHash: z.ZodString;
508
+ generatedAt: z.ZodString;
509
+ candidateCount: z.ZodNumber;
510
+ }, z.core.$strip>>;
517
511
  }, z.core.$catchall<z.ZodUnknown>>>>;
518
512
  openedAt: z.ZodString;
519
513
  completedAt: z.ZodNullable<z.ZodString>;
@@ -537,10 +531,13 @@ declare const MealPlanResponseSchema: z.ZodObject<{
537
531
  }>;
538
532
  status: z.ZodEnum<{
539
533
  OPEN: "OPEN";
534
+ READY: "READY";
540
535
  STALE: "STALE";
541
536
  LOCKED: "LOCKED";
542
537
  RESOLVED: "RESOLVED";
543
538
  }>;
539
+ readyCount: z.ZodNumber;
540
+ participantCount: z.ZodNumber;
544
541
  blockers: z.ZodDefault<z.ZodArray<z.ZodString>>;
545
542
  updatedAt: z.ZodString;
546
543
  }, z.core.$strip>>;
@@ -570,6 +567,7 @@ declare const MealPlanResponseSchema: z.ZodObject<{
570
567
  TOP_PICKED_MENU: "TOP_PICKED_MENU";
571
568
  TOP_PICKED_RESTAURANT: "TOP_PICKED_RESTAURANT";
572
569
  OWNER_CONFIRMED: "OWNER_CONFIRMED";
570
+ TASK_ALL_READY: "TASK_ALL_READY";
573
571
  MANUAL_SELECTION: "MANUAL_SELECTION";
574
572
  }>;
575
573
  score: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
@@ -640,9 +638,7 @@ declare const MealPlanResponseSchema: z.ZodObject<{
640
638
  address: z.ZodDefault<z.ZodString>;
641
639
  source: z.ZodDefault<z.ZodEnum<{
642
640
  manual: "manual";
643
- "map-marker": "map-marker";
644
641
  midpoint: "midpoint";
645
- "user-location": "user-location";
646
642
  search: "search";
647
643
  "recent-place": "recent-place";
648
644
  fallback: "fallback";
@@ -1353,9 +1349,7 @@ declare const MealPlanGuestSessionResponseSchema: z.ZodObject<{
1353
1349
  address: z.ZodDefault<z.ZodString>;
1354
1350
  source: z.ZodDefault<z.ZodEnum<{
1355
1351
  manual: "manual";
1356
- "map-marker": "map-marker";
1357
1352
  midpoint: "midpoint";
1358
- "user-location": "user-location";
1359
1353
  search: "search";
1360
1354
  "recent-place": "recent-place";
1361
1355
  fallback: "fallback";
@@ -1379,8 +1373,8 @@ declare const MealPlanGuestSessionResponseSchema: z.ZodObject<{
1379
1373
  "manual-search": "manual-search";
1380
1374
  }>;
1381
1375
  score: z.ZodDefault<z.ZodNumber>;
1382
- imageUrl: z.ZodDefault<z.ZodNullable<z.ZodString>>;
1383
- image: z.ZodDefault<z.ZodNullable<z.ZodObject<{
1376
+ imageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1377
+ image: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1384
1378
  src: z.ZodString;
1385
1379
  avifSrcset: z.ZodOptional<z.ZodString>;
1386
1380
  thumbhashDataURL: z.ZodOptional<z.ZodString>;
@@ -1440,9 +1434,7 @@ declare const MealPlanGuestSessionResponseSchema: z.ZodObject<{
1440
1434
  address: z.ZodDefault<z.ZodString>;
1441
1435
  source: z.ZodDefault<z.ZodEnum<{
1442
1436
  manual: "manual";
1443
- "map-marker": "map-marker";
1444
1437
  midpoint: "midpoint";
1445
- "user-location": "user-location";
1446
1438
  search: "search";
1447
1439
  "recent-place": "recent-place";
1448
1440
  fallback: "fallback";
@@ -1466,8 +1458,8 @@ declare const MealPlanGuestSessionResponseSchema: z.ZodObject<{
1466
1458
  "manual-search": "manual-search";
1467
1459
  }>;
1468
1460
  score: z.ZodDefault<z.ZodNumber>;
1469
- imageUrl: z.ZodDefault<z.ZodNullable<z.ZodString>>;
1470
- image: z.ZodDefault<z.ZodNullable<z.ZodObject<{
1461
+ imageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1462
+ image: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1471
1463
  src: z.ZodString;
1472
1464
  avifSrcset: z.ZodOptional<z.ZodString>;
1473
1465
  thumbhashDataURL: z.ZodOptional<z.ZodString>;
@@ -1519,9 +1511,7 @@ declare const MealPlanGuestSessionResponseSchema: z.ZodObject<{
1519
1511
  address: z.ZodDefault<z.ZodString>;
1520
1512
  source: z.ZodDefault<z.ZodEnum<{
1521
1513
  manual: "manual";
1522
- "map-marker": "map-marker";
1523
1514
  midpoint: "midpoint";
1524
- "user-location": "user-location";
1525
1515
  search: "search";
1526
1516
  "recent-place": "recent-place";
1527
1517
  fallback: "fallback";
@@ -1545,8 +1535,8 @@ declare const MealPlanGuestSessionResponseSchema: z.ZodObject<{
1545
1535
  "manual-search": "manual-search";
1546
1536
  }>;
1547
1537
  score: z.ZodDefault<z.ZodNumber>;
1548
- imageUrl: z.ZodDefault<z.ZodNullable<z.ZodString>>;
1549
- image: z.ZodDefault<z.ZodNullable<z.ZodObject<{
1538
+ imageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1539
+ image: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1550
1540
  src: z.ZodString;
1551
1541
  avifSrcset: z.ZodOptional<z.ZodString>;
1552
1542
  thumbhashDataURL: z.ZodOptional<z.ZodString>;
@@ -1596,6 +1586,12 @@ declare const MealPlanGuestSessionResponseSchema: z.ZodObject<{
1596
1586
  candidateCount: z.ZodNumber;
1597
1587
  errorMessage: z.ZodDefault<z.ZodNullable<z.ZodString>>;
1598
1588
  }, z.core.$strip>>;
1589
+ menuRecommendation: z.ZodOptional<z.ZodObject<{
1590
+ preferenceKey: z.ZodString;
1591
+ generatedFromHash: z.ZodString;
1592
+ generatedAt: z.ZodString;
1593
+ candidateCount: z.ZodNumber;
1594
+ }, z.core.$strip>>;
1599
1595
  }, z.core.$catchall<z.ZodUnknown>>>>;
1600
1596
  openedAt: z.ZodString;
1601
1597
  completedAt: z.ZodNullable<z.ZodString>;
@@ -1619,10 +1615,13 @@ declare const MealPlanGuestSessionResponseSchema: z.ZodObject<{
1619
1615
  }>;
1620
1616
  status: z.ZodEnum<{
1621
1617
  OPEN: "OPEN";
1618
+ READY: "READY";
1622
1619
  STALE: "STALE";
1623
1620
  LOCKED: "LOCKED";
1624
1621
  RESOLVED: "RESOLVED";
1625
1622
  }>;
1623
+ readyCount: z.ZodNumber;
1624
+ participantCount: z.ZodNumber;
1626
1625
  blockers: z.ZodDefault<z.ZodArray<z.ZodString>>;
1627
1626
  updatedAt: z.ZodString;
1628
1627
  }, z.core.$strip>>;
@@ -1652,6 +1651,7 @@ declare const MealPlanGuestSessionResponseSchema: z.ZodObject<{
1652
1651
  TOP_PICKED_MENU: "TOP_PICKED_MENU";
1653
1652
  TOP_PICKED_RESTAURANT: "TOP_PICKED_RESTAURANT";
1654
1653
  OWNER_CONFIRMED: "OWNER_CONFIRMED";
1654
+ TASK_ALL_READY: "TASK_ALL_READY";
1655
1655
  MANUAL_SELECTION: "MANUAL_SELECTION";
1656
1656
  }>;
1657
1657
  score: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
@@ -1722,9 +1722,7 @@ declare const MealPlanGuestSessionResponseSchema: z.ZodObject<{
1722
1722
  address: z.ZodDefault<z.ZodString>;
1723
1723
  source: z.ZodDefault<z.ZodEnum<{
1724
1724
  manual: "manual";
1725
- "map-marker": "map-marker";
1726
1725
  midpoint: "midpoint";
1727
- "user-location": "user-location";
1728
1726
  search: "search";
1729
1727
  "recent-place": "recent-place";
1730
1728
  fallback: "fallback";
@@ -3083,9 +3081,7 @@ declare const MealPlanDecisionStageIdSchema: z.core.$ZodBranded<z.ZodString, "Me
3083
3081
  declare const MealPlanVoteIdSchema: z.core.$ZodBranded<z.ZodString, "MealPlanVoteId", "out">;
3084
3082
  declare const MealPlanLocationCandidateSourceSchema: z.ZodEnum<{
3085
3083
  manual: "manual";
3086
- "map-marker": "map-marker";
3087
3084
  midpoint: "midpoint";
3088
- "user-location": "user-location";
3089
3085
  search: "search";
3090
3086
  "recent-place": "recent-place";
3091
3087
  fallback: "fallback";
@@ -3098,9 +3094,7 @@ declare const MealPlanLocationCandidateSchema: z.ZodObject<{
3098
3094
  address: z.ZodDefault<z.ZodString>;
3099
3095
  source: z.ZodDefault<z.ZodEnum<{
3100
3096
  manual: "manual";
3101
- "map-marker": "map-marker";
3102
3097
  midpoint: "midpoint";
3103
- "user-location": "user-location";
3104
3098
  search: "search";
3105
3099
  "recent-place": "recent-place";
3106
3100
  fallback: "fallback";
@@ -3129,8 +3123,8 @@ declare const MealPlanMenuCandidateSchema: z.ZodObject<{
3129
3123
  "manual-search": "manual-search";
3130
3124
  }>;
3131
3125
  score: z.ZodDefault<z.ZodNumber>;
3132
- imageUrl: z.ZodDefault<z.ZodNullable<z.ZodString>>;
3133
- image: z.ZodDefault<z.ZodNullable<z.ZodObject<{
3126
+ imageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3127
+ image: z.ZodOptional<z.ZodNullable<z.ZodObject<{
3134
3128
  src: z.ZodString;
3135
3129
  avifSrcset: z.ZodOptional<z.ZodString>;
3136
3130
  thumbhashDataURL: z.ZodOptional<z.ZodString>;
@@ -3193,6 +3187,12 @@ declare const MealPlanRestaurantSearchStateSchema: z.ZodObject<{
3193
3187
  candidateCount: z.ZodNumber;
3194
3188
  errorMessage: z.ZodDefault<z.ZodNullable<z.ZodString>>;
3195
3189
  }, z.core.$strip>;
3190
+ declare const MealPlanMenuRecommendationStateSchema: z.ZodObject<{
3191
+ preferenceKey: z.ZodString;
3192
+ generatedFromHash: z.ZodString;
3193
+ generatedAt: z.ZodString;
3194
+ candidateCount: z.ZodNumber;
3195
+ }, z.core.$strip>;
3196
3196
  declare const MealPlanDecisionStageMetadataSchema: z.ZodObject<{
3197
3197
  restaurantSearch: z.ZodOptional<z.ZodObject<{
3198
3198
  searchKey: z.ZodNullable<z.ZodString>;
@@ -3209,6 +3209,12 @@ declare const MealPlanDecisionStageMetadataSchema: z.ZodObject<{
3209
3209
  candidateCount: z.ZodNumber;
3210
3210
  errorMessage: z.ZodDefault<z.ZodNullable<z.ZodString>>;
3211
3211
  }, z.core.$strip>>;
3212
+ menuRecommendation: z.ZodOptional<z.ZodObject<{
3213
+ preferenceKey: z.ZodString;
3214
+ generatedFromHash: z.ZodString;
3215
+ generatedAt: z.ZodString;
3216
+ candidateCount: z.ZodNumber;
3217
+ }, z.core.$strip>>;
3212
3218
  }, z.core.$catchall<z.ZodUnknown>>;
3213
3219
  declare const MealPlanVoteTypeSchema: z.ZodEnum<{
3214
3220
  READY: "READY";
@@ -3232,9 +3238,7 @@ declare const MealPlanDecisionCandidateSchema: z.ZodDiscriminatedUnion<[z.ZodObj
3232
3238
  address: z.ZodDefault<z.ZodString>;
3233
3239
  source: z.ZodDefault<z.ZodEnum<{
3234
3240
  manual: "manual";
3235
- "map-marker": "map-marker";
3236
3241
  midpoint: "midpoint";
3237
- "user-location": "user-location";
3238
3242
  search: "search";
3239
3243
  "recent-place": "recent-place";
3240
3244
  fallback: "fallback";
@@ -3258,8 +3262,8 @@ declare const MealPlanDecisionCandidateSchema: z.ZodDiscriminatedUnion<[z.ZodObj
3258
3262
  "manual-search": "manual-search";
3259
3263
  }>;
3260
3264
  score: z.ZodDefault<z.ZodNumber>;
3261
- imageUrl: z.ZodDefault<z.ZodNullable<z.ZodString>>;
3262
- image: z.ZodDefault<z.ZodNullable<z.ZodObject<{
3265
+ imageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3266
+ image: z.ZodOptional<z.ZodNullable<z.ZodObject<{
3263
3267
  src: z.ZodString;
3264
3268
  avifSrcset: z.ZodOptional<z.ZodString>;
3265
3269
  thumbhashDataURL: z.ZodOptional<z.ZodString>;
@@ -3319,9 +3323,7 @@ declare const MealPlanVoteSchema: z.ZodObject<{
3319
3323
  address: z.ZodDefault<z.ZodString>;
3320
3324
  source: z.ZodDefault<z.ZodEnum<{
3321
3325
  manual: "manual";
3322
- "map-marker": "map-marker";
3323
3326
  midpoint: "midpoint";
3324
- "user-location": "user-location";
3325
3327
  search: "search";
3326
3328
  "recent-place": "recent-place";
3327
3329
  fallback: "fallback";
@@ -3345,8 +3347,8 @@ declare const MealPlanVoteSchema: z.ZodObject<{
3345
3347
  "manual-search": "manual-search";
3346
3348
  }>;
3347
3349
  score: z.ZodDefault<z.ZodNumber>;
3348
- imageUrl: z.ZodDefault<z.ZodNullable<z.ZodString>>;
3349
- image: z.ZodDefault<z.ZodNullable<z.ZodObject<{
3350
+ imageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3351
+ image: z.ZodOptional<z.ZodNullable<z.ZodObject<{
3350
3352
  src: z.ZodString;
3351
3353
  avifSrcset: z.ZodOptional<z.ZodString>;
3352
3354
  thumbhashDataURL: z.ZodOptional<z.ZodString>;
@@ -3413,9 +3415,7 @@ declare const MealPlanDecisionStageResponseSchema: z.ZodObject<{
3413
3415
  address: z.ZodDefault<z.ZodString>;
3414
3416
  source: z.ZodDefault<z.ZodEnum<{
3415
3417
  manual: "manual";
3416
- "map-marker": "map-marker";
3417
3418
  midpoint: "midpoint";
3418
- "user-location": "user-location";
3419
3419
  search: "search";
3420
3420
  "recent-place": "recent-place";
3421
3421
  fallback: "fallback";
@@ -3439,8 +3439,8 @@ declare const MealPlanDecisionStageResponseSchema: z.ZodObject<{
3439
3439
  "manual-search": "manual-search";
3440
3440
  }>;
3441
3441
  score: z.ZodDefault<z.ZodNumber>;
3442
- imageUrl: z.ZodDefault<z.ZodNullable<z.ZodString>>;
3443
- image: z.ZodDefault<z.ZodNullable<z.ZodObject<{
3442
+ imageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3443
+ image: z.ZodOptional<z.ZodNullable<z.ZodObject<{
3444
3444
  src: z.ZodString;
3445
3445
  avifSrcset: z.ZodOptional<z.ZodString>;
3446
3446
  thumbhashDataURL: z.ZodOptional<z.ZodString>;
@@ -3500,9 +3500,7 @@ declare const MealPlanDecisionStageResponseSchema: z.ZodObject<{
3500
3500
  address: z.ZodDefault<z.ZodString>;
3501
3501
  source: z.ZodDefault<z.ZodEnum<{
3502
3502
  manual: "manual";
3503
- "map-marker": "map-marker";
3504
3503
  midpoint: "midpoint";
3505
- "user-location": "user-location";
3506
3504
  search: "search";
3507
3505
  "recent-place": "recent-place";
3508
3506
  fallback: "fallback";
@@ -3526,8 +3524,8 @@ declare const MealPlanDecisionStageResponseSchema: z.ZodObject<{
3526
3524
  "manual-search": "manual-search";
3527
3525
  }>;
3528
3526
  score: z.ZodDefault<z.ZodNumber>;
3529
- imageUrl: z.ZodDefault<z.ZodNullable<z.ZodString>>;
3530
- image: z.ZodDefault<z.ZodNullable<z.ZodObject<{
3527
+ imageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3528
+ image: z.ZodOptional<z.ZodNullable<z.ZodObject<{
3531
3529
  src: z.ZodString;
3532
3530
  avifSrcset: z.ZodOptional<z.ZodString>;
3533
3531
  thumbhashDataURL: z.ZodOptional<z.ZodString>;
@@ -3579,9 +3577,7 @@ declare const MealPlanDecisionStageResponseSchema: z.ZodObject<{
3579
3577
  address: z.ZodDefault<z.ZodString>;
3580
3578
  source: z.ZodDefault<z.ZodEnum<{
3581
3579
  manual: "manual";
3582
- "map-marker": "map-marker";
3583
3580
  midpoint: "midpoint";
3584
- "user-location": "user-location";
3585
3581
  search: "search";
3586
3582
  "recent-place": "recent-place";
3587
3583
  fallback: "fallback";
@@ -3605,8 +3601,8 @@ declare const MealPlanDecisionStageResponseSchema: z.ZodObject<{
3605
3601
  "manual-search": "manual-search";
3606
3602
  }>;
3607
3603
  score: z.ZodDefault<z.ZodNumber>;
3608
- imageUrl: z.ZodDefault<z.ZodNullable<z.ZodString>>;
3609
- image: z.ZodDefault<z.ZodNullable<z.ZodObject<{
3604
+ imageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3605
+ image: z.ZodOptional<z.ZodNullable<z.ZodObject<{
3610
3606
  src: z.ZodString;
3611
3607
  avifSrcset: z.ZodOptional<z.ZodString>;
3612
3608
  thumbhashDataURL: z.ZodOptional<z.ZodString>;
@@ -3656,6 +3652,12 @@ declare const MealPlanDecisionStageResponseSchema: z.ZodObject<{
3656
3652
  candidateCount: z.ZodNumber;
3657
3653
  errorMessage: z.ZodDefault<z.ZodNullable<z.ZodString>>;
3658
3654
  }, z.core.$strip>>;
3655
+ menuRecommendation: z.ZodOptional<z.ZodObject<{
3656
+ preferenceKey: z.ZodString;
3657
+ generatedFromHash: z.ZodString;
3658
+ generatedAt: z.ZodString;
3659
+ candidateCount: z.ZodNumber;
3660
+ }, z.core.$strip>>;
3659
3661
  }, z.core.$catchall<z.ZodUnknown>>>>;
3660
3662
  openedAt: z.ZodString;
3661
3663
  completedAt: z.ZodNullable<z.ZodString>;
@@ -3684,9 +3686,7 @@ declare const CreateMealPlanVoteRequestSchema: z.ZodObject<{
3684
3686
  address: z.ZodDefault<z.ZodString>;
3685
3687
  source: z.ZodDefault<z.ZodEnum<{
3686
3688
  manual: "manual";
3687
- "map-marker": "map-marker";
3688
3689
  midpoint: "midpoint";
3689
- "user-location": "user-location";
3690
3690
  search: "search";
3691
3691
  "recent-place": "recent-place";
3692
3692
  fallback: "fallback";
@@ -3710,8 +3710,8 @@ declare const CreateMealPlanVoteRequestSchema: z.ZodObject<{
3710
3710
  "manual-search": "manual-search";
3711
3711
  }>;
3712
3712
  score: z.ZodDefault<z.ZodNumber>;
3713
- imageUrl: z.ZodDefault<z.ZodNullable<z.ZodString>>;
3714
- image: z.ZodDefault<z.ZodNullable<z.ZodObject<{
3713
+ imageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3714
+ image: z.ZodOptional<z.ZodNullable<z.ZodObject<{
3715
3715
  src: z.ZodString;
3716
3716
  avifSrcset: z.ZodOptional<z.ZodString>;
3717
3717
  thumbhashDataURL: z.ZodOptional<z.ZodString>;
@@ -3763,9 +3763,7 @@ declare const CompleteMealPlanDecisionStageRequestSchema: z.ZodObject<{
3763
3763
  address: z.ZodDefault<z.ZodString>;
3764
3764
  source: z.ZodDefault<z.ZodEnum<{
3765
3765
  manual: "manual";
3766
- "map-marker": "map-marker";
3767
3766
  midpoint: "midpoint";
3768
- "user-location": "user-location";
3769
3767
  search: "search";
3770
3768
  "recent-place": "recent-place";
3771
3769
  fallback: "fallback";
@@ -3789,8 +3787,8 @@ declare const CompleteMealPlanDecisionStageRequestSchema: z.ZodObject<{
3789
3787
  "manual-search": "manual-search";
3790
3788
  }>;
3791
3789
  score: z.ZodDefault<z.ZodNumber>;
3792
- imageUrl: z.ZodDefault<z.ZodNullable<z.ZodString>>;
3793
- image: z.ZodDefault<z.ZodNullable<z.ZodObject<{
3790
+ imageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3791
+ image: z.ZodOptional<z.ZodNullable<z.ZodObject<{
3794
3792
  src: z.ZodString;
3795
3793
  avifSrcset: z.ZodOptional<z.ZodString>;
3796
3794
  thumbhashDataURL: z.ZodOptional<z.ZodString>;
@@ -3857,9 +3855,7 @@ declare const CreateMealPlanChangeRequestSchema: z.ZodObject<{
3857
3855
  address: z.ZodDefault<z.ZodString>;
3858
3856
  source: z.ZodDefault<z.ZodEnum<{
3859
3857
  manual: "manual";
3860
- "map-marker": "map-marker";
3861
3858
  midpoint: "midpoint";
3862
- "user-location": "user-location";
3863
3859
  search: "search";
3864
3860
  "recent-place": "recent-place";
3865
3861
  fallback: "fallback";
@@ -3883,8 +3879,8 @@ declare const CreateMealPlanChangeRequestSchema: z.ZodObject<{
3883
3879
  "manual-search": "manual-search";
3884
3880
  }>;
3885
3881
  score: z.ZodDefault<z.ZodNumber>;
3886
- imageUrl: z.ZodDefault<z.ZodNullable<z.ZodString>>;
3887
- image: z.ZodDefault<z.ZodNullable<z.ZodObject<{
3882
+ imageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3883
+ image: z.ZodOptional<z.ZodNullable<z.ZodObject<{
3888
3884
  src: z.ZodString;
3889
3885
  avifSrcset: z.ZodOptional<z.ZodString>;
3890
3886
  thumbhashDataURL: z.ZodOptional<z.ZodString>;
@@ -3952,6 +3948,7 @@ declare const MealPlanDecisionTaskKeySchema: z.ZodEnum<{
3952
3948
  }>;
3953
3949
  declare const MealPlanDecisionTaskStatusSchema: z.ZodEnum<{
3954
3950
  OPEN: "OPEN";
3951
+ READY: "READY";
3955
3952
  STALE: "STALE";
3956
3953
  LOCKED: "LOCKED";
3957
3954
  RESOLVED: "RESOLVED";
@@ -3976,6 +3973,7 @@ declare const MealPlanDecisionReasonSchema: z.ZodEnum<{
3976
3973
  TOP_PICKED_MENU: "TOP_PICKED_MENU";
3977
3974
  TOP_PICKED_RESTAURANT: "TOP_PICKED_RESTAURANT";
3978
3975
  OWNER_CONFIRMED: "OWNER_CONFIRMED";
3976
+ TASK_ALL_READY: "TASK_ALL_READY";
3979
3977
  MANUAL_SELECTION: "MANUAL_SELECTION";
3980
3978
  }>;
3981
3979
  declare const MealPlanDecisionActorTypeSchema: z.ZodEnum<{
@@ -4007,6 +4005,7 @@ declare const MealPlanDecisionSnapshotSchema: z.ZodObject<{
4007
4005
  TOP_PICKED_MENU: "TOP_PICKED_MENU";
4008
4006
  TOP_PICKED_RESTAURANT: "TOP_PICKED_RESTAURANT";
4009
4007
  OWNER_CONFIRMED: "OWNER_CONFIRMED";
4008
+ TASK_ALL_READY: "TASK_ALL_READY";
4010
4009
  MANUAL_SELECTION: "MANUAL_SELECTION";
4011
4010
  }>;
4012
4011
  score: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
@@ -4047,10 +4046,13 @@ declare const MealPlanDecisionTaskProgressSchema: z.ZodObject<{
4047
4046
  }>;
4048
4047
  status: z.ZodEnum<{
4049
4048
  OPEN: "OPEN";
4049
+ READY: "READY";
4050
4050
  STALE: "STALE";
4051
4051
  LOCKED: "LOCKED";
4052
4052
  RESOLVED: "RESOLVED";
4053
4053
  }>;
4054
+ readyCount: z.ZodNumber;
4055
+ participantCount: z.ZodNumber;
4054
4056
  blockers: z.ZodDefault<z.ZodArray<z.ZodString>>;
4055
4057
  updatedAt: z.ZodString;
4056
4058
  }, z.core.$strip>;
@@ -4072,10 +4074,13 @@ declare const MealPlanDecisionProgressSchema: z.ZodObject<{
4072
4074
  }>;
4073
4075
  status: z.ZodEnum<{
4074
4076
  OPEN: "OPEN";
4077
+ READY: "READY";
4075
4078
  STALE: "STALE";
4076
4079
  LOCKED: "LOCKED";
4077
4080
  RESOLVED: "RESOLVED";
4078
4081
  }>;
4082
+ readyCount: z.ZodNumber;
4083
+ participantCount: z.ZodNumber;
4079
4084
  blockers: z.ZodDefault<z.ZodArray<z.ZodString>>;
4080
4085
  updatedAt: z.ZodString;
4081
4086
  }, z.core.$strip>>;
@@ -4105,6 +4110,7 @@ declare const MealPlanDecisionProgressSchema: z.ZodObject<{
4105
4110
  TOP_PICKED_MENU: "TOP_PICKED_MENU";
4106
4111
  TOP_PICKED_RESTAURANT: "TOP_PICKED_RESTAURANT";
4107
4112
  OWNER_CONFIRMED: "OWNER_CONFIRMED";
4113
+ TASK_ALL_READY: "TASK_ALL_READY";
4108
4114
  MANUAL_SELECTION: "MANUAL_SELECTION";
4109
4115
  }>;
4110
4116
  score: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
@@ -4133,6 +4139,9 @@ declare const MealPlanDecisionProgressSchema: z.ZodObject<{
4133
4139
  version: z.ZodNumber;
4134
4140
  updatedAt: z.ZodString;
4135
4141
  }, z.core.$strip>;
4142
+ declare const MealPlanDecisionTaskReadyRequestSchema: z.ZodObject<{
4143
+ isReady: z.ZodBoolean;
4144
+ }, z.core.$strip>;
4136
4145
  declare const ReopenMealPlanDecisionTaskRequestSchema: z.ZodObject<{
4137
4146
  reason: z.ZodOptional<z.ZodString>;
4138
4147
  }, z.core.$strip>;
@@ -4141,10 +4150,9 @@ declare const ConfirmMealPlanDecisionSnapshotRequestSchema: z.ZodObject<{
4141
4150
  }, z.core.$strip>;
4142
4151
  type MealPlanRestaurantSearchStatus = z.infer<typeof MealPlanRestaurantSearchStatusSchema>;
4143
4152
  type MealPlanRestaurantSearchState = z.infer<typeof MealPlanRestaurantSearchStateSchema>;
4153
+ type MealPlanMenuRecommendationState = z.infer<typeof MealPlanMenuRecommendationStateSchema>;
4144
4154
  type MealPlanDecisionStageMetadata = z.infer<typeof MealPlanDecisionStageMetadataSchema>;
4145
4155
 
4146
- /** Socket.IO command name for creating a decision vote and materializing its candidate. */
4147
- declare const MealPlanDecisionVoteSocketEvent: "mealPlan:decision:vote";
4148
4156
  /**
4149
4157
  * Canonical real-time write payload for a decision vote.
4150
4158
  * Candidate materialization and vote handling are owned by the decision service.
@@ -4172,9 +4180,7 @@ declare const MealPlanDecisionVoteSocketPayloadSchema: z.ZodObject<{
4172
4180
  address: z.ZodDefault<z.ZodString>;
4173
4181
  source: z.ZodDefault<z.ZodEnum<{
4174
4182
  manual: "manual";
4175
- "map-marker": "map-marker";
4176
4183
  midpoint: "midpoint";
4177
- "user-location": "user-location";
4178
4184
  search: "search";
4179
4185
  "recent-place": "recent-place";
4180
4186
  fallback: "fallback";
@@ -4198,8 +4204,8 @@ declare const MealPlanDecisionVoteSocketPayloadSchema: z.ZodObject<{
4198
4204
  "manual-search": "manual-search";
4199
4205
  }>;
4200
4206
  score: z.ZodDefault<z.ZodNumber>;
4201
- imageUrl: z.ZodDefault<z.ZodNullable<z.ZodString>>;
4202
- image: z.ZodDefault<z.ZodNullable<z.ZodObject<{
4207
+ imageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4208
+ image: z.ZodOptional<z.ZodNullable<z.ZodObject<{
4203
4209
  src: z.ZodString;
4204
4210
  avifSrcset: z.ZodOptional<z.ZodString>;
4205
4211
  thumbhashDataURL: z.ZodOptional<z.ZodString>;
@@ -4377,9 +4383,7 @@ declare const MealPlanDecisionVoteSocketSuccessAckSchema: z.ZodObject<{
4377
4383
  address: z.ZodDefault<z.ZodString>;
4378
4384
  source: z.ZodDefault<z.ZodEnum<{
4379
4385
  manual: "manual";
4380
- "map-marker": "map-marker";
4381
4386
  midpoint: "midpoint";
4382
- "user-location": "user-location";
4383
4387
  search: "search";
4384
4388
  "recent-place": "recent-place";
4385
4389
  fallback: "fallback";
@@ -4403,8 +4407,8 @@ declare const MealPlanDecisionVoteSocketSuccessAckSchema: z.ZodObject<{
4403
4407
  "manual-search": "manual-search";
4404
4408
  }>;
4405
4409
  score: z.ZodDefault<z.ZodNumber>;
4406
- imageUrl: z.ZodDefault<z.ZodNullable<z.ZodString>>;
4407
- image: z.ZodDefault<z.ZodNullable<z.ZodObject<{
4410
+ imageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4411
+ image: z.ZodOptional<z.ZodNullable<z.ZodObject<{
4408
4412
  src: z.ZodString;
4409
4413
  avifSrcset: z.ZodOptional<z.ZodString>;
4410
4414
  thumbhashDataURL: z.ZodOptional<z.ZodString>;
@@ -4464,9 +4468,7 @@ declare const MealPlanDecisionVoteSocketSuccessAckSchema: z.ZodObject<{
4464
4468
  address: z.ZodDefault<z.ZodString>;
4465
4469
  source: z.ZodDefault<z.ZodEnum<{
4466
4470
  manual: "manual";
4467
- "map-marker": "map-marker";
4468
4471
  midpoint: "midpoint";
4469
- "user-location": "user-location";
4470
4472
  search: "search";
4471
4473
  "recent-place": "recent-place";
4472
4474
  fallback: "fallback";
@@ -4490,8 +4492,8 @@ declare const MealPlanDecisionVoteSocketSuccessAckSchema: z.ZodObject<{
4490
4492
  "manual-search": "manual-search";
4491
4493
  }>;
4492
4494
  score: z.ZodDefault<z.ZodNumber>;
4493
- imageUrl: z.ZodDefault<z.ZodNullable<z.ZodString>>;
4494
- image: z.ZodDefault<z.ZodNullable<z.ZodObject<{
4495
+ imageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4496
+ image: z.ZodOptional<z.ZodNullable<z.ZodObject<{
4495
4497
  src: z.ZodString;
4496
4498
  avifSrcset: z.ZodOptional<z.ZodString>;
4497
4499
  thumbhashDataURL: z.ZodOptional<z.ZodString>;
@@ -4543,9 +4545,7 @@ declare const MealPlanDecisionVoteSocketSuccessAckSchema: z.ZodObject<{
4543
4545
  address: z.ZodDefault<z.ZodString>;
4544
4546
  source: z.ZodDefault<z.ZodEnum<{
4545
4547
  manual: "manual";
4546
- "map-marker": "map-marker";
4547
4548
  midpoint: "midpoint";
4548
- "user-location": "user-location";
4549
4549
  search: "search";
4550
4550
  "recent-place": "recent-place";
4551
4551
  fallback: "fallback";
@@ -4569,8 +4569,8 @@ declare const MealPlanDecisionVoteSocketSuccessAckSchema: z.ZodObject<{
4569
4569
  "manual-search": "manual-search";
4570
4570
  }>;
4571
4571
  score: z.ZodDefault<z.ZodNumber>;
4572
- imageUrl: z.ZodDefault<z.ZodNullable<z.ZodString>>;
4573
- image: z.ZodDefault<z.ZodNullable<z.ZodObject<{
4572
+ imageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4573
+ image: z.ZodOptional<z.ZodNullable<z.ZodObject<{
4574
4574
  src: z.ZodString;
4575
4575
  avifSrcset: z.ZodOptional<z.ZodString>;
4576
4576
  thumbhashDataURL: z.ZodOptional<z.ZodString>;
@@ -4620,6 +4620,12 @@ declare const MealPlanDecisionVoteSocketSuccessAckSchema: z.ZodObject<{
4620
4620
  candidateCount: z.ZodNumber;
4621
4621
  errorMessage: z.ZodDefault<z.ZodNullable<z.ZodString>>;
4622
4622
  }, z.core.$strip>>;
4623
+ menuRecommendation: z.ZodOptional<z.ZodObject<{
4624
+ preferenceKey: z.ZodString;
4625
+ generatedFromHash: z.ZodString;
4626
+ generatedAt: z.ZodString;
4627
+ candidateCount: z.ZodNumber;
4628
+ }, z.core.$strip>>;
4623
4629
  }, z.core.$catchall<z.ZodUnknown>>>>;
4624
4630
  openedAt: z.ZodString;
4625
4631
  completedAt: z.ZodNullable<z.ZodString>;
@@ -4643,10 +4649,13 @@ declare const MealPlanDecisionVoteSocketSuccessAckSchema: z.ZodObject<{
4643
4649
  }>;
4644
4650
  status: z.ZodEnum<{
4645
4651
  OPEN: "OPEN";
4652
+ READY: "READY";
4646
4653
  STALE: "STALE";
4647
4654
  LOCKED: "LOCKED";
4648
4655
  RESOLVED: "RESOLVED";
4649
4656
  }>;
4657
+ readyCount: z.ZodNumber;
4658
+ participantCount: z.ZodNumber;
4650
4659
  blockers: z.ZodDefault<z.ZodArray<z.ZodString>>;
4651
4660
  updatedAt: z.ZodString;
4652
4661
  }, z.core.$strip>>;
@@ -4676,6 +4685,7 @@ declare const MealPlanDecisionVoteSocketSuccessAckSchema: z.ZodObject<{
4676
4685
  TOP_PICKED_MENU: "TOP_PICKED_MENU";
4677
4686
  TOP_PICKED_RESTAURANT: "TOP_PICKED_RESTAURANT";
4678
4687
  OWNER_CONFIRMED: "OWNER_CONFIRMED";
4688
+ TASK_ALL_READY: "TASK_ALL_READY";
4679
4689
  MANUAL_SELECTION: "MANUAL_SELECTION";
4680
4690
  }>;
4681
4691
  score: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
@@ -4746,9 +4756,7 @@ declare const MealPlanDecisionVoteSocketSuccessAckSchema: z.ZodObject<{
4746
4756
  address: z.ZodDefault<z.ZodString>;
4747
4757
  source: z.ZodDefault<z.ZodEnum<{
4748
4758
  manual: "manual";
4749
- "map-marker": "map-marker";
4750
4759
  midpoint: "midpoint";
4751
- "user-location": "user-location";
4752
4760
  search: "search";
4753
4761
  "recent-place": "recent-place";
4754
4762
  fallback: "fallback";
@@ -4929,9 +4937,7 @@ declare const MealPlanDecisionVoteSocketAckSchema: z.ZodDiscriminatedUnion<[z.Zo
4929
4937
  address: z.ZodDefault<z.ZodString>;
4930
4938
  source: z.ZodDefault<z.ZodEnum<{
4931
4939
  manual: "manual";
4932
- "map-marker": "map-marker";
4933
4940
  midpoint: "midpoint";
4934
- "user-location": "user-location";
4935
4941
  search: "search";
4936
4942
  "recent-place": "recent-place";
4937
4943
  fallback: "fallback";
@@ -4955,8 +4961,8 @@ declare const MealPlanDecisionVoteSocketAckSchema: z.ZodDiscriminatedUnion<[z.Zo
4955
4961
  "manual-search": "manual-search";
4956
4962
  }>;
4957
4963
  score: z.ZodDefault<z.ZodNumber>;
4958
- imageUrl: z.ZodDefault<z.ZodNullable<z.ZodString>>;
4959
- image: z.ZodDefault<z.ZodNullable<z.ZodObject<{
4964
+ imageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4965
+ image: z.ZodOptional<z.ZodNullable<z.ZodObject<{
4960
4966
  src: z.ZodString;
4961
4967
  avifSrcset: z.ZodOptional<z.ZodString>;
4962
4968
  thumbhashDataURL: z.ZodOptional<z.ZodString>;
@@ -5016,9 +5022,7 @@ declare const MealPlanDecisionVoteSocketAckSchema: z.ZodDiscriminatedUnion<[z.Zo
5016
5022
  address: z.ZodDefault<z.ZodString>;
5017
5023
  source: z.ZodDefault<z.ZodEnum<{
5018
5024
  manual: "manual";
5019
- "map-marker": "map-marker";
5020
5025
  midpoint: "midpoint";
5021
- "user-location": "user-location";
5022
5026
  search: "search";
5023
5027
  "recent-place": "recent-place";
5024
5028
  fallback: "fallback";
@@ -5042,8 +5046,8 @@ declare const MealPlanDecisionVoteSocketAckSchema: z.ZodDiscriminatedUnion<[z.Zo
5042
5046
  "manual-search": "manual-search";
5043
5047
  }>;
5044
5048
  score: z.ZodDefault<z.ZodNumber>;
5045
- imageUrl: z.ZodDefault<z.ZodNullable<z.ZodString>>;
5046
- image: z.ZodDefault<z.ZodNullable<z.ZodObject<{
5049
+ imageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5050
+ image: z.ZodOptional<z.ZodNullable<z.ZodObject<{
5047
5051
  src: z.ZodString;
5048
5052
  avifSrcset: z.ZodOptional<z.ZodString>;
5049
5053
  thumbhashDataURL: z.ZodOptional<z.ZodString>;
@@ -5095,9 +5099,7 @@ declare const MealPlanDecisionVoteSocketAckSchema: z.ZodDiscriminatedUnion<[z.Zo
5095
5099
  address: z.ZodDefault<z.ZodString>;
5096
5100
  source: z.ZodDefault<z.ZodEnum<{
5097
5101
  manual: "manual";
5098
- "map-marker": "map-marker";
5099
5102
  midpoint: "midpoint";
5100
- "user-location": "user-location";
5101
5103
  search: "search";
5102
5104
  "recent-place": "recent-place";
5103
5105
  fallback: "fallback";
@@ -5121,8 +5123,8 @@ declare const MealPlanDecisionVoteSocketAckSchema: z.ZodDiscriminatedUnion<[z.Zo
5121
5123
  "manual-search": "manual-search";
5122
5124
  }>;
5123
5125
  score: z.ZodDefault<z.ZodNumber>;
5124
- imageUrl: z.ZodDefault<z.ZodNullable<z.ZodString>>;
5125
- image: z.ZodDefault<z.ZodNullable<z.ZodObject<{
5126
+ imageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5127
+ image: z.ZodOptional<z.ZodNullable<z.ZodObject<{
5126
5128
  src: z.ZodString;
5127
5129
  avifSrcset: z.ZodOptional<z.ZodString>;
5128
5130
  thumbhashDataURL: z.ZodOptional<z.ZodString>;
@@ -5172,6 +5174,12 @@ declare const MealPlanDecisionVoteSocketAckSchema: z.ZodDiscriminatedUnion<[z.Zo
5172
5174
  candidateCount: z.ZodNumber;
5173
5175
  errorMessage: z.ZodDefault<z.ZodNullable<z.ZodString>>;
5174
5176
  }, z.core.$strip>>;
5177
+ menuRecommendation: z.ZodOptional<z.ZodObject<{
5178
+ preferenceKey: z.ZodString;
5179
+ generatedFromHash: z.ZodString;
5180
+ generatedAt: z.ZodString;
5181
+ candidateCount: z.ZodNumber;
5182
+ }, z.core.$strip>>;
5175
5183
  }, z.core.$catchall<z.ZodUnknown>>>>;
5176
5184
  openedAt: z.ZodString;
5177
5185
  completedAt: z.ZodNullable<z.ZodString>;
@@ -5195,10 +5203,13 @@ declare const MealPlanDecisionVoteSocketAckSchema: z.ZodDiscriminatedUnion<[z.Zo
5195
5203
  }>;
5196
5204
  status: z.ZodEnum<{
5197
5205
  OPEN: "OPEN";
5206
+ READY: "READY";
5198
5207
  STALE: "STALE";
5199
5208
  LOCKED: "LOCKED";
5200
5209
  RESOLVED: "RESOLVED";
5201
5210
  }>;
5211
+ readyCount: z.ZodNumber;
5212
+ participantCount: z.ZodNumber;
5202
5213
  blockers: z.ZodDefault<z.ZodArray<z.ZodString>>;
5203
5214
  updatedAt: z.ZodString;
5204
5215
  }, z.core.$strip>>;
@@ -5228,6 +5239,7 @@ declare const MealPlanDecisionVoteSocketAckSchema: z.ZodDiscriminatedUnion<[z.Zo
5228
5239
  TOP_PICKED_MENU: "TOP_PICKED_MENU";
5229
5240
  TOP_PICKED_RESTAURANT: "TOP_PICKED_RESTAURANT";
5230
5241
  OWNER_CONFIRMED: "OWNER_CONFIRMED";
5242
+ TASK_ALL_READY: "TASK_ALL_READY";
5231
5243
  MANUAL_SELECTION: "MANUAL_SELECTION";
5232
5244
  }>;
5233
5245
  score: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
@@ -5298,9 +5310,7 @@ declare const MealPlanDecisionVoteSocketAckSchema: z.ZodDiscriminatedUnion<[z.Zo
5298
5310
  address: z.ZodDefault<z.ZodString>;
5299
5311
  source: z.ZodDefault<z.ZodEnum<{
5300
5312
  manual: "manual";
5301
- "map-marker": "map-marker";
5302
5313
  midpoint: "midpoint";
5303
- "user-location": "user-location";
5304
5314
  search: "search";
5305
5315
  "recent-place": "recent-place";
5306
5316
  fallback: "fallback";
@@ -5716,6 +5726,26 @@ type MealGroupHistoryItem = z.infer<typeof MealGroupHistoryItemSchema>;
5716
5726
  type MealGroupHistoryResponse = z.infer<typeof MealGroupHistoryResponseSchema>;
5717
5727
  type MealGroupPreferenceSummary = z.infer<typeof MealGroupPreferenceSummarySchema>;
5718
5728
 
5729
+ /**
5730
+ * Stable semantic identity for persisted decision candidates.
5731
+ *
5732
+ * Candidate payloads are stored in JSON columns and may change object-key order
5733
+ * or non-identity metadata (`createdAt`, score, image metadata) across API
5734
+ * reads. All vote toggles, candidate materialization, recommendation refreshes,
5735
+ * and search cache keys must use this value rather than JSON.stringify().
5736
+ */
5737
+ declare function getMealPlanDecisionCandidateKey(candidate: MealPlanDecisionCandidate): string;
5738
+ /**
5739
+ * Search cache identity intentionally contains only the provisional area/menu
5740
+ * candidate identities. It changes exactly when the winning provisional pair
5741
+ * changes, not when response display metadata changes.
5742
+ */
5743
+ declare function getMealPlanRestaurantProvisionCacheKey(area: Extract<MealPlanDecisionCandidate, {
5744
+ stageType: "AREA";
5745
+ }>, menu: Extract<MealPlanDecisionCandidate, {
5746
+ stageType: "MENU";
5747
+ }>): string;
5748
+
5719
5749
  type MealPlanNotificationPriorityChannel = "HOME" | "NOTIFICATION_INBOX" | "FCM_PUSH" | "LIVE_ACTIVITY";
5720
5750
  type MealPlanNotificationKind = keyof typeof MEAL_PLAN_NOTIFICATION_PRIORITY_POLICIES;
5721
5751
  type MealPlanNotification = z.infer<typeof MealPlanNotificationSchema>;
@@ -5726,4 +5756,4 @@ declare function getMealPlanLiveActivityBehavior(kind: string): "NONE" | "START_
5726
5756
  declare function shouldShowForegroundToast(kind: string): boolean;
5727
5757
  declare function compareMealPlanNotificationsByPriority(channel: MealPlanNotificationPriorityChannel): (a: Pick<MealPlanNotification, "kind" | "createdAt" | "readAt">, b: Pick<MealPlanNotification, "kind" | "createdAt" | "readAt">) => number;
5728
5758
 
5729
- export { type AddMealGroupMemberRequest, AddMealGroupMemberRequestSchema, type CompleteMealPlanDecisionStageRequest, CompleteMealPlanDecisionStageRequestSchema, type ConfirmMealPlanDecisionSnapshotRequest, ConfirmMealPlanDecisionSnapshotRequestSchema, type CreateMealGroupRequest, CreateMealGroupRequestSchema, type CreateMealPlanChangeRequest, CreateMealPlanChangeRequestSchema, type CreateMealPlanInviteRequest, CreateMealPlanInviteRequestSchema, type CreateMealPlanJoinRequest, CreateMealPlanJoinRequestSchema, type CreateMealPlanParticipantRequest, CreateMealPlanParticipantRequestSchema, type CreateMealPlanRequest, CreateMealPlanRequestSchema, type CreateMealPlanResponse, CreateMealPlanResponseSchema, type CreateMealPlanShareLinkRequest, CreateMealPlanShareLinkRequestSchema, type CreateMealPlanVoteRequest, CreateMealPlanVoteRequestSchema, type ExposeMealPlanToNearbyFriendsRequest, ExposeMealPlanToNearbyFriendsRequestSchema, type ExposeMealPlanToNearbyFriendsResponse, ExposeMealPlanToNearbyFriendsResponseSchema, type HomeMealPlanActionCard, HomeMealPlanActionCardSchema, type HomeMealPlanActionKind, HomeMealPlanActionKindSchema, type HomeMealPlanDashboardResponse, HomeMealPlanDashboardResponseSchema, type JoinMealPlanGuestRequest, JoinMealPlanGuestRequestSchema, type JoinMealPlanGuestResponse, JoinMealPlanGuestResponseSchema, MEAL_PLAN_NOTIFICATION_PRIORITY_POLICIES, type MealGroupHistoryItem, MealGroupHistoryItemSchema, type MealGroupHistoryResponse, MealGroupHistoryResponseSchema, type MealGroupMember, type MealGroupMemberRole, MealGroupMemberRoleSchema, MealGroupMemberSchema, type MealGroupPreferenceSummary, MealGroupPreferenceSummarySchema, type MealGroupResponse, MealGroupResponseSchema, type MealMapFriendRecordLocationMetadata, MealMapFriendRecordLocationMetadataSchema, type MealMapLayer, MealMapLayerSchema, type MealMapMarker, MealMapMarkerSchema, type MealMapMyMealPlanPlaceMetadata, MealMapMyMealPlanPlaceMetadataSchema, type MealMapNearbyFriendMealPlanMetadata, MealMapNearbyFriendMealPlanMetadataSchema, type MealMapQuery, MealMapQuerySchema, type MealMapResponse, MealMapResponseSchema, type MealMapRestaurantCandidateCompletionBlockedReason, MealMapRestaurantCandidateCompletionBlockedReasonSchema, type MealMapRestaurantCandidateMetadata, MealMapRestaurantCandidateMetadataSchema, type MealPlanChangeRequestStatus, MealPlanChangeRequestStatusSchema, type MealPlanChangeRequestSummary, MealPlanChangeRequestSummarySchema, type MealPlanChannel, MealPlanChannelSchema, type MealPlanChatMessageKind, MealPlanChatMessageKindSchema, type MealPlanChatMessageListResponse, MealPlanChatMessageListResponseSchema, type MealPlanChatMessageResponse, MealPlanChatMessageResponseSchema, type MealPlanChatRoomSummary, MealPlanChatRoomSummarySchema, type MealPlanChatSystemPayload, MealPlanChatSystemPayloadSchema, type MealPlanDecisionActorType, MealPlanDecisionActorTypeSchema, type MealPlanDecisionCandidate, MealPlanDecisionCandidateSchema, type MealPlanDecisionFinalField, MealPlanDecisionFinalFieldSchema, type MealPlanDecisionProgress, MealPlanDecisionProgressSchema, type MealPlanDecisionReason, MealPlanDecisionReasonSchema, type MealPlanDecisionSnapshot, MealPlanDecisionSnapshotSchema, type MealPlanDecisionSnapshotStatus, MealPlanDecisionSnapshotStatusSchema, MealPlanDecisionStageIdSchema, type MealPlanDecisionStageMetadata, MealPlanDecisionStageMetadataSchema, type MealPlanDecisionStageResponse, MealPlanDecisionStageResponseSchema, type MealPlanDecisionStageStatus, MealPlanDecisionStageStatusSchema, type MealPlanDecisionStageType, MealPlanDecisionStageTypeSchema, type MealPlanDecisionTaskKey, MealPlanDecisionTaskKeySchema, type MealPlanDecisionTaskProgress, MealPlanDecisionTaskProgressSchema, type MealPlanDecisionTaskStatus, MealPlanDecisionTaskStatusSchema, type MealPlanDecisionVoteSocketAck, MealPlanDecisionVoteSocketAckSchema, type MealPlanDecisionVoteSocketError, MealPlanDecisionVoteSocketErrorSchema, MealPlanDecisionVoteSocketEvent, type MealPlanDecisionVoteSocketFailureAck, MealPlanDecisionVoteSocketFailureAckSchema, type MealPlanDecisionVoteSocketPayload, MealPlanDecisionVoteSocketPayloadSchema, type MealPlanDecisionVoteSocketSuccessAck, MealPlanDecisionVoteSocketSuccessAckSchema, type MealPlanGuestParticipant, MealPlanGuestParticipantSchema, type MealPlanGuestSessionQuery, MealPlanGuestSessionQuerySchema, type MealPlanGuestSessionResponse, MealPlanGuestSessionResponseSchema, type MealPlanInviteListResponse, MealPlanInviteListResponseSchema, type MealPlanInviteStatus, MealPlanInviteStatusSchema, type MealPlanInviteSummary, MealPlanInviteSummarySchema, type MealPlanJoinRequestStatus, MealPlanJoinRequestStatusSchema, type MealPlanJoinRequestSummary, MealPlanJoinRequestSummarySchema, type MealPlanJoinSource, MealPlanJoinSourceSchema, MealPlanLatitudeSchema, type MealPlanLiveActivityBehavior, MealPlanLiveActivityBehaviorSchema, type MealPlanLocationCandidate, MealPlanLocationCandidateIdSchema, MealPlanLocationCandidateSchema, type MealPlanLocationCandidateSource, MealPlanLocationCandidateSourceSchema, MealPlanLongitudeSchema, type MealPlanMenuCandidate, MealPlanMenuCandidateIdSchema, MealPlanMenuCandidateSchema, type MealPlanMenuCandidateSource, MealPlanMenuCandidateSourceSchema, type MealPlanNearbyFriendExposureBatchSummary, MealPlanNearbyFriendExposureBatchSummarySchema, MealPlanNearbyFriendExposureIdSchema, type MealPlanNearbyFriendExposureNotificationStatus, MealPlanNearbyFriendExposureNotificationStatusSchema, type MealPlanNearbyFriendExposureStatus, MealPlanNearbyFriendExposureStatusSchema, type MealPlanNearbyFriendExposureSummary, MealPlanNearbyFriendExposureSummarySchema, type MealPlanNearbyFriendRejectionReason, MealPlanNearbyFriendRejectionReasonSchema, type MealPlanNearbyFriendRejectionSummary, MealPlanNearbyFriendRejectionSummarySchema, type MealPlanNotification$1 as MealPlanNotification, type MealPlanNotificationKind$1 as MealPlanNotificationKind, MealPlanNotificationKindSchema, type MealPlanNotificationPriorityChannel$1 as MealPlanNotificationPriorityChannel, MealPlanNotificationPriorityChannelSchema, type MealPlanNotificationPriorityPolicy, type MealPlanNotificationPriorityPolicyItem, MealPlanNotificationPriorityPolicyItemSchema, MealPlanNotificationSchema, MealPlanParticipantIdSchema, type MealPlanParticipantResponse, MealPlanParticipantResponseSchema, type MealPlanParticipantRole, MealPlanParticipantRoleSchema, type MealPlanParticipantStatus, MealPlanParticipantStatusSchema, type MealPlanRecommendationContext, MealPlanRecommendationContextSchema, type MealPlanResponse, MealPlanResponseSchema, type MealPlanRestaurantCandidate, MealPlanRestaurantCandidateSchema, type MealPlanRestaurantSearchState, MealPlanRestaurantSearchStateSchema, type MealPlanRestaurantSearchStatus, MealPlanRestaurantSearchStatusSchema, type MealPlanShareLinkSummary, MealPlanShareLinkSummarySchema, type MealPlanSharePreviewResponse, MealPlanSharePreviewResponseSchema, type MealPlanStatus, MealPlanStatusSchema, type MealPlanSystemMessage, type MealPlanSystemMessageKind, MealPlanSystemMessageKindSchema, MealPlanSystemMessageSchema, type MealPlanViewerPermissions, MealPlanViewerPermissionsSchema, type MealPlanViewerRole, MealPlanViewerRoleSchema, type MealPlanVote, MealPlanVoteIdSchema, MealPlanVoteSchema, type MealPlanVoteType, MealPlanVoteTypeSchema, type MyMealPlanGroup, MyMealPlanGroupSchema, type MyMealPlanListItem, MyMealPlanListItemSchema, type MyMealPlanListResponse, MyMealPlanListResponseSchema, type NearbyFriendExposureEligibility, NearbyFriendExposureEligibilitySchema, type NearbyFriendMealPlanSummary, NearbyFriendMealPlanSummarySchema, type ReopenMealPlanDecisionTaskRequest, ReopenMealPlanDecisionTaskRequestSchema, type SendMealPlanChatMessageRequest, SendMealPlanChatMessageRequestSchema, type SendMealPlanInviteResponse, SendMealPlanInviteResponseSchema, type StartMealPlanFromGroupRequest, StartMealPlanFromGroupRequestSchema, type UpdateMealGroupMemberRoleRequest, UpdateMealGroupMemberRoleRequestSchema, type UpdateMealPlanContextRequest, UpdateMealPlanContextRequestSchema, compareMealPlanNotificationsByPriority, getMealPlanLiveActivityBehavior, getMealPlanNotificationPriority, getMealPlanNotificationPriorityPolicy, shouldShowForegroundToast };
5759
+ export { type AddMealGroupMemberRequest, AddMealGroupMemberRequestSchema, type CompleteMealPlanDecisionStageRequest, CompleteMealPlanDecisionStageRequestSchema, type ConfirmMealPlanDecisionSnapshotRequest, ConfirmMealPlanDecisionSnapshotRequestSchema, type CreateMealGroupRequest, CreateMealGroupRequestSchema, type CreateMealPlanChangeRequest, CreateMealPlanChangeRequestSchema, type CreateMealPlanInviteRequest, CreateMealPlanInviteRequestSchema, type CreateMealPlanJoinRequest, CreateMealPlanJoinRequestSchema, type CreateMealPlanParticipantRequest, CreateMealPlanParticipantRequestSchema, type CreateMealPlanRequest, CreateMealPlanRequestSchema, type CreateMealPlanResponse, CreateMealPlanResponseSchema, type CreateMealPlanShareLinkRequest, CreateMealPlanShareLinkRequestSchema, type CreateMealPlanVoteRequest, CreateMealPlanVoteRequestSchema, type ExposeMealPlanToNearbyFriendsRequest, ExposeMealPlanToNearbyFriendsRequestSchema, type ExposeMealPlanToNearbyFriendsResponse, ExposeMealPlanToNearbyFriendsResponseSchema, type HomeMealPlanActionCard, HomeMealPlanActionCardSchema, type HomeMealPlanActionKind, HomeMealPlanActionKindSchema, type HomeMealPlanDashboardResponse, HomeMealPlanDashboardResponseSchema, type JoinMealPlanGuestRequest, JoinMealPlanGuestRequestSchema, type JoinMealPlanGuestResponse, JoinMealPlanGuestResponseSchema, MEAL_PLAN_NOTIFICATION_PRIORITY_POLICIES, type MealGroupHistoryItem, MealGroupHistoryItemSchema, type MealGroupHistoryResponse, MealGroupHistoryResponseSchema, type MealGroupMember, type MealGroupMemberRole, MealGroupMemberRoleSchema, MealGroupMemberSchema, type MealGroupPreferenceSummary, MealGroupPreferenceSummarySchema, type MealGroupResponse, MealGroupResponseSchema, type MealMapFriendRecordLocationMetadata, MealMapFriendRecordLocationMetadataSchema, type MealMapLayer, MealMapLayerSchema, type MealMapMarker, MealMapMarkerSchema, type MealMapMyMealPlanPlaceMetadata, MealMapMyMealPlanPlaceMetadataSchema, type MealMapNearbyFriendMealPlanMetadata, MealMapNearbyFriendMealPlanMetadataSchema, type MealMapQuery, MealMapQuerySchema, type MealMapResponse, MealMapResponseSchema, type MealMapRestaurantCandidateCompletionBlockedReason, MealMapRestaurantCandidateCompletionBlockedReasonSchema, type MealMapRestaurantCandidateMetadata, MealMapRestaurantCandidateMetadataSchema, type MealPlanChangeRequestStatus, MealPlanChangeRequestStatusSchema, type MealPlanChangeRequestSummary, MealPlanChangeRequestSummarySchema, type MealPlanChannel, MealPlanChannelSchema, type MealPlanChatMessageKind, MealPlanChatMessageKindSchema, type MealPlanChatMessageListResponse, MealPlanChatMessageListResponseSchema, type MealPlanChatMessageResponse, MealPlanChatMessageResponseSchema, type MealPlanChatRoomSummary, MealPlanChatRoomSummarySchema, type MealPlanChatSystemPayload, MealPlanChatSystemPayloadSchema, type MealPlanDecisionActorType, MealPlanDecisionActorTypeSchema, type MealPlanDecisionCandidate, MealPlanDecisionCandidateSchema, type MealPlanDecisionFinalField, MealPlanDecisionFinalFieldSchema, type MealPlanDecisionProgress, MealPlanDecisionProgressSchema, type MealPlanDecisionReason, MealPlanDecisionReasonSchema, type MealPlanDecisionSnapshot, MealPlanDecisionSnapshotSchema, type MealPlanDecisionSnapshotStatus, MealPlanDecisionSnapshotStatusSchema, MealPlanDecisionStageIdSchema, type MealPlanDecisionStageMetadata, MealPlanDecisionStageMetadataSchema, type MealPlanDecisionStageResponse, MealPlanDecisionStageResponseSchema, type MealPlanDecisionStageStatus, MealPlanDecisionStageStatusSchema, type MealPlanDecisionStageType, MealPlanDecisionStageTypeSchema, type MealPlanDecisionTaskKey, MealPlanDecisionTaskKeySchema, type MealPlanDecisionTaskProgress, MealPlanDecisionTaskProgressSchema, MealPlanDecisionTaskReadyRequestSchema, type MealPlanDecisionTaskStatus, MealPlanDecisionTaskStatusSchema, type MealPlanDecisionVoteSocketAck, type MealPlanDecisionVoteSocketError, type MealPlanDecisionVoteSocketFailureAck, type MealPlanDecisionVoteSocketPayload, type MealPlanDecisionVoteSocketSuccessAck, type MealPlanGuestParticipant, MealPlanGuestParticipantSchema, type MealPlanGuestSessionQuery, MealPlanGuestSessionQuerySchema, type MealPlanGuestSessionResponse, MealPlanGuestSessionResponseSchema, type MealPlanInviteListResponse, MealPlanInviteListResponseSchema, type MealPlanInviteStatus, MealPlanInviteStatusSchema, type MealPlanInviteSummary, MealPlanInviteSummarySchema, type MealPlanJoinRequestStatus, MealPlanJoinRequestStatusSchema, type MealPlanJoinRequestSummary, MealPlanJoinRequestSummarySchema, type MealPlanJoinSource, MealPlanJoinSourceSchema, MealPlanLatitudeSchema, type MealPlanLiveActivityBehavior, MealPlanLiveActivityBehaviorSchema, type MealPlanLocationCandidate, MealPlanLocationCandidateIdSchema, MealPlanLocationCandidateSchema, type MealPlanLocationCandidateSource, MealPlanLocationCandidateSourceSchema, MealPlanLongitudeSchema, type MealPlanMenuCandidate, MealPlanMenuCandidateIdSchema, MealPlanMenuCandidateSchema, type MealPlanMenuCandidateSource, MealPlanMenuCandidateSourceSchema, type MealPlanMenuRecommendationState, MealPlanMenuRecommendationStateSchema, type MealPlanNearbyFriendExposureBatchSummary, MealPlanNearbyFriendExposureBatchSummarySchema, MealPlanNearbyFriendExposureIdSchema, type MealPlanNearbyFriendExposureNotificationStatus, MealPlanNearbyFriendExposureNotificationStatusSchema, type MealPlanNearbyFriendExposureStatus, MealPlanNearbyFriendExposureStatusSchema, type MealPlanNearbyFriendExposureSummary, MealPlanNearbyFriendExposureSummarySchema, type MealPlanNearbyFriendRejectionReason, MealPlanNearbyFriendRejectionReasonSchema, type MealPlanNearbyFriendRejectionSummary, MealPlanNearbyFriendRejectionSummarySchema, type MealPlanNotification$1 as MealPlanNotification, type MealPlanNotificationKind$1 as MealPlanNotificationKind, MealPlanNotificationKindSchema, type MealPlanNotificationPriorityChannel$1 as MealPlanNotificationPriorityChannel, MealPlanNotificationPriorityChannelSchema, type MealPlanNotificationPriorityPolicy, type MealPlanNotificationPriorityPolicyItem, MealPlanNotificationPriorityPolicyItemSchema, MealPlanNotificationSchema, MealPlanParticipantIdSchema, type MealPlanParticipantResponse, MealPlanParticipantResponseSchema, type MealPlanParticipantRole, MealPlanParticipantRoleSchema, type MealPlanParticipantStatus, MealPlanParticipantStatusSchema, type MealPlanRecommendationContext, MealPlanRecommendationContextSchema, type MealPlanResponse, MealPlanResponseSchema, type MealPlanRestaurantCandidate, MealPlanRestaurantCandidateSchema, type MealPlanRestaurantSearchState, MealPlanRestaurantSearchStateSchema, type MealPlanRestaurantSearchStatus, MealPlanRestaurantSearchStatusSchema, type MealPlanShareLinkSummary, MealPlanShareLinkSummarySchema, type MealPlanSharePreviewResponse, MealPlanSharePreviewResponseSchema, type MealPlanStatus, MealPlanStatusSchema, type MealPlanSystemMessage, type MealPlanSystemMessageKind, MealPlanSystemMessageKindSchema, MealPlanSystemMessageSchema, type MealPlanViewerPermissions, MealPlanViewerPermissionsSchema, type MealPlanViewerRole, MealPlanViewerRoleSchema, type MealPlanVote, MealPlanVoteIdSchema, MealPlanVoteSchema, type MealPlanVoteType, MealPlanVoteTypeSchema, type MyMealPlanGroup, MyMealPlanGroupSchema, type MyMealPlanListItem, MyMealPlanListItemSchema, type MyMealPlanListResponse, MyMealPlanListResponseSchema, type NearbyFriendExposureEligibility, NearbyFriendExposureEligibilitySchema, type NearbyFriendMealPlanSummary, NearbyFriendMealPlanSummarySchema, type ReopenMealPlanDecisionTaskRequest, ReopenMealPlanDecisionTaskRequestSchema, type SendMealPlanChatMessageRequest, SendMealPlanChatMessageRequestSchema, type SendMealPlanInviteResponse, SendMealPlanInviteResponseSchema, type StartMealPlanFromGroupRequest, StartMealPlanFromGroupRequestSchema, type UpdateMealGroupMemberRoleRequest, UpdateMealGroupMemberRoleRequestSchema, type UpdateMealPlanContextRequest, UpdateMealPlanContextRequestSchema, compareMealPlanNotificationsByPriority, getMealPlanDecisionCandidateKey, getMealPlanLiveActivityBehavior, getMealPlanNotificationPriority, getMealPlanNotificationPriorityPolicy, getMealPlanRestaurantProvisionCacheKey, shouldShowForegroundToast };