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