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