@kimdaegyu/babmukdang-shared 1.1.11 → 2.0.2
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-3BLXZW4U.js +338 -0
- package/dist/{chunk-AI2YMBJX.js → chunk-65DWKLP6.js} +18 -9
- package/dist/{chunk-H77ISYYC.js → chunk-6R5CCY5Q.js} +22 -8
- package/dist/{chunk-4E5E3PFW.js → chunk-DRCY5UNQ.js} +20 -7
- package/dist/chunk-EX7S5FI5.js +91 -0
- package/dist/{chunk-HRM3FQPL.js → chunk-EYZU5HPG.js} +4 -1
- package/dist/{chunk-OJVXYCSH.js → chunk-G7TITUHT.js} +1 -1
- package/dist/chunk-GESEM4IA.js +122 -0
- package/dist/chunk-IPANLE7B.js +632 -0
- package/dist/chunk-KREAZLLH.js +1062 -0
- package/dist/{chunk-K3CZKI2F.js → chunk-P3MYMK34.js} +24 -13
- package/dist/chunk-Q4BPFDVB.js +171 -0
- package/dist/{chunk-W4C7XHTX.js → chunk-QUAG5LF5.js} +13 -6
- package/dist/chunk-TIOX7OHA.js +863 -0
- package/dist/{chunk-GTVEQYJW.js → chunk-TOXRHSD6.js} +1 -1
- package/dist/chunk-YV734GYZ.js +165 -0
- package/dist/domain/article/index.cjs +107 -15
- package/dist/domain/article/index.d.cts +79 -796
- package/dist/domain/article/index.d.ts +79 -796
- package/dist/domain/article/index.js +5 -5
- package/dist/domain/auth/index.cjs +88 -9
- package/dist/domain/auth/index.d.cts +6 -46
- package/dist/domain/auth/index.d.ts +6 -46
- package/dist/domain/auth/index.js +3 -3
- package/dist/domain/common/index.cjs +2100 -395
- package/dist/domain/common/index.d.cts +212 -3037
- package/dist/domain/common/index.d.ts +212 -3037
- package/dist/domain/common/index.js +65 -31
- package/dist/domain/food/index.cjs +248 -0
- package/dist/domain/food/index.d.cts +321 -0
- package/dist/domain/food/index.d.ts +321 -0
- package/dist/domain/food/index.js +44 -0
- package/dist/domain/friend/index.cjs +108 -12
- package/dist/domain/friend/index.d.cts +39 -98
- package/dist/domain/friend/index.d.ts +39 -98
- package/dist/domain/friend/index.js +6 -4
- package/dist/domain/index.cjs +2736 -522
- package/dist/domain/index.d.cts +383 -123
- package/dist/domain/index.d.ts +383 -123
- package/dist/domain/index.js +429 -140
- package/dist/domain/live-activity/index.cjs +1061 -0
- package/dist/domain/live-activity/index.d.cts +177 -0
- package/dist/domain/live-activity/index.d.ts +177 -0
- package/dist/domain/live-activity/index.js +27 -0
- package/dist/domain/meal/index.cjs +101 -12
- package/dist/domain/meal/index.d.cts +21 -40
- package/dist/domain/meal/index.d.ts +21 -40
- package/dist/domain/meal/index.js +4 -4
- package/dist/domain/meal-plan/index.cjs +1504 -0
- package/dist/domain/meal-plan/index.d.cts +4424 -0
- package/dist/domain/meal-plan/index.d.ts +4424 -0
- package/dist/domain/meal-plan/index.js +256 -0
- package/dist/domain/member/index.cjs +114 -9
- package/dist/domain/member/index.d.cts +263 -273
- package/dist/domain/member/index.d.ts +263 -273
- package/dist/domain/member/index.js +26 -2
- package/dist/domain/promotion/index.cjs +26 -8
- package/dist/domain/promotion/index.d.cts +35 -112
- package/dist/domain/promotion/index.d.ts +35 -112
- package/dist/domain/promotion/index.js +3 -3
- package/dist/domain/push/index.cjs +1004 -0
- package/dist/domain/push/index.d.cts +169 -0
- package/dist/domain/push/index.d.ts +169 -0
- package/dist/domain/push/index.js +35 -0
- package/dist/domain/restaurant/index.cjs +10 -4
- package/dist/domain/restaurant/index.d.cts +27 -1
- package/dist/domain/restaurant/index.d.ts +27 -1
- package/dist/domain/restaurant/index.js +2 -2
- package/dist/index.cjs +2535 -464
- package/dist/index.d.cts +5 -7
- package/dist/index.d.ts +5 -7
- package/dist/index.js +16 -15
- package/package.json +52 -55
- package/dist/chunk-PFSZSKD5.js +0 -0
- package/dist/chunk-PQMEXOPZ.js +0 -232
- package/dist/chunk-W4TUW2GY.js +0 -40
- package/dist/chunk-WNYCCQM4.js +0 -342
- package/dist/chunk-YGFAVC5N.js +0 -34
- package/dist/chunk-YM7YU7IR.js +0 -319
- package/dist/chunk-ZH7D7B2Y.js +0 -78
- package/dist/domain/invitation/index.cjs +0 -82
- package/dist/domain/invitation/index.d.cts +0 -64
- package/dist/domain/invitation/index.d.ts +0 -64
- package/dist/domain/invitation/index.js +0 -13
- package/dist/domain/plan/index.cjs +0 -327
- package/dist/domain/plan/index.d.cts +0 -178
- package/dist/domain/plan/index.d.ts +0 -178
- package/dist/domain/plan/index.js +0 -18
- package/dist/domain/recruit/index.cjs +0 -189
- package/dist/domain/recruit/index.d.cts +0 -214
- package/dist/domain/recruit/index.d.ts +0 -214
- package/dist/domain/recruit/index.js +0 -30
- package/dist/domain/room/index.cjs +0 -401
- package/dist/domain/room/index.d.cts +0 -2643
- package/dist/domain/room/index.d.ts +0 -2643
- package/dist/domain/room/index.js +0 -82
- package/dist/id-dAYxfjZn.d.cts +0 -64
- package/dist/id-dAYxfjZn.d.ts +0 -64
- package/dist/restaurant.schema-CuEcX3S3.d.cts +0 -78
- package/dist/restaurant.schema-CuEcX3S3.d.ts +0 -78
|
@@ -1,330 +1,322 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
export { M as MemberId, U as UserId } from '../../id-dAYxfjZn.js';
|
|
3
2
|
|
|
4
|
-
declare const MemberRoleSchema: z.ZodEnum<
|
|
3
|
+
declare const MemberRoleSchema: z.ZodEnum<{
|
|
4
|
+
USER: "USER";
|
|
5
|
+
ADMIN: "ADMIN";
|
|
6
|
+
}>;
|
|
7
|
+
declare const LocationConsentStatusSchema: z.ZodEnum<{
|
|
8
|
+
UNKNOWN: "UNKNOWN";
|
|
9
|
+
GRANTED: "GRANTED";
|
|
10
|
+
DENIED: "DENIED";
|
|
11
|
+
}>;
|
|
12
|
+
declare const OnboardingStatusSchema: z.ZodEnum<{
|
|
13
|
+
REQUIRED: "REQUIRED";
|
|
14
|
+
COMPLETED: "COMPLETED";
|
|
15
|
+
}>;
|
|
16
|
+
declare const PermissionKindSchema: z.ZodEnum<{
|
|
17
|
+
LOCATION: "LOCATION";
|
|
18
|
+
NOTIFICATION: "NOTIFICATION";
|
|
19
|
+
CAMERA: "CAMERA";
|
|
20
|
+
}>;
|
|
21
|
+
declare const PermissionStatusSchema: z.ZodEnum<{
|
|
22
|
+
UNKNOWN: "UNKNOWN";
|
|
23
|
+
GRANTED: "GRANTED";
|
|
24
|
+
DENIED: "DENIED";
|
|
25
|
+
PROMPT: "PROMPT";
|
|
26
|
+
LIMITED: "LIMITED";
|
|
27
|
+
UNSUPPORTED: "UNSUPPORTED";
|
|
28
|
+
}>;
|
|
29
|
+
declare const PermissionPlatformSchema: z.ZodEnum<{
|
|
30
|
+
UNKNOWN: "UNKNOWN";
|
|
31
|
+
WEB: "WEB";
|
|
32
|
+
IOS: "IOS";
|
|
33
|
+
ANDROID: "ANDROID";
|
|
34
|
+
}>;
|
|
35
|
+
declare const DevicePermissionSnapshotSchema: z.ZodObject<{
|
|
36
|
+
kind: z.ZodEnum<{
|
|
37
|
+
LOCATION: "LOCATION";
|
|
38
|
+
NOTIFICATION: "NOTIFICATION";
|
|
39
|
+
CAMERA: "CAMERA";
|
|
40
|
+
}>;
|
|
41
|
+
status: z.ZodEnum<{
|
|
42
|
+
UNKNOWN: "UNKNOWN";
|
|
43
|
+
GRANTED: "GRANTED";
|
|
44
|
+
DENIED: "DENIED";
|
|
45
|
+
PROMPT: "PROMPT";
|
|
46
|
+
LIMITED: "LIMITED";
|
|
47
|
+
UNSUPPORTED: "UNSUPPORTED";
|
|
48
|
+
}>;
|
|
49
|
+
platform: z.ZodDefault<z.ZodEnum<{
|
|
50
|
+
UNKNOWN: "UNKNOWN";
|
|
51
|
+
WEB: "WEB";
|
|
52
|
+
IOS: "IOS";
|
|
53
|
+
ANDROID: "ANDROID";
|
|
54
|
+
}>>;
|
|
55
|
+
canAskAgain: z.ZodOptional<z.ZodBoolean>;
|
|
56
|
+
checkedAt: z.ZodString;
|
|
57
|
+
}, z.core.$strip>;
|
|
58
|
+
declare const MemberLocationSchema: z.ZodObject<{
|
|
59
|
+
latitude: z.ZodNumber;
|
|
60
|
+
longitude: z.ZodNumber;
|
|
61
|
+
accuracyMeters: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
62
|
+
capturedAt: z.ZodString;
|
|
63
|
+
}, z.core.$strip>;
|
|
64
|
+
declare const UpdateMemberLocationRequestSchema: z.ZodObject<{
|
|
65
|
+
latitude: z.ZodNumber;
|
|
66
|
+
longitude: z.ZodNumber;
|
|
67
|
+
accuracyMeters: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
68
|
+
capturedAt: z.ZodString;
|
|
69
|
+
}, z.core.$strip>;
|
|
70
|
+
declare const UpdateMemberLocationConsentRequestSchema: z.ZodObject<{
|
|
71
|
+
locationConsentStatus: z.ZodEnum<{
|
|
72
|
+
UNKNOWN: "UNKNOWN";
|
|
73
|
+
GRANTED: "GRANTED";
|
|
74
|
+
DENIED: "DENIED";
|
|
75
|
+
}>;
|
|
76
|
+
nearbyMealPlanExposureAllowed: z.ZodDefault<z.ZodBoolean>;
|
|
77
|
+
mealSuggestionAllowed: z.ZodOptional<z.ZodBoolean>;
|
|
78
|
+
permissionSnapshot: z.ZodOptional<z.ZodObject<{
|
|
79
|
+
kind: z.ZodEnum<{
|
|
80
|
+
LOCATION: "LOCATION";
|
|
81
|
+
NOTIFICATION: "NOTIFICATION";
|
|
82
|
+
CAMERA: "CAMERA";
|
|
83
|
+
}>;
|
|
84
|
+
status: z.ZodEnum<{
|
|
85
|
+
UNKNOWN: "UNKNOWN";
|
|
86
|
+
GRANTED: "GRANTED";
|
|
87
|
+
DENIED: "DENIED";
|
|
88
|
+
PROMPT: "PROMPT";
|
|
89
|
+
LIMITED: "LIMITED";
|
|
90
|
+
UNSUPPORTED: "UNSUPPORTED";
|
|
91
|
+
}>;
|
|
92
|
+
platform: z.ZodDefault<z.ZodEnum<{
|
|
93
|
+
UNKNOWN: "UNKNOWN";
|
|
94
|
+
WEB: "WEB";
|
|
95
|
+
IOS: "IOS";
|
|
96
|
+
ANDROID: "ANDROID";
|
|
97
|
+
}>>;
|
|
98
|
+
canAskAgain: z.ZodOptional<z.ZodBoolean>;
|
|
99
|
+
checkedAt: z.ZodString;
|
|
100
|
+
}, z.core.$strip>>;
|
|
101
|
+
}, z.core.$strip>;
|
|
102
|
+
declare const MemberLocationSettingsResponseSchema: z.ZodObject<{
|
|
103
|
+
locationConsentStatus: z.ZodEnum<{
|
|
104
|
+
UNKNOWN: "UNKNOWN";
|
|
105
|
+
GRANTED: "GRANTED";
|
|
106
|
+
DENIED: "DENIED";
|
|
107
|
+
}>;
|
|
108
|
+
nearbyMealPlanExposureAllowed: z.ZodBoolean;
|
|
109
|
+
mealSuggestionAllowed: z.ZodBoolean;
|
|
110
|
+
lastKnownLocation: z.ZodNullable<z.ZodObject<{
|
|
111
|
+
latitude: z.ZodNumber;
|
|
112
|
+
longitude: z.ZodNumber;
|
|
113
|
+
accuracyMeters: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
114
|
+
capturedAt: z.ZodString;
|
|
115
|
+
}, z.core.$strip>>;
|
|
116
|
+
permissionSnapshot: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
117
|
+
kind: z.ZodEnum<{
|
|
118
|
+
LOCATION: "LOCATION";
|
|
119
|
+
NOTIFICATION: "NOTIFICATION";
|
|
120
|
+
CAMERA: "CAMERA";
|
|
121
|
+
}>;
|
|
122
|
+
status: z.ZodEnum<{
|
|
123
|
+
UNKNOWN: "UNKNOWN";
|
|
124
|
+
GRANTED: "GRANTED";
|
|
125
|
+
DENIED: "DENIED";
|
|
126
|
+
PROMPT: "PROMPT";
|
|
127
|
+
LIMITED: "LIMITED";
|
|
128
|
+
UNSUPPORTED: "UNSUPPORTED";
|
|
129
|
+
}>;
|
|
130
|
+
platform: z.ZodDefault<z.ZodEnum<{
|
|
131
|
+
UNKNOWN: "UNKNOWN";
|
|
132
|
+
WEB: "WEB";
|
|
133
|
+
IOS: "IOS";
|
|
134
|
+
ANDROID: "ANDROID";
|
|
135
|
+
}>>;
|
|
136
|
+
canAskAgain: z.ZodOptional<z.ZodBoolean>;
|
|
137
|
+
checkedAt: z.ZodString;
|
|
138
|
+
}, z.core.$strip>>>;
|
|
139
|
+
updatedAt: z.ZodNullable<z.ZodString>;
|
|
140
|
+
}, z.core.$strip>;
|
|
5
141
|
declare const MemberCoreSchema: z.ZodObject<{
|
|
6
|
-
memberId: z.ZodBranded<z.ZodNumber, "MemberId">;
|
|
142
|
+
memberId: z.core.$ZodBranded<z.ZodNumber, "MemberId", "out">;
|
|
7
143
|
username: z.ZodString;
|
|
8
144
|
profileImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9
|
-
},
|
|
10
|
-
memberId: number & z.BRAND<"MemberId">;
|
|
11
|
-
username: string;
|
|
12
|
-
profileImageUrl?: string | null | undefined;
|
|
13
|
-
}, {
|
|
14
|
-
memberId: number;
|
|
15
|
-
username: string;
|
|
16
|
-
profileImageUrl?: string | null | undefined;
|
|
17
|
-
}>;
|
|
145
|
+
}, z.core.$strip>;
|
|
18
146
|
declare const UploadProfileImageResponseSchema: z.ZodObject<{
|
|
19
147
|
key: z.ZodString;
|
|
20
148
|
putUrl: z.ZodString;
|
|
21
149
|
cdnUrl: z.ZodString;
|
|
22
|
-
},
|
|
23
|
-
key: string;
|
|
24
|
-
putUrl: string;
|
|
25
|
-
cdnUrl: string;
|
|
26
|
-
}, {
|
|
27
|
-
key: string;
|
|
28
|
-
putUrl: string;
|
|
29
|
-
cdnUrl: string;
|
|
30
|
-
}>;
|
|
150
|
+
}, z.core.$strip>;
|
|
31
151
|
declare const UploadProfileImageRequestSchema: z.ZodObject<{
|
|
32
152
|
contentType: z.ZodString;
|
|
33
|
-
},
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
contentType: string;
|
|
37
|
-
}>;
|
|
38
|
-
declare const MemberResponseSchema: z.ZodObject<Pick<{
|
|
39
|
-
memberId: z.ZodBranded<z.ZodNumber, "MemberId">;
|
|
153
|
+
}, z.core.$strip>;
|
|
154
|
+
declare const MemberResponseSchema: z.ZodObject<{
|
|
155
|
+
memberId: z.core.$ZodBranded<z.ZodNumber, "MemberId", "out">;
|
|
40
156
|
username: z.ZodString;
|
|
41
157
|
profileImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
158
|
+
onboardingStatus: z.ZodDefault<z.ZodEnum<{
|
|
159
|
+
REQUIRED: "REQUIRED";
|
|
160
|
+
COMPLETED: "COMPLETED";
|
|
161
|
+
}>>;
|
|
162
|
+
onboardingCompletedAt: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
163
|
+
locationConsentStatus: z.ZodOptional<z.ZodEnum<{
|
|
164
|
+
UNKNOWN: "UNKNOWN";
|
|
165
|
+
GRANTED: "GRANTED";
|
|
166
|
+
DENIED: "DENIED";
|
|
167
|
+
}>>;
|
|
168
|
+
nearbyMealPlanExposureAllowed: z.ZodOptional<z.ZodBoolean>;
|
|
169
|
+
}, z.core.$strip>;
|
|
51
170
|
declare const MemberSearchQuerySchema: z.ZodObject<{
|
|
52
171
|
email: z.ZodOptional<z.ZodString>;
|
|
53
172
|
username: z.ZodOptional<z.ZodString>;
|
|
54
|
-
},
|
|
55
|
-
username?: string | undefined;
|
|
56
|
-
email?: string | undefined;
|
|
57
|
-
}, {
|
|
58
|
-
username?: string | undefined;
|
|
59
|
-
email?: string | undefined;
|
|
60
|
-
}>;
|
|
173
|
+
}, z.core.$strip>;
|
|
61
174
|
declare const MemberSerachResponseSchema: z.ZodArray<z.ZodObject<{
|
|
62
|
-
memberId: z.ZodBranded<z.ZodNumber, "MemberId">;
|
|
175
|
+
memberId: z.core.$ZodBranded<z.ZodNumber, "MemberId", "out">;
|
|
63
176
|
username: z.ZodString;
|
|
64
177
|
profileImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
65
|
-
},
|
|
66
|
-
memberId: number & z.BRAND<"MemberId">;
|
|
67
|
-
username: string;
|
|
68
|
-
profileImageUrl?: string | null | undefined;
|
|
69
|
-
}, {
|
|
70
|
-
memberId: number;
|
|
71
|
-
username: string;
|
|
72
|
-
profileImageUrl?: string | null | undefined;
|
|
73
|
-
}>, "many">;
|
|
178
|
+
}, z.core.$strip>>;
|
|
74
179
|
declare const MemberDetailSchema: z.ZodObject<{
|
|
75
|
-
memberId: z.ZodBranded<z.ZodNumber, "MemberId">;
|
|
180
|
+
memberId: z.core.$ZodBranded<z.ZodNumber, "MemberId", "out">;
|
|
76
181
|
username: z.ZodString;
|
|
77
182
|
profileImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
78
|
-
} & {
|
|
79
183
|
bio: z.ZodNullable<z.ZodString>;
|
|
80
184
|
friendConunt: z.ZodDefault<z.ZodNumber>;
|
|
81
185
|
completedPlans: z.ZodDefault<z.ZodNumber>;
|
|
82
186
|
uncompletedPlans: z.ZodDefault<z.ZodNumber>;
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
profileImageUrl?: string | null | undefined;
|
|
96
|
-
friendConunt?: number | undefined;
|
|
97
|
-
completedPlans?: number | undefined;
|
|
98
|
-
uncompletedPlans?: number | undefined;
|
|
99
|
-
}>;
|
|
187
|
+
onboardingStatus: z.ZodDefault<z.ZodEnum<{
|
|
188
|
+
REQUIRED: "REQUIRED";
|
|
189
|
+
COMPLETED: "COMPLETED";
|
|
190
|
+
}>>;
|
|
191
|
+
onboardingCompletedAt: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
192
|
+
locationConsentStatus: z.ZodDefault<z.ZodEnum<{
|
|
193
|
+
UNKNOWN: "UNKNOWN";
|
|
194
|
+
GRANTED: "GRANTED";
|
|
195
|
+
DENIED: "DENIED";
|
|
196
|
+
}>>;
|
|
197
|
+
nearbyMealPlanExposureAllowed: z.ZodDefault<z.ZodBoolean>;
|
|
198
|
+
}, z.core.$strip>;
|
|
100
199
|
declare const MemberFoodPreferenceSchema: z.ZodObject<{
|
|
101
200
|
liked: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
102
|
-
code: z.ZodBranded<z.ZodString, "FoodCode">;
|
|
103
|
-
label: z.ZodBranded<z.ZodString, "FoodLabel">;
|
|
104
|
-
},
|
|
105
|
-
code: string & z.BRAND<"FoodCode">;
|
|
106
|
-
label: string & z.BRAND<"FoodLabel">;
|
|
107
|
-
}, {
|
|
108
|
-
code: string;
|
|
109
|
-
label: string;
|
|
110
|
-
}>, "many">>;
|
|
201
|
+
code: z.core.$ZodBranded<z.ZodString, "FoodCode", "out">;
|
|
202
|
+
label: z.core.$ZodBranded<z.ZodString, "FoodLabel", "out">;
|
|
203
|
+
}, z.core.$strip>>>;
|
|
111
204
|
disliked: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
112
|
-
code: z.ZodBranded<z.ZodString, "FoodCode">;
|
|
113
|
-
label: z.ZodBranded<z.ZodString, "FoodLabel">;
|
|
114
|
-
},
|
|
115
|
-
code: string & z.BRAND<"FoodCode">;
|
|
116
|
-
label: string & z.BRAND<"FoodLabel">;
|
|
117
|
-
}, {
|
|
118
|
-
code: string;
|
|
119
|
-
label: string;
|
|
120
|
-
}>, "many">>;
|
|
205
|
+
code: z.core.$ZodBranded<z.ZodString, "FoodCode", "out">;
|
|
206
|
+
label: z.core.$ZodBranded<z.ZodString, "FoodLabel", "out">;
|
|
207
|
+
}, z.core.$strip>>>;
|
|
121
208
|
allergy: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
122
|
-
code: z.ZodBranded<z.ZodString, "FoodCode">;
|
|
123
|
-
label: z.ZodBranded<z.ZodString, "FoodLabel">;
|
|
124
|
-
},
|
|
125
|
-
|
|
126
|
-
label: string & z.BRAND<"FoodLabel">;
|
|
127
|
-
}, {
|
|
128
|
-
code: string;
|
|
129
|
-
label: string;
|
|
130
|
-
}>, "many">>;
|
|
131
|
-
}, "strip", z.ZodTypeAny, {
|
|
132
|
-
liked?: {
|
|
133
|
-
code: string & z.BRAND<"FoodCode">;
|
|
134
|
-
label: string & z.BRAND<"FoodLabel">;
|
|
135
|
-
}[] | undefined;
|
|
136
|
-
disliked?: {
|
|
137
|
-
code: string & z.BRAND<"FoodCode">;
|
|
138
|
-
label: string & z.BRAND<"FoodLabel">;
|
|
139
|
-
}[] | undefined;
|
|
140
|
-
allergy?: {
|
|
141
|
-
code: string & z.BRAND<"FoodCode">;
|
|
142
|
-
label: string & z.BRAND<"FoodLabel">;
|
|
143
|
-
}[] | undefined;
|
|
144
|
-
}, {
|
|
145
|
-
liked?: {
|
|
146
|
-
code: string;
|
|
147
|
-
label: string;
|
|
148
|
-
}[] | undefined;
|
|
149
|
-
disliked?: {
|
|
150
|
-
code: string;
|
|
151
|
-
label: string;
|
|
152
|
-
}[] | undefined;
|
|
153
|
-
allergy?: {
|
|
154
|
-
code: string;
|
|
155
|
-
label: string;
|
|
156
|
-
}[] | undefined;
|
|
157
|
-
}>;
|
|
209
|
+
code: z.core.$ZodBranded<z.ZodString, "FoodCode", "out">;
|
|
210
|
+
label: z.core.$ZodBranded<z.ZodString, "FoodLabel", "out">;
|
|
211
|
+
}, z.core.$strip>>>;
|
|
212
|
+
}, z.core.$strip>;
|
|
158
213
|
declare const ProfileDetailResponseSchema: z.ZodObject<{
|
|
159
|
-
memberId: z.ZodBranded<z.ZodNumber, "MemberId">;
|
|
214
|
+
memberId: z.core.$ZodBranded<z.ZodNumber, "MemberId", "out">;
|
|
160
215
|
username: z.ZodString;
|
|
161
216
|
profileImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
162
|
-
} & {
|
|
163
217
|
bio: z.ZodNullable<z.ZodString>;
|
|
164
218
|
friendConunt: z.ZodDefault<z.ZodNumber>;
|
|
165
219
|
completedPlans: z.ZodDefault<z.ZodNumber>;
|
|
166
220
|
uncompletedPlans: z.ZodDefault<z.ZodNumber>;
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
profileImageUrl?: string | null | undefined;
|
|
180
|
-
friendConunt?: number | undefined;
|
|
181
|
-
completedPlans?: number | undefined;
|
|
182
|
-
uncompletedPlans?: number | undefined;
|
|
183
|
-
}>;
|
|
221
|
+
onboardingStatus: z.ZodDefault<z.ZodEnum<{
|
|
222
|
+
REQUIRED: "REQUIRED";
|
|
223
|
+
COMPLETED: "COMPLETED";
|
|
224
|
+
}>>;
|
|
225
|
+
onboardingCompletedAt: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
226
|
+
locationConsentStatus: z.ZodDefault<z.ZodEnum<{
|
|
227
|
+
UNKNOWN: "UNKNOWN";
|
|
228
|
+
GRANTED: "GRANTED";
|
|
229
|
+
DENIED: "DENIED";
|
|
230
|
+
}>>;
|
|
231
|
+
nearbyMealPlanExposureAllowed: z.ZodDefault<z.ZodBoolean>;
|
|
232
|
+
}, z.core.$strip>;
|
|
184
233
|
declare const UpdateProfileRequestSchema: z.ZodObject<{
|
|
185
234
|
username: z.ZodString;
|
|
186
235
|
profileImageUrl: z.ZodNullable<z.ZodString>;
|
|
187
236
|
bio: z.ZodNullable<z.ZodString>;
|
|
188
|
-
},
|
|
189
|
-
username: string;
|
|
190
|
-
profileImageUrl: string | null;
|
|
191
|
-
bio: string | null;
|
|
192
|
-
}, {
|
|
193
|
-
username: string;
|
|
194
|
-
profileImageUrl: string | null;
|
|
195
|
-
bio: string | null;
|
|
196
|
-
}>;
|
|
237
|
+
}, z.core.$strip>;
|
|
197
238
|
declare const UpdatePreferenceRequestSchema: z.ZodObject<{
|
|
198
239
|
liked: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
199
|
-
code: z.ZodBranded<z.ZodString, "FoodCode">;
|
|
200
|
-
label: z.ZodBranded<z.ZodString, "FoodLabel">;
|
|
201
|
-
},
|
|
202
|
-
code: string & z.BRAND<"FoodCode">;
|
|
203
|
-
label: string & z.BRAND<"FoodLabel">;
|
|
204
|
-
}, {
|
|
205
|
-
code: string;
|
|
206
|
-
label: string;
|
|
207
|
-
}>, "many">>;
|
|
240
|
+
code: z.core.$ZodBranded<z.ZodString, "FoodCode", "out">;
|
|
241
|
+
label: z.core.$ZodBranded<z.ZodString, "FoodLabel", "out">;
|
|
242
|
+
}, z.core.$strip>>>;
|
|
208
243
|
disliked: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
209
|
-
code: z.ZodBranded<z.ZodString, "FoodCode">;
|
|
210
|
-
label: z.ZodBranded<z.ZodString, "FoodLabel">;
|
|
211
|
-
},
|
|
212
|
-
code: string & z.BRAND<"FoodCode">;
|
|
213
|
-
label: string & z.BRAND<"FoodLabel">;
|
|
214
|
-
}, {
|
|
215
|
-
code: string;
|
|
216
|
-
label: string;
|
|
217
|
-
}>, "many">>;
|
|
244
|
+
code: z.core.$ZodBranded<z.ZodString, "FoodCode", "out">;
|
|
245
|
+
label: z.core.$ZodBranded<z.ZodString, "FoodLabel", "out">;
|
|
246
|
+
}, z.core.$strip>>>;
|
|
218
247
|
allergy: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
219
|
-
code: z.ZodBranded<z.ZodString, "FoodCode">;
|
|
220
|
-
label: z.ZodBranded<z.ZodString, "FoodLabel">;
|
|
221
|
-
},
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
248
|
+
code: z.core.$ZodBranded<z.ZodString, "FoodCode", "out">;
|
|
249
|
+
label: z.core.$ZodBranded<z.ZodString, "FoodLabel", "out">;
|
|
250
|
+
}, z.core.$strip>>>;
|
|
251
|
+
}, z.core.$strip>;
|
|
252
|
+
declare const CompleteOnboardingRequestSchema: z.ZodObject<{
|
|
253
|
+
username: z.ZodString;
|
|
254
|
+
profileImageUrl: z.ZodNullable<z.ZodString>;
|
|
255
|
+
bio: z.ZodNullable<z.ZodString>;
|
|
256
|
+
liked: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
257
|
+
code: z.core.$ZodBranded<z.ZodString, "FoodCode", "out">;
|
|
258
|
+
label: z.core.$ZodBranded<z.ZodString, "FoodLabel", "out">;
|
|
259
|
+
}, z.core.$strip>>>;
|
|
260
|
+
disliked: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
261
|
+
code: z.core.$ZodBranded<z.ZodString, "FoodCode", "out">;
|
|
262
|
+
label: z.core.$ZodBranded<z.ZodString, "FoodLabel", "out">;
|
|
263
|
+
}, z.core.$strip>>>;
|
|
264
|
+
allergy: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
265
|
+
code: z.core.$ZodBranded<z.ZodString, "FoodCode", "out">;
|
|
266
|
+
label: z.core.$ZodBranded<z.ZodString, "FoodLabel", "out">;
|
|
267
|
+
}, z.core.$strip>>>;
|
|
268
|
+
}, z.core.$strip>;
|
|
269
|
+
declare const OnboardingDraftSchema: z.ZodObject<{
|
|
270
|
+
username: z.ZodOptional<z.ZodString>;
|
|
271
|
+
profileImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
272
|
+
bio: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
273
|
+
liked: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
274
|
+
code: z.core.$ZodBranded<z.ZodString, "FoodCode", "out">;
|
|
275
|
+
label: z.core.$ZodBranded<z.ZodString, "FoodLabel", "out">;
|
|
276
|
+
}, z.core.$strip>>>;
|
|
277
|
+
disliked: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
278
|
+
code: z.core.$ZodBranded<z.ZodString, "FoodCode", "out">;
|
|
279
|
+
label: z.core.$ZodBranded<z.ZodString, "FoodLabel", "out">;
|
|
280
|
+
}, z.core.$strip>>>;
|
|
281
|
+
allergy: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
282
|
+
code: z.core.$ZodBranded<z.ZodString, "FoodCode", "out">;
|
|
283
|
+
label: z.core.$ZodBranded<z.ZodString, "FoodLabel", "out">;
|
|
284
|
+
}, z.core.$strip>>>;
|
|
285
|
+
}, z.core.$strip>;
|
|
255
286
|
declare const CreateProfileRequestSchema: z.ZodObject<{
|
|
256
287
|
username: z.ZodString;
|
|
257
288
|
profileImageUrl: z.ZodNullable<z.ZodString>;
|
|
258
289
|
bio: z.ZodNullable<z.ZodString>;
|
|
259
|
-
} & {
|
|
260
290
|
liked: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
261
|
-
code: z.ZodBranded<z.ZodString, "FoodCode">;
|
|
262
|
-
label: z.ZodBranded<z.ZodString, "FoodLabel">;
|
|
263
|
-
},
|
|
264
|
-
code: string & z.BRAND<"FoodCode">;
|
|
265
|
-
label: string & z.BRAND<"FoodLabel">;
|
|
266
|
-
}, {
|
|
267
|
-
code: string;
|
|
268
|
-
label: string;
|
|
269
|
-
}>, "many">>;
|
|
291
|
+
code: z.core.$ZodBranded<z.ZodString, "FoodCode", "out">;
|
|
292
|
+
label: z.core.$ZodBranded<z.ZodString, "FoodLabel", "out">;
|
|
293
|
+
}, z.core.$strip>>>;
|
|
270
294
|
disliked: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
271
|
-
code: z.ZodBranded<z.ZodString, "FoodCode">;
|
|
272
|
-
label: z.ZodBranded<z.ZodString, "FoodLabel">;
|
|
273
|
-
},
|
|
274
|
-
code: string & z.BRAND<"FoodCode">;
|
|
275
|
-
label: string & z.BRAND<"FoodLabel">;
|
|
276
|
-
}, {
|
|
277
|
-
code: string;
|
|
278
|
-
label: string;
|
|
279
|
-
}>, "many">>;
|
|
295
|
+
code: z.core.$ZodBranded<z.ZodString, "FoodCode", "out">;
|
|
296
|
+
label: z.core.$ZodBranded<z.ZodString, "FoodLabel", "out">;
|
|
297
|
+
}, z.core.$strip>>>;
|
|
280
298
|
allergy: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
281
|
-
code: z.ZodBranded<z.ZodString, "FoodCode">;
|
|
282
|
-
label: z.ZodBranded<z.ZodString, "FoodLabel">;
|
|
283
|
-
},
|
|
284
|
-
|
|
285
|
-
label: string & z.BRAND<"FoodLabel">;
|
|
286
|
-
}, {
|
|
287
|
-
code: string;
|
|
288
|
-
label: string;
|
|
289
|
-
}>, "many">>;
|
|
290
|
-
}, "strip", z.ZodTypeAny, {
|
|
291
|
-
username: string;
|
|
292
|
-
profileImageUrl: string | null;
|
|
293
|
-
bio: string | null;
|
|
294
|
-
liked?: {
|
|
295
|
-
code: string & z.BRAND<"FoodCode">;
|
|
296
|
-
label: string & z.BRAND<"FoodLabel">;
|
|
297
|
-
}[] | undefined;
|
|
298
|
-
disliked?: {
|
|
299
|
-
code: string & z.BRAND<"FoodCode">;
|
|
300
|
-
label: string & z.BRAND<"FoodLabel">;
|
|
301
|
-
}[] | undefined;
|
|
302
|
-
allergy?: {
|
|
303
|
-
code: string & z.BRAND<"FoodCode">;
|
|
304
|
-
label: string & z.BRAND<"FoodLabel">;
|
|
305
|
-
}[] | undefined;
|
|
306
|
-
}, {
|
|
307
|
-
username: string;
|
|
308
|
-
profileImageUrl: string | null;
|
|
309
|
-
bio: string | null;
|
|
310
|
-
liked?: {
|
|
311
|
-
code: string;
|
|
312
|
-
label: string;
|
|
313
|
-
}[] | undefined;
|
|
314
|
-
disliked?: {
|
|
315
|
-
code: string;
|
|
316
|
-
label: string;
|
|
317
|
-
}[] | undefined;
|
|
318
|
-
allergy?: {
|
|
319
|
-
code: string;
|
|
320
|
-
label: string;
|
|
321
|
-
}[] | undefined;
|
|
322
|
-
}>;
|
|
299
|
+
code: z.core.$ZodBranded<z.ZodString, "FoodCode", "out">;
|
|
300
|
+
label: z.core.$ZodBranded<z.ZodString, "FoodLabel", "out">;
|
|
301
|
+
}, z.core.$strip>>>;
|
|
302
|
+
}, z.core.$strip>;
|
|
323
303
|
|
|
324
304
|
type MemberRole = z.infer<typeof MemberRoleSchema>;
|
|
305
|
+
type LocationConsentStatus = z.infer<typeof LocationConsentStatusSchema>;
|
|
306
|
+
type OnboardingStatus = z.infer<typeof OnboardingStatusSchema>;
|
|
307
|
+
type PermissionKind = z.infer<typeof PermissionKindSchema>;
|
|
308
|
+
type PermissionStatus = z.infer<typeof PermissionStatusSchema>;
|
|
309
|
+
type PermissionPlatform = z.infer<typeof PermissionPlatformSchema>;
|
|
310
|
+
type DevicePermissionSnapshot = z.infer<typeof DevicePermissionSnapshotSchema>;
|
|
311
|
+
type MemberLocation = z.infer<typeof MemberLocationSchema>;
|
|
312
|
+
type UpdateMemberLocationRequest = z.infer<typeof UpdateMemberLocationRequestSchema>;
|
|
313
|
+
type UpdateMemberLocationConsentRequest = z.infer<typeof UpdateMemberLocationConsentRequestSchema>;
|
|
314
|
+
type MemberLocationSettingsResponse = z.infer<typeof MemberLocationSettingsResponseSchema>;
|
|
325
315
|
type MemberResponse = z.infer<typeof MemberResponseSchema>;
|
|
326
316
|
type MemberCore = z.infer<typeof MemberCoreSchema>;
|
|
327
317
|
type UpdateProfileRequest = z.infer<typeof UpdateProfileRequestSchema>;
|
|
318
|
+
type CompleteOnboardingRequest = z.infer<typeof CompleteOnboardingRequestSchema>;
|
|
319
|
+
type OnboardingDraft = z.infer<typeof OnboardingDraftSchema>;
|
|
328
320
|
type CreateProfileRequest = z.infer<typeof CreateProfileRequestSchema>;
|
|
329
321
|
type UploadProfileImageResponse = z.infer<typeof UploadProfileImageResponseSchema>;
|
|
330
322
|
type UploadProfileImageRequest = z.infer<typeof UploadProfileImageRequestSchema>;
|
|
@@ -334,7 +326,5 @@ type MemberFoodPreference = z.infer<typeof MemberFoodPreferenceSchema>;
|
|
|
334
326
|
type UpdatePreferenceRequest = z.infer<typeof UpdatePreferenceRequestSchema>;
|
|
335
327
|
type MemberSearchQuery = z.infer<typeof MemberSearchQuerySchema>;
|
|
336
328
|
type MemberSerachResponse = z.infer<typeof MemberSerachResponseSchema>;
|
|
337
|
-
/** @deprecated Use MemberResponse. */
|
|
338
|
-
type User = MemberResponse;
|
|
339
329
|
|
|
340
|
-
export { type CreateProfileRequest, CreateProfileRequestSchema, type MemberCore, MemberCoreSchema, type MemberDetail, MemberDetailSchema, type MemberFoodPreference, MemberFoodPreferenceSchema, type MemberResponse, MemberResponseSchema, type MemberRole, MemberRoleSchema, type MemberSearchQuery, MemberSearchQuerySchema, type MemberSerachResponse, MemberSerachResponseSchema, type ProfileDetailResponse, ProfileDetailResponseSchema, type UpdatePreferenceRequest, UpdatePreferenceRequestSchema, type UpdateProfileRequest, UpdateProfileRequestSchema, type UploadProfileImageRequest, UploadProfileImageRequestSchema, type UploadProfileImageResponse, UploadProfileImageResponseSchema
|
|
330
|
+
export { type CompleteOnboardingRequest, CompleteOnboardingRequestSchema, type CreateProfileRequest, CreateProfileRequestSchema, type DevicePermissionSnapshot, DevicePermissionSnapshotSchema, type LocationConsentStatus, LocationConsentStatusSchema, type MemberCore, MemberCoreSchema, type MemberDetail, MemberDetailSchema, type MemberFoodPreference, MemberFoodPreferenceSchema, type MemberLocation, MemberLocationSchema, type MemberLocationSettingsResponse, MemberLocationSettingsResponseSchema, type MemberResponse, MemberResponseSchema, type MemberRole, MemberRoleSchema, type MemberSearchQuery, MemberSearchQuerySchema, type MemberSerachResponse, MemberSerachResponseSchema, type OnboardingDraft, OnboardingDraftSchema, type OnboardingStatus, OnboardingStatusSchema, type PermissionKind, PermissionKindSchema, type PermissionPlatform, PermissionPlatformSchema, type PermissionStatus, PermissionStatusSchema, type ProfileDetailResponse, ProfileDetailResponseSchema, type UpdateMemberLocationConsentRequest, UpdateMemberLocationConsentRequestSchema, type UpdateMemberLocationRequest, UpdateMemberLocationRequestSchema, type UpdatePreferenceRequest, UpdatePreferenceRequestSchema, type UpdateProfileRequest, UpdateProfileRequestSchema, type UploadProfileImageRequest, UploadProfileImageRequestSchema, type UploadProfileImageResponse, UploadProfileImageResponseSchema };
|
|
@@ -1,30 +1,54 @@
|
|
|
1
1
|
import "../../chunk-NJTV6DRT.js";
|
|
2
2
|
import {
|
|
3
|
+
CompleteOnboardingRequestSchema,
|
|
3
4
|
CreateProfileRequestSchema,
|
|
5
|
+
DevicePermissionSnapshotSchema,
|
|
6
|
+
LocationConsentStatusSchema,
|
|
4
7
|
MemberCoreSchema,
|
|
5
8
|
MemberDetailSchema,
|
|
6
9
|
MemberFoodPreferenceSchema,
|
|
10
|
+
MemberLocationSchema,
|
|
11
|
+
MemberLocationSettingsResponseSchema,
|
|
7
12
|
MemberResponseSchema,
|
|
8
13
|
MemberRoleSchema,
|
|
9
14
|
MemberSearchQuerySchema,
|
|
10
15
|
MemberSerachResponseSchema,
|
|
16
|
+
OnboardingDraftSchema,
|
|
17
|
+
OnboardingStatusSchema,
|
|
18
|
+
PermissionKindSchema,
|
|
19
|
+
PermissionPlatformSchema,
|
|
20
|
+
PermissionStatusSchema,
|
|
11
21
|
ProfileDetailResponseSchema,
|
|
22
|
+
UpdateMemberLocationConsentRequestSchema,
|
|
23
|
+
UpdateMemberLocationRequestSchema,
|
|
12
24
|
UpdatePreferenceRequestSchema,
|
|
13
25
|
UpdateProfileRequestSchema,
|
|
14
26
|
UploadProfileImageRequestSchema,
|
|
15
27
|
UploadProfileImageResponseSchema
|
|
16
|
-
} from "../../chunk-
|
|
17
|
-
import "../../chunk-
|
|
28
|
+
} from "../../chunk-YV734GYZ.js";
|
|
29
|
+
import "../../chunk-6R5CCY5Q.js";
|
|
18
30
|
export {
|
|
31
|
+
CompleteOnboardingRequestSchema,
|
|
19
32
|
CreateProfileRequestSchema,
|
|
33
|
+
DevicePermissionSnapshotSchema,
|
|
34
|
+
LocationConsentStatusSchema,
|
|
20
35
|
MemberCoreSchema,
|
|
21
36
|
MemberDetailSchema,
|
|
22
37
|
MemberFoodPreferenceSchema,
|
|
38
|
+
MemberLocationSchema,
|
|
39
|
+
MemberLocationSettingsResponseSchema,
|
|
23
40
|
MemberResponseSchema,
|
|
24
41
|
MemberRoleSchema,
|
|
25
42
|
MemberSearchQuerySchema,
|
|
26
43
|
MemberSerachResponseSchema,
|
|
44
|
+
OnboardingDraftSchema,
|
|
45
|
+
OnboardingStatusSchema,
|
|
46
|
+
PermissionKindSchema,
|
|
47
|
+
PermissionPlatformSchema,
|
|
48
|
+
PermissionStatusSchema,
|
|
27
49
|
ProfileDetailResponseSchema,
|
|
50
|
+
UpdateMemberLocationConsentRequestSchema,
|
|
51
|
+
UpdateMemberLocationRequestSchema,
|
|
28
52
|
UpdatePreferenceRequestSchema,
|
|
29
53
|
UpdateProfileRequestSchema,
|
|
30
54
|
UploadProfileImageRequestSchema,
|