@kimdaegyu/babmukdang-shared 2.0.6 → 2.0.7

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