@cloudexp-io/laudro-sdk 0.0.0-stage → 0.5.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.
package/dist/core.d.ts ADDED
@@ -0,0 +1,1699 @@
1
+ import { P as Problem, a as RetryOptions, L as LangQuery, B as BookingRequestCreate, E as EventRequestCreate, C as ContactCreate, T as TrackEvent } from './retry-BnQHOsTh.js';
2
+ export { A as Allergen, c as AllergenCode, d as BookingLocation, e as BookingProvider, f as BookingResponse, g as Currency, D as DEFAULT_LANG, h as DietTag, i as Email, j as EventKind, k as EventPackage, l as EventPackagesResponse, F as FormToken, H as Honeypot, I as IsoDate, m as IsoDateTime, n as IsoWeek, o as Lang, p as LangFallback, q as LocalTime, M as Media, r as Money, s as PROBLEM_CONTENT_TYPE, t as PhoneInput, b as ProblemFieldError, R as RequestCreated, u as TrackName, v as TurnstileToken, U as Uuid, W as WeeklyHours, w as eur, x as parseRetryAfter } from './retry-BnQHOsTh.js';
3
+ import { z } from 'zod';
4
+
5
+ declare const RestaurantStatus: z.ZodEnum<{
6
+ demo: "demo";
7
+ live: "live";
8
+ paused: "paused";
9
+ }>;
10
+ declare const BookingMode: z.ZodEnum<{
11
+ provider: "provider";
12
+ request: "request";
13
+ both: "both";
14
+ phone_only: "phone_only";
15
+ }>;
16
+ type BookingMode = z.infer<typeof BookingMode>;
17
+ /** GET /v1/site */
18
+ declare const Site: z.ZodObject<{
19
+ id: z.ZodUUID;
20
+ site_id: z.ZodUUID;
21
+ name: z.ZodString;
22
+ short_name: z.ZodNullable<z.ZodString>;
23
+ status: z.ZodEnum<{
24
+ demo: "demo";
25
+ live: "live";
26
+ paused: "paused";
27
+ }>;
28
+ timezone: z.ZodString;
29
+ reopen_on: z.ZodOptional<z.ZodNullable<z.ZodISODate>>;
30
+ default_lang: z.ZodEnum<{
31
+ et: "et";
32
+ en: "en";
33
+ }>;
34
+ languages: z.ZodArray<z.ZodEnum<{
35
+ et: "et";
36
+ en: "en";
37
+ }>>;
38
+ logo: z.ZodNullable<z.ZodObject<{
39
+ id: z.ZodUUID;
40
+ url: z.ZodURL;
41
+ width: z.ZodNullable<z.ZodInt>;
42
+ height: z.ZodNullable<z.ZodInt>;
43
+ alt: z.ZodNullable<z.ZodString>;
44
+ blurhash: z.ZodNullable<z.ZodString>;
45
+ lang_fallback: z.ZodBoolean;
46
+ }, z.core.$strip>>;
47
+ brand: z.ZodRecord<z.ZodString, z.ZodString>;
48
+ social_links: z.ZodRecord<z.ZodString, z.ZodString>;
49
+ booking_mode: z.ZodNullable<z.ZodEnum<{
50
+ provider: "provider";
51
+ request: "request";
52
+ both: "both";
53
+ phone_only: "phone_only";
54
+ }>>;
55
+ contact: z.ZodObject<{
56
+ phone: z.ZodNullable<z.ZodString>;
57
+ email: z.ZodNullable<z.ZodString>;
58
+ address: z.ZodNullable<z.ZodString>;
59
+ }, z.core.$strip>;
60
+ lang: z.ZodEnum<{
61
+ et: "et";
62
+ en: "en";
63
+ }>;
64
+ lang_fallback: z.ZodBoolean;
65
+ }, z.core.$strip>;
66
+ type Site = z.infer<typeof Site>;
67
+ /** One location. The first one (lowest position) is the main location. */
68
+ declare const Location: z.ZodObject<{
69
+ id: z.ZodUUID;
70
+ name: z.ZodString;
71
+ address: z.ZodNullable<z.ZodString>;
72
+ city: z.ZodNullable<z.ZodString>;
73
+ postcode: z.ZodNullable<z.ZodString>;
74
+ country: z.ZodString;
75
+ geo: z.ZodNullable<z.ZodObject<{
76
+ lat: z.ZodNumber;
77
+ lng: z.ZodNumber;
78
+ }, z.core.$strip>>;
79
+ phone: z.ZodNullable<z.ZodString>;
80
+ email: z.ZodNullable<z.ZodString>;
81
+ google_maps_url: z.ZodNullable<z.ZodString>;
82
+ timezone: z.ZodString;
83
+ lang_fallback: z.ZodBoolean;
84
+ }, z.core.$strip>;
85
+ type Location = z.infer<typeof Location>;
86
+ /** GET /v1/locations */
87
+ declare const LocationsResponse: z.ZodObject<{
88
+ locations: z.ZodArray<z.ZodObject<{
89
+ id: z.ZodUUID;
90
+ name: z.ZodString;
91
+ address: z.ZodNullable<z.ZodString>;
92
+ city: z.ZodNullable<z.ZodString>;
93
+ postcode: z.ZodNullable<z.ZodString>;
94
+ country: z.ZodString;
95
+ geo: z.ZodNullable<z.ZodObject<{
96
+ lat: z.ZodNumber;
97
+ lng: z.ZodNumber;
98
+ }, z.core.$strip>>;
99
+ phone: z.ZodNullable<z.ZodString>;
100
+ email: z.ZodNullable<z.ZodString>;
101
+ google_maps_url: z.ZodNullable<z.ZodString>;
102
+ timezone: z.ZodString;
103
+ lang_fallback: z.ZodBoolean;
104
+ }, z.core.$strip>>;
105
+ lang: z.ZodEnum<{
106
+ et: "et";
107
+ en: "en";
108
+ }>;
109
+ }, z.core.$strip>;
110
+ type LocationsResponse = z.infer<typeof LocationsResponse>;
111
+
112
+ declare const HoursKind: z.ZodEnum<{
113
+ lunch: "lunch";
114
+ open: "open";
115
+ kitchen: "kitchen";
116
+ booking: "booking";
117
+ }>;
118
+ type HoursKind = z.infer<typeof HoursKind>;
119
+ /** Longest range /v1/hours accepts, in days (from and to included). */
120
+ declare const HOURS_MAX_DAYS = 62;
121
+ /** GET /v1/hours?from=&to= */
122
+ declare const HoursQuery: z.ZodObject<{
123
+ from: z.ZodISODate;
124
+ to: z.ZodISODate;
125
+ location_id: z.ZodOptional<z.ZodUUID>;
126
+ lang: z.ZodDefault<z.ZodEnum<{
127
+ et: "et";
128
+ en: "en";
129
+ }>>;
130
+ }, z.core.$strip>;
131
+ type HoursQuery = z.input<typeof HoursQuery>;
132
+ /**
133
+ * One open interval. `closes` earlier than `opens` means after midnight; `closes_at` is then
134
+ * on the next day. `opens_at`/`closes_at` carry the location's UTC offset for that date.
135
+ */
136
+ declare const HoursInterval: z.ZodObject<{
137
+ opens: z.ZodString;
138
+ closes: z.ZodString;
139
+ opens_at: z.ZodISODateTime;
140
+ closes_at: z.ZodISODateTime;
141
+ }, z.core.$strip>;
142
+ type HoursInterval = z.infer<typeof HoursInterval>;
143
+ /** Hours of one kind on one date. A special row for that date and kind replaces the weekly rows. */
144
+ declare const KindHours: z.ZodObject<{
145
+ closed: z.ZodBoolean;
146
+ intervals: z.ZodArray<z.ZodObject<{
147
+ opens: z.ZodString;
148
+ closes: z.ZodString;
149
+ opens_at: z.ZodISODateTime;
150
+ closes_at: z.ZodISODateTime;
151
+ }, z.core.$strip>>;
152
+ special: z.ZodBoolean;
153
+ note: z.ZodNullable<z.ZodString>;
154
+ }, z.core.$strip>;
155
+ type KindHours = z.infer<typeof KindHours>;
156
+ declare const HoursDay: z.ZodObject<{
157
+ date: z.ZodISODate;
158
+ weekday: z.ZodInt;
159
+ holiday: z.ZodNullable<z.ZodString>;
160
+ open: z.ZodNullable<z.ZodObject<{
161
+ closed: z.ZodBoolean;
162
+ intervals: z.ZodArray<z.ZodObject<{
163
+ opens: z.ZodString;
164
+ closes: z.ZodString;
165
+ opens_at: z.ZodISODateTime;
166
+ closes_at: z.ZodISODateTime;
167
+ }, z.core.$strip>>;
168
+ special: z.ZodBoolean;
169
+ note: z.ZodNullable<z.ZodString>;
170
+ }, z.core.$strip>>;
171
+ kitchen: z.ZodNullable<z.ZodObject<{
172
+ closed: z.ZodBoolean;
173
+ intervals: z.ZodArray<z.ZodObject<{
174
+ opens: z.ZodString;
175
+ closes: z.ZodString;
176
+ opens_at: z.ZodISODateTime;
177
+ closes_at: z.ZodISODateTime;
178
+ }, z.core.$strip>>;
179
+ special: z.ZodBoolean;
180
+ note: z.ZodNullable<z.ZodString>;
181
+ }, z.core.$strip>>;
182
+ booking: z.ZodNullable<z.ZodObject<{
183
+ closed: z.ZodBoolean;
184
+ intervals: z.ZodArray<z.ZodObject<{
185
+ opens: z.ZodString;
186
+ closes: z.ZodString;
187
+ opens_at: z.ZodISODateTime;
188
+ closes_at: z.ZodISODateTime;
189
+ }, z.core.$strip>>;
190
+ special: z.ZodBoolean;
191
+ note: z.ZodNullable<z.ZodString>;
192
+ }, z.core.$strip>>;
193
+ lunch: z.ZodNullable<z.ZodObject<{
194
+ closed: z.ZodBoolean;
195
+ intervals: z.ZodArray<z.ZodObject<{
196
+ opens: z.ZodString;
197
+ closes: z.ZodString;
198
+ opens_at: z.ZodISODateTime;
199
+ closes_at: z.ZodISODateTime;
200
+ }, z.core.$strip>>;
201
+ special: z.ZodBoolean;
202
+ note: z.ZodNullable<z.ZodString>;
203
+ }, z.core.$strip>>;
204
+ }, z.core.$strip>;
205
+ type HoursDay = z.infer<typeof HoursDay>;
206
+ declare const LocationHours: z.ZodObject<{
207
+ location_id: z.ZodUUID;
208
+ timezone: z.ZodString;
209
+ days: z.ZodArray<z.ZodObject<{
210
+ date: z.ZodISODate;
211
+ weekday: z.ZodInt;
212
+ holiday: z.ZodNullable<z.ZodString>;
213
+ open: z.ZodNullable<z.ZodObject<{
214
+ closed: z.ZodBoolean;
215
+ intervals: z.ZodArray<z.ZodObject<{
216
+ opens: z.ZodString;
217
+ closes: z.ZodString;
218
+ opens_at: z.ZodISODateTime;
219
+ closes_at: z.ZodISODateTime;
220
+ }, z.core.$strip>>;
221
+ special: z.ZodBoolean;
222
+ note: z.ZodNullable<z.ZodString>;
223
+ }, z.core.$strip>>;
224
+ kitchen: z.ZodNullable<z.ZodObject<{
225
+ closed: z.ZodBoolean;
226
+ intervals: z.ZodArray<z.ZodObject<{
227
+ opens: z.ZodString;
228
+ closes: z.ZodString;
229
+ opens_at: z.ZodISODateTime;
230
+ closes_at: z.ZodISODateTime;
231
+ }, z.core.$strip>>;
232
+ special: z.ZodBoolean;
233
+ note: z.ZodNullable<z.ZodString>;
234
+ }, z.core.$strip>>;
235
+ booking: z.ZodNullable<z.ZodObject<{
236
+ closed: z.ZodBoolean;
237
+ intervals: z.ZodArray<z.ZodObject<{
238
+ opens: z.ZodString;
239
+ closes: z.ZodString;
240
+ opens_at: z.ZodISODateTime;
241
+ closes_at: z.ZodISODateTime;
242
+ }, z.core.$strip>>;
243
+ special: z.ZodBoolean;
244
+ note: z.ZodNullable<z.ZodString>;
245
+ }, z.core.$strip>>;
246
+ lunch: z.ZodNullable<z.ZodObject<{
247
+ closed: z.ZodBoolean;
248
+ intervals: z.ZodArray<z.ZodObject<{
249
+ opens: z.ZodString;
250
+ closes: z.ZodString;
251
+ opens_at: z.ZodISODateTime;
252
+ closes_at: z.ZodISODateTime;
253
+ }, z.core.$strip>>;
254
+ special: z.ZodBoolean;
255
+ note: z.ZodNullable<z.ZodString>;
256
+ }, z.core.$strip>>;
257
+ }, z.core.$strip>>;
258
+ }, z.core.$strip>;
259
+ type LocationHours = z.infer<typeof LocationHours>;
260
+ /** Response of GET /v1/hours. */
261
+ declare const HoursResponse: z.ZodObject<{
262
+ from: z.ZodISODate;
263
+ to: z.ZodISODate;
264
+ locations: z.ZodArray<z.ZodObject<{
265
+ location_id: z.ZodUUID;
266
+ timezone: z.ZodString;
267
+ days: z.ZodArray<z.ZodObject<{
268
+ date: z.ZodISODate;
269
+ weekday: z.ZodInt;
270
+ holiday: z.ZodNullable<z.ZodString>;
271
+ open: z.ZodNullable<z.ZodObject<{
272
+ closed: z.ZodBoolean;
273
+ intervals: z.ZodArray<z.ZodObject<{
274
+ opens: z.ZodString;
275
+ closes: z.ZodString;
276
+ opens_at: z.ZodISODateTime;
277
+ closes_at: z.ZodISODateTime;
278
+ }, z.core.$strip>>;
279
+ special: z.ZodBoolean;
280
+ note: z.ZodNullable<z.ZodString>;
281
+ }, z.core.$strip>>;
282
+ kitchen: z.ZodNullable<z.ZodObject<{
283
+ closed: z.ZodBoolean;
284
+ intervals: z.ZodArray<z.ZodObject<{
285
+ opens: z.ZodString;
286
+ closes: z.ZodString;
287
+ opens_at: z.ZodISODateTime;
288
+ closes_at: z.ZodISODateTime;
289
+ }, z.core.$strip>>;
290
+ special: z.ZodBoolean;
291
+ note: z.ZodNullable<z.ZodString>;
292
+ }, z.core.$strip>>;
293
+ booking: z.ZodNullable<z.ZodObject<{
294
+ closed: z.ZodBoolean;
295
+ intervals: z.ZodArray<z.ZodObject<{
296
+ opens: z.ZodString;
297
+ closes: z.ZodString;
298
+ opens_at: z.ZodISODateTime;
299
+ closes_at: z.ZodISODateTime;
300
+ }, z.core.$strip>>;
301
+ special: z.ZodBoolean;
302
+ note: z.ZodNullable<z.ZodString>;
303
+ }, z.core.$strip>>;
304
+ lunch: z.ZodNullable<z.ZodObject<{
305
+ closed: z.ZodBoolean;
306
+ intervals: z.ZodArray<z.ZodObject<{
307
+ opens: z.ZodString;
308
+ closes: z.ZodString;
309
+ opens_at: z.ZodISODateTime;
310
+ closes_at: z.ZodISODateTime;
311
+ }, z.core.$strip>>;
312
+ special: z.ZodBoolean;
313
+ note: z.ZodNullable<z.ZodString>;
314
+ }, z.core.$strip>>;
315
+ }, z.core.$strip>>;
316
+ }, z.core.$strip>>;
317
+ lang: z.ZodEnum<{
318
+ et: "et";
319
+ en: "en";
320
+ }>;
321
+ }, z.core.$strip>;
322
+ type HoursResponse = z.infer<typeof HoursResponse>;
323
+
324
+ declare const MenuKind: z.ZodEnum<{
325
+ main: "main";
326
+ drinks: "drinks";
327
+ lunch: "lunch";
328
+ kids: "kids";
329
+ event: "event";
330
+ }>;
331
+ type MenuKind = z.infer<typeof MenuKind>;
332
+ /** GET /v1/menus */
333
+ declare const MenusQuery: z.ZodObject<{
334
+ lang: z.ZodDefault<z.ZodEnum<{
335
+ et: "et";
336
+ en: "en";
337
+ }>>;
338
+ kind: z.ZodOptional<z.ZodEnum<{
339
+ main: "main";
340
+ drinks: "drinks";
341
+ lunch: "lunch";
342
+ kids: "kids";
343
+ event: "event";
344
+ }>>;
345
+ }, z.core.$strip>;
346
+ type MenusQuery = z.input<typeof MenusQuery>;
347
+ declare const MenuItemVariant: z.ZodObject<{
348
+ id: z.ZodUUID;
349
+ name: z.ZodString;
350
+ price: z.ZodNullable<z.ZodObject<{
351
+ cents: z.ZodInt;
352
+ currency: z.ZodLiteral<"EUR">;
353
+ }, z.core.$strip>>;
354
+ lang_fallback: z.ZodBoolean;
355
+ }, z.core.$strip>;
356
+ type MenuItemVariant = z.infer<typeof MenuItemVariant>;
357
+ declare const MenuItem: z.ZodObject<{
358
+ id: z.ZodUUID;
359
+ name: z.ZodString;
360
+ description: z.ZodNullable<z.ZodString>;
361
+ tagline: z.ZodNullable<z.ZodString>;
362
+ ingredients: z.ZodNullable<z.ZodString>;
363
+ price: z.ZodNullable<z.ZodObject<{
364
+ cents: z.ZodInt;
365
+ currency: z.ZodLiteral<"EUR">;
366
+ }, z.core.$strip>>;
367
+ sold_out: z.ZodBoolean;
368
+ sold_out_until: z.ZodNullable<z.ZodISODate>;
369
+ image: z.ZodNullable<z.ZodObject<{
370
+ id: z.ZodUUID;
371
+ url: z.ZodURL;
372
+ width: z.ZodNullable<z.ZodInt>;
373
+ height: z.ZodNullable<z.ZodInt>;
374
+ alt: z.ZodNullable<z.ZodString>;
375
+ blurhash: z.ZodNullable<z.ZodString>;
376
+ lang_fallback: z.ZodBoolean;
377
+ }, z.core.$strip>>;
378
+ allergens: z.ZodArray<z.ZodObject<{
379
+ code: z.ZodEnum<{
380
+ gluten: "gluten";
381
+ crustaceans: "crustaceans";
382
+ eggs: "eggs";
383
+ fish: "fish";
384
+ peanuts: "peanuts";
385
+ soybeans: "soybeans";
386
+ milk: "milk";
387
+ nuts: "nuts";
388
+ celery: "celery";
389
+ mustard: "mustard";
390
+ sesame: "sesame";
391
+ sulphites: "sulphites";
392
+ lupin: "lupin";
393
+ molluscs: "molluscs";
394
+ }>;
395
+ name: z.ZodString;
396
+ icon: z.ZodNullable<z.ZodString>;
397
+ state: z.ZodEnum<{
398
+ contains: "contains";
399
+ may_contain: "may_contain";
400
+ }>;
401
+ }, z.core.$strip>>;
402
+ tags: z.ZodArray<z.ZodEnum<{
403
+ kids: "kids";
404
+ vegan: "vegan";
405
+ vegetarian: "vegetarian";
406
+ gluten_free: "gluten_free";
407
+ lactose_free: "lactose_free";
408
+ spicy: "spicy";
409
+ new: "new";
410
+ popular: "popular";
411
+ chef_choice: "chef_choice";
412
+ }>>;
413
+ variants: z.ZodArray<z.ZodObject<{
414
+ id: z.ZodUUID;
415
+ name: z.ZodString;
416
+ price: z.ZodNullable<z.ZodObject<{
417
+ cents: z.ZodInt;
418
+ currency: z.ZodLiteral<"EUR">;
419
+ }, z.core.$strip>>;
420
+ lang_fallback: z.ZodBoolean;
421
+ }, z.core.$strip>>;
422
+ lang_fallback: z.ZodBoolean;
423
+ }, z.core.$strip>;
424
+ type MenuItem = z.infer<typeof MenuItem>;
425
+ declare const MenuSection: z.ZodObject<{
426
+ id: z.ZodUUID;
427
+ name: z.ZodString;
428
+ description: z.ZodNullable<z.ZodString>;
429
+ items: z.ZodArray<z.ZodObject<{
430
+ id: z.ZodUUID;
431
+ name: z.ZodString;
432
+ description: z.ZodNullable<z.ZodString>;
433
+ tagline: z.ZodNullable<z.ZodString>;
434
+ ingredients: z.ZodNullable<z.ZodString>;
435
+ price: z.ZodNullable<z.ZodObject<{
436
+ cents: z.ZodInt;
437
+ currency: z.ZodLiteral<"EUR">;
438
+ }, z.core.$strip>>;
439
+ sold_out: z.ZodBoolean;
440
+ sold_out_until: z.ZodNullable<z.ZodISODate>;
441
+ image: z.ZodNullable<z.ZodObject<{
442
+ id: z.ZodUUID;
443
+ url: z.ZodURL;
444
+ width: z.ZodNullable<z.ZodInt>;
445
+ height: z.ZodNullable<z.ZodInt>;
446
+ alt: z.ZodNullable<z.ZodString>;
447
+ blurhash: z.ZodNullable<z.ZodString>;
448
+ lang_fallback: z.ZodBoolean;
449
+ }, z.core.$strip>>;
450
+ allergens: z.ZodArray<z.ZodObject<{
451
+ code: z.ZodEnum<{
452
+ gluten: "gluten";
453
+ crustaceans: "crustaceans";
454
+ eggs: "eggs";
455
+ fish: "fish";
456
+ peanuts: "peanuts";
457
+ soybeans: "soybeans";
458
+ milk: "milk";
459
+ nuts: "nuts";
460
+ celery: "celery";
461
+ mustard: "mustard";
462
+ sesame: "sesame";
463
+ sulphites: "sulphites";
464
+ lupin: "lupin";
465
+ molluscs: "molluscs";
466
+ }>;
467
+ name: z.ZodString;
468
+ icon: z.ZodNullable<z.ZodString>;
469
+ state: z.ZodEnum<{
470
+ contains: "contains";
471
+ may_contain: "may_contain";
472
+ }>;
473
+ }, z.core.$strip>>;
474
+ tags: z.ZodArray<z.ZodEnum<{
475
+ kids: "kids";
476
+ vegan: "vegan";
477
+ vegetarian: "vegetarian";
478
+ gluten_free: "gluten_free";
479
+ lactose_free: "lactose_free";
480
+ spicy: "spicy";
481
+ new: "new";
482
+ popular: "popular";
483
+ chef_choice: "chef_choice";
484
+ }>>;
485
+ variants: z.ZodArray<z.ZodObject<{
486
+ id: z.ZodUUID;
487
+ name: z.ZodString;
488
+ price: z.ZodNullable<z.ZodObject<{
489
+ cents: z.ZodInt;
490
+ currency: z.ZodLiteral<"EUR">;
491
+ }, z.core.$strip>>;
492
+ lang_fallback: z.ZodBoolean;
493
+ }, z.core.$strip>>;
494
+ lang_fallback: z.ZodBoolean;
495
+ }, z.core.$strip>>;
496
+ lang_fallback: z.ZodBoolean;
497
+ }, z.core.$strip>;
498
+ type MenuSection = z.infer<typeof MenuSection>;
499
+ declare const Menu: z.ZodObject<{
500
+ id: z.ZodUUID;
501
+ name: z.ZodString;
502
+ description: z.ZodNullable<z.ZodString>;
503
+ kind: z.ZodEnum<{
504
+ main: "main";
505
+ drinks: "drinks";
506
+ lunch: "lunch";
507
+ kids: "kids";
508
+ event: "event";
509
+ }>;
510
+ sections: z.ZodArray<z.ZodObject<{
511
+ id: z.ZodUUID;
512
+ name: z.ZodString;
513
+ description: z.ZodNullable<z.ZodString>;
514
+ items: z.ZodArray<z.ZodObject<{
515
+ id: z.ZodUUID;
516
+ name: z.ZodString;
517
+ description: z.ZodNullable<z.ZodString>;
518
+ tagline: z.ZodNullable<z.ZodString>;
519
+ ingredients: z.ZodNullable<z.ZodString>;
520
+ price: z.ZodNullable<z.ZodObject<{
521
+ cents: z.ZodInt;
522
+ currency: z.ZodLiteral<"EUR">;
523
+ }, z.core.$strip>>;
524
+ sold_out: z.ZodBoolean;
525
+ sold_out_until: z.ZodNullable<z.ZodISODate>;
526
+ image: z.ZodNullable<z.ZodObject<{
527
+ id: z.ZodUUID;
528
+ url: z.ZodURL;
529
+ width: z.ZodNullable<z.ZodInt>;
530
+ height: z.ZodNullable<z.ZodInt>;
531
+ alt: z.ZodNullable<z.ZodString>;
532
+ blurhash: z.ZodNullable<z.ZodString>;
533
+ lang_fallback: z.ZodBoolean;
534
+ }, z.core.$strip>>;
535
+ allergens: z.ZodArray<z.ZodObject<{
536
+ code: z.ZodEnum<{
537
+ gluten: "gluten";
538
+ crustaceans: "crustaceans";
539
+ eggs: "eggs";
540
+ fish: "fish";
541
+ peanuts: "peanuts";
542
+ soybeans: "soybeans";
543
+ milk: "milk";
544
+ nuts: "nuts";
545
+ celery: "celery";
546
+ mustard: "mustard";
547
+ sesame: "sesame";
548
+ sulphites: "sulphites";
549
+ lupin: "lupin";
550
+ molluscs: "molluscs";
551
+ }>;
552
+ name: z.ZodString;
553
+ icon: z.ZodNullable<z.ZodString>;
554
+ state: z.ZodEnum<{
555
+ contains: "contains";
556
+ may_contain: "may_contain";
557
+ }>;
558
+ }, z.core.$strip>>;
559
+ tags: z.ZodArray<z.ZodEnum<{
560
+ kids: "kids";
561
+ vegan: "vegan";
562
+ vegetarian: "vegetarian";
563
+ gluten_free: "gluten_free";
564
+ lactose_free: "lactose_free";
565
+ spicy: "spicy";
566
+ new: "new";
567
+ popular: "popular";
568
+ chef_choice: "chef_choice";
569
+ }>>;
570
+ variants: z.ZodArray<z.ZodObject<{
571
+ id: z.ZodUUID;
572
+ name: z.ZodString;
573
+ price: z.ZodNullable<z.ZodObject<{
574
+ cents: z.ZodInt;
575
+ currency: z.ZodLiteral<"EUR">;
576
+ }, z.core.$strip>>;
577
+ lang_fallback: z.ZodBoolean;
578
+ }, z.core.$strip>>;
579
+ lang_fallback: z.ZodBoolean;
580
+ }, z.core.$strip>>;
581
+ lang_fallback: z.ZodBoolean;
582
+ }, z.core.$strip>>;
583
+ lang_fallback: z.ZodBoolean;
584
+ }, z.core.$strip>;
585
+ type Menu = z.infer<typeof Menu>;
586
+ declare const MenusResponse: z.ZodObject<{
587
+ menus: z.ZodArray<z.ZodObject<{
588
+ id: z.ZodUUID;
589
+ name: z.ZodString;
590
+ description: z.ZodNullable<z.ZodString>;
591
+ kind: z.ZodEnum<{
592
+ main: "main";
593
+ drinks: "drinks";
594
+ lunch: "lunch";
595
+ kids: "kids";
596
+ event: "event";
597
+ }>;
598
+ sections: z.ZodArray<z.ZodObject<{
599
+ id: z.ZodUUID;
600
+ name: z.ZodString;
601
+ description: z.ZodNullable<z.ZodString>;
602
+ items: z.ZodArray<z.ZodObject<{
603
+ id: z.ZodUUID;
604
+ name: z.ZodString;
605
+ description: z.ZodNullable<z.ZodString>;
606
+ tagline: z.ZodNullable<z.ZodString>;
607
+ ingredients: z.ZodNullable<z.ZodString>;
608
+ price: z.ZodNullable<z.ZodObject<{
609
+ cents: z.ZodInt;
610
+ currency: z.ZodLiteral<"EUR">;
611
+ }, z.core.$strip>>;
612
+ sold_out: z.ZodBoolean;
613
+ sold_out_until: z.ZodNullable<z.ZodISODate>;
614
+ image: z.ZodNullable<z.ZodObject<{
615
+ id: z.ZodUUID;
616
+ url: z.ZodURL;
617
+ width: z.ZodNullable<z.ZodInt>;
618
+ height: z.ZodNullable<z.ZodInt>;
619
+ alt: z.ZodNullable<z.ZodString>;
620
+ blurhash: z.ZodNullable<z.ZodString>;
621
+ lang_fallback: z.ZodBoolean;
622
+ }, z.core.$strip>>;
623
+ allergens: z.ZodArray<z.ZodObject<{
624
+ code: z.ZodEnum<{
625
+ gluten: "gluten";
626
+ crustaceans: "crustaceans";
627
+ eggs: "eggs";
628
+ fish: "fish";
629
+ peanuts: "peanuts";
630
+ soybeans: "soybeans";
631
+ milk: "milk";
632
+ nuts: "nuts";
633
+ celery: "celery";
634
+ mustard: "mustard";
635
+ sesame: "sesame";
636
+ sulphites: "sulphites";
637
+ lupin: "lupin";
638
+ molluscs: "molluscs";
639
+ }>;
640
+ name: z.ZodString;
641
+ icon: z.ZodNullable<z.ZodString>;
642
+ state: z.ZodEnum<{
643
+ contains: "contains";
644
+ may_contain: "may_contain";
645
+ }>;
646
+ }, z.core.$strip>>;
647
+ tags: z.ZodArray<z.ZodEnum<{
648
+ kids: "kids";
649
+ vegan: "vegan";
650
+ vegetarian: "vegetarian";
651
+ gluten_free: "gluten_free";
652
+ lactose_free: "lactose_free";
653
+ spicy: "spicy";
654
+ new: "new";
655
+ popular: "popular";
656
+ chef_choice: "chef_choice";
657
+ }>>;
658
+ variants: z.ZodArray<z.ZodObject<{
659
+ id: z.ZodUUID;
660
+ name: z.ZodString;
661
+ price: z.ZodNullable<z.ZodObject<{
662
+ cents: z.ZodInt;
663
+ currency: z.ZodLiteral<"EUR">;
664
+ }, z.core.$strip>>;
665
+ lang_fallback: z.ZodBoolean;
666
+ }, z.core.$strip>>;
667
+ lang_fallback: z.ZodBoolean;
668
+ }, z.core.$strip>>;
669
+ lang_fallback: z.ZodBoolean;
670
+ }, z.core.$strip>>;
671
+ lang_fallback: z.ZodBoolean;
672
+ }, z.core.$strip>>;
673
+ lang: z.ZodEnum<{
674
+ et: "et";
675
+ en: "en";
676
+ }>;
677
+ }, z.core.$strip>;
678
+ type MenusResponse = z.infer<typeof MenusResponse>;
679
+
680
+ /** GET /v1/lunch?date= or ?week=. Neither: today in the restaurant time zone. */
681
+ declare const LunchQuery: z.ZodObject<{
682
+ date: z.ZodOptional<z.ZodISODate>;
683
+ week: z.ZodOptional<z.ZodString>;
684
+ location_id: z.ZodOptional<z.ZodUUID>;
685
+ lang: z.ZodDefault<z.ZodEnum<{
686
+ et: "et";
687
+ en: "en";
688
+ }>>;
689
+ }, z.core.$strip>;
690
+ type LunchQuery = z.input<typeof LunchQuery>;
691
+ declare const LunchItem: z.ZodObject<{
692
+ id: z.ZodUUID;
693
+ name: z.ZodString;
694
+ description: z.ZodNullable<z.ZodString>;
695
+ price: z.ZodNullable<z.ZodObject<{
696
+ cents: z.ZodInt;
697
+ currency: z.ZodLiteral<"EUR">;
698
+ }, z.core.$strip>>;
699
+ allergens: z.ZodArray<z.ZodObject<{
700
+ code: z.ZodEnum<{
701
+ gluten: "gluten";
702
+ crustaceans: "crustaceans";
703
+ eggs: "eggs";
704
+ fish: "fish";
705
+ peanuts: "peanuts";
706
+ soybeans: "soybeans";
707
+ milk: "milk";
708
+ nuts: "nuts";
709
+ celery: "celery";
710
+ mustard: "mustard";
711
+ sesame: "sesame";
712
+ sulphites: "sulphites";
713
+ lupin: "lupin";
714
+ molluscs: "molluscs";
715
+ }>;
716
+ name: z.ZodString;
717
+ icon: z.ZodNullable<z.ZodString>;
718
+ state: z.ZodEnum<{
719
+ contains: "contains";
720
+ may_contain: "may_contain";
721
+ }>;
722
+ }, z.core.$strip>>;
723
+ tags: z.ZodArray<z.ZodEnum<{
724
+ kids: "kids";
725
+ vegan: "vegan";
726
+ vegetarian: "vegetarian";
727
+ gluten_free: "gluten_free";
728
+ lactose_free: "lactose_free";
729
+ spicy: "spicy";
730
+ new: "new";
731
+ popular: "popular";
732
+ chef_choice: "chef_choice";
733
+ }>>;
734
+ sold_out: z.ZodDefault<z.ZodBoolean>;
735
+ lang_fallback: z.ZodBoolean;
736
+ }, z.core.$strip>;
737
+ type LunchItem = z.infer<typeof LunchItem>;
738
+ declare const LunchOffer: z.ZodObject<{
739
+ id: z.ZodUUID;
740
+ location_id: z.ZodUUID;
741
+ date: z.ZodISODate;
742
+ status: z.ZodEnum<{
743
+ live: "live";
744
+ draft: "draft";
745
+ }>;
746
+ set_price: z.ZodNullable<z.ZodObject<{
747
+ cents: z.ZodInt;
748
+ currency: z.ZodLiteral<"EUR">;
749
+ }, z.core.$strip>>;
750
+ served_from: z.ZodNullable<z.ZodString>;
751
+ served_to: z.ZodNullable<z.ZodString>;
752
+ note: z.ZodNullable<z.ZodString>;
753
+ items: z.ZodArray<z.ZodObject<{
754
+ id: z.ZodUUID;
755
+ name: z.ZodString;
756
+ description: z.ZodNullable<z.ZodString>;
757
+ price: z.ZodNullable<z.ZodObject<{
758
+ cents: z.ZodInt;
759
+ currency: z.ZodLiteral<"EUR">;
760
+ }, z.core.$strip>>;
761
+ allergens: z.ZodArray<z.ZodObject<{
762
+ code: z.ZodEnum<{
763
+ gluten: "gluten";
764
+ crustaceans: "crustaceans";
765
+ eggs: "eggs";
766
+ fish: "fish";
767
+ peanuts: "peanuts";
768
+ soybeans: "soybeans";
769
+ milk: "milk";
770
+ nuts: "nuts";
771
+ celery: "celery";
772
+ mustard: "mustard";
773
+ sesame: "sesame";
774
+ sulphites: "sulphites";
775
+ lupin: "lupin";
776
+ molluscs: "molluscs";
777
+ }>;
778
+ name: z.ZodString;
779
+ icon: z.ZodNullable<z.ZodString>;
780
+ state: z.ZodEnum<{
781
+ contains: "contains";
782
+ may_contain: "may_contain";
783
+ }>;
784
+ }, z.core.$strip>>;
785
+ tags: z.ZodArray<z.ZodEnum<{
786
+ kids: "kids";
787
+ vegan: "vegan";
788
+ vegetarian: "vegetarian";
789
+ gluten_free: "gluten_free";
790
+ lactose_free: "lactose_free";
791
+ spicy: "spicy";
792
+ new: "new";
793
+ popular: "popular";
794
+ chef_choice: "chef_choice";
795
+ }>>;
796
+ sold_out: z.ZodDefault<z.ZodBoolean>;
797
+ lang_fallback: z.ZodBoolean;
798
+ }, z.core.$strip>>;
799
+ lang_fallback: z.ZodBoolean;
800
+ }, z.core.$strip>;
801
+ type LunchOffer = z.infer<typeof LunchOffer>;
802
+ declare const LunchDay: z.ZodObject<{
803
+ date: z.ZodISODate;
804
+ offer: z.ZodNullable<z.ZodObject<{
805
+ id: z.ZodUUID;
806
+ location_id: z.ZodUUID;
807
+ date: z.ZodISODate;
808
+ status: z.ZodEnum<{
809
+ live: "live";
810
+ draft: "draft";
811
+ }>;
812
+ set_price: z.ZodNullable<z.ZodObject<{
813
+ cents: z.ZodInt;
814
+ currency: z.ZodLiteral<"EUR">;
815
+ }, z.core.$strip>>;
816
+ served_from: z.ZodNullable<z.ZodString>;
817
+ served_to: z.ZodNullable<z.ZodString>;
818
+ note: z.ZodNullable<z.ZodString>;
819
+ items: z.ZodArray<z.ZodObject<{
820
+ id: z.ZodUUID;
821
+ name: z.ZodString;
822
+ description: z.ZodNullable<z.ZodString>;
823
+ price: z.ZodNullable<z.ZodObject<{
824
+ cents: z.ZodInt;
825
+ currency: z.ZodLiteral<"EUR">;
826
+ }, z.core.$strip>>;
827
+ allergens: z.ZodArray<z.ZodObject<{
828
+ code: z.ZodEnum<{
829
+ gluten: "gluten";
830
+ crustaceans: "crustaceans";
831
+ eggs: "eggs";
832
+ fish: "fish";
833
+ peanuts: "peanuts";
834
+ soybeans: "soybeans";
835
+ milk: "milk";
836
+ nuts: "nuts";
837
+ celery: "celery";
838
+ mustard: "mustard";
839
+ sesame: "sesame";
840
+ sulphites: "sulphites";
841
+ lupin: "lupin";
842
+ molluscs: "molluscs";
843
+ }>;
844
+ name: z.ZodString;
845
+ icon: z.ZodNullable<z.ZodString>;
846
+ state: z.ZodEnum<{
847
+ contains: "contains";
848
+ may_contain: "may_contain";
849
+ }>;
850
+ }, z.core.$strip>>;
851
+ tags: z.ZodArray<z.ZodEnum<{
852
+ kids: "kids";
853
+ vegan: "vegan";
854
+ vegetarian: "vegetarian";
855
+ gluten_free: "gluten_free";
856
+ lactose_free: "lactose_free";
857
+ spicy: "spicy";
858
+ new: "new";
859
+ popular: "popular";
860
+ chef_choice: "chef_choice";
861
+ }>>;
862
+ sold_out: z.ZodDefault<z.ZodBoolean>;
863
+ lang_fallback: z.ZodBoolean;
864
+ }, z.core.$strip>>;
865
+ lang_fallback: z.ZodBoolean;
866
+ }, z.core.$strip>>;
867
+ }, z.core.$strip>;
868
+ type LunchDay = z.infer<typeof LunchDay>;
869
+ /** `?date=` (or no query): one day. */
870
+ declare const LunchDayResponse: z.ZodObject<{
871
+ date: z.ZodISODate;
872
+ location_id: z.ZodNullable<z.ZodUUID>;
873
+ offer: z.ZodNullable<z.ZodObject<{
874
+ id: z.ZodUUID;
875
+ location_id: z.ZodUUID;
876
+ date: z.ZodISODate;
877
+ status: z.ZodEnum<{
878
+ live: "live";
879
+ draft: "draft";
880
+ }>;
881
+ set_price: z.ZodNullable<z.ZodObject<{
882
+ cents: z.ZodInt;
883
+ currency: z.ZodLiteral<"EUR">;
884
+ }, z.core.$strip>>;
885
+ served_from: z.ZodNullable<z.ZodString>;
886
+ served_to: z.ZodNullable<z.ZodString>;
887
+ note: z.ZodNullable<z.ZodString>;
888
+ items: z.ZodArray<z.ZodObject<{
889
+ id: z.ZodUUID;
890
+ name: z.ZodString;
891
+ description: z.ZodNullable<z.ZodString>;
892
+ price: z.ZodNullable<z.ZodObject<{
893
+ cents: z.ZodInt;
894
+ currency: z.ZodLiteral<"EUR">;
895
+ }, z.core.$strip>>;
896
+ allergens: z.ZodArray<z.ZodObject<{
897
+ code: z.ZodEnum<{
898
+ gluten: "gluten";
899
+ crustaceans: "crustaceans";
900
+ eggs: "eggs";
901
+ fish: "fish";
902
+ peanuts: "peanuts";
903
+ soybeans: "soybeans";
904
+ milk: "milk";
905
+ nuts: "nuts";
906
+ celery: "celery";
907
+ mustard: "mustard";
908
+ sesame: "sesame";
909
+ sulphites: "sulphites";
910
+ lupin: "lupin";
911
+ molluscs: "molluscs";
912
+ }>;
913
+ name: z.ZodString;
914
+ icon: z.ZodNullable<z.ZodString>;
915
+ state: z.ZodEnum<{
916
+ contains: "contains";
917
+ may_contain: "may_contain";
918
+ }>;
919
+ }, z.core.$strip>>;
920
+ tags: z.ZodArray<z.ZodEnum<{
921
+ kids: "kids";
922
+ vegan: "vegan";
923
+ vegetarian: "vegetarian";
924
+ gluten_free: "gluten_free";
925
+ lactose_free: "lactose_free";
926
+ spicy: "spicy";
927
+ new: "new";
928
+ popular: "popular";
929
+ chef_choice: "chef_choice";
930
+ }>>;
931
+ sold_out: z.ZodDefault<z.ZodBoolean>;
932
+ lang_fallback: z.ZodBoolean;
933
+ }, z.core.$strip>>;
934
+ lang_fallback: z.ZodBoolean;
935
+ }, z.core.$strip>>;
936
+ next_date: z.ZodNullable<z.ZodISODate>;
937
+ lang: z.ZodEnum<{
938
+ et: "et";
939
+ en: "en";
940
+ }>;
941
+ }, z.core.$strip>;
942
+ type LunchDayResponse = z.infer<typeof LunchDayResponse>;
943
+ /** `?week=`: Monday to Sunday. */
944
+ declare const LunchWeekResponse: z.ZodObject<{
945
+ week: z.ZodString;
946
+ location_id: z.ZodNullable<z.ZodUUID>;
947
+ days: z.ZodArray<z.ZodObject<{
948
+ date: z.ZodISODate;
949
+ offer: z.ZodNullable<z.ZodObject<{
950
+ id: z.ZodUUID;
951
+ location_id: z.ZodUUID;
952
+ date: z.ZodISODate;
953
+ status: z.ZodEnum<{
954
+ live: "live";
955
+ draft: "draft";
956
+ }>;
957
+ set_price: z.ZodNullable<z.ZodObject<{
958
+ cents: z.ZodInt;
959
+ currency: z.ZodLiteral<"EUR">;
960
+ }, z.core.$strip>>;
961
+ served_from: z.ZodNullable<z.ZodString>;
962
+ served_to: z.ZodNullable<z.ZodString>;
963
+ note: z.ZodNullable<z.ZodString>;
964
+ items: z.ZodArray<z.ZodObject<{
965
+ id: z.ZodUUID;
966
+ name: z.ZodString;
967
+ description: z.ZodNullable<z.ZodString>;
968
+ price: z.ZodNullable<z.ZodObject<{
969
+ cents: z.ZodInt;
970
+ currency: z.ZodLiteral<"EUR">;
971
+ }, z.core.$strip>>;
972
+ allergens: z.ZodArray<z.ZodObject<{
973
+ code: z.ZodEnum<{
974
+ gluten: "gluten";
975
+ crustaceans: "crustaceans";
976
+ eggs: "eggs";
977
+ fish: "fish";
978
+ peanuts: "peanuts";
979
+ soybeans: "soybeans";
980
+ milk: "milk";
981
+ nuts: "nuts";
982
+ celery: "celery";
983
+ mustard: "mustard";
984
+ sesame: "sesame";
985
+ sulphites: "sulphites";
986
+ lupin: "lupin";
987
+ molluscs: "molluscs";
988
+ }>;
989
+ name: z.ZodString;
990
+ icon: z.ZodNullable<z.ZodString>;
991
+ state: z.ZodEnum<{
992
+ contains: "contains";
993
+ may_contain: "may_contain";
994
+ }>;
995
+ }, z.core.$strip>>;
996
+ tags: z.ZodArray<z.ZodEnum<{
997
+ kids: "kids";
998
+ vegan: "vegan";
999
+ vegetarian: "vegetarian";
1000
+ gluten_free: "gluten_free";
1001
+ lactose_free: "lactose_free";
1002
+ spicy: "spicy";
1003
+ new: "new";
1004
+ popular: "popular";
1005
+ chef_choice: "chef_choice";
1006
+ }>>;
1007
+ sold_out: z.ZodDefault<z.ZodBoolean>;
1008
+ lang_fallback: z.ZodBoolean;
1009
+ }, z.core.$strip>>;
1010
+ lang_fallback: z.ZodBoolean;
1011
+ }, z.core.$strip>>;
1012
+ }, z.core.$strip>>;
1013
+ next_date: z.ZodNullable<z.ZodISODate>;
1014
+ lang: z.ZodEnum<{
1015
+ et: "et";
1016
+ en: "en";
1017
+ }>;
1018
+ }, z.core.$strip>;
1019
+ type LunchWeekResponse = z.infer<typeof LunchWeekResponse>;
1020
+ declare const LunchResponse: z.ZodUnion<readonly [z.ZodObject<{
1021
+ date: z.ZodISODate;
1022
+ location_id: z.ZodNullable<z.ZodUUID>;
1023
+ offer: z.ZodNullable<z.ZodObject<{
1024
+ id: z.ZodUUID;
1025
+ location_id: z.ZodUUID;
1026
+ date: z.ZodISODate;
1027
+ status: z.ZodEnum<{
1028
+ live: "live";
1029
+ draft: "draft";
1030
+ }>;
1031
+ set_price: z.ZodNullable<z.ZodObject<{
1032
+ cents: z.ZodInt;
1033
+ currency: z.ZodLiteral<"EUR">;
1034
+ }, z.core.$strip>>;
1035
+ served_from: z.ZodNullable<z.ZodString>;
1036
+ served_to: z.ZodNullable<z.ZodString>;
1037
+ note: z.ZodNullable<z.ZodString>;
1038
+ items: z.ZodArray<z.ZodObject<{
1039
+ id: z.ZodUUID;
1040
+ name: z.ZodString;
1041
+ description: z.ZodNullable<z.ZodString>;
1042
+ price: z.ZodNullable<z.ZodObject<{
1043
+ cents: z.ZodInt;
1044
+ currency: z.ZodLiteral<"EUR">;
1045
+ }, z.core.$strip>>;
1046
+ allergens: z.ZodArray<z.ZodObject<{
1047
+ code: z.ZodEnum<{
1048
+ gluten: "gluten";
1049
+ crustaceans: "crustaceans";
1050
+ eggs: "eggs";
1051
+ fish: "fish";
1052
+ peanuts: "peanuts";
1053
+ soybeans: "soybeans";
1054
+ milk: "milk";
1055
+ nuts: "nuts";
1056
+ celery: "celery";
1057
+ mustard: "mustard";
1058
+ sesame: "sesame";
1059
+ sulphites: "sulphites";
1060
+ lupin: "lupin";
1061
+ molluscs: "molluscs";
1062
+ }>;
1063
+ name: z.ZodString;
1064
+ icon: z.ZodNullable<z.ZodString>;
1065
+ state: z.ZodEnum<{
1066
+ contains: "contains";
1067
+ may_contain: "may_contain";
1068
+ }>;
1069
+ }, z.core.$strip>>;
1070
+ tags: z.ZodArray<z.ZodEnum<{
1071
+ kids: "kids";
1072
+ vegan: "vegan";
1073
+ vegetarian: "vegetarian";
1074
+ gluten_free: "gluten_free";
1075
+ lactose_free: "lactose_free";
1076
+ spicy: "spicy";
1077
+ new: "new";
1078
+ popular: "popular";
1079
+ chef_choice: "chef_choice";
1080
+ }>>;
1081
+ sold_out: z.ZodDefault<z.ZodBoolean>;
1082
+ lang_fallback: z.ZodBoolean;
1083
+ }, z.core.$strip>>;
1084
+ lang_fallback: z.ZodBoolean;
1085
+ }, z.core.$strip>>;
1086
+ next_date: z.ZodNullable<z.ZodISODate>;
1087
+ lang: z.ZodEnum<{
1088
+ et: "et";
1089
+ en: "en";
1090
+ }>;
1091
+ }, z.core.$strip>, z.ZodObject<{
1092
+ week: z.ZodString;
1093
+ location_id: z.ZodNullable<z.ZodUUID>;
1094
+ days: z.ZodArray<z.ZodObject<{
1095
+ date: z.ZodISODate;
1096
+ offer: z.ZodNullable<z.ZodObject<{
1097
+ id: z.ZodUUID;
1098
+ location_id: z.ZodUUID;
1099
+ date: z.ZodISODate;
1100
+ status: z.ZodEnum<{
1101
+ live: "live";
1102
+ draft: "draft";
1103
+ }>;
1104
+ set_price: z.ZodNullable<z.ZodObject<{
1105
+ cents: z.ZodInt;
1106
+ currency: z.ZodLiteral<"EUR">;
1107
+ }, z.core.$strip>>;
1108
+ served_from: z.ZodNullable<z.ZodString>;
1109
+ served_to: z.ZodNullable<z.ZodString>;
1110
+ note: z.ZodNullable<z.ZodString>;
1111
+ items: z.ZodArray<z.ZodObject<{
1112
+ id: z.ZodUUID;
1113
+ name: z.ZodString;
1114
+ description: z.ZodNullable<z.ZodString>;
1115
+ price: z.ZodNullable<z.ZodObject<{
1116
+ cents: z.ZodInt;
1117
+ currency: z.ZodLiteral<"EUR">;
1118
+ }, z.core.$strip>>;
1119
+ allergens: z.ZodArray<z.ZodObject<{
1120
+ code: z.ZodEnum<{
1121
+ gluten: "gluten";
1122
+ crustaceans: "crustaceans";
1123
+ eggs: "eggs";
1124
+ fish: "fish";
1125
+ peanuts: "peanuts";
1126
+ soybeans: "soybeans";
1127
+ milk: "milk";
1128
+ nuts: "nuts";
1129
+ celery: "celery";
1130
+ mustard: "mustard";
1131
+ sesame: "sesame";
1132
+ sulphites: "sulphites";
1133
+ lupin: "lupin";
1134
+ molluscs: "molluscs";
1135
+ }>;
1136
+ name: z.ZodString;
1137
+ icon: z.ZodNullable<z.ZodString>;
1138
+ state: z.ZodEnum<{
1139
+ contains: "contains";
1140
+ may_contain: "may_contain";
1141
+ }>;
1142
+ }, z.core.$strip>>;
1143
+ tags: z.ZodArray<z.ZodEnum<{
1144
+ kids: "kids";
1145
+ vegan: "vegan";
1146
+ vegetarian: "vegetarian";
1147
+ gluten_free: "gluten_free";
1148
+ lactose_free: "lactose_free";
1149
+ spicy: "spicy";
1150
+ new: "new";
1151
+ popular: "popular";
1152
+ chef_choice: "chef_choice";
1153
+ }>>;
1154
+ sold_out: z.ZodDefault<z.ZodBoolean>;
1155
+ lang_fallback: z.ZodBoolean;
1156
+ }, z.core.$strip>>;
1157
+ lang_fallback: z.ZodBoolean;
1158
+ }, z.core.$strip>>;
1159
+ }, z.core.$strip>>;
1160
+ next_date: z.ZodNullable<z.ZodISODate>;
1161
+ lang: z.ZodEnum<{
1162
+ et: "et";
1163
+ en: "en";
1164
+ }>;
1165
+ }, z.core.$strip>]>;
1166
+ type LunchResponse = z.infer<typeof LunchResponse>;
1167
+
1168
+ declare const PageKey: z.ZodString;
1169
+ type PageKey = z.infer<typeof PageKey>;
1170
+ /** One content block. `type` decides the other fields; sites ignore types they do not know. */
1171
+ declare const PageBlock: z.ZodObject<{
1172
+ type: z.ZodString;
1173
+ }, z.core.$loose>;
1174
+ type PageBlock = z.infer<typeof PageBlock>;
1175
+ /** GET /v1/pages/{key} */
1176
+ declare const Page: z.ZodObject<{
1177
+ id: z.ZodUUID;
1178
+ key: z.ZodString;
1179
+ title: z.ZodString;
1180
+ blocks: z.ZodArray<z.ZodObject<{
1181
+ type: z.ZodString;
1182
+ }, z.core.$loose>>;
1183
+ seo: z.ZodObject<{
1184
+ title: z.ZodNullable<z.ZodString>;
1185
+ description: z.ZodNullable<z.ZodString>;
1186
+ }, z.core.$strip>;
1187
+ lang: z.ZodEnum<{
1188
+ et: "et";
1189
+ en: "en";
1190
+ }>;
1191
+ lang_fallback: z.ZodBoolean;
1192
+ }, z.core.$strip>;
1193
+ type Page = z.infer<typeof Page>;
1194
+
1195
+ /** Next.js cache tags the SDK sets and `content.updated` names. */
1196
+ declare const CACHE_TAGS: {
1197
+ readonly site: "laudro:site";
1198
+ readonly menus: "laudro:menus";
1199
+ readonly lunch: "laudro:lunch";
1200
+ readonly hours: "laudro:hours";
1201
+ readonly packages: "laudro:packages";
1202
+ readonly booking: "laudro:booking";
1203
+ readonly page: (key: string) => string;
1204
+ };
1205
+ /**
1206
+ * `laudro:*` tags (what the SDK sets on fetches), plus `rb:*`. The `content.updated` payload still
1207
+ * carries only `rb:*` so older sites accept it; switch it to `laudro:*` after all sites run a
1208
+ * site-kit that expands both families.
1209
+ */
1210
+ declare const CacheTag: z.ZodString;
1211
+ /** Body of the `content.updated` webhook to a site. */
1212
+ declare const WebhookPayload: z.ZodObject<{
1213
+ id: z.ZodString;
1214
+ event: z.ZodLiteral<"content.updated">;
1215
+ site_id: z.ZodUUID;
1216
+ tags: z.ZodArray<z.ZodString>;
1217
+ at: z.ZodISODateTime;
1218
+ }, z.core.$strip>;
1219
+ type WebhookPayload = z.infer<typeof WebhookPayload>;
1220
+
1221
+ /** Header that carries the preview token with `?preview=1`. */
1222
+ declare const PREVIEW_TOKEN_HEADER = "laudro-preview-token";
1223
+ /** Old name of the preview token header. The API still accepts it; senders use the new one. */
1224
+ declare const LEGACY_PREVIEW_TOKEN_HEADER = "rb-preview-token";
1225
+ /** GET /v1/preview?token= : lets the site check a preview token before Draft Mode. */
1226
+ declare const PreviewQuery: z.ZodObject<{
1227
+ token: z.ZodString;
1228
+ }, z.core.$strip>;
1229
+ declare const PreviewCheck: z.ZodObject<{
1230
+ valid: z.ZodLiteral<true>;
1231
+ restaurant_id: z.ZodUUID;
1232
+ path: z.ZodString;
1233
+ expires_at: z.ZodISODateTime;
1234
+ }, z.core.$strip>;
1235
+ type PreviewCheck = z.infer<typeof PreviewCheck>;
1236
+
1237
+ type AnyObject = z.ZodObject;
1238
+ interface ApiRoute {
1239
+ method: "get" | "post";
1240
+ path: string;
1241
+ operationId: string;
1242
+ summary: string;
1243
+ query?: AnyObject;
1244
+ pathParams?: Record<string, z.ZodType>;
1245
+ body?: z.ZodType;
1246
+ /** Null: no body (204). */
1247
+ response: {
1248
+ status: number;
1249
+ schema: z.ZodType | null;
1250
+ description?: string;
1251
+ };
1252
+ /** Cache tags the SDK sets for this read. */
1253
+ tags?: string[];
1254
+ /** No site secret: operation-level `security: []`. Skips the auth, preview and rate-limit entries. */
1255
+ public?: boolean;
1256
+ /** Extra responses by status code (public routes only list what they can return). */
1257
+ extraResponses?: Record<string, {
1258
+ description: string;
1259
+ schema?: z.ZodType;
1260
+ }>;
1261
+ /** Accepts the optional Idempotency-Key header (409 while in progress, Idempotent-Replayed on replay). */
1262
+ idempotent?: boolean;
1263
+ }
1264
+ /** Every /v1 endpoint. The OpenAPI file and tests are generated from this list. */
1265
+ declare const API_ROUTES: ApiRoute[];
1266
+ type JsonSchema = Record<string, unknown>;
1267
+ /** OpenAPI 3.1 document for /v1, built from the zod schemas. */
1268
+ declare function buildOpenApi(opts?: {
1269
+ serverUrl?: string;
1270
+ version?: string;
1271
+ }): {
1272
+ openapi: string;
1273
+ info: {
1274
+ title: string;
1275
+ version: string;
1276
+ description: string;
1277
+ };
1278
+ servers: {
1279
+ url: string;
1280
+ }[];
1281
+ security: {
1282
+ siteSecret: never[];
1283
+ }[];
1284
+ components: {
1285
+ securitySchemes: {
1286
+ siteSecret: {
1287
+ type: string;
1288
+ scheme: string;
1289
+ description: string;
1290
+ };
1291
+ };
1292
+ parameters: {
1293
+ IdempotencyKey: {
1294
+ name: string;
1295
+ in: string;
1296
+ required: boolean;
1297
+ description: string;
1298
+ schema: {
1299
+ type: string;
1300
+ minLength: number;
1301
+ maxLength: number;
1302
+ pattern: string;
1303
+ };
1304
+ };
1305
+ };
1306
+ schemas: {
1307
+ [x: string]: JsonSchema;
1308
+ };
1309
+ };
1310
+ paths: Record<string, Record<string, unknown>>;
1311
+ };
1312
+
1313
+ /**
1314
+ * Maps each `rb:x` or `laudro:x` cache tag to both `laudro:x` and `rb:x` (deduped); other tags
1315
+ * pass through. The `content.updated` payload still names tags as `rb:*`, while the SDK tags
1316
+ * fetches with `laudro:*`, so a webhook route must revalidate every result.
1317
+ */
1318
+ declare function expandCacheTags(tags: string[]): string[];
1319
+
1320
+ interface LaudroClientOptions {
1321
+ /** Base URL including /v1, e.g. https://api.example.com/v1 */
1322
+ apiUrl: string;
1323
+ /** Site secret (lds_live_...). Server env only, never in the browser. */
1324
+ secret: string;
1325
+ /** Override fetch (tests). Defaults to global fetch. */
1326
+ fetch?: typeof fetch;
1327
+ /**
1328
+ * Retries for 429 and 5xx, and network errors. Reads and idempotent writes (form
1329
+ * requests, which always carry an Idempotency-Key) retry all; `track` retries 429 only.
1330
+ */
1331
+ retry?: RetryOptions;
1332
+ /** Fallback revalidate in seconds for reads. Default one hour. */
1333
+ revalidate?: number | false;
1334
+ /**
1335
+ * Framework hook for cacheable GETs (non-preview, with tags). Returns extra fetch init,
1336
+ * e.g. Next.js `{ next: { tags, revalidate } }`. Default: plain fetch, no cache hints.
1337
+ */
1338
+ readInit?: (ctx: {
1339
+ path: string;
1340
+ tags: string[];
1341
+ revalidate: number | false;
1342
+ }) => Partial<RequestInit> | undefined;
1343
+ }
1344
+ declare class LaudroApiError extends Error {
1345
+ readonly status: number;
1346
+ readonly problem: Problem | null;
1347
+ constructor(status: number, problem: Problem | null);
1348
+ /** Field errors of a 422, keyed by field path. */
1349
+ get fieldErrors(): Record<string, string>;
1350
+ }
1351
+ interface RequestOptions {
1352
+ query?: Record<string, string | number | boolean | undefined>;
1353
+ body?: unknown;
1354
+ method?: "GET" | "POST";
1355
+ /** Cache tags (laudro:menus, ...). Handed to `readInit`; Next.js turns them into `next.tags`. */
1356
+ tags?: string[];
1357
+ revalidate?: number | false;
1358
+ headers?: Record<string, string>;
1359
+ /** The call carries an Idempotency-Key, so network errors and 5xx are safe to retry. */
1360
+ idempotent?: boolean;
1361
+ /** Called with the response headers of a successful call. */
1362
+ onResponse?: (headers: Headers) => void;
1363
+ }
1364
+ /** Options for the form and track calls. */
1365
+ interface WriteOptions {
1366
+ /**
1367
+ * The visitor's IP, from the site route's request. Rate limits count per IP, so pass it;
1368
+ * without it every visitor of the site shares one bucket.
1369
+ */
1370
+ ip?: string;
1371
+ /**
1372
+ * Idempotency-Key header for form requests. Default: a random UUID per call, reused on
1373
+ * every retry of that call. Pass your own to dedupe across calls.
1374
+ */
1375
+ idempotencyKey?: string;
1376
+ /**
1377
+ * Called with the response headers of a successful form call. Site-kit reads the
1378
+ * `laudro-debug` header of a demo site here. Server side only.
1379
+ */
1380
+ onResponse?: (headers: Headers) => void;
1381
+ }
1382
+ /** Default fallback revalidate (seconds). A missed webhook heals within one hour. */
1383
+ declare const DEFAULT_REVALIDATE_SECONDS = 3600;
1384
+ declare function createClient(options: LaudroClientOptions): {
1385
+ request: <T>(path: string, opts?: RequestOptions) => Promise<T>;
1386
+ /** Restaurant name, logo, brand, social links, languages, booking mode, contact. */
1387
+ site: (q?: LangQuery) => Promise<{
1388
+ id: string;
1389
+ site_id: string;
1390
+ name: string;
1391
+ short_name: string | null;
1392
+ status: "demo" | "live" | "paused";
1393
+ timezone: string;
1394
+ default_lang: "et" | "en";
1395
+ languages: ("et" | "en")[];
1396
+ logo: {
1397
+ id: string;
1398
+ url: string;
1399
+ width: number | null;
1400
+ height: number | null;
1401
+ alt: string | null;
1402
+ blurhash: string | null;
1403
+ lang_fallback: boolean;
1404
+ } | null;
1405
+ brand: Record<string, string>;
1406
+ social_links: Record<string, string>;
1407
+ booking_mode: "provider" | "request" | "both" | "phone_only" | null;
1408
+ contact: {
1409
+ phone: string | null;
1410
+ email: string | null;
1411
+ address: string | null;
1412
+ };
1413
+ lang: "et" | "en";
1414
+ lang_fallback: boolean;
1415
+ reopen_on?: string | null | undefined;
1416
+ }>;
1417
+ locations: (q?: LangQuery) => Promise<{
1418
+ locations: {
1419
+ id: string;
1420
+ name: string;
1421
+ address: string | null;
1422
+ city: string | null;
1423
+ postcode: string | null;
1424
+ country: string;
1425
+ geo: {
1426
+ lat: number;
1427
+ lng: number;
1428
+ } | null;
1429
+ phone: string | null;
1430
+ email: string | null;
1431
+ google_maps_url: string | null;
1432
+ timezone: string;
1433
+ lang_fallback: boolean;
1434
+ }[];
1435
+ lang: "et" | "en";
1436
+ }>;
1437
+ /** Resolved hours per date, max 62 days. */
1438
+ hours: (q: HoursQuery) => Promise<{
1439
+ from: string;
1440
+ to: string;
1441
+ locations: {
1442
+ location_id: string;
1443
+ timezone: string;
1444
+ days: {
1445
+ date: string;
1446
+ weekday: number;
1447
+ holiday: string | null;
1448
+ open: {
1449
+ closed: boolean;
1450
+ intervals: {
1451
+ opens: string;
1452
+ closes: string;
1453
+ opens_at: string;
1454
+ closes_at: string;
1455
+ }[];
1456
+ special: boolean;
1457
+ note: string | null;
1458
+ } | null;
1459
+ kitchen: {
1460
+ closed: boolean;
1461
+ intervals: {
1462
+ opens: string;
1463
+ closes: string;
1464
+ opens_at: string;
1465
+ closes_at: string;
1466
+ }[];
1467
+ special: boolean;
1468
+ note: string | null;
1469
+ } | null;
1470
+ booking: {
1471
+ closed: boolean;
1472
+ intervals: {
1473
+ opens: string;
1474
+ closes: string;
1475
+ opens_at: string;
1476
+ closes_at: string;
1477
+ }[];
1478
+ special: boolean;
1479
+ note: string | null;
1480
+ } | null;
1481
+ lunch: {
1482
+ closed: boolean;
1483
+ intervals: {
1484
+ opens: string;
1485
+ closes: string;
1486
+ opens_at: string;
1487
+ closes_at: string;
1488
+ }[];
1489
+ special: boolean;
1490
+ note: string | null;
1491
+ } | null;
1492
+ }[];
1493
+ }[];
1494
+ lang: "et" | "en";
1495
+ }>;
1496
+ menus: (q?: MenusQuery) => Promise<{
1497
+ menus: {
1498
+ id: string;
1499
+ name: string;
1500
+ description: string | null;
1501
+ kind: "main" | "drinks" | "lunch" | "kids" | "event";
1502
+ sections: {
1503
+ id: string;
1504
+ name: string;
1505
+ description: string | null;
1506
+ items: {
1507
+ id: string;
1508
+ name: string;
1509
+ description: string | null;
1510
+ tagline: string | null;
1511
+ ingredients: string | null;
1512
+ price: {
1513
+ cents: number;
1514
+ currency: "EUR";
1515
+ } | null;
1516
+ sold_out: boolean;
1517
+ sold_out_until: string | null;
1518
+ image: {
1519
+ id: string;
1520
+ url: string;
1521
+ width: number | null;
1522
+ height: number | null;
1523
+ alt: string | null;
1524
+ blurhash: string | null;
1525
+ lang_fallback: boolean;
1526
+ } | null;
1527
+ allergens: {
1528
+ code: "gluten" | "crustaceans" | "eggs" | "fish" | "peanuts" | "soybeans" | "milk" | "nuts" | "celery" | "mustard" | "sesame" | "sulphites" | "lupin" | "molluscs";
1529
+ name: string;
1530
+ icon: string | null;
1531
+ state: "contains" | "may_contain";
1532
+ }[];
1533
+ tags: ("kids" | "vegan" | "vegetarian" | "gluten_free" | "lactose_free" | "spicy" | "new" | "popular" | "chef_choice")[];
1534
+ variants: {
1535
+ id: string;
1536
+ name: string;
1537
+ price: {
1538
+ cents: number;
1539
+ currency: "EUR";
1540
+ } | null;
1541
+ lang_fallback: boolean;
1542
+ }[];
1543
+ lang_fallback: boolean;
1544
+ }[];
1545
+ lang_fallback: boolean;
1546
+ }[];
1547
+ lang_fallback: boolean;
1548
+ }[];
1549
+ lang: "et" | "en";
1550
+ }>;
1551
+ /** `{ week }` returns each day of the ISO week; otherwise one day (default today). */
1552
+ lunch: {
1553
+ (q: LunchQuery & {
1554
+ week: string;
1555
+ }): Promise<LunchWeekResponse>;
1556
+ (q?: LunchQuery & {
1557
+ week?: undefined;
1558
+ }): Promise<LunchDayResponse>;
1559
+ };
1560
+ page: (key: string, q?: LangQuery) => Promise<{
1561
+ id: string;
1562
+ key: string;
1563
+ title: string;
1564
+ blocks: {
1565
+ [x: string]: unknown;
1566
+ type: string;
1567
+ }[];
1568
+ seo: {
1569
+ title: string | null;
1570
+ description: string | null;
1571
+ };
1572
+ lang: "et" | "en";
1573
+ lang_fallback: boolean;
1574
+ }>;
1575
+ packages: (q?: LangQuery) => Promise<{
1576
+ packages: {
1577
+ id: string;
1578
+ name: string;
1579
+ description: string | null;
1580
+ min_guests: number | null;
1581
+ max_guests: number | null;
1582
+ price: {
1583
+ cents: number;
1584
+ currency: "EUR";
1585
+ } | null;
1586
+ price_unit: "per_person" | "total";
1587
+ lang_fallback: boolean;
1588
+ }[];
1589
+ lang: "et" | "en";
1590
+ }>;
1591
+ booking: (q?: LangQuery) => Promise<{
1592
+ mode: "provider" | "request" | "both" | "phone_only" | null;
1593
+ locations: {
1594
+ location_id: string;
1595
+ mode: "provider" | "request" | "both" | "phone_only";
1596
+ provider: "tableonline" | "zenchef" | "quandoo" | null;
1597
+ provider_url: string | null;
1598
+ min_party: number;
1599
+ max_party: number;
1600
+ min_lead_minutes: number;
1601
+ max_days_ahead: number;
1602
+ confirm_text: string | null;
1603
+ phone: string | null;
1604
+ booking_hours: {
1605
+ weekday: number;
1606
+ opens: string;
1607
+ closes: string;
1608
+ }[];
1609
+ booking_hours_kind: "open" | "booking";
1610
+ lang_fallback: boolean;
1611
+ }[];
1612
+ lang: "et" | "en";
1613
+ }>;
1614
+ /** Check a preview token (from `/api/laudro-preview?token=`) before turning on Draft Mode. */
1615
+ checkPreview: (token: string) => Promise<{
1616
+ valid: true;
1617
+ restaurant_id: string;
1618
+ path: string;
1619
+ expires_at: string;
1620
+ }>;
1621
+ bookingRequests: {
1622
+ create: (body: BookingRequestCreate, o?: WriteOptions) => Promise<{
1623
+ id: string;
1624
+ status: "new";
1625
+ }>;
1626
+ };
1627
+ eventRequests: {
1628
+ create: (body: EventRequestCreate, o?: WriteOptions) => Promise<{
1629
+ id: string;
1630
+ status: "new";
1631
+ }>;
1632
+ };
1633
+ contact: {
1634
+ create: (body: ContactCreate, o?: WriteOptions) => Promise<{
1635
+ id: string;
1636
+ status: "new";
1637
+ }>;
1638
+ };
1639
+ /** Daily counter. Returns nothing (204). Never throws: analytics must not break a page. */
1640
+ track: (event: TrackEvent, o?: WriteOptions) => Promise<void>;
1641
+ /**
1642
+ * A client for Draft Mode: reads send `?preview=1` with the token and skip the cache, so
1643
+ * drafts never land in the shared Next.js cache.
1644
+ */
1645
+ withPreview: (token: string) => /*elided*/ any;
1646
+ };
1647
+ type LaudroClient = ReturnType<typeof createClient>;
1648
+ /** @deprecated Use LaudroApiError. */
1649
+ declare const RbApiError: typeof LaudroApiError;
1650
+ /** @deprecated Use LaudroApiError. */
1651
+ type RbApiError = LaudroApiError;
1652
+ /** @deprecated Use LaudroClient. */
1653
+ type RbClient = LaudroClient;
1654
+ /** @deprecated Use LaudroClientOptions. */
1655
+ type RbClientOptions = LaudroClientOptions;
1656
+
1657
+ /**
1658
+ * Form token `t` (technical brief section 8, timing check).
1659
+ * `<unix seconds>.<hex HMAC-SHA256(site secret, "rb-form:<unix>")>`.
1660
+ * Sign it on the site server when the form renders and put it in a hidden field. The API
1661
+ * drops forms sent less than 3 seconds or more than 2 hours after this time.
1662
+ * Still signs the legacy `rb-form:` string so a rollback to a pre-rename API keeps working (the new
1663
+ * API accepts both). Switch to `laudro-form:` in a later release.
1664
+ * WebCrypto only, so it runs in Node, edge and server components.
1665
+ */
1666
+ declare function signFormToken(secret: string, now?: Date): Promise<string>;
1667
+
1668
+ interface OpenNow {
1669
+ open: boolean;
1670
+ /** When the current interval ends (ISO with offset), if open. */
1671
+ closes_at: string | null;
1672
+ /** Start of the next interval in the given hours, if closed and one is known. */
1673
+ next_opens_at: string | null;
1674
+ }
1675
+ /**
1676
+ * Is the location open at `now`? Uses the resolved intervals of /v1/hours, which already
1677
+ * merge special days and carry UTC offsets, so no time zone maths is needed here.
1678
+ * Ask /v1/hours from yesterday so an interval that runs past midnight is included.
1679
+ */
1680
+ declare function openNow(hours: Pick<LocationHours, "days">, now?: Date, kind?: HoursKind): OpenNow;
1681
+
1682
+ declare const WEBHOOK_SIGNATURE_HEADER = "laudro-signature";
1683
+ declare const WEBHOOK_TOLERANCE_SECONDS = 300;
1684
+ type VerifyWebhookResult = {
1685
+ ok: true;
1686
+ body: string;
1687
+ } | {
1688
+ ok: false;
1689
+ reason: "missing_signature" | "bad_signature" | "expired";
1690
+ };
1691
+ /**
1692
+ * Verify a `content.updated` webhook (technical brief section 10).
1693
+ * Header: `laudro-signature: t=<unix>,v1=<hex HMAC-SHA256 of "t.body">`.
1694
+ * The backend signs with the same scheme (`signWebhook` in `packages/core/src/sites/tokens.ts`).
1695
+ */
1696
+ declare function verifyWebhook(req: Request, secret: string, now?: Date): Promise<VerifyWebhookResult>;
1697
+
1698
+ export { API_ROUTES, BookingMode, BookingRequestCreate, CACHE_TAGS, CacheTag, ContactCreate, DEFAULT_REVALIDATE_SECONDS, EventRequestCreate, HOURS_MAX_DAYS, HoursDay, HoursInterval, HoursKind, HoursQuery, HoursResponse, KindHours, LEGACY_PREVIEW_TOKEN_HEADER, LangQuery, LaudroApiError, Location, LocationHours, LocationsResponse, LunchDay, LunchDayResponse, LunchItem, LunchOffer, LunchQuery, LunchResponse, LunchWeekResponse, Menu, MenuItem, MenuItemVariant, MenuKind, MenuSection, MenusQuery, MenusResponse, PREVIEW_TOKEN_HEADER, Page, PageBlock, PageKey, PreviewCheck, PreviewQuery, Problem, RbApiError, RestaurantStatus, RetryOptions, Site, TrackEvent, WEBHOOK_SIGNATURE_HEADER, WEBHOOK_TOLERANCE_SECONDS, WebhookPayload, buildOpenApi, createClient, expandCacheTags, openNow, signFormToken, verifyWebhook };
1699
+ export type { ApiRoute, LaudroClient, LaudroClientOptions, OpenNow, RbClient, RbClientOptions, RequestOptions, VerifyWebhookResult, WriteOptions };