@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.
@@ -88,6 +88,12 @@ __export(meal_plan_exports, {
88
88
  MealPlanDecisionTaskKeySchema: () => MealPlanDecisionTaskKeySchema,
89
89
  MealPlanDecisionTaskProgressSchema: () => MealPlanDecisionTaskProgressSchema,
90
90
  MealPlanDecisionTaskStatusSchema: () => MealPlanDecisionTaskStatusSchema,
91
+ MealPlanDecisionVoteSocketAckSchema: () => MealPlanDecisionVoteSocketAckSchema,
92
+ MealPlanDecisionVoteSocketErrorSchema: () => MealPlanDecisionVoteSocketErrorSchema,
93
+ MealPlanDecisionVoteSocketEvent: () => MealPlanDecisionVoteSocketEvent,
94
+ MealPlanDecisionVoteSocketFailureAckSchema: () => MealPlanDecisionVoteSocketFailureAckSchema,
95
+ MealPlanDecisionVoteSocketPayloadSchema: () => MealPlanDecisionVoteSocketPayloadSchema,
96
+ MealPlanDecisionVoteSocketSuccessAckSchema: () => MealPlanDecisionVoteSocketSuccessAckSchema,
91
97
  MealPlanGuestParticipantSchema: () => MealPlanGuestParticipantSchema,
92
98
  MealPlanGuestSessionQuerySchema: () => MealPlanGuestSessionQuerySchema,
93
99
  MealPlanGuestSessionResponseSchema: () => MealPlanGuestSessionResponseSchema,
@@ -148,6 +154,7 @@ __export(meal_plan_exports, {
148
154
  UpdateMealGroupMemberRoleRequestSchema: () => UpdateMealGroupMemberRoleRequestSchema,
149
155
  UpdateMealPlanContextRequestSchema: () => UpdateMealPlanContextRequestSchema,
150
156
  compareMealPlanNotificationsByPriority: () => compareMealPlanNotificationsByPriority,
157
+ getMealPlanDecisionCandidateKey: () => getMealPlanDecisionCandidateKey,
151
158
  getMealPlanLiveActivityBehavior: () => getMealPlanLiveActivityBehavior,
152
159
  getMealPlanNotificationPriority: () => getMealPlanNotificationPriority,
153
160
  getMealPlanNotificationPriorityPolicy: () => getMealPlanNotificationPriorityPolicy,
@@ -1162,219 +1169,261 @@ var MealPlanNotificationSchema = import_zod12.z.object({
1162
1169
  readAt: ISODateTimeStringSchema.nullable()
1163
1170
  });
1164
1171
 
1165
- // src/domain/meal-plan/meal-plan-share-link.schema.ts
1172
+ // src/domain/meal-plan/meal-plan-decision.candidate-key.ts
1173
+ function getMealPlanDecisionCandidateKey(candidate) {
1174
+ switch (candidate.stageType) {
1175
+ case "DATE":
1176
+ case "TIME":
1177
+ return `${candidate.stageType}:${candidate.value}`;
1178
+ case "AREA":
1179
+ return `AREA:${candidate.value.locationId}`;
1180
+ case "MENU":
1181
+ return `MENU:${candidate.value.menuCandidateId}`;
1182
+ case "RESTAURANT":
1183
+ return `RESTAURANT:${candidate.value.candidateId ?? candidate.value.restaurantId}`;
1184
+ case "FINAL_CONFIRMATION":
1185
+ return "FINAL_CONFIRMATION:READY";
1186
+ }
1187
+ }
1188
+
1189
+ // src/domain/meal-plan/meal-plan.socket.ts
1166
1190
  var import_zod13 = require("zod");
1167
- var CreateMealPlanShareLinkRequestSchema = import_zod13.z.object({
1191
+ var MealPlanDecisionVoteSocketEvent = "mealPlan:decision:vote";
1192
+ var MealPlanDecisionVoteSocketPayloadSchema = CreateMealPlanVoteRequestSchema.extend({
1193
+ mealPlanId: MealPlanIdSchema,
1194
+ stageId: MealPlanDecisionStageIdSchema,
1195
+ guestSessionToken: import_zod13.z.string().min(1).optional()
1196
+ });
1197
+ var MealPlanDecisionVoteSocketErrorSchema = import_zod13.z.object({
1198
+ code: import_zod13.z.string().min(1),
1199
+ message: import_zod13.z.string().min(1)
1200
+ });
1201
+ var MealPlanDecisionVoteSocketSuccessAckSchema = import_zod13.z.object({
1202
+ ok: import_zod13.z.literal(true),
1203
+ mealPlan: MealPlanResponseSchema
1204
+ });
1205
+ var MealPlanDecisionVoteSocketFailureAckSchema = import_zod13.z.object({
1206
+ ok: import_zod13.z.literal(false),
1207
+ error: MealPlanDecisionVoteSocketErrorSchema
1208
+ });
1209
+ var MealPlanDecisionVoteSocketAckSchema = import_zod13.z.discriminatedUnion("ok", [
1210
+ MealPlanDecisionVoteSocketSuccessAckSchema,
1211
+ MealPlanDecisionVoteSocketFailureAckSchema
1212
+ ]);
1213
+
1214
+ // src/domain/meal-plan/meal-plan-share-link.schema.ts
1215
+ var import_zod14 = require("zod");
1216
+ var CreateMealPlanShareLinkRequestSchema = import_zod14.z.object({
1168
1217
  expiresAt: ISODateTimeStringSchema.optional(),
1169
- guestJoinEnabled: import_zod13.z.boolean().default(true)
1218
+ guestJoinEnabled: import_zod14.z.boolean().default(true)
1170
1219
  });
1171
- var MealPlanShareLinkSummarySchema = import_zod13.z.object({
1220
+ var MealPlanShareLinkSummarySchema = import_zod14.z.object({
1172
1221
  shareLinkId: MealPlanShareLinkIdSchema,
1173
1222
  mealPlanId: MealPlanIdSchema,
1174
1223
  token: MealPlanShareLinkTokenSchema,
1175
- url: import_zod13.z.string().url(),
1224
+ url: import_zod14.z.string().url(),
1176
1225
  expiresAt: ISODateTimeStringSchema,
1177
- guestJoinEnabled: import_zod13.z.boolean(),
1226
+ guestJoinEnabled: import_zod14.z.boolean(),
1178
1227
  createdAt: ISODateTimeStringSchema
1179
1228
  });
1180
- var MealPlanSharePreviewResponseSchema = import_zod13.z.object({
1229
+ var MealPlanSharePreviewResponseSchema = import_zod14.z.object({
1181
1230
  mealPlanId: MealPlanIdSchema,
1182
1231
  token: MealPlanShareLinkTokenSchema,
1183
- title: import_zod13.z.string(),
1184
- ownerName: import_zod13.z.string(),
1185
- participantCount: import_zod13.z.number().int().min(1),
1232
+ title: import_zod14.z.string(),
1233
+ ownerName: import_zod14.z.string(),
1234
+ participantCount: import_zod14.z.number().int().min(1),
1186
1235
  expiresAt: ISODateTimeStringSchema,
1187
- guestJoinEnabled: import_zod13.z.boolean()
1236
+ guestJoinEnabled: import_zod14.z.boolean()
1188
1237
  });
1189
- var JoinMealPlanGuestRequestSchema = import_zod13.z.object({
1190
- nickname: import_zod13.z.string().min(1).max(50),
1191
- password: import_zod13.z.string().min(1).max(100).optional()
1238
+ var JoinMealPlanGuestRequestSchema = import_zod14.z.object({
1239
+ nickname: import_zod14.z.string().min(1).max(50),
1240
+ password: import_zod14.z.string().min(1).max(100).optional()
1192
1241
  });
1193
- var JoinMealPlanGuestResponseSchema = import_zod13.z.object({
1242
+ var JoinMealPlanGuestResponseSchema = import_zod14.z.object({
1194
1243
  mealPlanId: MealPlanIdSchema,
1195
- guestId: import_zod13.z.string().min(1),
1196
- sessionToken: import_zod13.z.string().min(1)
1244
+ guestId: import_zod14.z.string().min(1),
1245
+ sessionToken: import_zod14.z.string().min(1)
1197
1246
  });
1198
- var MealPlanGuestSessionQuerySchema = import_zod13.z.object({
1199
- sessionToken: import_zod13.z.string().min(1)
1247
+ var MealPlanGuestSessionQuerySchema = import_zod14.z.object({
1248
+ sessionToken: import_zod14.z.string().min(1)
1200
1249
  });
1201
- var MealPlanGuestSessionResponseSchema = import_zod13.z.object({
1250
+ var MealPlanGuestSessionResponseSchema = import_zod14.z.object({
1202
1251
  mealPlan: MealPlanResponseSchema,
1203
1252
  token: MealPlanShareLinkTokenSchema,
1204
- guestId: import_zod13.z.string().min(1),
1205
- nickname: import_zod13.z.string().min(1).max(50),
1206
- sessionToken: import_zod13.z.string().min(1)
1253
+ guestId: import_zod14.z.string().min(1),
1254
+ nickname: import_zod14.z.string().min(1).max(50),
1255
+ sessionToken: import_zod14.z.string().min(1)
1207
1256
  });
1208
1257
 
1209
1258
  // src/domain/meal-plan/meal-group.schema.ts
1210
- var import_zod14 = require("zod");
1211
- var MealGroupMemberRoleSchema = import_zod14.z.enum([
1259
+ var import_zod15 = require("zod");
1260
+ var MealGroupMemberRoleSchema = import_zod15.z.enum([
1212
1261
  "OWNER",
1213
1262
  "MEMBER"
1214
1263
  ]);
1215
- var MealGroupMemberSchema = import_zod14.z.object({
1264
+ var MealGroupMemberSchema = import_zod15.z.object({
1216
1265
  member: MemberCoreSchema,
1217
1266
  role: MealGroupMemberRoleSchema,
1218
1267
  joinedAt: ISODateTimeStringSchema
1219
1268
  });
1220
- var MealGroupResponseSchema = import_zod14.z.object({
1269
+ var MealGroupResponseSchema = import_zod15.z.object({
1221
1270
  mealGroupId: MealGroupIdSchema,
1222
- name: import_zod14.z.string().min(1).max(50),
1271
+ name: import_zod15.z.string().min(1).max(50),
1223
1272
  owner: MemberCoreSchema,
1224
- profileImageUrl: import_zod14.z.string().url().nullable(),
1225
- members: import_zod14.z.array(MealGroupMemberSchema),
1226
- recentMealPlanIds: import_zod14.z.array(MealPlanIdSchema),
1273
+ profileImageUrl: import_zod15.z.string().url().nullable(),
1274
+ members: import_zod15.z.array(MealGroupMemberSchema),
1275
+ recentMealPlanIds: import_zod15.z.array(MealPlanIdSchema),
1227
1276
  createdAt: ISODateTimeStringSchema,
1228
1277
  updatedAt: ISODateTimeStringSchema
1229
1278
  });
1230
- var CreateMealGroupRequestSchema = import_zod14.z.object({
1231
- name: import_zod14.z.string().min(1).max(50),
1232
- memberIds: import_zod14.z.array(import_zod14.z.number().int().positive()).min(1),
1233
- profileImageUrl: import_zod14.z.string().url().nullable().optional(),
1279
+ var CreateMealGroupRequestSchema = import_zod15.z.object({
1280
+ name: import_zod15.z.string().min(1).max(50),
1281
+ memberIds: import_zod15.z.array(import_zod15.z.number().int().positive()).min(1),
1282
+ profileImageUrl: import_zod15.z.string().url().nullable().optional(),
1234
1283
  sourceMealPlanId: MealPlanIdSchema.optional()
1235
1284
  });
1236
- var StartMealPlanFromGroupRequestSchema = import_zod14.z.object({
1237
- title: import_zod14.z.string().min(1).max(100).optional()
1285
+ var StartMealPlanFromGroupRequestSchema = import_zod15.z.object({
1286
+ title: import_zod15.z.string().min(1).max(100).optional()
1238
1287
  });
1239
- var AddMealGroupMemberRequestSchema = import_zod14.z.object({
1240
- memberId: import_zod14.z.number().int().positive(),
1288
+ var AddMealGroupMemberRequestSchema = import_zod15.z.object({
1289
+ memberId: import_zod15.z.number().int().positive(),
1241
1290
  role: MealGroupMemberRoleSchema.default("MEMBER")
1242
1291
  });
1243
- var UpdateMealGroupMemberRoleRequestSchema = import_zod14.z.object({
1292
+ var UpdateMealGroupMemberRoleRequestSchema = import_zod15.z.object({
1244
1293
  role: MealGroupMemberRoleSchema
1245
1294
  });
1246
1295
  var MealGroupHistoryItemSchema = MyMealPlanListItemSchema.extend({});
1247
- var MealGroupPreferenceSummarySchema = import_zod14.z.object({
1296
+ var MealGroupPreferenceSummarySchema = import_zod15.z.object({
1248
1297
  mealGroupId: MealGroupIdSchema,
1249
- frequentMenuCategories: import_zod14.z.array(import_zod14.z.object({ label: import_zod14.z.string(), count: import_zod14.z.number().int().min(0) })),
1250
- frequentRestaurants: import_zod14.z.array(import_zod14.z.object({ restaurantName: import_zod14.z.string(), count: import_zod14.z.number().int().min(0) })),
1251
- recentMenuCategories: import_zod14.z.array(import_zod14.z.string()),
1252
- recommendationContext: import_zod14.z.object({
1253
- preferredMenuCategories: import_zod14.z.array(import_zod14.z.string()),
1254
- excludedMenuCategories: import_zod14.z.array(import_zod14.z.string()),
1255
- candidateMenuCategories: import_zod14.z.array(import_zod14.z.string())
1298
+ frequentMenuCategories: import_zod15.z.array(import_zod15.z.object({ label: import_zod15.z.string(), count: import_zod15.z.number().int().min(0) })),
1299
+ frequentRestaurants: import_zod15.z.array(import_zod15.z.object({ restaurantName: import_zod15.z.string(), count: import_zod15.z.number().int().min(0) })),
1300
+ recentMenuCategories: import_zod15.z.array(import_zod15.z.string()),
1301
+ recommendationContext: import_zod15.z.object({
1302
+ preferredMenuCategories: import_zod15.z.array(import_zod15.z.string()),
1303
+ excludedMenuCategories: import_zod15.z.array(import_zod15.z.string()),
1304
+ candidateMenuCategories: import_zod15.z.array(import_zod15.z.string())
1256
1305
  })
1257
1306
  });
1258
- var MealGroupHistoryResponseSchema = import_zod14.z.array(MealGroupHistoryItemSchema);
1307
+ var MealGroupHistoryResponseSchema = import_zod15.z.array(MealGroupHistoryItemSchema);
1259
1308
 
1260
1309
  // src/domain/meal-plan/meal-plan-home-map.schema.ts
1261
- var import_zod15 = require("zod");
1262
- var HomeMealPlanActionKindSchema = import_zod15.z.enum([
1310
+ var import_zod16 = require("zod");
1311
+ var HomeMealPlanActionKindSchema = import_zod16.z.enum([
1263
1312
  "CONTINUE_DECISION",
1264
1313
  "TODAY_UPCOMING",
1265
1314
  "RECORD_NEEDED",
1266
1315
  "RESPOND_JOIN_REQUEST",
1267
1316
  "NOTIFICATION_FOLLOW_UP"
1268
1317
  ]);
1269
- var HomeMealPlanActionCardSchema = import_zod15.z.object({
1270
- actionId: import_zod15.z.string().min(1),
1318
+ var HomeMealPlanActionCardSchema = import_zod16.z.object({
1319
+ actionId: import_zod16.z.string().min(1),
1271
1320
  kind: HomeMealPlanActionKindSchema,
1272
- priority: import_zod15.z.number().int().min(0),
1273
- title: import_zod15.z.string().min(1),
1274
- description: import_zod15.z.string().min(1),
1275
- primaryAction: import_zod15.z.object({
1276
- label: import_zod15.z.string().min(1),
1277
- href: import_zod15.z.string().min(1)
1321
+ priority: import_zod16.z.number().int().min(0),
1322
+ title: import_zod16.z.string().min(1),
1323
+ description: import_zod16.z.string().min(1),
1324
+ primaryAction: import_zod16.z.object({
1325
+ label: import_zod16.z.string().min(1),
1326
+ href: import_zod16.z.string().min(1)
1278
1327
  }),
1279
1328
  mealPlan: MyMealPlanListItemSchema.nullable(),
1280
1329
  joinRequest: MealPlanJoinRequestSummarySchema.nullable(),
1281
1330
  notification: MealPlanNotificationSchema.nullable().default(null)
1282
1331
  });
1283
- var HomeMealPlanDashboardResponseSchema = import_zod15.z.object({
1332
+ var HomeMealPlanDashboardResponseSchema = import_zod16.z.object({
1284
1333
  generatedAt: ISODateTimeStringSchema,
1285
- inProgress: import_zod15.z.array(MyMealPlanListItemSchema),
1286
- today: import_zod15.z.array(MyMealPlanListItemSchema),
1287
- recordNeeded: import_zod15.z.array(MyMealPlanListItemSchema),
1288
- pendingJoinRequests: import_zod15.z.array(MealPlanJoinRequestSummarySchema),
1289
- unreadNotifications: import_zod15.z.array(MealPlanNotificationSchema).default([]),
1290
- nextActions: import_zod15.z.array(HomeMealPlanActionCardSchema)
1291
- });
1292
- var MealMapLayerSchema = import_zod15.z.enum([
1334
+ inProgress: import_zod16.z.array(MyMealPlanListItemSchema),
1335
+ today: import_zod16.z.array(MyMealPlanListItemSchema),
1336
+ recordNeeded: import_zod16.z.array(MyMealPlanListItemSchema),
1337
+ pendingJoinRequests: import_zod16.z.array(MealPlanJoinRequestSummarySchema),
1338
+ unreadNotifications: import_zod16.z.array(MealPlanNotificationSchema).default([]),
1339
+ nextActions: import_zod16.z.array(HomeMealPlanActionCardSchema)
1340
+ });
1341
+ var MealMapLayerSchema = import_zod16.z.enum([
1293
1342
  "MY_MEAL_PLAN_PLACE",
1294
1343
  "NEARBY_FRIEND_MEAL_PLAN",
1295
1344
  "FRIEND_RECORD_LOCATION",
1296
1345
  "RESTAURANT_CANDIDATE"
1297
1346
  ]);
1298
- var MealMapMarkerBaseSchema = import_zod15.z.object({
1299
- markerId: import_zod15.z.string().min(1),
1300
- lat: import_zod15.z.number().min(-90).max(90),
1301
- lng: import_zod15.z.number().min(-180).max(180),
1302
- title: import_zod15.z.string().min(1),
1303
- subtitle: import_zod15.z.string().nullable(),
1304
- href: import_zod15.z.string().min(1).nullable(),
1347
+ var MealMapMarkerBaseSchema = import_zod16.z.object({
1348
+ markerId: import_zod16.z.string().min(1),
1349
+ lat: import_zod16.z.number().min(-90).max(90),
1350
+ lng: import_zod16.z.number().min(-180).max(180),
1351
+ title: import_zod16.z.string().min(1),
1352
+ subtitle: import_zod16.z.string().nullable(),
1353
+ href: import_zod16.z.string().min(1).nullable(),
1305
1354
  mealPlanId: MealPlanIdSchema.nullable(),
1306
1355
  articleId: ArticleIdSchema.nullable(),
1307
1356
  restaurant: RestaurantSchema.nullable(),
1308
- distanceMeters: import_zod15.z.number().int().min(0).nullable(),
1357
+ distanceMeters: import_zod16.z.number().int().min(0).nullable(),
1309
1358
  updatedAt: ISODateTimeStringSchema
1310
1359
  });
1311
- var MealMapMyMealPlanPlaceMetadataSchema = import_zod15.z.object({
1360
+ var MealMapMyMealPlanPlaceMetadataSchema = import_zod16.z.object({
1312
1361
  ownerId: MemberIdSchema.nullable().default(null),
1313
- status: import_zod15.z.string().min(1),
1314
- participantCount: import_zod15.z.number().int().min(1),
1315
- source: import_zod15.z.string().min(1)
1362
+ status: import_zod16.z.string().min(1),
1363
+ participantCount: import_zod16.z.number().int().min(1),
1364
+ source: import_zod16.z.string().min(1)
1316
1365
  });
1317
- var MealMapNearbyFriendMealPlanMetadataSchema = import_zod15.z.object({
1366
+ var MealMapNearbyFriendMealPlanMetadataSchema = import_zod16.z.object({
1318
1367
  ownerId: MemberIdSchema.nullable().default(null),
1319
- ownerName: import_zod15.z.string().min(1),
1320
- participantCount: import_zod15.z.number().int().min(1),
1368
+ ownerName: import_zod16.z.string().min(1),
1369
+ participantCount: import_zod16.z.number().int().min(1),
1321
1370
  expiresAt: ISODateTimeStringSchema.nullable(),
1322
- source: import_zod15.z.string().min(1)
1371
+ source: import_zod16.z.string().min(1)
1323
1372
  });
1324
- var MealMapFriendRecordLocationMetadataSchema = import_zod15.z.object({
1373
+ var MealMapFriendRecordLocationMetadataSchema = import_zod16.z.object({
1325
1374
  authorId: MemberIdSchema.nullable().default(null),
1326
- authorName: import_zod15.z.string().min(1),
1327
- imageUrl: import_zod15.z.string().nullable().default(null),
1328
- mealDate: import_zod15.z.string().min(1)
1375
+ authorName: import_zod16.z.string().min(1),
1376
+ imageUrl: import_zod16.z.string().nullable().default(null),
1377
+ mealDate: import_zod16.z.string().min(1)
1329
1378
  });
1330
- var MealMapRestaurantCandidateCompletionBlockedReasonSchema = import_zod15.z.enum([
1379
+ var MealMapRestaurantCandidateCompletionBlockedReasonSchema = import_zod16.z.enum([
1331
1380
  "OWNER_ONLY",
1332
1381
  "STAGE_ALREADY_COMPLETED",
1333
1382
  "MEAL_PLAN_NOT_MUTABLE"
1334
1383
  ]);
1335
- var MealMapRestaurantCandidateMetadataSchema = import_zod15.z.object({
1384
+ var MealMapRestaurantCandidateMetadataSchema = import_zod16.z.object({
1336
1385
  stageId: MealPlanDecisionStageIdSchema,
1337
1386
  ownerId: MemberIdSchema.nullable().default(null),
1338
- status: import_zod15.z.string().min(1),
1339
- source: import_zod15.z.enum(["search", "fallback", "manual"]).default("search"),
1340
- stageStatus: import_zod15.z.enum(["OPEN", "COMPLETED", "REOPENED"]).default("OPEN"),
1341
- canVote: import_zod15.z.boolean().default(false),
1342
- canCompleteStage: import_zod15.z.boolean().default(false),
1387
+ status: import_zod16.z.string().min(1),
1388
+ source: import_zod16.z.enum(["search", "fallback", "manual"]).default("search"),
1389
+ stageStatus: import_zod16.z.enum(["OPEN", "COMPLETED", "REOPENED"]).default("OPEN"),
1390
+ canVote: import_zod16.z.boolean().default(false),
1391
+ canCompleteStage: import_zod16.z.boolean().default(false),
1343
1392
  completionBlockedReason: MealMapRestaurantCandidateCompletionBlockedReasonSchema.nullable().default(null)
1344
1393
  });
1345
- var MealMapMarkerSchema = import_zod15.z.discriminatedUnion("layer", [
1394
+ var MealMapMarkerSchema = import_zod16.z.discriminatedUnion("layer", [
1346
1395
  MealMapMarkerBaseSchema.extend({
1347
- layer: import_zod15.z.literal("MY_MEAL_PLAN_PLACE"),
1396
+ layer: import_zod16.z.literal("MY_MEAL_PLAN_PLACE"),
1348
1397
  metadata: MealMapMyMealPlanPlaceMetadataSchema
1349
1398
  }),
1350
1399
  MealMapMarkerBaseSchema.extend({
1351
- layer: import_zod15.z.literal("NEARBY_FRIEND_MEAL_PLAN"),
1400
+ layer: import_zod16.z.literal("NEARBY_FRIEND_MEAL_PLAN"),
1352
1401
  metadata: MealMapNearbyFriendMealPlanMetadataSchema
1353
1402
  }),
1354
1403
  MealMapMarkerBaseSchema.extend({
1355
- layer: import_zod15.z.literal("FRIEND_RECORD_LOCATION"),
1404
+ layer: import_zod16.z.literal("FRIEND_RECORD_LOCATION"),
1356
1405
  metadata: MealMapFriendRecordLocationMetadataSchema
1357
1406
  }),
1358
1407
  MealMapMarkerBaseSchema.extend({
1359
- layer: import_zod15.z.literal("RESTAURANT_CANDIDATE"),
1408
+ layer: import_zod16.z.literal("RESTAURANT_CANDIDATE"),
1360
1409
  metadata: MealMapRestaurantCandidateMetadataSchema
1361
1410
  })
1362
1411
  ]);
1363
- var MealMapQuerySchema = import_zod15.z.object({
1364
- friendRecordDays: import_zod15.z.coerce.number().int().min(1).max(90).optional().default(7)
1412
+ var MealMapQuerySchema = import_zod16.z.object({
1413
+ friendRecordDays: import_zod16.z.coerce.number().int().min(1).max(90).optional().default(7)
1365
1414
  });
1366
- var MealMapResponseSchema = import_zod15.z.object({
1415
+ var MealMapResponseSchema = import_zod16.z.object({
1367
1416
  generatedAt: ISODateTimeStringSchema,
1368
- center: import_zod15.z.object({
1369
- lat: import_zod15.z.number().min(-90).max(90),
1370
- lng: import_zod15.z.number().min(-180).max(180),
1371
- source: import_zod15.z.enum(["LAST_KNOWN_LOCATION", "MY_MEAL_PLAN", "DEFAULT"])
1417
+ center: import_zod16.z.object({
1418
+ lat: import_zod16.z.number().min(-90).max(90),
1419
+ lng: import_zod16.z.number().min(-180).max(180),
1420
+ source: import_zod16.z.enum(["LAST_KNOWN_LOCATION", "MY_MEAL_PLAN", "DEFAULT"])
1372
1421
  }),
1373
- layers: import_zod15.z.object({
1374
- myMealPlanPlaces: import_zod15.z.array(MealMapMarkerSchema),
1375
- nearbyFriendMealPlans: import_zod15.z.array(MealMapMarkerSchema),
1376
- friendRecordLocations: import_zod15.z.array(MealMapMarkerSchema),
1377
- restaurantCandidates: import_zod15.z.array(MealMapMarkerSchema)
1422
+ layers: import_zod16.z.object({
1423
+ myMealPlanPlaces: import_zod16.z.array(MealMapMarkerSchema),
1424
+ nearbyFriendMealPlans: import_zod16.z.array(MealMapMarkerSchema),
1425
+ friendRecordLocations: import_zod16.z.array(MealMapMarkerSchema),
1426
+ restaurantCandidates: import_zod16.z.array(MealMapMarkerSchema)
1378
1427
  })
1379
1428
  });
1380
1429
 
@@ -1473,6 +1522,12 @@ function compareMealPlanNotificationsByPriority(channel) {
1473
1522
  MealPlanDecisionTaskKeySchema,
1474
1523
  MealPlanDecisionTaskProgressSchema,
1475
1524
  MealPlanDecisionTaskStatusSchema,
1525
+ MealPlanDecisionVoteSocketAckSchema,
1526
+ MealPlanDecisionVoteSocketErrorSchema,
1527
+ MealPlanDecisionVoteSocketEvent,
1528
+ MealPlanDecisionVoteSocketFailureAckSchema,
1529
+ MealPlanDecisionVoteSocketPayloadSchema,
1530
+ MealPlanDecisionVoteSocketSuccessAckSchema,
1476
1531
  MealPlanGuestParticipantSchema,
1477
1532
  MealPlanGuestSessionQuerySchema,
1478
1533
  MealPlanGuestSessionResponseSchema,
@@ -1533,6 +1588,7 @@ function compareMealPlanNotificationsByPriority(channel) {
1533
1588
  UpdateMealGroupMemberRoleRequestSchema,
1534
1589
  UpdateMealPlanContextRequestSchema,
1535
1590
  compareMealPlanNotificationsByPriority,
1591
+ getMealPlanDecisionCandidateKey,
1536
1592
  getMealPlanLiveActivityBehavior,
1537
1593
  getMealPlanNotificationPriority,
1538
1594
  getMealPlanNotificationPriorityPolicy,