order3000 0.25.0 → 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/schemas.cjs CHANGED
@@ -3,6 +3,24 @@
3
3
  var v4 = require('zod/v4');
4
4
  var deliveryAddressSchema = require('./deliveryAddressSchema-DQJ8BDYX.cjs');
5
5
 
6
+ const abandonBasketRequestSchema = v4.z.object({
7
+ sessionId: v4.z.string().min(1)
8
+ });
9
+
10
+ const abandonBasketResponseSchema = v4.z.object({
11
+ abandonedCount: v4.z.int().min(0).max(9007199254740991)
12
+ });
13
+
14
+ const actorTypeSchema = v4.z.enum(["human", "robot"]);
15
+
16
+ const unitSchema = v4.z.enum([
17
+ "grams",
18
+ "kilograms",
19
+ "liters",
20
+ "milliliters",
21
+ "pieces"
22
+ ]);
23
+
6
24
  const addToBasketRequestSchema = v4.z.object({
7
25
  venueId: v4.z.uuid(),
8
26
  sessionId: v4.z.string().min(1),
@@ -11,16 +29,20 @@ const addToBasketRequestSchema = v4.z.object({
11
29
  menuItemId: v4.z.string().min(1),
12
30
  role: v4.z.optional(v4.z.string()),
13
31
  quantity: v4.z.optional(v4.z.number().gt(0)),
14
- unit: v4.z.optional(
15
- v4.z.enum(["grams", "kilograms", "liters", "milliliters", "pieces"])
16
- )
32
+ get unit() {
33
+ return unitSchema.optional();
34
+ }
17
35
  })
18
36
  ).min(1),
19
37
  metadata: v4.z.optional(v4.z.object({}).catchall(v4.z.any()))
20
38
  }).describe("Add an item to the shopping basket");
21
39
 
40
+ const currencySchema = v4.z.enum(["EUR", "CHF"]);
41
+
22
42
  const basketTotalsSchema = v4.z.object({
23
- currency: v4.z.enum(["EUR", "CHF"]),
43
+ get currency() {
44
+ return currencySchema;
45
+ },
24
46
  itemsTotal: v4.z.int().min(0).max(9007199254740991),
25
47
  taxAmount: v4.z.int().min(0).max(9007199254740991),
26
48
  depositCharge: v4.z.int().min(0).max(9007199254740991),
@@ -44,7 +66,9 @@ const addToBasketResponseSchema = v4.z.object({
44
66
  depositwareTemplateId: v4.z.string(),
45
67
  name: v4.z.object({}).catchall(v4.z.string()),
46
68
  amount: v4.z.int().min(0).max(9007199254740991),
47
- currency: v4.z.enum(["EUR", "CHF"])
69
+ get currency() {
70
+ return currencySchema;
71
+ }
48
72
  })
49
73
  ),
50
74
  get totals() {
@@ -52,6 +76,60 @@ const addToBasketResponseSchema = v4.z.object({
52
76
  }
53
77
  });
54
78
 
79
+ const additiveFunctionSchema = v4.z.enum([
80
+ "acid",
81
+ "acidity_regulator",
82
+ "anti_caking_agent",
83
+ "anti_foaming_agent",
84
+ "antioxidant",
85
+ "bulking_agent",
86
+ "carrier",
87
+ "colour",
88
+ "emulsifier",
89
+ "emulsifying_salt",
90
+ "firming_agent",
91
+ "flavour_enhancer",
92
+ "flour_treatment_agent",
93
+ "foaming_agent",
94
+ "gelling_agent",
95
+ "glazing_agent",
96
+ "humectant",
97
+ "modified_starch",
98
+ "preservative",
99
+ "packaging_gas",
100
+ "propellant_gas",
101
+ "raising_agent",
102
+ "sequestrant",
103
+ "stabiliser",
104
+ "sweetener",
105
+ "thickener"
106
+ ]);
107
+
108
+ const areaBookingModeSchema = v4.z.enum(["slot", "day"]);
109
+
110
+ const areaBookingRequestSourceSchema = v4.z.enum([
111
+ "website",
112
+ "phone",
113
+ "walk_in"
114
+ ]);
115
+
116
+ const areaBookingRequestStatusSchema = v4.z.enum([
117
+ "pending",
118
+ "approved",
119
+ "rejected",
120
+ "cancelled"
121
+ ]);
122
+
123
+ const areaBookingStatusSchema = v4.z.enum([
124
+ "confirmed",
125
+ "arrived",
126
+ "completed",
127
+ "cancelled",
128
+ "no_show"
129
+ ]);
130
+
131
+ const assetTypeSchema = v4.z.enum(["image", "video", "document"]);
132
+
55
133
  const areaSchema = v4.z.object({
56
134
  id: v4.z.string(),
57
135
  venueId: v4.z.string(),
@@ -63,7 +141,9 @@ const areaSchema = v4.z.object({
63
141
  v4.z.int().min(-9007199254740991).max(9007199254740991)
64
142
  ),
65
143
  maxCapacity: v4.z.int().min(-9007199254740991).max(9007199254740991),
66
- currency: v4.z.enum(["EUR", "CHF"]),
144
+ get currency() {
145
+ return currencySchema;
146
+ },
67
147
  basePrice: v4.z.nullable(v4.z.int().min(-9007199254740991).max(9007199254740991)),
68
148
  perPersonPrice: v4.z.nullable(
69
149
  v4.z.int().min(-9007199254740991).max(9007199254740991)
@@ -77,12 +157,19 @@ const areaSchema = v4.z.object({
77
157
  })
78
158
  )
79
159
  ),
80
- bookingMode: v4.z.enum(["slot", "day"]),
160
+ get bookingMode() {
161
+ return areaBookingModeSchema;
162
+ },
163
+ isBookable: v4.z.optional(v4.z.boolean()),
164
+ isPublic: v4.z.optional(v4.z.boolean()),
165
+ isActive: v4.z.optional(v4.z.boolean()),
81
166
  assets: v4.z.optional(
82
167
  v4.z.array(
83
168
  v4.z.object({
84
169
  id: v4.z.string(),
85
- type: v4.z.enum(["image", "video", "document"]),
170
+ get type() {
171
+ return assetTypeSchema;
172
+ },
86
173
  tags: v4.z.nullable(v4.z.array(v4.z.string())),
87
174
  filename: v4.z.string(),
88
175
  contentType: v4.z.string(),
@@ -106,9 +193,16 @@ const areaSchema = v4.z.object({
106
193
  )
107
194
  )
108
195
  }).describe(
109
- "A bookable + public area for a venue. Assets are only included when the request expands them."
196
+ "A bookable + public area for a venue. Assets are only included when the request expands them. Operational flags (`isActive`, `isPublic`, `isBookable`) and audit columns are only populated for authenticated venue staff."
110
197
  );
111
198
 
199
+ const articleEditorSaveStateSchema = v4.z.enum([
200
+ "idle",
201
+ "saving",
202
+ "saved",
203
+ "error"
204
+ ]);
205
+
112
206
  const articleMentionCountsSchema = v4.z.object({
113
207
  dishes: v4.z.int().min(0).max(9007199254740991),
114
208
  beverages: v4.z.int().min(0).max(9007199254740991),
@@ -117,6 +211,41 @@ const articleMentionCountsSchema = v4.z.object({
117
211
  rituals: v4.z.int().min(0).max(9007199254740991)
118
212
  });
119
213
 
214
+ const articleStatusSchema = v4.z.enum(["draft", "published"]);
215
+
216
+ const autoExtendFulfillmentIfExpiredRequestSchema = v4.z.object({
217
+ publicId: v4.z.string().min(1),
218
+ sessionId: v4.z.string().min(1),
219
+ proposedFulfillmentAt: v4.z.iso.datetime()
220
+ });
221
+
222
+ const autoExtendFulfillmentIfExpiredResponseSchema = v4.z.object({
223
+ extended: v4.z.boolean(),
224
+ teamOrderId: v4.z.string(),
225
+ status: v4.z.string(),
226
+ fulfillmentAt: v4.z.iso.datetime(),
227
+ deadlineAt: v4.z.nullable(v4.z.iso.datetime()),
228
+ previousFulfillmentAt: v4.z.iso.datetime(),
229
+ waitingCount: v4.z.int().min(0).max(9007199254740991)
230
+ });
231
+
232
+ const basketStatusSchema = v4.z.enum(["active", "abandoned", "converted"]);
233
+
234
+ const beverageCategorySchema = v4.z.enum([
235
+ "wine",
236
+ "beer",
237
+ "coffee",
238
+ "tea",
239
+ "cocktail",
240
+ "juice",
241
+ "soft_drink",
242
+ "dairy_drink",
243
+ "spirit",
244
+ "water"
245
+ ]);
246
+
247
+ const billingModeSchema = v4.z.enum(["single_anchor", "split"]);
248
+
120
249
  const cancelSubscriptionRequestSchema = v4.z.object({
121
250
  subscriberId: v4.z.string().min(1)
122
251
  });
@@ -140,6 +269,11 @@ const cancelTeamOrderResponseSchema = v4.z.object({
140
269
  cancelledAt: v4.z.iso.datetime()
141
270
  });
142
271
 
272
+ const cancellationReasonSchema = v4.z.enum([
273
+ "customer_request",
274
+ "restaurant_request"
275
+ ]);
276
+
143
277
  const confirmOrderRequestSchema = v4.z.object({
144
278
  venueAccessor: v4.z.string().min(1),
145
279
  orderId: v4.z.string().min(1),
@@ -156,11 +290,267 @@ const confirmOrderResponseSchema = v4.z.object({
156
290
  customerId: v4.z.optional(v4.z.string())
157
291
  });
158
292
 
293
+ const contactPreferenceSchema = v4.z.enum(["email", "phone", "sms", "none"]);
294
+
295
+ const countryCodeSchema = v4.z.enum([
296
+ "AD",
297
+ "AE",
298
+ "AF",
299
+ "AG",
300
+ "AI",
301
+ "AL",
302
+ "AM",
303
+ "AO",
304
+ "AQ",
305
+ "AR",
306
+ "AS",
307
+ "AT",
308
+ "AU",
309
+ "AW",
310
+ "AX",
311
+ "AZ",
312
+ "BA",
313
+ "BB",
314
+ "BD",
315
+ "BE",
316
+ "BF",
317
+ "BG",
318
+ "BH",
319
+ "BI",
320
+ "BJ",
321
+ "BL",
322
+ "BM",
323
+ "BN",
324
+ "BO",
325
+ "BQ",
326
+ "BR",
327
+ "BS",
328
+ "BT",
329
+ "BV",
330
+ "BW",
331
+ "BY",
332
+ "BZ",
333
+ "CA",
334
+ "CC",
335
+ "CD",
336
+ "CF",
337
+ "CG",
338
+ "CH",
339
+ "CI",
340
+ "CK",
341
+ "CL",
342
+ "CM",
343
+ "CN",
344
+ "CO",
345
+ "CR",
346
+ "CU",
347
+ "CV",
348
+ "CW",
349
+ "CX",
350
+ "CY",
351
+ "CZ",
352
+ "DE",
353
+ "DJ",
354
+ "DK",
355
+ "DM",
356
+ "DO",
357
+ "DZ",
358
+ "EC",
359
+ "EE",
360
+ "EG",
361
+ "EH",
362
+ "ER",
363
+ "ES",
364
+ "ET",
365
+ "FI",
366
+ "FJ",
367
+ "FK",
368
+ "FM",
369
+ "FO",
370
+ "FR",
371
+ "GA",
372
+ "GB",
373
+ "GD",
374
+ "GE",
375
+ "GF",
376
+ "GG",
377
+ "GH",
378
+ "GI",
379
+ "GL",
380
+ "GM",
381
+ "GN",
382
+ "GP",
383
+ "GQ",
384
+ "GR",
385
+ "GS",
386
+ "GT",
387
+ "GU",
388
+ "GW",
389
+ "GY",
390
+ "HK",
391
+ "HM",
392
+ "HN",
393
+ "HR",
394
+ "HT",
395
+ "HU",
396
+ "ID",
397
+ "IE",
398
+ "IL",
399
+ "IM",
400
+ "IN",
401
+ "IO",
402
+ "IQ",
403
+ "IR",
404
+ "IS",
405
+ "IT",
406
+ "JE",
407
+ "JM",
408
+ "JO",
409
+ "JP",
410
+ "KE",
411
+ "KG",
412
+ "KH",
413
+ "KI",
414
+ "KM",
415
+ "KN",
416
+ "KP",
417
+ "KR",
418
+ "KW",
419
+ "KY",
420
+ "KZ",
421
+ "LA",
422
+ "LB",
423
+ "LC",
424
+ "LI",
425
+ "LK",
426
+ "LR",
427
+ "LS",
428
+ "LT",
429
+ "LU",
430
+ "LV",
431
+ "LY",
432
+ "MA",
433
+ "MC",
434
+ "MD",
435
+ "ME",
436
+ "MF",
437
+ "MG",
438
+ "MH",
439
+ "MK",
440
+ "ML",
441
+ "MM",
442
+ "MN",
443
+ "MO",
444
+ "MP",
445
+ "MQ",
446
+ "MR",
447
+ "MS",
448
+ "MT",
449
+ "MU",
450
+ "MV",
451
+ "MW",
452
+ "MX",
453
+ "MY",
454
+ "MZ",
455
+ "NA",
456
+ "NC",
457
+ "NE",
458
+ "NF",
459
+ "NG",
460
+ "NI",
461
+ "NL",
462
+ "NO",
463
+ "NP",
464
+ "NR",
465
+ "NU",
466
+ "NZ",
467
+ "OM",
468
+ "PA",
469
+ "PE",
470
+ "PF",
471
+ "PG",
472
+ "PH",
473
+ "PK",
474
+ "PL",
475
+ "PM",
476
+ "PN",
477
+ "PR",
478
+ "PS",
479
+ "PT",
480
+ "PW",
481
+ "PY",
482
+ "QA",
483
+ "RE",
484
+ "RO",
485
+ "RS",
486
+ "RU",
487
+ "RW",
488
+ "SA",
489
+ "SB",
490
+ "SC",
491
+ "SD",
492
+ "SE",
493
+ "SG",
494
+ "SH",
495
+ "SI",
496
+ "SJ",
497
+ "SK",
498
+ "SL",
499
+ "SM",
500
+ "SN",
501
+ "SO",
502
+ "SR",
503
+ "SS",
504
+ "ST",
505
+ "SV",
506
+ "SX",
507
+ "SY",
508
+ "SZ",
509
+ "TC",
510
+ "TD",
511
+ "TF",
512
+ "TG",
513
+ "TH",
514
+ "TJ",
515
+ "TK",
516
+ "TL",
517
+ "TM",
518
+ "TN",
519
+ "TO",
520
+ "TR",
521
+ "TT",
522
+ "TV",
523
+ "TW",
524
+ "TZ",
525
+ "UA",
526
+ "UG",
527
+ "UM",
528
+ "US",
529
+ "UY",
530
+ "UZ",
531
+ "VA",
532
+ "VC",
533
+ "VE",
534
+ "VG",
535
+ "VI",
536
+ "VN",
537
+ "VU",
538
+ "WF",
539
+ "WS",
540
+ "YE",
541
+ "YT",
542
+ "ZA",
543
+ "ZM",
544
+ "ZW"
545
+ ]);
546
+
159
547
  const createDeltaPaymentIntentRequestSchema = v4.z.object({
160
548
  venueAccessor: v4.z.string().min(1),
161
549
  basketId: v4.z.string().min(1),
162
550
  sessionId: v4.z.string().min(1),
163
- currency: v4.z.enum(["EUR", "CHF"]),
551
+ get currency() {
552
+ return currencySchema;
553
+ },
164
554
  declaredReturns: v4.z.optional(
165
555
  v4.z.array(
166
556
  v4.z.object({
@@ -187,6 +577,8 @@ const createDeltaPaymentIntentResponseSchema = v4.z.object({
187
577
  ])
188
578
  });
189
579
 
580
+ const slotModeSchema = v4.z.enum(["interval", "duration"]);
581
+
190
582
  const createEventRequestSchema = v4.z.object({
191
583
  accessor: v4.z.string().nullish(),
192
584
  name: v4.z.union([
@@ -224,7 +616,9 @@ const createEventRequestSchema = v4.z.object({
224
616
  lastSeatingTime: v4.z.string().regex(/^\d{2}:\d{2}$/).nullish()
225
617
  })
226
618
  ).min(1),
227
- slotMode: v4.z.enum(["interval", "duration"]).nullish(),
619
+ get slotMode() {
620
+ return slotModeSchema.optional();
621
+ },
228
622
  intervalDuration: v4.z.number().nullish(),
229
623
  duration: v4.z.number().nullish()
230
624
  }).nullish(),
@@ -271,7 +665,9 @@ const createEventResponseSchema = v4.z.object({
271
665
  const createPaymentIntentRequestSchema = v4.z.object({
272
666
  venueAccessor: v4.z.string().min(1),
273
667
  basketId: v4.z.string().min(1),
274
- currency: v4.z.enum(["EUR", "CHF"]),
668
+ get currency() {
669
+ return currencySchema;
670
+ },
275
671
  sessionId: v4.z.string().min(1),
276
672
  get fulfillmentType() {
277
673
  return deliveryAddressSchema.fulfillmentTypeSchema;
@@ -324,6 +720,33 @@ const createTeamOrderResponseSchema = v4.z.object({
324
720
  teamOrderId: v4.z.uuid()
325
721
  });
326
722
 
723
+ const dayOfWeekSchema = v4.z.enum([
724
+ "monday",
725
+ "tuesday",
726
+ "wednesday",
727
+ "thursday",
728
+ "friday",
729
+ "saturday",
730
+ "sunday"
731
+ ]);
732
+
733
+ const depositTransactionTypeSchema = v4.z.enum([
734
+ "charged",
735
+ "refunded",
736
+ "forfeited",
737
+ "waived",
738
+ "credit_used"
739
+ ]);
740
+
741
+ const depositwareStatusSchema = v4.z.enum([
742
+ "available",
743
+ "issued",
744
+ "returned",
745
+ "lost",
746
+ "damaged",
747
+ "retired"
748
+ ]);
749
+
327
750
  const editArticleRequestSchema = v4.z.object({
328
751
  slug: v4.z.optional(v4.z.object({}).catchall(v4.z.any())),
329
752
  title: v4.z.optional(v4.z.object({}).catchall(v4.z.any())),
@@ -369,7 +792,9 @@ const editArticleResponseSchema = v4.z.object({
369
792
  isActive: v4.z.boolean(),
370
793
  isFeatured: v4.z.boolean(),
371
794
  priority: v4.z.int().min(-2147483648).max(2147483647),
372
- status: v4.z.enum(["draft", "published"]),
795
+ get status() {
796
+ return articleStatusSchema;
797
+ },
373
798
  publishedAt: v4.z.nullable(v4.z.string()),
374
799
  createdAt: v4.z.nullable(v4.z.string()),
375
800
  updatedAt: v4.z.nullable(v4.z.string()),
@@ -383,6 +808,20 @@ const editArticleResponseSchema = v4.z.object({
383
808
  "A venue's article. `content` is a TipTap JSON document; treat it as opaque on the wire. `featureImage` is resolved per-locale with a fallback to the venue's primary locale. `ogImage` overrides the social-card image when set; `null` means it falls back to `featureImage`."
384
809
  );
385
810
 
811
+ const entityOwnerTypeSchema = v4.z.enum([
812
+ "event",
813
+ "dish",
814
+ "beverage",
815
+ "venue",
816
+ "menu",
817
+ "menuSubscription",
818
+ "ritual"
819
+ ]);
820
+
821
+ const enumFalseSchema = v4.z.enum(["false"]);
822
+
823
+ const enumTrueSchema = v4.z.enum(["true"]);
824
+
386
825
  const extendDeadlineTeamOrderRequestSchema = v4.z.object({
387
826
  publicId: v4.z.string().min(1),
388
827
  sessionId: v4.z.string().min(1),
@@ -397,6 +836,124 @@ const extendDeadlineTeamOrderResponseSchema = v4.z.object({
397
836
  deadlineAt: v4.z.nullable(v4.z.iso.datetime())
398
837
  });
399
838
 
839
+ const featureCategorySchema = v4.z.enum([
840
+ "articles",
841
+ "auth",
842
+ "billing",
843
+ "core",
844
+ "customers",
845
+ "events",
846
+ "inventory",
847
+ "menus",
848
+ "orders",
849
+ "platform",
850
+ "promotions",
851
+ "reservations",
852
+ "settings",
853
+ "venues"
854
+ ]);
855
+
856
+ const featureStatusSchema = v4.z.enum([
857
+ "backlog",
858
+ "in_development",
859
+ "released"
860
+ ]);
861
+
862
+ const fetchAreaBookingsResponseSchema = v4.z.array(
863
+ v4.z.object({
864
+ id: v4.z.string(),
865
+ areaId: v4.z.string(),
866
+ bookingDate: v4.z.string(),
867
+ startTime: v4.z.nullable(v4.z.string()),
868
+ endTime: v4.z.nullable(v4.z.string()),
869
+ partySize: v4.z.int().min(-9007199254740991).max(9007199254740991),
870
+ get status() {
871
+ return areaBookingStatusSchema;
872
+ },
873
+ customerFirstName: v4.z.optional(v4.z.string()),
874
+ customerLastName: v4.z.optional(v4.z.string()),
875
+ totalPrice: v4.z.optional(
876
+ v4.z.int().min(-9007199254740991).max(9007199254740991)
877
+ ),
878
+ get currency() {
879
+ return currencySchema.optional();
880
+ },
881
+ confirmationCode: v4.z.string().nullish()
882
+ })
883
+ );
884
+
885
+ const fetchAreaResponseSchema = v4.z.object({
886
+ id: v4.z.string(),
887
+ venueId: v4.z.string(),
888
+ accessor: v4.z.string(),
889
+ name: v4.z.object({}).catchall(v4.z.string()),
890
+ description: v4.z.nullable(v4.z.object({}).catchall(v4.z.string())),
891
+ longDescription: v4.z.nullable(v4.z.object({}).catchall(v4.z.string())),
892
+ minCapacity: v4.z.nullable(
893
+ v4.z.int().min(-9007199254740991).max(9007199254740991)
894
+ ),
895
+ maxCapacity: v4.z.int().min(-9007199254740991).max(9007199254740991),
896
+ get currency() {
897
+ return currencySchema;
898
+ },
899
+ basePrice: v4.z.nullable(v4.z.int().min(-9007199254740991).max(9007199254740991)),
900
+ perPersonPrice: v4.z.nullable(
901
+ v4.z.int().min(-9007199254740991).max(9007199254740991)
902
+ ),
903
+ features: v4.z.nullable(
904
+ v4.z.array(
905
+ v4.z.object({
906
+ icon: v4.z.string(),
907
+ label: v4.z.object({}).catchall(v4.z.string()),
908
+ description: v4.z.optional(v4.z.object({}).catchall(v4.z.string()))
909
+ })
910
+ )
911
+ ),
912
+ get bookingMode() {
913
+ return areaBookingModeSchema;
914
+ },
915
+ isBookable: v4.z.optional(v4.z.boolean()),
916
+ isPublic: v4.z.optional(v4.z.boolean()),
917
+ isActive: v4.z.optional(v4.z.boolean()),
918
+ assets: v4.z.optional(
919
+ v4.z.array(
920
+ v4.z.object({
921
+ id: v4.z.string(),
922
+ get type() {
923
+ return assetTypeSchema;
924
+ },
925
+ tags: v4.z.nullable(v4.z.array(v4.z.string())),
926
+ filename: v4.z.string(),
927
+ contentType: v4.z.string(),
928
+ metadata: v4.z.nullable(
929
+ v4.z.object({
930
+ width: v4.z.optional(v4.z.number()),
931
+ height: v4.z.optional(v4.z.number()),
932
+ duration: v4.z.optional(v4.z.number())
933
+ })
934
+ ),
935
+ cropArea: v4.z.nullable(
936
+ v4.z.object({
937
+ x: v4.z.number(),
938
+ y: v4.z.number(),
939
+ width: v4.z.number(),
940
+ height: v4.z.number()
941
+ })
942
+ ),
943
+ publicUrl: v4.z.url()
944
+ })
945
+ )
946
+ )
947
+ }).describe(
948
+ "A bookable + public area for a venue. Assets are only included when the request expands them. Operational flags (`isActive`, `isPublic`, `isBookable`) and audit columns are only populated for authenticated venue staff."
949
+ );
950
+
951
+ const fetchAreasResponseSchema = v4.z.array(
952
+ v4.z.lazy(() => areaSchema).describe(
953
+ "A bookable + public area for a venue. Assets are only included when the request expands them. Operational flags (`isActive`, `isPublic`, `isBookable`) and audit columns are only populated for authenticated venue staff."
954
+ )
955
+ );
956
+
400
957
  const fetchArticleResponseSchema = v4.z.object({
401
958
  id: v4.z.string(),
402
959
  venueId: v4.z.string(),
@@ -411,7 +968,9 @@ const fetchArticleResponseSchema = v4.z.object({
411
968
  isActive: v4.z.boolean(),
412
969
  isFeatured: v4.z.boolean(),
413
970
  priority: v4.z.int().min(-2147483648).max(2147483647),
414
- status: v4.z.enum(["draft", "published"]),
971
+ get status() {
972
+ return articleStatusSchema;
973
+ },
415
974
  publishedAt: v4.z.nullable(v4.z.string()),
416
975
  createdAt: v4.z.nullable(v4.z.string()),
417
976
  updatedAt: v4.z.nullable(v4.z.string()),
@@ -440,7 +999,9 @@ const fetchArticlesResponseSchema = v4.z.array(
440
999
  isActive: v4.z.boolean(),
441
1000
  isFeatured: v4.z.boolean(),
442
1001
  priority: v4.z.int().min(-2147483648).max(2147483647),
443
- status: v4.z.enum(["draft", "published"]),
1002
+ get status() {
1003
+ return articleStatusSchema;
1004
+ },
444
1005
  publishedAt: v4.z.nullable(v4.z.string()),
445
1006
  createdAt: v4.z.nullable(v4.z.string()),
446
1007
  updatedAt: v4.z.nullable(v4.z.string()),
@@ -456,22 +1017,421 @@ const fetchArticlesResponseSchema = v4.z.array(
456
1017
  })
457
1018
  );
458
1019
 
1020
+ const fetchBasketResponseSchema = v4.z.object({
1021
+ id: v4.z.uuid(),
1022
+ sessionId: v4.z.string(),
1023
+ get status() {
1024
+ return basketStatusSchema;
1025
+ },
1026
+ get currency() {
1027
+ return currencySchema;
1028
+ },
1029
+ items: v4.z.array(
1030
+ v4.z.object({
1031
+ id: v4.z.uuid(),
1032
+ metadata: v4.z.nullable(v4.z.object({}).catchall(v4.z.any())),
1033
+ deposit: v4.z.nullable(
1034
+ v4.z.object({
1035
+ depositwareTemplateId: v4.z.string(),
1036
+ name: v4.z.object({}).catchall(v4.z.string()),
1037
+ amount: v4.z.int().min(0).max(9007199254740991),
1038
+ get currency() {
1039
+ return currencySchema;
1040
+ }
1041
+ })
1042
+ ),
1043
+ menuItems: v4.z.array(
1044
+ v4.z.object({
1045
+ menuItemId: v4.z.string(),
1046
+ role: v4.z.nullable(v4.z.string()),
1047
+ quantity: v4.z.number().gt(0),
1048
+ get unit() {
1049
+ return unitSchema;
1050
+ }
1051
+ })
1052
+ )
1053
+ })
1054
+ ),
1055
+ itemCount: v4.z.int().min(0).max(9007199254740991),
1056
+ get totals() {
1057
+ return basketTotalsSchema;
1058
+ },
1059
+ declaredReturns: v4.z.array(
1060
+ v4.z.object({
1061
+ depositwareTemplateId: v4.z.string(),
1062
+ count: v4.z.int().min(0).max(9007199254740991)
1063
+ })
1064
+ ),
1065
+ expiresAt: v4.z.string(),
1066
+ createdAt: v4.z.nullable(v4.z.string()),
1067
+ updatedAt: v4.z.nullable(v4.z.string())
1068
+ });
1069
+
459
1070
  const fetchEventResponseSchema = v4.z.object({
460
1071
  id: v4.z.string(),
461
1072
  venueId: v4.z.string(),
462
1073
  accessor: v4.z.nullable(v4.z.string()),
463
- name: v4.z.object({}).catchall(v4.z.string())
464
- }).catchall(v4.z.any()).describe(
1074
+ name: v4.z.object({}).catchall(v4.z.string()),
1075
+ description: v4.z.nullable(v4.z.object({}).catchall(v4.z.string())),
1076
+ scheduleId: v4.z.nullable(v4.z.string()),
1077
+ maxBookings: v4.z.nullable(v4.z.number()),
1078
+ maxGuests: v4.z.nullable(v4.z.number()),
1079
+ minPartySize: v4.z.nullable(v4.z.number()),
1080
+ maxPartySize: v4.z.nullable(v4.z.number()),
1081
+ isPublic: v4.z.boolean(),
1082
+ isRecurring: v4.z.boolean(),
1083
+ reservationsEnabled: v4.z.boolean(),
1084
+ bookingOpensAtDays: v4.z.nullable(v4.z.number()),
1085
+ bookingClosesAtOffset: v4.z.nullable(v4.z.number()),
1086
+ isActive: v4.z.boolean(),
1087
+ isFeatured: v4.z.boolean(),
1088
+ priority: v4.z.number(),
1089
+ createdAt: v4.z.nullable(v4.z.any()),
1090
+ updatedAt: v4.z.nullable(v4.z.any()),
1091
+ nextOccurrence: v4.z.string().nullish(),
1092
+ schedule: v4.z.optional(
1093
+ v4.z.object({
1094
+ id: v4.z.string(),
1095
+ name: v4.z.object({}).catchall(v4.z.string()),
1096
+ description: v4.z.nullable(v4.z.object({}).catchall(v4.z.string())),
1097
+ timezone: v4.z.string(),
1098
+ rrule: v4.z.nullable(v4.z.string()),
1099
+ exdates: v4.z.nullable(v4.z.array(v4.z.string())),
1100
+ validFrom: v4.z.nullable(v4.z.string()),
1101
+ validTo: v4.z.nullable(v4.z.string()),
1102
+ priority: v4.z.nullable(v4.z.number()),
1103
+ isActive: v4.z.boolean(),
1104
+ get slotMode() {
1105
+ return slotModeSchema;
1106
+ },
1107
+ intervalDuration: v4.z.nullable(v4.z.number()),
1108
+ duration: v4.z.nullable(v4.z.number()),
1109
+ scheduleTimeSlots: v4.z.optional(
1110
+ v4.z.array(
1111
+ v4.z.object({
1112
+ get dayOfWeek() {
1113
+ return dayOfWeekSchema;
1114
+ },
1115
+ timeSlot: v4.z.object({
1116
+ id: v4.z.string(),
1117
+ startTime: v4.z.string(),
1118
+ endTime: v4.z.nullable(v4.z.string()),
1119
+ isActive: v4.z.nullable(v4.z.boolean()),
1120
+ isSchedulable: v4.z.nullable(v4.z.boolean())
1121
+ })
1122
+ })
1123
+ )
1124
+ )
1125
+ })
1126
+ ),
1127
+ menus: v4.z.optional(
1128
+ v4.z.array(
1129
+ v4.z.object({
1130
+ id: v4.z.string(),
1131
+ accessor: v4.z.string(),
1132
+ name: v4.z.object({}).catchall(v4.z.string()),
1133
+ category: v4.z.string()
1134
+ })
1135
+ )
1136
+ ),
1137
+ posters: v4.z.optional(
1138
+ v4.z.array(
1139
+ v4.z.object({
1140
+ id: v4.z.string(),
1141
+ bucket: v4.z.string(),
1142
+ storagePath: v4.z.string(),
1143
+ filename: v4.z.string(),
1144
+ contentType: v4.z.string(),
1145
+ sizeBytes: v4.z.number(),
1146
+ sortIndex: v4.z.nullable(v4.z.string()),
1147
+ publicUrl: v4.z.string()
1148
+ })
1149
+ )
1150
+ )
1151
+ }).describe(
465
1152
  "Event details. Nested objects (schedule, timeSlots, menus, posters, nextOccurrence) pass through; their shape follows the SDK Event interface."
466
1153
  );
467
1154
 
1155
+ const promotionBenefitTypeSchema = v4.z.enum([
1156
+ "free_item",
1157
+ "discount_percentage",
1158
+ "discount_amount",
1159
+ "buy_x_get_y"
1160
+ ]);
1161
+
468
1162
  const fetchEventsResponseSchema = v4.z.array(
469
1163
  v4.z.object({
470
1164
  id: v4.z.string(),
471
- venueId: v4.z.string()
472
- }).catchall(v4.z.any())
1165
+ venueId: v4.z.string(),
1166
+ accessor: v4.z.nullable(v4.z.string()),
1167
+ name: v4.z.object({}).catchall(v4.z.string()),
1168
+ description: v4.z.nullable(v4.z.object({}).catchall(v4.z.string())),
1169
+ scheduleId: v4.z.nullable(v4.z.string()),
1170
+ ritualId: v4.z.nullable(v4.z.string()),
1171
+ maxBookings: v4.z.nullable(v4.z.number()),
1172
+ maxGuests: v4.z.nullable(v4.z.number()),
1173
+ minPartySize: v4.z.nullable(v4.z.number()),
1174
+ maxPartySize: v4.z.nullable(v4.z.number()),
1175
+ isPublic: v4.z.boolean(),
1176
+ isRecurring: v4.z.boolean(),
1177
+ reservationsEnabled: v4.z.boolean(),
1178
+ bookingOpensAtDays: v4.z.nullable(v4.z.number()),
1179
+ bookingClosesAtOffset: v4.z.nullable(v4.z.number()),
1180
+ isActive: v4.z.boolean(),
1181
+ isFeatured: v4.z.boolean(),
1182
+ priority: v4.z.number(),
1183
+ createdBy: v4.z.nullable(v4.z.string()),
1184
+ updatedBy: v4.z.nullable(v4.z.string()),
1185
+ createdAt: v4.z.nullable(v4.z.any()),
1186
+ updatedAt: v4.z.nullable(v4.z.any()),
1187
+ schedule: v4.z.nullable(
1188
+ v4.z.object({
1189
+ id: v4.z.string(),
1190
+ duration: v4.z.nullable(v4.z.number()),
1191
+ name: v4.z.object({}).catchall(v4.z.string()),
1192
+ timezone: v4.z.string(),
1193
+ description: v4.z.nullable(v4.z.object({}).catchall(v4.z.string())),
1194
+ rrule: v4.z.nullable(v4.z.string()),
1195
+ exdates: v4.z.nullable(v4.z.array(v4.z.string())),
1196
+ validFrom: v4.z.nullable(v4.z.string()),
1197
+ validTo: v4.z.nullable(v4.z.string()),
1198
+ priority: v4.z.nullable(v4.z.number()),
1199
+ get slotMode() {
1200
+ return slotModeSchema;
1201
+ },
1202
+ intervalDuration: v4.z.nullable(v4.z.number()),
1203
+ isActive: v4.z.boolean(),
1204
+ sortIndex: v4.z.nullable(v4.z.string()),
1205
+ updatedAt: v4.z.nullable(v4.z.any()),
1206
+ updatedBy: v4.z.nullable(v4.z.string()),
1207
+ createdAt: v4.z.nullable(v4.z.any()),
1208
+ createdBy: v4.z.nullable(v4.z.string()),
1209
+ scheduleOverrides: v4.z.array(
1210
+ v4.z.object({
1211
+ id: v4.z.string(),
1212
+ date: v4.z.string(),
1213
+ priority: v4.z.nullable(v4.z.number()),
1214
+ isActive: v4.z.boolean(),
1215
+ updatedAt: v4.z.nullable(v4.z.any()),
1216
+ updatedBy: v4.z.nullable(v4.z.string()),
1217
+ createdAt: v4.z.nullable(v4.z.any()),
1218
+ createdBy: v4.z.nullable(v4.z.string()),
1219
+ scheduleId: v4.z.string(),
1220
+ reason: v4.z.nullable(v4.z.object({}).catchall(v4.z.string())),
1221
+ scheduleOverrideTimeSlots: v4.z.array(
1222
+ v4.z.object({
1223
+ sortIndex: v4.z.nullable(v4.z.string()),
1224
+ overrideId: v4.z.string(),
1225
+ timeSlotId: v4.z.string(),
1226
+ timeSlot: v4.z.object({
1227
+ id: v4.z.string(),
1228
+ isActive: v4.z.nullable(v4.z.boolean()),
1229
+ sortIndex: v4.z.nullable(v4.z.string()),
1230
+ updatedAt: v4.z.nullable(v4.z.any()),
1231
+ updatedBy: v4.z.nullable(v4.z.string()),
1232
+ createdAt: v4.z.nullable(v4.z.any()),
1233
+ createdBy: v4.z.nullable(v4.z.string()),
1234
+ startTime: v4.z.string(),
1235
+ endTime: v4.z.nullable(v4.z.string()),
1236
+ isSchedulable: v4.z.nullable(v4.z.boolean())
1237
+ })
1238
+ })
1239
+ )
1240
+ })
1241
+ ),
1242
+ scheduleTimeSlots: v4.z.array(
1243
+ v4.z.object({
1244
+ sortIndex: v4.z.nullable(v4.z.string()),
1245
+ scheduleId: v4.z.nullable(v4.z.string()),
1246
+ timeSlotId: v4.z.nullable(v4.z.string()),
1247
+ get dayOfWeek() {
1248
+ return dayOfWeekSchema;
1249
+ },
1250
+ timeSlot: v4.z.nullable(
1251
+ v4.z.object({
1252
+ id: v4.z.string(),
1253
+ isActive: v4.z.nullable(v4.z.boolean()),
1254
+ sortIndex: v4.z.nullable(v4.z.string()),
1255
+ updatedAt: v4.z.nullable(v4.z.any()),
1256
+ updatedBy: v4.z.nullable(v4.z.string()),
1257
+ createdAt: v4.z.nullable(v4.z.any()),
1258
+ createdBy: v4.z.nullable(v4.z.string()),
1259
+ startTime: v4.z.string(),
1260
+ endTime: v4.z.nullable(v4.z.string()),
1261
+ isSchedulable: v4.z.nullable(v4.z.boolean())
1262
+ })
1263
+ )
1264
+ })
1265
+ )
1266
+ })
1267
+ ),
1268
+ nextOccurrence: v4.z.nullable(v4.z.string()),
1269
+ posters: v4.z.array(
1270
+ v4.z.object({
1271
+ id: v4.z.string(),
1272
+ get type() {
1273
+ return assetTypeSchema;
1274
+ },
1275
+ metadata: v4.z.nullable(
1276
+ v4.z.object({
1277
+ width: v4.z.optional(v4.z.number()),
1278
+ height: v4.z.optional(v4.z.number()),
1279
+ duration: v4.z.optional(v4.z.number())
1280
+ })
1281
+ ),
1282
+ isActive: v4.z.boolean(),
1283
+ sortIndex: v4.z.nullable(v4.z.string()),
1284
+ updatedAt: v4.z.nullable(v4.z.any()),
1285
+ updatedBy: v4.z.nullable(v4.z.string()),
1286
+ createdAt: v4.z.nullable(v4.z.any()),
1287
+ createdBy: v4.z.nullable(v4.z.string()),
1288
+ venueId: v4.z.nullable(v4.z.string()),
1289
+ tags: v4.z.nullable(v4.z.array(v4.z.string())),
1290
+ bucket: v4.z.string(),
1291
+ storagePath: v4.z.string(),
1292
+ filename: v4.z.string(),
1293
+ contentType: v4.z.string(),
1294
+ sizeBytes: v4.z.number(),
1295
+ caption: v4.z.object({}).catchall(v4.z.any()),
1296
+ alt: v4.z.object({}).catchall(v4.z.any()),
1297
+ cropArea: v4.z.nullable(
1298
+ v4.z.object({
1299
+ x: v4.z.number(),
1300
+ y: v4.z.number(),
1301
+ width: v4.z.number(),
1302
+ height: v4.z.number()
1303
+ })
1304
+ ),
1305
+ publicUrl: v4.z.string()
1306
+ })
1307
+ ),
1308
+ timeSlots: v4.z.array(
1309
+ v4.z.object({
1310
+ id: v4.z.optional(v4.z.string()),
1311
+ startTime: v4.z.optional(v4.z.string()),
1312
+ endTime: v4.z.string().nullish(),
1313
+ get dayOfWeek() {
1314
+ return dayOfWeekSchema;
1315
+ },
1316
+ isSchedulable: v4.z.boolean().nullish()
1317
+ })
1318
+ ),
1319
+ scheduleOverrides: v4.z.array(
1320
+ v4.z.object({
1321
+ id: v4.z.string(),
1322
+ date: v4.z.string(),
1323
+ reason: v4.z.nullable(v4.z.object({}).catchall(v4.z.string())),
1324
+ timeSlots: v4.z.array(
1325
+ v4.z.object({
1326
+ id: v4.z.string(),
1327
+ startTime: v4.z.string(),
1328
+ endTime: v4.z.nullable(v4.z.string()),
1329
+ isSchedulable: v4.z.nullable(v4.z.boolean())
1330
+ })
1331
+ )
1332
+ })
1333
+ ),
1334
+ promotions: v4.z.array(
1335
+ v4.z.object({
1336
+ id: v4.z.string(),
1337
+ name: v4.z.object({}).catchall(v4.z.string()),
1338
+ description: v4.z.nullable(v4.z.object({}).catchall(v4.z.string())),
1339
+ validFrom: v4.z.nullable(v4.z.string()),
1340
+ validTo: v4.z.nullable(v4.z.string()),
1341
+ isActive: v4.z.boolean(),
1342
+ updatedAt: v4.z.nullable(v4.z.any()),
1343
+ updatedBy: v4.z.nullable(v4.z.string()),
1344
+ createdAt: v4.z.nullable(v4.z.any()),
1345
+ createdBy: v4.z.nullable(v4.z.string()),
1346
+ venueId: v4.z.string(),
1347
+ get benefitType() {
1348
+ return promotionBenefitTypeSchema;
1349
+ },
1350
+ benefitValue: v4.z.object({}).catchall(v4.z.any()),
1351
+ conditions: v4.z.nullable(v4.z.object({}).catchall(v4.z.any())),
1352
+ maxRedemptions: v4.z.nullable(v4.z.number()),
1353
+ currentRedemptions: v4.z.nullable(v4.z.number()),
1354
+ timeSlotIds: v4.z.nullable(v4.z.array(v4.z.string()))
1355
+ })
1356
+ )
1357
+ })
473
1358
  );
474
1359
 
1360
+ const orderStatusSchema = v4.z.enum([
1361
+ "pending",
1362
+ "in_progress",
1363
+ "ready",
1364
+ "completed",
1365
+ "cancelled"
1366
+ ]);
1367
+
1368
+ const paymentStatusSchema = v4.z.enum([
1369
+ "unpaid",
1370
+ "paid",
1371
+ "refunded",
1372
+ "authorized",
1373
+ "cash_pending"
1374
+ ]);
1375
+
1376
+ const fetchLatestOrderResponseSchema = v4.z.object({
1377
+ id: v4.z.uuid(),
1378
+ publicId: v4.z.nullable(v4.z.string()),
1379
+ quickReferenceNumber: v4.z.nullable(
1380
+ v4.z.int().min(-9007199254740991).max(9007199254740991)
1381
+ ),
1382
+ get status() {
1383
+ return orderStatusSchema;
1384
+ },
1385
+ get paymentStatus() {
1386
+ return paymentStatusSchema;
1387
+ },
1388
+ get fulfillmentType() {
1389
+ return deliveryAddressSchema.fulfillmentTypeSchema;
1390
+ },
1391
+ fulfillmentAt: v4.z.nullable(v4.z.string()),
1392
+ orderedAt: v4.z.string(),
1393
+ totalAmount: v4.z.int().min(0).max(9007199254740991),
1394
+ get currency() {
1395
+ return currencySchema;
1396
+ },
1397
+ items: v4.z.array(
1398
+ v4.z.object({
1399
+ id: v4.z.uuid(),
1400
+ metadata: v4.z.nullable(v4.z.object({}).catchall(v4.z.any())),
1401
+ deposit: v4.z.nullable(
1402
+ v4.z.object({
1403
+ depositwareTemplateId: v4.z.string(),
1404
+ name: v4.z.object({}).catchall(v4.z.string()),
1405
+ amount: v4.z.int().min(0).max(9007199254740991),
1406
+ get currency() {
1407
+ return currencySchema;
1408
+ }
1409
+ })
1410
+ ),
1411
+ menuItems: v4.z.array(
1412
+ v4.z.object({
1413
+ menuItemId: v4.z.string(),
1414
+ role: v4.z.nullable(v4.z.string()),
1415
+ quantity: v4.z.number().gt(0),
1416
+ get unit() {
1417
+ return unitSchema;
1418
+ }
1419
+ })
1420
+ )
1421
+ })
1422
+ ),
1423
+ itemCount: v4.z.int().min(0).max(9007199254740991),
1424
+ get totals() {
1425
+ return basketTotalsSchema;
1426
+ },
1427
+ declaredReturns: v4.z.array(
1428
+ v4.z.object({
1429
+ depositwareTemplateId: v4.z.string(),
1430
+ count: v4.z.int().min(0).max(9007199254740991)
1431
+ })
1432
+ )
1433
+ });
1434
+
475
1435
  const fetchMenuBundlesResponseSchema = v4.z.array(
476
1436
  v4.z.object({
477
1437
  id: v4.z.string(),
@@ -482,9 +1442,13 @@ const fetchMenuBundlesResponseSchema = v4.z.array(
482
1442
  tags: v4.z.array(v4.z.string()),
483
1443
  price: v4.z.object({
484
1444
  amount: v4.z.number(),
485
- currency: v4.z.enum(["EUR", "CHF"])
1445
+ get currency() {
1446
+ return currencySchema;
1447
+ }
486
1448
  }),
487
- currency: v4.z.enum(["EUR", "CHF"]),
1449
+ get currency() {
1450
+ return currencySchema;
1451
+ },
488
1452
  taxRateId: v4.z.string(),
489
1453
  isActive: v4.z.boolean(),
490
1454
  sortIndex: v4.z.nullable(v4.z.string()),
@@ -496,98 +1460,213 @@ const fetchMenuBundlesResponseSchema = v4.z.array(
496
1460
  ),
497
1461
  deposit: v4.z.nullable(
498
1462
  v4.z.object({
1463
+ depositwareTemplateId: v4.z.string(),
1464
+ accessor: v4.z.string(),
499
1465
  amount: v4.z.number(),
500
- currency: v4.z.enum(["EUR", "CHF"])
1466
+ get currency() {
1467
+ return currencySchema;
1468
+ }
501
1469
  })
502
1470
  )
503
- }).catchall(v4.z.any())
1471
+ })
504
1472
  );
505
1473
 
1474
+ const menuItemTypeSchema = v4.z.enum(["dish", "beverage"]);
1475
+
506
1476
  const fetchMenuResponseSchema = v4.z.object({
507
1477
  id: v4.z.string(),
508
- venueId: v4.z.string(),
1478
+ name: v4.z.object({}).catchall(v4.z.string()),
509
1479
  accessor: v4.z.string(),
510
- name: v4.z.union([
511
- v4.z.union([v4.z.boolean(), v4.z.string(), v4.z.number(), v4.z.enum([])]),
512
- v4.z.array(v4.z.any()),
513
- v4.z.object({}).catchall(v4.z.any())
514
- ]),
515
- description: v4.z.nullable(
516
- v4.z.union([
517
- v4.z.union([v4.z.boolean(), v4.z.string(), v4.z.number(), v4.z.enum([])]),
518
- v4.z.array(v4.z.any()),
519
- v4.z.object({}).catchall(v4.z.any())
520
- ])
521
- ),
522
1480
  metadata: v4.z.nullable(
523
- v4.z.union([
524
- v4.z.union([v4.z.boolean(), v4.z.string(), v4.z.number(), v4.z.enum([])]),
525
- v4.z.array(v4.z.any()),
526
- v4.z.object({}).catchall(v4.z.any())
527
- ])
528
- ),
529
- sortIndex: v4.z.nullable(v4.z.string().max(255)),
530
- deliveryThresholdAmount: v4.z.nullable(
531
- v4.z.int().min(-2147483648).max(2147483647)
532
- ),
533
- deliveryThresholdQuantity: v4.z.nullable(
534
- v4.z.int().min(-2147483648).max(2147483647)
1481
+ v4.z.object({
1482
+ orderingEnabled: v4.z.optional(v4.z.boolean()),
1483
+ compactTags: v4.z.optional(v4.z.array(v4.z.string())),
1484
+ showDepositware: v4.z.optional(v4.z.boolean()),
1485
+ tagSortOrder: v4.z.optional(v4.z.array(v4.z.string())),
1486
+ subscriptionsEnabled: v4.z.optional(v4.z.boolean()),
1487
+ isDeliveryEnabled: v4.z.optional(v4.z.boolean()),
1488
+ assetsEnabled: v4.z.optional(v4.z.boolean())
1489
+ })
535
1490
  ),
536
- createdAt: v4.z.nullable(v4.z.any()),
1491
+ description: v4.z.nullable(v4.z.object({}).catchall(v4.z.string())),
1492
+ sortIndex: v4.z.nullable(v4.z.string()),
537
1493
  updatedAt: v4.z.nullable(v4.z.any()),
538
- createdBy: v4.z.nullable(v4.z.string()),
539
1494
  updatedBy: v4.z.nullable(v4.z.string()),
540
- assets: v4.z.optional(
1495
+ createdAt: v4.z.nullable(v4.z.any()),
1496
+ createdBy: v4.z.nullable(v4.z.string()),
1497
+ venueId: v4.z.string(),
1498
+ deliveryThresholdAmount: v4.z.nullable(v4.z.number()),
1499
+ deliveryThresholdQuantity: v4.z.nullable(v4.z.number()),
1500
+ assets: v4.z.array(
1501
+ v4.z.object({
1502
+ id: v4.z.string(),
1503
+ get type() {
1504
+ return assetTypeSchema;
1505
+ },
1506
+ metadata: v4.z.nullable(
1507
+ v4.z.object({
1508
+ width: v4.z.optional(v4.z.number()),
1509
+ height: v4.z.optional(v4.z.number()),
1510
+ duration: v4.z.optional(v4.z.number())
1511
+ })
1512
+ ),
1513
+ isActive: v4.z.boolean(),
1514
+ sortIndex: v4.z.nullable(v4.z.string()),
1515
+ updatedAt: v4.z.nullable(v4.z.any()),
1516
+ updatedBy: v4.z.nullable(v4.z.string()),
1517
+ createdAt: v4.z.nullable(v4.z.any()),
1518
+ createdBy: v4.z.nullable(v4.z.string()),
1519
+ venueId: v4.z.nullable(v4.z.string()),
1520
+ tags: v4.z.nullable(v4.z.array(v4.z.string())),
1521
+ bucket: v4.z.string(),
1522
+ storagePath: v4.z.string(),
1523
+ filename: v4.z.string(),
1524
+ contentType: v4.z.string(),
1525
+ sizeBytes: v4.z.number(),
1526
+ caption: v4.z.object({}).catchall(v4.z.any()),
1527
+ alt: v4.z.object({}).catchall(v4.z.any()),
1528
+ cropArea: v4.z.nullable(
1529
+ v4.z.object({
1530
+ x: v4.z.number(),
1531
+ y: v4.z.number(),
1532
+ width: v4.z.number(),
1533
+ height: v4.z.number()
1534
+ })
1535
+ ),
1536
+ publicUrl: v4.z.string()
1537
+ })
1538
+ ),
1539
+ items: v4.z.optional(
541
1540
  v4.z.array(
542
1541
  v4.z.object({
543
1542
  id: v4.z.string(),
544
- type: v4.z.enum(["image", "video", "document"]),
1543
+ get type() {
1544
+ return menuItemTypeSchema;
1545
+ },
545
1546
  tags: v4.z.nullable(v4.z.array(v4.z.string())),
546
- bucket: v4.z.string(),
547
- storagePath: v4.z.string(),
548
- filename: v4.z.string(),
549
- contentType: v4.z.string(),
550
- sizeBytes: v4.z.int().min(-2147483648).max(2147483647),
551
- caption: v4.z.union([
552
- v4.z.union([v4.z.boolean(), v4.z.string(), v4.z.number(), v4.z.enum([])]),
553
- v4.z.array(v4.z.any()),
554
- v4.z.object({}).catchall(v4.z.any())
555
- ]),
556
- alt: v4.z.union([
557
- v4.z.union([v4.z.boolean(), v4.z.string(), v4.z.number(), v4.z.enum([])]),
558
- v4.z.array(v4.z.any()),
559
- v4.z.object({}).catchall(v4.z.any())
560
- ]),
561
- metadata: v4.z.nullable(
562
- v4.z.union([
563
- v4.z.union([v4.z.boolean(), v4.z.string(), v4.z.number(), v4.z.enum([])]),
564
- v4.z.array(v4.z.any()),
565
- v4.z.object({}).catchall(v4.z.any())
566
- ])
567
- ),
568
- cropArea: v4.z.nullable(
569
- v4.z.union([
570
- v4.z.union([v4.z.boolean(), v4.z.string(), v4.z.number(), v4.z.enum([])]),
571
- v4.z.array(v4.z.any()),
572
- v4.z.object({}).catchall(v4.z.any())
573
- ])
574
- ),
1547
+ priceAdjustment: v4.z.number(),
1548
+ get currency() {
1549
+ return currencySchema;
1550
+ },
575
1551
  isActive: v4.z.boolean(),
576
- sortIndex: v4.z.nullable(v4.z.string().max(255)),
577
- createdAt: v4.z.nullable(v4.z.any()),
578
- updatedAt: v4.z.nullable(v4.z.any()),
579
- createdBy: v4.z.nullable(v4.z.string()),
580
- updatedBy: v4.z.nullable(v4.z.string()),
581
- venueId: v4.z.nullable(v4.z.string()),
582
- publicUrl: v4.z.nullable(v4.z.string())
1552
+ isFeatured: v4.z.boolean(),
1553
+ sortIndex: v4.z.nullable(v4.z.string()),
1554
+ dish: v4.z.nullable(
1555
+ v4.z.object({
1556
+ id: v4.z.string(),
1557
+ accessor: v4.z.string(),
1558
+ name: v4.z.object({}).catchall(v4.z.string()),
1559
+ shortName: v4.z.optional(v4.z.object({}).catchall(v4.z.string())),
1560
+ description: v4.z.nullable(v4.z.object({}).catchall(v4.z.string())),
1561
+ longDescription: v4.z.object({}).catchall(v4.z.string()).nullish(),
1562
+ isVegetarian: v4.z.nullable(v4.z.boolean()),
1563
+ isVegan: v4.z.nullable(v4.z.boolean()),
1564
+ isGlutenFree: v4.z.nullable(v4.z.boolean()),
1565
+ isDairyFree: v4.z.nullable(v4.z.boolean()),
1566
+ spiciness: v4.z.nullable(v4.z.number()),
1567
+ assets: v4.z.optional(
1568
+ v4.z.array(
1569
+ v4.z.object({
1570
+ id: v4.z.string(),
1571
+ get type() {
1572
+ return assetTypeSchema;
1573
+ },
1574
+ metadata: v4.z.nullable(
1575
+ v4.z.object({
1576
+ width: v4.z.optional(v4.z.number()),
1577
+ height: v4.z.optional(v4.z.number()),
1578
+ duration: v4.z.optional(v4.z.number())
1579
+ })
1580
+ ),
1581
+ isActive: v4.z.boolean(),
1582
+ sortIndex: v4.z.nullable(v4.z.string()),
1583
+ updatedAt: v4.z.nullable(v4.z.any()),
1584
+ updatedBy: v4.z.nullable(v4.z.string()),
1585
+ createdAt: v4.z.nullable(v4.z.any()),
1586
+ createdBy: v4.z.nullable(v4.z.string()),
1587
+ venueId: v4.z.nullable(v4.z.string()),
1588
+ tags: v4.z.nullable(v4.z.array(v4.z.string())),
1589
+ bucket: v4.z.string(),
1590
+ storagePath: v4.z.string(),
1591
+ filename: v4.z.string(),
1592
+ contentType: v4.z.string(),
1593
+ sizeBytes: v4.z.number(),
1594
+ caption: v4.z.object({}).catchall(v4.z.any()),
1595
+ alt: v4.z.object({}).catchall(v4.z.any()),
1596
+ cropArea: v4.z.nullable(
1597
+ v4.z.object({
1598
+ x: v4.z.number(),
1599
+ y: v4.z.number(),
1600
+ width: v4.z.number(),
1601
+ height: v4.z.number()
1602
+ })
1603
+ ),
1604
+ publicUrl: v4.z.string()
1605
+ })
1606
+ )
1607
+ )
1608
+ })
1609
+ ),
1610
+ beverage: v4.z.nullable(
1611
+ v4.z.object({
1612
+ id: v4.z.string(),
1613
+ accessor: v4.z.string(),
1614
+ name: v4.z.object({}).catchall(v4.z.string()),
1615
+ shortName: v4.z.optional(v4.z.object({}).catchall(v4.z.string())),
1616
+ description: v4.z.nullable(v4.z.object({}).catchall(v4.z.string())),
1617
+ longDescription: v4.z.object({}).catchall(v4.z.string()).nullish(),
1618
+ assets: v4.z.optional(
1619
+ v4.z.array(
1620
+ v4.z.object({
1621
+ id: v4.z.string(),
1622
+ get type() {
1623
+ return assetTypeSchema;
1624
+ },
1625
+ metadata: v4.z.nullable(
1626
+ v4.z.object({
1627
+ width: v4.z.optional(v4.z.number()),
1628
+ height: v4.z.optional(v4.z.number()),
1629
+ duration: v4.z.optional(v4.z.number())
1630
+ })
1631
+ ),
1632
+ isActive: v4.z.boolean(),
1633
+ sortIndex: v4.z.nullable(v4.z.string()),
1634
+ updatedAt: v4.z.nullable(v4.z.any()),
1635
+ updatedBy: v4.z.nullable(v4.z.string()),
1636
+ createdAt: v4.z.nullable(v4.z.any()),
1637
+ createdBy: v4.z.nullable(v4.z.string()),
1638
+ venueId: v4.z.nullable(v4.z.string()),
1639
+ tags: v4.z.nullable(v4.z.array(v4.z.string())),
1640
+ bucket: v4.z.string(),
1641
+ storagePath: v4.z.string(),
1642
+ filename: v4.z.string(),
1643
+ contentType: v4.z.string(),
1644
+ sizeBytes: v4.z.number(),
1645
+ caption: v4.z.object({}).catchall(v4.z.any()),
1646
+ alt: v4.z.object({}).catchall(v4.z.any()),
1647
+ cropArea: v4.z.nullable(
1648
+ v4.z.object({
1649
+ x: v4.z.number(),
1650
+ y: v4.z.number(),
1651
+ width: v4.z.number(),
1652
+ height: v4.z.number()
1653
+ })
1654
+ ),
1655
+ publicUrl: v4.z.string()
1656
+ })
1657
+ )
1658
+ )
1659
+ })
1660
+ )
583
1661
  })
584
1662
  )
585
- ),
586
- items: v4.z.optional(v4.z.array(v4.z.object({}).catchall(v4.z.any())))
587
- }).catchall(v4.z.any()).describe(
588
- "Menu details. Nested arrays (items, assets, bundles, schedule, etc.) pass through; their shape follows the SDK Menu interface."
1663
+ )
1664
+ }).describe(
1665
+ "Menu details. `assets[]` is always hydrated with public URLs; `items[]` (with nested dish/beverage) is included when `expand=items` is requested. Each dish/beverage always carries its flat, hydrated `assets[]` (public URLs resolved) \u2014 the raw junction relations are never surfaced."
589
1666
  );
590
1667
 
1668
+ const subscriptionPeriodSchema = v4.z.enum(["week", "month", "year"]);
1669
+
591
1670
  const fetchMenuSubscriptionsResponseSchema = v4.z.array(
592
1671
  v4.z.object({
593
1672
  id: v4.z.string(),
@@ -598,34 +1677,38 @@ const fetchMenuSubscriptionsResponseSchema = v4.z.array(
598
1677
  description: v4.z.nullable(v4.z.object({}).catchall(v4.z.string())),
599
1678
  scheduleId: v4.z.nullable(v4.z.string()),
600
1679
  allowance: v4.z.number(),
601
- billingPeriod: v4.z.enum(["week", "month", "year"]),
602
- allowancePeriod: v4.z.enum(["week", "month", "year"]),
1680
+ get billingPeriod() {
1681
+ return subscriptionPeriodSchema;
1682
+ },
1683
+ get allowancePeriod() {
1684
+ return subscriptionPeriodSchema;
1685
+ },
603
1686
  expiryInDays: v4.z.number(),
604
1687
  price: v4.z.number(),
605
- currency: v4.z.enum(["EUR", "CHF"]),
1688
+ get currency() {
1689
+ return currencySchema;
1690
+ },
606
1691
  stripeProductId: v4.z.nullable(v4.z.string()),
607
1692
  stripePriceId: v4.z.nullable(v4.z.string()),
608
1693
  isActive: v4.z.boolean(),
609
1694
  sortIndex: v4.z.nullable(v4.z.string()),
610
1695
  subscriberCount: v4.z.number(),
611
1696
  redeemableTagSets: v4.z.array(v4.z.array(v4.z.string())),
612
- posters: v4.z.optional(
613
- v4.z.array(
614
- v4.z.object({
615
- id: v4.z.string(),
616
- menuSubscriptionId: v4.z.string(),
617
- storagePath: v4.z.string(),
618
- publicUrl: v4.z.nullable(v4.z.string()),
619
- filename: v4.z.string(),
620
- contentType: v4.z.string(),
621
- sizeBytes: v4.z.nullable(v4.z.number()),
622
- sortIndex: v4.z.nullable(v4.z.string()),
623
- createdBy: v4.z.nullable(v4.z.string()),
624
- createdAt: v4.z.nullable(v4.z.string())
625
- })
626
- )
1697
+ posters: v4.z.array(
1698
+ v4.z.object({
1699
+ id: v4.z.string(),
1700
+ menuSubscriptionId: v4.z.string(),
1701
+ storagePath: v4.z.string(),
1702
+ publicUrl: v4.z.string(),
1703
+ filename: v4.z.string(),
1704
+ contentType: v4.z.string(),
1705
+ sizeBytes: v4.z.number(),
1706
+ sortIndex: v4.z.nullable(v4.z.string()),
1707
+ createdBy: v4.z.nullable(v4.z.string()),
1708
+ createdAt: v4.z.nullable(v4.z.string())
1709
+ })
627
1710
  )
628
- }).catchall(v4.z.any())
1711
+ })
629
1712
  );
630
1713
 
631
1714
  const fetchTeamOrderResponseSchema = v4.z.object({
@@ -686,19 +1769,15 @@ const fetchTeamOrderResponseSchema = v4.z.object({
686
1769
  items: v4.z.array(
687
1770
  v4.z.object({
688
1771
  id: v4.z.string(),
689
- metadata: v4.z.nullable(v4.z.any()),
1772
+ metadata: v4.z.nullable(v4.z.object({}).catchall(v4.z.any())),
690
1773
  menuItems: v4.z.array(
691
1774
  v4.z.object({
692
1775
  menuItemId: v4.z.string(),
693
1776
  role: v4.z.nullable(v4.z.string()),
694
1777
  quantity: v4.z.number(),
695
- unit: v4.z.enum([
696
- "grams",
697
- "kilograms",
698
- "liters",
699
- "milliliters",
700
- "pieces"
701
- ])
1778
+ get unit() {
1779
+ return unitSchema;
1780
+ }
702
1781
  })
703
1782
  ),
704
1783
  isPaid: v4.z.boolean()
@@ -754,7 +1833,9 @@ const fetchTeamOrderResponseSchema = v4.z.object({
754
1833
  const getAreaAvailabilityResponseSchema = v4.z.object({
755
1834
  from: v4.z.string().regex(/^\d{4}-\d{2}-\d{2}$/),
756
1835
  to: v4.z.string().regex(/^\d{4}-\d{2}-\d{2}$/),
757
- bookingMode: v4.z.enum(["slot", "day"]),
1836
+ get bookingMode() {
1837
+ return areaBookingModeSchema;
1838
+ },
758
1839
  occupied: v4.z.array(
759
1840
  v4.z.object({
760
1841
  date: v4.z.string().regex(/^\d{4}-\d{2}-\d{2}$/),
@@ -764,63 +1845,6 @@ const getAreaAvailabilityResponseSchema = v4.z.object({
764
1845
  )
765
1846
  });
766
1847
 
767
- const getAreaResponseSchema = v4.z.object({
768
- id: v4.z.string(),
769
- venueId: v4.z.string(),
770
- accessor: v4.z.string(),
771
- name: v4.z.object({}).catchall(v4.z.string()),
772
- description: v4.z.nullable(v4.z.object({}).catchall(v4.z.string())),
773
- longDescription: v4.z.nullable(v4.z.object({}).catchall(v4.z.string())),
774
- minCapacity: v4.z.nullable(
775
- v4.z.int().min(-9007199254740991).max(9007199254740991)
776
- ),
777
- maxCapacity: v4.z.int().min(-9007199254740991).max(9007199254740991),
778
- currency: v4.z.enum(["EUR", "CHF"]),
779
- basePrice: v4.z.nullable(v4.z.int().min(-9007199254740991).max(9007199254740991)),
780
- perPersonPrice: v4.z.nullable(
781
- v4.z.int().min(-9007199254740991).max(9007199254740991)
782
- ),
783
- features: v4.z.nullable(
784
- v4.z.array(
785
- v4.z.object({
786
- icon: v4.z.string(),
787
- label: v4.z.object({}).catchall(v4.z.string()),
788
- description: v4.z.optional(v4.z.object({}).catchall(v4.z.string()))
789
- })
790
- )
791
- ),
792
- bookingMode: v4.z.enum(["slot", "day"]),
793
- assets: v4.z.optional(
794
- v4.z.array(
795
- v4.z.object({
796
- id: v4.z.string(),
797
- type: v4.z.enum(["image", "video", "document"]),
798
- tags: v4.z.nullable(v4.z.array(v4.z.string())),
799
- filename: v4.z.string(),
800
- contentType: v4.z.string(),
801
- metadata: v4.z.nullable(
802
- v4.z.object({
803
- width: v4.z.optional(v4.z.number()),
804
- height: v4.z.optional(v4.z.number()),
805
- duration: v4.z.optional(v4.z.number())
806
- })
807
- ),
808
- cropArea: v4.z.nullable(
809
- v4.z.object({
810
- x: v4.z.number(),
811
- y: v4.z.number(),
812
- width: v4.z.number(),
813
- height: v4.z.number()
814
- })
815
- ),
816
- publicUrl: v4.z.url()
817
- })
818
- )
819
- )
820
- }).describe(
821
- "A bookable + public area for a venue. Assets are only included when the request expands them."
822
- );
823
-
824
1848
  const getBasketTotalsRequestSchema = v4.z.object({
825
1849
  venueAccessor: v4.z.string().min(1),
826
1850
  basketId: v4.z.string().min(1),
@@ -835,7 +1859,9 @@ const getBasketTotalsRequestSchema = v4.z.object({
835
1859
  });
836
1860
 
837
1861
  const getBasketTotalsResponseSchema = v4.z.object({
838
- currency: v4.z.enum(["EUR", "CHF"]),
1862
+ get currency() {
1863
+ return currencySchema;
1864
+ },
839
1865
  itemsTotal: v4.z.int().min(0).max(9007199254740991),
840
1866
  taxAmount: v4.z.int().min(0).max(9007199254740991),
841
1867
  depositCharge: v4.z.int().min(0).max(9007199254740991),
@@ -851,6 +1877,12 @@ const getBasketTotalsResponseSchema = v4.z.object({
851
1877
  )
852
1878
  });
853
1879
 
1880
+ const subscriptionCreditStatusSchema = v4.z.enum([
1881
+ "available",
1882
+ "redeemed",
1883
+ "expired"
1884
+ ]);
1885
+
854
1886
  const getSubscriptionCreditsResponseSchema = v4.z.array(
855
1887
  v4.z.object({
856
1888
  id: v4.z.string(),
@@ -858,7 +1890,9 @@ const getSubscriptionCreditsResponseSchema = v4.z.array(
858
1890
  periodStart: v4.z.string(),
859
1891
  periodEnd: v4.z.string(),
860
1892
  expiresAt: v4.z.nullable(v4.z.string()),
861
- status: v4.z.enum(["available", "redeemed", "expired"]),
1893
+ get status() {
1894
+ return subscriptionCreditStatusSchema;
1895
+ },
862
1896
  redeemedAt: v4.z.nullable(v4.z.string()),
863
1897
  orderId: v4.z.nullable(v4.z.string()),
864
1898
  createdAt: v4.z.nullable(v4.z.string())
@@ -874,12 +1908,18 @@ const getSubscriptionResponseSchema = v4.z.object({
874
1908
  description: v4.z.nullable(v4.z.object({}).catchall(v4.z.string())),
875
1909
  scheduleId: v4.z.nullable(v4.z.string()),
876
1910
  allowance: v4.z.int().max(9007199254740991),
877
- billingPeriod: v4.z.enum(["week", "month", "year"]),
878
- allowancePeriod: v4.z.enum(["week", "month", "year"]),
1911
+ get billingPeriod() {
1912
+ return subscriptionPeriodSchema;
1913
+ },
1914
+ get allowancePeriod() {
1915
+ return subscriptionPeriodSchema;
1916
+ },
879
1917
  redeemableTagSets: v4.z.array(v4.z.array(v4.z.string())),
880
1918
  expiryInDays: v4.z.nullable(v4.z.int().max(9007199254740991)),
881
1919
  price: v4.z.int().min(0).max(9007199254740991),
882
- currency: v4.z.enum(["EUR", "CHF"]),
1920
+ get currency() {
1921
+ return currencySchema;
1922
+ },
883
1923
  isActive: v4.z.boolean(),
884
1924
  sortIndex: v4.z.nullable(v4.z.string()),
885
1925
  posters: v4.z.array(
@@ -914,6 +1954,38 @@ const getVenueResponseSchema = v4.z.object({
914
1954
  "A venue. The public API exposes only the minimal id + accessor + naming + locale fields the CLI's `venues use` / `auth whoami` consume."
915
1955
  );
916
1956
 
1957
+ const integrationNotificationTypeSchema = v4.z.enum([
1958
+ "order_created",
1959
+ "order_cancelled",
1960
+ "order_completed",
1961
+ "team_order_created",
1962
+ "reservation_created",
1963
+ "reservation_confirmed",
1964
+ "reservation_cancelled"
1965
+ ]);
1966
+
1967
+ const integrationTypeSchema = v4.z.enum(["telegram"]);
1968
+
1969
+ const inventoryAssetStatusSchema = v4.z.enum([
1970
+ "available",
1971
+ "in_use",
1972
+ "maintenance",
1973
+ "retired"
1974
+ ]);
1975
+
1976
+ const inventoryCategorySchema = v4.z.enum([
1977
+ "depositware",
1978
+ "furniture",
1979
+ "equipment",
1980
+ "utensil"
1981
+ ]);
1982
+
1983
+ const invitationScenarioSchema = v4.z.enum([
1984
+ "new_user",
1985
+ "already_member",
1986
+ "former_employee"
1987
+ ]);
1988
+
917
1989
  const joinTeamOrderRequestSchema = v4.z.object({
918
1990
  publicId: v4.z.string().min(1),
919
1991
  sessionId: v4.z.string().min(1),
@@ -931,11 +2003,194 @@ const joinTeamOrderResponseSchema = v4.z.object({
931
2003
  alreadyJoined: v4.z.boolean()
932
2004
  });
933
2005
 
934
- const listAreasResponseSchema = v4.z.array(
935
- v4.z.lazy(() => areaSchema).describe(
936
- "A bookable + public area for a venue. Assets are only included when the request expands them."
937
- )
938
- );
2006
+ const jurisdictionSchema = v4.z.enum(["DE", "CH", "FR", "IT"]);
2007
+
2008
+ const localeSchema = v4.z.enum([
2009
+ "aa",
2010
+ "ab",
2011
+ "ae",
2012
+ "af",
2013
+ "ak",
2014
+ "am",
2015
+ "an",
2016
+ "ar",
2017
+ "as",
2018
+ "av",
2019
+ "ay",
2020
+ "az",
2021
+ "ba",
2022
+ "be",
2023
+ "bg",
2024
+ "bh",
2025
+ "bi",
2026
+ "bm",
2027
+ "bn",
2028
+ "bo",
2029
+ "br",
2030
+ "bs",
2031
+ "ca",
2032
+ "ce",
2033
+ "ch",
2034
+ "co",
2035
+ "cr",
2036
+ "cs",
2037
+ "cu",
2038
+ "cv",
2039
+ "cy",
2040
+ "da",
2041
+ "de",
2042
+ "dv",
2043
+ "dz",
2044
+ "ee",
2045
+ "el",
2046
+ "en",
2047
+ "eo",
2048
+ "es",
2049
+ "et",
2050
+ "eu",
2051
+ "fa",
2052
+ "ff",
2053
+ "fi",
2054
+ "fj",
2055
+ "fo",
2056
+ "fr",
2057
+ "fy",
2058
+ "ga",
2059
+ "gd",
2060
+ "gl",
2061
+ "gn",
2062
+ "gu",
2063
+ "gv",
2064
+ "ha",
2065
+ "he",
2066
+ "hi",
2067
+ "ho",
2068
+ "hr",
2069
+ "ht",
2070
+ "hu",
2071
+ "hy",
2072
+ "hz",
2073
+ "ia",
2074
+ "id",
2075
+ "ie",
2076
+ "ig",
2077
+ "ii",
2078
+ "ik",
2079
+ "io",
2080
+ "is",
2081
+ "it",
2082
+ "iu",
2083
+ "ja",
2084
+ "jv",
2085
+ "ka",
2086
+ "kg",
2087
+ "ki",
2088
+ "kj",
2089
+ "kk",
2090
+ "kl",
2091
+ "km",
2092
+ "kn",
2093
+ "ko",
2094
+ "kr",
2095
+ "ks",
2096
+ "ku",
2097
+ "kv",
2098
+ "kw",
2099
+ "ky",
2100
+ "la",
2101
+ "lb",
2102
+ "lg",
2103
+ "li",
2104
+ "ln",
2105
+ "lo",
2106
+ "lt",
2107
+ "lu",
2108
+ "lv",
2109
+ "mg",
2110
+ "mh",
2111
+ "mi",
2112
+ "mk",
2113
+ "ml",
2114
+ "mn",
2115
+ "mr",
2116
+ "ms",
2117
+ "mt",
2118
+ "my",
2119
+ "na",
2120
+ "nb",
2121
+ "nd",
2122
+ "ne",
2123
+ "ng",
2124
+ "nl",
2125
+ "nn",
2126
+ "no",
2127
+ "nr",
2128
+ "nv",
2129
+ "ny",
2130
+ "oc",
2131
+ "oj",
2132
+ "om",
2133
+ "or",
2134
+ "os",
2135
+ "pa",
2136
+ "pi",
2137
+ "pl",
2138
+ "ps",
2139
+ "pt",
2140
+ "qu",
2141
+ "rm",
2142
+ "rn",
2143
+ "ro",
2144
+ "ru",
2145
+ "rw",
2146
+ "sa",
2147
+ "sc",
2148
+ "sd",
2149
+ "se",
2150
+ "sg",
2151
+ "si",
2152
+ "sk",
2153
+ "sl",
2154
+ "sm",
2155
+ "sn",
2156
+ "so",
2157
+ "sq",
2158
+ "sr",
2159
+ "ss",
2160
+ "st",
2161
+ "su",
2162
+ "sv",
2163
+ "sw",
2164
+ "ta",
2165
+ "te",
2166
+ "tg",
2167
+ "th",
2168
+ "ti",
2169
+ "tk",
2170
+ "tl",
2171
+ "tn",
2172
+ "to",
2173
+ "tr",
2174
+ "ts",
2175
+ "tt",
2176
+ "tw",
2177
+ "ty",
2178
+ "ug",
2179
+ "uk",
2180
+ "ur",
2181
+ "uz",
2182
+ "ve",
2183
+ "vi",
2184
+ "vo",
2185
+ "wa",
2186
+ "wo",
2187
+ "xh",
2188
+ "yi",
2189
+ "yo",
2190
+ "za",
2191
+ "zh",
2192
+ "zu"
2193
+ ]);
939
2194
 
940
2195
  const makeReservationRequestSchema = v4.z.object({
941
2196
  venueAccessor: v4.z.string().min(1).describe(
@@ -955,14 +2210,12 @@ const makeReservationRequestSchema = v4.z.object({
955
2210
  customerPhone: v4.z.string().min(1).describe(
956
2211
  "Phone number for reservation confirmations and updates. Include country code for international numbers."
957
2212
  ).nullish(),
958
- contactPreference: v4.z.optional(
959
- v4.z.enum(["email", "phone", "sms", "none"]).describe("Preferred contact method. Defaults to `email` when omitted.")
960
- ),
961
- source: v4.z.optional(
962
- v4.z.enum(["website", "phone", "walk_in"]).describe(
963
- "Origin of the reservation request. Defaults to `website` when omitted."
964
- )
965
- ),
2213
+ get contactPreference() {
2214
+ return contactPreferenceSchema.optional();
2215
+ },
2216
+ get source() {
2217
+ return areaBookingRequestSourceSchema.optional();
2218
+ },
966
2219
  specialRequests: v4.z.string().max(500).describe(
967
2220
  "Any dietary restrictions, allergies, or special occasions (max 500 characters)"
968
2221
  ).nullish(),
@@ -971,6 +2224,16 @@ const makeReservationRequestSchema = v4.z.object({
971
2224
  ).nullish()
972
2225
  }).describe("Request payload for making a new reservation");
973
2226
 
2227
+ const reservationStatusSchema = v4.z.enum([
2228
+ "pending",
2229
+ "confirmed",
2230
+ "arrived",
2231
+ "seated",
2232
+ "completed",
2233
+ "cancelled",
2234
+ "no_show"
2235
+ ]);
2236
+
974
2237
  const makeReservationResponseSchema = v4.z.object({
975
2238
  id: v4.z.uuid().describe("Unique identifier for the reservation"),
976
2239
  venueId: v4.z.uuid().describe("Restaurant/tenant identifier"),
@@ -989,16 +2252,12 @@ const makeReservationResponseSchema = v4.z.object({
989
2252
  customerLastName: v4.z.string().describe("Last name of the customer"),
990
2253
  customerEmail: v4.z.nullable(v4.z.string().describe("Customer email address")),
991
2254
  customerPhone: v4.z.nullable(v4.z.string().describe("Customer phone number")),
992
- contactPreference: v4.z.enum(["email", "phone", "sms", "none"]).describe("Preferred contact method"),
993
- status: v4.z.enum([
994
- "pending",
995
- "confirmed",
996
- "arrived",
997
- "seated",
998
- "completed",
999
- "cancelled",
1000
- "no_show"
1001
- ]).describe("Current status of the reservation"),
2255
+ get contactPreference() {
2256
+ return contactPreferenceSchema;
2257
+ },
2258
+ get status() {
2259
+ return reservationStatusSchema;
2260
+ },
1002
2261
  confirmationCode: v4.z.nullable(
1003
2262
  v4.z.string().describe("6-character confirmation code for the reservation")
1004
2263
  ),
@@ -1011,13 +2270,15 @@ const makeReservationResponseSchema = v4.z.object({
1011
2270
  cancelledAt: v4.z.nullable(
1012
2271
  v4.z.any().describe("When the reservation was cancelled")
1013
2272
  ),
1014
- cancellationReason: v4.z.nullable(
1015
- v4.z.enum(["customer_request", "restaurant_request"]).describe("Who initiated the cancellation")
1016
- ),
2273
+ get cancellationReason() {
2274
+ return cancellationReasonSchema;
2275
+ },
1017
2276
  cancellationNote: v4.z.nullable(
1018
2277
  v4.z.string().describe("Additional cancellation details")
1019
2278
  ),
1020
- source: v4.z.enum(["website", "phone", "walk_in"]).describe("Origin of the reservation"),
2279
+ get source() {
2280
+ return areaBookingRequestSourceSchema;
2281
+ },
1021
2282
  specialRequests: v4.z.nullable(
1022
2283
  v4.z.string().describe("Any special requirements or notes")
1023
2284
  ),
@@ -1034,13 +2295,39 @@ const makeReservationResponseSchema = v4.z.object({
1034
2295
  updatedAt: v4.z.nullable(v4.z.any().describe("Last update timestamp"))
1035
2296
  }).describe("Successfully created reservation");
1036
2297
 
1037
- const patchFeatureImageRequestSchema = v4.z.object({
2298
+ const mentionEntityTypeSchema = v4.z.enum([
2299
+ "dish",
2300
+ "beverage",
2301
+ "ingredient",
2302
+ "menu",
2303
+ "ritual"
2304
+ ]);
2305
+
2306
+ const mentionFieldFormatterSchema = v4.z.enum([
2307
+ "text",
2308
+ "currency",
2309
+ "integer",
2310
+ "percentage",
2311
+ "boolean"
2312
+ ]);
2313
+
2314
+ const mentionKindSchema = v4.z.enum(["link", "value"]);
2315
+
2316
+ const patchArticleFeatureImageBodySchema = v4.z.object({
1038
2317
  caption: v4.z.optional(v4.z.object({}).catchall(v4.z.any())),
1039
2318
  alt: v4.z.optional(v4.z.object({}).catchall(v4.z.any()))
1040
2319
  }).describe(
1041
2320
  "Locale-keyed merge of the asset-side `caption` and `alt` records. Each locale value may be a plain string OR a TipTap doc; strings are wrapped server-side. Setting `en` does not touch `de`."
1042
2321
  );
1043
2322
 
2323
+ const pendingSuperadminTransferStatusSchema = v4.z.enum([
2324
+ "pending_invite",
2325
+ "accepted_awaiting_payment",
2326
+ "completed",
2327
+ "cancelled",
2328
+ "expired"
2329
+ ]);
2330
+
1044
2331
  const placeOrderRequestSchema = v4.z.object({
1045
2332
  venueAccessor: v4.z.string().min(1),
1046
2333
  basketId: v4.z.string().min(1),
@@ -1073,14 +2360,18 @@ const placeOrderResponseSchema = v4.z.object({
1073
2360
  quickReferenceNumber: v4.z.nullable(
1074
2361
  v4.z.int().min(-9007199254740991).max(9007199254740991)
1075
2362
  ),
1076
- currency: v4.z.enum(["EUR", "CHF"])
2363
+ get currency() {
2364
+ return currencySchema;
2365
+ }
1077
2366
  });
1078
2367
 
1079
2368
  const reduceDeltaPaymentIntentRequestSchema = v4.z.object({
1080
2369
  venueAccessor: v4.z.string().min(1),
1081
2370
  basketId: v4.z.string().min(1),
1082
2371
  sessionId: v4.z.string().min(1),
1083
- currency: v4.z.enum(["EUR", "CHF"]),
2372
+ get currency() {
2373
+ return currencySchema;
2374
+ },
1084
2375
  declaredReturns: v4.z.optional(
1085
2376
  v4.z.array(
1086
2377
  v4.z.object({
@@ -1106,6 +2397,18 @@ const removeFromBasketResponseSchema = v4.z.object({
1106
2397
  }
1107
2398
  });
1108
2399
 
2400
+ const reservationPromotionStatusSchema = v4.z.enum([
2401
+ "applied",
2402
+ "redeemed",
2403
+ "expired"
2404
+ ]);
2405
+
2406
+ const scanTokenEntityTypeSchema = v4.z.enum(["order", "depositware"]);
2407
+
2408
+ const setArticleFeatureImageUploadBodySchema = v4.z.object({
2409
+ file: v4.z.string().describe("Image file (multipart/form-data field)")
2410
+ });
2411
+
1109
2412
  const setBasketDeclaredReturnsRequestSchema = v4.z.object({
1110
2413
  venueAccessor: v4.z.string().min(1),
1111
2414
  basketId: v4.z.string().min(1),
@@ -1172,7 +2475,21 @@ const setFulfillmentAtTeamOrderResponseSchema = v4.z.object({
1172
2475
  deadlineAt: v4.z.nullable(v4.z.iso.datetime())
1173
2476
  });
1174
2477
 
1175
- const submitAreaBookingRequestSchema = v4.z.object({
2478
+ const setOrderLeadSettledRequestSchema = v4.z.object({
2479
+ publicId: v4.z.string().min(1),
2480
+ sessionId: v4.z.string().min(1),
2481
+ orderId: v4.z.uuid(),
2482
+ settled: v4.z.boolean()
2483
+ });
2484
+
2485
+ const setOrderLeadSettledResponseSchema = v4.z.object({
2486
+ orderId: v4.z.uuid(),
2487
+ leadSettledAt: v4.z.nullable(v4.z.string())
2488
+ });
2489
+
2490
+ const sortOrderSchema = v4.z.enum(["asc", "desc"]);
2491
+
2492
+ const submitAreaBookingPayloadSchema = v4.z.object({
1176
2493
  requestedDate: v4.z.string().regex(/^\d{4}-\d{2}-\d{2}$/),
1177
2494
  requestedStartTime: v4.z.optional(v4.z.string().regex(/^\d{2}:\d{2}(:\d{2})?$/)),
1178
2495
  requestedEndTime: v4.z.optional(v4.z.string().regex(/^\d{2}:\d{2}(:\d{2})?$/)),
@@ -1182,10 +2499,12 @@ const submitAreaBookingRequestSchema = v4.z.object({
1182
2499
  customerEmail: v4.z.email(),
1183
2500
  customerPhone: v4.z.optional(v4.z.string()),
1184
2501
  message: v4.z.optional(v4.z.string()),
1185
- source: v4.z.optional(v4.z.enum(["website", "phone", "walk_in"]))
2502
+ get source() {
2503
+ return areaBookingRequestSourceSchema.optional();
2504
+ }
1186
2505
  });
1187
2506
 
1188
- const submitAreaBookingResponseSchema = v4.z.object({
2507
+ const submitAreaBookingRequestResponseSchema = v4.z.object({
1189
2508
  id: v4.z.string(),
1190
2509
  venueId: v4.z.string(),
1191
2510
  areaId: v4.z.string(),
@@ -1198,8 +2517,12 @@ const submitAreaBookingResponseSchema = v4.z.object({
1198
2517
  customerEmail: v4.z.string(),
1199
2518
  customerPhone: v4.z.nullable(v4.z.string()),
1200
2519
  message: v4.z.nullable(v4.z.string()),
1201
- source: v4.z.enum(["website", "phone", "walk_in"]),
1202
- status: v4.z.enum(["pending", "approved", "rejected", "cancelled"]),
2520
+ get source() {
2521
+ return areaBookingRequestSourceSchema;
2522
+ },
2523
+ get status() {
2524
+ return areaBookingRequestStatusSchema;
2525
+ },
1203
2526
  areaBookingId: v4.z.nullable(v4.z.string()),
1204
2527
  createdAt: v4.z.nullable(v4.z.string()),
1205
2528
  updatedAt: v4.z.nullable(v4.z.string())
@@ -1221,7 +2544,7 @@ const submitTeamOrderResponseSchema = v4.z.object({
1221
2544
  placedAt: v4.z.iso.datetime()
1222
2545
  });
1223
2546
 
1224
- const subscribeRequestSchema = v4.z.object({
2547
+ const subscribeToSubscriptionBodySchema = v4.z.object({
1225
2548
  email: v4.z.email(),
1226
2549
  firstName: v4.z.optional(v4.z.string()),
1227
2550
  lastName: v4.z.optional(v4.z.string()),
@@ -1230,11 +2553,19 @@ const subscribeRequestSchema = v4.z.object({
1230
2553
  cancelUrl: v4.z.url()
1231
2554
  });
1232
2555
 
1233
- const subscribeResponseSchema = v4.z.object({
2556
+ const subscribeToSubscriptionResponseSchema = v4.z.object({
1234
2557
  checkoutUrl: v4.z.nullable(v4.z.url()),
1235
2558
  sessionId: v4.z.string()
1236
2559
  });
1237
2560
 
2561
+ const subscriberStatusSchema = v4.z.enum([
2562
+ "active",
2563
+ "paused",
2564
+ "cancelled",
2565
+ "past_due",
2566
+ "trialing"
2567
+ ]);
2568
+
1238
2569
  const switchFulfillmentTeamOrderRequestSchema = v4.z.object({
1239
2570
  publicId: v4.z.string().min(1),
1240
2571
  sessionId: v4.z.string().min(1),
@@ -1257,6 +2588,15 @@ const switchFulfillmentTeamOrderResponseSchema = v4.z.object({
1257
2588
  deliveryAddressId: v4.z.nullable(v4.z.string())
1258
2589
  });
1259
2590
 
2591
+ const teamOrderPaymentStatusSchema = v4.z.enum([
2592
+ "authorized",
2593
+ "captured",
2594
+ "cash_pending",
2595
+ "cash_received",
2596
+ "voided",
2597
+ "failed"
2598
+ ]);
2599
+
1260
2600
  const updateDeliveryAddressTeamOrderRequestSchema = v4.z.object({
1261
2601
  publicId: v4.z.string().min(1),
1262
2602
  sessionId: v4.z.string().min(1),
@@ -1270,22 +2610,55 @@ const updateDeliveryAddressTeamOrderResponseSchema = v4.z.object({
1270
2610
  deliveryAddressId: v4.z.string()
1271
2611
  });
1272
2612
 
1273
- const uploadFeatureImageRequestSchema = v4.z.object({
1274
- file: v4.z.any().describe("Image file (multipart/form-data field)")
1275
- });
2613
+ const venueAssetTypeSchema = v4.z.enum([
2614
+ "logomark",
2615
+ "wordmark",
2616
+ "combinationmark_horizontal",
2617
+ "combinationmark_vertical"
2618
+ ]);
2619
+
2620
+ const venueChargeKindSchema = v4.z.enum(["base", "addon"]);
2621
+
2622
+ const venueTypeSchema = v4.z.enum([
2623
+ "restaurant",
2624
+ "fine_dining_restaurant",
2625
+ "ghost_kitchen",
2626
+ "food_truck"
2627
+ ]);
2628
+
2629
+ const venueUserStatusSchema = v4.z.enum(["pending", "confirmed", "revoked"]);
1276
2630
 
1277
2631
  const schemas = {
2632
+ AbandonBasketRequest: abandonBasketRequestSchema,
2633
+ AbandonBasketResponse: abandonBasketResponseSchema,
2634
+ ActorType: actorTypeSchema,
1278
2635
  AddToBasketRequest: addToBasketRequestSchema,
1279
2636
  AddToBasketResponse: addToBasketResponseSchema,
2637
+ AdditiveFunction: additiveFunctionSchema,
2638
+ AreaBookingMode: areaBookingModeSchema,
2639
+ AreaBookingRequestSource: areaBookingRequestSourceSchema,
2640
+ AreaBookingRequestStatus: areaBookingRequestStatusSchema,
2641
+ AreaBookingStatus: areaBookingStatusSchema,
1280
2642
  Area: areaSchema,
2643
+ ArticleEditorSaveState: articleEditorSaveStateSchema,
1281
2644
  ArticleMentionCounts: articleMentionCountsSchema,
2645
+ ArticleStatus: articleStatusSchema,
2646
+ AssetType: assetTypeSchema,
2647
+ AutoExtendFulfillmentIfExpiredRequest: autoExtendFulfillmentIfExpiredRequestSchema,
2648
+ AutoExtendFulfillmentIfExpiredResponse: autoExtendFulfillmentIfExpiredResponseSchema,
2649
+ BasketStatus: basketStatusSchema,
1282
2650
  BasketTotals: basketTotalsSchema,
2651
+ BeverageCategory: beverageCategorySchema,
2652
+ BillingMode: billingModeSchema,
1283
2653
  CancelSubscriptionRequest: cancelSubscriptionRequestSchema,
1284
2654
  CancelSubscriptionResponse: cancelSubscriptionResponseSchema,
1285
2655
  CancelTeamOrderRequest: cancelTeamOrderRequestSchema,
1286
2656
  CancelTeamOrderResponse: cancelTeamOrderResponseSchema,
2657
+ CancellationReason: cancellationReasonSchema,
1287
2658
  ConfirmOrderRequest: confirmOrderRequestSchema,
1288
2659
  ConfirmOrderResponse: confirmOrderResponseSchema,
2660
+ ContactPreference: contactPreferenceSchema,
2661
+ CountryCode: countryCodeSchema,
1289
2662
  CreateDeltaPaymentIntentRequest: createDeltaPaymentIntentRequestSchema,
1290
2663
  CreateDeltaPaymentIntentResponse: createDeltaPaymentIntentResponseSchema,
1291
2664
  CreateEventRequest: createEventRequestSchema,
@@ -1294,42 +2667,73 @@ const schemas = {
1294
2667
  CreatePaymentIntentResponse: createPaymentIntentResponseSchema,
1295
2668
  CreateTeamOrderRequest: createTeamOrderRequestSchema,
1296
2669
  CreateTeamOrderResponse: createTeamOrderResponseSchema,
2670
+ Currency: currencySchema,
2671
+ DayOfWeek: dayOfWeekSchema,
1297
2672
  DeliveryAddress: deliveryAddressSchema.deliveryAddressSchema,
2673
+ DepositTransactionType: depositTransactionTypeSchema,
2674
+ DepositwareStatus: depositwareStatusSchema,
1298
2675
  EditArticleRequest: editArticleRequestSchema,
1299
2676
  EditArticleResponse: editArticleResponseSchema,
2677
+ EntityOwnerType: entityOwnerTypeSchema,
2678
+ EnumFalse: enumFalseSchema,
2679
+ EnumTrue: enumTrueSchema,
1300
2680
  ExtendDeadlineTeamOrderRequest: extendDeadlineTeamOrderRequestSchema,
1301
2681
  ExtendDeadlineTeamOrderResponse: extendDeadlineTeamOrderResponseSchema,
2682
+ FeatureCategory: featureCategorySchema,
1302
2683
  FeatureImage: featureImageSchema,
2684
+ FeatureStatus: featureStatusSchema,
2685
+ FetchAreaBookingsResponse: fetchAreaBookingsResponseSchema,
2686
+ FetchAreaResponse: fetchAreaResponseSchema,
2687
+ FetchAreasResponse: fetchAreasResponseSchema,
1303
2688
  FetchArticleResponse: fetchArticleResponseSchema,
1304
2689
  FetchArticlesResponse: fetchArticlesResponseSchema,
2690
+ FetchBasketResponse: fetchBasketResponseSchema,
1305
2691
  FetchEventResponse: fetchEventResponseSchema,
1306
2692
  FetchEventsResponse: fetchEventsResponseSchema,
2693
+ FetchLatestOrderResponse: fetchLatestOrderResponseSchema,
1307
2694
  FetchMenuBundlesResponse: fetchMenuBundlesResponseSchema,
1308
2695
  FetchMenuResponse: fetchMenuResponseSchema,
1309
2696
  FetchMenuSubscriptionsResponse: fetchMenuSubscriptionsResponseSchema,
1310
2697
  FetchTeamOrderResponse: fetchTeamOrderResponseSchema,
1311
2698
  FulfillmentType: deliveryAddressSchema.fulfillmentTypeSchema,
1312
2699
  GetAreaAvailabilityResponse: getAreaAvailabilityResponseSchema,
1313
- GetAreaResponse: getAreaResponseSchema,
1314
2700
  GetBasketTotalsRequest: getBasketTotalsRequestSchema,
1315
2701
  GetBasketTotalsResponse: getBasketTotalsResponseSchema,
1316
2702
  GetSubscriptionCreditsResponse: getSubscriptionCreditsResponseSchema,
1317
2703
  GetSubscriptionResponse: getSubscriptionResponseSchema,
1318
2704
  GetVenueResponse: getVenueResponseSchema,
2705
+ IntegrationNotificationType: integrationNotificationTypeSchema,
2706
+ IntegrationType: integrationTypeSchema,
2707
+ InventoryAssetStatus: inventoryAssetStatusSchema,
2708
+ InventoryCategory: inventoryCategorySchema,
2709
+ InvitationScenario: invitationScenarioSchema,
1319
2710
  JoinTeamOrderRequest: joinTeamOrderRequestSchema,
1320
2711
  JoinTeamOrderResponse: joinTeamOrderResponseSchema,
1321
- ListAreasResponse: listAreasResponseSchema,
2712
+ Jurisdiction: jurisdictionSchema,
2713
+ Locale: localeSchema,
1322
2714
  MakeReservationRequest: makeReservationRequestSchema,
1323
2715
  MakeReservationResponse: makeReservationResponseSchema,
2716
+ MentionEntityType: mentionEntityTypeSchema,
2717
+ MentionFieldFormatter: mentionFieldFormatterSchema,
2718
+ MentionKind: mentionKindSchema,
2719
+ MenuItemType: menuItemTypeSchema,
1324
2720
  OgImage: ogImageSchema,
2721
+ OrderStatus: orderStatusSchema,
1325
2722
  ParticipantStatus: deliveryAddressSchema.participantStatusSchema,
1326
- PatchFeatureImageRequest: patchFeatureImageRequestSchema,
2723
+ PatchArticleFeatureImageBody: patchArticleFeatureImageBodySchema,
1327
2724
  PaymentMethod: deliveryAddressSchema.paymentMethodSchema,
2725
+ PaymentStatus: paymentStatusSchema,
2726
+ PendingSuperadminTransferStatus: pendingSuperadminTransferStatusSchema,
1328
2727
  PlaceOrderRequest: placeOrderRequestSchema,
1329
2728
  PlaceOrderResponse: placeOrderResponseSchema,
2729
+ PromotionBenefitType: promotionBenefitTypeSchema,
1330
2730
  ReduceDeltaPaymentIntentRequest: reduceDeltaPaymentIntentRequestSchema,
1331
2731
  ReduceDeltaPaymentIntentResponse: reduceDeltaPaymentIntentResponseSchema,
1332
2732
  RemoveFromBasketResponse: removeFromBasketResponseSchema,
2733
+ ReservationPromotionStatus: reservationPromotionStatusSchema,
2734
+ ReservationStatus: reservationStatusSchema,
2735
+ ScanTokenEntityType: scanTokenEntityTypeSchema,
2736
+ SetArticleFeatureImageUploadBody: setArticleFeatureImageUploadBodySchema,
1333
2737
  SetBasketDeclaredReturnsRequest: setBasketDeclaredReturnsRequestSchema,
1334
2738
  SetBasketDeclaredReturnsResponse: setBasketDeclaredReturnsResponseSchema,
1335
2739
  SetDiningLocationTeamOrderRequest: setDiningLocationTeamOrderRequestSchema,
@@ -1338,18 +2742,30 @@ const schemas = {
1338
2742
  SetDiningTimeTeamOrderResponse: setDiningTimeTeamOrderResponseSchema,
1339
2743
  SetFulfillmentAtTeamOrderRequest: setFulfillmentAtTeamOrderRequestSchema,
1340
2744
  SetFulfillmentAtTeamOrderResponse: setFulfillmentAtTeamOrderResponseSchema,
1341
- SubmitAreaBookingRequest: submitAreaBookingRequestSchema,
1342
- SubmitAreaBookingResponse: submitAreaBookingResponseSchema,
2745
+ SetOrderLeadSettledRequest: setOrderLeadSettledRequestSchema,
2746
+ SetOrderLeadSettledResponse: setOrderLeadSettledResponseSchema,
2747
+ SlotMode: slotModeSchema,
2748
+ SortOrder: sortOrderSchema,
2749
+ SubmitAreaBookingPayload: submitAreaBookingPayloadSchema,
2750
+ SubmitAreaBookingRequestResponse: submitAreaBookingRequestResponseSchema,
1343
2751
  SubmitTeamOrderRequest: submitTeamOrderRequestSchema,
1344
2752
  SubmitTeamOrderResponse: submitTeamOrderResponseSchema,
1345
- SubscribeRequest: subscribeRequestSchema,
1346
- SubscribeResponse: subscribeResponseSchema,
2753
+ SubscribeToSubscriptionBody: subscribeToSubscriptionBodySchema,
2754
+ SubscribeToSubscriptionResponse: subscribeToSubscriptionResponseSchema,
2755
+ SubscriberStatus: subscriberStatusSchema,
2756
+ SubscriptionCreditStatus: subscriptionCreditStatusSchema,
2757
+ SubscriptionPeriod: subscriptionPeriodSchema,
1347
2758
  SwitchFulfillmentTeamOrderRequest: switchFulfillmentTeamOrderRequestSchema,
1348
2759
  SwitchFulfillmentTeamOrderResponse: switchFulfillmentTeamOrderResponseSchema,
2760
+ TeamOrderPaymentStatus: teamOrderPaymentStatusSchema,
1349
2761
  TeamOrderStatus: deliveryAddressSchema.teamOrderStatusSchema,
2762
+ Unit: unitSchema,
1350
2763
  UpdateDeliveryAddressTeamOrderRequest: updateDeliveryAddressTeamOrderRequestSchema,
1351
2764
  UpdateDeliveryAddressTeamOrderResponse: updateDeliveryAddressTeamOrderResponseSchema,
1352
- UploadFeatureImageRequest: uploadFeatureImageRequestSchema
2765
+ VenueAssetType: venueAssetTypeSchema,
2766
+ VenueChargeKind: venueChargeKindSchema,
2767
+ VenueType: venueTypeSchema,
2768
+ VenueUserStatus: venueUserStatusSchema
1353
2769
  };
1354
2770
 
1355
2771
  exports.schemas = schemas;