@kimdaegyu/babmukdang-shared 2.0.5 → 2.0.6
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/{chunk-3TY6OPD3.js → chunk-5FPYU6NF.js} +2 -2
- package/dist/{chunk-ITXM3XFJ.js → chunk-C7JONACW.js} +4 -4
- package/dist/{chunk-WYBFBLQC.js → chunk-KWJE3RYS.js} +1 -1
- package/dist/{chunk-GOOH2LGN.js → chunk-LXRTJPS5.js} +19 -5
- package/dist/{chunk-S2Q64AFI.js → chunk-OLQ2HIKV.js} +11 -17
- package/dist/{chunk-7FNZBMB2.js → chunk-TWX7TUMW.js} +118 -145
- package/dist/domain/common/index.cjs +17 -5
- package/dist/domain/common/index.js +5 -5
- package/dist/domain/index.cjs +275 -290
- package/dist/domain/index.d.cts +7 -9
- package/dist/domain/index.d.ts +7 -9
- package/dist/domain/index.js +12 -18
- package/dist/domain/live-activity/index.cjs +17 -5
- package/dist/domain/live-activity/index.js +4 -4
- package/dist/domain/meal-plan/index.cjs +140 -155
- package/dist/domain/meal-plan/index.d.cts +132 -112
- package/dist/domain/meal-plan/index.d.ts +132 -112
- package/dist/domain/meal-plan/index.js +8 -14
- package/dist/domain/push/index.cjs +17 -5
- package/dist/domain/push/index.js +2 -2
- package/dist/index.cjs +272 -284
- package/dist/index.js +6 -6
- package/package.json +1 -1
package/dist/domain/index.cjs
CHANGED
|
@@ -160,13 +160,8 @@ __export(domain_exports, {
|
|
|
160
160
|
MealPlanDecisionStageTypeSchema: () => MealPlanDecisionStageTypeSchema,
|
|
161
161
|
MealPlanDecisionTaskKeySchema: () => MealPlanDecisionTaskKeySchema,
|
|
162
162
|
MealPlanDecisionTaskProgressSchema: () => MealPlanDecisionTaskProgressSchema,
|
|
163
|
+
MealPlanDecisionTaskReadyRequestSchema: () => MealPlanDecisionTaskReadyRequestSchema,
|
|
163
164
|
MealPlanDecisionTaskStatusSchema: () => MealPlanDecisionTaskStatusSchema,
|
|
164
|
-
MealPlanDecisionVoteSocketAckSchema: () => MealPlanDecisionVoteSocketAckSchema,
|
|
165
|
-
MealPlanDecisionVoteSocketErrorSchema: () => MealPlanDecisionVoteSocketErrorSchema,
|
|
166
|
-
MealPlanDecisionVoteSocketEvent: () => MealPlanDecisionVoteSocketEvent,
|
|
167
|
-
MealPlanDecisionVoteSocketFailureAckSchema: () => MealPlanDecisionVoteSocketFailureAckSchema,
|
|
168
|
-
MealPlanDecisionVoteSocketPayloadSchema: () => MealPlanDecisionVoteSocketPayloadSchema,
|
|
169
|
-
MealPlanDecisionVoteSocketSuccessAckSchema: () => MealPlanDecisionVoteSocketSuccessAckSchema,
|
|
170
165
|
MealPlanGuestParticipantSchema: () => MealPlanGuestParticipantSchema,
|
|
171
166
|
MealPlanGuestSessionQuerySchema: () => MealPlanGuestSessionQuerySchema,
|
|
172
167
|
MealPlanGuestSessionResponseSchema: () => MealPlanGuestSessionResponseSchema,
|
|
@@ -194,6 +189,7 @@ __export(domain_exports, {
|
|
|
194
189
|
MealPlanMenuCandidateIdSchema: () => MealPlanMenuCandidateIdSchema,
|
|
195
190
|
MealPlanMenuCandidateSchema: () => MealPlanMenuCandidateSchema,
|
|
196
191
|
MealPlanMenuCandidateSourceSchema: () => MealPlanMenuCandidateSourceSchema,
|
|
192
|
+
MealPlanMenuRecommendationStateSchema: () => MealPlanMenuRecommendationStateSchema,
|
|
197
193
|
MealPlanNearbyFriendExposureBatchIdSchema: () => MealPlanNearbyFriendExposureBatchIdSchema,
|
|
198
194
|
MealPlanNearbyFriendExposureBatchSummarySchema: () => MealPlanNearbyFriendExposureBatchSummarySchema,
|
|
199
195
|
MealPlanNearbyFriendExposureIdSchema: () => MealPlanNearbyFriendExposureIdSchema,
|
|
@@ -311,6 +307,7 @@ __export(domain_exports, {
|
|
|
311
307
|
getMealPlanLiveActivityBehavior: () => getMealPlanLiveActivityBehavior,
|
|
312
308
|
getMealPlanNotificationPriority: () => getMealPlanNotificationPriority,
|
|
313
309
|
getMealPlanNotificationPriorityPolicy: () => getMealPlanNotificationPriorityPolicy,
|
|
310
|
+
getMealPlanRestaurantProvisionCacheKey: () => getMealPlanRestaurantProvisionCacheKey,
|
|
314
311
|
makeApiResponseSchema: () => makeApiResponseSchema,
|
|
315
312
|
makeApiSuccessSchema: () => makeApiSuccessSchema,
|
|
316
313
|
shouldShowForegroundToast: () => shouldShowForegroundToast,
|
|
@@ -616,7 +613,7 @@ var SignupResponseSchema = import_zod8.z.object({
|
|
|
616
613
|
});
|
|
617
614
|
|
|
618
615
|
// src/domain/common/contracts/api.ts
|
|
619
|
-
var
|
|
616
|
+
var import_zod29 = require("zod");
|
|
620
617
|
|
|
621
618
|
// src/domain/common/schema/cache-invalidation.schema.ts
|
|
622
619
|
var import_zod9 = require("zod");
|
|
@@ -880,9 +877,7 @@ var MealPlanDecisionStageIdSchema = import_zod14.z.string().uuid().brand();
|
|
|
880
877
|
var MealPlanVoteIdSchema = import_zod14.z.string().uuid().brand();
|
|
881
878
|
var MealPlanLocationCandidateSourceSchema = import_zod14.z.enum([
|
|
882
879
|
"manual",
|
|
883
|
-
"map-marker",
|
|
884
880
|
"midpoint",
|
|
885
|
-
"user-location",
|
|
886
881
|
"search",
|
|
887
882
|
"recent-place",
|
|
888
883
|
"fallback"
|
|
@@ -909,8 +904,8 @@ var MealPlanMenuCandidateSchema = import_zod14.z.object({
|
|
|
909
904
|
menu: FoodSchema,
|
|
910
905
|
source: MealPlanMenuCandidateSourceSchema,
|
|
911
906
|
score: import_zod14.z.number().default(0),
|
|
912
|
-
imageUrl: import_zod14.z.string().min(1).nullable().
|
|
913
|
-
image: FoodCodeManifestImageSchema.nullable().
|
|
907
|
+
imageUrl: import_zod14.z.string().min(1).nullable().optional(),
|
|
908
|
+
image: FoodCodeManifestImageSchema.nullable().optional(),
|
|
914
909
|
createdAt: ISODateTimeStringSchema
|
|
915
910
|
});
|
|
916
911
|
var MealPlanRestaurantCandidateSchema = RestaurantSchema.extend({
|
|
@@ -947,8 +942,15 @@ var MealPlanRestaurantSearchStateSchema = import_zod14.z.object({
|
|
|
947
942
|
candidateCount: import_zod14.z.number().int().min(0),
|
|
948
943
|
errorMessage: import_zod14.z.string().nullable().default(null)
|
|
949
944
|
});
|
|
945
|
+
var MealPlanMenuRecommendationStateSchema = import_zod14.z.object({
|
|
946
|
+
preferenceKey: import_zod14.z.string().min(1),
|
|
947
|
+
generatedFromHash: import_zod14.z.string().min(1),
|
|
948
|
+
generatedAt: ISODateTimeStringSchema,
|
|
949
|
+
candidateCount: import_zod14.z.number().int().min(0)
|
|
950
|
+
});
|
|
950
951
|
var MealPlanDecisionStageMetadataSchema = import_zod14.z.object({
|
|
951
|
-
restaurantSearch: MealPlanRestaurantSearchStateSchema.optional()
|
|
952
|
+
restaurantSearch: MealPlanRestaurantSearchStateSchema.optional(),
|
|
953
|
+
menuRecommendation: MealPlanMenuRecommendationStateSchema.optional()
|
|
952
954
|
}).catchall(import_zod14.z.unknown());
|
|
953
955
|
var MealPlanVoteTypeSchema = import_zod14.z.enum([
|
|
954
956
|
"PICK",
|
|
@@ -1024,6 +1026,7 @@ var MealPlanDecisionTaskKeySchema = import_zod14.z.enum([
|
|
|
1024
1026
|
var MealPlanDecisionTaskStatusSchema = import_zod14.z.enum([
|
|
1025
1027
|
"LOCKED",
|
|
1026
1028
|
"OPEN",
|
|
1029
|
+
"READY",
|
|
1027
1030
|
"RESOLVED",
|
|
1028
1031
|
"STALE"
|
|
1029
1032
|
]);
|
|
@@ -1047,6 +1050,7 @@ var MealPlanDecisionReasonSchema = import_zod14.z.enum([
|
|
|
1047
1050
|
"TOP_PICKED_MENU",
|
|
1048
1051
|
"TOP_PICKED_RESTAURANT",
|
|
1049
1052
|
"OWNER_CONFIRMED",
|
|
1053
|
+
"TASK_ALL_READY",
|
|
1050
1054
|
"MANUAL_SELECTION"
|
|
1051
1055
|
]);
|
|
1052
1056
|
var MealPlanDecisionActorTypeSchema = import_zod14.z.enum(["MEMBER", "GUEST", "SYSTEM"]);
|
|
@@ -1072,6 +1076,8 @@ var MealPlanDecisionSnapshotSchema = import_zod14.z.object({
|
|
|
1072
1076
|
var MealPlanDecisionTaskProgressSchema = import_zod14.z.object({
|
|
1073
1077
|
taskKey: MealPlanDecisionTaskKeySchema,
|
|
1074
1078
|
status: MealPlanDecisionTaskStatusSchema,
|
|
1079
|
+
readyCount: import_zod14.z.number().int().min(0),
|
|
1080
|
+
participantCount: import_zod14.z.number().int().min(0),
|
|
1075
1081
|
blockers: import_zod14.z.array(import_zod14.z.string()).default([]),
|
|
1076
1082
|
updatedAt: ISODateTimeStringSchema
|
|
1077
1083
|
});
|
|
@@ -1085,6 +1091,9 @@ var MealPlanDecisionProgressSchema = import_zod14.z.object({
|
|
|
1085
1091
|
version: import_zod14.z.number().int().min(0),
|
|
1086
1092
|
updatedAt: ISODateTimeStringSchema
|
|
1087
1093
|
});
|
|
1094
|
+
var MealPlanDecisionTaskReadyRequestSchema = import_zod14.z.object({
|
|
1095
|
+
isReady: import_zod14.z.boolean()
|
|
1096
|
+
});
|
|
1088
1097
|
var ReopenMealPlanDecisionTaskRequestSchema = import_zod14.z.object({
|
|
1089
1098
|
reason: import_zod14.z.string().max(500).optional()
|
|
1090
1099
|
});
|
|
@@ -1589,252 +1598,231 @@ function getMealPlanDecisionCandidateKey(candidate) {
|
|
|
1589
1598
|
case "AREA":
|
|
1590
1599
|
return `AREA:${candidate.value.locationId}`;
|
|
1591
1600
|
case "MENU":
|
|
1592
|
-
return `MENU:${candidate.value.
|
|
1601
|
+
return `MENU:${candidate.value.menu.code}`;
|
|
1593
1602
|
case "RESTAURANT":
|
|
1594
1603
|
return `RESTAURANT:${candidate.value.candidateId ?? candidate.value.restaurantId}`;
|
|
1595
1604
|
case "FINAL_CONFIRMATION":
|
|
1596
1605
|
return "FINAL_CONFIRMATION:READY";
|
|
1597
1606
|
}
|
|
1607
|
+
return `UNKNOWN:${JSON.stringify(candidate)}`;
|
|
1608
|
+
}
|
|
1609
|
+
function getMealPlanRestaurantProvisionCacheKey(area, menu) {
|
|
1610
|
+
return `restaurant-search:${getMealPlanDecisionCandidateKey(area)}:${getMealPlanDecisionCandidateKey(menu)}`;
|
|
1598
1611
|
}
|
|
1599
|
-
|
|
1600
|
-
// src/domain/meal-plan/meal-plan.socket.ts
|
|
1601
|
-
var import_zod20 = require("zod");
|
|
1602
|
-
var MealPlanDecisionVoteSocketEvent = "mealPlan:decision:vote";
|
|
1603
|
-
var MealPlanDecisionVoteSocketPayloadSchema = CreateMealPlanVoteRequestSchema.extend({
|
|
1604
|
-
mealPlanId: MealPlanIdSchema,
|
|
1605
|
-
stageId: MealPlanDecisionStageIdSchema,
|
|
1606
|
-
guestSessionToken: import_zod20.z.string().min(1).optional()
|
|
1607
|
-
});
|
|
1608
|
-
var MealPlanDecisionVoteSocketErrorSchema = import_zod20.z.object({
|
|
1609
|
-
code: import_zod20.z.string().min(1),
|
|
1610
|
-
message: import_zod20.z.string().min(1)
|
|
1611
|
-
});
|
|
1612
|
-
var MealPlanDecisionVoteSocketSuccessAckSchema = import_zod20.z.object({
|
|
1613
|
-
ok: import_zod20.z.literal(true),
|
|
1614
|
-
mealPlan: MealPlanResponseSchema
|
|
1615
|
-
});
|
|
1616
|
-
var MealPlanDecisionVoteSocketFailureAckSchema = import_zod20.z.object({
|
|
1617
|
-
ok: import_zod20.z.literal(false),
|
|
1618
|
-
error: MealPlanDecisionVoteSocketErrorSchema
|
|
1619
|
-
});
|
|
1620
|
-
var MealPlanDecisionVoteSocketAckSchema = import_zod20.z.discriminatedUnion("ok", [
|
|
1621
|
-
MealPlanDecisionVoteSocketSuccessAckSchema,
|
|
1622
|
-
MealPlanDecisionVoteSocketFailureAckSchema
|
|
1623
|
-
]);
|
|
1624
1612
|
|
|
1625
1613
|
// src/domain/meal-plan/meal-plan-share-link.schema.ts
|
|
1626
|
-
var
|
|
1627
|
-
var CreateMealPlanShareLinkRequestSchema =
|
|
1614
|
+
var import_zod20 = require("zod");
|
|
1615
|
+
var CreateMealPlanShareLinkRequestSchema = import_zod20.z.object({
|
|
1628
1616
|
expiresAt: ISODateTimeStringSchema.optional(),
|
|
1629
|
-
guestJoinEnabled:
|
|
1617
|
+
guestJoinEnabled: import_zod20.z.boolean().default(true)
|
|
1630
1618
|
});
|
|
1631
|
-
var MealPlanShareLinkSummarySchema =
|
|
1619
|
+
var MealPlanShareLinkSummarySchema = import_zod20.z.object({
|
|
1632
1620
|
shareLinkId: MealPlanShareLinkIdSchema,
|
|
1633
1621
|
mealPlanId: MealPlanIdSchema,
|
|
1634
1622
|
token: MealPlanShareLinkTokenSchema,
|
|
1635
|
-
url:
|
|
1623
|
+
url: import_zod20.z.string().url(),
|
|
1636
1624
|
expiresAt: ISODateTimeStringSchema,
|
|
1637
|
-
guestJoinEnabled:
|
|
1625
|
+
guestJoinEnabled: import_zod20.z.boolean(),
|
|
1638
1626
|
createdAt: ISODateTimeStringSchema
|
|
1639
1627
|
});
|
|
1640
|
-
var MealPlanSharePreviewResponseSchema =
|
|
1628
|
+
var MealPlanSharePreviewResponseSchema = import_zod20.z.object({
|
|
1641
1629
|
mealPlanId: MealPlanIdSchema,
|
|
1642
1630
|
token: MealPlanShareLinkTokenSchema,
|
|
1643
|
-
title:
|
|
1644
|
-
ownerName:
|
|
1645
|
-
participantCount:
|
|
1631
|
+
title: import_zod20.z.string(),
|
|
1632
|
+
ownerName: import_zod20.z.string(),
|
|
1633
|
+
participantCount: import_zod20.z.number().int().min(1),
|
|
1646
1634
|
expiresAt: ISODateTimeStringSchema,
|
|
1647
|
-
guestJoinEnabled:
|
|
1635
|
+
guestJoinEnabled: import_zod20.z.boolean()
|
|
1648
1636
|
});
|
|
1649
|
-
var JoinMealPlanGuestRequestSchema =
|
|
1650
|
-
nickname:
|
|
1651
|
-
password:
|
|
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()
|
|
1652
1640
|
});
|
|
1653
|
-
var JoinMealPlanGuestResponseSchema =
|
|
1641
|
+
var JoinMealPlanGuestResponseSchema = import_zod20.z.object({
|
|
1654
1642
|
mealPlanId: MealPlanIdSchema,
|
|
1655
|
-
guestId:
|
|
1656
|
-
sessionToken:
|
|
1643
|
+
guestId: import_zod20.z.string().min(1),
|
|
1644
|
+
sessionToken: import_zod20.z.string().min(1)
|
|
1657
1645
|
});
|
|
1658
|
-
var MealPlanGuestSessionQuerySchema =
|
|
1659
|
-
sessionToken:
|
|
1646
|
+
var MealPlanGuestSessionQuerySchema = import_zod20.z.object({
|
|
1647
|
+
sessionToken: import_zod20.z.string().min(1)
|
|
1660
1648
|
});
|
|
1661
|
-
var MealPlanGuestSessionResponseSchema =
|
|
1649
|
+
var MealPlanGuestSessionResponseSchema = import_zod20.z.object({
|
|
1662
1650
|
mealPlan: MealPlanResponseSchema,
|
|
1663
1651
|
token: MealPlanShareLinkTokenSchema,
|
|
1664
|
-
guestId:
|
|
1665
|
-
nickname:
|
|
1666
|
-
sessionToken:
|
|
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)
|
|
1667
1655
|
});
|
|
1668
1656
|
|
|
1669
1657
|
// src/domain/meal-plan/meal-group.schema.ts
|
|
1670
|
-
var
|
|
1671
|
-
var MealGroupMemberRoleSchema =
|
|
1658
|
+
var import_zod21 = require("zod");
|
|
1659
|
+
var MealGroupMemberRoleSchema = import_zod21.z.enum([
|
|
1672
1660
|
"OWNER",
|
|
1673
1661
|
"MEMBER"
|
|
1674
1662
|
]);
|
|
1675
|
-
var MealGroupMemberSchema =
|
|
1663
|
+
var MealGroupMemberSchema = import_zod21.z.object({
|
|
1676
1664
|
member: MemberCoreSchema,
|
|
1677
1665
|
role: MealGroupMemberRoleSchema,
|
|
1678
1666
|
joinedAt: ISODateTimeStringSchema
|
|
1679
1667
|
});
|
|
1680
|
-
var MealGroupResponseSchema =
|
|
1668
|
+
var MealGroupResponseSchema = import_zod21.z.object({
|
|
1681
1669
|
mealGroupId: MealGroupIdSchema,
|
|
1682
|
-
name:
|
|
1670
|
+
name: import_zod21.z.string().min(1).max(50),
|
|
1683
1671
|
owner: MemberCoreSchema,
|
|
1684
|
-
profileImageUrl:
|
|
1685
|
-
members:
|
|
1686
|
-
recentMealPlanIds:
|
|
1672
|
+
profileImageUrl: import_zod21.z.string().url().nullable(),
|
|
1673
|
+
members: import_zod21.z.array(MealGroupMemberSchema),
|
|
1674
|
+
recentMealPlanIds: import_zod21.z.array(MealPlanIdSchema),
|
|
1687
1675
|
createdAt: ISODateTimeStringSchema,
|
|
1688
1676
|
updatedAt: ISODateTimeStringSchema
|
|
1689
1677
|
});
|
|
1690
|
-
var CreateMealGroupRequestSchema =
|
|
1691
|
-
name:
|
|
1692
|
-
memberIds:
|
|
1693
|
-
profileImageUrl:
|
|
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(),
|
|
1694
1682
|
sourceMealPlanId: MealPlanIdSchema.optional()
|
|
1695
1683
|
});
|
|
1696
|
-
var StartMealPlanFromGroupRequestSchema =
|
|
1697
|
-
title:
|
|
1684
|
+
var StartMealPlanFromGroupRequestSchema = import_zod21.z.object({
|
|
1685
|
+
title: import_zod21.z.string().min(1).max(100).optional()
|
|
1698
1686
|
});
|
|
1699
|
-
var AddMealGroupMemberRequestSchema =
|
|
1700
|
-
memberId:
|
|
1687
|
+
var AddMealGroupMemberRequestSchema = import_zod21.z.object({
|
|
1688
|
+
memberId: import_zod21.z.number().int().positive(),
|
|
1701
1689
|
role: MealGroupMemberRoleSchema.default("MEMBER")
|
|
1702
1690
|
});
|
|
1703
|
-
var UpdateMealGroupMemberRoleRequestSchema =
|
|
1691
|
+
var UpdateMealGroupMemberRoleRequestSchema = import_zod21.z.object({
|
|
1704
1692
|
role: MealGroupMemberRoleSchema
|
|
1705
1693
|
});
|
|
1706
1694
|
var MealGroupHistoryItemSchema = MyMealPlanListItemSchema.extend({});
|
|
1707
|
-
var MealGroupPreferenceSummarySchema =
|
|
1695
|
+
var MealGroupPreferenceSummarySchema = import_zod21.z.object({
|
|
1708
1696
|
mealGroupId: MealGroupIdSchema,
|
|
1709
|
-
frequentMenuCategories:
|
|
1710
|
-
frequentRestaurants:
|
|
1711
|
-
recentMenuCategories:
|
|
1712
|
-
recommendationContext:
|
|
1713
|
-
preferredMenuCategories:
|
|
1714
|
-
excludedMenuCategories:
|
|
1715
|
-
candidateMenuCategories:
|
|
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())
|
|
1716
1704
|
})
|
|
1717
1705
|
});
|
|
1718
|
-
var MealGroupHistoryResponseSchema =
|
|
1706
|
+
var MealGroupHistoryResponseSchema = import_zod21.z.array(MealGroupHistoryItemSchema);
|
|
1719
1707
|
|
|
1720
1708
|
// src/domain/meal-plan/meal-plan-home-map.schema.ts
|
|
1721
|
-
var
|
|
1722
|
-
var HomeMealPlanActionKindSchema =
|
|
1709
|
+
var import_zod22 = require("zod");
|
|
1710
|
+
var HomeMealPlanActionKindSchema = import_zod22.z.enum([
|
|
1723
1711
|
"CONTINUE_DECISION",
|
|
1724
1712
|
"TODAY_UPCOMING",
|
|
1725
1713
|
"RECORD_NEEDED",
|
|
1726
1714
|
"RESPOND_JOIN_REQUEST",
|
|
1727
1715
|
"NOTIFICATION_FOLLOW_UP"
|
|
1728
1716
|
]);
|
|
1729
|
-
var HomeMealPlanActionCardSchema =
|
|
1730
|
-
actionId:
|
|
1717
|
+
var HomeMealPlanActionCardSchema = import_zod22.z.object({
|
|
1718
|
+
actionId: import_zod22.z.string().min(1),
|
|
1731
1719
|
kind: HomeMealPlanActionKindSchema,
|
|
1732
|
-
priority:
|
|
1733
|
-
title:
|
|
1734
|
-
description:
|
|
1735
|
-
primaryAction:
|
|
1736
|
-
label:
|
|
1737
|
-
href:
|
|
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)
|
|
1738
1726
|
}),
|
|
1739
1727
|
mealPlan: MyMealPlanListItemSchema.nullable(),
|
|
1740
1728
|
joinRequest: MealPlanJoinRequestSummarySchema.nullable(),
|
|
1741
1729
|
notification: MealPlanNotificationSchema.nullable().default(null)
|
|
1742
1730
|
});
|
|
1743
|
-
var HomeMealPlanDashboardResponseSchema =
|
|
1731
|
+
var HomeMealPlanDashboardResponseSchema = import_zod22.z.object({
|
|
1744
1732
|
generatedAt: ISODateTimeStringSchema,
|
|
1745
|
-
inProgress:
|
|
1746
|
-
today:
|
|
1747
|
-
recordNeeded:
|
|
1748
|
-
pendingJoinRequests:
|
|
1749
|
-
unreadNotifications:
|
|
1750
|
-
nextActions:
|
|
1751
|
-
});
|
|
1752
|
-
var MealMapLayerSchema =
|
|
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([
|
|
1753
1741
|
"MY_MEAL_PLAN_PLACE",
|
|
1754
1742
|
"NEARBY_FRIEND_MEAL_PLAN",
|
|
1755
1743
|
"FRIEND_RECORD_LOCATION",
|
|
1756
1744
|
"RESTAURANT_CANDIDATE"
|
|
1757
1745
|
]);
|
|
1758
|
-
var MealMapMarkerBaseSchema =
|
|
1759
|
-
markerId:
|
|
1760
|
-
lat:
|
|
1761
|
-
lng:
|
|
1762
|
-
title:
|
|
1763
|
-
subtitle:
|
|
1764
|
-
href:
|
|
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(),
|
|
1765
1753
|
mealPlanId: MealPlanIdSchema.nullable(),
|
|
1766
1754
|
articleId: ArticleIdSchema.nullable(),
|
|
1767
1755
|
restaurant: RestaurantSchema.nullable(),
|
|
1768
|
-
distanceMeters:
|
|
1756
|
+
distanceMeters: import_zod22.z.number().int().min(0).nullable(),
|
|
1769
1757
|
updatedAt: ISODateTimeStringSchema
|
|
1770
1758
|
});
|
|
1771
|
-
var MealMapMyMealPlanPlaceMetadataSchema =
|
|
1759
|
+
var MealMapMyMealPlanPlaceMetadataSchema = import_zod22.z.object({
|
|
1772
1760
|
ownerId: MemberIdSchema.nullable().default(null),
|
|
1773
|
-
status:
|
|
1774
|
-
participantCount:
|
|
1775
|
-
source:
|
|
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)
|
|
1776
1764
|
});
|
|
1777
|
-
var MealMapNearbyFriendMealPlanMetadataSchema =
|
|
1765
|
+
var MealMapNearbyFriendMealPlanMetadataSchema = import_zod22.z.object({
|
|
1778
1766
|
ownerId: MemberIdSchema.nullable().default(null),
|
|
1779
|
-
ownerName:
|
|
1780
|
-
participantCount:
|
|
1767
|
+
ownerName: import_zod22.z.string().min(1),
|
|
1768
|
+
participantCount: import_zod22.z.number().int().min(1),
|
|
1781
1769
|
expiresAt: ISODateTimeStringSchema.nullable(),
|
|
1782
|
-
source:
|
|
1770
|
+
source: import_zod22.z.string().min(1)
|
|
1783
1771
|
});
|
|
1784
|
-
var MealMapFriendRecordLocationMetadataSchema =
|
|
1772
|
+
var MealMapFriendRecordLocationMetadataSchema = import_zod22.z.object({
|
|
1785
1773
|
authorId: MemberIdSchema.nullable().default(null),
|
|
1786
|
-
authorName:
|
|
1787
|
-
imageUrl:
|
|
1788
|
-
mealDate:
|
|
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)
|
|
1789
1777
|
});
|
|
1790
|
-
var MealMapRestaurantCandidateCompletionBlockedReasonSchema =
|
|
1778
|
+
var MealMapRestaurantCandidateCompletionBlockedReasonSchema = import_zod22.z.enum([
|
|
1791
1779
|
"OWNER_ONLY",
|
|
1792
1780
|
"STAGE_ALREADY_COMPLETED",
|
|
1793
1781
|
"MEAL_PLAN_NOT_MUTABLE"
|
|
1794
1782
|
]);
|
|
1795
|
-
var MealMapRestaurantCandidateMetadataSchema =
|
|
1783
|
+
var MealMapRestaurantCandidateMetadataSchema = import_zod22.z.object({
|
|
1796
1784
|
stageId: MealPlanDecisionStageIdSchema,
|
|
1797
1785
|
ownerId: MemberIdSchema.nullable().default(null),
|
|
1798
|
-
status:
|
|
1799
|
-
source:
|
|
1800
|
-
stageStatus:
|
|
1801
|
-
canVote:
|
|
1802
|
-
canCompleteStage:
|
|
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),
|
|
1803
1791
|
completionBlockedReason: MealMapRestaurantCandidateCompletionBlockedReasonSchema.nullable().default(null)
|
|
1804
1792
|
});
|
|
1805
|
-
var MealMapMarkerSchema =
|
|
1793
|
+
var MealMapMarkerSchema = import_zod22.z.discriminatedUnion("layer", [
|
|
1806
1794
|
MealMapMarkerBaseSchema.extend({
|
|
1807
|
-
layer:
|
|
1795
|
+
layer: import_zod22.z.literal("MY_MEAL_PLAN_PLACE"),
|
|
1808
1796
|
metadata: MealMapMyMealPlanPlaceMetadataSchema
|
|
1809
1797
|
}),
|
|
1810
1798
|
MealMapMarkerBaseSchema.extend({
|
|
1811
|
-
layer:
|
|
1799
|
+
layer: import_zod22.z.literal("NEARBY_FRIEND_MEAL_PLAN"),
|
|
1812
1800
|
metadata: MealMapNearbyFriendMealPlanMetadataSchema
|
|
1813
1801
|
}),
|
|
1814
1802
|
MealMapMarkerBaseSchema.extend({
|
|
1815
|
-
layer:
|
|
1803
|
+
layer: import_zod22.z.literal("FRIEND_RECORD_LOCATION"),
|
|
1816
1804
|
metadata: MealMapFriendRecordLocationMetadataSchema
|
|
1817
1805
|
}),
|
|
1818
1806
|
MealMapMarkerBaseSchema.extend({
|
|
1819
|
-
layer:
|
|
1807
|
+
layer: import_zod22.z.literal("RESTAURANT_CANDIDATE"),
|
|
1820
1808
|
metadata: MealMapRestaurantCandidateMetadataSchema
|
|
1821
1809
|
})
|
|
1822
1810
|
]);
|
|
1823
|
-
var MealMapQuerySchema =
|
|
1824
|
-
friendRecordDays:
|
|
1811
|
+
var MealMapQuerySchema = import_zod22.z.object({
|
|
1812
|
+
friendRecordDays: import_zod22.z.coerce.number().int().min(1).max(90).optional().default(7)
|
|
1825
1813
|
});
|
|
1826
|
-
var MealMapResponseSchema =
|
|
1814
|
+
var MealMapResponseSchema = import_zod22.z.object({
|
|
1827
1815
|
generatedAt: ISODateTimeStringSchema,
|
|
1828
|
-
center:
|
|
1829
|
-
lat:
|
|
1830
|
-
lng:
|
|
1831
|
-
source:
|
|
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"])
|
|
1832
1820
|
}),
|
|
1833
|
-
layers:
|
|
1834
|
-
myMealPlanPlaces:
|
|
1835
|
-
nearbyFriendMealPlans:
|
|
1836
|
-
friendRecordLocations:
|
|
1837
|
-
restaurantCandidates:
|
|
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)
|
|
1838
1826
|
})
|
|
1839
1827
|
});
|
|
1840
1828
|
|
|
@@ -1875,222 +1863,222 @@ function compareMealPlanNotificationsByPriority(channel) {
|
|
|
1875
1863
|
}
|
|
1876
1864
|
|
|
1877
1865
|
// src/domain/promotion/referral.schema.ts
|
|
1878
|
-
var
|
|
1879
|
-
var ReferralCreateResponseSchema =
|
|
1866
|
+
var import_zod23 = require("zod");
|
|
1867
|
+
var ReferralCreateResponseSchema = import_zod23.z.object({
|
|
1880
1868
|
code: ReferralCodeSchema,
|
|
1881
|
-
link:
|
|
1869
|
+
link: import_zod23.z.string().url(),
|
|
1882
1870
|
expiresAt: ISODateTimeStringSchema
|
|
1883
1871
|
});
|
|
1884
|
-
var ReferralItemResponseSchema =
|
|
1872
|
+
var ReferralItemResponseSchema = import_zod23.z.object({
|
|
1885
1873
|
code: ReferralCodeSchema,
|
|
1886
1874
|
createdAt: ISODateTimeStringSchema,
|
|
1887
1875
|
expiresAt: ISODateTimeStringSchema,
|
|
1888
|
-
used:
|
|
1876
|
+
used: import_zod23.z.boolean(),
|
|
1889
1877
|
usedByMemberId: MemberIdSchema.nullable(),
|
|
1890
|
-
usedByUsername:
|
|
1878
|
+
usedByUsername: import_zod23.z.string().nullable()
|
|
1891
1879
|
});
|
|
1892
|
-
var RedeemReferralRequestSchema =
|
|
1880
|
+
var RedeemReferralRequestSchema = import_zod23.z.object({
|
|
1893
1881
|
code: ReferralCodeSchema
|
|
1894
1882
|
});
|
|
1895
1883
|
|
|
1896
1884
|
// src/domain/promotion/coupon.schema.ts
|
|
1897
|
-
var
|
|
1898
|
-
var CouponTypeSchema =
|
|
1899
|
-
var CouponStatusSchema =
|
|
1900
|
-
var CouponResponseSchema =
|
|
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({
|
|
1901
1889
|
couponId: CouponIdSchema,
|
|
1902
|
-
title:
|
|
1903
|
-
shopName:
|
|
1890
|
+
title: import_zod24.z.string(),
|
|
1891
|
+
shopName: import_zod24.z.string(),
|
|
1904
1892
|
type: CouponTypeSchema,
|
|
1905
|
-
condition:
|
|
1893
|
+
condition: import_zod24.z.string(),
|
|
1906
1894
|
expiresAt: ISODateStringSchema,
|
|
1907
|
-
used:
|
|
1908
|
-
thumbnailUrl:
|
|
1895
|
+
used: import_zod24.z.boolean(),
|
|
1896
|
+
thumbnailUrl: import_zod24.z.string().url()
|
|
1909
1897
|
});
|
|
1910
1898
|
|
|
1911
1899
|
// src/domain/promotion/challenge.schema.ts
|
|
1912
|
-
var
|
|
1913
|
-
var RewardTypeSchema =
|
|
1914
|
-
var WeekProgressSchema =
|
|
1915
|
-
days:
|
|
1916
|
-
completed:
|
|
1917
|
-
goal:
|
|
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()
|
|
1918
1906
|
});
|
|
1919
|
-
var MonthProgressSchema =
|
|
1920
|
-
count:
|
|
1921
|
-
goal:
|
|
1907
|
+
var MonthProgressSchema = import_zod25.z.object({
|
|
1908
|
+
count: import_zod25.z.number().int().min(0),
|
|
1909
|
+
goal: import_zod25.z.number().int().positive()
|
|
1922
1910
|
});
|
|
1923
|
-
var ChallengeStatusResponseSchema =
|
|
1911
|
+
var ChallengeStatusResponseSchema = import_zod25.z.object({
|
|
1924
1912
|
week: WeekProgressSchema,
|
|
1925
1913
|
month: MonthProgressSchema,
|
|
1926
|
-
weekRewardAvailable:
|
|
1927
|
-
monthRewardAvailable:
|
|
1914
|
+
weekRewardAvailable: import_zod25.z.boolean(),
|
|
1915
|
+
monthRewardAvailable: import_zod25.z.boolean()
|
|
1928
1916
|
});
|
|
1929
|
-
var ClaimChallengeRewardRequestSchema =
|
|
1917
|
+
var ClaimChallengeRewardRequestSchema = import_zod25.z.object({
|
|
1930
1918
|
type: RewardTypeSchema
|
|
1931
1919
|
});
|
|
1932
|
-
var ClaimChallengeRewardResponseSchema =
|
|
1920
|
+
var ClaimChallengeRewardResponseSchema = import_zod25.z.object({
|
|
1933
1921
|
rewardType: RewardTypeSchema,
|
|
1934
|
-
claimed:
|
|
1922
|
+
claimed: import_zod25.z.boolean()
|
|
1935
1923
|
});
|
|
1936
1924
|
|
|
1937
1925
|
// src/domain/push/push.schema.ts
|
|
1938
|
-
var
|
|
1939
|
-
var PushProviderSchema =
|
|
1940
|
-
var PushPlatformSchema =
|
|
1941
|
-
var PushPermissionStatusSchema =
|
|
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([
|
|
1942
1930
|
"UNKNOWN",
|
|
1943
1931
|
"PROMPT",
|
|
1944
1932
|
"GRANTED",
|
|
1945
1933
|
"DENIED"
|
|
1946
1934
|
]);
|
|
1947
|
-
var PushTokenStatusSchema =
|
|
1948
|
-
var RegisterPushTokenRequestSchema =
|
|
1935
|
+
var PushTokenStatusSchema = import_zod26.z.enum(["ACTIVE", "REVOKED", "DISABLED"]);
|
|
1936
|
+
var RegisterPushTokenRequestSchema = import_zod26.z.object({
|
|
1949
1937
|
provider: PushProviderSchema.default("FCM"),
|
|
1950
1938
|
platform: PushPlatformSchema,
|
|
1951
|
-
token:
|
|
1952
|
-
deviceId:
|
|
1953
|
-
appVersion:
|
|
1954
|
-
buildNumber:
|
|
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(),
|
|
1955
1943
|
permissionStatus: PushPermissionStatusSchema
|
|
1956
1944
|
});
|
|
1957
|
-
var RevokePushTokenRequestSchema =
|
|
1945
|
+
var RevokePushTokenRequestSchema = import_zod26.z.object({
|
|
1958
1946
|
provider: PushProviderSchema.default("FCM"),
|
|
1959
|
-
token:
|
|
1960
|
-
deviceId:
|
|
1947
|
+
token: import_zod26.z.string().min(10).optional(),
|
|
1948
|
+
deviceId: import_zod26.z.string().min(1).max(128).optional()
|
|
1961
1949
|
});
|
|
1962
|
-
var PushTokenResponseSchema =
|
|
1963
|
-
pushTokenId:
|
|
1950
|
+
var PushTokenResponseSchema = import_zod26.z.object({
|
|
1951
|
+
pushTokenId: import_zod26.z.string().uuid(),
|
|
1964
1952
|
provider: PushProviderSchema,
|
|
1965
1953
|
platform: PushPlatformSchema,
|
|
1966
|
-
deviceId:
|
|
1954
|
+
deviceId: import_zod26.z.string(),
|
|
1967
1955
|
status: PushTokenStatusSchema,
|
|
1968
1956
|
permissionStatus: PushPermissionStatusSchema,
|
|
1969
|
-
appVersion:
|
|
1970
|
-
buildNumber:
|
|
1957
|
+
appVersion: import_zod26.z.string().nullable(),
|
|
1958
|
+
buildNumber: import_zod26.z.string().nullable(),
|
|
1971
1959
|
lastSeenAt: ISODateTimeStringSchema,
|
|
1972
1960
|
revokedAt: ISODateTimeStringSchema.nullable()
|
|
1973
1961
|
});
|
|
1974
|
-
var PushPayloadSchemaVersionSchema =
|
|
1975
|
-
var MealPlanPushPayloadDataSchema =
|
|
1962
|
+
var PushPayloadSchemaVersionSchema = import_zod26.z.literal("2026-06-17");
|
|
1963
|
+
var MealPlanPushPayloadDataSchema = import_zod26.z.object({
|
|
1976
1964
|
schemaVersion: PushPayloadSchemaVersionSchema,
|
|
1977
|
-
notificationId:
|
|
1965
|
+
notificationId: import_zod26.z.string().min(1),
|
|
1978
1966
|
kind: MealPlanNotificationKindSchema,
|
|
1979
1967
|
mealPlanId: MealPlanIdSchema,
|
|
1980
|
-
deepLink:
|
|
1981
|
-
title:
|
|
1982
|
-
body:
|
|
1983
|
-
fcmPriority:
|
|
1984
|
-
liveActivityPriority:
|
|
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),
|
|
1985
1973
|
liveActivityBehavior: MealPlanLiveActivityBehaviorSchema
|
|
1986
1974
|
});
|
|
1987
|
-
var PushDeliveryStatusSchema =
|
|
1975
|
+
var PushDeliveryStatusSchema = import_zod26.z.enum([
|
|
1988
1976
|
"PENDING",
|
|
1989
1977
|
"SENT",
|
|
1990
1978
|
"FAILED",
|
|
1991
1979
|
"SKIPPED"
|
|
1992
1980
|
]);
|
|
1993
|
-
var PushDeliveryAttemptResultSchema =
|
|
1981
|
+
var PushDeliveryAttemptResultSchema = import_zod26.z.enum([
|
|
1994
1982
|
"SENT",
|
|
1995
1983
|
"FAILED",
|
|
1996
1984
|
"SKIPPED"
|
|
1997
1985
|
]);
|
|
1998
|
-
var PushDeliveryAttemptSummarySchema =
|
|
1999
|
-
attemptId:
|
|
2000
|
-
outboxId:
|
|
2001
|
-
pushTokenId:
|
|
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(),
|
|
2002
1990
|
provider: PushProviderSchema,
|
|
2003
1991
|
result: PushDeliveryAttemptResultSchema,
|
|
2004
|
-
providerMessageId:
|
|
2005
|
-
errorCode:
|
|
2006
|
-
errorMessage:
|
|
2007
|
-
invalidToken:
|
|
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(),
|
|
2008
1996
|
createdAt: ISODateTimeStringSchema
|
|
2009
1997
|
});
|
|
2010
|
-
var PushDeliveryOutboxSummarySchema =
|
|
2011
|
-
outboxId:
|
|
2012
|
-
notificationId:
|
|
2013
|
-
memberId:
|
|
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(),
|
|
2014
2002
|
status: PushDeliveryStatusSchema,
|
|
2015
|
-
attemptCount:
|
|
2016
|
-
lastError:
|
|
2003
|
+
attemptCount: import_zod26.z.number().int().min(0),
|
|
2004
|
+
lastError: import_zod26.z.string().nullable(),
|
|
2017
2005
|
nextAttemptAt: ISODateTimeStringSchema.nullable(),
|
|
2018
2006
|
sentAt: ISODateTimeStringSchema.nullable(),
|
|
2019
2007
|
createdAt: ISODateTimeStringSchema
|
|
2020
2008
|
});
|
|
2021
2009
|
|
|
2022
2010
|
// src/domain/live-activity/live-activity.schema.ts
|
|
2023
|
-
var
|
|
2024
|
-
var MealPlanLiveActivityPlatformSchema =
|
|
2011
|
+
var import_zod27 = require("zod");
|
|
2012
|
+
var MealPlanLiveActivityPlatformSchema = import_zod27.z.enum([
|
|
2025
2013
|
"IOS_LIVE_ACTIVITY",
|
|
2026
2014
|
"ANDROID_LIVE_UPDATE"
|
|
2027
2015
|
]);
|
|
2028
|
-
var MealPlanLiveActivitySessionStatusSchema =
|
|
2016
|
+
var MealPlanLiveActivitySessionStatusSchema = import_zod27.z.enum([
|
|
2029
2017
|
"ACTIVE",
|
|
2030
2018
|
"ENDED",
|
|
2031
2019
|
"EXPIRED",
|
|
2032
2020
|
"DISABLED"
|
|
2033
2021
|
]);
|
|
2034
|
-
var MealPlanLiveActivityUpdateStatusSchema =
|
|
2022
|
+
var MealPlanLiveActivityUpdateStatusSchema = import_zod27.z.enum([
|
|
2035
2023
|
"PENDING",
|
|
2036
2024
|
"SENT",
|
|
2037
2025
|
"FAILED",
|
|
2038
2026
|
"SKIPPED"
|
|
2039
2027
|
]);
|
|
2040
|
-
var RegisterMealPlanLiveActivitySessionRequestSchema =
|
|
2028
|
+
var RegisterMealPlanLiveActivitySessionRequestSchema = import_zod27.z.object({
|
|
2041
2029
|
platform: MealPlanLiveActivityPlatformSchema,
|
|
2042
|
-
deviceId:
|
|
2043
|
-
activityId:
|
|
2044
|
-
pushToken:
|
|
2045
|
-
appVersion:
|
|
2046
|
-
buildNumber:
|
|
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()
|
|
2047
2035
|
});
|
|
2048
|
-
var EndMealPlanLiveActivitySessionRequestSchema =
|
|
2036
|
+
var EndMealPlanLiveActivitySessionRequestSchema = import_zod27.z.object({
|
|
2049
2037
|
platform: MealPlanLiveActivityPlatformSchema.optional(),
|
|
2050
|
-
deviceId:
|
|
2051
|
-
activityId:
|
|
2038
|
+
deviceId: import_zod27.z.string().min(1).max(128).optional(),
|
|
2039
|
+
activityId: import_zod27.z.string().min(1).max(128).optional()
|
|
2052
2040
|
});
|
|
2053
|
-
var MealPlanLiveActivityStateSchema =
|
|
2041
|
+
var MealPlanLiveActivityStateSchema = import_zod27.z.object({
|
|
2054
2042
|
mealPlanId: MealPlanIdSchema,
|
|
2055
|
-
title:
|
|
2056
|
-
status:
|
|
2043
|
+
title: import_zod27.z.string().min(1),
|
|
2044
|
+
status: import_zod27.z.string().min(1),
|
|
2057
2045
|
scheduledAt: ISODateTimeStringSchema.nullable(),
|
|
2058
|
-
restaurantName:
|
|
2059
|
-
placeName:
|
|
2060
|
-
deepLink:
|
|
2061
|
-
progressLabel:
|
|
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),
|
|
2062
2050
|
updatedAt: ISODateTimeStringSchema
|
|
2063
2051
|
});
|
|
2064
|
-
var MealPlanLiveActivitySessionResponseSchema =
|
|
2065
|
-
sessionId:
|
|
2052
|
+
var MealPlanLiveActivitySessionResponseSchema = import_zod27.z.object({
|
|
2053
|
+
sessionId: import_zod27.z.string().uuid(),
|
|
2066
2054
|
mealPlanId: MealPlanIdSchema,
|
|
2067
|
-
memberId:
|
|
2055
|
+
memberId: import_zod27.z.number().int().positive(),
|
|
2068
2056
|
platform: MealPlanLiveActivityPlatformSchema,
|
|
2069
2057
|
devicePlatform: PushPlatformSchema,
|
|
2070
|
-
deviceId:
|
|
2071
|
-
activityId:
|
|
2058
|
+
deviceId: import_zod27.z.string(),
|
|
2059
|
+
activityId: import_zod27.z.string(),
|
|
2072
2060
|
status: MealPlanLiveActivitySessionStatusSchema,
|
|
2073
|
-
appVersion:
|
|
2074
|
-
buildNumber:
|
|
2061
|
+
appVersion: import_zod27.z.string().nullable(),
|
|
2062
|
+
buildNumber: import_zod27.z.string().nullable(),
|
|
2075
2063
|
lastEventKind: MealPlanNotificationKindSchema.nullable(),
|
|
2076
2064
|
lastBehavior: MealPlanLiveActivityBehaviorSchema.nullable(),
|
|
2077
2065
|
lastUpdateStatus: MealPlanLiveActivityUpdateStatusSchema.nullable(),
|
|
2078
|
-
lastError:
|
|
2066
|
+
lastError: import_zod27.z.string().nullable(),
|
|
2079
2067
|
startedAt: ISODateTimeStringSchema,
|
|
2080
2068
|
endedAt: ISODateTimeStringSchema.nullable(),
|
|
2081
2069
|
updatedAt: ISODateTimeStringSchema
|
|
2082
2070
|
});
|
|
2083
|
-
var MealPlanLiveActivitySessionListResponseSchema =
|
|
2071
|
+
var MealPlanLiveActivitySessionListResponseSchema = import_zod27.z.object({
|
|
2084
2072
|
mealPlanId: MealPlanIdSchema,
|
|
2085
2073
|
state: MealPlanLiveActivityStateSchema,
|
|
2086
|
-
sessions:
|
|
2074
|
+
sessions: import_zod27.z.array(MealPlanLiveActivitySessionResponseSchema)
|
|
2087
2075
|
});
|
|
2088
2076
|
|
|
2089
2077
|
// src/domain/common/contracts/endpoint.ts
|
|
2090
|
-
var
|
|
2091
|
-
var NoBodySchema =
|
|
2092
|
-
var NoQuerySchema =
|
|
2093
|
-
var NoParamsSchema =
|
|
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();
|
|
2094
2082
|
var endpoint = (contract) => ({
|
|
2095
2083
|
method: contract.method,
|
|
2096
2084
|
path: contract.path,
|
|
@@ -2101,12 +2089,12 @@ var endpoint = (contract) => ({
|
|
|
2101
2089
|
});
|
|
2102
2090
|
|
|
2103
2091
|
// src/domain/common/contracts/api.ts
|
|
2104
|
-
var memberIdParam =
|
|
2105
|
-
var articleIdParam =
|
|
2106
|
-
var commentIdParam =
|
|
2107
|
-
var mealPlanIdParam =
|
|
2108
|
-
var mealPlanInviteIdParam =
|
|
2109
|
-
var mealPlanJoinRequestIdParam =
|
|
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 });
|
|
2110
2098
|
var mealPlanDecisionStageIdParam = mealPlanIdParam.extend({
|
|
2111
2099
|
stageId: MealPlanDecisionStageIdSchema
|
|
2112
2100
|
});
|
|
@@ -2117,18 +2105,18 @@ var mealPlanDecisionTaskKeyParam = mealPlanIdParam.extend({
|
|
|
2117
2105
|
taskKey: MealPlanDecisionTaskKeySchema
|
|
2118
2106
|
});
|
|
2119
2107
|
var mealPlanDecisionSnapshotIdParam = mealPlanIdParam.extend({
|
|
2120
|
-
snapshotId:
|
|
2108
|
+
snapshotId: import_zod29.z.string().uuid()
|
|
2121
2109
|
});
|
|
2122
2110
|
var mealPlanParticipantIdParam = mealPlanIdParam.extend({
|
|
2123
|
-
participantId:
|
|
2111
|
+
participantId: import_zod29.z.string().uuid()
|
|
2124
2112
|
});
|
|
2125
|
-
var mealPlanShareTokenParam =
|
|
2126
|
-
var notificationIdParam =
|
|
2127
|
-
var couponIdParam =
|
|
2128
|
-
var mealGroupIdParam =
|
|
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 });
|
|
2129
2117
|
var mealGroupMemberIdParam = mealGroupIdParam.extend({ memberId: MemberIdSchema });
|
|
2130
|
-
var friendRequestIdParam =
|
|
2131
|
-
var sseTokenQuery =
|
|
2118
|
+
var friendRequestIdParam = import_zod29.z.object({ requestId: FriendRequestIdSchema });
|
|
2119
|
+
var sseTokenQuery = import_zod29.z.object({ token: import_zod29.z.string().min(1) });
|
|
2132
2120
|
var apiContract = {
|
|
2133
2121
|
auth: {
|
|
2134
2122
|
signup: endpoint({ method: "POST", path: "/auth/signup", body: SignupRequestSchema, response: SignupResponseSchema }),
|
|
@@ -2156,7 +2144,7 @@ var apiContract = {
|
|
|
2156
2144
|
mealStatus: {
|
|
2157
2145
|
my: endpoint({ method: "GET", path: "/members/me/meal-status", response: MealStatusResponseSchema }),
|
|
2158
2146
|
updateMealStatus: endpoint({ method: "PATCH", path: "/members/me/meal-status", body: UpdateMealStatusRequestSchema, response: NoContentSchema }),
|
|
2159
|
-
friendMealStatus: endpoint({ method: "GET", path: "/friends/me/meals", query: FriendMealQuerySchema, response:
|
|
2147
|
+
friendMealStatus: endpoint({ method: "GET", path: "/friends/me/meals", query: FriendMealQuerySchema, response: import_zod29.z.array(FriendMealItemResponseSchema) })
|
|
2160
2148
|
},
|
|
2161
2149
|
articles: {
|
|
2162
2150
|
list: endpoint({ method: "GET", path: "/articles/home", query: ArticleListQuerySchema, response: PageArticleSummaryResponseSchema }),
|
|
@@ -2195,7 +2183,7 @@ var apiContract = {
|
|
|
2195
2183
|
exposeNearbyFriends: endpoint({ method: "POST", path: "/meal-plans/:mealPlanId/nearby-friends/expose", pathParams: mealPlanIdParam, body: ExposeMealPlanToNearbyFriendsRequestSchema, response: ExposeMealPlanToNearbyFriendsResponseSchema }),
|
|
2196
2184
|
closeNearbyFriends: endpoint({ method: "DELETE", path: "/meal-plans/:mealPlanId/nearby-friends/expose", pathParams: mealPlanIdParam, response: NoContentSchema }),
|
|
2197
2185
|
nearbyFriendExposureEligibility: endpoint({ method: "GET", path: "/meal-plans/nearby-friends/eligibility", response: NearbyFriendExposureEligibilitySchema }),
|
|
2198
|
-
nearbyFriends: endpoint({ method: "GET", path: "/meal-plans/nearby-friends", response:
|
|
2186
|
+
nearbyFriends: endpoint({ method: "GET", path: "/meal-plans/nearby-friends", response: import_zod29.z.array(NearbyFriendMealPlanSummarySchema) }),
|
|
2199
2187
|
requestJoin: endpoint({ method: "POST", path: "/meal-plans/:mealPlanId/join-requests", pathParams: mealPlanIdParam, body: CreateMealPlanJoinRequestSchema, response: CreatedEntityIdResponseSchema }),
|
|
2200
2188
|
acceptJoinRequest: endpoint({ method: "POST", path: "/meal-plans/join-requests/:requestId/accept", pathParams: mealPlanJoinRequestIdParam, response: MealPlanResponseSchema }),
|
|
2201
2189
|
rejectJoinRequest: endpoint({ method: "POST", path: "/meal-plans/join-requests/:requestId/reject", pathParams: mealPlanJoinRequestIdParam, response: NoContentSchema }),
|
|
@@ -2211,7 +2199,7 @@ var apiContract = {
|
|
|
2211
2199
|
},
|
|
2212
2200
|
mealGroups: {
|
|
2213
2201
|
create: endpoint({ method: "POST", path: "/meal-groups", body: CreateMealGroupRequestSchema, response: MealGroupResponseSchema }),
|
|
2214
|
-
list: endpoint({ method: "GET", path: "/meal-groups", response:
|
|
2202
|
+
list: endpoint({ method: "GET", path: "/meal-groups", response: import_zod29.z.array(MealGroupResponseSchema) }),
|
|
2215
2203
|
detail: endpoint({ method: "GET", path: "/meal-groups/:mealGroupId", pathParams: mealGroupIdParam, response: MealGroupResponseSchema }),
|
|
2216
2204
|
startMealPlan: endpoint({ method: "POST", path: "/meal-groups/:mealGroupId/meal-plans", pathParams: mealGroupIdParam, body: StartMealPlanFromGroupRequestSchema, response: CreateMealPlanResponseSchema }),
|
|
2217
2205
|
history: endpoint({ method: "GET", path: "/meal-groups/:mealGroupId/history", pathParams: mealGroupIdParam, response: MealGroupHistoryResponseSchema }),
|
|
@@ -2221,11 +2209,11 @@ var apiContract = {
|
|
|
2221
2209
|
removeMember: endpoint({ method: "DELETE", path: "/meal-groups/:mealGroupId/members/:memberId", pathParams: mealGroupMemberIdParam, response: MealGroupResponseSchema })
|
|
2222
2210
|
},
|
|
2223
2211
|
friends: {
|
|
2224
|
-
list: endpoint({ method: "GET", path: "/friends", response:
|
|
2225
|
-
blockList: endpoint({ method: "GET", path: "/friends/blocks", response:
|
|
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) }),
|
|
2226
2214
|
search: endpoint({ method: "GET", path: "/friends/search", query: MemberSearchQuerySchema, response: MemberSerachResponseSchema }),
|
|
2227
|
-
incomingRequest: endpoint({ method: "GET", path: "/friends/requests/incoming", response:
|
|
2228
|
-
outgoingRequest: endpoint({ method: "GET", path: "/friends/requests/outgoing", response:
|
|
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) }),
|
|
2229
2217
|
sendRequest: endpoint({ method: "POST", path: "/friends/requests/:memberId", pathParams: memberIdParam, response: NoContentSchema }),
|
|
2230
2218
|
acceptRequest: endpoint({ method: "POST", path: "/friends/requests/:requestId/accept", pathParams: friendRequestIdParam, response: NoContentSchema }),
|
|
2231
2219
|
rejectRequest: endpoint({ method: "POST", path: "/friends/requests/:requestId/reject", pathParams: friendRequestIdParam, response: NoContentSchema }),
|
|
@@ -2235,7 +2223,7 @@ var apiContract = {
|
|
|
2235
2223
|
unfriend: endpoint({ method: "DELETE", path: "/friends/:memberId", pathParams: memberIdParam, response: NoContentSchema })
|
|
2236
2224
|
},
|
|
2237
2225
|
coupons: {
|
|
2238
|
-
list: endpoint({ method: "GET", path: "/coupons", response:
|
|
2226
|
+
list: endpoint({ method: "GET", path: "/coupons", response: import_zod29.z.array(CouponResponseSchema) }),
|
|
2239
2227
|
use: endpoint({ method: "POST", path: "/coupons/:couponId/use", pathParams: couponIdParam, response: NoContentSchema })
|
|
2240
2228
|
},
|
|
2241
2229
|
challenges: {
|
|
@@ -2243,17 +2231,17 @@ var apiContract = {
|
|
|
2243
2231
|
claimReward: endpoint({ method: "POST", path: "/challenges/rewards", body: ClaimChallengeRewardRequestSchema, response: NoContentSchema })
|
|
2244
2232
|
},
|
|
2245
2233
|
referrals: {
|
|
2246
|
-
list: endpoint({ method: "GET", path: "/referrals", response:
|
|
2234
|
+
list: endpoint({ method: "GET", path: "/referrals", response: import_zod29.z.array(ReferralItemResponseSchema) }),
|
|
2247
2235
|
create: endpoint({ method: "POST", path: "/referrals", response: ReferralCreateResponseSchema }),
|
|
2248
2236
|
redeem: endpoint({ method: "POST", path: "/referrals/redeem", body: RedeemReferralRequestSchema, response: NoContentSchema })
|
|
2249
2237
|
},
|
|
2250
2238
|
notifications: {
|
|
2251
|
-
list: endpoint({ method: "GET", path: "/notifications", response:
|
|
2239
|
+
list: endpoint({ method: "GET", path: "/notifications", response: import_zod29.z.array(MealPlanNotificationSchema) }),
|
|
2252
2240
|
markRead: endpoint({ method: "PATCH", path: "/notifications/:notificationId/read", pathParams: notificationIdParam, response: MealPlanNotificationSchema }),
|
|
2253
2241
|
delete: endpoint({ method: "DELETE", path: "/notifications/:notificationId", pathParams: notificationIdParam, response: NoContentSchema })
|
|
2254
2242
|
},
|
|
2255
2243
|
pushTokens: {
|
|
2256
|
-
list: endpoint({ method: "GET", path: "/push-tokens", response:
|
|
2244
|
+
list: endpoint({ method: "GET", path: "/push-tokens", response: import_zod29.z.array(PushTokenResponseSchema) }),
|
|
2257
2245
|
register: endpoint({ method: "POST", path: "/push-tokens", body: RegisterPushTokenRequestSchema, response: PushTokenResponseSchema }),
|
|
2258
2246
|
revoke: endpoint({ method: "POST", path: "/push-tokens/revoke", body: RevokePushTokenRequestSchema, response: NoContentSchema })
|
|
2259
2247
|
},
|
|
@@ -2263,10 +2251,10 @@ var apiContract = {
|
|
|
2263
2251
|
endMealPlanSessions: endpoint({ method: "POST", path: "/meal-plans/:mealPlanId/live-activity/end", pathParams: mealPlanIdParam, body: EndMealPlanLiveActivitySessionRequestSchema, response: NoContentSchema })
|
|
2264
2252
|
},
|
|
2265
2253
|
sse: {
|
|
2266
|
-
notifications: endpoint({ method: "GET", path: "/sse/notifications", query: sseTokenQuery, response:
|
|
2254
|
+
notifications: endpoint({ method: "GET", path: "/sse/notifications", query: sseTokenQuery, response: import_zod29.z.any() })
|
|
2267
2255
|
},
|
|
2268
2256
|
health: {
|
|
2269
|
-
healthCheck: endpoint({ method: "GET", path: "/", response:
|
|
2257
|
+
healthCheck: endpoint({ method: "GET", path: "/", response: import_zod29.z.string() })
|
|
2270
2258
|
}
|
|
2271
2259
|
};
|
|
2272
2260
|
|
|
@@ -2433,13 +2421,8 @@ var FOOD_IMAGE_INDEX_PATH = "/manifests/food-image-index.json";
|
|
|
2433
2421
|
MealPlanDecisionStageTypeSchema,
|
|
2434
2422
|
MealPlanDecisionTaskKeySchema,
|
|
2435
2423
|
MealPlanDecisionTaskProgressSchema,
|
|
2424
|
+
MealPlanDecisionTaskReadyRequestSchema,
|
|
2436
2425
|
MealPlanDecisionTaskStatusSchema,
|
|
2437
|
-
MealPlanDecisionVoteSocketAckSchema,
|
|
2438
|
-
MealPlanDecisionVoteSocketErrorSchema,
|
|
2439
|
-
MealPlanDecisionVoteSocketEvent,
|
|
2440
|
-
MealPlanDecisionVoteSocketFailureAckSchema,
|
|
2441
|
-
MealPlanDecisionVoteSocketPayloadSchema,
|
|
2442
|
-
MealPlanDecisionVoteSocketSuccessAckSchema,
|
|
2443
2426
|
MealPlanGuestParticipantSchema,
|
|
2444
2427
|
MealPlanGuestSessionQuerySchema,
|
|
2445
2428
|
MealPlanGuestSessionResponseSchema,
|
|
@@ -2467,6 +2450,7 @@ var FOOD_IMAGE_INDEX_PATH = "/manifests/food-image-index.json";
|
|
|
2467
2450
|
MealPlanMenuCandidateIdSchema,
|
|
2468
2451
|
MealPlanMenuCandidateSchema,
|
|
2469
2452
|
MealPlanMenuCandidateSourceSchema,
|
|
2453
|
+
MealPlanMenuRecommendationStateSchema,
|
|
2470
2454
|
MealPlanNearbyFriendExposureBatchIdSchema,
|
|
2471
2455
|
MealPlanNearbyFriendExposureBatchSummarySchema,
|
|
2472
2456
|
MealPlanNearbyFriendExposureIdSchema,
|
|
@@ -2584,6 +2568,7 @@ var FOOD_IMAGE_INDEX_PATH = "/manifests/food-image-index.json";
|
|
|
2584
2568
|
getMealPlanLiveActivityBehavior,
|
|
2585
2569
|
getMealPlanNotificationPriority,
|
|
2586
2570
|
getMealPlanNotificationPriorityPolicy,
|
|
2571
|
+
getMealPlanRestaurantProvisionCacheKey,
|
|
2587
2572
|
makeApiResponseSchema,
|
|
2588
2573
|
makeApiSuccessSchema,
|
|
2589
2574
|
shouldShowForegroundToast,
|