@kimdaegyu/babmukdang-shared 2.0.3 → 2.0.5

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.
@@ -4143,6 +4143,1207 @@ type MealPlanRestaurantSearchStatus = z.infer<typeof MealPlanRestaurantSearchSta
4143
4143
  type MealPlanRestaurantSearchState = z.infer<typeof MealPlanRestaurantSearchStateSchema>;
4144
4144
  type MealPlanDecisionStageMetadata = z.infer<typeof MealPlanDecisionStageMetadataSchema>;
4145
4145
 
4146
+ /** Socket.IO command name for creating a decision vote and materializing its candidate. */
4147
+ declare const MealPlanDecisionVoteSocketEvent: "mealPlan:decision:vote";
4148
+ /**
4149
+ * Canonical real-time write payload for a decision vote.
4150
+ * Candidate materialization and vote handling are owned by the decision service.
4151
+ */
4152
+ declare const MealPlanDecisionVoteSocketPayloadSchema: z.ZodObject<{
4153
+ voteType: z.ZodEnum<{
4154
+ READY: "READY";
4155
+ PICK: "PICK";
4156
+ EXCLUDE: "EXCLUDE";
4157
+ PREFER: "PREFER";
4158
+ }>;
4159
+ candidate: z.ZodDiscriminatedUnion<[z.ZodObject<{
4160
+ stageType: z.ZodLiteral<"DATE">;
4161
+ value: z.ZodString;
4162
+ }, z.core.$strip>, z.ZodObject<{
4163
+ stageType: z.ZodLiteral<"TIME">;
4164
+ value: z.ZodString;
4165
+ }, z.core.$strip>, z.ZodObject<{
4166
+ stageType: z.ZodLiteral<"AREA">;
4167
+ value: z.ZodObject<{
4168
+ locationId: z.core.$ZodBranded<z.ZodString, "MealPlanLocationCandidateId", "out">;
4169
+ placeName: z.ZodString;
4170
+ lat: z.core.$ZodBranded<z.ZodNumber, "MealPlanLatitude", "out">;
4171
+ lng: z.core.$ZodBranded<z.ZodNumber, "MealPlanLongitude", "out">;
4172
+ address: z.ZodDefault<z.ZodString>;
4173
+ source: z.ZodDefault<z.ZodEnum<{
4174
+ manual: "manual";
4175
+ "map-marker": "map-marker";
4176
+ midpoint: "midpoint";
4177
+ "user-location": "user-location";
4178
+ search: "search";
4179
+ "recent-place": "recent-place";
4180
+ fallback: "fallback";
4181
+ }>>;
4182
+ createdBy: z.ZodOptional<z.core.$ZodBranded<z.ZodNumber, "MemberId", "out">>;
4183
+ createdAt: z.ZodOptional<z.ZodString>;
4184
+ }, z.core.$strip>;
4185
+ }, z.core.$strip>, z.ZodObject<{
4186
+ stageType: z.ZodLiteral<"MENU">;
4187
+ value: z.ZodObject<{
4188
+ menuCandidateId: z.core.$ZodBranded<z.ZodString, "MealPlanMenuCandidateId", "out">;
4189
+ menu: z.ZodObject<{
4190
+ code: z.core.$ZodBranded<z.ZodString, "FoodCode", "out">;
4191
+ label: z.core.$ZodBranded<z.ZodString, "FoodLabel", "out">;
4192
+ }, z.core.$strip>;
4193
+ source: z.ZodEnum<{
4194
+ fallback: "fallback";
4195
+ "external-recommendation": "external-recommendation";
4196
+ "prefer-menu": "prefer-menu";
4197
+ "recent-menu": "recent-menu";
4198
+ "manual-search": "manual-search";
4199
+ }>;
4200
+ score: z.ZodDefault<z.ZodNumber>;
4201
+ imageUrl: z.ZodDefault<z.ZodNullable<z.ZodString>>;
4202
+ image: z.ZodDefault<z.ZodNullable<z.ZodObject<{
4203
+ src: z.ZodString;
4204
+ avifSrcset: z.ZodOptional<z.ZodString>;
4205
+ thumbhashDataURL: z.ZodOptional<z.ZodString>;
4206
+ aspectRatio: z.ZodOptional<z.ZodNumber>;
4207
+ }, z.core.$strip>>>;
4208
+ createdAt: z.ZodString;
4209
+ }, z.core.$strip>;
4210
+ }, z.core.$strip>, z.ZodObject<{
4211
+ stageType: z.ZodLiteral<"RESTAURANT">;
4212
+ value: z.ZodObject<{
4213
+ restaurantId: z.core.$ZodBranded<z.ZodString, "RestaurantId", "out">;
4214
+ placeName: z.ZodString;
4215
+ categoryName: z.ZodString;
4216
+ categoryGroupName: z.ZodString;
4217
+ distance: z.ZodOptional<z.ZodString>;
4218
+ roadAddressName: z.ZodString;
4219
+ addressName: z.ZodString;
4220
+ phone: z.ZodNullable<z.ZodString>;
4221
+ placeUrl: z.ZodNullable<z.ZodString>;
4222
+ lat: z.ZodNumber;
4223
+ lng: z.ZodNumber;
4224
+ candidateId: z.ZodOptional<z.core.$ZodBranded<z.ZodString, "RestaurantId", "out">>;
4225
+ source: z.ZodOptional<z.ZodEnum<{
4226
+ manual: "manual";
4227
+ search: "search";
4228
+ fallback: "fallback";
4229
+ }>>;
4230
+ createdAt: z.ZodOptional<z.ZodString>;
4231
+ }, z.core.$strip>;
4232
+ }, z.core.$strip>, z.ZodObject<{
4233
+ stageType: z.ZodLiteral<"FINAL_CONFIRMATION">;
4234
+ value: z.ZodLiteral<"READY">;
4235
+ }, z.core.$strip>], "stageType">;
4236
+ mealPlanId: z.core.$ZodBranded<z.ZodString, "MealPlanId", "out">;
4237
+ stageId: z.core.$ZodBranded<z.ZodString, "MealPlanDecisionStageId", "out">;
4238
+ guestSessionToken: z.ZodOptional<z.ZodString>;
4239
+ }, z.core.$strip>;
4240
+ declare const MealPlanDecisionVoteSocketErrorSchema: z.ZodObject<{
4241
+ code: z.ZodString;
4242
+ message: z.ZodString;
4243
+ }, z.core.$strip>;
4244
+ declare const MealPlanDecisionVoteSocketSuccessAckSchema: z.ZodObject<{
4245
+ ok: z.ZodLiteral<true>;
4246
+ mealPlan: z.ZodObject<{
4247
+ mealPlanId: z.core.$ZodBranded<z.ZodString, "MealPlanId", "out">;
4248
+ owner: z.ZodObject<{
4249
+ memberId: z.core.$ZodBranded<z.ZodNumber, "MemberId", "out">;
4250
+ username: z.ZodString;
4251
+ profileImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4252
+ }, z.core.$strip>;
4253
+ title: z.ZodNullable<z.ZodString>;
4254
+ status: z.ZodEnum<{
4255
+ COMPLETED: "COMPLETED";
4256
+ READY: "READY";
4257
+ CANCELLED: "CANCELLED";
4258
+ LOCKED: "LOCKED";
4259
+ CONFIRMED: "CONFIRMED";
4260
+ DRAFT: "DRAFT";
4261
+ RECOMMENDING: "RECOMMENDING";
4262
+ GATHERING: "GATHERING";
4263
+ DECIDING: "DECIDING";
4264
+ RECORDED: "RECORDED";
4265
+ }>;
4266
+ channels: z.ZodArray<z.ZodEnum<{
4267
+ FRIEND_INVITE: "FRIEND_INVITE";
4268
+ LINK_GUEST: "LINK_GUEST";
4269
+ NEARBY_FRIENDS: "NEARBY_FRIENDS";
4270
+ OWNER_ONLY: "OWNER_ONLY";
4271
+ }>>;
4272
+ participants: z.ZodArray<z.ZodObject<{
4273
+ participantId: z.core.$ZodBranded<z.ZodString, "MealPlanParticipantId", "out">;
4274
+ mealPlanId: z.core.$ZodBranded<z.ZodString, "MealPlanId", "out">;
4275
+ member: z.ZodNullable<z.ZodObject<{
4276
+ memberId: z.core.$ZodBranded<z.ZodNumber, "MemberId", "out">;
4277
+ username: z.ZodString;
4278
+ profileImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4279
+ }, z.core.$strip>>;
4280
+ guest: z.ZodNullable<z.ZodObject<{
4281
+ guestId: z.ZodString;
4282
+ nickname: z.ZodString;
4283
+ }, z.core.$strip>>;
4284
+ role: z.ZodEnum<{
4285
+ GUEST: "GUEST";
4286
+ OWNER: "OWNER";
4287
+ FRIEND: "FRIEND";
4288
+ }>;
4289
+ status: z.ZodEnum<{
4290
+ READY: "READY";
4291
+ INVITED: "INVITED";
4292
+ REQUESTED: "REQUESTED";
4293
+ JOINED: "JOINED";
4294
+ DECLINED: "DECLINED";
4295
+ LEFT: "LEFT";
4296
+ REMOVED: "REMOVED";
4297
+ }>;
4298
+ source: z.ZodEnum<{
4299
+ OWNER: "OWNER";
4300
+ FRIEND_INVITE: "FRIEND_INVITE";
4301
+ LINK_GUEST: "LINK_GUEST";
4302
+ NEARBY_FRIENDS: "NEARBY_FRIENDS";
4303
+ }>;
4304
+ joinedAt: z.ZodNullable<z.ZodString>;
4305
+ readyAt: z.ZodNullable<z.ZodString>;
4306
+ }, z.core.$strip>>;
4307
+ pendingInvites: z.ZodArray<z.ZodObject<{
4308
+ inviteId: z.core.$ZodBranded<z.ZodString, "MealPlanInviteId", "out">;
4309
+ mealPlanId: z.core.$ZodBranded<z.ZodString, "MealPlanId", "out">;
4310
+ inviter: z.ZodObject<{
4311
+ memberId: z.core.$ZodBranded<z.ZodNumber, "MemberId", "out">;
4312
+ username: z.ZodString;
4313
+ profileImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4314
+ }, z.core.$strip>;
4315
+ invitee: z.ZodObject<{
4316
+ memberId: z.core.$ZodBranded<z.ZodNumber, "MemberId", "out">;
4317
+ username: z.ZodString;
4318
+ profileImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4319
+ }, z.core.$strip>;
4320
+ status: z.ZodEnum<{
4321
+ PENDING: "PENDING";
4322
+ ACCEPTED: "ACCEPTED";
4323
+ CANCELLED: "CANCELLED";
4324
+ DECLINED: "DECLINED";
4325
+ EXPIRED: "EXPIRED";
4326
+ }>;
4327
+ message: z.ZodString;
4328
+ createdAt: z.ZodString;
4329
+ respondedAt: z.ZodNullable<z.ZodString>;
4330
+ }, z.core.$strip>>;
4331
+ pendingJoinRequests: z.ZodArray<z.ZodObject<{
4332
+ joinRequestId: z.core.$ZodBranded<z.ZodString, "MealPlanJoinRequestId", "out">;
4333
+ mealPlanId: z.core.$ZodBranded<z.ZodString, "MealPlanId", "out">;
4334
+ requester: z.ZodObject<{
4335
+ memberId: z.core.$ZodBranded<z.ZodNumber, "MemberId", "out">;
4336
+ username: z.ZodString;
4337
+ profileImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4338
+ }, z.core.$strip>;
4339
+ status: z.ZodEnum<{
4340
+ PENDING: "PENDING";
4341
+ ACCEPTED: "ACCEPTED";
4342
+ REJECTED: "REJECTED";
4343
+ CANCELLED: "CANCELLED";
4344
+ }>;
4345
+ message: z.ZodString;
4346
+ requestedAt: z.ZodString;
4347
+ respondedAt: z.ZodNullable<z.ZodString>;
4348
+ }, z.core.$strip>>;
4349
+ decisionStages: z.ZodArray<z.ZodObject<{
4350
+ stageId: z.core.$ZodBranded<z.ZodString, "MealPlanDecisionStageId", "out">;
4351
+ stageType: z.ZodEnum<{
4352
+ DATE: "DATE";
4353
+ TIME: "TIME";
4354
+ AREA: "AREA";
4355
+ MENU: "MENU";
4356
+ RESTAURANT: "RESTAURANT";
4357
+ FINAL_CONFIRMATION: "FINAL_CONFIRMATION";
4358
+ }>;
4359
+ status: z.ZodEnum<{
4360
+ COMPLETED: "COMPLETED";
4361
+ OPEN: "OPEN";
4362
+ REOPENED: "REOPENED";
4363
+ }>;
4364
+ candidates: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
4365
+ stageType: z.ZodLiteral<"DATE">;
4366
+ value: z.ZodString;
4367
+ }, z.core.$strip>, z.ZodObject<{
4368
+ stageType: z.ZodLiteral<"TIME">;
4369
+ value: z.ZodString;
4370
+ }, z.core.$strip>, z.ZodObject<{
4371
+ stageType: z.ZodLiteral<"AREA">;
4372
+ value: z.ZodObject<{
4373
+ locationId: z.core.$ZodBranded<z.ZodString, "MealPlanLocationCandidateId", "out">;
4374
+ placeName: z.ZodString;
4375
+ lat: z.core.$ZodBranded<z.ZodNumber, "MealPlanLatitude", "out">;
4376
+ lng: z.core.$ZodBranded<z.ZodNumber, "MealPlanLongitude", "out">;
4377
+ address: z.ZodDefault<z.ZodString>;
4378
+ source: z.ZodDefault<z.ZodEnum<{
4379
+ manual: "manual";
4380
+ "map-marker": "map-marker";
4381
+ midpoint: "midpoint";
4382
+ "user-location": "user-location";
4383
+ search: "search";
4384
+ "recent-place": "recent-place";
4385
+ fallback: "fallback";
4386
+ }>>;
4387
+ createdBy: z.ZodOptional<z.core.$ZodBranded<z.ZodNumber, "MemberId", "out">>;
4388
+ createdAt: z.ZodOptional<z.ZodString>;
4389
+ }, z.core.$strip>;
4390
+ }, z.core.$strip>, z.ZodObject<{
4391
+ stageType: z.ZodLiteral<"MENU">;
4392
+ value: z.ZodObject<{
4393
+ menuCandidateId: z.core.$ZodBranded<z.ZodString, "MealPlanMenuCandidateId", "out">;
4394
+ menu: z.ZodObject<{
4395
+ code: z.core.$ZodBranded<z.ZodString, "FoodCode", "out">;
4396
+ label: z.core.$ZodBranded<z.ZodString, "FoodLabel", "out">;
4397
+ }, z.core.$strip>;
4398
+ source: z.ZodEnum<{
4399
+ fallback: "fallback";
4400
+ "external-recommendation": "external-recommendation";
4401
+ "prefer-menu": "prefer-menu";
4402
+ "recent-menu": "recent-menu";
4403
+ "manual-search": "manual-search";
4404
+ }>;
4405
+ score: z.ZodDefault<z.ZodNumber>;
4406
+ imageUrl: z.ZodDefault<z.ZodNullable<z.ZodString>>;
4407
+ image: z.ZodDefault<z.ZodNullable<z.ZodObject<{
4408
+ src: z.ZodString;
4409
+ avifSrcset: z.ZodOptional<z.ZodString>;
4410
+ thumbhashDataURL: z.ZodOptional<z.ZodString>;
4411
+ aspectRatio: z.ZodOptional<z.ZodNumber>;
4412
+ }, z.core.$strip>>>;
4413
+ createdAt: z.ZodString;
4414
+ }, z.core.$strip>;
4415
+ }, z.core.$strip>, z.ZodObject<{
4416
+ stageType: z.ZodLiteral<"RESTAURANT">;
4417
+ value: z.ZodObject<{
4418
+ restaurantId: z.core.$ZodBranded<z.ZodString, "RestaurantId", "out">;
4419
+ placeName: z.ZodString;
4420
+ categoryName: z.ZodString;
4421
+ categoryGroupName: z.ZodString;
4422
+ distance: z.ZodOptional<z.ZodString>;
4423
+ roadAddressName: z.ZodString;
4424
+ addressName: z.ZodString;
4425
+ phone: z.ZodNullable<z.ZodString>;
4426
+ placeUrl: z.ZodNullable<z.ZodString>;
4427
+ lat: z.ZodNumber;
4428
+ lng: z.ZodNumber;
4429
+ candidateId: z.ZodOptional<z.core.$ZodBranded<z.ZodString, "RestaurantId", "out">>;
4430
+ source: z.ZodOptional<z.ZodEnum<{
4431
+ manual: "manual";
4432
+ search: "search";
4433
+ fallback: "fallback";
4434
+ }>>;
4435
+ createdAt: z.ZodOptional<z.ZodString>;
4436
+ }, z.core.$strip>;
4437
+ }, z.core.$strip>, z.ZodObject<{
4438
+ stageType: z.ZodLiteral<"FINAL_CONFIRMATION">;
4439
+ value: z.ZodLiteral<"READY">;
4440
+ }, z.core.$strip>], "stageType">>;
4441
+ votes: z.ZodArray<z.ZodObject<{
4442
+ voteId: z.core.$ZodBranded<z.ZodString, "MealPlanVoteId", "out">;
4443
+ voterId: z.ZodNullable<z.core.$ZodBranded<z.ZodNumber, "MemberId", "out">>;
4444
+ guestId: z.ZodNullable<z.ZodString>;
4445
+ voteType: z.ZodEnum<{
4446
+ READY: "READY";
4447
+ PICK: "PICK";
4448
+ EXCLUDE: "EXCLUDE";
4449
+ PREFER: "PREFER";
4450
+ }>;
4451
+ candidate: z.ZodDiscriminatedUnion<[z.ZodObject<{
4452
+ stageType: z.ZodLiteral<"DATE">;
4453
+ value: z.ZodString;
4454
+ }, z.core.$strip>, z.ZodObject<{
4455
+ stageType: z.ZodLiteral<"TIME">;
4456
+ value: z.ZodString;
4457
+ }, z.core.$strip>, z.ZodObject<{
4458
+ stageType: z.ZodLiteral<"AREA">;
4459
+ value: z.ZodObject<{
4460
+ locationId: z.core.$ZodBranded<z.ZodString, "MealPlanLocationCandidateId", "out">;
4461
+ placeName: z.ZodString;
4462
+ lat: z.core.$ZodBranded<z.ZodNumber, "MealPlanLatitude", "out">;
4463
+ lng: z.core.$ZodBranded<z.ZodNumber, "MealPlanLongitude", "out">;
4464
+ address: z.ZodDefault<z.ZodString>;
4465
+ source: z.ZodDefault<z.ZodEnum<{
4466
+ manual: "manual";
4467
+ "map-marker": "map-marker";
4468
+ midpoint: "midpoint";
4469
+ "user-location": "user-location";
4470
+ search: "search";
4471
+ "recent-place": "recent-place";
4472
+ fallback: "fallback";
4473
+ }>>;
4474
+ createdBy: z.ZodOptional<z.core.$ZodBranded<z.ZodNumber, "MemberId", "out">>;
4475
+ createdAt: z.ZodOptional<z.ZodString>;
4476
+ }, z.core.$strip>;
4477
+ }, z.core.$strip>, z.ZodObject<{
4478
+ stageType: z.ZodLiteral<"MENU">;
4479
+ value: z.ZodObject<{
4480
+ menuCandidateId: z.core.$ZodBranded<z.ZodString, "MealPlanMenuCandidateId", "out">;
4481
+ menu: z.ZodObject<{
4482
+ code: z.core.$ZodBranded<z.ZodString, "FoodCode", "out">;
4483
+ label: z.core.$ZodBranded<z.ZodString, "FoodLabel", "out">;
4484
+ }, z.core.$strip>;
4485
+ source: z.ZodEnum<{
4486
+ fallback: "fallback";
4487
+ "external-recommendation": "external-recommendation";
4488
+ "prefer-menu": "prefer-menu";
4489
+ "recent-menu": "recent-menu";
4490
+ "manual-search": "manual-search";
4491
+ }>;
4492
+ score: z.ZodDefault<z.ZodNumber>;
4493
+ imageUrl: z.ZodDefault<z.ZodNullable<z.ZodString>>;
4494
+ image: z.ZodDefault<z.ZodNullable<z.ZodObject<{
4495
+ src: z.ZodString;
4496
+ avifSrcset: z.ZodOptional<z.ZodString>;
4497
+ thumbhashDataURL: z.ZodOptional<z.ZodString>;
4498
+ aspectRatio: z.ZodOptional<z.ZodNumber>;
4499
+ }, z.core.$strip>>>;
4500
+ createdAt: z.ZodString;
4501
+ }, z.core.$strip>;
4502
+ }, z.core.$strip>, z.ZodObject<{
4503
+ stageType: z.ZodLiteral<"RESTAURANT">;
4504
+ value: z.ZodObject<{
4505
+ restaurantId: z.core.$ZodBranded<z.ZodString, "RestaurantId", "out">;
4506
+ placeName: z.ZodString;
4507
+ categoryName: z.ZodString;
4508
+ categoryGroupName: z.ZodString;
4509
+ distance: z.ZodOptional<z.ZodString>;
4510
+ roadAddressName: z.ZodString;
4511
+ addressName: z.ZodString;
4512
+ phone: z.ZodNullable<z.ZodString>;
4513
+ placeUrl: z.ZodNullable<z.ZodString>;
4514
+ lat: z.ZodNumber;
4515
+ lng: z.ZodNumber;
4516
+ candidateId: z.ZodOptional<z.core.$ZodBranded<z.ZodString, "RestaurantId", "out">>;
4517
+ source: z.ZodOptional<z.ZodEnum<{
4518
+ manual: "manual";
4519
+ search: "search";
4520
+ fallback: "fallback";
4521
+ }>>;
4522
+ createdAt: z.ZodOptional<z.ZodString>;
4523
+ }, z.core.$strip>;
4524
+ }, z.core.$strip>, z.ZodObject<{
4525
+ stageType: z.ZodLiteral<"FINAL_CONFIRMATION">;
4526
+ value: z.ZodLiteral<"READY">;
4527
+ }, z.core.$strip>], "stageType">;
4528
+ createdAt: z.ZodString;
4529
+ }, z.core.$strip>>;
4530
+ selectedCandidate: z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
4531
+ stageType: z.ZodLiteral<"DATE">;
4532
+ value: z.ZodString;
4533
+ }, z.core.$strip>, z.ZodObject<{
4534
+ stageType: z.ZodLiteral<"TIME">;
4535
+ value: z.ZodString;
4536
+ }, z.core.$strip>, z.ZodObject<{
4537
+ stageType: z.ZodLiteral<"AREA">;
4538
+ value: z.ZodObject<{
4539
+ locationId: z.core.$ZodBranded<z.ZodString, "MealPlanLocationCandidateId", "out">;
4540
+ placeName: z.ZodString;
4541
+ lat: z.core.$ZodBranded<z.ZodNumber, "MealPlanLatitude", "out">;
4542
+ lng: z.core.$ZodBranded<z.ZodNumber, "MealPlanLongitude", "out">;
4543
+ address: z.ZodDefault<z.ZodString>;
4544
+ source: z.ZodDefault<z.ZodEnum<{
4545
+ manual: "manual";
4546
+ "map-marker": "map-marker";
4547
+ midpoint: "midpoint";
4548
+ "user-location": "user-location";
4549
+ search: "search";
4550
+ "recent-place": "recent-place";
4551
+ fallback: "fallback";
4552
+ }>>;
4553
+ createdBy: z.ZodOptional<z.core.$ZodBranded<z.ZodNumber, "MemberId", "out">>;
4554
+ createdAt: z.ZodOptional<z.ZodString>;
4555
+ }, z.core.$strip>;
4556
+ }, z.core.$strip>, z.ZodObject<{
4557
+ stageType: z.ZodLiteral<"MENU">;
4558
+ value: z.ZodObject<{
4559
+ menuCandidateId: z.core.$ZodBranded<z.ZodString, "MealPlanMenuCandidateId", "out">;
4560
+ menu: z.ZodObject<{
4561
+ code: z.core.$ZodBranded<z.ZodString, "FoodCode", "out">;
4562
+ label: z.core.$ZodBranded<z.ZodString, "FoodLabel", "out">;
4563
+ }, z.core.$strip>;
4564
+ source: z.ZodEnum<{
4565
+ fallback: "fallback";
4566
+ "external-recommendation": "external-recommendation";
4567
+ "prefer-menu": "prefer-menu";
4568
+ "recent-menu": "recent-menu";
4569
+ "manual-search": "manual-search";
4570
+ }>;
4571
+ score: z.ZodDefault<z.ZodNumber>;
4572
+ imageUrl: z.ZodDefault<z.ZodNullable<z.ZodString>>;
4573
+ image: z.ZodDefault<z.ZodNullable<z.ZodObject<{
4574
+ src: z.ZodString;
4575
+ avifSrcset: z.ZodOptional<z.ZodString>;
4576
+ thumbhashDataURL: z.ZodOptional<z.ZodString>;
4577
+ aspectRatio: z.ZodOptional<z.ZodNumber>;
4578
+ }, z.core.$strip>>>;
4579
+ createdAt: z.ZodString;
4580
+ }, z.core.$strip>;
4581
+ }, z.core.$strip>, z.ZodObject<{
4582
+ stageType: z.ZodLiteral<"RESTAURANT">;
4583
+ value: z.ZodObject<{
4584
+ restaurantId: z.core.$ZodBranded<z.ZodString, "RestaurantId", "out">;
4585
+ placeName: z.ZodString;
4586
+ categoryName: z.ZodString;
4587
+ categoryGroupName: z.ZodString;
4588
+ distance: z.ZodOptional<z.ZodString>;
4589
+ roadAddressName: z.ZodString;
4590
+ addressName: z.ZodString;
4591
+ phone: z.ZodNullable<z.ZodString>;
4592
+ placeUrl: z.ZodNullable<z.ZodString>;
4593
+ lat: z.ZodNumber;
4594
+ lng: z.ZodNumber;
4595
+ candidateId: z.ZodOptional<z.core.$ZodBranded<z.ZodString, "RestaurantId", "out">>;
4596
+ source: z.ZodOptional<z.ZodEnum<{
4597
+ manual: "manual";
4598
+ search: "search";
4599
+ fallback: "fallback";
4600
+ }>>;
4601
+ createdAt: z.ZodOptional<z.ZodString>;
4602
+ }, z.core.$strip>;
4603
+ }, z.core.$strip>, z.ZodObject<{
4604
+ stageType: z.ZodLiteral<"FINAL_CONFIRMATION">;
4605
+ value: z.ZodLiteral<"READY">;
4606
+ }, z.core.$strip>], "stageType">>;
4607
+ metadata: z.ZodDefault<z.ZodNullable<z.ZodObject<{
4608
+ restaurantSearch: z.ZodOptional<z.ZodObject<{
4609
+ searchKey: z.ZodNullable<z.ZodString>;
4610
+ status: z.ZodEnum<{
4611
+ PENDING: "PENDING";
4612
+ IDLE: "IDLE";
4613
+ READY: "READY";
4614
+ FAILED: "FAILED";
4615
+ STALE: "STALE";
4616
+ }>;
4617
+ startedAt: z.ZodNullable<z.ZodString>;
4618
+ completedAt: z.ZodNullable<z.ZodString>;
4619
+ version: z.ZodNumber;
4620
+ candidateCount: z.ZodNumber;
4621
+ errorMessage: z.ZodDefault<z.ZodNullable<z.ZodString>>;
4622
+ }, z.core.$strip>>;
4623
+ }, z.core.$catchall<z.ZodUnknown>>>>;
4624
+ openedAt: z.ZodString;
4625
+ completedAt: z.ZodNullable<z.ZodString>;
4626
+ reopenedAt: z.ZodNullable<z.ZodString>;
4627
+ }, z.core.$strip>>;
4628
+ decisionProgress: z.ZodNullable<z.ZodObject<{
4629
+ mealPlanId: z.ZodString;
4630
+ status: z.ZodString;
4631
+ tasks: z.ZodArray<z.ZodObject<{
4632
+ taskKey: z.ZodEnum<{
4633
+ FINAL_CONFIRMATION: "FINAL_CONFIRMATION";
4634
+ SCHEDULE_DATE: "SCHEDULE_DATE";
4635
+ SCHEDULE_TIME: "SCHEDULE_TIME";
4636
+ LOCATION_CANDIDATE: "LOCATION_CANDIDATE";
4637
+ LOCATION_VOTE: "LOCATION_VOTE";
4638
+ EXCLUDE_MENU: "EXCLUDE_MENU";
4639
+ PREFER_MENU: "PREFER_MENU";
4640
+ MENU_PICK: "MENU_PICK";
4641
+ RESTAURANT_SEARCH: "RESTAURANT_SEARCH";
4642
+ RESTAURANT_PICK: "RESTAURANT_PICK";
4643
+ }>;
4644
+ status: z.ZodEnum<{
4645
+ OPEN: "OPEN";
4646
+ STALE: "STALE";
4647
+ LOCKED: "LOCKED";
4648
+ RESOLVED: "RESOLVED";
4649
+ }>;
4650
+ blockers: z.ZodDefault<z.ZodArray<z.ZodString>>;
4651
+ updatedAt: z.ZodString;
4652
+ }, z.core.$strip>>;
4653
+ final: z.ZodRecord<z.ZodString, z.ZodUnknown>;
4654
+ provisional: z.ZodRecord<z.ZodString, z.ZodUnknown>;
4655
+ snapshots: z.ZodArray<z.ZodObject<{
4656
+ snapshotId: z.ZodString;
4657
+ mealPlanId: z.ZodString;
4658
+ field: z.ZodEnum<{
4659
+ date: "date";
4660
+ restaurant: "restaurant";
4661
+ menu: "menu";
4662
+ time: "time";
4663
+ meetingAt: "meetingAt";
4664
+ area: "area";
4665
+ }>;
4666
+ value: z.ZodUnknown;
4667
+ status: z.ZodEnum<{
4668
+ STALE: "STALE";
4669
+ CANDIDATE: "CANDIDATE";
4670
+ PROVISIONAL: "PROVISIONAL";
4671
+ FINAL: "FINAL";
4672
+ }>;
4673
+ reason: z.ZodEnum<{
4674
+ COMMON_SCHEDULE: "COMMON_SCHEDULE";
4675
+ TOP_VOTED_LOCATION: "TOP_VOTED_LOCATION";
4676
+ TOP_PICKED_MENU: "TOP_PICKED_MENU";
4677
+ TOP_PICKED_RESTAURANT: "TOP_PICKED_RESTAURANT";
4678
+ OWNER_CONFIRMED: "OWNER_CONFIRMED";
4679
+ MANUAL_SELECTION: "MANUAL_SELECTION";
4680
+ }>;
4681
+ score: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
4682
+ sourceEvent: z.ZodString;
4683
+ sourceActorType: z.ZodEnum<{
4684
+ MEMBER: "MEMBER";
4685
+ GUEST: "GUEST";
4686
+ SYSTEM: "SYSTEM";
4687
+ }>;
4688
+ sourceMemberId: z.ZodNullable<z.core.$ZodBranded<z.ZodNumber, "MemberId", "out">>;
4689
+ sourceGuestId: z.ZodNullable<z.ZodString>;
4690
+ sourceParticipantId: z.ZodNullable<z.ZodString>;
4691
+ sourceVersion: z.ZodNumber;
4692
+ dependencyHash: z.ZodString;
4693
+ dependencyFields: z.ZodArray<z.ZodEnum<{
4694
+ date: "date";
4695
+ restaurant: "restaurant";
4696
+ menu: "menu";
4697
+ time: "time";
4698
+ meetingAt: "meetingAt";
4699
+ area: "area";
4700
+ }>>;
4701
+ createdAt: z.ZodString;
4702
+ staleAt: z.ZodNullable<z.ZodString>;
4703
+ }, z.core.$strip>>;
4704
+ version: z.ZodNumber;
4705
+ updatedAt: z.ZodString;
4706
+ }, z.core.$strip>>;
4707
+ viewerRole: z.ZodEnum<{
4708
+ GUEST: "GUEST";
4709
+ OWNER: "OWNER";
4710
+ FRIEND: "FRIEND";
4711
+ NONE: "NONE";
4712
+ }>;
4713
+ viewerParticipantStatus: z.ZodNullable<z.ZodEnum<{
4714
+ READY: "READY";
4715
+ INVITED: "INVITED";
4716
+ REQUESTED: "REQUESTED";
4717
+ JOINED: "JOINED";
4718
+ DECLINED: "DECLINED";
4719
+ LEFT: "LEFT";
4720
+ REMOVED: "REMOVED";
4721
+ }>>;
4722
+ viewerPermissions: z.ZodObject<{
4723
+ canView: z.ZodBoolean;
4724
+ canInviteFriends: z.ZodBoolean;
4725
+ canManageParticipants: z.ZodBoolean;
4726
+ canCreateShareLink: z.ZodBoolean;
4727
+ canExposeNearbyFriends: z.ZodBoolean;
4728
+ canVote: z.ZodBoolean;
4729
+ canChat: z.ZodBoolean;
4730
+ canReadyMealPlan: z.ZodBoolean;
4731
+ canRequestChange: z.ZodBoolean;
4732
+ canReopenDecisionTask: z.ZodBoolean;
4733
+ canConfirmDecisionSnapshot: z.ZodBoolean;
4734
+ canConfirmMealPlan: z.ZodBoolean;
4735
+ canCompleteMealPlan: z.ZodBoolean;
4736
+ canRecordMealPlan: z.ZodBoolean;
4737
+ canCancelMealPlan: z.ZodBoolean;
4738
+ }, z.core.$strip>;
4739
+ selectedDate: z.ZodNullable<z.ZodString>;
4740
+ selectedTime: z.ZodNullable<z.ZodString>;
4741
+ selectedArea: z.ZodNullable<z.ZodObject<{
4742
+ locationId: z.core.$ZodBranded<z.ZodString, "MealPlanLocationCandidateId", "out">;
4743
+ placeName: z.ZodString;
4744
+ lat: z.core.$ZodBranded<z.ZodNumber, "MealPlanLatitude", "out">;
4745
+ lng: z.core.$ZodBranded<z.ZodNumber, "MealPlanLongitude", "out">;
4746
+ address: z.ZodDefault<z.ZodString>;
4747
+ source: z.ZodDefault<z.ZodEnum<{
4748
+ manual: "manual";
4749
+ "map-marker": "map-marker";
4750
+ midpoint: "midpoint";
4751
+ "user-location": "user-location";
4752
+ search: "search";
4753
+ "recent-place": "recent-place";
4754
+ fallback: "fallback";
4755
+ }>>;
4756
+ createdBy: z.ZodOptional<z.core.$ZodBranded<z.ZodNumber, "MemberId", "out">>;
4757
+ createdAt: z.ZodOptional<z.ZodString>;
4758
+ }, z.core.$strip>>;
4759
+ selectedRestaurant: z.ZodNullable<z.ZodObject<{
4760
+ restaurantId: z.core.$ZodBranded<z.ZodString, "RestaurantId", "out">;
4761
+ placeName: z.ZodString;
4762
+ categoryName: z.ZodString;
4763
+ categoryGroupName: z.ZodString;
4764
+ distance: z.ZodOptional<z.ZodString>;
4765
+ roadAddressName: z.ZodString;
4766
+ addressName: z.ZodString;
4767
+ phone: z.ZodNullable<z.ZodString>;
4768
+ placeUrl: z.ZodNullable<z.ZodString>;
4769
+ lat: z.ZodNumber;
4770
+ lng: z.ZodNumber;
4771
+ }, z.core.$strip>>;
4772
+ selectedMenuCategory: z.ZodNullable<z.ZodString>;
4773
+ chatRoom: z.ZodNullable<z.ZodObject<{
4774
+ chatRoomId: z.core.$ZodBranded<z.ZodString, "MealPlanChatRoomId", "out">;
4775
+ mealPlanId: z.core.$ZodBranded<z.ZodString, "MealPlanId", "out">;
4776
+ messageCount: z.ZodNumber;
4777
+ lastMessageAt: z.ZodNullable<z.ZodString>;
4778
+ createdAt: z.ZodString;
4779
+ }, z.core.$strip>>;
4780
+ confirmedAt: z.ZodNullable<z.ZodString>;
4781
+ lockedAt: z.ZodNullable<z.ZodString>;
4782
+ completedAt: z.ZodNullable<z.ZodString>;
4783
+ recordedAt: z.ZodNullable<z.ZodString>;
4784
+ createdAt: z.ZodString;
4785
+ updatedAt: z.ZodString;
4786
+ }, z.core.$strip>;
4787
+ }, z.core.$strip>;
4788
+ declare const MealPlanDecisionVoteSocketFailureAckSchema: z.ZodObject<{
4789
+ ok: z.ZodLiteral<false>;
4790
+ error: z.ZodObject<{
4791
+ code: z.ZodString;
4792
+ message: z.ZodString;
4793
+ }, z.core.$strip>;
4794
+ }, z.core.$strip>;
4795
+ /** Socket.IO acknowledgement returned to the command originator. */
4796
+ declare const MealPlanDecisionVoteSocketAckSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
4797
+ ok: z.ZodLiteral<true>;
4798
+ mealPlan: z.ZodObject<{
4799
+ mealPlanId: z.core.$ZodBranded<z.ZodString, "MealPlanId", "out">;
4800
+ owner: z.ZodObject<{
4801
+ memberId: z.core.$ZodBranded<z.ZodNumber, "MemberId", "out">;
4802
+ username: z.ZodString;
4803
+ profileImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4804
+ }, z.core.$strip>;
4805
+ title: z.ZodNullable<z.ZodString>;
4806
+ status: z.ZodEnum<{
4807
+ COMPLETED: "COMPLETED";
4808
+ READY: "READY";
4809
+ CANCELLED: "CANCELLED";
4810
+ LOCKED: "LOCKED";
4811
+ CONFIRMED: "CONFIRMED";
4812
+ DRAFT: "DRAFT";
4813
+ RECOMMENDING: "RECOMMENDING";
4814
+ GATHERING: "GATHERING";
4815
+ DECIDING: "DECIDING";
4816
+ RECORDED: "RECORDED";
4817
+ }>;
4818
+ channels: z.ZodArray<z.ZodEnum<{
4819
+ FRIEND_INVITE: "FRIEND_INVITE";
4820
+ LINK_GUEST: "LINK_GUEST";
4821
+ NEARBY_FRIENDS: "NEARBY_FRIENDS";
4822
+ OWNER_ONLY: "OWNER_ONLY";
4823
+ }>>;
4824
+ participants: z.ZodArray<z.ZodObject<{
4825
+ participantId: z.core.$ZodBranded<z.ZodString, "MealPlanParticipantId", "out">;
4826
+ mealPlanId: z.core.$ZodBranded<z.ZodString, "MealPlanId", "out">;
4827
+ member: z.ZodNullable<z.ZodObject<{
4828
+ memberId: z.core.$ZodBranded<z.ZodNumber, "MemberId", "out">;
4829
+ username: z.ZodString;
4830
+ profileImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4831
+ }, z.core.$strip>>;
4832
+ guest: z.ZodNullable<z.ZodObject<{
4833
+ guestId: z.ZodString;
4834
+ nickname: z.ZodString;
4835
+ }, z.core.$strip>>;
4836
+ role: z.ZodEnum<{
4837
+ GUEST: "GUEST";
4838
+ OWNER: "OWNER";
4839
+ FRIEND: "FRIEND";
4840
+ }>;
4841
+ status: z.ZodEnum<{
4842
+ READY: "READY";
4843
+ INVITED: "INVITED";
4844
+ REQUESTED: "REQUESTED";
4845
+ JOINED: "JOINED";
4846
+ DECLINED: "DECLINED";
4847
+ LEFT: "LEFT";
4848
+ REMOVED: "REMOVED";
4849
+ }>;
4850
+ source: z.ZodEnum<{
4851
+ OWNER: "OWNER";
4852
+ FRIEND_INVITE: "FRIEND_INVITE";
4853
+ LINK_GUEST: "LINK_GUEST";
4854
+ NEARBY_FRIENDS: "NEARBY_FRIENDS";
4855
+ }>;
4856
+ joinedAt: z.ZodNullable<z.ZodString>;
4857
+ readyAt: z.ZodNullable<z.ZodString>;
4858
+ }, z.core.$strip>>;
4859
+ pendingInvites: z.ZodArray<z.ZodObject<{
4860
+ inviteId: z.core.$ZodBranded<z.ZodString, "MealPlanInviteId", "out">;
4861
+ mealPlanId: z.core.$ZodBranded<z.ZodString, "MealPlanId", "out">;
4862
+ inviter: z.ZodObject<{
4863
+ memberId: z.core.$ZodBranded<z.ZodNumber, "MemberId", "out">;
4864
+ username: z.ZodString;
4865
+ profileImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4866
+ }, z.core.$strip>;
4867
+ invitee: z.ZodObject<{
4868
+ memberId: z.core.$ZodBranded<z.ZodNumber, "MemberId", "out">;
4869
+ username: z.ZodString;
4870
+ profileImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4871
+ }, z.core.$strip>;
4872
+ status: z.ZodEnum<{
4873
+ PENDING: "PENDING";
4874
+ ACCEPTED: "ACCEPTED";
4875
+ CANCELLED: "CANCELLED";
4876
+ DECLINED: "DECLINED";
4877
+ EXPIRED: "EXPIRED";
4878
+ }>;
4879
+ message: z.ZodString;
4880
+ createdAt: z.ZodString;
4881
+ respondedAt: z.ZodNullable<z.ZodString>;
4882
+ }, z.core.$strip>>;
4883
+ pendingJoinRequests: z.ZodArray<z.ZodObject<{
4884
+ joinRequestId: z.core.$ZodBranded<z.ZodString, "MealPlanJoinRequestId", "out">;
4885
+ mealPlanId: z.core.$ZodBranded<z.ZodString, "MealPlanId", "out">;
4886
+ requester: z.ZodObject<{
4887
+ memberId: z.core.$ZodBranded<z.ZodNumber, "MemberId", "out">;
4888
+ username: z.ZodString;
4889
+ profileImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4890
+ }, z.core.$strip>;
4891
+ status: z.ZodEnum<{
4892
+ PENDING: "PENDING";
4893
+ ACCEPTED: "ACCEPTED";
4894
+ REJECTED: "REJECTED";
4895
+ CANCELLED: "CANCELLED";
4896
+ }>;
4897
+ message: z.ZodString;
4898
+ requestedAt: z.ZodString;
4899
+ respondedAt: z.ZodNullable<z.ZodString>;
4900
+ }, z.core.$strip>>;
4901
+ decisionStages: z.ZodArray<z.ZodObject<{
4902
+ stageId: z.core.$ZodBranded<z.ZodString, "MealPlanDecisionStageId", "out">;
4903
+ stageType: z.ZodEnum<{
4904
+ DATE: "DATE";
4905
+ TIME: "TIME";
4906
+ AREA: "AREA";
4907
+ MENU: "MENU";
4908
+ RESTAURANT: "RESTAURANT";
4909
+ FINAL_CONFIRMATION: "FINAL_CONFIRMATION";
4910
+ }>;
4911
+ status: z.ZodEnum<{
4912
+ COMPLETED: "COMPLETED";
4913
+ OPEN: "OPEN";
4914
+ REOPENED: "REOPENED";
4915
+ }>;
4916
+ candidates: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
4917
+ stageType: z.ZodLiteral<"DATE">;
4918
+ value: z.ZodString;
4919
+ }, z.core.$strip>, z.ZodObject<{
4920
+ stageType: z.ZodLiteral<"TIME">;
4921
+ value: z.ZodString;
4922
+ }, z.core.$strip>, z.ZodObject<{
4923
+ stageType: z.ZodLiteral<"AREA">;
4924
+ value: z.ZodObject<{
4925
+ locationId: z.core.$ZodBranded<z.ZodString, "MealPlanLocationCandidateId", "out">;
4926
+ placeName: z.ZodString;
4927
+ lat: z.core.$ZodBranded<z.ZodNumber, "MealPlanLatitude", "out">;
4928
+ lng: z.core.$ZodBranded<z.ZodNumber, "MealPlanLongitude", "out">;
4929
+ address: z.ZodDefault<z.ZodString>;
4930
+ source: z.ZodDefault<z.ZodEnum<{
4931
+ manual: "manual";
4932
+ "map-marker": "map-marker";
4933
+ midpoint: "midpoint";
4934
+ "user-location": "user-location";
4935
+ search: "search";
4936
+ "recent-place": "recent-place";
4937
+ fallback: "fallback";
4938
+ }>>;
4939
+ createdBy: z.ZodOptional<z.core.$ZodBranded<z.ZodNumber, "MemberId", "out">>;
4940
+ createdAt: z.ZodOptional<z.ZodString>;
4941
+ }, z.core.$strip>;
4942
+ }, z.core.$strip>, z.ZodObject<{
4943
+ stageType: z.ZodLiteral<"MENU">;
4944
+ value: z.ZodObject<{
4945
+ menuCandidateId: z.core.$ZodBranded<z.ZodString, "MealPlanMenuCandidateId", "out">;
4946
+ menu: z.ZodObject<{
4947
+ code: z.core.$ZodBranded<z.ZodString, "FoodCode", "out">;
4948
+ label: z.core.$ZodBranded<z.ZodString, "FoodLabel", "out">;
4949
+ }, z.core.$strip>;
4950
+ source: z.ZodEnum<{
4951
+ fallback: "fallback";
4952
+ "external-recommendation": "external-recommendation";
4953
+ "prefer-menu": "prefer-menu";
4954
+ "recent-menu": "recent-menu";
4955
+ "manual-search": "manual-search";
4956
+ }>;
4957
+ score: z.ZodDefault<z.ZodNumber>;
4958
+ imageUrl: z.ZodDefault<z.ZodNullable<z.ZodString>>;
4959
+ image: z.ZodDefault<z.ZodNullable<z.ZodObject<{
4960
+ src: z.ZodString;
4961
+ avifSrcset: z.ZodOptional<z.ZodString>;
4962
+ thumbhashDataURL: z.ZodOptional<z.ZodString>;
4963
+ aspectRatio: z.ZodOptional<z.ZodNumber>;
4964
+ }, z.core.$strip>>>;
4965
+ createdAt: z.ZodString;
4966
+ }, z.core.$strip>;
4967
+ }, z.core.$strip>, z.ZodObject<{
4968
+ stageType: z.ZodLiteral<"RESTAURANT">;
4969
+ value: z.ZodObject<{
4970
+ restaurantId: z.core.$ZodBranded<z.ZodString, "RestaurantId", "out">;
4971
+ placeName: z.ZodString;
4972
+ categoryName: z.ZodString;
4973
+ categoryGroupName: z.ZodString;
4974
+ distance: z.ZodOptional<z.ZodString>;
4975
+ roadAddressName: z.ZodString;
4976
+ addressName: z.ZodString;
4977
+ phone: z.ZodNullable<z.ZodString>;
4978
+ placeUrl: z.ZodNullable<z.ZodString>;
4979
+ lat: z.ZodNumber;
4980
+ lng: z.ZodNumber;
4981
+ candidateId: z.ZodOptional<z.core.$ZodBranded<z.ZodString, "RestaurantId", "out">>;
4982
+ source: z.ZodOptional<z.ZodEnum<{
4983
+ manual: "manual";
4984
+ search: "search";
4985
+ fallback: "fallback";
4986
+ }>>;
4987
+ createdAt: z.ZodOptional<z.ZodString>;
4988
+ }, z.core.$strip>;
4989
+ }, z.core.$strip>, z.ZodObject<{
4990
+ stageType: z.ZodLiteral<"FINAL_CONFIRMATION">;
4991
+ value: z.ZodLiteral<"READY">;
4992
+ }, z.core.$strip>], "stageType">>;
4993
+ votes: z.ZodArray<z.ZodObject<{
4994
+ voteId: z.core.$ZodBranded<z.ZodString, "MealPlanVoteId", "out">;
4995
+ voterId: z.ZodNullable<z.core.$ZodBranded<z.ZodNumber, "MemberId", "out">>;
4996
+ guestId: z.ZodNullable<z.ZodString>;
4997
+ voteType: z.ZodEnum<{
4998
+ READY: "READY";
4999
+ PICK: "PICK";
5000
+ EXCLUDE: "EXCLUDE";
5001
+ PREFER: "PREFER";
5002
+ }>;
5003
+ candidate: z.ZodDiscriminatedUnion<[z.ZodObject<{
5004
+ stageType: z.ZodLiteral<"DATE">;
5005
+ value: z.ZodString;
5006
+ }, z.core.$strip>, z.ZodObject<{
5007
+ stageType: z.ZodLiteral<"TIME">;
5008
+ value: z.ZodString;
5009
+ }, z.core.$strip>, z.ZodObject<{
5010
+ stageType: z.ZodLiteral<"AREA">;
5011
+ value: z.ZodObject<{
5012
+ locationId: z.core.$ZodBranded<z.ZodString, "MealPlanLocationCandidateId", "out">;
5013
+ placeName: z.ZodString;
5014
+ lat: z.core.$ZodBranded<z.ZodNumber, "MealPlanLatitude", "out">;
5015
+ lng: z.core.$ZodBranded<z.ZodNumber, "MealPlanLongitude", "out">;
5016
+ address: z.ZodDefault<z.ZodString>;
5017
+ source: z.ZodDefault<z.ZodEnum<{
5018
+ manual: "manual";
5019
+ "map-marker": "map-marker";
5020
+ midpoint: "midpoint";
5021
+ "user-location": "user-location";
5022
+ search: "search";
5023
+ "recent-place": "recent-place";
5024
+ fallback: "fallback";
5025
+ }>>;
5026
+ createdBy: z.ZodOptional<z.core.$ZodBranded<z.ZodNumber, "MemberId", "out">>;
5027
+ createdAt: z.ZodOptional<z.ZodString>;
5028
+ }, z.core.$strip>;
5029
+ }, z.core.$strip>, z.ZodObject<{
5030
+ stageType: z.ZodLiteral<"MENU">;
5031
+ value: z.ZodObject<{
5032
+ menuCandidateId: z.core.$ZodBranded<z.ZodString, "MealPlanMenuCandidateId", "out">;
5033
+ menu: z.ZodObject<{
5034
+ code: z.core.$ZodBranded<z.ZodString, "FoodCode", "out">;
5035
+ label: z.core.$ZodBranded<z.ZodString, "FoodLabel", "out">;
5036
+ }, z.core.$strip>;
5037
+ source: z.ZodEnum<{
5038
+ fallback: "fallback";
5039
+ "external-recommendation": "external-recommendation";
5040
+ "prefer-menu": "prefer-menu";
5041
+ "recent-menu": "recent-menu";
5042
+ "manual-search": "manual-search";
5043
+ }>;
5044
+ score: z.ZodDefault<z.ZodNumber>;
5045
+ imageUrl: z.ZodDefault<z.ZodNullable<z.ZodString>>;
5046
+ image: z.ZodDefault<z.ZodNullable<z.ZodObject<{
5047
+ src: z.ZodString;
5048
+ avifSrcset: z.ZodOptional<z.ZodString>;
5049
+ thumbhashDataURL: z.ZodOptional<z.ZodString>;
5050
+ aspectRatio: z.ZodOptional<z.ZodNumber>;
5051
+ }, z.core.$strip>>>;
5052
+ createdAt: z.ZodString;
5053
+ }, z.core.$strip>;
5054
+ }, z.core.$strip>, z.ZodObject<{
5055
+ stageType: z.ZodLiteral<"RESTAURANT">;
5056
+ value: z.ZodObject<{
5057
+ restaurantId: z.core.$ZodBranded<z.ZodString, "RestaurantId", "out">;
5058
+ placeName: z.ZodString;
5059
+ categoryName: z.ZodString;
5060
+ categoryGroupName: z.ZodString;
5061
+ distance: z.ZodOptional<z.ZodString>;
5062
+ roadAddressName: z.ZodString;
5063
+ addressName: z.ZodString;
5064
+ phone: z.ZodNullable<z.ZodString>;
5065
+ placeUrl: z.ZodNullable<z.ZodString>;
5066
+ lat: z.ZodNumber;
5067
+ lng: z.ZodNumber;
5068
+ candidateId: z.ZodOptional<z.core.$ZodBranded<z.ZodString, "RestaurantId", "out">>;
5069
+ source: z.ZodOptional<z.ZodEnum<{
5070
+ manual: "manual";
5071
+ search: "search";
5072
+ fallback: "fallback";
5073
+ }>>;
5074
+ createdAt: z.ZodOptional<z.ZodString>;
5075
+ }, z.core.$strip>;
5076
+ }, z.core.$strip>, z.ZodObject<{
5077
+ stageType: z.ZodLiteral<"FINAL_CONFIRMATION">;
5078
+ value: z.ZodLiteral<"READY">;
5079
+ }, z.core.$strip>], "stageType">;
5080
+ createdAt: z.ZodString;
5081
+ }, z.core.$strip>>;
5082
+ selectedCandidate: z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
5083
+ stageType: z.ZodLiteral<"DATE">;
5084
+ value: z.ZodString;
5085
+ }, z.core.$strip>, z.ZodObject<{
5086
+ stageType: z.ZodLiteral<"TIME">;
5087
+ value: z.ZodString;
5088
+ }, z.core.$strip>, z.ZodObject<{
5089
+ stageType: z.ZodLiteral<"AREA">;
5090
+ value: z.ZodObject<{
5091
+ locationId: z.core.$ZodBranded<z.ZodString, "MealPlanLocationCandidateId", "out">;
5092
+ placeName: z.ZodString;
5093
+ lat: z.core.$ZodBranded<z.ZodNumber, "MealPlanLatitude", "out">;
5094
+ lng: z.core.$ZodBranded<z.ZodNumber, "MealPlanLongitude", "out">;
5095
+ address: z.ZodDefault<z.ZodString>;
5096
+ source: z.ZodDefault<z.ZodEnum<{
5097
+ manual: "manual";
5098
+ "map-marker": "map-marker";
5099
+ midpoint: "midpoint";
5100
+ "user-location": "user-location";
5101
+ search: "search";
5102
+ "recent-place": "recent-place";
5103
+ fallback: "fallback";
5104
+ }>>;
5105
+ createdBy: z.ZodOptional<z.core.$ZodBranded<z.ZodNumber, "MemberId", "out">>;
5106
+ createdAt: z.ZodOptional<z.ZodString>;
5107
+ }, z.core.$strip>;
5108
+ }, z.core.$strip>, z.ZodObject<{
5109
+ stageType: z.ZodLiteral<"MENU">;
5110
+ value: z.ZodObject<{
5111
+ menuCandidateId: z.core.$ZodBranded<z.ZodString, "MealPlanMenuCandidateId", "out">;
5112
+ menu: z.ZodObject<{
5113
+ code: z.core.$ZodBranded<z.ZodString, "FoodCode", "out">;
5114
+ label: z.core.$ZodBranded<z.ZodString, "FoodLabel", "out">;
5115
+ }, z.core.$strip>;
5116
+ source: z.ZodEnum<{
5117
+ fallback: "fallback";
5118
+ "external-recommendation": "external-recommendation";
5119
+ "prefer-menu": "prefer-menu";
5120
+ "recent-menu": "recent-menu";
5121
+ "manual-search": "manual-search";
5122
+ }>;
5123
+ score: z.ZodDefault<z.ZodNumber>;
5124
+ imageUrl: z.ZodDefault<z.ZodNullable<z.ZodString>>;
5125
+ image: z.ZodDefault<z.ZodNullable<z.ZodObject<{
5126
+ src: z.ZodString;
5127
+ avifSrcset: z.ZodOptional<z.ZodString>;
5128
+ thumbhashDataURL: z.ZodOptional<z.ZodString>;
5129
+ aspectRatio: z.ZodOptional<z.ZodNumber>;
5130
+ }, z.core.$strip>>>;
5131
+ createdAt: z.ZodString;
5132
+ }, z.core.$strip>;
5133
+ }, z.core.$strip>, z.ZodObject<{
5134
+ stageType: z.ZodLiteral<"RESTAURANT">;
5135
+ value: z.ZodObject<{
5136
+ restaurantId: z.core.$ZodBranded<z.ZodString, "RestaurantId", "out">;
5137
+ placeName: z.ZodString;
5138
+ categoryName: z.ZodString;
5139
+ categoryGroupName: z.ZodString;
5140
+ distance: z.ZodOptional<z.ZodString>;
5141
+ roadAddressName: z.ZodString;
5142
+ addressName: z.ZodString;
5143
+ phone: z.ZodNullable<z.ZodString>;
5144
+ placeUrl: z.ZodNullable<z.ZodString>;
5145
+ lat: z.ZodNumber;
5146
+ lng: z.ZodNumber;
5147
+ candidateId: z.ZodOptional<z.core.$ZodBranded<z.ZodString, "RestaurantId", "out">>;
5148
+ source: z.ZodOptional<z.ZodEnum<{
5149
+ manual: "manual";
5150
+ search: "search";
5151
+ fallback: "fallback";
5152
+ }>>;
5153
+ createdAt: z.ZodOptional<z.ZodString>;
5154
+ }, z.core.$strip>;
5155
+ }, z.core.$strip>, z.ZodObject<{
5156
+ stageType: z.ZodLiteral<"FINAL_CONFIRMATION">;
5157
+ value: z.ZodLiteral<"READY">;
5158
+ }, z.core.$strip>], "stageType">>;
5159
+ metadata: z.ZodDefault<z.ZodNullable<z.ZodObject<{
5160
+ restaurantSearch: z.ZodOptional<z.ZodObject<{
5161
+ searchKey: z.ZodNullable<z.ZodString>;
5162
+ status: z.ZodEnum<{
5163
+ PENDING: "PENDING";
5164
+ IDLE: "IDLE";
5165
+ READY: "READY";
5166
+ FAILED: "FAILED";
5167
+ STALE: "STALE";
5168
+ }>;
5169
+ startedAt: z.ZodNullable<z.ZodString>;
5170
+ completedAt: z.ZodNullable<z.ZodString>;
5171
+ version: z.ZodNumber;
5172
+ candidateCount: z.ZodNumber;
5173
+ errorMessage: z.ZodDefault<z.ZodNullable<z.ZodString>>;
5174
+ }, z.core.$strip>>;
5175
+ }, z.core.$catchall<z.ZodUnknown>>>>;
5176
+ openedAt: z.ZodString;
5177
+ completedAt: z.ZodNullable<z.ZodString>;
5178
+ reopenedAt: z.ZodNullable<z.ZodString>;
5179
+ }, z.core.$strip>>;
5180
+ decisionProgress: z.ZodNullable<z.ZodObject<{
5181
+ mealPlanId: z.ZodString;
5182
+ status: z.ZodString;
5183
+ tasks: z.ZodArray<z.ZodObject<{
5184
+ taskKey: z.ZodEnum<{
5185
+ FINAL_CONFIRMATION: "FINAL_CONFIRMATION";
5186
+ SCHEDULE_DATE: "SCHEDULE_DATE";
5187
+ SCHEDULE_TIME: "SCHEDULE_TIME";
5188
+ LOCATION_CANDIDATE: "LOCATION_CANDIDATE";
5189
+ LOCATION_VOTE: "LOCATION_VOTE";
5190
+ EXCLUDE_MENU: "EXCLUDE_MENU";
5191
+ PREFER_MENU: "PREFER_MENU";
5192
+ MENU_PICK: "MENU_PICK";
5193
+ RESTAURANT_SEARCH: "RESTAURANT_SEARCH";
5194
+ RESTAURANT_PICK: "RESTAURANT_PICK";
5195
+ }>;
5196
+ status: z.ZodEnum<{
5197
+ OPEN: "OPEN";
5198
+ STALE: "STALE";
5199
+ LOCKED: "LOCKED";
5200
+ RESOLVED: "RESOLVED";
5201
+ }>;
5202
+ blockers: z.ZodDefault<z.ZodArray<z.ZodString>>;
5203
+ updatedAt: z.ZodString;
5204
+ }, z.core.$strip>>;
5205
+ final: z.ZodRecord<z.ZodString, z.ZodUnknown>;
5206
+ provisional: z.ZodRecord<z.ZodString, z.ZodUnknown>;
5207
+ snapshots: z.ZodArray<z.ZodObject<{
5208
+ snapshotId: z.ZodString;
5209
+ mealPlanId: z.ZodString;
5210
+ field: z.ZodEnum<{
5211
+ date: "date";
5212
+ restaurant: "restaurant";
5213
+ menu: "menu";
5214
+ time: "time";
5215
+ meetingAt: "meetingAt";
5216
+ area: "area";
5217
+ }>;
5218
+ value: z.ZodUnknown;
5219
+ status: z.ZodEnum<{
5220
+ STALE: "STALE";
5221
+ CANDIDATE: "CANDIDATE";
5222
+ PROVISIONAL: "PROVISIONAL";
5223
+ FINAL: "FINAL";
5224
+ }>;
5225
+ reason: z.ZodEnum<{
5226
+ COMMON_SCHEDULE: "COMMON_SCHEDULE";
5227
+ TOP_VOTED_LOCATION: "TOP_VOTED_LOCATION";
5228
+ TOP_PICKED_MENU: "TOP_PICKED_MENU";
5229
+ TOP_PICKED_RESTAURANT: "TOP_PICKED_RESTAURANT";
5230
+ OWNER_CONFIRMED: "OWNER_CONFIRMED";
5231
+ MANUAL_SELECTION: "MANUAL_SELECTION";
5232
+ }>;
5233
+ score: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
5234
+ sourceEvent: z.ZodString;
5235
+ sourceActorType: z.ZodEnum<{
5236
+ MEMBER: "MEMBER";
5237
+ GUEST: "GUEST";
5238
+ SYSTEM: "SYSTEM";
5239
+ }>;
5240
+ sourceMemberId: z.ZodNullable<z.core.$ZodBranded<z.ZodNumber, "MemberId", "out">>;
5241
+ sourceGuestId: z.ZodNullable<z.ZodString>;
5242
+ sourceParticipantId: z.ZodNullable<z.ZodString>;
5243
+ sourceVersion: z.ZodNumber;
5244
+ dependencyHash: z.ZodString;
5245
+ dependencyFields: z.ZodArray<z.ZodEnum<{
5246
+ date: "date";
5247
+ restaurant: "restaurant";
5248
+ menu: "menu";
5249
+ time: "time";
5250
+ meetingAt: "meetingAt";
5251
+ area: "area";
5252
+ }>>;
5253
+ createdAt: z.ZodString;
5254
+ staleAt: z.ZodNullable<z.ZodString>;
5255
+ }, z.core.$strip>>;
5256
+ version: z.ZodNumber;
5257
+ updatedAt: z.ZodString;
5258
+ }, z.core.$strip>>;
5259
+ viewerRole: z.ZodEnum<{
5260
+ GUEST: "GUEST";
5261
+ OWNER: "OWNER";
5262
+ FRIEND: "FRIEND";
5263
+ NONE: "NONE";
5264
+ }>;
5265
+ viewerParticipantStatus: z.ZodNullable<z.ZodEnum<{
5266
+ READY: "READY";
5267
+ INVITED: "INVITED";
5268
+ REQUESTED: "REQUESTED";
5269
+ JOINED: "JOINED";
5270
+ DECLINED: "DECLINED";
5271
+ LEFT: "LEFT";
5272
+ REMOVED: "REMOVED";
5273
+ }>>;
5274
+ viewerPermissions: z.ZodObject<{
5275
+ canView: z.ZodBoolean;
5276
+ canInviteFriends: z.ZodBoolean;
5277
+ canManageParticipants: z.ZodBoolean;
5278
+ canCreateShareLink: z.ZodBoolean;
5279
+ canExposeNearbyFriends: z.ZodBoolean;
5280
+ canVote: z.ZodBoolean;
5281
+ canChat: z.ZodBoolean;
5282
+ canReadyMealPlan: z.ZodBoolean;
5283
+ canRequestChange: z.ZodBoolean;
5284
+ canReopenDecisionTask: z.ZodBoolean;
5285
+ canConfirmDecisionSnapshot: z.ZodBoolean;
5286
+ canConfirmMealPlan: z.ZodBoolean;
5287
+ canCompleteMealPlan: z.ZodBoolean;
5288
+ canRecordMealPlan: z.ZodBoolean;
5289
+ canCancelMealPlan: z.ZodBoolean;
5290
+ }, z.core.$strip>;
5291
+ selectedDate: z.ZodNullable<z.ZodString>;
5292
+ selectedTime: z.ZodNullable<z.ZodString>;
5293
+ selectedArea: z.ZodNullable<z.ZodObject<{
5294
+ locationId: z.core.$ZodBranded<z.ZodString, "MealPlanLocationCandidateId", "out">;
5295
+ placeName: z.ZodString;
5296
+ lat: z.core.$ZodBranded<z.ZodNumber, "MealPlanLatitude", "out">;
5297
+ lng: z.core.$ZodBranded<z.ZodNumber, "MealPlanLongitude", "out">;
5298
+ address: z.ZodDefault<z.ZodString>;
5299
+ source: z.ZodDefault<z.ZodEnum<{
5300
+ manual: "manual";
5301
+ "map-marker": "map-marker";
5302
+ midpoint: "midpoint";
5303
+ "user-location": "user-location";
5304
+ search: "search";
5305
+ "recent-place": "recent-place";
5306
+ fallback: "fallback";
5307
+ }>>;
5308
+ createdBy: z.ZodOptional<z.core.$ZodBranded<z.ZodNumber, "MemberId", "out">>;
5309
+ createdAt: z.ZodOptional<z.ZodString>;
5310
+ }, z.core.$strip>>;
5311
+ selectedRestaurant: z.ZodNullable<z.ZodObject<{
5312
+ restaurantId: z.core.$ZodBranded<z.ZodString, "RestaurantId", "out">;
5313
+ placeName: z.ZodString;
5314
+ categoryName: z.ZodString;
5315
+ categoryGroupName: z.ZodString;
5316
+ distance: z.ZodOptional<z.ZodString>;
5317
+ roadAddressName: z.ZodString;
5318
+ addressName: z.ZodString;
5319
+ phone: z.ZodNullable<z.ZodString>;
5320
+ placeUrl: z.ZodNullable<z.ZodString>;
5321
+ lat: z.ZodNumber;
5322
+ lng: z.ZodNumber;
5323
+ }, z.core.$strip>>;
5324
+ selectedMenuCategory: z.ZodNullable<z.ZodString>;
5325
+ chatRoom: z.ZodNullable<z.ZodObject<{
5326
+ chatRoomId: z.core.$ZodBranded<z.ZodString, "MealPlanChatRoomId", "out">;
5327
+ mealPlanId: z.core.$ZodBranded<z.ZodString, "MealPlanId", "out">;
5328
+ messageCount: z.ZodNumber;
5329
+ lastMessageAt: z.ZodNullable<z.ZodString>;
5330
+ createdAt: z.ZodString;
5331
+ }, z.core.$strip>>;
5332
+ confirmedAt: z.ZodNullable<z.ZodString>;
5333
+ lockedAt: z.ZodNullable<z.ZodString>;
5334
+ completedAt: z.ZodNullable<z.ZodString>;
5335
+ recordedAt: z.ZodNullable<z.ZodString>;
5336
+ createdAt: z.ZodString;
5337
+ updatedAt: z.ZodString;
5338
+ }, z.core.$strip>;
5339
+ }, z.core.$strip>, z.ZodObject<{
5340
+ ok: z.ZodLiteral<false>;
5341
+ error: z.ZodObject<{
5342
+ code: z.ZodString;
5343
+ message: z.ZodString;
5344
+ }, z.core.$strip>;
5345
+ }, z.core.$strip>], "ok">;
5346
+
4146
5347
  declare const MealPlanChatMessageKindSchema: z.ZodEnum<{
4147
5348
  USER: "USER";
4148
5349
  SYSTEM: "SYSTEM";
@@ -4487,6 +5688,11 @@ type MealPlanDecisionActorType = z.infer<typeof MealPlanDecisionActorTypeSchema>
4487
5688
  type ReopenMealPlanDecisionTaskRequest = z.infer<typeof ReopenMealPlanDecisionTaskRequestSchema>;
4488
5689
  type ConfirmMealPlanDecisionSnapshotRequest = z.infer<typeof ConfirmMealPlanDecisionSnapshotRequestSchema>;
4489
5690
  type CreateMealPlanVoteRequest = z.infer<typeof CreateMealPlanVoteRequestSchema>;
5691
+ type MealPlanDecisionVoteSocketPayload = z.infer<typeof MealPlanDecisionVoteSocketPayloadSchema>;
5692
+ type MealPlanDecisionVoteSocketError = z.infer<typeof MealPlanDecisionVoteSocketErrorSchema>;
5693
+ type MealPlanDecisionVoteSocketSuccessAck = z.infer<typeof MealPlanDecisionVoteSocketSuccessAckSchema>;
5694
+ type MealPlanDecisionVoteSocketFailureAck = z.infer<typeof MealPlanDecisionVoteSocketFailureAckSchema>;
5695
+ type MealPlanDecisionVoteSocketAck = z.infer<typeof MealPlanDecisionVoteSocketAckSchema>;
4490
5696
  type CompleteMealPlanDecisionStageRequest = z.infer<typeof CompleteMealPlanDecisionStageRequestSchema>;
4491
5697
  type MealPlanChangeRequestStatus = z.infer<typeof MealPlanChangeRequestStatusSchema>;
4492
5698
  type CreateMealPlanChangeRequest = z.infer<typeof CreateMealPlanChangeRequestSchema>;
@@ -4510,6 +5716,16 @@ type MealGroupHistoryItem = z.infer<typeof MealGroupHistoryItemSchema>;
4510
5716
  type MealGroupHistoryResponse = z.infer<typeof MealGroupHistoryResponseSchema>;
4511
5717
  type MealGroupPreferenceSummary = z.infer<typeof MealGroupPreferenceSummarySchema>;
4512
5718
 
5719
+ /**
5720
+ * Stable identity for a decision candidate.
5721
+ *
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.
5726
+ */
5727
+ declare function getMealPlanDecisionCandidateKey(candidate: MealPlanDecisionCandidate): string;
5728
+
4513
5729
  type MealPlanNotificationPriorityChannel = "HOME" | "NOTIFICATION_INBOX" | "FCM_PUSH" | "LIVE_ACTIVITY";
4514
5730
  type MealPlanNotificationKind = keyof typeof MEAL_PLAN_NOTIFICATION_PRIORITY_POLICIES;
4515
5731
  type MealPlanNotification = z.infer<typeof MealPlanNotificationSchema>;
@@ -4520,4 +5736,4 @@ declare function getMealPlanLiveActivityBehavior(kind: string): "NONE" | "START_
4520
5736
  declare function shouldShowForegroundToast(kind: string): boolean;
4521
5737
  declare function compareMealPlanNotificationsByPriority(channel: MealPlanNotificationPriorityChannel): (a: Pick<MealPlanNotification, "kind" | "createdAt" | "readAt">, b: Pick<MealPlanNotification, "kind" | "createdAt" | "readAt">) => number;
4522
5738
 
4523
- 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 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 };
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 };