@kimdaegyu/babmukdang-shared 2.0.3 → 2.0.4

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.
@@ -161,6 +161,12 @@ __export(domain_exports, {
161
161
  MealPlanDecisionTaskKeySchema: () => MealPlanDecisionTaskKeySchema,
162
162
  MealPlanDecisionTaskProgressSchema: () => MealPlanDecisionTaskProgressSchema,
163
163
  MealPlanDecisionTaskStatusSchema: () => MealPlanDecisionTaskStatusSchema,
164
+ MealPlanDecisionVoteSocketAckSchema: () => MealPlanDecisionVoteSocketAckSchema,
165
+ MealPlanDecisionVoteSocketErrorSchema: () => MealPlanDecisionVoteSocketErrorSchema,
166
+ MealPlanDecisionVoteSocketEvent: () => MealPlanDecisionVoteSocketEvent,
167
+ MealPlanDecisionVoteSocketFailureAckSchema: () => MealPlanDecisionVoteSocketFailureAckSchema,
168
+ MealPlanDecisionVoteSocketPayloadSchema: () => MealPlanDecisionVoteSocketPayloadSchema,
169
+ MealPlanDecisionVoteSocketSuccessAckSchema: () => MealPlanDecisionVoteSocketSuccessAckSchema,
164
170
  MealPlanGuestParticipantSchema: () => MealPlanGuestParticipantSchema,
165
171
  MealPlanGuestSessionQuerySchema: () => MealPlanGuestSessionQuerySchema,
166
172
  MealPlanGuestSessionResponseSchema: () => MealPlanGuestSessionResponseSchema,
@@ -609,7 +615,7 @@ var SignupResponseSchema = import_zod8.z.object({
609
615
  });
610
616
 
611
617
  // src/domain/common/contracts/api.ts
612
- var import_zod29 = require("zod");
618
+ var import_zod30 = require("zod");
613
619
 
614
620
  // src/domain/common/schema/cache-invalidation.schema.ts
615
621
  var import_zod9 = require("zod");
@@ -1573,219 +1579,244 @@ var MealPlanNotificationSchema = import_zod19.z.object({
1573
1579
  readAt: ISODateTimeStringSchema.nullable()
1574
1580
  });
1575
1581
 
1576
- // src/domain/meal-plan/meal-plan-share-link.schema.ts
1582
+ // src/domain/meal-plan/meal-plan.socket.ts
1577
1583
  var import_zod20 = require("zod");
1578
- var CreateMealPlanShareLinkRequestSchema = import_zod20.z.object({
1584
+ var MealPlanDecisionVoteSocketEvent = "mealPlan:decision:vote";
1585
+ var MealPlanDecisionVoteSocketPayloadSchema = CreateMealPlanVoteRequestSchema.extend({
1586
+ mealPlanId: MealPlanIdSchema,
1587
+ stageId: MealPlanDecisionStageIdSchema,
1588
+ guestSessionToken: import_zod20.z.string().min(1).optional()
1589
+ });
1590
+ var MealPlanDecisionVoteSocketErrorSchema = import_zod20.z.object({
1591
+ code: import_zod20.z.string().min(1),
1592
+ message: import_zod20.z.string().min(1)
1593
+ });
1594
+ var MealPlanDecisionVoteSocketSuccessAckSchema = import_zod20.z.object({
1595
+ ok: import_zod20.z.literal(true),
1596
+ mealPlan: MealPlanResponseSchema
1597
+ });
1598
+ var MealPlanDecisionVoteSocketFailureAckSchema = import_zod20.z.object({
1599
+ ok: import_zod20.z.literal(false),
1600
+ error: MealPlanDecisionVoteSocketErrorSchema
1601
+ });
1602
+ var MealPlanDecisionVoteSocketAckSchema = import_zod20.z.discriminatedUnion("ok", [
1603
+ MealPlanDecisionVoteSocketSuccessAckSchema,
1604
+ MealPlanDecisionVoteSocketFailureAckSchema
1605
+ ]);
1606
+
1607
+ // src/domain/meal-plan/meal-plan-share-link.schema.ts
1608
+ var import_zod21 = require("zod");
1609
+ var CreateMealPlanShareLinkRequestSchema = import_zod21.z.object({
1579
1610
  expiresAt: ISODateTimeStringSchema.optional(),
1580
- guestJoinEnabled: import_zod20.z.boolean().default(true)
1611
+ guestJoinEnabled: import_zod21.z.boolean().default(true)
1581
1612
  });
1582
- var MealPlanShareLinkSummarySchema = import_zod20.z.object({
1613
+ var MealPlanShareLinkSummarySchema = import_zod21.z.object({
1583
1614
  shareLinkId: MealPlanShareLinkIdSchema,
1584
1615
  mealPlanId: MealPlanIdSchema,
1585
1616
  token: MealPlanShareLinkTokenSchema,
1586
- url: import_zod20.z.string().url(),
1617
+ url: import_zod21.z.string().url(),
1587
1618
  expiresAt: ISODateTimeStringSchema,
1588
- guestJoinEnabled: import_zod20.z.boolean(),
1619
+ guestJoinEnabled: import_zod21.z.boolean(),
1589
1620
  createdAt: ISODateTimeStringSchema
1590
1621
  });
1591
- var MealPlanSharePreviewResponseSchema = import_zod20.z.object({
1622
+ var MealPlanSharePreviewResponseSchema = import_zod21.z.object({
1592
1623
  mealPlanId: MealPlanIdSchema,
1593
1624
  token: MealPlanShareLinkTokenSchema,
1594
- title: import_zod20.z.string(),
1595
- ownerName: import_zod20.z.string(),
1596
- participantCount: import_zod20.z.number().int().min(1),
1625
+ title: import_zod21.z.string(),
1626
+ ownerName: import_zod21.z.string(),
1627
+ participantCount: import_zod21.z.number().int().min(1),
1597
1628
  expiresAt: ISODateTimeStringSchema,
1598
- guestJoinEnabled: import_zod20.z.boolean()
1629
+ guestJoinEnabled: import_zod21.z.boolean()
1599
1630
  });
1600
- var JoinMealPlanGuestRequestSchema = import_zod20.z.object({
1601
- nickname: import_zod20.z.string().min(1).max(50),
1602
- password: import_zod20.z.string().min(1).max(100).optional()
1631
+ var JoinMealPlanGuestRequestSchema = import_zod21.z.object({
1632
+ nickname: import_zod21.z.string().min(1).max(50),
1633
+ password: import_zod21.z.string().min(1).max(100).optional()
1603
1634
  });
1604
- var JoinMealPlanGuestResponseSchema = import_zod20.z.object({
1635
+ var JoinMealPlanGuestResponseSchema = import_zod21.z.object({
1605
1636
  mealPlanId: MealPlanIdSchema,
1606
- guestId: import_zod20.z.string().min(1),
1607
- sessionToken: import_zod20.z.string().min(1)
1637
+ guestId: import_zod21.z.string().min(1),
1638
+ sessionToken: import_zod21.z.string().min(1)
1608
1639
  });
1609
- var MealPlanGuestSessionQuerySchema = import_zod20.z.object({
1610
- sessionToken: import_zod20.z.string().min(1)
1640
+ var MealPlanGuestSessionQuerySchema = import_zod21.z.object({
1641
+ sessionToken: import_zod21.z.string().min(1)
1611
1642
  });
1612
- var MealPlanGuestSessionResponseSchema = import_zod20.z.object({
1643
+ var MealPlanGuestSessionResponseSchema = import_zod21.z.object({
1613
1644
  mealPlan: MealPlanResponseSchema,
1614
1645
  token: MealPlanShareLinkTokenSchema,
1615
- guestId: import_zod20.z.string().min(1),
1616
- nickname: import_zod20.z.string().min(1).max(50),
1617
- sessionToken: import_zod20.z.string().min(1)
1646
+ guestId: import_zod21.z.string().min(1),
1647
+ nickname: import_zod21.z.string().min(1).max(50),
1648
+ sessionToken: import_zod21.z.string().min(1)
1618
1649
  });
1619
1650
 
1620
1651
  // src/domain/meal-plan/meal-group.schema.ts
1621
- var import_zod21 = require("zod");
1622
- var MealGroupMemberRoleSchema = import_zod21.z.enum([
1652
+ var import_zod22 = require("zod");
1653
+ var MealGroupMemberRoleSchema = import_zod22.z.enum([
1623
1654
  "OWNER",
1624
1655
  "MEMBER"
1625
1656
  ]);
1626
- var MealGroupMemberSchema = import_zod21.z.object({
1657
+ var MealGroupMemberSchema = import_zod22.z.object({
1627
1658
  member: MemberCoreSchema,
1628
1659
  role: MealGroupMemberRoleSchema,
1629
1660
  joinedAt: ISODateTimeStringSchema
1630
1661
  });
1631
- var MealGroupResponseSchema = import_zod21.z.object({
1662
+ var MealGroupResponseSchema = import_zod22.z.object({
1632
1663
  mealGroupId: MealGroupIdSchema,
1633
- name: import_zod21.z.string().min(1).max(50),
1664
+ name: import_zod22.z.string().min(1).max(50),
1634
1665
  owner: MemberCoreSchema,
1635
- profileImageUrl: import_zod21.z.string().url().nullable(),
1636
- members: import_zod21.z.array(MealGroupMemberSchema),
1637
- recentMealPlanIds: import_zod21.z.array(MealPlanIdSchema),
1666
+ profileImageUrl: import_zod22.z.string().url().nullable(),
1667
+ members: import_zod22.z.array(MealGroupMemberSchema),
1668
+ recentMealPlanIds: import_zod22.z.array(MealPlanIdSchema),
1638
1669
  createdAt: ISODateTimeStringSchema,
1639
1670
  updatedAt: ISODateTimeStringSchema
1640
1671
  });
1641
- var CreateMealGroupRequestSchema = import_zod21.z.object({
1642
- name: import_zod21.z.string().min(1).max(50),
1643
- memberIds: import_zod21.z.array(import_zod21.z.number().int().positive()).min(1),
1644
- profileImageUrl: import_zod21.z.string().url().nullable().optional(),
1672
+ var CreateMealGroupRequestSchema = import_zod22.z.object({
1673
+ name: import_zod22.z.string().min(1).max(50),
1674
+ memberIds: import_zod22.z.array(import_zod22.z.number().int().positive()).min(1),
1675
+ profileImageUrl: import_zod22.z.string().url().nullable().optional(),
1645
1676
  sourceMealPlanId: MealPlanIdSchema.optional()
1646
1677
  });
1647
- var StartMealPlanFromGroupRequestSchema = import_zod21.z.object({
1648
- title: import_zod21.z.string().min(1).max(100).optional()
1678
+ var StartMealPlanFromGroupRequestSchema = import_zod22.z.object({
1679
+ title: import_zod22.z.string().min(1).max(100).optional()
1649
1680
  });
1650
- var AddMealGroupMemberRequestSchema = import_zod21.z.object({
1651
- memberId: import_zod21.z.number().int().positive(),
1681
+ var AddMealGroupMemberRequestSchema = import_zod22.z.object({
1682
+ memberId: import_zod22.z.number().int().positive(),
1652
1683
  role: MealGroupMemberRoleSchema.default("MEMBER")
1653
1684
  });
1654
- var UpdateMealGroupMemberRoleRequestSchema = import_zod21.z.object({
1685
+ var UpdateMealGroupMemberRoleRequestSchema = import_zod22.z.object({
1655
1686
  role: MealGroupMemberRoleSchema
1656
1687
  });
1657
1688
  var MealGroupHistoryItemSchema = MyMealPlanListItemSchema.extend({});
1658
- var MealGroupPreferenceSummarySchema = import_zod21.z.object({
1689
+ var MealGroupPreferenceSummarySchema = import_zod22.z.object({
1659
1690
  mealGroupId: MealGroupIdSchema,
1660
- frequentMenuCategories: import_zod21.z.array(import_zod21.z.object({ label: import_zod21.z.string(), count: import_zod21.z.number().int().min(0) })),
1661
- frequentRestaurants: import_zod21.z.array(import_zod21.z.object({ restaurantName: import_zod21.z.string(), count: import_zod21.z.number().int().min(0) })),
1662
- recentMenuCategories: import_zod21.z.array(import_zod21.z.string()),
1663
- recommendationContext: import_zod21.z.object({
1664
- preferredMenuCategories: import_zod21.z.array(import_zod21.z.string()),
1665
- excludedMenuCategories: import_zod21.z.array(import_zod21.z.string()),
1666
- candidateMenuCategories: import_zod21.z.array(import_zod21.z.string())
1691
+ frequentMenuCategories: import_zod22.z.array(import_zod22.z.object({ label: import_zod22.z.string(), count: import_zod22.z.number().int().min(0) })),
1692
+ frequentRestaurants: import_zod22.z.array(import_zod22.z.object({ restaurantName: import_zod22.z.string(), count: import_zod22.z.number().int().min(0) })),
1693
+ recentMenuCategories: import_zod22.z.array(import_zod22.z.string()),
1694
+ recommendationContext: import_zod22.z.object({
1695
+ preferredMenuCategories: import_zod22.z.array(import_zod22.z.string()),
1696
+ excludedMenuCategories: import_zod22.z.array(import_zod22.z.string()),
1697
+ candidateMenuCategories: import_zod22.z.array(import_zod22.z.string())
1667
1698
  })
1668
1699
  });
1669
- var MealGroupHistoryResponseSchema = import_zod21.z.array(MealGroupHistoryItemSchema);
1700
+ var MealGroupHistoryResponseSchema = import_zod22.z.array(MealGroupHistoryItemSchema);
1670
1701
 
1671
1702
  // src/domain/meal-plan/meal-plan-home-map.schema.ts
1672
- var import_zod22 = require("zod");
1673
- var HomeMealPlanActionKindSchema = import_zod22.z.enum([
1703
+ var import_zod23 = require("zod");
1704
+ var HomeMealPlanActionKindSchema = import_zod23.z.enum([
1674
1705
  "CONTINUE_DECISION",
1675
1706
  "TODAY_UPCOMING",
1676
1707
  "RECORD_NEEDED",
1677
1708
  "RESPOND_JOIN_REQUEST",
1678
1709
  "NOTIFICATION_FOLLOW_UP"
1679
1710
  ]);
1680
- var HomeMealPlanActionCardSchema = import_zod22.z.object({
1681
- actionId: import_zod22.z.string().min(1),
1711
+ var HomeMealPlanActionCardSchema = import_zod23.z.object({
1712
+ actionId: import_zod23.z.string().min(1),
1682
1713
  kind: HomeMealPlanActionKindSchema,
1683
- priority: import_zod22.z.number().int().min(0),
1684
- title: import_zod22.z.string().min(1),
1685
- description: import_zod22.z.string().min(1),
1686
- primaryAction: import_zod22.z.object({
1687
- label: import_zod22.z.string().min(1),
1688
- href: import_zod22.z.string().min(1)
1714
+ priority: import_zod23.z.number().int().min(0),
1715
+ title: import_zod23.z.string().min(1),
1716
+ description: import_zod23.z.string().min(1),
1717
+ primaryAction: import_zod23.z.object({
1718
+ label: import_zod23.z.string().min(1),
1719
+ href: import_zod23.z.string().min(1)
1689
1720
  }),
1690
1721
  mealPlan: MyMealPlanListItemSchema.nullable(),
1691
1722
  joinRequest: MealPlanJoinRequestSummarySchema.nullable(),
1692
1723
  notification: MealPlanNotificationSchema.nullable().default(null)
1693
1724
  });
1694
- var HomeMealPlanDashboardResponseSchema = import_zod22.z.object({
1725
+ var HomeMealPlanDashboardResponseSchema = import_zod23.z.object({
1695
1726
  generatedAt: ISODateTimeStringSchema,
1696
- inProgress: import_zod22.z.array(MyMealPlanListItemSchema),
1697
- today: import_zod22.z.array(MyMealPlanListItemSchema),
1698
- recordNeeded: import_zod22.z.array(MyMealPlanListItemSchema),
1699
- pendingJoinRequests: import_zod22.z.array(MealPlanJoinRequestSummarySchema),
1700
- unreadNotifications: import_zod22.z.array(MealPlanNotificationSchema).default([]),
1701
- nextActions: import_zod22.z.array(HomeMealPlanActionCardSchema)
1702
- });
1703
- var MealMapLayerSchema = import_zod22.z.enum([
1727
+ inProgress: import_zod23.z.array(MyMealPlanListItemSchema),
1728
+ today: import_zod23.z.array(MyMealPlanListItemSchema),
1729
+ recordNeeded: import_zod23.z.array(MyMealPlanListItemSchema),
1730
+ pendingJoinRequests: import_zod23.z.array(MealPlanJoinRequestSummarySchema),
1731
+ unreadNotifications: import_zod23.z.array(MealPlanNotificationSchema).default([]),
1732
+ nextActions: import_zod23.z.array(HomeMealPlanActionCardSchema)
1733
+ });
1734
+ var MealMapLayerSchema = import_zod23.z.enum([
1704
1735
  "MY_MEAL_PLAN_PLACE",
1705
1736
  "NEARBY_FRIEND_MEAL_PLAN",
1706
1737
  "FRIEND_RECORD_LOCATION",
1707
1738
  "RESTAURANT_CANDIDATE"
1708
1739
  ]);
1709
- var MealMapMarkerBaseSchema = import_zod22.z.object({
1710
- markerId: import_zod22.z.string().min(1),
1711
- lat: import_zod22.z.number().min(-90).max(90),
1712
- lng: import_zod22.z.number().min(-180).max(180),
1713
- title: import_zod22.z.string().min(1),
1714
- subtitle: import_zod22.z.string().nullable(),
1715
- href: import_zod22.z.string().min(1).nullable(),
1740
+ var MealMapMarkerBaseSchema = import_zod23.z.object({
1741
+ markerId: import_zod23.z.string().min(1),
1742
+ lat: import_zod23.z.number().min(-90).max(90),
1743
+ lng: import_zod23.z.number().min(-180).max(180),
1744
+ title: import_zod23.z.string().min(1),
1745
+ subtitle: import_zod23.z.string().nullable(),
1746
+ href: import_zod23.z.string().min(1).nullable(),
1716
1747
  mealPlanId: MealPlanIdSchema.nullable(),
1717
1748
  articleId: ArticleIdSchema.nullable(),
1718
1749
  restaurant: RestaurantSchema.nullable(),
1719
- distanceMeters: import_zod22.z.number().int().min(0).nullable(),
1750
+ distanceMeters: import_zod23.z.number().int().min(0).nullable(),
1720
1751
  updatedAt: ISODateTimeStringSchema
1721
1752
  });
1722
- var MealMapMyMealPlanPlaceMetadataSchema = import_zod22.z.object({
1753
+ var MealMapMyMealPlanPlaceMetadataSchema = import_zod23.z.object({
1723
1754
  ownerId: MemberIdSchema.nullable().default(null),
1724
- status: import_zod22.z.string().min(1),
1725
- participantCount: import_zod22.z.number().int().min(1),
1726
- source: import_zod22.z.string().min(1)
1755
+ status: import_zod23.z.string().min(1),
1756
+ participantCount: import_zod23.z.number().int().min(1),
1757
+ source: import_zod23.z.string().min(1)
1727
1758
  });
1728
- var MealMapNearbyFriendMealPlanMetadataSchema = import_zod22.z.object({
1759
+ var MealMapNearbyFriendMealPlanMetadataSchema = import_zod23.z.object({
1729
1760
  ownerId: MemberIdSchema.nullable().default(null),
1730
- ownerName: import_zod22.z.string().min(1),
1731
- participantCount: import_zod22.z.number().int().min(1),
1761
+ ownerName: import_zod23.z.string().min(1),
1762
+ participantCount: import_zod23.z.number().int().min(1),
1732
1763
  expiresAt: ISODateTimeStringSchema.nullable(),
1733
- source: import_zod22.z.string().min(1)
1764
+ source: import_zod23.z.string().min(1)
1734
1765
  });
1735
- var MealMapFriendRecordLocationMetadataSchema = import_zod22.z.object({
1766
+ var MealMapFriendRecordLocationMetadataSchema = import_zod23.z.object({
1736
1767
  authorId: MemberIdSchema.nullable().default(null),
1737
- authorName: import_zod22.z.string().min(1),
1738
- imageUrl: import_zod22.z.string().nullable().default(null),
1739
- mealDate: import_zod22.z.string().min(1)
1768
+ authorName: import_zod23.z.string().min(1),
1769
+ imageUrl: import_zod23.z.string().nullable().default(null),
1770
+ mealDate: import_zod23.z.string().min(1)
1740
1771
  });
1741
- var MealMapRestaurantCandidateCompletionBlockedReasonSchema = import_zod22.z.enum([
1772
+ var MealMapRestaurantCandidateCompletionBlockedReasonSchema = import_zod23.z.enum([
1742
1773
  "OWNER_ONLY",
1743
1774
  "STAGE_ALREADY_COMPLETED",
1744
1775
  "MEAL_PLAN_NOT_MUTABLE"
1745
1776
  ]);
1746
- var MealMapRestaurantCandidateMetadataSchema = import_zod22.z.object({
1777
+ var MealMapRestaurantCandidateMetadataSchema = import_zod23.z.object({
1747
1778
  stageId: MealPlanDecisionStageIdSchema,
1748
1779
  ownerId: MemberIdSchema.nullable().default(null),
1749
- status: import_zod22.z.string().min(1),
1750
- source: import_zod22.z.enum(["search", "fallback", "manual"]).default("search"),
1751
- stageStatus: import_zod22.z.enum(["OPEN", "COMPLETED", "REOPENED"]).default("OPEN"),
1752
- canVote: import_zod22.z.boolean().default(false),
1753
- canCompleteStage: import_zod22.z.boolean().default(false),
1780
+ status: import_zod23.z.string().min(1),
1781
+ source: import_zod23.z.enum(["search", "fallback", "manual"]).default("search"),
1782
+ stageStatus: import_zod23.z.enum(["OPEN", "COMPLETED", "REOPENED"]).default("OPEN"),
1783
+ canVote: import_zod23.z.boolean().default(false),
1784
+ canCompleteStage: import_zod23.z.boolean().default(false),
1754
1785
  completionBlockedReason: MealMapRestaurantCandidateCompletionBlockedReasonSchema.nullable().default(null)
1755
1786
  });
1756
- var MealMapMarkerSchema = import_zod22.z.discriminatedUnion("layer", [
1787
+ var MealMapMarkerSchema = import_zod23.z.discriminatedUnion("layer", [
1757
1788
  MealMapMarkerBaseSchema.extend({
1758
- layer: import_zod22.z.literal("MY_MEAL_PLAN_PLACE"),
1789
+ layer: import_zod23.z.literal("MY_MEAL_PLAN_PLACE"),
1759
1790
  metadata: MealMapMyMealPlanPlaceMetadataSchema
1760
1791
  }),
1761
1792
  MealMapMarkerBaseSchema.extend({
1762
- layer: import_zod22.z.literal("NEARBY_FRIEND_MEAL_PLAN"),
1793
+ layer: import_zod23.z.literal("NEARBY_FRIEND_MEAL_PLAN"),
1763
1794
  metadata: MealMapNearbyFriendMealPlanMetadataSchema
1764
1795
  }),
1765
1796
  MealMapMarkerBaseSchema.extend({
1766
- layer: import_zod22.z.literal("FRIEND_RECORD_LOCATION"),
1797
+ layer: import_zod23.z.literal("FRIEND_RECORD_LOCATION"),
1767
1798
  metadata: MealMapFriendRecordLocationMetadataSchema
1768
1799
  }),
1769
1800
  MealMapMarkerBaseSchema.extend({
1770
- layer: import_zod22.z.literal("RESTAURANT_CANDIDATE"),
1801
+ layer: import_zod23.z.literal("RESTAURANT_CANDIDATE"),
1771
1802
  metadata: MealMapRestaurantCandidateMetadataSchema
1772
1803
  })
1773
1804
  ]);
1774
- var MealMapQuerySchema = import_zod22.z.object({
1775
- friendRecordDays: import_zod22.z.coerce.number().int().min(1).max(90).optional().default(7)
1805
+ var MealMapQuerySchema = import_zod23.z.object({
1806
+ friendRecordDays: import_zod23.z.coerce.number().int().min(1).max(90).optional().default(7)
1776
1807
  });
1777
- var MealMapResponseSchema = import_zod22.z.object({
1808
+ var MealMapResponseSchema = import_zod23.z.object({
1778
1809
  generatedAt: ISODateTimeStringSchema,
1779
- center: import_zod22.z.object({
1780
- lat: import_zod22.z.number().min(-90).max(90),
1781
- lng: import_zod22.z.number().min(-180).max(180),
1782
- source: import_zod22.z.enum(["LAST_KNOWN_LOCATION", "MY_MEAL_PLAN", "DEFAULT"])
1810
+ center: import_zod23.z.object({
1811
+ lat: import_zod23.z.number().min(-90).max(90),
1812
+ lng: import_zod23.z.number().min(-180).max(180),
1813
+ source: import_zod23.z.enum(["LAST_KNOWN_LOCATION", "MY_MEAL_PLAN", "DEFAULT"])
1783
1814
  }),
1784
- layers: import_zod22.z.object({
1785
- myMealPlanPlaces: import_zod22.z.array(MealMapMarkerSchema),
1786
- nearbyFriendMealPlans: import_zod22.z.array(MealMapMarkerSchema),
1787
- friendRecordLocations: import_zod22.z.array(MealMapMarkerSchema),
1788
- restaurantCandidates: import_zod22.z.array(MealMapMarkerSchema)
1815
+ layers: import_zod23.z.object({
1816
+ myMealPlanPlaces: import_zod23.z.array(MealMapMarkerSchema),
1817
+ nearbyFriendMealPlans: import_zod23.z.array(MealMapMarkerSchema),
1818
+ friendRecordLocations: import_zod23.z.array(MealMapMarkerSchema),
1819
+ restaurantCandidates: import_zod23.z.array(MealMapMarkerSchema)
1789
1820
  })
1790
1821
  });
1791
1822
 
@@ -1826,222 +1857,222 @@ function compareMealPlanNotificationsByPriority(channel) {
1826
1857
  }
1827
1858
 
1828
1859
  // src/domain/promotion/referral.schema.ts
1829
- var import_zod23 = require("zod");
1830
- var ReferralCreateResponseSchema = import_zod23.z.object({
1860
+ var import_zod24 = require("zod");
1861
+ var ReferralCreateResponseSchema = import_zod24.z.object({
1831
1862
  code: ReferralCodeSchema,
1832
- link: import_zod23.z.string().url(),
1863
+ link: import_zod24.z.string().url(),
1833
1864
  expiresAt: ISODateTimeStringSchema
1834
1865
  });
1835
- var ReferralItemResponseSchema = import_zod23.z.object({
1866
+ var ReferralItemResponseSchema = import_zod24.z.object({
1836
1867
  code: ReferralCodeSchema,
1837
1868
  createdAt: ISODateTimeStringSchema,
1838
1869
  expiresAt: ISODateTimeStringSchema,
1839
- used: import_zod23.z.boolean(),
1870
+ used: import_zod24.z.boolean(),
1840
1871
  usedByMemberId: MemberIdSchema.nullable(),
1841
- usedByUsername: import_zod23.z.string().nullable()
1872
+ usedByUsername: import_zod24.z.string().nullable()
1842
1873
  });
1843
- var RedeemReferralRequestSchema = import_zod23.z.object({
1874
+ var RedeemReferralRequestSchema = import_zod24.z.object({
1844
1875
  code: ReferralCodeSchema
1845
1876
  });
1846
1877
 
1847
1878
  // src/domain/promotion/coupon.schema.ts
1848
- var import_zod24 = require("zod");
1849
- var CouponTypeSchema = import_zod24.z.enum(["DISCOUNT", "SERVICE"]);
1850
- var CouponStatusSchema = import_zod24.z.enum(["UNUSED", "USED"]);
1851
- var CouponResponseSchema = import_zod24.z.object({
1879
+ var import_zod25 = require("zod");
1880
+ var CouponTypeSchema = import_zod25.z.enum(["DISCOUNT", "SERVICE"]);
1881
+ var CouponStatusSchema = import_zod25.z.enum(["UNUSED", "USED"]);
1882
+ var CouponResponseSchema = import_zod25.z.object({
1852
1883
  couponId: CouponIdSchema,
1853
- title: import_zod24.z.string(),
1854
- shopName: import_zod24.z.string(),
1884
+ title: import_zod25.z.string(),
1885
+ shopName: import_zod25.z.string(),
1855
1886
  type: CouponTypeSchema,
1856
- condition: import_zod24.z.string(),
1887
+ condition: import_zod25.z.string(),
1857
1888
  expiresAt: ISODateStringSchema,
1858
- used: import_zod24.z.boolean(),
1859
- thumbnailUrl: import_zod24.z.string().url()
1889
+ used: import_zod25.z.boolean(),
1890
+ thumbnailUrl: import_zod25.z.string().url()
1860
1891
  });
1861
1892
 
1862
1893
  // src/domain/promotion/challenge.schema.ts
1863
- var import_zod25 = require("zod");
1864
- var RewardTypeSchema = import_zod25.z.enum(["WEEK", "MONTH"]);
1865
- var WeekProgressSchema = import_zod25.z.object({
1866
- days: import_zod25.z.array(import_zod25.z.boolean()),
1867
- completed: import_zod25.z.number().int().min(0),
1868
- goal: import_zod25.z.number().int().positive()
1894
+ var import_zod26 = require("zod");
1895
+ var RewardTypeSchema = import_zod26.z.enum(["WEEK", "MONTH"]);
1896
+ var WeekProgressSchema = import_zod26.z.object({
1897
+ days: import_zod26.z.array(import_zod26.z.boolean()),
1898
+ completed: import_zod26.z.number().int().min(0),
1899
+ goal: import_zod26.z.number().int().positive()
1869
1900
  });
1870
- var MonthProgressSchema = import_zod25.z.object({
1871
- count: import_zod25.z.number().int().min(0),
1872
- goal: import_zod25.z.number().int().positive()
1901
+ var MonthProgressSchema = import_zod26.z.object({
1902
+ count: import_zod26.z.number().int().min(0),
1903
+ goal: import_zod26.z.number().int().positive()
1873
1904
  });
1874
- var ChallengeStatusResponseSchema = import_zod25.z.object({
1905
+ var ChallengeStatusResponseSchema = import_zod26.z.object({
1875
1906
  week: WeekProgressSchema,
1876
1907
  month: MonthProgressSchema,
1877
- weekRewardAvailable: import_zod25.z.boolean(),
1878
- monthRewardAvailable: import_zod25.z.boolean()
1908
+ weekRewardAvailable: import_zod26.z.boolean(),
1909
+ monthRewardAvailable: import_zod26.z.boolean()
1879
1910
  });
1880
- var ClaimChallengeRewardRequestSchema = import_zod25.z.object({
1911
+ var ClaimChallengeRewardRequestSchema = import_zod26.z.object({
1881
1912
  type: RewardTypeSchema
1882
1913
  });
1883
- var ClaimChallengeRewardResponseSchema = import_zod25.z.object({
1914
+ var ClaimChallengeRewardResponseSchema = import_zod26.z.object({
1884
1915
  rewardType: RewardTypeSchema,
1885
- claimed: import_zod25.z.boolean()
1916
+ claimed: import_zod26.z.boolean()
1886
1917
  });
1887
1918
 
1888
1919
  // src/domain/push/push.schema.ts
1889
- var import_zod26 = require("zod");
1890
- var PushProviderSchema = import_zod26.z.enum(["FCM", "APNS_LIVE_ACTIVITY"]);
1891
- var PushPlatformSchema = import_zod26.z.enum(["WEB", "ANDROID", "IOS"]);
1892
- var PushPermissionStatusSchema = import_zod26.z.enum([
1920
+ var import_zod27 = require("zod");
1921
+ var PushProviderSchema = import_zod27.z.enum(["FCM", "APNS_LIVE_ACTIVITY"]);
1922
+ var PushPlatformSchema = import_zod27.z.enum(["WEB", "ANDROID", "IOS"]);
1923
+ var PushPermissionStatusSchema = import_zod27.z.enum([
1893
1924
  "UNKNOWN",
1894
1925
  "PROMPT",
1895
1926
  "GRANTED",
1896
1927
  "DENIED"
1897
1928
  ]);
1898
- var PushTokenStatusSchema = import_zod26.z.enum(["ACTIVE", "REVOKED", "DISABLED"]);
1899
- var RegisterPushTokenRequestSchema = import_zod26.z.object({
1929
+ var PushTokenStatusSchema = import_zod27.z.enum(["ACTIVE", "REVOKED", "DISABLED"]);
1930
+ var RegisterPushTokenRequestSchema = import_zod27.z.object({
1900
1931
  provider: PushProviderSchema.default("FCM"),
1901
1932
  platform: PushPlatformSchema,
1902
- token: import_zod26.z.string().min(10),
1903
- deviceId: import_zod26.z.string().min(1).max(128),
1904
- appVersion: import_zod26.z.string().min(1).max(64).optional(),
1905
- buildNumber: import_zod26.z.string().min(1).max(64).optional(),
1933
+ token: import_zod27.z.string().min(10),
1934
+ deviceId: import_zod27.z.string().min(1).max(128),
1935
+ appVersion: import_zod27.z.string().min(1).max(64).optional(),
1936
+ buildNumber: import_zod27.z.string().min(1).max(64).optional(),
1906
1937
  permissionStatus: PushPermissionStatusSchema
1907
1938
  });
1908
- var RevokePushTokenRequestSchema = import_zod26.z.object({
1939
+ var RevokePushTokenRequestSchema = import_zod27.z.object({
1909
1940
  provider: PushProviderSchema.default("FCM"),
1910
- token: import_zod26.z.string().min(10).optional(),
1911
- deviceId: import_zod26.z.string().min(1).max(128).optional()
1941
+ token: import_zod27.z.string().min(10).optional(),
1942
+ deviceId: import_zod27.z.string().min(1).max(128).optional()
1912
1943
  });
1913
- var PushTokenResponseSchema = import_zod26.z.object({
1914
- pushTokenId: import_zod26.z.string().uuid(),
1944
+ var PushTokenResponseSchema = import_zod27.z.object({
1945
+ pushTokenId: import_zod27.z.string().uuid(),
1915
1946
  provider: PushProviderSchema,
1916
1947
  platform: PushPlatformSchema,
1917
- deviceId: import_zod26.z.string(),
1948
+ deviceId: import_zod27.z.string(),
1918
1949
  status: PushTokenStatusSchema,
1919
1950
  permissionStatus: PushPermissionStatusSchema,
1920
- appVersion: import_zod26.z.string().nullable(),
1921
- buildNumber: import_zod26.z.string().nullable(),
1951
+ appVersion: import_zod27.z.string().nullable(),
1952
+ buildNumber: import_zod27.z.string().nullable(),
1922
1953
  lastSeenAt: ISODateTimeStringSchema,
1923
1954
  revokedAt: ISODateTimeStringSchema.nullable()
1924
1955
  });
1925
- var PushPayloadSchemaVersionSchema = import_zod26.z.literal("2026-06-17");
1926
- var MealPlanPushPayloadDataSchema = import_zod26.z.object({
1956
+ var PushPayloadSchemaVersionSchema = import_zod27.z.literal("2026-06-17");
1957
+ var MealPlanPushPayloadDataSchema = import_zod27.z.object({
1927
1958
  schemaVersion: PushPayloadSchemaVersionSchema,
1928
- notificationId: import_zod26.z.string().min(1),
1959
+ notificationId: import_zod27.z.string().min(1),
1929
1960
  kind: MealPlanNotificationKindSchema,
1930
1961
  mealPlanId: MealPlanIdSchema,
1931
- deepLink: import_zod26.z.string().min(1),
1932
- title: import_zod26.z.string().min(1),
1933
- body: import_zod26.z.string().min(1),
1934
- fcmPriority: import_zod26.z.coerce.number().int().min(0),
1935
- liveActivityPriority: import_zod26.z.coerce.number().int().min(0),
1962
+ deepLink: import_zod27.z.string().min(1),
1963
+ title: import_zod27.z.string().min(1),
1964
+ body: import_zod27.z.string().min(1),
1965
+ fcmPriority: import_zod27.z.coerce.number().int().min(0),
1966
+ liveActivityPriority: import_zod27.z.coerce.number().int().min(0),
1936
1967
  liveActivityBehavior: MealPlanLiveActivityBehaviorSchema
1937
1968
  });
1938
- var PushDeliveryStatusSchema = import_zod26.z.enum([
1969
+ var PushDeliveryStatusSchema = import_zod27.z.enum([
1939
1970
  "PENDING",
1940
1971
  "SENT",
1941
1972
  "FAILED",
1942
1973
  "SKIPPED"
1943
1974
  ]);
1944
- var PushDeliveryAttemptResultSchema = import_zod26.z.enum([
1975
+ var PushDeliveryAttemptResultSchema = import_zod27.z.enum([
1945
1976
  "SENT",
1946
1977
  "FAILED",
1947
1978
  "SKIPPED"
1948
1979
  ]);
1949
- var PushDeliveryAttemptSummarySchema = import_zod26.z.object({
1950
- attemptId: import_zod26.z.string().uuid(),
1951
- outboxId: import_zod26.z.string().uuid(),
1952
- pushTokenId: import_zod26.z.string().uuid().nullable(),
1980
+ var PushDeliveryAttemptSummarySchema = import_zod27.z.object({
1981
+ attemptId: import_zod27.z.string().uuid(),
1982
+ outboxId: import_zod27.z.string().uuid(),
1983
+ pushTokenId: import_zod27.z.string().uuid().nullable(),
1953
1984
  provider: PushProviderSchema,
1954
1985
  result: PushDeliveryAttemptResultSchema,
1955
- providerMessageId: import_zod26.z.string().nullable(),
1956
- errorCode: import_zod26.z.string().nullable(),
1957
- errorMessage: import_zod26.z.string().nullable(),
1958
- invalidToken: import_zod26.z.boolean(),
1986
+ providerMessageId: import_zod27.z.string().nullable(),
1987
+ errorCode: import_zod27.z.string().nullable(),
1988
+ errorMessage: import_zod27.z.string().nullable(),
1989
+ invalidToken: import_zod27.z.boolean(),
1959
1990
  createdAt: ISODateTimeStringSchema
1960
1991
  });
1961
- var PushDeliveryOutboxSummarySchema = import_zod26.z.object({
1962
- outboxId: import_zod26.z.string().uuid(),
1963
- notificationId: import_zod26.z.string().min(1),
1964
- memberId: import_zod26.z.number().int().positive(),
1992
+ var PushDeliveryOutboxSummarySchema = import_zod27.z.object({
1993
+ outboxId: import_zod27.z.string().uuid(),
1994
+ notificationId: import_zod27.z.string().min(1),
1995
+ memberId: import_zod27.z.number().int().positive(),
1965
1996
  status: PushDeliveryStatusSchema,
1966
- attemptCount: import_zod26.z.number().int().min(0),
1967
- lastError: import_zod26.z.string().nullable(),
1997
+ attemptCount: import_zod27.z.number().int().min(0),
1998
+ lastError: import_zod27.z.string().nullable(),
1968
1999
  nextAttemptAt: ISODateTimeStringSchema.nullable(),
1969
2000
  sentAt: ISODateTimeStringSchema.nullable(),
1970
2001
  createdAt: ISODateTimeStringSchema
1971
2002
  });
1972
2003
 
1973
2004
  // src/domain/live-activity/live-activity.schema.ts
1974
- var import_zod27 = require("zod");
1975
- var MealPlanLiveActivityPlatformSchema = import_zod27.z.enum([
2005
+ var import_zod28 = require("zod");
2006
+ var MealPlanLiveActivityPlatformSchema = import_zod28.z.enum([
1976
2007
  "IOS_LIVE_ACTIVITY",
1977
2008
  "ANDROID_LIVE_UPDATE"
1978
2009
  ]);
1979
- var MealPlanLiveActivitySessionStatusSchema = import_zod27.z.enum([
2010
+ var MealPlanLiveActivitySessionStatusSchema = import_zod28.z.enum([
1980
2011
  "ACTIVE",
1981
2012
  "ENDED",
1982
2013
  "EXPIRED",
1983
2014
  "DISABLED"
1984
2015
  ]);
1985
- var MealPlanLiveActivityUpdateStatusSchema = import_zod27.z.enum([
2016
+ var MealPlanLiveActivityUpdateStatusSchema = import_zod28.z.enum([
1986
2017
  "PENDING",
1987
2018
  "SENT",
1988
2019
  "FAILED",
1989
2020
  "SKIPPED"
1990
2021
  ]);
1991
- var RegisterMealPlanLiveActivitySessionRequestSchema = import_zod27.z.object({
2022
+ var RegisterMealPlanLiveActivitySessionRequestSchema = import_zod28.z.object({
1992
2023
  platform: MealPlanLiveActivityPlatformSchema,
1993
- deviceId: import_zod27.z.string().min(1).max(128),
1994
- activityId: import_zod27.z.string().min(1).max(128),
1995
- pushToken: import_zod27.z.string().min(10).optional(),
1996
- appVersion: import_zod27.z.string().min(1).max(64).optional(),
1997
- buildNumber: import_zod27.z.string().min(1).max(64).optional()
2024
+ deviceId: import_zod28.z.string().min(1).max(128),
2025
+ activityId: import_zod28.z.string().min(1).max(128),
2026
+ pushToken: import_zod28.z.string().min(10).optional(),
2027
+ appVersion: import_zod28.z.string().min(1).max(64).optional(),
2028
+ buildNumber: import_zod28.z.string().min(1).max(64).optional()
1998
2029
  });
1999
- var EndMealPlanLiveActivitySessionRequestSchema = import_zod27.z.object({
2030
+ var EndMealPlanLiveActivitySessionRequestSchema = import_zod28.z.object({
2000
2031
  platform: MealPlanLiveActivityPlatformSchema.optional(),
2001
- deviceId: import_zod27.z.string().min(1).max(128).optional(),
2002
- activityId: import_zod27.z.string().min(1).max(128).optional()
2032
+ deviceId: import_zod28.z.string().min(1).max(128).optional(),
2033
+ activityId: import_zod28.z.string().min(1).max(128).optional()
2003
2034
  });
2004
- var MealPlanLiveActivityStateSchema = import_zod27.z.object({
2035
+ var MealPlanLiveActivityStateSchema = import_zod28.z.object({
2005
2036
  mealPlanId: MealPlanIdSchema,
2006
- title: import_zod27.z.string().min(1),
2007
- status: import_zod27.z.string().min(1),
2037
+ title: import_zod28.z.string().min(1),
2038
+ status: import_zod28.z.string().min(1),
2008
2039
  scheduledAt: ISODateTimeStringSchema.nullable(),
2009
- restaurantName: import_zod27.z.string().nullable(),
2010
- placeName: import_zod27.z.string().nullable(),
2011
- deepLink: import_zod27.z.string().min(1),
2012
- progressLabel: import_zod27.z.string().min(1),
2040
+ restaurantName: import_zod28.z.string().nullable(),
2041
+ placeName: import_zod28.z.string().nullable(),
2042
+ deepLink: import_zod28.z.string().min(1),
2043
+ progressLabel: import_zod28.z.string().min(1),
2013
2044
  updatedAt: ISODateTimeStringSchema
2014
2045
  });
2015
- var MealPlanLiveActivitySessionResponseSchema = import_zod27.z.object({
2016
- sessionId: import_zod27.z.string().uuid(),
2046
+ var MealPlanLiveActivitySessionResponseSchema = import_zod28.z.object({
2047
+ sessionId: import_zod28.z.string().uuid(),
2017
2048
  mealPlanId: MealPlanIdSchema,
2018
- memberId: import_zod27.z.number().int().positive(),
2049
+ memberId: import_zod28.z.number().int().positive(),
2019
2050
  platform: MealPlanLiveActivityPlatformSchema,
2020
2051
  devicePlatform: PushPlatformSchema,
2021
- deviceId: import_zod27.z.string(),
2022
- activityId: import_zod27.z.string(),
2052
+ deviceId: import_zod28.z.string(),
2053
+ activityId: import_zod28.z.string(),
2023
2054
  status: MealPlanLiveActivitySessionStatusSchema,
2024
- appVersion: import_zod27.z.string().nullable(),
2025
- buildNumber: import_zod27.z.string().nullable(),
2055
+ appVersion: import_zod28.z.string().nullable(),
2056
+ buildNumber: import_zod28.z.string().nullable(),
2026
2057
  lastEventKind: MealPlanNotificationKindSchema.nullable(),
2027
2058
  lastBehavior: MealPlanLiveActivityBehaviorSchema.nullable(),
2028
2059
  lastUpdateStatus: MealPlanLiveActivityUpdateStatusSchema.nullable(),
2029
- lastError: import_zod27.z.string().nullable(),
2060
+ lastError: import_zod28.z.string().nullable(),
2030
2061
  startedAt: ISODateTimeStringSchema,
2031
2062
  endedAt: ISODateTimeStringSchema.nullable(),
2032
2063
  updatedAt: ISODateTimeStringSchema
2033
2064
  });
2034
- var MealPlanLiveActivitySessionListResponseSchema = import_zod27.z.object({
2065
+ var MealPlanLiveActivitySessionListResponseSchema = import_zod28.z.object({
2035
2066
  mealPlanId: MealPlanIdSchema,
2036
2067
  state: MealPlanLiveActivityStateSchema,
2037
- sessions: import_zod27.z.array(MealPlanLiveActivitySessionResponseSchema)
2068
+ sessions: import_zod28.z.array(MealPlanLiveActivitySessionResponseSchema)
2038
2069
  });
2039
2070
 
2040
2071
  // src/domain/common/contracts/endpoint.ts
2041
- var import_zod28 = require("zod");
2042
- var NoBodySchema = import_zod28.z.undefined();
2043
- var NoQuerySchema = import_zod28.z.undefined();
2044
- var NoParamsSchema = import_zod28.z.undefined();
2072
+ var import_zod29 = require("zod");
2073
+ var NoBodySchema = import_zod29.z.undefined();
2074
+ var NoQuerySchema = import_zod29.z.undefined();
2075
+ var NoParamsSchema = import_zod29.z.undefined();
2045
2076
  var endpoint = (contract) => ({
2046
2077
  method: contract.method,
2047
2078
  path: contract.path,
@@ -2052,12 +2083,12 @@ var endpoint = (contract) => ({
2052
2083
  });
2053
2084
 
2054
2085
  // src/domain/common/contracts/api.ts
2055
- var memberIdParam = import_zod29.z.object({ memberId: MemberIdSchema });
2056
- var articleIdParam = import_zod29.z.object({ articleId: ArticleIdSchema });
2057
- var commentIdParam = import_zod29.z.object({ commentId: CommentIdSchema });
2058
- var mealPlanIdParam = import_zod29.z.object({ mealPlanId: MealPlanIdSchema });
2059
- var mealPlanInviteIdParam = import_zod29.z.object({ inviteId: MealPlanInviteIdSchema });
2060
- var mealPlanJoinRequestIdParam = import_zod29.z.object({ requestId: MealPlanJoinRequestIdSchema });
2086
+ var memberIdParam = import_zod30.z.object({ memberId: MemberIdSchema });
2087
+ var articleIdParam = import_zod30.z.object({ articleId: ArticleIdSchema });
2088
+ var commentIdParam = import_zod30.z.object({ commentId: CommentIdSchema });
2089
+ var mealPlanIdParam = import_zod30.z.object({ mealPlanId: MealPlanIdSchema });
2090
+ var mealPlanInviteIdParam = import_zod30.z.object({ inviteId: MealPlanInviteIdSchema });
2091
+ var mealPlanJoinRequestIdParam = import_zod30.z.object({ requestId: MealPlanJoinRequestIdSchema });
2061
2092
  var mealPlanDecisionStageIdParam = mealPlanIdParam.extend({
2062
2093
  stageId: MealPlanDecisionStageIdSchema
2063
2094
  });
@@ -2068,18 +2099,18 @@ var mealPlanDecisionTaskKeyParam = mealPlanIdParam.extend({
2068
2099
  taskKey: MealPlanDecisionTaskKeySchema
2069
2100
  });
2070
2101
  var mealPlanDecisionSnapshotIdParam = mealPlanIdParam.extend({
2071
- snapshotId: import_zod29.z.string().uuid()
2102
+ snapshotId: import_zod30.z.string().uuid()
2072
2103
  });
2073
2104
  var mealPlanParticipantIdParam = mealPlanIdParam.extend({
2074
- participantId: import_zod29.z.string().uuid()
2105
+ participantId: import_zod30.z.string().uuid()
2075
2106
  });
2076
- var mealPlanShareTokenParam = import_zod29.z.object({ token: MealPlanShareLinkTokenSchema });
2077
- var notificationIdParam = import_zod29.z.object({ notificationId: import_zod29.z.string().min(1) });
2078
- var couponIdParam = import_zod29.z.object({ couponId: CouponIdSchema });
2079
- var mealGroupIdParam = import_zod29.z.object({ mealGroupId: MealGroupIdSchema });
2107
+ var mealPlanShareTokenParam = import_zod30.z.object({ token: MealPlanShareLinkTokenSchema });
2108
+ var notificationIdParam = import_zod30.z.object({ notificationId: import_zod30.z.string().min(1) });
2109
+ var couponIdParam = import_zod30.z.object({ couponId: CouponIdSchema });
2110
+ var mealGroupIdParam = import_zod30.z.object({ mealGroupId: MealGroupIdSchema });
2080
2111
  var mealGroupMemberIdParam = mealGroupIdParam.extend({ memberId: MemberIdSchema });
2081
- var friendRequestIdParam = import_zod29.z.object({ requestId: FriendRequestIdSchema });
2082
- var sseTokenQuery = import_zod29.z.object({ token: import_zod29.z.string().min(1) });
2112
+ var friendRequestIdParam = import_zod30.z.object({ requestId: FriendRequestIdSchema });
2113
+ var sseTokenQuery = import_zod30.z.object({ token: import_zod30.z.string().min(1) });
2083
2114
  var apiContract = {
2084
2115
  auth: {
2085
2116
  signup: endpoint({ method: "POST", path: "/auth/signup", body: SignupRequestSchema, response: SignupResponseSchema }),
@@ -2107,7 +2138,7 @@ var apiContract = {
2107
2138
  mealStatus: {
2108
2139
  my: endpoint({ method: "GET", path: "/members/me/meal-status", response: MealStatusResponseSchema }),
2109
2140
  updateMealStatus: endpoint({ method: "PATCH", path: "/members/me/meal-status", body: UpdateMealStatusRequestSchema, response: NoContentSchema }),
2110
- friendMealStatus: endpoint({ method: "GET", path: "/friends/me/meals", query: FriendMealQuerySchema, response: import_zod29.z.array(FriendMealItemResponseSchema) })
2141
+ friendMealStatus: endpoint({ method: "GET", path: "/friends/me/meals", query: FriendMealQuerySchema, response: import_zod30.z.array(FriendMealItemResponseSchema) })
2111
2142
  },
2112
2143
  articles: {
2113
2144
  list: endpoint({ method: "GET", path: "/articles/home", query: ArticleListQuerySchema, response: PageArticleSummaryResponseSchema }),
@@ -2146,11 +2177,10 @@ var apiContract = {
2146
2177
  exposeNearbyFriends: endpoint({ method: "POST", path: "/meal-plans/:mealPlanId/nearby-friends/expose", pathParams: mealPlanIdParam, body: ExposeMealPlanToNearbyFriendsRequestSchema, response: ExposeMealPlanToNearbyFriendsResponseSchema }),
2147
2178
  closeNearbyFriends: endpoint({ method: "DELETE", path: "/meal-plans/:mealPlanId/nearby-friends/expose", pathParams: mealPlanIdParam, response: NoContentSchema }),
2148
2179
  nearbyFriendExposureEligibility: endpoint({ method: "GET", path: "/meal-plans/nearby-friends/eligibility", response: NearbyFriendExposureEligibilitySchema }),
2149
- nearbyFriends: endpoint({ method: "GET", path: "/meal-plans/nearby-friends", response: import_zod29.z.array(NearbyFriendMealPlanSummarySchema) }),
2180
+ nearbyFriends: endpoint({ method: "GET", path: "/meal-plans/nearby-friends", response: import_zod30.z.array(NearbyFriendMealPlanSummarySchema) }),
2150
2181
  requestJoin: endpoint({ method: "POST", path: "/meal-plans/:mealPlanId/join-requests", pathParams: mealPlanIdParam, body: CreateMealPlanJoinRequestSchema, response: CreatedEntityIdResponseSchema }),
2151
2182
  acceptJoinRequest: endpoint({ method: "POST", path: "/meal-plans/join-requests/:requestId/accept", pathParams: mealPlanJoinRequestIdParam, response: MealPlanResponseSchema }),
2152
2183
  rejectJoinRequest: endpoint({ method: "POST", path: "/meal-plans/join-requests/:requestId/reject", pathParams: mealPlanJoinRequestIdParam, response: NoContentSchema }),
2153
- vote: endpoint({ method: "POST", path: "/meal-plans/:mealPlanId/stages/:stageId/votes", pathParams: mealPlanDecisionStageIdParam, body: CreateMealPlanVoteRequestSchema, response: MealPlanResponseSchema }),
2154
2184
  completeStage: endpoint({ method: "POST", path: "/meal-plans/:mealPlanId/stages/:stageId/complete", pathParams: mealPlanDecisionStageIdParam, body: CompleteMealPlanDecisionStageRequestSchema, response: MealPlanResponseSchema }),
2155
2185
  decisionProgress: endpoint({ method: "GET", path: "/meal-plans/:mealPlanId/decision-progress", pathParams: mealPlanIdParam, response: MealPlanDecisionProgressSchema }),
2156
2186
  reopenDecisionTask: endpoint({ method: "POST", path: "/meal-plans/:mealPlanId/decision-tasks/:taskKey/reopen", pathParams: mealPlanDecisionTaskKeyParam, body: ReopenMealPlanDecisionTaskRequestSchema, response: MealPlanResponseSchema }),
@@ -2163,7 +2193,7 @@ var apiContract = {
2163
2193
  },
2164
2194
  mealGroups: {
2165
2195
  create: endpoint({ method: "POST", path: "/meal-groups", body: CreateMealGroupRequestSchema, response: MealGroupResponseSchema }),
2166
- list: endpoint({ method: "GET", path: "/meal-groups", response: import_zod29.z.array(MealGroupResponseSchema) }),
2196
+ list: endpoint({ method: "GET", path: "/meal-groups", response: import_zod30.z.array(MealGroupResponseSchema) }),
2167
2197
  detail: endpoint({ method: "GET", path: "/meal-groups/:mealGroupId", pathParams: mealGroupIdParam, response: MealGroupResponseSchema }),
2168
2198
  startMealPlan: endpoint({ method: "POST", path: "/meal-groups/:mealGroupId/meal-plans", pathParams: mealGroupIdParam, body: StartMealPlanFromGroupRequestSchema, response: CreateMealPlanResponseSchema }),
2169
2199
  history: endpoint({ method: "GET", path: "/meal-groups/:mealGroupId/history", pathParams: mealGroupIdParam, response: MealGroupHistoryResponseSchema }),
@@ -2173,11 +2203,11 @@ var apiContract = {
2173
2203
  removeMember: endpoint({ method: "DELETE", path: "/meal-groups/:mealGroupId/members/:memberId", pathParams: mealGroupMemberIdParam, response: MealGroupResponseSchema })
2174
2204
  },
2175
2205
  friends: {
2176
- list: endpoint({ method: "GET", path: "/friends", response: import_zod29.z.array(FriendListItemResponseSchema) }),
2177
- blockList: endpoint({ method: "GET", path: "/friends/blocks", response: import_zod29.z.array(FriendBlockItemResponseSchema) }),
2206
+ list: endpoint({ method: "GET", path: "/friends", response: import_zod30.z.array(FriendListItemResponseSchema) }),
2207
+ blockList: endpoint({ method: "GET", path: "/friends/blocks", response: import_zod30.z.array(FriendBlockItemResponseSchema) }),
2178
2208
  search: endpoint({ method: "GET", path: "/friends/search", query: MemberSearchQuerySchema, response: MemberSerachResponseSchema }),
2179
- incomingRequest: endpoint({ method: "GET", path: "/friends/requests/incoming", response: import_zod29.z.array(FriendRequestItemResponseSchema) }),
2180
- outgoingRequest: endpoint({ method: "GET", path: "/friends/requests/outgoing", response: import_zod29.z.array(FriendRequestItemResponseSchema) }),
2209
+ incomingRequest: endpoint({ method: "GET", path: "/friends/requests/incoming", response: import_zod30.z.array(FriendRequestItemResponseSchema) }),
2210
+ outgoingRequest: endpoint({ method: "GET", path: "/friends/requests/outgoing", response: import_zod30.z.array(FriendRequestItemResponseSchema) }),
2181
2211
  sendRequest: endpoint({ method: "POST", path: "/friends/requests/:memberId", pathParams: memberIdParam, response: NoContentSchema }),
2182
2212
  acceptRequest: endpoint({ method: "POST", path: "/friends/requests/:requestId/accept", pathParams: friendRequestIdParam, response: NoContentSchema }),
2183
2213
  rejectRequest: endpoint({ method: "POST", path: "/friends/requests/:requestId/reject", pathParams: friendRequestIdParam, response: NoContentSchema }),
@@ -2187,7 +2217,7 @@ var apiContract = {
2187
2217
  unfriend: endpoint({ method: "DELETE", path: "/friends/:memberId", pathParams: memberIdParam, response: NoContentSchema })
2188
2218
  },
2189
2219
  coupons: {
2190
- list: endpoint({ method: "GET", path: "/coupons", response: import_zod29.z.array(CouponResponseSchema) }),
2220
+ list: endpoint({ method: "GET", path: "/coupons", response: import_zod30.z.array(CouponResponseSchema) }),
2191
2221
  use: endpoint({ method: "POST", path: "/coupons/:couponId/use", pathParams: couponIdParam, response: NoContentSchema })
2192
2222
  },
2193
2223
  challenges: {
@@ -2195,17 +2225,17 @@ var apiContract = {
2195
2225
  claimReward: endpoint({ method: "POST", path: "/challenges/rewards", body: ClaimChallengeRewardRequestSchema, response: NoContentSchema })
2196
2226
  },
2197
2227
  referrals: {
2198
- list: endpoint({ method: "GET", path: "/referrals", response: import_zod29.z.array(ReferralItemResponseSchema) }),
2228
+ list: endpoint({ method: "GET", path: "/referrals", response: import_zod30.z.array(ReferralItemResponseSchema) }),
2199
2229
  create: endpoint({ method: "POST", path: "/referrals", response: ReferralCreateResponseSchema }),
2200
2230
  redeem: endpoint({ method: "POST", path: "/referrals/redeem", body: RedeemReferralRequestSchema, response: NoContentSchema })
2201
2231
  },
2202
2232
  notifications: {
2203
- list: endpoint({ method: "GET", path: "/notifications", response: import_zod29.z.array(MealPlanNotificationSchema) }),
2233
+ list: endpoint({ method: "GET", path: "/notifications", response: import_zod30.z.array(MealPlanNotificationSchema) }),
2204
2234
  markRead: endpoint({ method: "PATCH", path: "/notifications/:notificationId/read", pathParams: notificationIdParam, response: MealPlanNotificationSchema }),
2205
2235
  delete: endpoint({ method: "DELETE", path: "/notifications/:notificationId", pathParams: notificationIdParam, response: NoContentSchema })
2206
2236
  },
2207
2237
  pushTokens: {
2208
- list: endpoint({ method: "GET", path: "/push-tokens", response: import_zod29.z.array(PushTokenResponseSchema) }),
2238
+ list: endpoint({ method: "GET", path: "/push-tokens", response: import_zod30.z.array(PushTokenResponseSchema) }),
2209
2239
  register: endpoint({ method: "POST", path: "/push-tokens", body: RegisterPushTokenRequestSchema, response: PushTokenResponseSchema }),
2210
2240
  revoke: endpoint({ method: "POST", path: "/push-tokens/revoke", body: RevokePushTokenRequestSchema, response: NoContentSchema })
2211
2241
  },
@@ -2215,10 +2245,10 @@ var apiContract = {
2215
2245
  endMealPlanSessions: endpoint({ method: "POST", path: "/meal-plans/:mealPlanId/live-activity/end", pathParams: mealPlanIdParam, body: EndMealPlanLiveActivitySessionRequestSchema, response: NoContentSchema })
2216
2246
  },
2217
2247
  sse: {
2218
- notifications: endpoint({ method: "GET", path: "/sse/notifications", query: sseTokenQuery, response: import_zod29.z.any() })
2248
+ notifications: endpoint({ method: "GET", path: "/sse/notifications", query: sseTokenQuery, response: import_zod30.z.any() })
2219
2249
  },
2220
2250
  health: {
2221
- healthCheck: endpoint({ method: "GET", path: "/", response: import_zod29.z.string() })
2251
+ healthCheck: endpoint({ method: "GET", path: "/", response: import_zod30.z.string() })
2222
2252
  }
2223
2253
  };
2224
2254
 
@@ -2386,6 +2416,12 @@ var FOOD_IMAGE_INDEX_PATH = "/manifests/food-image-index.json";
2386
2416
  MealPlanDecisionTaskKeySchema,
2387
2417
  MealPlanDecisionTaskProgressSchema,
2388
2418
  MealPlanDecisionTaskStatusSchema,
2419
+ MealPlanDecisionVoteSocketAckSchema,
2420
+ MealPlanDecisionVoteSocketErrorSchema,
2421
+ MealPlanDecisionVoteSocketEvent,
2422
+ MealPlanDecisionVoteSocketFailureAckSchema,
2423
+ MealPlanDecisionVoteSocketPayloadSchema,
2424
+ MealPlanDecisionVoteSocketSuccessAckSchema,
2389
2425
  MealPlanGuestParticipantSchema,
2390
2426
  MealPlanGuestSessionQuerySchema,
2391
2427
  MealPlanGuestSessionResponseSchema,