@kimdaegyu/babmukdang-shared 1.1.11 → 2.0.3

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.
Files changed (100) hide show
  1. package/dist/chunk-3TY6OPD3.js +91 -0
  2. package/dist/{chunk-W4C7XHTX.js → chunk-6O2YTBVC.js} +3 -3
  3. package/dist/{chunk-GTVEQYJW.js → chunk-7JYVBXKQ.js} +1 -1
  4. package/dist/chunk-7UZD4LBQ.js +459 -0
  5. package/dist/chunk-BSJC7OVV.js +10 -0
  6. package/dist/chunk-C63TN7L3.js +148 -0
  7. package/dist/chunk-CGFW5LYV.js +143 -0
  8. package/dist/chunk-GOOH2LGN.js +829 -0
  9. package/dist/chunk-LEH6UFL7.js +314 -0
  10. package/dist/{chunk-K3CZKI2F.js → chunk-NENVUHL5.js} +11 -8
  11. package/dist/chunk-OPMBGBYS.js +632 -0
  12. package/dist/{chunk-OJVXYCSH.js → chunk-QFPVAJ2U.js} +1 -1
  13. package/dist/{chunk-AI2YMBJX.js → chunk-RZPNVRRS.js} +5 -5
  14. package/dist/{chunk-4E5E3PFW.js → chunk-VD3VGLBQ.js} +13 -5
  15. package/dist/chunk-WYBFBLQC.js +111 -0
  16. package/dist/{chunk-H77ISYYC.js → chunk-XMRYAG3V.js} +20 -8
  17. package/dist/domain/article/index.cjs +71 -7
  18. package/dist/domain/article/index.d.cts +79 -796
  19. package/dist/domain/article/index.d.ts +79 -796
  20. package/dist/domain/article/index.js +4 -4
  21. package/dist/domain/auth/index.cjs +68 -6
  22. package/dist/domain/auth/index.d.cts +6 -46
  23. package/dist/domain/auth/index.d.ts +6 -46
  24. package/dist/domain/auth/index.js +3 -3
  25. package/dist/domain/common/index.cjs +1438 -330
  26. package/dist/domain/common/index.d.cts +212 -3037
  27. package/dist/domain/common/index.d.ts +212 -3037
  28. package/dist/domain/common/index.js +65 -30
  29. package/dist/domain/food/index.cjs +225 -0
  30. package/dist/domain/food/index.d.cts +321 -0
  31. package/dist/domain/food/index.d.ts +321 -0
  32. package/dist/domain/food/index.js +46 -0
  33. package/dist/domain/friend/index.cjs +78 -7
  34. package/dist/domain/friend/index.d.cts +39 -98
  35. package/dist/domain/friend/index.d.ts +39 -98
  36. package/dist/domain/friend/index.js +5 -3
  37. package/dist/domain/index.cjs +1930 -456
  38. package/dist/domain/index.d.cts +382 -123
  39. package/dist/domain/index.d.ts +382 -123
  40. package/dist/domain/index.js +429 -140
  41. package/dist/domain/live-activity/index.cjs +1112 -0
  42. package/dist/domain/live-activity/index.d.cts +177 -0
  43. package/dist/domain/live-activity/index.d.ts +177 -0
  44. package/dist/domain/live-activity/index.js +28 -0
  45. package/dist/domain/meal/index.cjs +68 -6
  46. package/dist/domain/meal/index.d.cts +21 -40
  47. package/dist/domain/meal/index.d.ts +21 -40
  48. package/dist/domain/meal/index.js +4 -4
  49. package/dist/domain/meal-plan/index.cjs +1540 -0
  50. package/dist/domain/meal-plan/index.d.cts +4523 -0
  51. package/dist/domain/meal-plan/index.d.ts +4523 -0
  52. package/dist/domain/meal-plan/index.js +255 -0
  53. package/dist/domain/member/index.cjs +94 -6
  54. package/dist/domain/member/index.d.cts +263 -273
  55. package/dist/domain/member/index.d.ts +263 -273
  56. package/dist/domain/member/index.js +26 -2
  57. package/dist/domain/promotion/index.cjs +10 -4
  58. package/dist/domain/promotion/index.d.cts +35 -112
  59. package/dist/domain/promotion/index.d.ts +35 -112
  60. package/dist/domain/promotion/index.js +2 -2
  61. package/dist/domain/push/index.cjs +1055 -0
  62. package/dist/domain/push/index.d.cts +169 -0
  63. package/dist/domain/push/index.d.ts +169 -0
  64. package/dist/domain/push/index.js +36 -0
  65. package/dist/domain/restaurant/index.cjs +10 -4
  66. package/dist/domain/restaurant/index.d.cts +27 -1
  67. package/dist/domain/restaurant/index.d.ts +27 -1
  68. package/dist/domain/restaurant/index.js +2 -2
  69. package/dist/index.cjs +1731 -399
  70. package/dist/index.d.cts +5 -7
  71. package/dist/index.d.ts +5 -7
  72. package/dist/index.js +17 -15
  73. package/package.json +52 -55
  74. package/dist/chunk-PFSZSKD5.js +0 -0
  75. package/dist/chunk-PQMEXOPZ.js +0 -232
  76. package/dist/chunk-W4TUW2GY.js +0 -40
  77. package/dist/chunk-WNYCCQM4.js +0 -342
  78. package/dist/chunk-YGFAVC5N.js +0 -34
  79. package/dist/chunk-YM7YU7IR.js +0 -319
  80. package/dist/chunk-ZH7D7B2Y.js +0 -78
  81. package/dist/domain/invitation/index.cjs +0 -82
  82. package/dist/domain/invitation/index.d.cts +0 -64
  83. package/dist/domain/invitation/index.d.ts +0 -64
  84. package/dist/domain/invitation/index.js +0 -13
  85. package/dist/domain/plan/index.cjs +0 -327
  86. package/dist/domain/plan/index.d.cts +0 -178
  87. package/dist/domain/plan/index.d.ts +0 -178
  88. package/dist/domain/plan/index.js +0 -18
  89. package/dist/domain/recruit/index.cjs +0 -189
  90. package/dist/domain/recruit/index.d.cts +0 -214
  91. package/dist/domain/recruit/index.d.ts +0 -214
  92. package/dist/domain/recruit/index.js +0 -30
  93. package/dist/domain/room/index.cjs +0 -401
  94. package/dist/domain/room/index.d.cts +0 -2643
  95. package/dist/domain/room/index.d.ts +0 -2643
  96. package/dist/domain/room/index.js +0 -82
  97. package/dist/id-dAYxfjZn.d.cts +0 -64
  98. package/dist/id-dAYxfjZn.d.ts +0 -64
  99. package/dist/restaurant.schema-CuEcX3S3.d.cts +0 -78
  100. package/dist/restaurant.schema-CuEcX3S3.d.ts +0 -78
@@ -1,2643 +0,0 @@
1
- import { z } from 'zod';
2
- import { R as RestaurantSchema } from '../../restaurant.schema-CuEcX3S3.js';
3
-
4
- declare const MenuCodeSchema: z.ZodBranded<z.ZodString, "FoodCode">;
5
- declare const LocationIdSchema: z.ZodBranded<z.ZodString, "LocationId">;
6
- declare const MenuSchema: z.ZodObject<{
7
- code: z.ZodBranded<z.ZodString, "FoodCode">;
8
- label: z.ZodBranded<z.ZodString, "FoodLabel">;
9
- }, "strip", z.ZodTypeAny, {
10
- code: string & z.BRAND<"FoodCode">;
11
- label: string & z.BRAND<"FoodLabel">;
12
- }, {
13
- code: string;
14
- label: string;
15
- }>;
16
- declare const LocationCandidateSchema: z.ZodObject<{
17
- locationId: z.ZodBranded<z.ZodString, "LocationId">;
18
- placeName: z.ZodString;
19
- lat: z.ZodNumber;
20
- lng: z.ZodNumber;
21
- address: z.ZodString;
22
- }, "strip", z.ZodTypeAny, {
23
- placeName: string;
24
- lat: number;
25
- lng: number;
26
- locationId: string & z.BRAND<"LocationId">;
27
- address: string;
28
- }, {
29
- placeName: string;
30
- lat: number;
31
- lng: number;
32
- locationId: string;
33
- address: string;
34
- }>;
35
- declare const ParticipantSchema: z.ZodObject<{
36
- memberId: z.ZodBranded<z.ZodNumber, "MemberId">;
37
- username: z.ZodString;
38
- profileImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
39
- } & {
40
- ready: z.ZodBoolean;
41
- }, "strip", z.ZodTypeAny, {
42
- memberId: number & z.BRAND<"MemberId">;
43
- username: string;
44
- ready: boolean;
45
- profileImageUrl?: string | null | undefined;
46
- }, {
47
- memberId: number;
48
- username: string;
49
- ready: boolean;
50
- profileImageUrl?: string | null | undefined;
51
- }>;
52
- declare const RecruitRoomStageSchema: z.ZodEnum<["waiting", "location", "location-vote", "exclude-menu", "menu", "restaurant", "finish"]>;
53
- declare const RoomTypeSchema: z.ZodEnum<["recruit", "invitation"]>;
54
- declare const InvitationRoomStageSchema: z.ZodEnum<["waiting", "date", "time", "location", "location-vote", "exclude-menu", "menu", "restaurant", "finish"]>;
55
- declare const ReadyStateRequestSchema: z.ZodObject<{
56
- isReady: z.ZodBoolean;
57
- }, "strip", z.ZodTypeAny, {
58
- isReady: boolean;
59
- }, {
60
- isReady: boolean;
61
- }>;
62
- declare const ChatMessageRequestSchema: z.ZodObject<{
63
- message: z.ZodString;
64
- }, "strip", z.ZodTypeAny, {
65
- message: string;
66
- }, {
67
- message: string;
68
- }>;
69
- declare const AddLocationCandidateRequestSchema: z.ZodObject<{
70
- locationId: z.ZodBranded<z.ZodString, "LocationId">;
71
- placeName: z.ZodString;
72
- lat: z.ZodNumber;
73
- lng: z.ZodNumber;
74
- address: z.ZodString;
75
- }, "strip", z.ZodTypeAny, {
76
- placeName: string;
77
- lat: number;
78
- lng: number;
79
- locationId: string & z.BRAND<"LocationId">;
80
- address: string;
81
- }, {
82
- placeName: string;
83
- lat: number;
84
- lng: number;
85
- locationId: string;
86
- address: string;
87
- }>;
88
- declare const VoteLocationRequestSchema: z.ZodObject<{
89
- locationId: z.ZodBranded<z.ZodString, "LocationId">;
90
- }, "strip", z.ZodTypeAny, {
91
- locationId: string & z.BRAND<"LocationId">;
92
- }, {
93
- locationId: string;
94
- }>;
95
- declare const ExcludeMenuRequestSchema: z.ZodObject<{
96
- menu: z.ZodObject<{
97
- code: z.ZodBranded<z.ZodString, "FoodCode">;
98
- label: z.ZodBranded<z.ZodString, "FoodLabel">;
99
- }, "strip", z.ZodTypeAny, {
100
- code: string & z.BRAND<"FoodCode">;
101
- label: string & z.BRAND<"FoodLabel">;
102
- }, {
103
- code: string;
104
- label: string;
105
- }>;
106
- }, "strip", z.ZodTypeAny, {
107
- menu: {
108
- code: string & z.BRAND<"FoodCode">;
109
- label: string & z.BRAND<"FoodLabel">;
110
- };
111
- }, {
112
- menu: {
113
- code: string;
114
- label: string;
115
- };
116
- }>;
117
- declare const PickMenuRequestSchema: z.ZodObject<{
118
- menuCode: z.ZodBranded<z.ZodString, "FoodCode">;
119
- }, "strip", z.ZodTypeAny, {
120
- menuCode: string & z.BRAND<"FoodCode">;
121
- }, {
122
- menuCode: string;
123
- }>;
124
- declare const PickRestaurantRequestSchema: z.ZodObject<{
125
- restaurantId: z.ZodBranded<z.ZodString, "RestaurantId">;
126
- }, "strip", z.ZodTypeAny, {
127
- restaurantId: string & z.BRAND<"RestaurantId">;
128
- }, {
129
- restaurantId: string;
130
- }>;
131
- declare const PickTimesRequestSchema: z.ZodObject<{
132
- times: z.ZodArray<z.ZodString, "many">;
133
- }, "strip", z.ZodTypeAny, {
134
- times: string[];
135
- }, {
136
- times: string[];
137
- }>;
138
- declare const PickDateRequestSchema: z.ZodObject<{
139
- dates: z.ZodArray<z.ZodString, "many">;
140
- }, "strip", z.ZodTypeAny, {
141
- dates: string[];
142
- }, {
143
- dates: string[];
144
- }>;
145
- declare const RoomAssignedResponseSchema: z.ZodObject<{
146
- roomId: z.ZodBranded<z.ZodString, "RoomId">;
147
- }, "strip", z.ZodTypeAny, {
148
- roomId: string & z.BRAND<"RoomId">;
149
- }, {
150
- roomId: string;
151
- }>;
152
- declare const RoomAccessResponseSchema: z.ZodObject<{
153
- roomId: z.ZodBranded<z.ZodString, "RoomId">;
154
- roomType: z.ZodEnum<["recruit", "invitation"]>;
155
- stage: z.ZodUnion<[z.ZodEnum<["waiting", "location", "location-vote", "exclude-menu", "menu", "restaurant", "finish"]>, z.ZodEnum<["waiting", "date", "time", "location", "location-vote", "exclude-menu", "menu", "restaurant", "finish"]>]>;
156
- canJoin: z.ZodBoolean;
157
- }, "strip", z.ZodTypeAny, {
158
- roomId: string & z.BRAND<"RoomId">;
159
- roomType: "recruit" | "invitation";
160
- stage: "date" | "restaurant" | "waiting" | "location" | "location-vote" | "exclude-menu" | "menu" | "finish" | "time";
161
- canJoin: boolean;
162
- }, {
163
- roomId: string;
164
- roomType: "recruit" | "invitation";
165
- stage: "date" | "restaurant" | "waiting" | "location" | "location-vote" | "exclude-menu" | "menu" | "finish" | "time";
166
- canJoin: boolean;
167
- }>;
168
- declare const MatchingNotificationKindSchema: z.ZodEnum<["recruit", "invitation"]>;
169
- declare const MatchingNotificationSchema: z.ZodObject<{
170
- notificationId: z.ZodString;
171
- kind: z.ZodEnum<["recruit", "invitation"]>;
172
- roomId: z.ZodBranded<z.ZodString, "RoomId">;
173
- roomType: z.ZodEnum<["recruit", "invitation"]>;
174
- title: z.ZodString;
175
- message: z.ZodString;
176
- createdAt: z.ZodString;
177
- readAt: z.ZodNullable<z.ZodString>;
178
- }, "strip", z.ZodTypeAny, {
179
- message: string;
180
- createdAt: string;
181
- roomId: string & z.BRAND<"RoomId">;
182
- roomType: "recruit" | "invitation";
183
- notificationId: string;
184
- kind: "recruit" | "invitation";
185
- title: string;
186
- readAt: string | null;
187
- }, {
188
- message: string;
189
- createdAt: string;
190
- roomId: string;
191
- roomType: "recruit" | "invitation";
192
- notificationId: string;
193
- kind: "recruit" | "invitation";
194
- title: string;
195
- readAt: string | null;
196
- }>;
197
- declare const RoomSocketErrorSchema: z.ZodObject<{
198
- code: z.ZodString;
199
- message: z.ZodString;
200
- }, "strip", z.ZodTypeAny, {
201
- message: string;
202
- code: string;
203
- }, {
204
- message: string;
205
- code: string;
206
- }>;
207
- declare const ChatMessageResponseSchema: z.ZodObject<{
208
- messageId: z.ZodString;
209
- user: z.ZodObject<{
210
- memberId: z.ZodBranded<z.ZodNumber, "MemberId">;
211
- username: z.ZodString;
212
- profileImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
213
- }, "strip", z.ZodTypeAny, {
214
- memberId: number & z.BRAND<"MemberId">;
215
- username: string;
216
- profileImageUrl?: string | null | undefined;
217
- }, {
218
- memberId: number;
219
- username: string;
220
- profileImageUrl?: string | null | undefined;
221
- }>;
222
- message: z.ZodString;
223
- createdAt: z.ZodString;
224
- }, "strip", z.ZodTypeAny, {
225
- message: string;
226
- createdAt: string;
227
- messageId: string;
228
- user: {
229
- memberId: number & z.BRAND<"MemberId">;
230
- username: string;
231
- profileImageUrl?: string | null | undefined;
232
- };
233
- }, {
234
- message: string;
235
- createdAt: string;
236
- messageId: string;
237
- user: {
238
- memberId: number;
239
- username: string;
240
- profileImageUrl?: string | null | undefined;
241
- };
242
- }>;
243
- declare const ReadyStateChangedSchema: z.ZodObject<{
244
- readyCount: z.ZodNumber;
245
- participantCount: z.ZodNumber;
246
- }, "strip", z.ZodTypeAny, {
247
- readyCount: number;
248
- participantCount: number;
249
- }, {
250
- readyCount: number;
251
- participantCount: number;
252
- }>;
253
- declare const FinalStateSchema: z.ZodObject<{
254
- location: z.ZodOptional<z.ZodObject<{
255
- locationId: z.ZodBranded<z.ZodString, "LocationId">;
256
- placeName: z.ZodString;
257
- lat: z.ZodNumber;
258
- lng: z.ZodNumber;
259
- address: z.ZodString;
260
- }, "strip", z.ZodTypeAny, {
261
- placeName: string;
262
- lat: number;
263
- lng: number;
264
- locationId: string & z.BRAND<"LocationId">;
265
- address: string;
266
- }, {
267
- placeName: string;
268
- lat: number;
269
- lng: number;
270
- locationId: string;
271
- address: string;
272
- }>>;
273
- excludeMenu: z.ZodOptional<z.ZodArray<z.ZodObject<{
274
- code: z.ZodBranded<z.ZodString, "FoodCode">;
275
- label: z.ZodBranded<z.ZodString, "FoodLabel">;
276
- }, "strip", z.ZodTypeAny, {
277
- code: string & z.BRAND<"FoodCode">;
278
- label: string & z.BRAND<"FoodLabel">;
279
- }, {
280
- code: string;
281
- label: string;
282
- }>, "many">>;
283
- menu: z.ZodOptional<z.ZodObject<{
284
- code: z.ZodBranded<z.ZodString, "FoodCode">;
285
- label: z.ZodBranded<z.ZodString, "FoodLabel">;
286
- }, "strip", z.ZodTypeAny, {
287
- code: string & z.BRAND<"FoodCode">;
288
- label: string & z.BRAND<"FoodLabel">;
289
- }, {
290
- code: string;
291
- label: string;
292
- }>>;
293
- restaurant: z.ZodOptional<z.ZodObject<{
294
- restaurantId: z.ZodBranded<z.ZodString, "RestaurantId">;
295
- placeName: z.ZodString;
296
- categoryName: z.ZodString;
297
- categoryGroupName: z.ZodString;
298
- distance: z.ZodOptional<z.ZodString>;
299
- roadAddressName: z.ZodString;
300
- addressName: z.ZodString;
301
- phone: z.ZodNullable<z.ZodString>;
302
- placeUrl: z.ZodNullable<z.ZodString>;
303
- lat: z.ZodNumber;
304
- lng: z.ZodNumber;
305
- }, "strip", z.ZodTypeAny, {
306
- restaurantId: string & z.BRAND<"RestaurantId">;
307
- placeName: string;
308
- categoryName: string;
309
- categoryGroupName: string;
310
- roadAddressName: string;
311
- addressName: string;
312
- phone: string | null;
313
- placeUrl: string | null;
314
- lat: number;
315
- lng: number;
316
- distance?: string | undefined;
317
- }, {
318
- restaurantId: string;
319
- placeName: string;
320
- categoryName: string;
321
- categoryGroupName: string;
322
- roadAddressName: string;
323
- addressName: string;
324
- phone: string | null;
325
- placeUrl: string | null;
326
- lat: number;
327
- lng: number;
328
- distance?: string | undefined;
329
- }>>;
330
- time: z.ZodOptional<z.ZodString>;
331
- date: z.ZodOptional<z.ZodString>;
332
- }, "strip", z.ZodTypeAny, {
333
- date?: string | undefined;
334
- restaurant?: {
335
- restaurantId: string & z.BRAND<"RestaurantId">;
336
- placeName: string;
337
- categoryName: string;
338
- categoryGroupName: string;
339
- roadAddressName: string;
340
- addressName: string;
341
- phone: string | null;
342
- placeUrl: string | null;
343
- lat: number;
344
- lng: number;
345
- distance?: string | undefined;
346
- } | undefined;
347
- location?: {
348
- placeName: string;
349
- lat: number;
350
- lng: number;
351
- locationId: string & z.BRAND<"LocationId">;
352
- address: string;
353
- } | undefined;
354
- menu?: {
355
- code: string & z.BRAND<"FoodCode">;
356
- label: string & z.BRAND<"FoodLabel">;
357
- } | undefined;
358
- time?: string | undefined;
359
- excludeMenu?: {
360
- code: string & z.BRAND<"FoodCode">;
361
- label: string & z.BRAND<"FoodLabel">;
362
- }[] | undefined;
363
- }, {
364
- date?: string | undefined;
365
- restaurant?: {
366
- restaurantId: string;
367
- placeName: string;
368
- categoryName: string;
369
- categoryGroupName: string;
370
- roadAddressName: string;
371
- addressName: string;
372
- phone: string | null;
373
- placeUrl: string | null;
374
- lat: number;
375
- lng: number;
376
- distance?: string | undefined;
377
- } | undefined;
378
- location?: {
379
- placeName: string;
380
- lat: number;
381
- lng: number;
382
- locationId: string;
383
- address: string;
384
- } | undefined;
385
- menu?: {
386
- code: string;
387
- label: string;
388
- } | undefined;
389
- time?: string | undefined;
390
- excludeMenu?: {
391
- code: string;
392
- label: string;
393
- }[] | undefined;
394
- }>;
395
- declare const RoomInitialStateSchema: z.ZodObject<{
396
- participants: z.ZodArray<z.ZodObject<{
397
- memberId: z.ZodBranded<z.ZodNumber, "MemberId">;
398
- username: z.ZodString;
399
- profileImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
400
- } & {
401
- ready: z.ZodBoolean;
402
- }, "strip", z.ZodTypeAny, {
403
- memberId: number & z.BRAND<"MemberId">;
404
- username: string;
405
- ready: boolean;
406
- profileImageUrl?: string | null | undefined;
407
- }, {
408
- memberId: number;
409
- username: string;
410
- ready: boolean;
411
- profileImageUrl?: string | null | undefined;
412
- }>, "many">;
413
- chat: z.ZodArray<z.ZodObject<{
414
- messageId: z.ZodString;
415
- user: z.ZodObject<{
416
- memberId: z.ZodBranded<z.ZodNumber, "MemberId">;
417
- username: z.ZodString;
418
- profileImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
419
- }, "strip", z.ZodTypeAny, {
420
- memberId: number & z.BRAND<"MemberId">;
421
- username: string;
422
- profileImageUrl?: string | null | undefined;
423
- }, {
424
- memberId: number;
425
- username: string;
426
- profileImageUrl?: string | null | undefined;
427
- }>;
428
- message: z.ZodString;
429
- createdAt: z.ZodString;
430
- }, "strip", z.ZodTypeAny, {
431
- message: string;
432
- createdAt: string;
433
- messageId: string;
434
- user: {
435
- memberId: number & z.BRAND<"MemberId">;
436
- username: string;
437
- profileImageUrl?: string | null | undefined;
438
- };
439
- }, {
440
- message: string;
441
- createdAt: string;
442
- messageId: string;
443
- user: {
444
- memberId: number;
445
- username: string;
446
- profileImageUrl?: string | null | undefined;
447
- };
448
- }>, "many">;
449
- final: z.ZodObject<{
450
- location: z.ZodOptional<z.ZodObject<{
451
- locationId: z.ZodBranded<z.ZodString, "LocationId">;
452
- placeName: z.ZodString;
453
- lat: z.ZodNumber;
454
- lng: z.ZodNumber;
455
- address: z.ZodString;
456
- }, "strip", z.ZodTypeAny, {
457
- placeName: string;
458
- lat: number;
459
- lng: number;
460
- locationId: string & z.BRAND<"LocationId">;
461
- address: string;
462
- }, {
463
- placeName: string;
464
- lat: number;
465
- lng: number;
466
- locationId: string;
467
- address: string;
468
- }>>;
469
- excludeMenu: z.ZodOptional<z.ZodArray<z.ZodObject<{
470
- code: z.ZodBranded<z.ZodString, "FoodCode">;
471
- label: z.ZodBranded<z.ZodString, "FoodLabel">;
472
- }, "strip", z.ZodTypeAny, {
473
- code: string & z.BRAND<"FoodCode">;
474
- label: string & z.BRAND<"FoodLabel">;
475
- }, {
476
- code: string;
477
- label: string;
478
- }>, "many">>;
479
- menu: z.ZodOptional<z.ZodObject<{
480
- code: z.ZodBranded<z.ZodString, "FoodCode">;
481
- label: z.ZodBranded<z.ZodString, "FoodLabel">;
482
- }, "strip", z.ZodTypeAny, {
483
- code: string & z.BRAND<"FoodCode">;
484
- label: string & z.BRAND<"FoodLabel">;
485
- }, {
486
- code: string;
487
- label: string;
488
- }>>;
489
- restaurant: z.ZodOptional<z.ZodObject<{
490
- restaurantId: z.ZodBranded<z.ZodString, "RestaurantId">;
491
- placeName: z.ZodString;
492
- categoryName: z.ZodString;
493
- categoryGroupName: z.ZodString;
494
- distance: z.ZodOptional<z.ZodString>;
495
- roadAddressName: z.ZodString;
496
- addressName: z.ZodString;
497
- phone: z.ZodNullable<z.ZodString>;
498
- placeUrl: z.ZodNullable<z.ZodString>;
499
- lat: z.ZodNumber;
500
- lng: z.ZodNumber;
501
- }, "strip", z.ZodTypeAny, {
502
- restaurantId: string & z.BRAND<"RestaurantId">;
503
- placeName: string;
504
- categoryName: string;
505
- categoryGroupName: string;
506
- roadAddressName: string;
507
- addressName: string;
508
- phone: string | null;
509
- placeUrl: string | null;
510
- lat: number;
511
- lng: number;
512
- distance?: string | undefined;
513
- }, {
514
- restaurantId: string;
515
- placeName: string;
516
- categoryName: string;
517
- categoryGroupName: string;
518
- roadAddressName: string;
519
- addressName: string;
520
- phone: string | null;
521
- placeUrl: string | null;
522
- lat: number;
523
- lng: number;
524
- distance?: string | undefined;
525
- }>>;
526
- time: z.ZodOptional<z.ZodString>;
527
- date: z.ZodOptional<z.ZodString>;
528
- }, "strip", z.ZodTypeAny, {
529
- date?: string | undefined;
530
- restaurant?: {
531
- restaurantId: string & z.BRAND<"RestaurantId">;
532
- placeName: string;
533
- categoryName: string;
534
- categoryGroupName: string;
535
- roadAddressName: string;
536
- addressName: string;
537
- phone: string | null;
538
- placeUrl: string | null;
539
- lat: number;
540
- lng: number;
541
- distance?: string | undefined;
542
- } | undefined;
543
- location?: {
544
- placeName: string;
545
- lat: number;
546
- lng: number;
547
- locationId: string & z.BRAND<"LocationId">;
548
- address: string;
549
- } | undefined;
550
- menu?: {
551
- code: string & z.BRAND<"FoodCode">;
552
- label: string & z.BRAND<"FoodLabel">;
553
- } | undefined;
554
- time?: string | undefined;
555
- excludeMenu?: {
556
- code: string & z.BRAND<"FoodCode">;
557
- label: string & z.BRAND<"FoodLabel">;
558
- }[] | undefined;
559
- }, {
560
- date?: string | undefined;
561
- restaurant?: {
562
- restaurantId: string;
563
- placeName: string;
564
- categoryName: string;
565
- categoryGroupName: string;
566
- roadAddressName: string;
567
- addressName: string;
568
- phone: string | null;
569
- placeUrl: string | null;
570
- lat: number;
571
- lng: number;
572
- distance?: string | undefined;
573
- } | undefined;
574
- location?: {
575
- placeName: string;
576
- lat: number;
577
- lng: number;
578
- locationId: string;
579
- address: string;
580
- } | undefined;
581
- menu?: {
582
- code: string;
583
- label: string;
584
- } | undefined;
585
- time?: string | undefined;
586
- excludeMenu?: {
587
- code: string;
588
- label: string;
589
- }[] | undefined;
590
- }>;
591
- }, "strip", z.ZodTypeAny, {
592
- participants: {
593
- memberId: number & z.BRAND<"MemberId">;
594
- username: string;
595
- ready: boolean;
596
- profileImageUrl?: string | null | undefined;
597
- }[];
598
- chat: {
599
- message: string;
600
- createdAt: string;
601
- messageId: string;
602
- user: {
603
- memberId: number & z.BRAND<"MemberId">;
604
- username: string;
605
- profileImageUrl?: string | null | undefined;
606
- };
607
- }[];
608
- final: {
609
- date?: string | undefined;
610
- restaurant?: {
611
- restaurantId: string & z.BRAND<"RestaurantId">;
612
- placeName: string;
613
- categoryName: string;
614
- categoryGroupName: string;
615
- roadAddressName: string;
616
- addressName: string;
617
- phone: string | null;
618
- placeUrl: string | null;
619
- lat: number;
620
- lng: number;
621
- distance?: string | undefined;
622
- } | undefined;
623
- location?: {
624
- placeName: string;
625
- lat: number;
626
- lng: number;
627
- locationId: string & z.BRAND<"LocationId">;
628
- address: string;
629
- } | undefined;
630
- menu?: {
631
- code: string & z.BRAND<"FoodCode">;
632
- label: string & z.BRAND<"FoodLabel">;
633
- } | undefined;
634
- time?: string | undefined;
635
- excludeMenu?: {
636
- code: string & z.BRAND<"FoodCode">;
637
- label: string & z.BRAND<"FoodLabel">;
638
- }[] | undefined;
639
- };
640
- }, {
641
- participants: {
642
- memberId: number;
643
- username: string;
644
- ready: boolean;
645
- profileImageUrl?: string | null | undefined;
646
- }[];
647
- chat: {
648
- message: string;
649
- createdAt: string;
650
- messageId: string;
651
- user: {
652
- memberId: number;
653
- username: string;
654
- profileImageUrl?: string | null | undefined;
655
- };
656
- }[];
657
- final: {
658
- date?: string | undefined;
659
- restaurant?: {
660
- restaurantId: string;
661
- placeName: string;
662
- categoryName: string;
663
- categoryGroupName: string;
664
- roadAddressName: string;
665
- addressName: string;
666
- phone: string | null;
667
- placeUrl: string | null;
668
- lat: number;
669
- lng: number;
670
- distance?: string | undefined;
671
- } | undefined;
672
- location?: {
673
- placeName: string;
674
- lat: number;
675
- lng: number;
676
- locationId: string;
677
- address: string;
678
- } | undefined;
679
- menu?: {
680
- code: string;
681
- label: string;
682
- } | undefined;
683
- time?: string | undefined;
684
- excludeMenu?: {
685
- code: string;
686
- label: string;
687
- }[] | undefined;
688
- };
689
- }>;
690
- declare const TimePicksUpdateResponseSchema: z.ZodArray<z.ZodObject<{
691
- memberId: z.ZodBranded<z.ZodNumber, "MemberId">;
692
- times: z.ZodArray<z.ZodString, "many">;
693
- }, "strip", z.ZodTypeAny, {
694
- memberId: number & z.BRAND<"MemberId">;
695
- times: string[];
696
- }, {
697
- memberId: number;
698
- times: string[];
699
- }>, "many">;
700
- declare const DatePicksUpdateResponseSchema: z.ZodArray<z.ZodObject<{
701
- memberId: z.ZodBranded<z.ZodNumber, "MemberId">;
702
- dates: z.ZodArray<z.ZodString, "many">;
703
- }, "strip", z.ZodTypeAny, {
704
- memberId: number & z.BRAND<"MemberId">;
705
- dates: string[];
706
- }, {
707
- memberId: number;
708
- dates: string[];
709
- }>, "many">;
710
- declare const LocationCandidateAddUpdateResponseSchema: z.ZodArray<z.ZodObject<{
711
- locationId: z.ZodBranded<z.ZodString, "LocationId">;
712
- placeName: z.ZodString;
713
- lat: z.ZodNumber;
714
- lng: z.ZodNumber;
715
- address: z.ZodString;
716
- } & {
717
- authorMemberId: z.ZodBranded<z.ZodNumber, "MemberId">;
718
- }, "strip", z.ZodTypeAny, {
719
- placeName: string;
720
- lat: number;
721
- lng: number;
722
- locationId: string & z.BRAND<"LocationId">;
723
- address: string;
724
- authorMemberId: number & z.BRAND<"MemberId">;
725
- }, {
726
- placeName: string;
727
- lat: number;
728
- lng: number;
729
- locationId: string;
730
- address: string;
731
- authorMemberId: number;
732
- }>, "many">;
733
- declare const LocationCandidateVoteUpdateResponseSchema: z.ZodArray<z.ZodObject<{
734
- locationId: z.ZodBranded<z.ZodString, "LocationId">;
735
- votes: z.ZodArray<z.ZodBranded<z.ZodNumber, "MemberId">, "many">;
736
- }, "strip", z.ZodTypeAny, {
737
- locationId: string & z.BRAND<"LocationId">;
738
- votes: (number & z.BRAND<"MemberId">)[];
739
- }, {
740
- locationId: string;
741
- votes: number[];
742
- }>, "many">;
743
- declare const ExcludeMenuUpdateResponseSchema: z.ZodArray<z.ZodObject<{
744
- memberId: z.ZodBranded<z.ZodNumber, "MemberId">;
745
- exclusions: z.ZodArray<z.ZodObject<{
746
- code: z.ZodBranded<z.ZodString, "FoodCode">;
747
- label: z.ZodBranded<z.ZodString, "FoodLabel">;
748
- }, "strip", z.ZodTypeAny, {
749
- code: string & z.BRAND<"FoodCode">;
750
- label: string & z.BRAND<"FoodLabel">;
751
- }, {
752
- code: string;
753
- label: string;
754
- }>, "many">;
755
- }, "strip", z.ZodTypeAny, {
756
- memberId: number & z.BRAND<"MemberId">;
757
- exclusions: {
758
- code: string & z.BRAND<"FoodCode">;
759
- label: string & z.BRAND<"FoodLabel">;
760
- }[];
761
- }, {
762
- memberId: number;
763
- exclusions: {
764
- code: string;
765
- label: string;
766
- }[];
767
- }>, "many">;
768
- declare const MenuPickUpdateResponseSchema: z.ZodArray<z.ZodObject<{
769
- menuCode: z.ZodBranded<z.ZodString, "FoodCode">;
770
- selectedMembers: z.ZodArray<z.ZodBranded<z.ZodNumber, "MemberId">, "many">;
771
- }, "strip", z.ZodTypeAny, {
772
- menuCode: string & z.BRAND<"FoodCode">;
773
- selectedMembers: (number & z.BRAND<"MemberId">)[];
774
- }, {
775
- menuCode: string;
776
- selectedMembers: number[];
777
- }>, "many">;
778
- declare const RestaurantPickUpdateResponseSchema: z.ZodArray<z.ZodObject<{
779
- restaurantId: z.ZodBranded<z.ZodString, "RestaurantId">;
780
- selectedMembers: z.ZodArray<z.ZodBranded<z.ZodNumber, "MemberId">, "many">;
781
- }, "strip", z.ZodTypeAny, {
782
- restaurantId: string & z.BRAND<"RestaurantId">;
783
- selectedMembers: (number & z.BRAND<"MemberId">)[];
784
- }, {
785
- restaurantId: string;
786
- selectedMembers: number[];
787
- }>, "many">;
788
- declare const PhaseDataBroadcastSchema: z.ZodDiscriminatedUnion<"phase", [z.ZodObject<{
789
- phase: z.ZodLiteral<"waiting">;
790
- data: z.ZodObject<{
791
- locationInitial: z.ZodOptional<z.ZodString>;
792
- meetingAt: z.ZodOptional<z.ZodString>;
793
- }, "strip", z.ZodTypeAny, {
794
- locationInitial?: string | undefined;
795
- meetingAt?: string | undefined;
796
- }, {
797
- locationInitial?: string | undefined;
798
- meetingAt?: string | undefined;
799
- }>;
800
- }, "strip", z.ZodTypeAny, {
801
- data: {
802
- locationInitial?: string | undefined;
803
- meetingAt?: string | undefined;
804
- };
805
- phase: "waiting";
806
- }, {
807
- data: {
808
- locationInitial?: string | undefined;
809
- meetingAt?: string | undefined;
810
- };
811
- phase: "waiting";
812
- }>, z.ZodObject<{
813
- phase: z.ZodLiteral<"date">;
814
- data: z.ZodArray<z.ZodObject<{
815
- memberId: z.ZodBranded<z.ZodNumber, "MemberId">;
816
- dates: z.ZodArray<z.ZodString, "many">;
817
- }, "strip", z.ZodTypeAny, {
818
- memberId: number & z.BRAND<"MemberId">;
819
- dates: string[];
820
- }, {
821
- memberId: number;
822
- dates: string[];
823
- }>, "many">;
824
- }, "strip", z.ZodTypeAny, {
825
- data: {
826
- memberId: number & z.BRAND<"MemberId">;
827
- dates: string[];
828
- }[];
829
- phase: "date";
830
- }, {
831
- data: {
832
- memberId: number;
833
- dates: string[];
834
- }[];
835
- phase: "date";
836
- }>, z.ZodObject<{
837
- phase: z.ZodLiteral<"time">;
838
- data: z.ZodArray<z.ZodObject<{
839
- memberId: z.ZodBranded<z.ZodNumber, "MemberId">;
840
- times: z.ZodArray<z.ZodString, "many">;
841
- }, "strip", z.ZodTypeAny, {
842
- memberId: number & z.BRAND<"MemberId">;
843
- times: string[];
844
- }, {
845
- memberId: number;
846
- times: string[];
847
- }>, "many">;
848
- }, "strip", z.ZodTypeAny, {
849
- data: {
850
- memberId: number & z.BRAND<"MemberId">;
851
- times: string[];
852
- }[];
853
- phase: "time";
854
- }, {
855
- data: {
856
- memberId: number;
857
- times: string[];
858
- }[];
859
- phase: "time";
860
- }>, z.ZodObject<{
861
- phase: z.ZodLiteral<"location">;
862
- data: z.ZodObject<{
863
- locationInitial: z.ZodOptional<z.ZodString>;
864
- meetingAt: z.ZodOptional<z.ZodString>;
865
- }, "strip", z.ZodTypeAny, {
866
- locationInitial?: string | undefined;
867
- meetingAt?: string | undefined;
868
- }, {
869
- locationInitial?: string | undefined;
870
- meetingAt?: string | undefined;
871
- }>;
872
- }, "strip", z.ZodTypeAny, {
873
- data: {
874
- locationInitial?: string | undefined;
875
- meetingAt?: string | undefined;
876
- };
877
- phase: "location";
878
- }, {
879
- data: {
880
- locationInitial?: string | undefined;
881
- meetingAt?: string | undefined;
882
- };
883
- phase: "location";
884
- }>, z.ZodObject<{
885
- phase: z.ZodLiteral<"location-vote">;
886
- data: z.ZodObject<{
887
- locations: z.ZodArray<z.ZodObject<{
888
- locationId: z.ZodBranded<z.ZodString, "LocationId">;
889
- placeName: z.ZodString;
890
- lat: z.ZodNumber;
891
- lng: z.ZodNumber;
892
- address: z.ZodString;
893
- } & {
894
- authorMemberId: z.ZodBranded<z.ZodNumber, "MemberId">;
895
- }, "strip", z.ZodTypeAny, {
896
- placeName: string;
897
- lat: number;
898
- lng: number;
899
- locationId: string & z.BRAND<"LocationId">;
900
- address: string;
901
- authorMemberId: number & z.BRAND<"MemberId">;
902
- }, {
903
- placeName: string;
904
- lat: number;
905
- lng: number;
906
- locationId: string;
907
- address: string;
908
- authorMemberId: number;
909
- }>, "many">;
910
- votes: z.ZodArray<z.ZodObject<{
911
- locationId: z.ZodBranded<z.ZodString, "LocationId">;
912
- votes: z.ZodArray<z.ZodBranded<z.ZodNumber, "MemberId">, "many">;
913
- }, "strip", z.ZodTypeAny, {
914
- locationId: string & z.BRAND<"LocationId">;
915
- votes: (number & z.BRAND<"MemberId">)[];
916
- }, {
917
- locationId: string;
918
- votes: number[];
919
- }>, "many">;
920
- }, "strip", z.ZodTypeAny, {
921
- votes: {
922
- locationId: string & z.BRAND<"LocationId">;
923
- votes: (number & z.BRAND<"MemberId">)[];
924
- }[];
925
- locations: {
926
- placeName: string;
927
- lat: number;
928
- lng: number;
929
- locationId: string & z.BRAND<"LocationId">;
930
- address: string;
931
- authorMemberId: number & z.BRAND<"MemberId">;
932
- }[];
933
- }, {
934
- votes: {
935
- locationId: string;
936
- votes: number[];
937
- }[];
938
- locations: {
939
- placeName: string;
940
- lat: number;
941
- lng: number;
942
- locationId: string;
943
- address: string;
944
- authorMemberId: number;
945
- }[];
946
- }>;
947
- }, "strip", z.ZodTypeAny, {
948
- data: {
949
- votes: {
950
- locationId: string & z.BRAND<"LocationId">;
951
- votes: (number & z.BRAND<"MemberId">)[];
952
- }[];
953
- locations: {
954
- placeName: string;
955
- lat: number;
956
- lng: number;
957
- locationId: string & z.BRAND<"LocationId">;
958
- address: string;
959
- authorMemberId: number & z.BRAND<"MemberId">;
960
- }[];
961
- };
962
- phase: "location-vote";
963
- }, {
964
- data: {
965
- votes: {
966
- locationId: string;
967
- votes: number[];
968
- }[];
969
- locations: {
970
- placeName: string;
971
- lat: number;
972
- lng: number;
973
- locationId: string;
974
- address: string;
975
- authorMemberId: number;
976
- }[];
977
- };
978
- phase: "location-vote";
979
- }>, z.ZodObject<{
980
- phase: z.ZodLiteral<"exclude-menu">;
981
- data: z.ZodObject<{
982
- recentMenus: z.ZodArray<z.ZodObject<{
983
- userId: z.ZodString;
984
- menuList: z.ZodArray<z.ZodObject<{
985
- code: z.ZodBranded<z.ZodString, "FoodCode">;
986
- label: z.ZodBranded<z.ZodString, "FoodLabel">;
987
- }, "strip", z.ZodTypeAny, {
988
- code: string & z.BRAND<"FoodCode">;
989
- label: string & z.BRAND<"FoodLabel">;
990
- }, {
991
- code: string;
992
- label: string;
993
- }>, "many">;
994
- }, "strip", z.ZodTypeAny, {
995
- userId: string;
996
- menuList: {
997
- code: string & z.BRAND<"FoodCode">;
998
- label: string & z.BRAND<"FoodLabel">;
999
- }[];
1000
- }, {
1001
- userId: string;
1002
- menuList: {
1003
- code: string;
1004
- label: string;
1005
- }[];
1006
- }>, "many">;
1007
- excludedMenuList: z.ZodArray<z.ZodObject<{
1008
- memberId: z.ZodBranded<z.ZodNumber, "MemberId">;
1009
- exclusions: z.ZodArray<z.ZodObject<{
1010
- code: z.ZodBranded<z.ZodString, "FoodCode">;
1011
- label: z.ZodBranded<z.ZodString, "FoodLabel">;
1012
- }, "strip", z.ZodTypeAny, {
1013
- code: string & z.BRAND<"FoodCode">;
1014
- label: string & z.BRAND<"FoodLabel">;
1015
- }, {
1016
- code: string;
1017
- label: string;
1018
- }>, "many">;
1019
- }, "strip", z.ZodTypeAny, {
1020
- memberId: number & z.BRAND<"MemberId">;
1021
- exclusions: {
1022
- code: string & z.BRAND<"FoodCode">;
1023
- label: string & z.BRAND<"FoodLabel">;
1024
- }[];
1025
- }, {
1026
- memberId: number;
1027
- exclusions: {
1028
- code: string;
1029
- label: string;
1030
- }[];
1031
- }>, "many">;
1032
- }, "strip", z.ZodTypeAny, {
1033
- recentMenus: {
1034
- userId: string;
1035
- menuList: {
1036
- code: string & z.BRAND<"FoodCode">;
1037
- label: string & z.BRAND<"FoodLabel">;
1038
- }[];
1039
- }[];
1040
- excludedMenuList: {
1041
- memberId: number & z.BRAND<"MemberId">;
1042
- exclusions: {
1043
- code: string & z.BRAND<"FoodCode">;
1044
- label: string & z.BRAND<"FoodLabel">;
1045
- }[];
1046
- }[];
1047
- }, {
1048
- recentMenus: {
1049
- userId: string;
1050
- menuList: {
1051
- code: string;
1052
- label: string;
1053
- }[];
1054
- }[];
1055
- excludedMenuList: {
1056
- memberId: number;
1057
- exclusions: {
1058
- code: string;
1059
- label: string;
1060
- }[];
1061
- }[];
1062
- }>;
1063
- }, "strip", z.ZodTypeAny, {
1064
- data: {
1065
- recentMenus: {
1066
- userId: string;
1067
- menuList: {
1068
- code: string & z.BRAND<"FoodCode">;
1069
- label: string & z.BRAND<"FoodLabel">;
1070
- }[];
1071
- }[];
1072
- excludedMenuList: {
1073
- memberId: number & z.BRAND<"MemberId">;
1074
- exclusions: {
1075
- code: string & z.BRAND<"FoodCode">;
1076
- label: string & z.BRAND<"FoodLabel">;
1077
- }[];
1078
- }[];
1079
- };
1080
- phase: "exclude-menu";
1081
- }, {
1082
- data: {
1083
- recentMenus: {
1084
- userId: string;
1085
- menuList: {
1086
- code: string;
1087
- label: string;
1088
- }[];
1089
- }[];
1090
- excludedMenuList: {
1091
- memberId: number;
1092
- exclusions: {
1093
- code: string;
1094
- label: string;
1095
- }[];
1096
- }[];
1097
- };
1098
- phase: "exclude-menu";
1099
- }>, z.ZodObject<{
1100
- phase: z.ZodLiteral<"menu">;
1101
- data: z.ZodObject<{
1102
- initialMenus: z.ZodArray<z.ZodObject<{
1103
- code: z.ZodBranded<z.ZodString, "FoodCode">;
1104
- label: z.ZodBranded<z.ZodString, "FoodLabel">;
1105
- }, "strip", z.ZodTypeAny, {
1106
- code: string & z.BRAND<"FoodCode">;
1107
- label: string & z.BRAND<"FoodLabel">;
1108
- }, {
1109
- code: string;
1110
- label: string;
1111
- }>, "many">;
1112
- menuPick: z.ZodArray<z.ZodObject<{
1113
- menuCode: z.ZodBranded<z.ZodString, "FoodCode">;
1114
- selectedMembers: z.ZodArray<z.ZodBranded<z.ZodNumber, "MemberId">, "many">;
1115
- }, "strip", z.ZodTypeAny, {
1116
- menuCode: string & z.BRAND<"FoodCode">;
1117
- selectedMembers: (number & z.BRAND<"MemberId">)[];
1118
- }, {
1119
- menuCode: string;
1120
- selectedMembers: number[];
1121
- }>, "many">;
1122
- }, "strip", z.ZodTypeAny, {
1123
- initialMenus: {
1124
- code: string & z.BRAND<"FoodCode">;
1125
- label: string & z.BRAND<"FoodLabel">;
1126
- }[];
1127
- menuPick: {
1128
- menuCode: string & z.BRAND<"FoodCode">;
1129
- selectedMembers: (number & z.BRAND<"MemberId">)[];
1130
- }[];
1131
- }, {
1132
- initialMenus: {
1133
- code: string;
1134
- label: string;
1135
- }[];
1136
- menuPick: {
1137
- menuCode: string;
1138
- selectedMembers: number[];
1139
- }[];
1140
- }>;
1141
- }, "strip", z.ZodTypeAny, {
1142
- data: {
1143
- initialMenus: {
1144
- code: string & z.BRAND<"FoodCode">;
1145
- label: string & z.BRAND<"FoodLabel">;
1146
- }[];
1147
- menuPick: {
1148
- menuCode: string & z.BRAND<"FoodCode">;
1149
- selectedMembers: (number & z.BRAND<"MemberId">)[];
1150
- }[];
1151
- };
1152
- phase: "menu";
1153
- }, {
1154
- data: {
1155
- initialMenus: {
1156
- code: string;
1157
- label: string;
1158
- }[];
1159
- menuPick: {
1160
- menuCode: string;
1161
- selectedMembers: number[];
1162
- }[];
1163
- };
1164
- phase: "menu";
1165
- }>, z.ZodObject<{
1166
- phase: z.ZodLiteral<"restaurant">;
1167
- data: z.ZodObject<{
1168
- initialRestaurants: z.ZodArray<z.ZodObject<{
1169
- restaurantId: z.ZodBranded<z.ZodString, "RestaurantId">;
1170
- placeName: z.ZodString;
1171
- categoryName: z.ZodString;
1172
- categoryGroupName: z.ZodString;
1173
- distance: z.ZodOptional<z.ZodString>;
1174
- roadAddressName: z.ZodString;
1175
- addressName: z.ZodString;
1176
- phone: z.ZodNullable<z.ZodString>;
1177
- placeUrl: z.ZodNullable<z.ZodString>;
1178
- lat: z.ZodNumber;
1179
- lng: z.ZodNumber;
1180
- }, "strip", z.ZodTypeAny, {
1181
- restaurantId: string & z.BRAND<"RestaurantId">;
1182
- placeName: string;
1183
- categoryName: string;
1184
- categoryGroupName: string;
1185
- roadAddressName: string;
1186
- addressName: string;
1187
- phone: string | null;
1188
- placeUrl: string | null;
1189
- lat: number;
1190
- lng: number;
1191
- distance?: string | undefined;
1192
- }, {
1193
- restaurantId: string;
1194
- placeName: string;
1195
- categoryName: string;
1196
- categoryGroupName: string;
1197
- roadAddressName: string;
1198
- addressName: string;
1199
- phone: string | null;
1200
- placeUrl: string | null;
1201
- lat: number;
1202
- lng: number;
1203
- distance?: string | undefined;
1204
- }>, "many">;
1205
- restaurantUserList: z.ZodArray<z.ZodObject<{
1206
- restaurantId: z.ZodBranded<z.ZodString, "RestaurantId">;
1207
- selectedMembers: z.ZodArray<z.ZodBranded<z.ZodNumber, "MemberId">, "many">;
1208
- }, "strip", z.ZodTypeAny, {
1209
- restaurantId: string & z.BRAND<"RestaurantId">;
1210
- selectedMembers: (number & z.BRAND<"MemberId">)[];
1211
- }, {
1212
- restaurantId: string;
1213
- selectedMembers: number[];
1214
- }>, "many">;
1215
- }, "strip", z.ZodTypeAny, {
1216
- initialRestaurants: {
1217
- restaurantId: string & z.BRAND<"RestaurantId">;
1218
- placeName: string;
1219
- categoryName: string;
1220
- categoryGroupName: string;
1221
- roadAddressName: string;
1222
- addressName: string;
1223
- phone: string | null;
1224
- placeUrl: string | null;
1225
- lat: number;
1226
- lng: number;
1227
- distance?: string | undefined;
1228
- }[];
1229
- restaurantUserList: {
1230
- restaurantId: string & z.BRAND<"RestaurantId">;
1231
- selectedMembers: (number & z.BRAND<"MemberId">)[];
1232
- }[];
1233
- }, {
1234
- initialRestaurants: {
1235
- restaurantId: string;
1236
- placeName: string;
1237
- categoryName: string;
1238
- categoryGroupName: string;
1239
- roadAddressName: string;
1240
- addressName: string;
1241
- phone: string | null;
1242
- placeUrl: string | null;
1243
- lat: number;
1244
- lng: number;
1245
- distance?: string | undefined;
1246
- }[];
1247
- restaurantUserList: {
1248
- restaurantId: string;
1249
- selectedMembers: number[];
1250
- }[];
1251
- }>;
1252
- }, "strip", z.ZodTypeAny, {
1253
- data: {
1254
- initialRestaurants: {
1255
- restaurantId: string & z.BRAND<"RestaurantId">;
1256
- placeName: string;
1257
- categoryName: string;
1258
- categoryGroupName: string;
1259
- roadAddressName: string;
1260
- addressName: string;
1261
- phone: string | null;
1262
- placeUrl: string | null;
1263
- lat: number;
1264
- lng: number;
1265
- distance?: string | undefined;
1266
- }[];
1267
- restaurantUserList: {
1268
- restaurantId: string & z.BRAND<"RestaurantId">;
1269
- selectedMembers: (number & z.BRAND<"MemberId">)[];
1270
- }[];
1271
- };
1272
- phase: "restaurant";
1273
- }, {
1274
- data: {
1275
- initialRestaurants: {
1276
- restaurantId: string;
1277
- placeName: string;
1278
- categoryName: string;
1279
- categoryGroupName: string;
1280
- roadAddressName: string;
1281
- addressName: string;
1282
- phone: string | null;
1283
- placeUrl: string | null;
1284
- lat: number;
1285
- lng: number;
1286
- distance?: string | undefined;
1287
- }[];
1288
- restaurantUserList: {
1289
- restaurantId: string;
1290
- selectedMembers: number[];
1291
- }[];
1292
- };
1293
- phase: "restaurant";
1294
- }>, z.ZodObject<{
1295
- phase: z.ZodLiteral<"finish">;
1296
- data: z.ZodObject<{
1297
- locationInitial: z.ZodOptional<z.ZodString>;
1298
- meetingAt: z.ZodOptional<z.ZodString>;
1299
- }, "strip", z.ZodTypeAny, {
1300
- locationInitial?: string | undefined;
1301
- meetingAt?: string | undefined;
1302
- }, {
1303
- locationInitial?: string | undefined;
1304
- meetingAt?: string | undefined;
1305
- }>;
1306
- }, "strip", z.ZodTypeAny, {
1307
- data: {
1308
- locationInitial?: string | undefined;
1309
- meetingAt?: string | undefined;
1310
- };
1311
- phase: "finish";
1312
- }, {
1313
- data: {
1314
- locationInitial?: string | undefined;
1315
- meetingAt?: string | undefined;
1316
- };
1317
- phase: "finish";
1318
- }>]>;
1319
- declare const RoomSocketClientEventSchemas: {
1320
- readonly "ready-state": z.ZodObject<{
1321
- isReady: z.ZodBoolean;
1322
- }, "strip", z.ZodTypeAny, {
1323
- isReady: boolean;
1324
- }, {
1325
- isReady: boolean;
1326
- }>;
1327
- readonly "chat-message": z.ZodObject<{
1328
- message: z.ZodString;
1329
- }, "strip", z.ZodTypeAny, {
1330
- message: string;
1331
- }, {
1332
- message: string;
1333
- }>;
1334
- readonly "add-location-candidate": z.ZodObject<{
1335
- locationId: z.ZodBranded<z.ZodString, "LocationId">;
1336
- placeName: z.ZodString;
1337
- lat: z.ZodNumber;
1338
- lng: z.ZodNumber;
1339
- address: z.ZodString;
1340
- }, "strip", z.ZodTypeAny, {
1341
- placeName: string;
1342
- lat: number;
1343
- lng: number;
1344
- locationId: string & z.BRAND<"LocationId">;
1345
- address: string;
1346
- }, {
1347
- placeName: string;
1348
- lat: number;
1349
- lng: number;
1350
- locationId: string;
1351
- address: string;
1352
- }>;
1353
- readonly "vote-location": z.ZodObject<{
1354
- locationId: z.ZodBranded<z.ZodString, "LocationId">;
1355
- }, "strip", z.ZodTypeAny, {
1356
- locationId: string & z.BRAND<"LocationId">;
1357
- }, {
1358
- locationId: string;
1359
- }>;
1360
- readonly "exclude-menu": z.ZodObject<{
1361
- menu: z.ZodObject<{
1362
- code: z.ZodBranded<z.ZodString, "FoodCode">;
1363
- label: z.ZodBranded<z.ZodString, "FoodLabel">;
1364
- }, "strip", z.ZodTypeAny, {
1365
- code: string & z.BRAND<"FoodCode">;
1366
- label: string & z.BRAND<"FoodLabel">;
1367
- }, {
1368
- code: string;
1369
- label: string;
1370
- }>;
1371
- }, "strip", z.ZodTypeAny, {
1372
- menu: {
1373
- code: string & z.BRAND<"FoodCode">;
1374
- label: string & z.BRAND<"FoodLabel">;
1375
- };
1376
- }, {
1377
- menu: {
1378
- code: string;
1379
- label: string;
1380
- };
1381
- }>;
1382
- readonly "pick-menu": z.ZodObject<{
1383
- menuCode: z.ZodBranded<z.ZodString, "FoodCode">;
1384
- }, "strip", z.ZodTypeAny, {
1385
- menuCode: string & z.BRAND<"FoodCode">;
1386
- }, {
1387
- menuCode: string;
1388
- }>;
1389
- readonly "pick-restaurant": z.ZodObject<{
1390
- restaurantId: z.ZodBranded<z.ZodString, "RestaurantId">;
1391
- }, "strip", z.ZodTypeAny, {
1392
- restaurantId: string & z.BRAND<"RestaurantId">;
1393
- }, {
1394
- restaurantId: string;
1395
- }>;
1396
- readonly "pick-times": z.ZodObject<{
1397
- times: z.ZodArray<z.ZodString, "many">;
1398
- }, "strip", z.ZodTypeAny, {
1399
- times: string[];
1400
- }, {
1401
- times: string[];
1402
- }>;
1403
- readonly "pick-date": z.ZodObject<{
1404
- dates: z.ZodArray<z.ZodString, "many">;
1405
- }, "strip", z.ZodTypeAny, {
1406
- dates: string[];
1407
- }, {
1408
- dates: string[];
1409
- }>;
1410
- };
1411
- declare const RoomSocketServerEventSchemas: {
1412
- readonly "room-assigned": z.ZodObject<{
1413
- roomId: z.ZodBranded<z.ZodString, "RoomId">;
1414
- }, "strip", z.ZodTypeAny, {
1415
- roomId: string & z.BRAND<"RoomId">;
1416
- }, {
1417
- roomId: string;
1418
- }>;
1419
- readonly "stage-changed": z.ZodDiscriminatedUnion<"phase", [z.ZodObject<{
1420
- phase: z.ZodLiteral<"waiting">;
1421
- data: z.ZodObject<{
1422
- locationInitial: z.ZodOptional<z.ZodString>;
1423
- meetingAt: z.ZodOptional<z.ZodString>;
1424
- }, "strip", z.ZodTypeAny, {
1425
- locationInitial?: string | undefined;
1426
- meetingAt?: string | undefined;
1427
- }, {
1428
- locationInitial?: string | undefined;
1429
- meetingAt?: string | undefined;
1430
- }>;
1431
- }, "strip", z.ZodTypeAny, {
1432
- data: {
1433
- locationInitial?: string | undefined;
1434
- meetingAt?: string | undefined;
1435
- };
1436
- phase: "waiting";
1437
- }, {
1438
- data: {
1439
- locationInitial?: string | undefined;
1440
- meetingAt?: string | undefined;
1441
- };
1442
- phase: "waiting";
1443
- }>, z.ZodObject<{
1444
- phase: z.ZodLiteral<"date">;
1445
- data: z.ZodArray<z.ZodObject<{
1446
- memberId: z.ZodBranded<z.ZodNumber, "MemberId">;
1447
- dates: z.ZodArray<z.ZodString, "many">;
1448
- }, "strip", z.ZodTypeAny, {
1449
- memberId: number & z.BRAND<"MemberId">;
1450
- dates: string[];
1451
- }, {
1452
- memberId: number;
1453
- dates: string[];
1454
- }>, "many">;
1455
- }, "strip", z.ZodTypeAny, {
1456
- data: {
1457
- memberId: number & z.BRAND<"MemberId">;
1458
- dates: string[];
1459
- }[];
1460
- phase: "date";
1461
- }, {
1462
- data: {
1463
- memberId: number;
1464
- dates: string[];
1465
- }[];
1466
- phase: "date";
1467
- }>, z.ZodObject<{
1468
- phase: z.ZodLiteral<"time">;
1469
- data: z.ZodArray<z.ZodObject<{
1470
- memberId: z.ZodBranded<z.ZodNumber, "MemberId">;
1471
- times: z.ZodArray<z.ZodString, "many">;
1472
- }, "strip", z.ZodTypeAny, {
1473
- memberId: number & z.BRAND<"MemberId">;
1474
- times: string[];
1475
- }, {
1476
- memberId: number;
1477
- times: string[];
1478
- }>, "many">;
1479
- }, "strip", z.ZodTypeAny, {
1480
- data: {
1481
- memberId: number & z.BRAND<"MemberId">;
1482
- times: string[];
1483
- }[];
1484
- phase: "time";
1485
- }, {
1486
- data: {
1487
- memberId: number;
1488
- times: string[];
1489
- }[];
1490
- phase: "time";
1491
- }>, z.ZodObject<{
1492
- phase: z.ZodLiteral<"location">;
1493
- data: z.ZodObject<{
1494
- locationInitial: z.ZodOptional<z.ZodString>;
1495
- meetingAt: z.ZodOptional<z.ZodString>;
1496
- }, "strip", z.ZodTypeAny, {
1497
- locationInitial?: string | undefined;
1498
- meetingAt?: string | undefined;
1499
- }, {
1500
- locationInitial?: string | undefined;
1501
- meetingAt?: string | undefined;
1502
- }>;
1503
- }, "strip", z.ZodTypeAny, {
1504
- data: {
1505
- locationInitial?: string | undefined;
1506
- meetingAt?: string | undefined;
1507
- };
1508
- phase: "location";
1509
- }, {
1510
- data: {
1511
- locationInitial?: string | undefined;
1512
- meetingAt?: string | undefined;
1513
- };
1514
- phase: "location";
1515
- }>, z.ZodObject<{
1516
- phase: z.ZodLiteral<"location-vote">;
1517
- data: z.ZodObject<{
1518
- locations: z.ZodArray<z.ZodObject<{
1519
- locationId: z.ZodBranded<z.ZodString, "LocationId">;
1520
- placeName: z.ZodString;
1521
- lat: z.ZodNumber;
1522
- lng: z.ZodNumber;
1523
- address: z.ZodString;
1524
- } & {
1525
- authorMemberId: z.ZodBranded<z.ZodNumber, "MemberId">;
1526
- }, "strip", z.ZodTypeAny, {
1527
- placeName: string;
1528
- lat: number;
1529
- lng: number;
1530
- locationId: string & z.BRAND<"LocationId">;
1531
- address: string;
1532
- authorMemberId: number & z.BRAND<"MemberId">;
1533
- }, {
1534
- placeName: string;
1535
- lat: number;
1536
- lng: number;
1537
- locationId: string;
1538
- address: string;
1539
- authorMemberId: number;
1540
- }>, "many">;
1541
- votes: z.ZodArray<z.ZodObject<{
1542
- locationId: z.ZodBranded<z.ZodString, "LocationId">;
1543
- votes: z.ZodArray<z.ZodBranded<z.ZodNumber, "MemberId">, "many">;
1544
- }, "strip", z.ZodTypeAny, {
1545
- locationId: string & z.BRAND<"LocationId">;
1546
- votes: (number & z.BRAND<"MemberId">)[];
1547
- }, {
1548
- locationId: string;
1549
- votes: number[];
1550
- }>, "many">;
1551
- }, "strip", z.ZodTypeAny, {
1552
- votes: {
1553
- locationId: string & z.BRAND<"LocationId">;
1554
- votes: (number & z.BRAND<"MemberId">)[];
1555
- }[];
1556
- locations: {
1557
- placeName: string;
1558
- lat: number;
1559
- lng: number;
1560
- locationId: string & z.BRAND<"LocationId">;
1561
- address: string;
1562
- authorMemberId: number & z.BRAND<"MemberId">;
1563
- }[];
1564
- }, {
1565
- votes: {
1566
- locationId: string;
1567
- votes: number[];
1568
- }[];
1569
- locations: {
1570
- placeName: string;
1571
- lat: number;
1572
- lng: number;
1573
- locationId: string;
1574
- address: string;
1575
- authorMemberId: number;
1576
- }[];
1577
- }>;
1578
- }, "strip", z.ZodTypeAny, {
1579
- data: {
1580
- votes: {
1581
- locationId: string & z.BRAND<"LocationId">;
1582
- votes: (number & z.BRAND<"MemberId">)[];
1583
- }[];
1584
- locations: {
1585
- placeName: string;
1586
- lat: number;
1587
- lng: number;
1588
- locationId: string & z.BRAND<"LocationId">;
1589
- address: string;
1590
- authorMemberId: number & z.BRAND<"MemberId">;
1591
- }[];
1592
- };
1593
- phase: "location-vote";
1594
- }, {
1595
- data: {
1596
- votes: {
1597
- locationId: string;
1598
- votes: number[];
1599
- }[];
1600
- locations: {
1601
- placeName: string;
1602
- lat: number;
1603
- lng: number;
1604
- locationId: string;
1605
- address: string;
1606
- authorMemberId: number;
1607
- }[];
1608
- };
1609
- phase: "location-vote";
1610
- }>, z.ZodObject<{
1611
- phase: z.ZodLiteral<"exclude-menu">;
1612
- data: z.ZodObject<{
1613
- recentMenus: z.ZodArray<z.ZodObject<{
1614
- userId: z.ZodString;
1615
- menuList: z.ZodArray<z.ZodObject<{
1616
- code: z.ZodBranded<z.ZodString, "FoodCode">;
1617
- label: z.ZodBranded<z.ZodString, "FoodLabel">;
1618
- }, "strip", z.ZodTypeAny, {
1619
- code: string & z.BRAND<"FoodCode">;
1620
- label: string & z.BRAND<"FoodLabel">;
1621
- }, {
1622
- code: string;
1623
- label: string;
1624
- }>, "many">;
1625
- }, "strip", z.ZodTypeAny, {
1626
- userId: string;
1627
- menuList: {
1628
- code: string & z.BRAND<"FoodCode">;
1629
- label: string & z.BRAND<"FoodLabel">;
1630
- }[];
1631
- }, {
1632
- userId: string;
1633
- menuList: {
1634
- code: string;
1635
- label: string;
1636
- }[];
1637
- }>, "many">;
1638
- excludedMenuList: z.ZodArray<z.ZodObject<{
1639
- memberId: z.ZodBranded<z.ZodNumber, "MemberId">;
1640
- exclusions: z.ZodArray<z.ZodObject<{
1641
- code: z.ZodBranded<z.ZodString, "FoodCode">;
1642
- label: z.ZodBranded<z.ZodString, "FoodLabel">;
1643
- }, "strip", z.ZodTypeAny, {
1644
- code: string & z.BRAND<"FoodCode">;
1645
- label: string & z.BRAND<"FoodLabel">;
1646
- }, {
1647
- code: string;
1648
- label: string;
1649
- }>, "many">;
1650
- }, "strip", z.ZodTypeAny, {
1651
- memberId: number & z.BRAND<"MemberId">;
1652
- exclusions: {
1653
- code: string & z.BRAND<"FoodCode">;
1654
- label: string & z.BRAND<"FoodLabel">;
1655
- }[];
1656
- }, {
1657
- memberId: number;
1658
- exclusions: {
1659
- code: string;
1660
- label: string;
1661
- }[];
1662
- }>, "many">;
1663
- }, "strip", z.ZodTypeAny, {
1664
- recentMenus: {
1665
- userId: string;
1666
- menuList: {
1667
- code: string & z.BRAND<"FoodCode">;
1668
- label: string & z.BRAND<"FoodLabel">;
1669
- }[];
1670
- }[];
1671
- excludedMenuList: {
1672
- memberId: number & z.BRAND<"MemberId">;
1673
- exclusions: {
1674
- code: string & z.BRAND<"FoodCode">;
1675
- label: string & z.BRAND<"FoodLabel">;
1676
- }[];
1677
- }[];
1678
- }, {
1679
- recentMenus: {
1680
- userId: string;
1681
- menuList: {
1682
- code: string;
1683
- label: string;
1684
- }[];
1685
- }[];
1686
- excludedMenuList: {
1687
- memberId: number;
1688
- exclusions: {
1689
- code: string;
1690
- label: string;
1691
- }[];
1692
- }[];
1693
- }>;
1694
- }, "strip", z.ZodTypeAny, {
1695
- data: {
1696
- recentMenus: {
1697
- userId: string;
1698
- menuList: {
1699
- code: string & z.BRAND<"FoodCode">;
1700
- label: string & z.BRAND<"FoodLabel">;
1701
- }[];
1702
- }[];
1703
- excludedMenuList: {
1704
- memberId: number & z.BRAND<"MemberId">;
1705
- exclusions: {
1706
- code: string & z.BRAND<"FoodCode">;
1707
- label: string & z.BRAND<"FoodLabel">;
1708
- }[];
1709
- }[];
1710
- };
1711
- phase: "exclude-menu";
1712
- }, {
1713
- data: {
1714
- recentMenus: {
1715
- userId: string;
1716
- menuList: {
1717
- code: string;
1718
- label: string;
1719
- }[];
1720
- }[];
1721
- excludedMenuList: {
1722
- memberId: number;
1723
- exclusions: {
1724
- code: string;
1725
- label: string;
1726
- }[];
1727
- }[];
1728
- };
1729
- phase: "exclude-menu";
1730
- }>, z.ZodObject<{
1731
- phase: z.ZodLiteral<"menu">;
1732
- data: z.ZodObject<{
1733
- initialMenus: z.ZodArray<z.ZodObject<{
1734
- code: z.ZodBranded<z.ZodString, "FoodCode">;
1735
- label: z.ZodBranded<z.ZodString, "FoodLabel">;
1736
- }, "strip", z.ZodTypeAny, {
1737
- code: string & z.BRAND<"FoodCode">;
1738
- label: string & z.BRAND<"FoodLabel">;
1739
- }, {
1740
- code: string;
1741
- label: string;
1742
- }>, "many">;
1743
- menuPick: z.ZodArray<z.ZodObject<{
1744
- menuCode: z.ZodBranded<z.ZodString, "FoodCode">;
1745
- selectedMembers: z.ZodArray<z.ZodBranded<z.ZodNumber, "MemberId">, "many">;
1746
- }, "strip", z.ZodTypeAny, {
1747
- menuCode: string & z.BRAND<"FoodCode">;
1748
- selectedMembers: (number & z.BRAND<"MemberId">)[];
1749
- }, {
1750
- menuCode: string;
1751
- selectedMembers: number[];
1752
- }>, "many">;
1753
- }, "strip", z.ZodTypeAny, {
1754
- initialMenus: {
1755
- code: string & z.BRAND<"FoodCode">;
1756
- label: string & z.BRAND<"FoodLabel">;
1757
- }[];
1758
- menuPick: {
1759
- menuCode: string & z.BRAND<"FoodCode">;
1760
- selectedMembers: (number & z.BRAND<"MemberId">)[];
1761
- }[];
1762
- }, {
1763
- initialMenus: {
1764
- code: string;
1765
- label: string;
1766
- }[];
1767
- menuPick: {
1768
- menuCode: string;
1769
- selectedMembers: number[];
1770
- }[];
1771
- }>;
1772
- }, "strip", z.ZodTypeAny, {
1773
- data: {
1774
- initialMenus: {
1775
- code: string & z.BRAND<"FoodCode">;
1776
- label: string & z.BRAND<"FoodLabel">;
1777
- }[];
1778
- menuPick: {
1779
- menuCode: string & z.BRAND<"FoodCode">;
1780
- selectedMembers: (number & z.BRAND<"MemberId">)[];
1781
- }[];
1782
- };
1783
- phase: "menu";
1784
- }, {
1785
- data: {
1786
- initialMenus: {
1787
- code: string;
1788
- label: string;
1789
- }[];
1790
- menuPick: {
1791
- menuCode: string;
1792
- selectedMembers: number[];
1793
- }[];
1794
- };
1795
- phase: "menu";
1796
- }>, z.ZodObject<{
1797
- phase: z.ZodLiteral<"restaurant">;
1798
- data: z.ZodObject<{
1799
- initialRestaurants: z.ZodArray<z.ZodObject<{
1800
- restaurantId: z.ZodBranded<z.ZodString, "RestaurantId">;
1801
- placeName: z.ZodString;
1802
- categoryName: z.ZodString;
1803
- categoryGroupName: z.ZodString;
1804
- distance: z.ZodOptional<z.ZodString>;
1805
- roadAddressName: z.ZodString;
1806
- addressName: z.ZodString;
1807
- phone: z.ZodNullable<z.ZodString>;
1808
- placeUrl: z.ZodNullable<z.ZodString>;
1809
- lat: z.ZodNumber;
1810
- lng: z.ZodNumber;
1811
- }, "strip", z.ZodTypeAny, {
1812
- restaurantId: string & z.BRAND<"RestaurantId">;
1813
- placeName: string;
1814
- categoryName: string;
1815
- categoryGroupName: string;
1816
- roadAddressName: string;
1817
- addressName: string;
1818
- phone: string | null;
1819
- placeUrl: string | null;
1820
- lat: number;
1821
- lng: number;
1822
- distance?: string | undefined;
1823
- }, {
1824
- restaurantId: string;
1825
- placeName: string;
1826
- categoryName: string;
1827
- categoryGroupName: string;
1828
- roadAddressName: string;
1829
- addressName: string;
1830
- phone: string | null;
1831
- placeUrl: string | null;
1832
- lat: number;
1833
- lng: number;
1834
- distance?: string | undefined;
1835
- }>, "many">;
1836
- restaurantUserList: z.ZodArray<z.ZodObject<{
1837
- restaurantId: z.ZodBranded<z.ZodString, "RestaurantId">;
1838
- selectedMembers: z.ZodArray<z.ZodBranded<z.ZodNumber, "MemberId">, "many">;
1839
- }, "strip", z.ZodTypeAny, {
1840
- restaurantId: string & z.BRAND<"RestaurantId">;
1841
- selectedMembers: (number & z.BRAND<"MemberId">)[];
1842
- }, {
1843
- restaurantId: string;
1844
- selectedMembers: number[];
1845
- }>, "many">;
1846
- }, "strip", z.ZodTypeAny, {
1847
- initialRestaurants: {
1848
- restaurantId: string & z.BRAND<"RestaurantId">;
1849
- placeName: string;
1850
- categoryName: string;
1851
- categoryGroupName: string;
1852
- roadAddressName: string;
1853
- addressName: string;
1854
- phone: string | null;
1855
- placeUrl: string | null;
1856
- lat: number;
1857
- lng: number;
1858
- distance?: string | undefined;
1859
- }[];
1860
- restaurantUserList: {
1861
- restaurantId: string & z.BRAND<"RestaurantId">;
1862
- selectedMembers: (number & z.BRAND<"MemberId">)[];
1863
- }[];
1864
- }, {
1865
- initialRestaurants: {
1866
- restaurantId: string;
1867
- placeName: string;
1868
- categoryName: string;
1869
- categoryGroupName: string;
1870
- roadAddressName: string;
1871
- addressName: string;
1872
- phone: string | null;
1873
- placeUrl: string | null;
1874
- lat: number;
1875
- lng: number;
1876
- distance?: string | undefined;
1877
- }[];
1878
- restaurantUserList: {
1879
- restaurantId: string;
1880
- selectedMembers: number[];
1881
- }[];
1882
- }>;
1883
- }, "strip", z.ZodTypeAny, {
1884
- data: {
1885
- initialRestaurants: {
1886
- restaurantId: string & z.BRAND<"RestaurantId">;
1887
- placeName: string;
1888
- categoryName: string;
1889
- categoryGroupName: string;
1890
- roadAddressName: string;
1891
- addressName: string;
1892
- phone: string | null;
1893
- placeUrl: string | null;
1894
- lat: number;
1895
- lng: number;
1896
- distance?: string | undefined;
1897
- }[];
1898
- restaurantUserList: {
1899
- restaurantId: string & z.BRAND<"RestaurantId">;
1900
- selectedMembers: (number & z.BRAND<"MemberId">)[];
1901
- }[];
1902
- };
1903
- phase: "restaurant";
1904
- }, {
1905
- data: {
1906
- initialRestaurants: {
1907
- restaurantId: string;
1908
- placeName: string;
1909
- categoryName: string;
1910
- categoryGroupName: string;
1911
- roadAddressName: string;
1912
- addressName: string;
1913
- phone: string | null;
1914
- placeUrl: string | null;
1915
- lat: number;
1916
- lng: number;
1917
- distance?: string | undefined;
1918
- }[];
1919
- restaurantUserList: {
1920
- restaurantId: string;
1921
- selectedMembers: number[];
1922
- }[];
1923
- };
1924
- phase: "restaurant";
1925
- }>, z.ZodObject<{
1926
- phase: z.ZodLiteral<"finish">;
1927
- data: z.ZodObject<{
1928
- locationInitial: z.ZodOptional<z.ZodString>;
1929
- meetingAt: z.ZodOptional<z.ZodString>;
1930
- }, "strip", z.ZodTypeAny, {
1931
- locationInitial?: string | undefined;
1932
- meetingAt?: string | undefined;
1933
- }, {
1934
- locationInitial?: string | undefined;
1935
- meetingAt?: string | undefined;
1936
- }>;
1937
- }, "strip", z.ZodTypeAny, {
1938
- data: {
1939
- locationInitial?: string | undefined;
1940
- meetingAt?: string | undefined;
1941
- };
1942
- phase: "finish";
1943
- }, {
1944
- data: {
1945
- locationInitial?: string | undefined;
1946
- meetingAt?: string | undefined;
1947
- };
1948
- phase: "finish";
1949
- }>]>;
1950
- readonly "chat-message": z.ZodObject<{
1951
- messageId: z.ZodString;
1952
- user: z.ZodObject<{
1953
- memberId: z.ZodBranded<z.ZodNumber, "MemberId">;
1954
- username: z.ZodString;
1955
- profileImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1956
- }, "strip", z.ZodTypeAny, {
1957
- memberId: number & z.BRAND<"MemberId">;
1958
- username: string;
1959
- profileImageUrl?: string | null | undefined;
1960
- }, {
1961
- memberId: number;
1962
- username: string;
1963
- profileImageUrl?: string | null | undefined;
1964
- }>;
1965
- message: z.ZodString;
1966
- createdAt: z.ZodString;
1967
- }, "strip", z.ZodTypeAny, {
1968
- message: string;
1969
- createdAt: string;
1970
- messageId: string;
1971
- user: {
1972
- memberId: number & z.BRAND<"MemberId">;
1973
- username: string;
1974
- profileImageUrl?: string | null | undefined;
1975
- };
1976
- }, {
1977
- message: string;
1978
- createdAt: string;
1979
- messageId: string;
1980
- user: {
1981
- memberId: number;
1982
- username: string;
1983
- profileImageUrl?: string | null | undefined;
1984
- };
1985
- }>;
1986
- readonly "room-error": z.ZodObject<{
1987
- code: z.ZodString;
1988
- message: z.ZodString;
1989
- }, "strip", z.ZodTypeAny, {
1990
- message: string;
1991
- code: string;
1992
- }, {
1993
- message: string;
1994
- code: string;
1995
- }>;
1996
- readonly "ready-state-changed": z.ZodObject<{
1997
- readyCount: z.ZodNumber;
1998
- participantCount: z.ZodNumber;
1999
- }, "strip", z.ZodTypeAny, {
2000
- readyCount: number;
2001
- participantCount: number;
2002
- }, {
2003
- readyCount: number;
2004
- participantCount: number;
2005
- }>;
2006
- readonly "join-room": z.ZodObject<{
2007
- participants: z.ZodArray<z.ZodObject<{
2008
- memberId: z.ZodBranded<z.ZodNumber, "MemberId">;
2009
- username: z.ZodString;
2010
- profileImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2011
- } & {
2012
- ready: z.ZodBoolean;
2013
- }, "strip", z.ZodTypeAny, {
2014
- memberId: number & z.BRAND<"MemberId">;
2015
- username: string;
2016
- ready: boolean;
2017
- profileImageUrl?: string | null | undefined;
2018
- }, {
2019
- memberId: number;
2020
- username: string;
2021
- ready: boolean;
2022
- profileImageUrl?: string | null | undefined;
2023
- }>, "many">;
2024
- chat: z.ZodArray<z.ZodObject<{
2025
- messageId: z.ZodString;
2026
- user: z.ZodObject<{
2027
- memberId: z.ZodBranded<z.ZodNumber, "MemberId">;
2028
- username: z.ZodString;
2029
- profileImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2030
- }, "strip", z.ZodTypeAny, {
2031
- memberId: number & z.BRAND<"MemberId">;
2032
- username: string;
2033
- profileImageUrl?: string | null | undefined;
2034
- }, {
2035
- memberId: number;
2036
- username: string;
2037
- profileImageUrl?: string | null | undefined;
2038
- }>;
2039
- message: z.ZodString;
2040
- createdAt: z.ZodString;
2041
- }, "strip", z.ZodTypeAny, {
2042
- message: string;
2043
- createdAt: string;
2044
- messageId: string;
2045
- user: {
2046
- memberId: number & z.BRAND<"MemberId">;
2047
- username: string;
2048
- profileImageUrl?: string | null | undefined;
2049
- };
2050
- }, {
2051
- message: string;
2052
- createdAt: string;
2053
- messageId: string;
2054
- user: {
2055
- memberId: number;
2056
- username: string;
2057
- profileImageUrl?: string | null | undefined;
2058
- };
2059
- }>, "many">;
2060
- final: z.ZodObject<{
2061
- location: z.ZodOptional<z.ZodObject<{
2062
- locationId: z.ZodBranded<z.ZodString, "LocationId">;
2063
- placeName: z.ZodString;
2064
- lat: z.ZodNumber;
2065
- lng: z.ZodNumber;
2066
- address: z.ZodString;
2067
- }, "strip", z.ZodTypeAny, {
2068
- placeName: string;
2069
- lat: number;
2070
- lng: number;
2071
- locationId: string & z.BRAND<"LocationId">;
2072
- address: string;
2073
- }, {
2074
- placeName: string;
2075
- lat: number;
2076
- lng: number;
2077
- locationId: string;
2078
- address: string;
2079
- }>>;
2080
- excludeMenu: z.ZodOptional<z.ZodArray<z.ZodObject<{
2081
- code: z.ZodBranded<z.ZodString, "FoodCode">;
2082
- label: z.ZodBranded<z.ZodString, "FoodLabel">;
2083
- }, "strip", z.ZodTypeAny, {
2084
- code: string & z.BRAND<"FoodCode">;
2085
- label: string & z.BRAND<"FoodLabel">;
2086
- }, {
2087
- code: string;
2088
- label: string;
2089
- }>, "many">>;
2090
- menu: z.ZodOptional<z.ZodObject<{
2091
- code: z.ZodBranded<z.ZodString, "FoodCode">;
2092
- label: z.ZodBranded<z.ZodString, "FoodLabel">;
2093
- }, "strip", z.ZodTypeAny, {
2094
- code: string & z.BRAND<"FoodCode">;
2095
- label: string & z.BRAND<"FoodLabel">;
2096
- }, {
2097
- code: string;
2098
- label: string;
2099
- }>>;
2100
- restaurant: z.ZodOptional<z.ZodObject<{
2101
- restaurantId: z.ZodBranded<z.ZodString, "RestaurantId">;
2102
- placeName: z.ZodString;
2103
- categoryName: z.ZodString;
2104
- categoryGroupName: z.ZodString;
2105
- distance: z.ZodOptional<z.ZodString>;
2106
- roadAddressName: z.ZodString;
2107
- addressName: z.ZodString;
2108
- phone: z.ZodNullable<z.ZodString>;
2109
- placeUrl: z.ZodNullable<z.ZodString>;
2110
- lat: z.ZodNumber;
2111
- lng: z.ZodNumber;
2112
- }, "strip", z.ZodTypeAny, {
2113
- restaurantId: string & z.BRAND<"RestaurantId">;
2114
- placeName: string;
2115
- categoryName: string;
2116
- categoryGroupName: string;
2117
- roadAddressName: string;
2118
- addressName: string;
2119
- phone: string | null;
2120
- placeUrl: string | null;
2121
- lat: number;
2122
- lng: number;
2123
- distance?: string | undefined;
2124
- }, {
2125
- restaurantId: string;
2126
- placeName: string;
2127
- categoryName: string;
2128
- categoryGroupName: string;
2129
- roadAddressName: string;
2130
- addressName: string;
2131
- phone: string | null;
2132
- placeUrl: string | null;
2133
- lat: number;
2134
- lng: number;
2135
- distance?: string | undefined;
2136
- }>>;
2137
- time: z.ZodOptional<z.ZodString>;
2138
- date: z.ZodOptional<z.ZodString>;
2139
- }, "strip", z.ZodTypeAny, {
2140
- date?: string | undefined;
2141
- restaurant?: {
2142
- restaurantId: string & z.BRAND<"RestaurantId">;
2143
- placeName: string;
2144
- categoryName: string;
2145
- categoryGroupName: string;
2146
- roadAddressName: string;
2147
- addressName: string;
2148
- phone: string | null;
2149
- placeUrl: string | null;
2150
- lat: number;
2151
- lng: number;
2152
- distance?: string | undefined;
2153
- } | undefined;
2154
- location?: {
2155
- placeName: string;
2156
- lat: number;
2157
- lng: number;
2158
- locationId: string & z.BRAND<"LocationId">;
2159
- address: string;
2160
- } | undefined;
2161
- menu?: {
2162
- code: string & z.BRAND<"FoodCode">;
2163
- label: string & z.BRAND<"FoodLabel">;
2164
- } | undefined;
2165
- time?: string | undefined;
2166
- excludeMenu?: {
2167
- code: string & z.BRAND<"FoodCode">;
2168
- label: string & z.BRAND<"FoodLabel">;
2169
- }[] | undefined;
2170
- }, {
2171
- date?: string | undefined;
2172
- restaurant?: {
2173
- restaurantId: string;
2174
- placeName: string;
2175
- categoryName: string;
2176
- categoryGroupName: string;
2177
- roadAddressName: string;
2178
- addressName: string;
2179
- phone: string | null;
2180
- placeUrl: string | null;
2181
- lat: number;
2182
- lng: number;
2183
- distance?: string | undefined;
2184
- } | undefined;
2185
- location?: {
2186
- placeName: string;
2187
- lat: number;
2188
- lng: number;
2189
- locationId: string;
2190
- address: string;
2191
- } | undefined;
2192
- menu?: {
2193
- code: string;
2194
- label: string;
2195
- } | undefined;
2196
- time?: string | undefined;
2197
- excludeMenu?: {
2198
- code: string;
2199
- label: string;
2200
- }[] | undefined;
2201
- }>;
2202
- }, "strip", z.ZodTypeAny, {
2203
- participants: {
2204
- memberId: number & z.BRAND<"MemberId">;
2205
- username: string;
2206
- ready: boolean;
2207
- profileImageUrl?: string | null | undefined;
2208
- }[];
2209
- chat: {
2210
- message: string;
2211
- createdAt: string;
2212
- messageId: string;
2213
- user: {
2214
- memberId: number & z.BRAND<"MemberId">;
2215
- username: string;
2216
- profileImageUrl?: string | null | undefined;
2217
- };
2218
- }[];
2219
- final: {
2220
- date?: string | undefined;
2221
- restaurant?: {
2222
- restaurantId: string & z.BRAND<"RestaurantId">;
2223
- placeName: string;
2224
- categoryName: string;
2225
- categoryGroupName: string;
2226
- roadAddressName: string;
2227
- addressName: string;
2228
- phone: string | null;
2229
- placeUrl: string | null;
2230
- lat: number;
2231
- lng: number;
2232
- distance?: string | undefined;
2233
- } | undefined;
2234
- location?: {
2235
- placeName: string;
2236
- lat: number;
2237
- lng: number;
2238
- locationId: string & z.BRAND<"LocationId">;
2239
- address: string;
2240
- } | undefined;
2241
- menu?: {
2242
- code: string & z.BRAND<"FoodCode">;
2243
- label: string & z.BRAND<"FoodLabel">;
2244
- } | undefined;
2245
- time?: string | undefined;
2246
- excludeMenu?: {
2247
- code: string & z.BRAND<"FoodCode">;
2248
- label: string & z.BRAND<"FoodLabel">;
2249
- }[] | undefined;
2250
- };
2251
- }, {
2252
- participants: {
2253
- memberId: number;
2254
- username: string;
2255
- ready: boolean;
2256
- profileImageUrl?: string | null | undefined;
2257
- }[];
2258
- chat: {
2259
- message: string;
2260
- createdAt: string;
2261
- messageId: string;
2262
- user: {
2263
- memberId: number;
2264
- username: string;
2265
- profileImageUrl?: string | null | undefined;
2266
- };
2267
- }[];
2268
- final: {
2269
- date?: string | undefined;
2270
- restaurant?: {
2271
- restaurantId: string;
2272
- placeName: string;
2273
- categoryName: string;
2274
- categoryGroupName: string;
2275
- roadAddressName: string;
2276
- addressName: string;
2277
- phone: string | null;
2278
- placeUrl: string | null;
2279
- lat: number;
2280
- lng: number;
2281
- distance?: string | undefined;
2282
- } | undefined;
2283
- location?: {
2284
- placeName: string;
2285
- lat: number;
2286
- lng: number;
2287
- locationId: string;
2288
- address: string;
2289
- } | undefined;
2290
- menu?: {
2291
- code: string;
2292
- label: string;
2293
- } | undefined;
2294
- time?: string | undefined;
2295
- excludeMenu?: {
2296
- code: string;
2297
- label: string;
2298
- }[] | undefined;
2299
- };
2300
- }>;
2301
- readonly "time-updated": z.ZodArray<z.ZodObject<{
2302
- memberId: z.ZodBranded<z.ZodNumber, "MemberId">;
2303
- times: z.ZodArray<z.ZodString, "many">;
2304
- }, "strip", z.ZodTypeAny, {
2305
- memberId: number & z.BRAND<"MemberId">;
2306
- times: string[];
2307
- }, {
2308
- memberId: number;
2309
- times: string[];
2310
- }>, "many">;
2311
- readonly "date-updated": z.ZodArray<z.ZodObject<{
2312
- memberId: z.ZodBranded<z.ZodNumber, "MemberId">;
2313
- dates: z.ZodArray<z.ZodString, "many">;
2314
- }, "strip", z.ZodTypeAny, {
2315
- memberId: number & z.BRAND<"MemberId">;
2316
- dates: string[];
2317
- }, {
2318
- memberId: number;
2319
- dates: string[];
2320
- }>, "many">;
2321
- readonly "location-add-updated": z.ZodArray<z.ZodObject<{
2322
- locationId: z.ZodBranded<z.ZodString, "LocationId">;
2323
- placeName: z.ZodString;
2324
- lat: z.ZodNumber;
2325
- lng: z.ZodNumber;
2326
- address: z.ZodString;
2327
- } & {
2328
- authorMemberId: z.ZodBranded<z.ZodNumber, "MemberId">;
2329
- }, "strip", z.ZodTypeAny, {
2330
- placeName: string;
2331
- lat: number;
2332
- lng: number;
2333
- locationId: string & z.BRAND<"LocationId">;
2334
- address: string;
2335
- authorMemberId: number & z.BRAND<"MemberId">;
2336
- }, {
2337
- placeName: string;
2338
- lat: number;
2339
- lng: number;
2340
- locationId: string;
2341
- address: string;
2342
- authorMemberId: number;
2343
- }>, "many">;
2344
- readonly "location-vote-updated": z.ZodArray<z.ZodObject<{
2345
- locationId: z.ZodBranded<z.ZodString, "LocationId">;
2346
- votes: z.ZodArray<z.ZodBranded<z.ZodNumber, "MemberId">, "many">;
2347
- }, "strip", z.ZodTypeAny, {
2348
- locationId: string & z.BRAND<"LocationId">;
2349
- votes: (number & z.BRAND<"MemberId">)[];
2350
- }, {
2351
- locationId: string;
2352
- votes: number[];
2353
- }>, "many">;
2354
- readonly "exclude-menu-updated": z.ZodArray<z.ZodObject<{
2355
- memberId: z.ZodBranded<z.ZodNumber, "MemberId">;
2356
- exclusions: z.ZodArray<z.ZodObject<{
2357
- code: z.ZodBranded<z.ZodString, "FoodCode">;
2358
- label: z.ZodBranded<z.ZodString, "FoodLabel">;
2359
- }, "strip", z.ZodTypeAny, {
2360
- code: string & z.BRAND<"FoodCode">;
2361
- label: string & z.BRAND<"FoodLabel">;
2362
- }, {
2363
- code: string;
2364
- label: string;
2365
- }>, "many">;
2366
- }, "strip", z.ZodTypeAny, {
2367
- memberId: number & z.BRAND<"MemberId">;
2368
- exclusions: {
2369
- code: string & z.BRAND<"FoodCode">;
2370
- label: string & z.BRAND<"FoodLabel">;
2371
- }[];
2372
- }, {
2373
- memberId: number;
2374
- exclusions: {
2375
- code: string;
2376
- label: string;
2377
- }[];
2378
- }>, "many">;
2379
- readonly "menu-pick-updated": z.ZodArray<z.ZodObject<{
2380
- menuCode: z.ZodBranded<z.ZodString, "FoodCode">;
2381
- selectedMembers: z.ZodArray<z.ZodBranded<z.ZodNumber, "MemberId">, "many">;
2382
- }, "strip", z.ZodTypeAny, {
2383
- menuCode: string & z.BRAND<"FoodCode">;
2384
- selectedMembers: (number & z.BRAND<"MemberId">)[];
2385
- }, {
2386
- menuCode: string;
2387
- selectedMembers: number[];
2388
- }>, "many">;
2389
- readonly "restaurant-pick-updated": z.ZodArray<z.ZodObject<{
2390
- restaurantId: z.ZodBranded<z.ZodString, "RestaurantId">;
2391
- selectedMembers: z.ZodArray<z.ZodBranded<z.ZodNumber, "MemberId">, "many">;
2392
- }, "strip", z.ZodTypeAny, {
2393
- restaurantId: string & z.BRAND<"RestaurantId">;
2394
- selectedMembers: (number & z.BRAND<"MemberId">)[];
2395
- }, {
2396
- restaurantId: string;
2397
- selectedMembers: number[];
2398
- }>, "many">;
2399
- readonly "final-state-response": z.ZodObject<{
2400
- location: z.ZodOptional<z.ZodObject<{
2401
- locationId: z.ZodBranded<z.ZodString, "LocationId">;
2402
- placeName: z.ZodString;
2403
- lat: z.ZodNumber;
2404
- lng: z.ZodNumber;
2405
- address: z.ZodString;
2406
- }, "strip", z.ZodTypeAny, {
2407
- placeName: string;
2408
- lat: number;
2409
- lng: number;
2410
- locationId: string & z.BRAND<"LocationId">;
2411
- address: string;
2412
- }, {
2413
- placeName: string;
2414
- lat: number;
2415
- lng: number;
2416
- locationId: string;
2417
- address: string;
2418
- }>>;
2419
- excludeMenu: z.ZodOptional<z.ZodArray<z.ZodObject<{
2420
- code: z.ZodBranded<z.ZodString, "FoodCode">;
2421
- label: z.ZodBranded<z.ZodString, "FoodLabel">;
2422
- }, "strip", z.ZodTypeAny, {
2423
- code: string & z.BRAND<"FoodCode">;
2424
- label: string & z.BRAND<"FoodLabel">;
2425
- }, {
2426
- code: string;
2427
- label: string;
2428
- }>, "many">>;
2429
- menu: z.ZodOptional<z.ZodObject<{
2430
- code: z.ZodBranded<z.ZodString, "FoodCode">;
2431
- label: z.ZodBranded<z.ZodString, "FoodLabel">;
2432
- }, "strip", z.ZodTypeAny, {
2433
- code: string & z.BRAND<"FoodCode">;
2434
- label: string & z.BRAND<"FoodLabel">;
2435
- }, {
2436
- code: string;
2437
- label: string;
2438
- }>>;
2439
- restaurant: z.ZodOptional<z.ZodObject<{
2440
- restaurantId: z.ZodBranded<z.ZodString, "RestaurantId">;
2441
- placeName: z.ZodString;
2442
- categoryName: z.ZodString;
2443
- categoryGroupName: z.ZodString;
2444
- distance: z.ZodOptional<z.ZodString>;
2445
- roadAddressName: z.ZodString;
2446
- addressName: z.ZodString;
2447
- phone: z.ZodNullable<z.ZodString>;
2448
- placeUrl: z.ZodNullable<z.ZodString>;
2449
- lat: z.ZodNumber;
2450
- lng: z.ZodNumber;
2451
- }, "strip", z.ZodTypeAny, {
2452
- restaurantId: string & z.BRAND<"RestaurantId">;
2453
- placeName: string;
2454
- categoryName: string;
2455
- categoryGroupName: string;
2456
- roadAddressName: string;
2457
- addressName: string;
2458
- phone: string | null;
2459
- placeUrl: string | null;
2460
- lat: number;
2461
- lng: number;
2462
- distance?: string | undefined;
2463
- }, {
2464
- restaurantId: string;
2465
- placeName: string;
2466
- categoryName: string;
2467
- categoryGroupName: string;
2468
- roadAddressName: string;
2469
- addressName: string;
2470
- phone: string | null;
2471
- placeUrl: string | null;
2472
- lat: number;
2473
- lng: number;
2474
- distance?: string | undefined;
2475
- }>>;
2476
- time: z.ZodOptional<z.ZodString>;
2477
- date: z.ZodOptional<z.ZodString>;
2478
- }, "strip", z.ZodTypeAny, {
2479
- date?: string | undefined;
2480
- restaurant?: {
2481
- restaurantId: string & z.BRAND<"RestaurantId">;
2482
- placeName: string;
2483
- categoryName: string;
2484
- categoryGroupName: string;
2485
- roadAddressName: string;
2486
- addressName: string;
2487
- phone: string | null;
2488
- placeUrl: string | null;
2489
- lat: number;
2490
- lng: number;
2491
- distance?: string | undefined;
2492
- } | undefined;
2493
- location?: {
2494
- placeName: string;
2495
- lat: number;
2496
- lng: number;
2497
- locationId: string & z.BRAND<"LocationId">;
2498
- address: string;
2499
- } | undefined;
2500
- menu?: {
2501
- code: string & z.BRAND<"FoodCode">;
2502
- label: string & z.BRAND<"FoodLabel">;
2503
- } | undefined;
2504
- time?: string | undefined;
2505
- excludeMenu?: {
2506
- code: string & z.BRAND<"FoodCode">;
2507
- label: string & z.BRAND<"FoodLabel">;
2508
- }[] | undefined;
2509
- }, {
2510
- date?: string | undefined;
2511
- restaurant?: {
2512
- restaurantId: string;
2513
- placeName: string;
2514
- categoryName: string;
2515
- categoryGroupName: string;
2516
- roadAddressName: string;
2517
- addressName: string;
2518
- phone: string | null;
2519
- placeUrl: string | null;
2520
- lat: number;
2521
- lng: number;
2522
- distance?: string | undefined;
2523
- } | undefined;
2524
- location?: {
2525
- placeName: string;
2526
- lat: number;
2527
- lng: number;
2528
- locationId: string;
2529
- address: string;
2530
- } | undefined;
2531
- menu?: {
2532
- code: string;
2533
- label: string;
2534
- } | undefined;
2535
- time?: string | undefined;
2536
- excludeMenu?: {
2537
- code: string;
2538
- label: string;
2539
- }[] | undefined;
2540
- }>;
2541
- };
2542
-
2543
- type Menu = z.infer<typeof MenuSchema>;
2544
- type MenuCode = Menu["code"];
2545
- type LocationCandidate = z.infer<typeof LocationCandidateSchema>;
2546
- type LocationId = LocationCandidate["locationId"];
2547
- type Participant = z.infer<typeof ParticipantSchema>;
2548
- type RecruitRoomStage = z.infer<typeof RecruitRoomStageSchema>;
2549
- type InvitationRoomStage = z.infer<typeof InvitationRoomStageSchema>;
2550
- type RoomType = z.infer<typeof RoomTypeSchema>;
2551
- type MatchingNotificationKind = z.infer<typeof MatchingNotificationKindSchema>;
2552
- type MatchingNotification = z.infer<typeof MatchingNotificationSchema>;
2553
- type ReadyStateRequest = z.infer<typeof ReadyStateRequestSchema>;
2554
- type ChatMessageRequest = z.infer<typeof ChatMessageRequestSchema>;
2555
- type ChatMessageResponse = z.infer<typeof ChatMessageResponseSchema>;
2556
- type RoomAssignedResponse = z.infer<typeof RoomAssignedResponseSchema>;
2557
- type RoomAccessResponse = z.infer<typeof RoomAccessResponseSchema>;
2558
- type RoomSocketError = z.infer<typeof RoomSocketErrorSchema>;
2559
- type FinalState = z.infer<typeof FinalStateSchema>;
2560
- type RoomInitialState = z.infer<typeof RoomInitialStateSchema>;
2561
- type PhaseDataBroadcast = z.infer<typeof PhaseDataBroadcastSchema>;
2562
-
2563
- type MemberId = Participant["memberId"];
2564
- type Restaurant = z.infer<typeof RestaurantSchema>;
2565
- type RestaurantId = Restaurant["restaurantId"];
2566
- type ReadyStateChanged = {
2567
- readyCount: number;
2568
- participantCount: number;
2569
- };
2570
- type TimePicksUpdateResponse = {
2571
- memberId: MemberId;
2572
- times: string[];
2573
- }[];
2574
- type DatePicksUpdateResponse = {
2575
- memberId: MemberId;
2576
- dates: string[];
2577
- }[];
2578
- type LocationCandidateAddUpdateResponse = Array<LocationCandidate & {
2579
- authorMemberId: MemberId;
2580
- }>;
2581
- type LocationCandidateVoteUpdateResponse = {
2582
- locationId: LocationCandidate["locationId"];
2583
- votes: MemberId[];
2584
- }[];
2585
- type ExcludeMenuUpdateResponse = {
2586
- memberId: MemberId;
2587
- exclusions: Menu[];
2588
- }[];
2589
- type MenuPickUpdateResponse = {
2590
- menuCode: MenuCode;
2591
- selectedMembers: MemberId[];
2592
- }[];
2593
- type RestaurantPickUpdateResponse = {
2594
- restaurantId: RestaurantId;
2595
- selectedMembers: MemberId[];
2596
- }[];
2597
- type RoomClientToServerEvents = {
2598
- "ready-state": (payload: ReadyStateRequest) => void;
2599
- "chat-message": (payload: ChatMessageRequest) => void;
2600
- "add-location-candidate": (payload: LocationCandidate) => void;
2601
- "vote-location": (payload: {
2602
- locationId: LocationCandidate["locationId"];
2603
- }) => void;
2604
- "exclude-menu": (payload: {
2605
- menu: Menu;
2606
- }) => void;
2607
- "pick-menu": (payload: {
2608
- menuCode: MenuCode;
2609
- }) => void;
2610
- "pick-restaurant": (payload: {
2611
- restaurantId: RestaurantId;
2612
- }) => void;
2613
- "pick-times": (payload: {
2614
- times: string[];
2615
- }) => void;
2616
- "pick-date": (payload: {
2617
- dates: string[];
2618
- }) => void;
2619
- [event: string]: (...args: any[]) => void;
2620
- };
2621
- type RoomServerToClientEvents = {
2622
- "room-assigned": (payload: RoomAssignedResponse) => void;
2623
- "stage-changed": (payload: PhaseDataBroadcast) => void;
2624
- "chat-message": (payload: ChatMessageResponse) => void;
2625
- "room-error": (payload: RoomSocketError) => void;
2626
- "ready-state-changed": (payload: ReadyStateChanged) => void;
2627
- "join-room": (payload: RoomInitialState) => void;
2628
- "time-updated": (payload: TimePicksUpdateResponse) => void;
2629
- "date-updated": (payload: DatePicksUpdateResponse) => void;
2630
- "location-add-updated": (payload: LocationCandidateAddUpdateResponse) => void;
2631
- "location-vote-updated": (payload: LocationCandidateVoteUpdateResponse) => void;
2632
- "exclude-menu-updated": (payload: ExcludeMenuUpdateResponse) => void;
2633
- "menu-pick-updated": (payload: MenuPickUpdateResponse) => void;
2634
- "restaurant-pick-updated": (payload: RestaurantPickUpdateResponse) => void;
2635
- "final-state-response": (payload: FinalState) => void;
2636
- [event: string]: (...args: any[]) => void;
2637
- };
2638
- /** @deprecated Use RoomServerToClientEvents. */
2639
- type ServerToClientEvents = RoomServerToClientEvents;
2640
- /** @deprecated Use RoomClientToServerEvents. */
2641
- type ClientToServerEvents = RoomClientToServerEvents;
2642
-
2643
- export { AddLocationCandidateRequestSchema, type ChatMessageRequest, ChatMessageRequestSchema, type ChatMessageResponse, ChatMessageResponseSchema, type ClientToServerEvents, type DatePicksUpdateResponse, DatePicksUpdateResponseSchema, ExcludeMenuRequestSchema, type ExcludeMenuUpdateResponse, ExcludeMenuUpdateResponseSchema, type FinalState, FinalStateSchema, type InvitationRoomStage, InvitationRoomStageSchema, type LocationCandidate, type LocationCandidateAddUpdateResponse, LocationCandidateAddUpdateResponseSchema, LocationCandidateSchema, type LocationCandidateVoteUpdateResponse, LocationCandidateVoteUpdateResponseSchema, type LocationId, LocationIdSchema, type MatchingNotification, type MatchingNotificationKind, MatchingNotificationKindSchema, MatchingNotificationSchema, type Menu, type MenuCode, MenuCodeSchema, type MenuPickUpdateResponse, MenuPickUpdateResponseSchema, MenuSchema, type Participant, ParticipantSchema, type PhaseDataBroadcast, PhaseDataBroadcastSchema, PickDateRequestSchema, PickMenuRequestSchema, PickRestaurantRequestSchema, PickTimesRequestSchema, type ReadyStateChanged, ReadyStateChangedSchema, type ReadyStateRequest, ReadyStateRequestSchema, type RecruitRoomStage, RecruitRoomStageSchema, type RestaurantPickUpdateResponse, RestaurantPickUpdateResponseSchema, type RoomAccessResponse, RoomAccessResponseSchema, type RoomAssignedResponse, RoomAssignedResponseSchema, type RoomClientToServerEvents, type RoomInitialState, RoomInitialStateSchema, type RoomServerToClientEvents, RoomSocketClientEventSchemas, type RoomSocketError, RoomSocketErrorSchema, RoomSocketServerEventSchemas, type RoomType, RoomTypeSchema, type ServerToClientEvents, type TimePicksUpdateResponse, TimePicksUpdateResponseSchema, VoteLocationRequestSchema };