@kimdaegyu/babmukdang-shared 2.0.5 → 2.0.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -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,6 +4150,7 @@ 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
4156
  /** Socket.IO command name for creating a decision vote and materializing its candidate. */
@@ -4172,9 +4182,7 @@ declare const MealPlanDecisionVoteSocketPayloadSchema: z.ZodObject<{
4172
4182
  address: z.ZodDefault<z.ZodString>;
4173
4183
  source: z.ZodDefault<z.ZodEnum<{
4174
4184
  manual: "manual";
4175
- "map-marker": "map-marker";
4176
4185
  midpoint: "midpoint";
4177
- "user-location": "user-location";
4178
4186
  search: "search";
4179
4187
  "recent-place": "recent-place";
4180
4188
  fallback: "fallback";
@@ -4198,8 +4206,8 @@ declare const MealPlanDecisionVoteSocketPayloadSchema: z.ZodObject<{
4198
4206
  "manual-search": "manual-search";
4199
4207
  }>;
4200
4208
  score: z.ZodDefault<z.ZodNumber>;
4201
- imageUrl: z.ZodDefault<z.ZodNullable<z.ZodString>>;
4202
- image: z.ZodDefault<z.ZodNullable<z.ZodObject<{
4209
+ imageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4210
+ image: z.ZodOptional<z.ZodNullable<z.ZodObject<{
4203
4211
  src: z.ZodString;
4204
4212
  avifSrcset: z.ZodOptional<z.ZodString>;
4205
4213
  thumbhashDataURL: z.ZodOptional<z.ZodString>;
@@ -4377,9 +4385,7 @@ declare const MealPlanDecisionVoteSocketSuccessAckSchema: z.ZodObject<{
4377
4385
  address: z.ZodDefault<z.ZodString>;
4378
4386
  source: z.ZodDefault<z.ZodEnum<{
4379
4387
  manual: "manual";
4380
- "map-marker": "map-marker";
4381
4388
  midpoint: "midpoint";
4382
- "user-location": "user-location";
4383
4389
  search: "search";
4384
4390
  "recent-place": "recent-place";
4385
4391
  fallback: "fallback";
@@ -4403,8 +4409,8 @@ declare const MealPlanDecisionVoteSocketSuccessAckSchema: z.ZodObject<{
4403
4409
  "manual-search": "manual-search";
4404
4410
  }>;
4405
4411
  score: z.ZodDefault<z.ZodNumber>;
4406
- imageUrl: z.ZodDefault<z.ZodNullable<z.ZodString>>;
4407
- image: z.ZodDefault<z.ZodNullable<z.ZodObject<{
4412
+ imageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4413
+ image: z.ZodOptional<z.ZodNullable<z.ZodObject<{
4408
4414
  src: z.ZodString;
4409
4415
  avifSrcset: z.ZodOptional<z.ZodString>;
4410
4416
  thumbhashDataURL: z.ZodOptional<z.ZodString>;
@@ -4464,9 +4470,7 @@ declare const MealPlanDecisionVoteSocketSuccessAckSchema: z.ZodObject<{
4464
4470
  address: z.ZodDefault<z.ZodString>;
4465
4471
  source: z.ZodDefault<z.ZodEnum<{
4466
4472
  manual: "manual";
4467
- "map-marker": "map-marker";
4468
4473
  midpoint: "midpoint";
4469
- "user-location": "user-location";
4470
4474
  search: "search";
4471
4475
  "recent-place": "recent-place";
4472
4476
  fallback: "fallback";
@@ -4490,8 +4494,8 @@ declare const MealPlanDecisionVoteSocketSuccessAckSchema: z.ZodObject<{
4490
4494
  "manual-search": "manual-search";
4491
4495
  }>;
4492
4496
  score: z.ZodDefault<z.ZodNumber>;
4493
- imageUrl: z.ZodDefault<z.ZodNullable<z.ZodString>>;
4494
- image: z.ZodDefault<z.ZodNullable<z.ZodObject<{
4497
+ imageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4498
+ image: z.ZodOptional<z.ZodNullable<z.ZodObject<{
4495
4499
  src: z.ZodString;
4496
4500
  avifSrcset: z.ZodOptional<z.ZodString>;
4497
4501
  thumbhashDataURL: z.ZodOptional<z.ZodString>;
@@ -4543,9 +4547,7 @@ declare const MealPlanDecisionVoteSocketSuccessAckSchema: z.ZodObject<{
4543
4547
  address: z.ZodDefault<z.ZodString>;
4544
4548
  source: z.ZodDefault<z.ZodEnum<{
4545
4549
  manual: "manual";
4546
- "map-marker": "map-marker";
4547
4550
  midpoint: "midpoint";
4548
- "user-location": "user-location";
4549
4551
  search: "search";
4550
4552
  "recent-place": "recent-place";
4551
4553
  fallback: "fallback";
@@ -4569,8 +4571,8 @@ declare const MealPlanDecisionVoteSocketSuccessAckSchema: z.ZodObject<{
4569
4571
  "manual-search": "manual-search";
4570
4572
  }>;
4571
4573
  score: z.ZodDefault<z.ZodNumber>;
4572
- imageUrl: z.ZodDefault<z.ZodNullable<z.ZodString>>;
4573
- image: z.ZodDefault<z.ZodNullable<z.ZodObject<{
4574
+ imageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4575
+ image: z.ZodOptional<z.ZodNullable<z.ZodObject<{
4574
4576
  src: z.ZodString;
4575
4577
  avifSrcset: z.ZodOptional<z.ZodString>;
4576
4578
  thumbhashDataURL: z.ZodOptional<z.ZodString>;
@@ -4620,6 +4622,12 @@ declare const MealPlanDecisionVoteSocketSuccessAckSchema: z.ZodObject<{
4620
4622
  candidateCount: z.ZodNumber;
4621
4623
  errorMessage: z.ZodDefault<z.ZodNullable<z.ZodString>>;
4622
4624
  }, z.core.$strip>>;
4625
+ menuRecommendation: z.ZodOptional<z.ZodObject<{
4626
+ preferenceKey: z.ZodString;
4627
+ generatedFromHash: z.ZodString;
4628
+ generatedAt: z.ZodString;
4629
+ candidateCount: z.ZodNumber;
4630
+ }, z.core.$strip>>;
4623
4631
  }, z.core.$catchall<z.ZodUnknown>>>>;
4624
4632
  openedAt: z.ZodString;
4625
4633
  completedAt: z.ZodNullable<z.ZodString>;
@@ -4643,10 +4651,13 @@ declare const MealPlanDecisionVoteSocketSuccessAckSchema: z.ZodObject<{
4643
4651
  }>;
4644
4652
  status: z.ZodEnum<{
4645
4653
  OPEN: "OPEN";
4654
+ READY: "READY";
4646
4655
  STALE: "STALE";
4647
4656
  LOCKED: "LOCKED";
4648
4657
  RESOLVED: "RESOLVED";
4649
4658
  }>;
4659
+ readyCount: z.ZodNumber;
4660
+ participantCount: z.ZodNumber;
4650
4661
  blockers: z.ZodDefault<z.ZodArray<z.ZodString>>;
4651
4662
  updatedAt: z.ZodString;
4652
4663
  }, z.core.$strip>>;
@@ -4676,6 +4687,7 @@ declare const MealPlanDecisionVoteSocketSuccessAckSchema: z.ZodObject<{
4676
4687
  TOP_PICKED_MENU: "TOP_PICKED_MENU";
4677
4688
  TOP_PICKED_RESTAURANT: "TOP_PICKED_RESTAURANT";
4678
4689
  OWNER_CONFIRMED: "OWNER_CONFIRMED";
4690
+ TASK_ALL_READY: "TASK_ALL_READY";
4679
4691
  MANUAL_SELECTION: "MANUAL_SELECTION";
4680
4692
  }>;
4681
4693
  score: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
@@ -4746,9 +4758,7 @@ declare const MealPlanDecisionVoteSocketSuccessAckSchema: z.ZodObject<{
4746
4758
  address: z.ZodDefault<z.ZodString>;
4747
4759
  source: z.ZodDefault<z.ZodEnum<{
4748
4760
  manual: "manual";
4749
- "map-marker": "map-marker";
4750
4761
  midpoint: "midpoint";
4751
- "user-location": "user-location";
4752
4762
  search: "search";
4753
4763
  "recent-place": "recent-place";
4754
4764
  fallback: "fallback";
@@ -4929,9 +4939,7 @@ declare const MealPlanDecisionVoteSocketAckSchema: z.ZodDiscriminatedUnion<[z.Zo
4929
4939
  address: z.ZodDefault<z.ZodString>;
4930
4940
  source: z.ZodDefault<z.ZodEnum<{
4931
4941
  manual: "manual";
4932
- "map-marker": "map-marker";
4933
4942
  midpoint: "midpoint";
4934
- "user-location": "user-location";
4935
4943
  search: "search";
4936
4944
  "recent-place": "recent-place";
4937
4945
  fallback: "fallback";
@@ -4955,8 +4963,8 @@ declare const MealPlanDecisionVoteSocketAckSchema: z.ZodDiscriminatedUnion<[z.Zo
4955
4963
  "manual-search": "manual-search";
4956
4964
  }>;
4957
4965
  score: z.ZodDefault<z.ZodNumber>;
4958
- imageUrl: z.ZodDefault<z.ZodNullable<z.ZodString>>;
4959
- image: z.ZodDefault<z.ZodNullable<z.ZodObject<{
4966
+ imageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4967
+ image: z.ZodOptional<z.ZodNullable<z.ZodObject<{
4960
4968
  src: z.ZodString;
4961
4969
  avifSrcset: z.ZodOptional<z.ZodString>;
4962
4970
  thumbhashDataURL: z.ZodOptional<z.ZodString>;
@@ -5016,9 +5024,7 @@ declare const MealPlanDecisionVoteSocketAckSchema: z.ZodDiscriminatedUnion<[z.Zo
5016
5024
  address: z.ZodDefault<z.ZodString>;
5017
5025
  source: z.ZodDefault<z.ZodEnum<{
5018
5026
  manual: "manual";
5019
- "map-marker": "map-marker";
5020
5027
  midpoint: "midpoint";
5021
- "user-location": "user-location";
5022
5028
  search: "search";
5023
5029
  "recent-place": "recent-place";
5024
5030
  fallback: "fallback";
@@ -5042,8 +5048,8 @@ declare const MealPlanDecisionVoteSocketAckSchema: z.ZodDiscriminatedUnion<[z.Zo
5042
5048
  "manual-search": "manual-search";
5043
5049
  }>;
5044
5050
  score: z.ZodDefault<z.ZodNumber>;
5045
- imageUrl: z.ZodDefault<z.ZodNullable<z.ZodString>>;
5046
- image: z.ZodDefault<z.ZodNullable<z.ZodObject<{
5051
+ imageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5052
+ image: z.ZodOptional<z.ZodNullable<z.ZodObject<{
5047
5053
  src: z.ZodString;
5048
5054
  avifSrcset: z.ZodOptional<z.ZodString>;
5049
5055
  thumbhashDataURL: z.ZodOptional<z.ZodString>;
@@ -5095,9 +5101,7 @@ declare const MealPlanDecisionVoteSocketAckSchema: z.ZodDiscriminatedUnion<[z.Zo
5095
5101
  address: z.ZodDefault<z.ZodString>;
5096
5102
  source: z.ZodDefault<z.ZodEnum<{
5097
5103
  manual: "manual";
5098
- "map-marker": "map-marker";
5099
5104
  midpoint: "midpoint";
5100
- "user-location": "user-location";
5101
5105
  search: "search";
5102
5106
  "recent-place": "recent-place";
5103
5107
  fallback: "fallback";
@@ -5121,8 +5125,8 @@ declare const MealPlanDecisionVoteSocketAckSchema: z.ZodDiscriminatedUnion<[z.Zo
5121
5125
  "manual-search": "manual-search";
5122
5126
  }>;
5123
5127
  score: z.ZodDefault<z.ZodNumber>;
5124
- imageUrl: z.ZodDefault<z.ZodNullable<z.ZodString>>;
5125
- image: z.ZodDefault<z.ZodNullable<z.ZodObject<{
5128
+ imageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5129
+ image: z.ZodOptional<z.ZodNullable<z.ZodObject<{
5126
5130
  src: z.ZodString;
5127
5131
  avifSrcset: z.ZodOptional<z.ZodString>;
5128
5132
  thumbhashDataURL: z.ZodOptional<z.ZodString>;
@@ -5172,6 +5176,12 @@ declare const MealPlanDecisionVoteSocketAckSchema: z.ZodDiscriminatedUnion<[z.Zo
5172
5176
  candidateCount: z.ZodNumber;
5173
5177
  errorMessage: z.ZodDefault<z.ZodNullable<z.ZodString>>;
5174
5178
  }, z.core.$strip>>;
5179
+ menuRecommendation: z.ZodOptional<z.ZodObject<{
5180
+ preferenceKey: z.ZodString;
5181
+ generatedFromHash: z.ZodString;
5182
+ generatedAt: z.ZodString;
5183
+ candidateCount: z.ZodNumber;
5184
+ }, z.core.$strip>>;
5175
5185
  }, z.core.$catchall<z.ZodUnknown>>>>;
5176
5186
  openedAt: z.ZodString;
5177
5187
  completedAt: z.ZodNullable<z.ZodString>;
@@ -5195,10 +5205,13 @@ declare const MealPlanDecisionVoteSocketAckSchema: z.ZodDiscriminatedUnion<[z.Zo
5195
5205
  }>;
5196
5206
  status: z.ZodEnum<{
5197
5207
  OPEN: "OPEN";
5208
+ READY: "READY";
5198
5209
  STALE: "STALE";
5199
5210
  LOCKED: "LOCKED";
5200
5211
  RESOLVED: "RESOLVED";
5201
5212
  }>;
5213
+ readyCount: z.ZodNumber;
5214
+ participantCount: z.ZodNumber;
5202
5215
  blockers: z.ZodDefault<z.ZodArray<z.ZodString>>;
5203
5216
  updatedAt: z.ZodString;
5204
5217
  }, z.core.$strip>>;
@@ -5228,6 +5241,7 @@ declare const MealPlanDecisionVoteSocketAckSchema: z.ZodDiscriminatedUnion<[z.Zo
5228
5241
  TOP_PICKED_MENU: "TOP_PICKED_MENU";
5229
5242
  TOP_PICKED_RESTAURANT: "TOP_PICKED_RESTAURANT";
5230
5243
  OWNER_CONFIRMED: "OWNER_CONFIRMED";
5244
+ TASK_ALL_READY: "TASK_ALL_READY";
5231
5245
  MANUAL_SELECTION: "MANUAL_SELECTION";
5232
5246
  }>;
5233
5247
  score: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
@@ -5298,9 +5312,7 @@ declare const MealPlanDecisionVoteSocketAckSchema: z.ZodDiscriminatedUnion<[z.Zo
5298
5312
  address: z.ZodDefault<z.ZodString>;
5299
5313
  source: z.ZodDefault<z.ZodEnum<{
5300
5314
  manual: "manual";
5301
- "map-marker": "map-marker";
5302
5315
  midpoint: "midpoint";
5303
- "user-location": "user-location";
5304
5316
  search: "search";
5305
5317
  "recent-place": "recent-place";
5306
5318
  fallback: "fallback";
@@ -5717,14 +5729,24 @@ type MealGroupHistoryResponse = z.infer<typeof MealGroupHistoryResponseSchema>;
5717
5729
  type MealGroupPreferenceSummary = z.infer<typeof MealGroupPreferenceSummarySchema>;
5718
5730
 
5719
5731
  /**
5720
- * Stable identity for a decision candidate.
5732
+ * Stable semantic identity for persisted decision candidates.
5721
5733
  *
5722
- * Candidate objects are persisted in JSON columns, so object-property order and
5723
- * volatile display metadata such as `createdAt` must never participate in
5724
- * equality checks. Client rendering, vote grouping, and server-side
5725
- * materialization all use this semantic key.
5734
+ * Candidate payloads are stored in JSON columns and may change object-key order
5735
+ * or non-identity metadata (`createdAt`, score, image metadata) across API
5736
+ * reads. All vote toggles, candidate materialization, recommendation refreshes,
5737
+ * and search cache keys must use this value rather than JSON.stringify().
5726
5738
  */
5727
5739
  declare function getMealPlanDecisionCandidateKey(candidate: MealPlanDecisionCandidate): string;
5740
+ /**
5741
+ * Search cache identity intentionally contains only the provisional area/menu
5742
+ * candidate identities. It changes exactly when the winning provisional pair
5743
+ * changes, not when response display metadata changes.
5744
+ */
5745
+ declare function getMealPlanRestaurantProvisionCacheKey(area: Extract<MealPlanDecisionCandidate, {
5746
+ stageType: "AREA";
5747
+ }>, menu: Extract<MealPlanDecisionCandidate, {
5748
+ stageType: "MENU";
5749
+ }>): string;
5728
5750
 
5729
5751
  type MealPlanNotificationPriorityChannel = "HOME" | "NOTIFICATION_INBOX" | "FCM_PUSH" | "LIVE_ACTIVITY";
5730
5752
  type MealPlanNotificationKind = keyof typeof MEAL_PLAN_NOTIFICATION_PRIORITY_POLICIES;
@@ -5736,4 +5758,4 @@ declare function getMealPlanLiveActivityBehavior(kind: string): "NONE" | "START_
5736
5758
  declare function shouldShowForegroundToast(kind: string): boolean;
5737
5759
  declare function compareMealPlanNotificationsByPriority(channel: MealPlanNotificationPriorityChannel): (a: Pick<MealPlanNotification, "kind" | "createdAt" | "readAt">, b: Pick<MealPlanNotification, "kind" | "createdAt" | "readAt">) => number;
5738
5760
 
5739
- 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, getMealPlanDecisionCandidateKey, getMealPlanLiveActivityBehavior, getMealPlanNotificationPriority, getMealPlanNotificationPriorityPolicy, shouldShowForegroundToast };
5761
+ 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, 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 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 };