@kimdaegyu/babmukdang-shared 1.1.10 → 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 +254 -0
- package/dist/domain/article/index.d.ts +254 -0
- package/dist/domain/article/index.js +5 -5
- package/dist/domain/auth/index.cjs +88 -9
- package/dist/domain/auth/index.d.cts +29 -0
- package/dist/domain/auth/index.d.ts +29 -0
- package/dist/domain/auth/index.js +3 -3
- package/dist/domain/common/index.cjs +2100 -395
- package/dist/domain/common/index.d.cts +328 -0
- package/dist/domain/common/index.d.ts +328 -0
- 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 +72 -0
- package/dist/domain/friend/index.d.ts +72 -0
- package/dist/domain/friend/index.js +6 -4
- package/dist/domain/index.cjs +2736 -522
- package/dist/domain/index.d.cts +576 -0
- package/dist/domain/index.d.ts +576 -0
- 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 +47 -0
- package/dist/domain/meal/index.d.ts +47 -0
- 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 +330 -0
- package/dist/domain/member/index.d.ts +330 -0
- package/dist/domain/member/index.js +26 -2
- package/dist/domain/promotion/index.cjs +26 -8
- package/dist/domain/promotion/index.d.cts +81 -0
- package/dist/domain/promotion/index.d.ts +81 -0
- 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 +34 -0
- package/dist/domain/restaurant/index.d.ts +34 -0
- package/dist/domain/restaurant/index.js +2 -2
- package/dist/index.cjs +2533 -640
- package/dist/index.d.cts +14 -0
- package/dist/index.d.ts +14 -0
- package/dist/index.js +16 -191
- 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.js +0 -13
- package/dist/domain/plan/index.cjs +0 -327
- package/dist/domain/plan/index.js +0 -18
- package/dist/domain/recruit/index.cjs +0 -189
- package/dist/domain/recruit/index.js +0 -30
- package/dist/domain/room/index.cjs +0 -401
- package/dist/domain/room/index.js +0 -82
|
@@ -0,0 +1,330 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
|
|
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>;
|
|
141
|
+
declare const MemberCoreSchema: z.ZodObject<{
|
|
142
|
+
memberId: z.core.$ZodBranded<z.ZodNumber, "MemberId", "out">;
|
|
143
|
+
username: z.ZodString;
|
|
144
|
+
profileImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
145
|
+
}, z.core.$strip>;
|
|
146
|
+
declare const UploadProfileImageResponseSchema: z.ZodObject<{
|
|
147
|
+
key: z.ZodString;
|
|
148
|
+
putUrl: z.ZodString;
|
|
149
|
+
cdnUrl: z.ZodString;
|
|
150
|
+
}, z.core.$strip>;
|
|
151
|
+
declare const UploadProfileImageRequestSchema: z.ZodObject<{
|
|
152
|
+
contentType: z.ZodString;
|
|
153
|
+
}, z.core.$strip>;
|
|
154
|
+
declare const MemberResponseSchema: z.ZodObject<{
|
|
155
|
+
memberId: z.core.$ZodBranded<z.ZodNumber, "MemberId", "out">;
|
|
156
|
+
username: z.ZodString;
|
|
157
|
+
profileImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
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>;
|
|
170
|
+
declare const MemberSearchQuerySchema: z.ZodObject<{
|
|
171
|
+
email: z.ZodOptional<z.ZodString>;
|
|
172
|
+
username: z.ZodOptional<z.ZodString>;
|
|
173
|
+
}, z.core.$strip>;
|
|
174
|
+
declare const MemberSerachResponseSchema: z.ZodArray<z.ZodObject<{
|
|
175
|
+
memberId: z.core.$ZodBranded<z.ZodNumber, "MemberId", "out">;
|
|
176
|
+
username: z.ZodString;
|
|
177
|
+
profileImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
178
|
+
}, z.core.$strip>>;
|
|
179
|
+
declare const MemberDetailSchema: z.ZodObject<{
|
|
180
|
+
memberId: z.core.$ZodBranded<z.ZodNumber, "MemberId", "out">;
|
|
181
|
+
username: z.ZodString;
|
|
182
|
+
profileImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
183
|
+
bio: z.ZodNullable<z.ZodString>;
|
|
184
|
+
friendConunt: z.ZodDefault<z.ZodNumber>;
|
|
185
|
+
completedPlans: z.ZodDefault<z.ZodNumber>;
|
|
186
|
+
uncompletedPlans: z.ZodDefault<z.ZodNumber>;
|
|
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>;
|
|
199
|
+
declare const MemberFoodPreferenceSchema: z.ZodObject<{
|
|
200
|
+
liked: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
201
|
+
code: z.core.$ZodBranded<z.ZodString, "FoodCode", "out">;
|
|
202
|
+
label: z.core.$ZodBranded<z.ZodString, "FoodLabel", "out">;
|
|
203
|
+
}, z.core.$strip>>>;
|
|
204
|
+
disliked: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
205
|
+
code: z.core.$ZodBranded<z.ZodString, "FoodCode", "out">;
|
|
206
|
+
label: z.core.$ZodBranded<z.ZodString, "FoodLabel", "out">;
|
|
207
|
+
}, z.core.$strip>>>;
|
|
208
|
+
allergy: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
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>;
|
|
213
|
+
declare const ProfileDetailResponseSchema: z.ZodObject<{
|
|
214
|
+
memberId: z.core.$ZodBranded<z.ZodNumber, "MemberId", "out">;
|
|
215
|
+
username: z.ZodString;
|
|
216
|
+
profileImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
217
|
+
bio: z.ZodNullable<z.ZodString>;
|
|
218
|
+
friendConunt: z.ZodDefault<z.ZodNumber>;
|
|
219
|
+
completedPlans: z.ZodDefault<z.ZodNumber>;
|
|
220
|
+
uncompletedPlans: z.ZodDefault<z.ZodNumber>;
|
|
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>;
|
|
233
|
+
declare const UpdateProfileRequestSchema: z.ZodObject<{
|
|
234
|
+
username: z.ZodString;
|
|
235
|
+
profileImageUrl: z.ZodNullable<z.ZodString>;
|
|
236
|
+
bio: z.ZodNullable<z.ZodString>;
|
|
237
|
+
}, z.core.$strip>;
|
|
238
|
+
declare const UpdatePreferenceRequestSchema: z.ZodObject<{
|
|
239
|
+
liked: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
240
|
+
code: z.core.$ZodBranded<z.ZodString, "FoodCode", "out">;
|
|
241
|
+
label: z.core.$ZodBranded<z.ZodString, "FoodLabel", "out">;
|
|
242
|
+
}, z.core.$strip>>>;
|
|
243
|
+
disliked: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
244
|
+
code: z.core.$ZodBranded<z.ZodString, "FoodCode", "out">;
|
|
245
|
+
label: z.core.$ZodBranded<z.ZodString, "FoodLabel", "out">;
|
|
246
|
+
}, z.core.$strip>>>;
|
|
247
|
+
allergy: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
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>;
|
|
286
|
+
declare const CreateProfileRequestSchema: z.ZodObject<{
|
|
287
|
+
username: z.ZodString;
|
|
288
|
+
profileImageUrl: z.ZodNullable<z.ZodString>;
|
|
289
|
+
bio: z.ZodNullable<z.ZodString>;
|
|
290
|
+
liked: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
291
|
+
code: z.core.$ZodBranded<z.ZodString, "FoodCode", "out">;
|
|
292
|
+
label: z.core.$ZodBranded<z.ZodString, "FoodLabel", "out">;
|
|
293
|
+
}, z.core.$strip>>>;
|
|
294
|
+
disliked: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
295
|
+
code: z.core.$ZodBranded<z.ZodString, "FoodCode", "out">;
|
|
296
|
+
label: z.core.$ZodBranded<z.ZodString, "FoodLabel", "out">;
|
|
297
|
+
}, z.core.$strip>>>;
|
|
298
|
+
allergy: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
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>;
|
|
303
|
+
|
|
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>;
|
|
315
|
+
type MemberResponse = z.infer<typeof MemberResponseSchema>;
|
|
316
|
+
type MemberCore = z.infer<typeof MemberCoreSchema>;
|
|
317
|
+
type UpdateProfileRequest = z.infer<typeof UpdateProfileRequestSchema>;
|
|
318
|
+
type CompleteOnboardingRequest = z.infer<typeof CompleteOnboardingRequestSchema>;
|
|
319
|
+
type OnboardingDraft = z.infer<typeof OnboardingDraftSchema>;
|
|
320
|
+
type CreateProfileRequest = z.infer<typeof CreateProfileRequestSchema>;
|
|
321
|
+
type UploadProfileImageResponse = z.infer<typeof UploadProfileImageResponseSchema>;
|
|
322
|
+
type UploadProfileImageRequest = z.infer<typeof UploadProfileImageRequestSchema>;
|
|
323
|
+
type MemberDetail = z.infer<typeof MemberDetailSchema>;
|
|
324
|
+
type ProfileDetailResponse = z.infer<typeof ProfileDetailResponseSchema>;
|
|
325
|
+
type MemberFoodPreference = z.infer<typeof MemberFoodPreferenceSchema>;
|
|
326
|
+
type UpdatePreferenceRequest = z.infer<typeof UpdatePreferenceRequestSchema>;
|
|
327
|
+
type MemberSearchQuery = z.infer<typeof MemberSearchQuerySchema>;
|
|
328
|
+
type MemberSerachResponse = z.infer<typeof MemberSerachResponseSchema>;
|
|
329
|
+
|
|
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 };
|
|
@@ -0,0 +1,330 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
|
|
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>;
|
|
141
|
+
declare const MemberCoreSchema: z.ZodObject<{
|
|
142
|
+
memberId: z.core.$ZodBranded<z.ZodNumber, "MemberId", "out">;
|
|
143
|
+
username: z.ZodString;
|
|
144
|
+
profileImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
145
|
+
}, z.core.$strip>;
|
|
146
|
+
declare const UploadProfileImageResponseSchema: z.ZodObject<{
|
|
147
|
+
key: z.ZodString;
|
|
148
|
+
putUrl: z.ZodString;
|
|
149
|
+
cdnUrl: z.ZodString;
|
|
150
|
+
}, z.core.$strip>;
|
|
151
|
+
declare const UploadProfileImageRequestSchema: z.ZodObject<{
|
|
152
|
+
contentType: z.ZodString;
|
|
153
|
+
}, z.core.$strip>;
|
|
154
|
+
declare const MemberResponseSchema: z.ZodObject<{
|
|
155
|
+
memberId: z.core.$ZodBranded<z.ZodNumber, "MemberId", "out">;
|
|
156
|
+
username: z.ZodString;
|
|
157
|
+
profileImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
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>;
|
|
170
|
+
declare const MemberSearchQuerySchema: z.ZodObject<{
|
|
171
|
+
email: z.ZodOptional<z.ZodString>;
|
|
172
|
+
username: z.ZodOptional<z.ZodString>;
|
|
173
|
+
}, z.core.$strip>;
|
|
174
|
+
declare const MemberSerachResponseSchema: z.ZodArray<z.ZodObject<{
|
|
175
|
+
memberId: z.core.$ZodBranded<z.ZodNumber, "MemberId", "out">;
|
|
176
|
+
username: z.ZodString;
|
|
177
|
+
profileImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
178
|
+
}, z.core.$strip>>;
|
|
179
|
+
declare const MemberDetailSchema: z.ZodObject<{
|
|
180
|
+
memberId: z.core.$ZodBranded<z.ZodNumber, "MemberId", "out">;
|
|
181
|
+
username: z.ZodString;
|
|
182
|
+
profileImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
183
|
+
bio: z.ZodNullable<z.ZodString>;
|
|
184
|
+
friendConunt: z.ZodDefault<z.ZodNumber>;
|
|
185
|
+
completedPlans: z.ZodDefault<z.ZodNumber>;
|
|
186
|
+
uncompletedPlans: z.ZodDefault<z.ZodNumber>;
|
|
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>;
|
|
199
|
+
declare const MemberFoodPreferenceSchema: z.ZodObject<{
|
|
200
|
+
liked: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
201
|
+
code: z.core.$ZodBranded<z.ZodString, "FoodCode", "out">;
|
|
202
|
+
label: z.core.$ZodBranded<z.ZodString, "FoodLabel", "out">;
|
|
203
|
+
}, z.core.$strip>>>;
|
|
204
|
+
disliked: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
205
|
+
code: z.core.$ZodBranded<z.ZodString, "FoodCode", "out">;
|
|
206
|
+
label: z.core.$ZodBranded<z.ZodString, "FoodLabel", "out">;
|
|
207
|
+
}, z.core.$strip>>>;
|
|
208
|
+
allergy: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
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>;
|
|
213
|
+
declare const ProfileDetailResponseSchema: z.ZodObject<{
|
|
214
|
+
memberId: z.core.$ZodBranded<z.ZodNumber, "MemberId", "out">;
|
|
215
|
+
username: z.ZodString;
|
|
216
|
+
profileImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
217
|
+
bio: z.ZodNullable<z.ZodString>;
|
|
218
|
+
friendConunt: z.ZodDefault<z.ZodNumber>;
|
|
219
|
+
completedPlans: z.ZodDefault<z.ZodNumber>;
|
|
220
|
+
uncompletedPlans: z.ZodDefault<z.ZodNumber>;
|
|
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>;
|
|
233
|
+
declare const UpdateProfileRequestSchema: z.ZodObject<{
|
|
234
|
+
username: z.ZodString;
|
|
235
|
+
profileImageUrl: z.ZodNullable<z.ZodString>;
|
|
236
|
+
bio: z.ZodNullable<z.ZodString>;
|
|
237
|
+
}, z.core.$strip>;
|
|
238
|
+
declare const UpdatePreferenceRequestSchema: z.ZodObject<{
|
|
239
|
+
liked: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
240
|
+
code: z.core.$ZodBranded<z.ZodString, "FoodCode", "out">;
|
|
241
|
+
label: z.core.$ZodBranded<z.ZodString, "FoodLabel", "out">;
|
|
242
|
+
}, z.core.$strip>>>;
|
|
243
|
+
disliked: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
244
|
+
code: z.core.$ZodBranded<z.ZodString, "FoodCode", "out">;
|
|
245
|
+
label: z.core.$ZodBranded<z.ZodString, "FoodLabel", "out">;
|
|
246
|
+
}, z.core.$strip>>>;
|
|
247
|
+
allergy: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
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>;
|
|
286
|
+
declare const CreateProfileRequestSchema: z.ZodObject<{
|
|
287
|
+
username: z.ZodString;
|
|
288
|
+
profileImageUrl: z.ZodNullable<z.ZodString>;
|
|
289
|
+
bio: z.ZodNullable<z.ZodString>;
|
|
290
|
+
liked: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
291
|
+
code: z.core.$ZodBranded<z.ZodString, "FoodCode", "out">;
|
|
292
|
+
label: z.core.$ZodBranded<z.ZodString, "FoodLabel", "out">;
|
|
293
|
+
}, z.core.$strip>>>;
|
|
294
|
+
disliked: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
295
|
+
code: z.core.$ZodBranded<z.ZodString, "FoodCode", "out">;
|
|
296
|
+
label: z.core.$ZodBranded<z.ZodString, "FoodLabel", "out">;
|
|
297
|
+
}, z.core.$strip>>>;
|
|
298
|
+
allergy: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
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>;
|
|
303
|
+
|
|
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>;
|
|
315
|
+
type MemberResponse = z.infer<typeof MemberResponseSchema>;
|
|
316
|
+
type MemberCore = z.infer<typeof MemberCoreSchema>;
|
|
317
|
+
type UpdateProfileRequest = z.infer<typeof UpdateProfileRequestSchema>;
|
|
318
|
+
type CompleteOnboardingRequest = z.infer<typeof CompleteOnboardingRequestSchema>;
|
|
319
|
+
type OnboardingDraft = z.infer<typeof OnboardingDraftSchema>;
|
|
320
|
+
type CreateProfileRequest = z.infer<typeof CreateProfileRequestSchema>;
|
|
321
|
+
type UploadProfileImageResponse = z.infer<typeof UploadProfileImageResponseSchema>;
|
|
322
|
+
type UploadProfileImageRequest = z.infer<typeof UploadProfileImageRequestSchema>;
|
|
323
|
+
type MemberDetail = z.infer<typeof MemberDetailSchema>;
|
|
324
|
+
type ProfileDetailResponse = z.infer<typeof ProfileDetailResponseSchema>;
|
|
325
|
+
type MemberFoodPreference = z.infer<typeof MemberFoodPreferenceSchema>;
|
|
326
|
+
type UpdatePreferenceRequest = z.infer<typeof UpdatePreferenceRequestSchema>;
|
|
327
|
+
type MemberSearchQuery = z.infer<typeof MemberSearchQuerySchema>;
|
|
328
|
+
type MemberSerachResponse = z.infer<typeof MemberSerachResponseSchema>;
|
|
329
|
+
|
|
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 };
|