@kimdaegyu/babmukdang-shared 1.0.6 → 1.1.0

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 (106) hide show
  1. package/dist/chunk-2GRWCRTV.js +328 -0
  2. package/dist/chunk-2SJCUQNN.js +40 -0
  3. package/dist/chunk-34EKPNPX.js +0 -0
  4. package/dist/chunk-35QGRA2X.js +0 -0
  5. package/dist/chunk-3YMV26OY.js +0 -0
  6. package/dist/chunk-4DAOP35P.js +74 -0
  7. package/dist/chunk-6NZPEF4K.js +34 -0
  8. package/dist/chunk-7MGHUZXI.js +25 -0
  9. package/dist/chunk-BVTYAILQ.js +0 -0
  10. package/dist/chunk-EJKRR2MZ.js +184 -0
  11. package/dist/chunk-F24BT6H4.js +23 -0
  12. package/dist/chunk-FCE6KXNO.js +30 -0
  13. package/dist/chunk-HRM3FQPL.js +12 -0
  14. package/dist/chunk-IJMADVK5.js +27 -0
  15. package/dist/chunk-IYCA6KHR.js +0 -0
  16. package/dist/chunk-JCN37ARR.js +52 -0
  17. package/dist/chunk-JXYRJKRV.js +0 -0
  18. package/dist/chunk-LCMNVWSP.js +0 -0
  19. package/dist/chunk-MP7TEKEI.js +72 -0
  20. package/dist/chunk-NCVWB52E.js +0 -0
  21. package/dist/chunk-NW5O4R7M.js +37 -0
  22. package/dist/chunk-O6DYRCFN.js +0 -0
  23. package/dist/chunk-PDGMGLYH.js +0 -0
  24. package/dist/chunk-PFSZSKD5.js +0 -0
  25. package/dist/chunk-TA4BB3UC.js +0 -0
  26. package/dist/chunk-UFVPFUMI.js +35 -0
  27. package/dist/chunk-UN7KYFMV.js +0 -0
  28. package/dist/chunk-UXA4FHST.js +19 -0
  29. package/dist/chunk-WNY6POLW.js +0 -0
  30. package/dist/chunk-YVACD5IG.js +127 -0
  31. package/dist/chunk-Z2UFF3MA.js +212 -0
  32. package/dist/chunk-ZNAAA53X.js +45 -0
  33. package/dist/chunk-ZSZ3ETY7.js +32 -0
  34. package/dist/domain/article/index.cjs +250 -0
  35. package/dist/domain/article/index.d.cts +1026 -0
  36. package/dist/domain/article/index.d.ts +1026 -0
  37. package/dist/domain/article/index.js +32 -0
  38. package/dist/domain/auth/index.cjs +135 -0
  39. package/dist/domain/auth/index.d.cts +73 -0
  40. package/dist/domain/auth/index.d.ts +73 -0
  41. package/dist/domain/auth/index.js +17 -0
  42. package/dist/domain/challenge/index.cjs +65 -0
  43. package/dist/domain/challenge/index.d.cts +104 -0
  44. package/dist/domain/challenge/index.d.ts +104 -0
  45. package/dist/domain/challenge/index.js +18 -0
  46. package/dist/domain/common/index.cjs +769 -0
  47. package/dist/domain/common/index.d.cts +2576 -0
  48. package/dist/domain/common/index.d.ts +2576 -0
  49. package/dist/domain/common/index.js +107 -0
  50. package/dist/domain/coupon/index.cjs +74 -0
  51. package/dist/domain/coupon/index.d.cts +38 -0
  52. package/dist/domain/coupon/index.d.ts +38 -0
  53. package/dist/domain/coupon/index.js +14 -0
  54. package/dist/domain/friend/index.cjs +152 -0
  55. package/dist/domain/friend/index.d.cts +148 -0
  56. package/dist/domain/friend/index.d.ts +148 -0
  57. package/dist/domain/friend/index.js +25 -0
  58. package/dist/domain/index.cjs +997 -0
  59. package/dist/domain/index.d.cts +17 -0
  60. package/dist/domain/index.d.ts +17 -0
  61. package/dist/domain/index.js +334 -0
  62. package/dist/domain/invitation/index.cjs +104 -0
  63. package/dist/domain/invitation/index.d.cts +67 -0
  64. package/dist/domain/invitation/index.d.ts +67 -0
  65. package/dist/domain/invitation/index.js +17 -0
  66. package/dist/domain/meal/index.cjs +59 -0
  67. package/dist/domain/meal/index.d.cts +38 -0
  68. package/dist/domain/meal/index.d.ts +38 -0
  69. package/dist/domain/meal/index.js +15 -0
  70. package/dist/domain/member/index.cjs +127 -0
  71. package/dist/domain/member/index.d.cts +225 -0
  72. package/dist/domain/member/index.d.ts +225 -0
  73. package/dist/domain/member/index.js +30 -0
  74. package/dist/domain/plan/index.cjs +269 -0
  75. package/dist/domain/plan/index.d.cts +189 -0
  76. package/dist/domain/plan/index.d.ts +189 -0
  77. package/dist/domain/plan/index.js +19 -0
  78. package/dist/domain/preference/index.cjs +69 -0
  79. package/dist/domain/preference/index.d.cts +31 -0
  80. package/dist/domain/preference/index.d.ts +31 -0
  81. package/dist/domain/preference/index.js +12 -0
  82. package/dist/domain/recruit/index.cjs +138 -0
  83. package/dist/domain/recruit/index.d.cts +130 -0
  84. package/dist/domain/recruit/index.d.ts +130 -0
  85. package/dist/domain/recruit/index.js +19 -0
  86. package/dist/domain/referral/index.cjs +78 -0
  87. package/dist/domain/referral/index.d.cts +51 -0
  88. package/dist/domain/referral/index.d.ts +51 -0
  89. package/dist/domain/referral/index.js +14 -0
  90. package/dist/domain/restaurant/index.cjs +79 -0
  91. package/dist/domain/restaurant/index.d.cts +85 -0
  92. package/dist/domain/restaurant/index.d.ts +85 -0
  93. package/dist/domain/restaurant/index.js +11 -0
  94. package/dist/domain/room/index.cjs +332 -0
  95. package/dist/domain/room/index.d.cts +1482 -0
  96. package/dist/domain/room/index.d.ts +1482 -0
  97. package/dist/domain/room/index.js +74 -0
  98. package/dist/id-B-8M90Ef.d.cts +43 -0
  99. package/dist/id-B-8M90Ef.d.ts +43 -0
  100. package/dist/index-BuInbhtG.d.cts +305 -0
  101. package/dist/index-CKRUOupn.d.ts +305 -0
  102. package/dist/index.cjs +845 -21
  103. package/dist/index.d.cts +113 -569
  104. package/dist/index.d.ts +113 -569
  105. package/dist/index.js +50 -30
  106. package/package.json +50 -39
@@ -0,0 +1,1482 @@
1
+ import { z } from 'zod';
2
+
3
+ declare const MenuCodeSchema: z.ZodBranded<z.ZodString, "MenuCode">;
4
+ declare const LocationIdSchema: z.ZodBranded<z.ZodString, "LocationId">;
5
+ declare const MenuSchema: z.ZodObject<{
6
+ code: z.ZodBranded<z.ZodString, "MenuCode">;
7
+ label: z.ZodString;
8
+ }, "strip", z.ZodTypeAny, {
9
+ code: string & z.BRAND<"MenuCode">;
10
+ label: string;
11
+ }, {
12
+ code: string;
13
+ label: string;
14
+ }>;
15
+ declare const LocationCandidateSchema: z.ZodObject<{
16
+ locationId: z.ZodBranded<z.ZodString, "LocationId">;
17
+ placeName: z.ZodString;
18
+ lat: z.ZodNumber;
19
+ lng: z.ZodNumber;
20
+ address: z.ZodString;
21
+ }, "strip", z.ZodTypeAny, {
22
+ placeName: string;
23
+ lat: number;
24
+ lng: number;
25
+ locationId: string & z.BRAND<"LocationId">;
26
+ address: string;
27
+ }, {
28
+ placeName: string;
29
+ lat: number;
30
+ lng: number;
31
+ locationId: string;
32
+ address: string;
33
+ }>;
34
+ declare const ParticipantSchema: z.ZodObject<Pick<{
35
+ memberId: z.ZodBranded<z.ZodNumber, "MemberId">;
36
+ username: z.ZodString;
37
+ profileImageUrl: z.ZodNullable<z.ZodString>;
38
+ }, "memberId" | "username" | "profileImageUrl"> & {
39
+ ready: z.ZodBoolean;
40
+ }, "strip", z.ZodTypeAny, {
41
+ memberId: number & z.BRAND<"MemberId">;
42
+ username: string;
43
+ profileImageUrl: string | null;
44
+ ready: boolean;
45
+ }, {
46
+ memberId: number;
47
+ username: string;
48
+ profileImageUrl: string | null;
49
+ ready: boolean;
50
+ }>;
51
+ declare const RecruitRoomStageSchema: z.ZodEnum<["waiting", "location", "location-vote", "exclude-menu", "menu", "restaurant", "finish"]>;
52
+ declare const InvitationRoomStageSchema: z.ZodEnum<["waiting", "date", "time", "location", "location-vote", "exclude-menu", "menu", "restaurant", "finish"]>;
53
+ declare const ReadyStateRequestSchema: z.ZodObject<{
54
+ isReady: z.ZodBoolean;
55
+ }, "strip", z.ZodTypeAny, {
56
+ isReady: boolean;
57
+ }, {
58
+ isReady: boolean;
59
+ }>;
60
+ declare const ChatMessageRequestSchema: z.ZodObject<{
61
+ message: z.ZodString;
62
+ }, "strip", z.ZodTypeAny, {
63
+ message: string;
64
+ }, {
65
+ message: string;
66
+ }>;
67
+ declare const AddLocationCandidateRequestSchema: z.ZodObject<{
68
+ locationId: z.ZodBranded<z.ZodString, "LocationId">;
69
+ placeName: z.ZodString;
70
+ lat: z.ZodNumber;
71
+ lng: z.ZodNumber;
72
+ address: z.ZodString;
73
+ }, "strip", z.ZodTypeAny, {
74
+ placeName: string;
75
+ lat: number;
76
+ lng: number;
77
+ locationId: string & z.BRAND<"LocationId">;
78
+ address: string;
79
+ }, {
80
+ placeName: string;
81
+ lat: number;
82
+ lng: number;
83
+ locationId: string;
84
+ address: string;
85
+ }>;
86
+ declare const VoteLocationRequestSchema: z.ZodObject<{
87
+ locationId: z.ZodBranded<z.ZodString, "LocationId">;
88
+ }, "strip", z.ZodTypeAny, {
89
+ locationId: string & z.BRAND<"LocationId">;
90
+ }, {
91
+ locationId: string;
92
+ }>;
93
+ declare const ExcludeMenuRequestSchema: z.ZodObject<{
94
+ menu: z.ZodObject<{
95
+ code: z.ZodBranded<z.ZodString, "MenuCode">;
96
+ label: z.ZodString;
97
+ }, "strip", z.ZodTypeAny, {
98
+ code: string & z.BRAND<"MenuCode">;
99
+ label: string;
100
+ }, {
101
+ code: string;
102
+ label: string;
103
+ }>;
104
+ }, "strip", z.ZodTypeAny, {
105
+ menu: {
106
+ code: string & z.BRAND<"MenuCode">;
107
+ label: string;
108
+ };
109
+ }, {
110
+ menu: {
111
+ code: string;
112
+ label: string;
113
+ };
114
+ }>;
115
+ declare const PickMenuRequestSchema: z.ZodObject<{
116
+ menuCode: z.ZodBranded<z.ZodString, "MenuCode">;
117
+ }, "strip", z.ZodTypeAny, {
118
+ menuCode: string & z.BRAND<"MenuCode">;
119
+ }, {
120
+ menuCode: string;
121
+ }>;
122
+ declare const PickRestaurantRequestSchema: z.ZodObject<{
123
+ restaurantId: z.ZodBranded<z.ZodString, "RestaurantId">;
124
+ }, "strip", z.ZodTypeAny, {
125
+ restaurantId: string & z.BRAND<"RestaurantId">;
126
+ }, {
127
+ restaurantId: string;
128
+ }>;
129
+ declare const PickTimesRequestSchema: z.ZodObject<{
130
+ times: z.ZodArray<z.ZodString, "many">;
131
+ }, "strip", z.ZodTypeAny, {
132
+ times: string[];
133
+ }, {
134
+ times: string[];
135
+ }>;
136
+ declare const PickDateRequestSchema: z.ZodObject<{
137
+ dates: z.ZodArray<z.ZodString, "many">;
138
+ }, "strip", z.ZodTypeAny, {
139
+ dates: string[];
140
+ }, {
141
+ dates: string[];
142
+ }>;
143
+ declare const RoomAssignedResponseSchema: z.ZodObject<{
144
+ roomId: z.ZodBranded<z.ZodString, "RoomId">;
145
+ }, "strip", z.ZodTypeAny, {
146
+ roomId: string & z.BRAND<"RoomId">;
147
+ }, {
148
+ roomId: string;
149
+ }>;
150
+ declare const RoomSocketErrorSchema: z.ZodObject<{
151
+ code: z.ZodString;
152
+ message: z.ZodString;
153
+ }, "strip", z.ZodTypeAny, {
154
+ message: string;
155
+ code: string;
156
+ }, {
157
+ message: string;
158
+ code: string;
159
+ }>;
160
+ declare const ChatMessageResponseSchema: z.ZodObject<{
161
+ messageId: z.ZodString;
162
+ user: z.ZodObject<Pick<{
163
+ memberId: z.ZodBranded<z.ZodNumber, "MemberId">;
164
+ username: z.ZodString;
165
+ profileImageUrl: z.ZodNullable<z.ZodString>;
166
+ }, "memberId" | "username" | "profileImageUrl">, "strip", z.ZodTypeAny, {
167
+ memberId: number & z.BRAND<"MemberId">;
168
+ username: string;
169
+ profileImageUrl: string | null;
170
+ }, {
171
+ memberId: number;
172
+ username: string;
173
+ profileImageUrl: string | null;
174
+ }>;
175
+ message: z.ZodString;
176
+ createdAt: z.ZodString;
177
+ }, "strip", z.ZodTypeAny, {
178
+ message: string;
179
+ createdAt: string;
180
+ messageId: string;
181
+ user: {
182
+ memberId: number & z.BRAND<"MemberId">;
183
+ username: string;
184
+ profileImageUrl: string | null;
185
+ };
186
+ }, {
187
+ message: string;
188
+ createdAt: string;
189
+ messageId: string;
190
+ user: {
191
+ memberId: number;
192
+ username: string;
193
+ profileImageUrl: string | null;
194
+ };
195
+ }>;
196
+ declare const ReadyStateChangedSchema: z.ZodObject<{
197
+ readyCount: z.ZodNumber;
198
+ participantCount: z.ZodNumber;
199
+ }, "strip", z.ZodTypeAny, {
200
+ readyCount: number;
201
+ participantCount: number;
202
+ }, {
203
+ readyCount: number;
204
+ participantCount: number;
205
+ }>;
206
+ declare const FinalStateSchema: z.ZodObject<{
207
+ location: z.ZodOptional<z.ZodObject<{
208
+ locationId: z.ZodBranded<z.ZodString, "LocationId">;
209
+ placeName: z.ZodString;
210
+ lat: z.ZodNumber;
211
+ lng: z.ZodNumber;
212
+ address: z.ZodString;
213
+ }, "strip", z.ZodTypeAny, {
214
+ placeName: string;
215
+ lat: number;
216
+ lng: number;
217
+ locationId: string & z.BRAND<"LocationId">;
218
+ address: string;
219
+ }, {
220
+ placeName: string;
221
+ lat: number;
222
+ lng: number;
223
+ locationId: string;
224
+ address: string;
225
+ }>>;
226
+ excludeMenu: z.ZodOptional<z.ZodArray<z.ZodObject<{
227
+ code: z.ZodBranded<z.ZodString, "MenuCode">;
228
+ label: z.ZodString;
229
+ }, "strip", z.ZodTypeAny, {
230
+ code: string & z.BRAND<"MenuCode">;
231
+ label: string;
232
+ }, {
233
+ code: string;
234
+ label: string;
235
+ }>, "many">>;
236
+ menu: z.ZodOptional<z.ZodObject<{
237
+ code: z.ZodBranded<z.ZodString, "MenuCode">;
238
+ label: z.ZodString;
239
+ }, "strip", z.ZodTypeAny, {
240
+ code: string & z.BRAND<"MenuCode">;
241
+ label: string;
242
+ }, {
243
+ code: string;
244
+ label: string;
245
+ }>>;
246
+ restaurant: z.ZodOptional<z.ZodObject<{
247
+ restaurantId: z.ZodBranded<z.ZodString, "RestaurantId">;
248
+ placeName: z.ZodString;
249
+ categoryName: z.ZodString;
250
+ categoryGroupName: z.ZodString;
251
+ distance: z.ZodOptional<z.ZodString>;
252
+ roadAddressName: z.ZodString;
253
+ addressName: z.ZodString;
254
+ phone: z.ZodNullable<z.ZodString>;
255
+ placeUrl: z.ZodNullable<z.ZodString>;
256
+ lat: z.ZodNumber;
257
+ lng: z.ZodNumber;
258
+ }, "strip", z.ZodTypeAny, {
259
+ restaurantId: string & z.BRAND<"RestaurantId">;
260
+ placeName: string;
261
+ categoryName: string;
262
+ categoryGroupName: string;
263
+ roadAddressName: string;
264
+ addressName: string;
265
+ phone: string | null;
266
+ placeUrl: string | null;
267
+ lat: number;
268
+ lng: number;
269
+ distance?: string | undefined;
270
+ }, {
271
+ restaurantId: string;
272
+ placeName: string;
273
+ categoryName: string;
274
+ categoryGroupName: string;
275
+ roadAddressName: string;
276
+ addressName: string;
277
+ phone: string | null;
278
+ placeUrl: string | null;
279
+ lat: number;
280
+ lng: number;
281
+ distance?: string | undefined;
282
+ }>>;
283
+ time: z.ZodOptional<z.ZodString>;
284
+ date: z.ZodOptional<z.ZodString>;
285
+ }, "strip", z.ZodTypeAny, {
286
+ date?: string | undefined;
287
+ restaurant?: {
288
+ restaurantId: string & z.BRAND<"RestaurantId">;
289
+ placeName: string;
290
+ categoryName: string;
291
+ categoryGroupName: string;
292
+ roadAddressName: string;
293
+ addressName: string;
294
+ phone: string | null;
295
+ placeUrl: string | null;
296
+ lat: number;
297
+ lng: number;
298
+ distance?: string | undefined;
299
+ } | undefined;
300
+ location?: {
301
+ placeName: string;
302
+ lat: number;
303
+ lng: number;
304
+ locationId: string & z.BRAND<"LocationId">;
305
+ address: string;
306
+ } | undefined;
307
+ menu?: {
308
+ code: string & z.BRAND<"MenuCode">;
309
+ label: string;
310
+ } | undefined;
311
+ time?: string | undefined;
312
+ excludeMenu?: {
313
+ code: string & z.BRAND<"MenuCode">;
314
+ label: string;
315
+ }[] | undefined;
316
+ }, {
317
+ date?: string | undefined;
318
+ restaurant?: {
319
+ restaurantId: string;
320
+ placeName: string;
321
+ categoryName: string;
322
+ categoryGroupName: string;
323
+ roadAddressName: string;
324
+ addressName: string;
325
+ phone: string | null;
326
+ placeUrl: string | null;
327
+ lat: number;
328
+ lng: number;
329
+ distance?: string | undefined;
330
+ } | undefined;
331
+ location?: {
332
+ placeName: string;
333
+ lat: number;
334
+ lng: number;
335
+ locationId: string;
336
+ address: string;
337
+ } | undefined;
338
+ menu?: {
339
+ code: string;
340
+ label: string;
341
+ } | undefined;
342
+ time?: string | undefined;
343
+ excludeMenu?: {
344
+ code: string;
345
+ label: string;
346
+ }[] | undefined;
347
+ }>;
348
+ declare const RoomInitialStateSchema: z.ZodObject<{
349
+ participants: z.ZodArray<z.ZodObject<Pick<{
350
+ memberId: z.ZodBranded<z.ZodNumber, "MemberId">;
351
+ username: z.ZodString;
352
+ profileImageUrl: z.ZodNullable<z.ZodString>;
353
+ }, "memberId" | "username" | "profileImageUrl"> & {
354
+ ready: z.ZodBoolean;
355
+ }, "strip", z.ZodTypeAny, {
356
+ memberId: number & z.BRAND<"MemberId">;
357
+ username: string;
358
+ profileImageUrl: string | null;
359
+ ready: boolean;
360
+ }, {
361
+ memberId: number;
362
+ username: string;
363
+ profileImageUrl: string | null;
364
+ ready: boolean;
365
+ }>, "many">;
366
+ chat: z.ZodArray<z.ZodObject<{
367
+ messageId: z.ZodString;
368
+ user: z.ZodObject<Pick<{
369
+ memberId: z.ZodBranded<z.ZodNumber, "MemberId">;
370
+ username: z.ZodString;
371
+ profileImageUrl: z.ZodNullable<z.ZodString>;
372
+ }, "memberId" | "username" | "profileImageUrl">, "strip", z.ZodTypeAny, {
373
+ memberId: number & z.BRAND<"MemberId">;
374
+ username: string;
375
+ profileImageUrl: string | null;
376
+ }, {
377
+ memberId: number;
378
+ username: string;
379
+ profileImageUrl: string | null;
380
+ }>;
381
+ message: z.ZodString;
382
+ createdAt: z.ZodString;
383
+ }, "strip", z.ZodTypeAny, {
384
+ message: string;
385
+ createdAt: string;
386
+ messageId: string;
387
+ user: {
388
+ memberId: number & z.BRAND<"MemberId">;
389
+ username: string;
390
+ profileImageUrl: string | null;
391
+ };
392
+ }, {
393
+ message: string;
394
+ createdAt: string;
395
+ messageId: string;
396
+ user: {
397
+ memberId: number;
398
+ username: string;
399
+ profileImageUrl: string | null;
400
+ };
401
+ }>, "many">;
402
+ final: z.ZodObject<{
403
+ location: z.ZodOptional<z.ZodObject<{
404
+ locationId: z.ZodBranded<z.ZodString, "LocationId">;
405
+ placeName: z.ZodString;
406
+ lat: z.ZodNumber;
407
+ lng: z.ZodNumber;
408
+ address: z.ZodString;
409
+ }, "strip", z.ZodTypeAny, {
410
+ placeName: string;
411
+ lat: number;
412
+ lng: number;
413
+ locationId: string & z.BRAND<"LocationId">;
414
+ address: string;
415
+ }, {
416
+ placeName: string;
417
+ lat: number;
418
+ lng: number;
419
+ locationId: string;
420
+ address: string;
421
+ }>>;
422
+ excludeMenu: z.ZodOptional<z.ZodArray<z.ZodObject<{
423
+ code: z.ZodBranded<z.ZodString, "MenuCode">;
424
+ label: z.ZodString;
425
+ }, "strip", z.ZodTypeAny, {
426
+ code: string & z.BRAND<"MenuCode">;
427
+ label: string;
428
+ }, {
429
+ code: string;
430
+ label: string;
431
+ }>, "many">>;
432
+ menu: z.ZodOptional<z.ZodObject<{
433
+ code: z.ZodBranded<z.ZodString, "MenuCode">;
434
+ label: z.ZodString;
435
+ }, "strip", z.ZodTypeAny, {
436
+ code: string & z.BRAND<"MenuCode">;
437
+ label: string;
438
+ }, {
439
+ code: string;
440
+ label: string;
441
+ }>>;
442
+ restaurant: z.ZodOptional<z.ZodObject<{
443
+ restaurantId: z.ZodBranded<z.ZodString, "RestaurantId">;
444
+ placeName: z.ZodString;
445
+ categoryName: z.ZodString;
446
+ categoryGroupName: z.ZodString;
447
+ distance: z.ZodOptional<z.ZodString>;
448
+ roadAddressName: z.ZodString;
449
+ addressName: z.ZodString;
450
+ phone: z.ZodNullable<z.ZodString>;
451
+ placeUrl: z.ZodNullable<z.ZodString>;
452
+ lat: z.ZodNumber;
453
+ lng: z.ZodNumber;
454
+ }, "strip", z.ZodTypeAny, {
455
+ restaurantId: string & z.BRAND<"RestaurantId">;
456
+ placeName: string;
457
+ categoryName: string;
458
+ categoryGroupName: string;
459
+ roadAddressName: string;
460
+ addressName: string;
461
+ phone: string | null;
462
+ placeUrl: string | null;
463
+ lat: number;
464
+ lng: number;
465
+ distance?: string | undefined;
466
+ }, {
467
+ restaurantId: string;
468
+ placeName: string;
469
+ categoryName: string;
470
+ categoryGroupName: string;
471
+ roadAddressName: string;
472
+ addressName: string;
473
+ phone: string | null;
474
+ placeUrl: string | null;
475
+ lat: number;
476
+ lng: number;
477
+ distance?: string | undefined;
478
+ }>>;
479
+ time: z.ZodOptional<z.ZodString>;
480
+ date: z.ZodOptional<z.ZodString>;
481
+ }, "strip", z.ZodTypeAny, {
482
+ date?: string | undefined;
483
+ restaurant?: {
484
+ restaurantId: string & z.BRAND<"RestaurantId">;
485
+ placeName: string;
486
+ categoryName: string;
487
+ categoryGroupName: string;
488
+ roadAddressName: string;
489
+ addressName: string;
490
+ phone: string | null;
491
+ placeUrl: string | null;
492
+ lat: number;
493
+ lng: number;
494
+ distance?: string | undefined;
495
+ } | undefined;
496
+ location?: {
497
+ placeName: string;
498
+ lat: number;
499
+ lng: number;
500
+ locationId: string & z.BRAND<"LocationId">;
501
+ address: string;
502
+ } | undefined;
503
+ menu?: {
504
+ code: string & z.BRAND<"MenuCode">;
505
+ label: string;
506
+ } | undefined;
507
+ time?: string | undefined;
508
+ excludeMenu?: {
509
+ code: string & z.BRAND<"MenuCode">;
510
+ label: string;
511
+ }[] | undefined;
512
+ }, {
513
+ date?: string | undefined;
514
+ restaurant?: {
515
+ restaurantId: string;
516
+ placeName: string;
517
+ categoryName: string;
518
+ categoryGroupName: string;
519
+ roadAddressName: string;
520
+ addressName: string;
521
+ phone: string | null;
522
+ placeUrl: string | null;
523
+ lat: number;
524
+ lng: number;
525
+ distance?: string | undefined;
526
+ } | undefined;
527
+ location?: {
528
+ placeName: string;
529
+ lat: number;
530
+ lng: number;
531
+ locationId: string;
532
+ address: string;
533
+ } | undefined;
534
+ menu?: {
535
+ code: string;
536
+ label: string;
537
+ } | undefined;
538
+ time?: string | undefined;
539
+ excludeMenu?: {
540
+ code: string;
541
+ label: string;
542
+ }[] | undefined;
543
+ }>;
544
+ }, "strip", z.ZodTypeAny, {
545
+ participants: {
546
+ memberId: number & z.BRAND<"MemberId">;
547
+ username: string;
548
+ profileImageUrl: string | null;
549
+ ready: boolean;
550
+ }[];
551
+ chat: {
552
+ message: string;
553
+ createdAt: string;
554
+ messageId: string;
555
+ user: {
556
+ memberId: number & z.BRAND<"MemberId">;
557
+ username: string;
558
+ profileImageUrl: string | null;
559
+ };
560
+ }[];
561
+ final: {
562
+ date?: string | undefined;
563
+ restaurant?: {
564
+ restaurantId: string & z.BRAND<"RestaurantId">;
565
+ placeName: string;
566
+ categoryName: string;
567
+ categoryGroupName: string;
568
+ roadAddressName: string;
569
+ addressName: string;
570
+ phone: string | null;
571
+ placeUrl: string | null;
572
+ lat: number;
573
+ lng: number;
574
+ distance?: string | undefined;
575
+ } | undefined;
576
+ location?: {
577
+ placeName: string;
578
+ lat: number;
579
+ lng: number;
580
+ locationId: string & z.BRAND<"LocationId">;
581
+ address: string;
582
+ } | undefined;
583
+ menu?: {
584
+ code: string & z.BRAND<"MenuCode">;
585
+ label: string;
586
+ } | undefined;
587
+ time?: string | undefined;
588
+ excludeMenu?: {
589
+ code: string & z.BRAND<"MenuCode">;
590
+ label: string;
591
+ }[] | undefined;
592
+ };
593
+ }, {
594
+ participants: {
595
+ memberId: number;
596
+ username: string;
597
+ profileImageUrl: string | null;
598
+ ready: boolean;
599
+ }[];
600
+ chat: {
601
+ message: string;
602
+ createdAt: string;
603
+ messageId: string;
604
+ user: {
605
+ memberId: number;
606
+ username: string;
607
+ profileImageUrl: string | null;
608
+ };
609
+ }[];
610
+ final: {
611
+ date?: string | undefined;
612
+ restaurant?: {
613
+ restaurantId: string;
614
+ placeName: string;
615
+ categoryName: string;
616
+ categoryGroupName: string;
617
+ roadAddressName: string;
618
+ addressName: string;
619
+ phone: string | null;
620
+ placeUrl: string | null;
621
+ lat: number;
622
+ lng: number;
623
+ distance?: string | undefined;
624
+ } | undefined;
625
+ location?: {
626
+ placeName: string;
627
+ lat: number;
628
+ lng: number;
629
+ locationId: string;
630
+ address: string;
631
+ } | undefined;
632
+ menu?: {
633
+ code: string;
634
+ label: string;
635
+ } | undefined;
636
+ time?: string | undefined;
637
+ excludeMenu?: {
638
+ code: string;
639
+ label: string;
640
+ }[] | undefined;
641
+ };
642
+ }>;
643
+ declare const PhaseDataBroadcastSchema: z.ZodObject<{
644
+ phase: 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"]>]>;
645
+ data: z.ZodUnknown;
646
+ }, "strip", z.ZodTypeAny, {
647
+ phase: "date" | "restaurant" | "waiting" | "location" | "location-vote" | "exclude-menu" | "menu" | "finish" | "time";
648
+ data?: unknown;
649
+ }, {
650
+ phase: "date" | "restaurant" | "waiting" | "location" | "location-vote" | "exclude-menu" | "menu" | "finish" | "time";
651
+ data?: unknown;
652
+ }>;
653
+ declare const TimePicksUpdateResponseSchema: z.ZodArray<z.ZodObject<{
654
+ memberId: z.ZodBranded<z.ZodNumber, "MemberId">;
655
+ times: z.ZodArray<z.ZodString, "many">;
656
+ }, "strip", z.ZodTypeAny, {
657
+ memberId: number & z.BRAND<"MemberId">;
658
+ times: string[];
659
+ }, {
660
+ memberId: number;
661
+ times: string[];
662
+ }>, "many">;
663
+ declare const DatePicksUpdateResponseSchema: z.ZodArray<z.ZodObject<{
664
+ memberId: z.ZodBranded<z.ZodNumber, "MemberId">;
665
+ dates: z.ZodArray<z.ZodString, "many">;
666
+ }, "strip", z.ZodTypeAny, {
667
+ memberId: number & z.BRAND<"MemberId">;
668
+ dates: string[];
669
+ }, {
670
+ memberId: number;
671
+ dates: string[];
672
+ }>, "many">;
673
+ declare const LocationCandidateAddUpdateResponseSchema: z.ZodArray<z.ZodObject<{
674
+ locationId: z.ZodBranded<z.ZodString, "LocationId">;
675
+ placeName: z.ZodString;
676
+ lat: z.ZodNumber;
677
+ lng: z.ZodNumber;
678
+ address: z.ZodString;
679
+ } & {
680
+ authorMemberId: z.ZodBranded<z.ZodNumber, "MemberId">;
681
+ }, "strip", z.ZodTypeAny, {
682
+ placeName: string;
683
+ lat: number;
684
+ lng: number;
685
+ locationId: string & z.BRAND<"LocationId">;
686
+ address: string;
687
+ authorMemberId: number & z.BRAND<"MemberId">;
688
+ }, {
689
+ placeName: string;
690
+ lat: number;
691
+ lng: number;
692
+ locationId: string;
693
+ address: string;
694
+ authorMemberId: number;
695
+ }>, "many">;
696
+ declare const LocationCandidateVoteUpdateResponseSchema: z.ZodArray<z.ZodObject<{
697
+ locationId: z.ZodBranded<z.ZodString, "LocationId">;
698
+ votes: z.ZodArray<z.ZodBranded<z.ZodNumber, "MemberId">, "many">;
699
+ }, "strip", z.ZodTypeAny, {
700
+ locationId: string & z.BRAND<"LocationId">;
701
+ votes: (number & z.BRAND<"MemberId">)[];
702
+ }, {
703
+ locationId: string;
704
+ votes: number[];
705
+ }>, "many">;
706
+ declare const ExcludeMenuUpdateResponseSchema: z.ZodArray<z.ZodObject<{
707
+ memberId: z.ZodBranded<z.ZodNumber, "MemberId">;
708
+ exclusions: z.ZodArray<z.ZodObject<{
709
+ code: z.ZodBranded<z.ZodString, "MenuCode">;
710
+ label: z.ZodString;
711
+ }, "strip", z.ZodTypeAny, {
712
+ code: string & z.BRAND<"MenuCode">;
713
+ label: string;
714
+ }, {
715
+ code: string;
716
+ label: string;
717
+ }>, "many">;
718
+ }, "strip", z.ZodTypeAny, {
719
+ memberId: number & z.BRAND<"MemberId">;
720
+ exclusions: {
721
+ code: string & z.BRAND<"MenuCode">;
722
+ label: string;
723
+ }[];
724
+ }, {
725
+ memberId: number;
726
+ exclusions: {
727
+ code: string;
728
+ label: string;
729
+ }[];
730
+ }>, "many">;
731
+ declare const MenuPickUpdateResponseSchema: z.ZodArray<z.ZodObject<{
732
+ menuCode: z.ZodBranded<z.ZodString, "MenuCode">;
733
+ selectedMembers: z.ZodArray<z.ZodBranded<z.ZodNumber, "MemberId">, "many">;
734
+ }, "strip", z.ZodTypeAny, {
735
+ menuCode: string & z.BRAND<"MenuCode">;
736
+ selectedMembers: (number & z.BRAND<"MemberId">)[];
737
+ }, {
738
+ menuCode: string;
739
+ selectedMembers: number[];
740
+ }>, "many">;
741
+ declare const RestaurantPickUpdateResponseSchema: z.ZodArray<z.ZodObject<{
742
+ restaurantId: z.ZodBranded<z.ZodString, "RestaurantId">;
743
+ selectedMembers: z.ZodArray<z.ZodBranded<z.ZodNumber, "MemberId">, "many">;
744
+ }, "strip", z.ZodTypeAny, {
745
+ restaurantId: string & z.BRAND<"RestaurantId">;
746
+ selectedMembers: (number & z.BRAND<"MemberId">)[];
747
+ }, {
748
+ restaurantId: string;
749
+ selectedMembers: number[];
750
+ }>, "many">;
751
+ declare const RoomSocketClientEventSchemas: {
752
+ readonly "ready-state": z.ZodObject<{
753
+ isReady: z.ZodBoolean;
754
+ }, "strip", z.ZodTypeAny, {
755
+ isReady: boolean;
756
+ }, {
757
+ isReady: boolean;
758
+ }>;
759
+ readonly "chat-message": z.ZodObject<{
760
+ message: z.ZodString;
761
+ }, "strip", z.ZodTypeAny, {
762
+ message: string;
763
+ }, {
764
+ message: string;
765
+ }>;
766
+ readonly "add-location-candidate": z.ZodObject<{
767
+ locationId: z.ZodBranded<z.ZodString, "LocationId">;
768
+ placeName: z.ZodString;
769
+ lat: z.ZodNumber;
770
+ lng: z.ZodNumber;
771
+ address: z.ZodString;
772
+ }, "strip", z.ZodTypeAny, {
773
+ placeName: string;
774
+ lat: number;
775
+ lng: number;
776
+ locationId: string & z.BRAND<"LocationId">;
777
+ address: string;
778
+ }, {
779
+ placeName: string;
780
+ lat: number;
781
+ lng: number;
782
+ locationId: string;
783
+ address: string;
784
+ }>;
785
+ readonly "vote-location": z.ZodObject<{
786
+ locationId: z.ZodBranded<z.ZodString, "LocationId">;
787
+ }, "strip", z.ZodTypeAny, {
788
+ locationId: string & z.BRAND<"LocationId">;
789
+ }, {
790
+ locationId: string;
791
+ }>;
792
+ readonly "exclude-menu": z.ZodObject<{
793
+ menu: z.ZodObject<{
794
+ code: z.ZodBranded<z.ZodString, "MenuCode">;
795
+ label: z.ZodString;
796
+ }, "strip", z.ZodTypeAny, {
797
+ code: string & z.BRAND<"MenuCode">;
798
+ label: string;
799
+ }, {
800
+ code: string;
801
+ label: string;
802
+ }>;
803
+ }, "strip", z.ZodTypeAny, {
804
+ menu: {
805
+ code: string & z.BRAND<"MenuCode">;
806
+ label: string;
807
+ };
808
+ }, {
809
+ menu: {
810
+ code: string;
811
+ label: string;
812
+ };
813
+ }>;
814
+ readonly "pick-menu": z.ZodObject<{
815
+ menuCode: z.ZodBranded<z.ZodString, "MenuCode">;
816
+ }, "strip", z.ZodTypeAny, {
817
+ menuCode: string & z.BRAND<"MenuCode">;
818
+ }, {
819
+ menuCode: string;
820
+ }>;
821
+ readonly "pick-restaurant": z.ZodObject<{
822
+ restaurantId: z.ZodBranded<z.ZodString, "RestaurantId">;
823
+ }, "strip", z.ZodTypeAny, {
824
+ restaurantId: string & z.BRAND<"RestaurantId">;
825
+ }, {
826
+ restaurantId: string;
827
+ }>;
828
+ readonly "pick-times": z.ZodObject<{
829
+ times: z.ZodArray<z.ZodString, "many">;
830
+ }, "strip", z.ZodTypeAny, {
831
+ times: string[];
832
+ }, {
833
+ times: string[];
834
+ }>;
835
+ readonly "pick-date": z.ZodObject<{
836
+ dates: z.ZodArray<z.ZodString, "many">;
837
+ }, "strip", z.ZodTypeAny, {
838
+ dates: string[];
839
+ }, {
840
+ dates: string[];
841
+ }>;
842
+ };
843
+ declare const RoomSocketServerEventSchemas: {
844
+ readonly "room-assigned": z.ZodObject<{
845
+ roomId: z.ZodBranded<z.ZodString, "RoomId">;
846
+ }, "strip", z.ZodTypeAny, {
847
+ roomId: string & z.BRAND<"RoomId">;
848
+ }, {
849
+ roomId: string;
850
+ }>;
851
+ readonly "stage-changed": z.ZodObject<{
852
+ phase: 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"]>]>;
853
+ data: z.ZodUnknown;
854
+ }, "strip", z.ZodTypeAny, {
855
+ phase: "date" | "restaurant" | "waiting" | "location" | "location-vote" | "exclude-menu" | "menu" | "finish" | "time";
856
+ data?: unknown;
857
+ }, {
858
+ phase: "date" | "restaurant" | "waiting" | "location" | "location-vote" | "exclude-menu" | "menu" | "finish" | "time";
859
+ data?: unknown;
860
+ }>;
861
+ readonly "chat-message": z.ZodObject<{
862
+ messageId: z.ZodString;
863
+ user: z.ZodObject<Pick<{
864
+ memberId: z.ZodBranded<z.ZodNumber, "MemberId">;
865
+ username: z.ZodString;
866
+ profileImageUrl: z.ZodNullable<z.ZodString>;
867
+ }, "memberId" | "username" | "profileImageUrl">, "strip", z.ZodTypeAny, {
868
+ memberId: number & z.BRAND<"MemberId">;
869
+ username: string;
870
+ profileImageUrl: string | null;
871
+ }, {
872
+ memberId: number;
873
+ username: string;
874
+ profileImageUrl: string | null;
875
+ }>;
876
+ message: z.ZodString;
877
+ createdAt: z.ZodString;
878
+ }, "strip", z.ZodTypeAny, {
879
+ message: string;
880
+ createdAt: string;
881
+ messageId: string;
882
+ user: {
883
+ memberId: number & z.BRAND<"MemberId">;
884
+ username: string;
885
+ profileImageUrl: string | null;
886
+ };
887
+ }, {
888
+ message: string;
889
+ createdAt: string;
890
+ messageId: string;
891
+ user: {
892
+ memberId: number;
893
+ username: string;
894
+ profileImageUrl: string | null;
895
+ };
896
+ }>;
897
+ readonly "room-error": z.ZodObject<{
898
+ code: z.ZodString;
899
+ message: z.ZodString;
900
+ }, "strip", z.ZodTypeAny, {
901
+ message: string;
902
+ code: string;
903
+ }, {
904
+ message: string;
905
+ code: string;
906
+ }>;
907
+ readonly "ready-state-changed": z.ZodObject<{
908
+ readyCount: z.ZodNumber;
909
+ participantCount: z.ZodNumber;
910
+ }, "strip", z.ZodTypeAny, {
911
+ readyCount: number;
912
+ participantCount: number;
913
+ }, {
914
+ readyCount: number;
915
+ participantCount: number;
916
+ }>;
917
+ readonly "join-room": z.ZodObject<{
918
+ participants: z.ZodArray<z.ZodObject<Pick<{
919
+ memberId: z.ZodBranded<z.ZodNumber, "MemberId">;
920
+ username: z.ZodString;
921
+ profileImageUrl: z.ZodNullable<z.ZodString>;
922
+ }, "memberId" | "username" | "profileImageUrl"> & {
923
+ ready: z.ZodBoolean;
924
+ }, "strip", z.ZodTypeAny, {
925
+ memberId: number & z.BRAND<"MemberId">;
926
+ username: string;
927
+ profileImageUrl: string | null;
928
+ ready: boolean;
929
+ }, {
930
+ memberId: number;
931
+ username: string;
932
+ profileImageUrl: string | null;
933
+ ready: boolean;
934
+ }>, "many">;
935
+ chat: z.ZodArray<z.ZodObject<{
936
+ messageId: z.ZodString;
937
+ user: z.ZodObject<Pick<{
938
+ memberId: z.ZodBranded<z.ZodNumber, "MemberId">;
939
+ username: z.ZodString;
940
+ profileImageUrl: z.ZodNullable<z.ZodString>;
941
+ }, "memberId" | "username" | "profileImageUrl">, "strip", z.ZodTypeAny, {
942
+ memberId: number & z.BRAND<"MemberId">;
943
+ username: string;
944
+ profileImageUrl: string | null;
945
+ }, {
946
+ memberId: number;
947
+ username: string;
948
+ profileImageUrl: string | null;
949
+ }>;
950
+ message: z.ZodString;
951
+ createdAt: z.ZodString;
952
+ }, "strip", z.ZodTypeAny, {
953
+ message: string;
954
+ createdAt: string;
955
+ messageId: string;
956
+ user: {
957
+ memberId: number & z.BRAND<"MemberId">;
958
+ username: string;
959
+ profileImageUrl: string | null;
960
+ };
961
+ }, {
962
+ message: string;
963
+ createdAt: string;
964
+ messageId: string;
965
+ user: {
966
+ memberId: number;
967
+ username: string;
968
+ profileImageUrl: string | null;
969
+ };
970
+ }>, "many">;
971
+ final: z.ZodObject<{
972
+ location: z.ZodOptional<z.ZodObject<{
973
+ locationId: z.ZodBranded<z.ZodString, "LocationId">;
974
+ placeName: z.ZodString;
975
+ lat: z.ZodNumber;
976
+ lng: z.ZodNumber;
977
+ address: z.ZodString;
978
+ }, "strip", z.ZodTypeAny, {
979
+ placeName: string;
980
+ lat: number;
981
+ lng: number;
982
+ locationId: string & z.BRAND<"LocationId">;
983
+ address: string;
984
+ }, {
985
+ placeName: string;
986
+ lat: number;
987
+ lng: number;
988
+ locationId: string;
989
+ address: string;
990
+ }>>;
991
+ excludeMenu: z.ZodOptional<z.ZodArray<z.ZodObject<{
992
+ code: z.ZodBranded<z.ZodString, "MenuCode">;
993
+ label: z.ZodString;
994
+ }, "strip", z.ZodTypeAny, {
995
+ code: string & z.BRAND<"MenuCode">;
996
+ label: string;
997
+ }, {
998
+ code: string;
999
+ label: string;
1000
+ }>, "many">>;
1001
+ menu: z.ZodOptional<z.ZodObject<{
1002
+ code: z.ZodBranded<z.ZodString, "MenuCode">;
1003
+ label: z.ZodString;
1004
+ }, "strip", z.ZodTypeAny, {
1005
+ code: string & z.BRAND<"MenuCode">;
1006
+ label: string;
1007
+ }, {
1008
+ code: string;
1009
+ label: string;
1010
+ }>>;
1011
+ restaurant: z.ZodOptional<z.ZodObject<{
1012
+ restaurantId: z.ZodBranded<z.ZodString, "RestaurantId">;
1013
+ placeName: z.ZodString;
1014
+ categoryName: z.ZodString;
1015
+ categoryGroupName: z.ZodString;
1016
+ distance: z.ZodOptional<z.ZodString>;
1017
+ roadAddressName: z.ZodString;
1018
+ addressName: z.ZodString;
1019
+ phone: z.ZodNullable<z.ZodString>;
1020
+ placeUrl: z.ZodNullable<z.ZodString>;
1021
+ lat: z.ZodNumber;
1022
+ lng: z.ZodNumber;
1023
+ }, "strip", z.ZodTypeAny, {
1024
+ restaurantId: string & z.BRAND<"RestaurantId">;
1025
+ placeName: string;
1026
+ categoryName: string;
1027
+ categoryGroupName: string;
1028
+ roadAddressName: string;
1029
+ addressName: string;
1030
+ phone: string | null;
1031
+ placeUrl: string | null;
1032
+ lat: number;
1033
+ lng: number;
1034
+ distance?: string | undefined;
1035
+ }, {
1036
+ restaurantId: string;
1037
+ placeName: string;
1038
+ categoryName: string;
1039
+ categoryGroupName: string;
1040
+ roadAddressName: string;
1041
+ addressName: string;
1042
+ phone: string | null;
1043
+ placeUrl: string | null;
1044
+ lat: number;
1045
+ lng: number;
1046
+ distance?: string | undefined;
1047
+ }>>;
1048
+ time: z.ZodOptional<z.ZodString>;
1049
+ date: z.ZodOptional<z.ZodString>;
1050
+ }, "strip", z.ZodTypeAny, {
1051
+ date?: string | undefined;
1052
+ restaurant?: {
1053
+ restaurantId: string & z.BRAND<"RestaurantId">;
1054
+ placeName: string;
1055
+ categoryName: string;
1056
+ categoryGroupName: string;
1057
+ roadAddressName: string;
1058
+ addressName: string;
1059
+ phone: string | null;
1060
+ placeUrl: string | null;
1061
+ lat: number;
1062
+ lng: number;
1063
+ distance?: string | undefined;
1064
+ } | undefined;
1065
+ location?: {
1066
+ placeName: string;
1067
+ lat: number;
1068
+ lng: number;
1069
+ locationId: string & z.BRAND<"LocationId">;
1070
+ address: string;
1071
+ } | undefined;
1072
+ menu?: {
1073
+ code: string & z.BRAND<"MenuCode">;
1074
+ label: string;
1075
+ } | undefined;
1076
+ time?: string | undefined;
1077
+ excludeMenu?: {
1078
+ code: string & z.BRAND<"MenuCode">;
1079
+ label: string;
1080
+ }[] | undefined;
1081
+ }, {
1082
+ date?: string | undefined;
1083
+ restaurant?: {
1084
+ restaurantId: string;
1085
+ placeName: string;
1086
+ categoryName: string;
1087
+ categoryGroupName: string;
1088
+ roadAddressName: string;
1089
+ addressName: string;
1090
+ phone: string | null;
1091
+ placeUrl: string | null;
1092
+ lat: number;
1093
+ lng: number;
1094
+ distance?: string | undefined;
1095
+ } | undefined;
1096
+ location?: {
1097
+ placeName: string;
1098
+ lat: number;
1099
+ lng: number;
1100
+ locationId: string;
1101
+ address: string;
1102
+ } | undefined;
1103
+ menu?: {
1104
+ code: string;
1105
+ label: string;
1106
+ } | undefined;
1107
+ time?: string | undefined;
1108
+ excludeMenu?: {
1109
+ code: string;
1110
+ label: string;
1111
+ }[] | undefined;
1112
+ }>;
1113
+ }, "strip", z.ZodTypeAny, {
1114
+ participants: {
1115
+ memberId: number & z.BRAND<"MemberId">;
1116
+ username: string;
1117
+ profileImageUrl: string | null;
1118
+ ready: boolean;
1119
+ }[];
1120
+ chat: {
1121
+ message: string;
1122
+ createdAt: string;
1123
+ messageId: string;
1124
+ user: {
1125
+ memberId: number & z.BRAND<"MemberId">;
1126
+ username: string;
1127
+ profileImageUrl: string | null;
1128
+ };
1129
+ }[];
1130
+ final: {
1131
+ date?: string | undefined;
1132
+ restaurant?: {
1133
+ restaurantId: string & z.BRAND<"RestaurantId">;
1134
+ placeName: string;
1135
+ categoryName: string;
1136
+ categoryGroupName: string;
1137
+ roadAddressName: string;
1138
+ addressName: string;
1139
+ phone: string | null;
1140
+ placeUrl: string | null;
1141
+ lat: number;
1142
+ lng: number;
1143
+ distance?: string | undefined;
1144
+ } | undefined;
1145
+ location?: {
1146
+ placeName: string;
1147
+ lat: number;
1148
+ lng: number;
1149
+ locationId: string & z.BRAND<"LocationId">;
1150
+ address: string;
1151
+ } | undefined;
1152
+ menu?: {
1153
+ code: string & z.BRAND<"MenuCode">;
1154
+ label: string;
1155
+ } | undefined;
1156
+ time?: string | undefined;
1157
+ excludeMenu?: {
1158
+ code: string & z.BRAND<"MenuCode">;
1159
+ label: string;
1160
+ }[] | undefined;
1161
+ };
1162
+ }, {
1163
+ participants: {
1164
+ memberId: number;
1165
+ username: string;
1166
+ profileImageUrl: string | null;
1167
+ ready: boolean;
1168
+ }[];
1169
+ chat: {
1170
+ message: string;
1171
+ createdAt: string;
1172
+ messageId: string;
1173
+ user: {
1174
+ memberId: number;
1175
+ username: string;
1176
+ profileImageUrl: string | null;
1177
+ };
1178
+ }[];
1179
+ final: {
1180
+ date?: string | undefined;
1181
+ restaurant?: {
1182
+ restaurantId: string;
1183
+ placeName: string;
1184
+ categoryName: string;
1185
+ categoryGroupName: string;
1186
+ roadAddressName: string;
1187
+ addressName: string;
1188
+ phone: string | null;
1189
+ placeUrl: string | null;
1190
+ lat: number;
1191
+ lng: number;
1192
+ distance?: string | undefined;
1193
+ } | undefined;
1194
+ location?: {
1195
+ placeName: string;
1196
+ lat: number;
1197
+ lng: number;
1198
+ locationId: string;
1199
+ address: string;
1200
+ } | undefined;
1201
+ menu?: {
1202
+ code: string;
1203
+ label: string;
1204
+ } | undefined;
1205
+ time?: string | undefined;
1206
+ excludeMenu?: {
1207
+ code: string;
1208
+ label: string;
1209
+ }[] | undefined;
1210
+ };
1211
+ }>;
1212
+ readonly "time-updated": z.ZodArray<z.ZodObject<{
1213
+ memberId: z.ZodBranded<z.ZodNumber, "MemberId">;
1214
+ times: z.ZodArray<z.ZodString, "many">;
1215
+ }, "strip", z.ZodTypeAny, {
1216
+ memberId: number & z.BRAND<"MemberId">;
1217
+ times: string[];
1218
+ }, {
1219
+ memberId: number;
1220
+ times: string[];
1221
+ }>, "many">;
1222
+ readonly "date-updated": z.ZodArray<z.ZodObject<{
1223
+ memberId: z.ZodBranded<z.ZodNumber, "MemberId">;
1224
+ dates: z.ZodArray<z.ZodString, "many">;
1225
+ }, "strip", z.ZodTypeAny, {
1226
+ memberId: number & z.BRAND<"MemberId">;
1227
+ dates: string[];
1228
+ }, {
1229
+ memberId: number;
1230
+ dates: string[];
1231
+ }>, "many">;
1232
+ readonly "location-add-updated": z.ZodArray<z.ZodObject<{
1233
+ locationId: z.ZodBranded<z.ZodString, "LocationId">;
1234
+ placeName: z.ZodString;
1235
+ lat: z.ZodNumber;
1236
+ lng: z.ZodNumber;
1237
+ address: z.ZodString;
1238
+ } & {
1239
+ authorMemberId: z.ZodBranded<z.ZodNumber, "MemberId">;
1240
+ }, "strip", z.ZodTypeAny, {
1241
+ placeName: string;
1242
+ lat: number;
1243
+ lng: number;
1244
+ locationId: string & z.BRAND<"LocationId">;
1245
+ address: string;
1246
+ authorMemberId: number & z.BRAND<"MemberId">;
1247
+ }, {
1248
+ placeName: string;
1249
+ lat: number;
1250
+ lng: number;
1251
+ locationId: string;
1252
+ address: string;
1253
+ authorMemberId: number;
1254
+ }>, "many">;
1255
+ readonly "location-vote-updated": z.ZodArray<z.ZodObject<{
1256
+ locationId: z.ZodBranded<z.ZodString, "LocationId">;
1257
+ votes: z.ZodArray<z.ZodBranded<z.ZodNumber, "MemberId">, "many">;
1258
+ }, "strip", z.ZodTypeAny, {
1259
+ locationId: string & z.BRAND<"LocationId">;
1260
+ votes: (number & z.BRAND<"MemberId">)[];
1261
+ }, {
1262
+ locationId: string;
1263
+ votes: number[];
1264
+ }>, "many">;
1265
+ readonly "exclude-menu-updated": z.ZodArray<z.ZodObject<{
1266
+ memberId: z.ZodBranded<z.ZodNumber, "MemberId">;
1267
+ exclusions: z.ZodArray<z.ZodObject<{
1268
+ code: z.ZodBranded<z.ZodString, "MenuCode">;
1269
+ label: z.ZodString;
1270
+ }, "strip", z.ZodTypeAny, {
1271
+ code: string & z.BRAND<"MenuCode">;
1272
+ label: string;
1273
+ }, {
1274
+ code: string;
1275
+ label: string;
1276
+ }>, "many">;
1277
+ }, "strip", z.ZodTypeAny, {
1278
+ memberId: number & z.BRAND<"MemberId">;
1279
+ exclusions: {
1280
+ code: string & z.BRAND<"MenuCode">;
1281
+ label: string;
1282
+ }[];
1283
+ }, {
1284
+ memberId: number;
1285
+ exclusions: {
1286
+ code: string;
1287
+ label: string;
1288
+ }[];
1289
+ }>, "many">;
1290
+ readonly "menu-pick-updated": z.ZodArray<z.ZodObject<{
1291
+ menuCode: z.ZodBranded<z.ZodString, "MenuCode">;
1292
+ selectedMembers: z.ZodArray<z.ZodBranded<z.ZodNumber, "MemberId">, "many">;
1293
+ }, "strip", z.ZodTypeAny, {
1294
+ menuCode: string & z.BRAND<"MenuCode">;
1295
+ selectedMembers: (number & z.BRAND<"MemberId">)[];
1296
+ }, {
1297
+ menuCode: string;
1298
+ selectedMembers: number[];
1299
+ }>, "many">;
1300
+ readonly "restaurant-pick-updated": z.ZodArray<z.ZodObject<{
1301
+ restaurantId: z.ZodBranded<z.ZodString, "RestaurantId">;
1302
+ selectedMembers: z.ZodArray<z.ZodBranded<z.ZodNumber, "MemberId">, "many">;
1303
+ }, "strip", z.ZodTypeAny, {
1304
+ restaurantId: string & z.BRAND<"RestaurantId">;
1305
+ selectedMembers: (number & z.BRAND<"MemberId">)[];
1306
+ }, {
1307
+ restaurantId: string;
1308
+ selectedMembers: number[];
1309
+ }>, "many">;
1310
+ readonly "final-state-response": z.ZodObject<{
1311
+ location: z.ZodOptional<z.ZodObject<{
1312
+ locationId: z.ZodBranded<z.ZodString, "LocationId">;
1313
+ placeName: z.ZodString;
1314
+ lat: z.ZodNumber;
1315
+ lng: z.ZodNumber;
1316
+ address: z.ZodString;
1317
+ }, "strip", z.ZodTypeAny, {
1318
+ placeName: string;
1319
+ lat: number;
1320
+ lng: number;
1321
+ locationId: string & z.BRAND<"LocationId">;
1322
+ address: string;
1323
+ }, {
1324
+ placeName: string;
1325
+ lat: number;
1326
+ lng: number;
1327
+ locationId: string;
1328
+ address: string;
1329
+ }>>;
1330
+ excludeMenu: z.ZodOptional<z.ZodArray<z.ZodObject<{
1331
+ code: z.ZodBranded<z.ZodString, "MenuCode">;
1332
+ label: z.ZodString;
1333
+ }, "strip", z.ZodTypeAny, {
1334
+ code: string & z.BRAND<"MenuCode">;
1335
+ label: string;
1336
+ }, {
1337
+ code: string;
1338
+ label: string;
1339
+ }>, "many">>;
1340
+ menu: z.ZodOptional<z.ZodObject<{
1341
+ code: z.ZodBranded<z.ZodString, "MenuCode">;
1342
+ label: z.ZodString;
1343
+ }, "strip", z.ZodTypeAny, {
1344
+ code: string & z.BRAND<"MenuCode">;
1345
+ label: string;
1346
+ }, {
1347
+ code: string;
1348
+ label: string;
1349
+ }>>;
1350
+ restaurant: z.ZodOptional<z.ZodObject<{
1351
+ restaurantId: z.ZodBranded<z.ZodString, "RestaurantId">;
1352
+ placeName: z.ZodString;
1353
+ categoryName: z.ZodString;
1354
+ categoryGroupName: z.ZodString;
1355
+ distance: z.ZodOptional<z.ZodString>;
1356
+ roadAddressName: z.ZodString;
1357
+ addressName: z.ZodString;
1358
+ phone: z.ZodNullable<z.ZodString>;
1359
+ placeUrl: z.ZodNullable<z.ZodString>;
1360
+ lat: z.ZodNumber;
1361
+ lng: z.ZodNumber;
1362
+ }, "strip", z.ZodTypeAny, {
1363
+ restaurantId: string & z.BRAND<"RestaurantId">;
1364
+ placeName: string;
1365
+ categoryName: string;
1366
+ categoryGroupName: string;
1367
+ roadAddressName: string;
1368
+ addressName: string;
1369
+ phone: string | null;
1370
+ placeUrl: string | null;
1371
+ lat: number;
1372
+ lng: number;
1373
+ distance?: string | undefined;
1374
+ }, {
1375
+ restaurantId: string;
1376
+ placeName: string;
1377
+ categoryName: string;
1378
+ categoryGroupName: string;
1379
+ roadAddressName: string;
1380
+ addressName: string;
1381
+ phone: string | null;
1382
+ placeUrl: string | null;
1383
+ lat: number;
1384
+ lng: number;
1385
+ distance?: string | undefined;
1386
+ }>>;
1387
+ time: z.ZodOptional<z.ZodString>;
1388
+ date: z.ZodOptional<z.ZodString>;
1389
+ }, "strip", z.ZodTypeAny, {
1390
+ date?: string | undefined;
1391
+ restaurant?: {
1392
+ restaurantId: string & z.BRAND<"RestaurantId">;
1393
+ placeName: string;
1394
+ categoryName: string;
1395
+ categoryGroupName: string;
1396
+ roadAddressName: string;
1397
+ addressName: string;
1398
+ phone: string | null;
1399
+ placeUrl: string | null;
1400
+ lat: number;
1401
+ lng: number;
1402
+ distance?: string | undefined;
1403
+ } | undefined;
1404
+ location?: {
1405
+ placeName: string;
1406
+ lat: number;
1407
+ lng: number;
1408
+ locationId: string & z.BRAND<"LocationId">;
1409
+ address: string;
1410
+ } | undefined;
1411
+ menu?: {
1412
+ code: string & z.BRAND<"MenuCode">;
1413
+ label: string;
1414
+ } | undefined;
1415
+ time?: string | undefined;
1416
+ excludeMenu?: {
1417
+ code: string & z.BRAND<"MenuCode">;
1418
+ label: string;
1419
+ }[] | undefined;
1420
+ }, {
1421
+ date?: string | undefined;
1422
+ restaurant?: {
1423
+ restaurantId: string;
1424
+ placeName: string;
1425
+ categoryName: string;
1426
+ categoryGroupName: string;
1427
+ roadAddressName: string;
1428
+ addressName: string;
1429
+ phone: string | null;
1430
+ placeUrl: string | null;
1431
+ lat: number;
1432
+ lng: number;
1433
+ distance?: string | undefined;
1434
+ } | undefined;
1435
+ location?: {
1436
+ placeName: string;
1437
+ lat: number;
1438
+ lng: number;
1439
+ locationId: string;
1440
+ address: string;
1441
+ } | undefined;
1442
+ menu?: {
1443
+ code: string;
1444
+ label: string;
1445
+ } | undefined;
1446
+ time?: string | undefined;
1447
+ excludeMenu?: {
1448
+ code: string;
1449
+ label: string;
1450
+ }[] | undefined;
1451
+ }>;
1452
+ };
1453
+
1454
+ type ClientEventMapFromSchemas<T extends Record<string, z.ZodTypeAny>> = {
1455
+ [K in keyof T]: (payload: z.infer<T[K]>) => void;
1456
+ };
1457
+ type RoomClientToServerEvents = ClientEventMapFromSchemas<typeof RoomSocketClientEventSchemas>;
1458
+ type RoomServerToClientEvents = ClientEventMapFromSchemas<typeof RoomSocketServerEventSchemas>;
1459
+ /** @deprecated Use RoomServerToClientEvents. */
1460
+ type ServerToClientEvents = RoomServerToClientEvents;
1461
+ /** @deprecated Use RoomClientToServerEvents. */
1462
+ type ClientToServerEvents = RoomClientToServerEvents;
1463
+
1464
+ type Menu = z.infer<typeof MenuSchema>;
1465
+ type MenuCode = Menu["code"];
1466
+ type LocationCandidate = z.infer<typeof LocationCandidateSchema>;
1467
+ type LocationId = LocationCandidate["locationId"];
1468
+ type Participant = z.infer<typeof ParticipantSchema>;
1469
+ type RecruitRoomStage = z.infer<typeof RecruitRoomStageSchema>;
1470
+ type InvitationRoomStage = z.infer<typeof InvitationRoomStageSchema>;
1471
+ /** @deprecated Use RecruitRoomStage. */
1472
+ type AnnouncementStage = RecruitRoomStage;
1473
+ type ReadyStateRequest = z.infer<typeof ReadyStateRequestSchema>;
1474
+ type ChatMessageRequest = z.infer<typeof ChatMessageRequestSchema>;
1475
+ type ChatMessageResponse = z.infer<typeof ChatMessageResponseSchema>;
1476
+ type RoomAssignedResponse = z.infer<typeof RoomAssignedResponseSchema>;
1477
+ type RoomSocketError = z.infer<typeof RoomSocketErrorSchema>;
1478
+ type FinalState = z.infer<typeof FinalStateSchema>;
1479
+ type RoomInitialState = z.infer<typeof RoomInitialStateSchema>;
1480
+ type PhaseDataBroadcast = z.infer<typeof PhaseDataBroadcastSchema>;
1481
+
1482
+ export { AddLocationCandidateRequestSchema, type AnnouncementStage, type ChatMessageRequest, ChatMessageRequestSchema, type ChatMessageResponse, ChatMessageResponseSchema, type ClientEventMapFromSchemas, type ClientToServerEvents, DatePicksUpdateResponseSchema, ExcludeMenuRequestSchema, ExcludeMenuUpdateResponseSchema, type FinalState, FinalStateSchema, type InvitationRoomStage, InvitationRoomStageSchema, type LocationCandidate, LocationCandidateAddUpdateResponseSchema, LocationCandidateSchema, LocationCandidateVoteUpdateResponseSchema, type LocationId, LocationIdSchema, type Menu, type MenuCode, MenuCodeSchema, MenuPickUpdateResponseSchema, MenuSchema, type Participant, ParticipantSchema, type PhaseDataBroadcast, PhaseDataBroadcastSchema, PickDateRequestSchema, PickMenuRequestSchema, PickRestaurantRequestSchema, PickTimesRequestSchema, ReadyStateChangedSchema, type ReadyStateRequest, ReadyStateRequestSchema, type RecruitRoomStage, RecruitRoomStageSchema, RestaurantPickUpdateResponseSchema, type RoomAssignedResponse, RoomAssignedResponseSchema, type RoomClientToServerEvents, type RoomInitialState, RoomInitialStateSchema, type RoomServerToClientEvents, RoomSocketClientEventSchemas, type RoomSocketError, RoomSocketErrorSchema, RoomSocketServerEventSchemas, type ServerToClientEvents, TimePicksUpdateResponseSchema, VoteLocationRequestSchema };