order3000 0.25.0 → 1.0.1

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,424 @@ 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.optional();
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.optional(v4.z.string()),
1327
+ startTime: v4.z.optional(v4.z.string()),
1328
+ endTime: v4.z.string().nullish(),
1329
+ get dayOfWeek() {
1330
+ return dayOfWeekSchema.optional();
1331
+ },
1332
+ isSchedulable: v4.z.boolean().nullish()
1333
+ })
1334
+ )
1335
+ })
1336
+ ),
1337
+ promotions: v4.z.array(
1338
+ v4.z.object({
1339
+ id: v4.z.string(),
1340
+ name: v4.z.object({}).catchall(v4.z.string()),
1341
+ description: v4.z.nullable(v4.z.object({}).catchall(v4.z.string())),
1342
+ validFrom: v4.z.nullable(v4.z.string()),
1343
+ validTo: v4.z.nullable(v4.z.string()),
1344
+ isActive: v4.z.boolean(),
1345
+ updatedAt: v4.z.nullable(v4.z.any()),
1346
+ updatedBy: v4.z.nullable(v4.z.string()),
1347
+ createdAt: v4.z.nullable(v4.z.any()),
1348
+ createdBy: v4.z.nullable(v4.z.string()),
1349
+ venueId: v4.z.string(),
1350
+ get benefitType() {
1351
+ return promotionBenefitTypeSchema;
1352
+ },
1353
+ benefitValue: v4.z.object({}).catchall(v4.z.any()),
1354
+ conditions: v4.z.nullable(v4.z.object({}).catchall(v4.z.any())),
1355
+ maxRedemptions: v4.z.nullable(v4.z.number()),
1356
+ currentRedemptions: v4.z.nullable(v4.z.number()),
1357
+ timeSlotIds: v4.z.nullable(v4.z.array(v4.z.string()))
1358
+ })
1359
+ )
1360
+ })
473
1361
  );
474
1362
 
1363
+ const orderStatusSchema = v4.z.enum([
1364
+ "pending",
1365
+ "in_progress",
1366
+ "ready",
1367
+ "completed",
1368
+ "cancelled"
1369
+ ]);
1370
+
1371
+ const paymentStatusSchema = v4.z.enum([
1372
+ "unpaid",
1373
+ "paid",
1374
+ "refunded",
1375
+ "authorized",
1376
+ "cash_pending"
1377
+ ]);
1378
+
1379
+ const fetchLatestOrderResponseSchema = v4.z.object({
1380
+ id: v4.z.uuid(),
1381
+ publicId: v4.z.nullable(v4.z.string()),
1382
+ quickReferenceNumber: v4.z.nullable(
1383
+ v4.z.int().min(-9007199254740991).max(9007199254740991)
1384
+ ),
1385
+ get status() {
1386
+ return orderStatusSchema;
1387
+ },
1388
+ get paymentStatus() {
1389
+ return paymentStatusSchema;
1390
+ },
1391
+ get fulfillmentType() {
1392
+ return deliveryAddressSchema.fulfillmentTypeSchema;
1393
+ },
1394
+ fulfillmentAt: v4.z.nullable(v4.z.string()),
1395
+ orderedAt: v4.z.string(),
1396
+ totalAmount: v4.z.int().min(0).max(9007199254740991),
1397
+ get currency() {
1398
+ return currencySchema;
1399
+ },
1400
+ items: v4.z.array(
1401
+ v4.z.object({
1402
+ id: v4.z.uuid(),
1403
+ metadata: v4.z.nullable(v4.z.object({}).catchall(v4.z.any())),
1404
+ deposit: v4.z.nullable(
1405
+ v4.z.object({
1406
+ depositwareTemplateId: v4.z.string(),
1407
+ name: v4.z.object({}).catchall(v4.z.string()),
1408
+ amount: v4.z.int().min(0).max(9007199254740991),
1409
+ get currency() {
1410
+ return currencySchema;
1411
+ }
1412
+ })
1413
+ ),
1414
+ menuItems: v4.z.array(
1415
+ v4.z.object({
1416
+ menuItemId: v4.z.string(),
1417
+ role: v4.z.nullable(v4.z.string()),
1418
+ quantity: v4.z.number().gt(0),
1419
+ get unit() {
1420
+ return unitSchema;
1421
+ }
1422
+ })
1423
+ )
1424
+ })
1425
+ ),
1426
+ itemCount: v4.z.int().min(0).max(9007199254740991),
1427
+ get totals() {
1428
+ return basketTotalsSchema;
1429
+ },
1430
+ declaredReturns: v4.z.array(
1431
+ v4.z.object({
1432
+ depositwareTemplateId: v4.z.string(),
1433
+ count: v4.z.int().min(0).max(9007199254740991)
1434
+ })
1435
+ )
1436
+ });
1437
+
475
1438
  const fetchMenuBundlesResponseSchema = v4.z.array(
476
1439
  v4.z.object({
477
1440
  id: v4.z.string(),
@@ -482,9 +1445,13 @@ const fetchMenuBundlesResponseSchema = v4.z.array(
482
1445
  tags: v4.z.array(v4.z.string()),
483
1446
  price: v4.z.object({
484
1447
  amount: v4.z.number(),
485
- currency: v4.z.enum(["EUR", "CHF"])
1448
+ get currency() {
1449
+ return currencySchema;
1450
+ }
486
1451
  }),
487
- currency: v4.z.enum(["EUR", "CHF"]),
1452
+ get currency() {
1453
+ return currencySchema;
1454
+ },
488
1455
  taxRateId: v4.z.string(),
489
1456
  isActive: v4.z.boolean(),
490
1457
  sortIndex: v4.z.nullable(v4.z.string()),
@@ -496,98 +1463,213 @@ const fetchMenuBundlesResponseSchema = v4.z.array(
496
1463
  ),
497
1464
  deposit: v4.z.nullable(
498
1465
  v4.z.object({
1466
+ depositwareTemplateId: v4.z.string(),
1467
+ accessor: v4.z.string(),
499
1468
  amount: v4.z.number(),
500
- currency: v4.z.enum(["EUR", "CHF"])
1469
+ get currency() {
1470
+ return currencySchema;
1471
+ }
501
1472
  })
502
1473
  )
503
- }).catchall(v4.z.any())
1474
+ })
504
1475
  );
505
1476
 
1477
+ const menuItemTypeSchema = v4.z.enum(["dish", "beverage"]);
1478
+
506
1479
  const fetchMenuResponseSchema = v4.z.object({
507
1480
  id: v4.z.string(),
508
- venueId: v4.z.string(),
1481
+ name: v4.z.object({}).catchall(v4.z.string()),
509
1482
  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
1483
  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)
1484
+ v4.z.object({
1485
+ orderingEnabled: v4.z.optional(v4.z.boolean()),
1486
+ compactTags: v4.z.optional(v4.z.array(v4.z.string())),
1487
+ showDepositware: v4.z.optional(v4.z.boolean()),
1488
+ tagSortOrder: v4.z.optional(v4.z.array(v4.z.string())),
1489
+ subscriptionsEnabled: v4.z.optional(v4.z.boolean()),
1490
+ isDeliveryEnabled: v4.z.optional(v4.z.boolean()),
1491
+ assetsEnabled: v4.z.optional(v4.z.boolean())
1492
+ })
535
1493
  ),
536
- createdAt: v4.z.nullable(v4.z.any()),
1494
+ description: v4.z.nullable(v4.z.object({}).catchall(v4.z.string())),
1495
+ sortIndex: v4.z.nullable(v4.z.string()),
537
1496
  updatedAt: v4.z.nullable(v4.z.any()),
538
- createdBy: v4.z.nullable(v4.z.string()),
539
1497
  updatedBy: v4.z.nullable(v4.z.string()),
540
- assets: v4.z.optional(
1498
+ createdAt: v4.z.nullable(v4.z.any()),
1499
+ createdBy: v4.z.nullable(v4.z.string()),
1500
+ venueId: v4.z.string(),
1501
+ deliveryThresholdAmount: v4.z.nullable(v4.z.number()),
1502
+ deliveryThresholdQuantity: v4.z.nullable(v4.z.number()),
1503
+ assets: v4.z.array(
1504
+ v4.z.object({
1505
+ id: v4.z.string(),
1506
+ get type() {
1507
+ return assetTypeSchema;
1508
+ },
1509
+ metadata: v4.z.nullable(
1510
+ v4.z.object({
1511
+ width: v4.z.optional(v4.z.number()),
1512
+ height: v4.z.optional(v4.z.number()),
1513
+ duration: v4.z.optional(v4.z.number())
1514
+ })
1515
+ ),
1516
+ isActive: v4.z.boolean(),
1517
+ sortIndex: v4.z.nullable(v4.z.string()),
1518
+ updatedAt: v4.z.nullable(v4.z.any()),
1519
+ updatedBy: v4.z.nullable(v4.z.string()),
1520
+ createdAt: v4.z.nullable(v4.z.any()),
1521
+ createdBy: v4.z.nullable(v4.z.string()),
1522
+ venueId: v4.z.nullable(v4.z.string()),
1523
+ tags: v4.z.nullable(v4.z.array(v4.z.string())),
1524
+ bucket: v4.z.string(),
1525
+ storagePath: v4.z.string(),
1526
+ filename: v4.z.string(),
1527
+ contentType: v4.z.string(),
1528
+ sizeBytes: v4.z.number(),
1529
+ caption: v4.z.object({}).catchall(v4.z.any()),
1530
+ alt: v4.z.object({}).catchall(v4.z.any()),
1531
+ cropArea: v4.z.nullable(
1532
+ v4.z.object({
1533
+ x: v4.z.number(),
1534
+ y: v4.z.number(),
1535
+ width: v4.z.number(),
1536
+ height: v4.z.number()
1537
+ })
1538
+ ),
1539
+ publicUrl: v4.z.string()
1540
+ })
1541
+ ),
1542
+ items: v4.z.optional(
541
1543
  v4.z.array(
542
1544
  v4.z.object({
543
1545
  id: v4.z.string(),
544
- type: v4.z.enum(["image", "video", "document"]),
1546
+ get type() {
1547
+ return menuItemTypeSchema;
1548
+ },
545
1549
  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
- ),
1550
+ priceAdjustment: v4.z.number(),
1551
+ get currency() {
1552
+ return currencySchema;
1553
+ },
575
1554
  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())
1555
+ isFeatured: v4.z.boolean(),
1556
+ sortIndex: v4.z.nullable(v4.z.string()),
1557
+ dish: v4.z.nullable(
1558
+ v4.z.object({
1559
+ id: v4.z.string(),
1560
+ accessor: v4.z.string(),
1561
+ name: v4.z.object({}).catchall(v4.z.string()),
1562
+ shortName: v4.z.optional(v4.z.object({}).catchall(v4.z.string())),
1563
+ description: v4.z.nullable(v4.z.object({}).catchall(v4.z.string())),
1564
+ longDescription: v4.z.object({}).catchall(v4.z.string()).nullish(),
1565
+ isVegetarian: v4.z.nullable(v4.z.boolean()),
1566
+ isVegan: v4.z.nullable(v4.z.boolean()),
1567
+ isGlutenFree: v4.z.nullable(v4.z.boolean()),
1568
+ isDairyFree: v4.z.nullable(v4.z.boolean()),
1569
+ spiciness: v4.z.nullable(v4.z.number()),
1570
+ assets: v4.z.optional(
1571
+ v4.z.array(
1572
+ v4.z.object({
1573
+ id: v4.z.string(),
1574
+ get type() {
1575
+ return assetTypeSchema;
1576
+ },
1577
+ metadata: v4.z.nullable(
1578
+ v4.z.object({
1579
+ width: v4.z.optional(v4.z.number()),
1580
+ height: v4.z.optional(v4.z.number()),
1581
+ duration: v4.z.optional(v4.z.number())
1582
+ })
1583
+ ),
1584
+ isActive: v4.z.boolean(),
1585
+ sortIndex: v4.z.nullable(v4.z.string()),
1586
+ updatedAt: v4.z.nullable(v4.z.any()),
1587
+ updatedBy: v4.z.nullable(v4.z.string()),
1588
+ createdAt: v4.z.nullable(v4.z.any()),
1589
+ createdBy: v4.z.nullable(v4.z.string()),
1590
+ venueId: v4.z.nullable(v4.z.string()),
1591
+ tags: v4.z.nullable(v4.z.array(v4.z.string())),
1592
+ bucket: v4.z.string(),
1593
+ storagePath: v4.z.string(),
1594
+ filename: v4.z.string(),
1595
+ contentType: v4.z.string(),
1596
+ sizeBytes: v4.z.number(),
1597
+ caption: v4.z.object({}).catchall(v4.z.any()),
1598
+ alt: v4.z.object({}).catchall(v4.z.any()),
1599
+ cropArea: v4.z.nullable(
1600
+ v4.z.object({
1601
+ x: v4.z.number(),
1602
+ y: v4.z.number(),
1603
+ width: v4.z.number(),
1604
+ height: v4.z.number()
1605
+ })
1606
+ ),
1607
+ publicUrl: v4.z.string()
1608
+ })
1609
+ )
1610
+ )
1611
+ })
1612
+ ),
1613
+ beverage: v4.z.nullable(
1614
+ v4.z.object({
1615
+ id: v4.z.string(),
1616
+ accessor: v4.z.string(),
1617
+ name: v4.z.object({}).catchall(v4.z.string()),
1618
+ shortName: v4.z.optional(v4.z.object({}).catchall(v4.z.string())),
1619
+ description: v4.z.nullable(v4.z.object({}).catchall(v4.z.string())),
1620
+ longDescription: v4.z.object({}).catchall(v4.z.string()).nullish(),
1621
+ assets: v4.z.optional(
1622
+ v4.z.array(
1623
+ v4.z.object({
1624
+ id: v4.z.string(),
1625
+ get type() {
1626
+ return assetTypeSchema;
1627
+ },
1628
+ metadata: v4.z.nullable(
1629
+ v4.z.object({
1630
+ width: v4.z.optional(v4.z.number()),
1631
+ height: v4.z.optional(v4.z.number()),
1632
+ duration: v4.z.optional(v4.z.number())
1633
+ })
1634
+ ),
1635
+ isActive: v4.z.boolean(),
1636
+ sortIndex: v4.z.nullable(v4.z.string()),
1637
+ updatedAt: v4.z.nullable(v4.z.any()),
1638
+ updatedBy: v4.z.nullable(v4.z.string()),
1639
+ createdAt: v4.z.nullable(v4.z.any()),
1640
+ createdBy: v4.z.nullable(v4.z.string()),
1641
+ venueId: v4.z.nullable(v4.z.string()),
1642
+ tags: v4.z.nullable(v4.z.array(v4.z.string())),
1643
+ bucket: v4.z.string(),
1644
+ storagePath: v4.z.string(),
1645
+ filename: v4.z.string(),
1646
+ contentType: v4.z.string(),
1647
+ sizeBytes: v4.z.number(),
1648
+ caption: v4.z.object({}).catchall(v4.z.any()),
1649
+ alt: v4.z.object({}).catchall(v4.z.any()),
1650
+ cropArea: v4.z.nullable(
1651
+ v4.z.object({
1652
+ x: v4.z.number(),
1653
+ y: v4.z.number(),
1654
+ width: v4.z.number(),
1655
+ height: v4.z.number()
1656
+ })
1657
+ ),
1658
+ publicUrl: v4.z.string()
1659
+ })
1660
+ )
1661
+ )
1662
+ })
1663
+ )
583
1664
  })
584
1665
  )
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."
1666
+ )
1667
+ }).describe(
1668
+ "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
1669
  );
590
1670
 
1671
+ const subscriptionPeriodSchema = v4.z.enum(["week", "month", "year"]);
1672
+
591
1673
  const fetchMenuSubscriptionsResponseSchema = v4.z.array(
592
1674
  v4.z.object({
593
1675
  id: v4.z.string(),
@@ -598,34 +1680,38 @@ const fetchMenuSubscriptionsResponseSchema = v4.z.array(
598
1680
  description: v4.z.nullable(v4.z.object({}).catchall(v4.z.string())),
599
1681
  scheduleId: v4.z.nullable(v4.z.string()),
600
1682
  allowance: v4.z.number(),
601
- billingPeriod: v4.z.enum(["week", "month", "year"]),
602
- allowancePeriod: v4.z.enum(["week", "month", "year"]),
1683
+ get billingPeriod() {
1684
+ return subscriptionPeriodSchema;
1685
+ },
1686
+ get allowancePeriod() {
1687
+ return subscriptionPeriodSchema;
1688
+ },
603
1689
  expiryInDays: v4.z.number(),
604
1690
  price: v4.z.number(),
605
- currency: v4.z.enum(["EUR", "CHF"]),
1691
+ get currency() {
1692
+ return currencySchema;
1693
+ },
606
1694
  stripeProductId: v4.z.nullable(v4.z.string()),
607
1695
  stripePriceId: v4.z.nullable(v4.z.string()),
608
1696
  isActive: v4.z.boolean(),
609
1697
  sortIndex: v4.z.nullable(v4.z.string()),
610
1698
  subscriberCount: v4.z.number(),
611
1699
  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
- )
1700
+ posters: v4.z.array(
1701
+ v4.z.object({
1702
+ id: v4.z.string(),
1703
+ menuSubscriptionId: v4.z.string(),
1704
+ storagePath: v4.z.string(),
1705
+ publicUrl: v4.z.string(),
1706
+ filename: v4.z.string(),
1707
+ contentType: v4.z.string(),
1708
+ sizeBytes: v4.z.number(),
1709
+ sortIndex: v4.z.nullable(v4.z.string()),
1710
+ createdBy: v4.z.nullable(v4.z.string()),
1711
+ createdAt: v4.z.nullable(v4.z.string())
1712
+ })
627
1713
  )
628
- }).catchall(v4.z.any())
1714
+ })
629
1715
  );
630
1716
 
631
1717
  const fetchTeamOrderResponseSchema = v4.z.object({
@@ -686,19 +1772,15 @@ const fetchTeamOrderResponseSchema = v4.z.object({
686
1772
  items: v4.z.array(
687
1773
  v4.z.object({
688
1774
  id: v4.z.string(),
689
- metadata: v4.z.nullable(v4.z.any()),
1775
+ metadata: v4.z.nullable(v4.z.object({}).catchall(v4.z.any())),
690
1776
  menuItems: v4.z.array(
691
1777
  v4.z.object({
692
1778
  menuItemId: v4.z.string(),
693
1779
  role: v4.z.nullable(v4.z.string()),
694
1780
  quantity: v4.z.number(),
695
- unit: v4.z.enum([
696
- "grams",
697
- "kilograms",
698
- "liters",
699
- "milliliters",
700
- "pieces"
701
- ])
1781
+ get unit() {
1782
+ return unitSchema;
1783
+ }
702
1784
  })
703
1785
  ),
704
1786
  isPaid: v4.z.boolean()
@@ -754,7 +1836,9 @@ const fetchTeamOrderResponseSchema = v4.z.object({
754
1836
  const getAreaAvailabilityResponseSchema = v4.z.object({
755
1837
  from: v4.z.string().regex(/^\d{4}-\d{2}-\d{2}$/),
756
1838
  to: v4.z.string().regex(/^\d{4}-\d{2}-\d{2}$/),
757
- bookingMode: v4.z.enum(["slot", "day"]),
1839
+ get bookingMode() {
1840
+ return areaBookingModeSchema;
1841
+ },
758
1842
  occupied: v4.z.array(
759
1843
  v4.z.object({
760
1844
  date: v4.z.string().regex(/^\d{4}-\d{2}-\d{2}$/),
@@ -764,63 +1848,6 @@ const getAreaAvailabilityResponseSchema = v4.z.object({
764
1848
  )
765
1849
  });
766
1850
 
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
1851
  const getBasketTotalsRequestSchema = v4.z.object({
825
1852
  venueAccessor: v4.z.string().min(1),
826
1853
  basketId: v4.z.string().min(1),
@@ -835,7 +1862,9 @@ const getBasketTotalsRequestSchema = v4.z.object({
835
1862
  });
836
1863
 
837
1864
  const getBasketTotalsResponseSchema = v4.z.object({
838
- currency: v4.z.enum(["EUR", "CHF"]),
1865
+ get currency() {
1866
+ return currencySchema;
1867
+ },
839
1868
  itemsTotal: v4.z.int().min(0).max(9007199254740991),
840
1869
  taxAmount: v4.z.int().min(0).max(9007199254740991),
841
1870
  depositCharge: v4.z.int().min(0).max(9007199254740991),
@@ -851,6 +1880,12 @@ const getBasketTotalsResponseSchema = v4.z.object({
851
1880
  )
852
1881
  });
853
1882
 
1883
+ const subscriptionCreditStatusSchema = v4.z.enum([
1884
+ "available",
1885
+ "redeemed",
1886
+ "expired"
1887
+ ]);
1888
+
854
1889
  const getSubscriptionCreditsResponseSchema = v4.z.array(
855
1890
  v4.z.object({
856
1891
  id: v4.z.string(),
@@ -858,7 +1893,9 @@ const getSubscriptionCreditsResponseSchema = v4.z.array(
858
1893
  periodStart: v4.z.string(),
859
1894
  periodEnd: v4.z.string(),
860
1895
  expiresAt: v4.z.nullable(v4.z.string()),
861
- status: v4.z.enum(["available", "redeemed", "expired"]),
1896
+ get status() {
1897
+ return subscriptionCreditStatusSchema;
1898
+ },
862
1899
  redeemedAt: v4.z.nullable(v4.z.string()),
863
1900
  orderId: v4.z.nullable(v4.z.string()),
864
1901
  createdAt: v4.z.nullable(v4.z.string())
@@ -874,12 +1911,18 @@ const getSubscriptionResponseSchema = v4.z.object({
874
1911
  description: v4.z.nullable(v4.z.object({}).catchall(v4.z.string())),
875
1912
  scheduleId: v4.z.nullable(v4.z.string()),
876
1913
  allowance: v4.z.int().max(9007199254740991),
877
- billingPeriod: v4.z.enum(["week", "month", "year"]),
878
- allowancePeriod: v4.z.enum(["week", "month", "year"]),
1914
+ get billingPeriod() {
1915
+ return subscriptionPeriodSchema;
1916
+ },
1917
+ get allowancePeriod() {
1918
+ return subscriptionPeriodSchema;
1919
+ },
879
1920
  redeemableTagSets: v4.z.array(v4.z.array(v4.z.string())),
880
1921
  expiryInDays: v4.z.nullable(v4.z.int().max(9007199254740991)),
881
1922
  price: v4.z.int().min(0).max(9007199254740991),
882
- currency: v4.z.enum(["EUR", "CHF"]),
1923
+ get currency() {
1924
+ return currencySchema;
1925
+ },
883
1926
  isActive: v4.z.boolean(),
884
1927
  sortIndex: v4.z.nullable(v4.z.string()),
885
1928
  posters: v4.z.array(
@@ -914,6 +1957,38 @@ const getVenueResponseSchema = v4.z.object({
914
1957
  "A venue. The public API exposes only the minimal id + accessor + naming + locale fields the CLI's `venues use` / `auth whoami` consume."
915
1958
  );
916
1959
 
1960
+ const integrationNotificationTypeSchema = v4.z.enum([
1961
+ "order_created",
1962
+ "order_cancelled",
1963
+ "order_completed",
1964
+ "team_order_created",
1965
+ "reservation_created",
1966
+ "reservation_confirmed",
1967
+ "reservation_cancelled"
1968
+ ]);
1969
+
1970
+ const integrationTypeSchema = v4.z.enum(["telegram"]);
1971
+
1972
+ const inventoryAssetStatusSchema = v4.z.enum([
1973
+ "available",
1974
+ "in_use",
1975
+ "maintenance",
1976
+ "retired"
1977
+ ]);
1978
+
1979
+ const inventoryCategorySchema = v4.z.enum([
1980
+ "depositware",
1981
+ "furniture",
1982
+ "equipment",
1983
+ "utensil"
1984
+ ]);
1985
+
1986
+ const invitationScenarioSchema = v4.z.enum([
1987
+ "new_user",
1988
+ "already_member",
1989
+ "former_employee"
1990
+ ]);
1991
+
917
1992
  const joinTeamOrderRequestSchema = v4.z.object({
918
1993
  publicId: v4.z.string().min(1),
919
1994
  sessionId: v4.z.string().min(1),
@@ -931,11 +2006,194 @@ const joinTeamOrderResponseSchema = v4.z.object({
931
2006
  alreadyJoined: v4.z.boolean()
932
2007
  });
933
2008
 
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
- );
2009
+ const jurisdictionSchema = v4.z.enum(["DE", "CH", "FR", "IT"]);
2010
+
2011
+ const localeSchema = v4.z.enum([
2012
+ "aa",
2013
+ "ab",
2014
+ "ae",
2015
+ "af",
2016
+ "ak",
2017
+ "am",
2018
+ "an",
2019
+ "ar",
2020
+ "as",
2021
+ "av",
2022
+ "ay",
2023
+ "az",
2024
+ "ba",
2025
+ "be",
2026
+ "bg",
2027
+ "bh",
2028
+ "bi",
2029
+ "bm",
2030
+ "bn",
2031
+ "bo",
2032
+ "br",
2033
+ "bs",
2034
+ "ca",
2035
+ "ce",
2036
+ "ch",
2037
+ "co",
2038
+ "cr",
2039
+ "cs",
2040
+ "cu",
2041
+ "cv",
2042
+ "cy",
2043
+ "da",
2044
+ "de",
2045
+ "dv",
2046
+ "dz",
2047
+ "ee",
2048
+ "el",
2049
+ "en",
2050
+ "eo",
2051
+ "es",
2052
+ "et",
2053
+ "eu",
2054
+ "fa",
2055
+ "ff",
2056
+ "fi",
2057
+ "fj",
2058
+ "fo",
2059
+ "fr",
2060
+ "fy",
2061
+ "ga",
2062
+ "gd",
2063
+ "gl",
2064
+ "gn",
2065
+ "gu",
2066
+ "gv",
2067
+ "ha",
2068
+ "he",
2069
+ "hi",
2070
+ "ho",
2071
+ "hr",
2072
+ "ht",
2073
+ "hu",
2074
+ "hy",
2075
+ "hz",
2076
+ "ia",
2077
+ "id",
2078
+ "ie",
2079
+ "ig",
2080
+ "ii",
2081
+ "ik",
2082
+ "io",
2083
+ "is",
2084
+ "it",
2085
+ "iu",
2086
+ "ja",
2087
+ "jv",
2088
+ "ka",
2089
+ "kg",
2090
+ "ki",
2091
+ "kj",
2092
+ "kk",
2093
+ "kl",
2094
+ "km",
2095
+ "kn",
2096
+ "ko",
2097
+ "kr",
2098
+ "ks",
2099
+ "ku",
2100
+ "kv",
2101
+ "kw",
2102
+ "ky",
2103
+ "la",
2104
+ "lb",
2105
+ "lg",
2106
+ "li",
2107
+ "ln",
2108
+ "lo",
2109
+ "lt",
2110
+ "lu",
2111
+ "lv",
2112
+ "mg",
2113
+ "mh",
2114
+ "mi",
2115
+ "mk",
2116
+ "ml",
2117
+ "mn",
2118
+ "mr",
2119
+ "ms",
2120
+ "mt",
2121
+ "my",
2122
+ "na",
2123
+ "nb",
2124
+ "nd",
2125
+ "ne",
2126
+ "ng",
2127
+ "nl",
2128
+ "nn",
2129
+ "no",
2130
+ "nr",
2131
+ "nv",
2132
+ "ny",
2133
+ "oc",
2134
+ "oj",
2135
+ "om",
2136
+ "or",
2137
+ "os",
2138
+ "pa",
2139
+ "pi",
2140
+ "pl",
2141
+ "ps",
2142
+ "pt",
2143
+ "qu",
2144
+ "rm",
2145
+ "rn",
2146
+ "ro",
2147
+ "ru",
2148
+ "rw",
2149
+ "sa",
2150
+ "sc",
2151
+ "sd",
2152
+ "se",
2153
+ "sg",
2154
+ "si",
2155
+ "sk",
2156
+ "sl",
2157
+ "sm",
2158
+ "sn",
2159
+ "so",
2160
+ "sq",
2161
+ "sr",
2162
+ "ss",
2163
+ "st",
2164
+ "su",
2165
+ "sv",
2166
+ "sw",
2167
+ "ta",
2168
+ "te",
2169
+ "tg",
2170
+ "th",
2171
+ "ti",
2172
+ "tk",
2173
+ "tl",
2174
+ "tn",
2175
+ "to",
2176
+ "tr",
2177
+ "ts",
2178
+ "tt",
2179
+ "tw",
2180
+ "ty",
2181
+ "ug",
2182
+ "uk",
2183
+ "ur",
2184
+ "uz",
2185
+ "ve",
2186
+ "vi",
2187
+ "vo",
2188
+ "wa",
2189
+ "wo",
2190
+ "xh",
2191
+ "yi",
2192
+ "yo",
2193
+ "za",
2194
+ "zh",
2195
+ "zu"
2196
+ ]);
939
2197
 
940
2198
  const makeReservationRequestSchema = v4.z.object({
941
2199
  venueAccessor: v4.z.string().min(1).describe(
@@ -955,14 +2213,12 @@ const makeReservationRequestSchema = v4.z.object({
955
2213
  customerPhone: v4.z.string().min(1).describe(
956
2214
  "Phone number for reservation confirmations and updates. Include country code for international numbers."
957
2215
  ).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
- ),
2216
+ get contactPreference() {
2217
+ return contactPreferenceSchema.optional();
2218
+ },
2219
+ get source() {
2220
+ return areaBookingRequestSourceSchema.optional();
2221
+ },
966
2222
  specialRequests: v4.z.string().max(500).describe(
967
2223
  "Any dietary restrictions, allergies, or special occasions (max 500 characters)"
968
2224
  ).nullish(),
@@ -971,6 +2227,16 @@ const makeReservationRequestSchema = v4.z.object({
971
2227
  ).nullish()
972
2228
  }).describe("Request payload for making a new reservation");
973
2229
 
2230
+ const reservationStatusSchema = v4.z.enum([
2231
+ "pending",
2232
+ "confirmed",
2233
+ "arrived",
2234
+ "seated",
2235
+ "completed",
2236
+ "cancelled",
2237
+ "no_show"
2238
+ ]);
2239
+
974
2240
  const makeReservationResponseSchema = v4.z.object({
975
2241
  id: v4.z.uuid().describe("Unique identifier for the reservation"),
976
2242
  venueId: v4.z.uuid().describe("Restaurant/tenant identifier"),
@@ -989,16 +2255,12 @@ const makeReservationResponseSchema = v4.z.object({
989
2255
  customerLastName: v4.z.string().describe("Last name of the customer"),
990
2256
  customerEmail: v4.z.nullable(v4.z.string().describe("Customer email address")),
991
2257
  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"),
2258
+ get contactPreference() {
2259
+ return contactPreferenceSchema;
2260
+ },
2261
+ get status() {
2262
+ return reservationStatusSchema;
2263
+ },
1002
2264
  confirmationCode: v4.z.nullable(
1003
2265
  v4.z.string().describe("6-character confirmation code for the reservation")
1004
2266
  ),
@@ -1011,13 +2273,15 @@ const makeReservationResponseSchema = v4.z.object({
1011
2273
  cancelledAt: v4.z.nullable(
1012
2274
  v4.z.any().describe("When the reservation was cancelled")
1013
2275
  ),
1014
- cancellationReason: v4.z.nullable(
1015
- v4.z.enum(["customer_request", "restaurant_request"]).describe("Who initiated the cancellation")
1016
- ),
2276
+ get cancellationReason() {
2277
+ return cancellationReasonSchema;
2278
+ },
1017
2279
  cancellationNote: v4.z.nullable(
1018
2280
  v4.z.string().describe("Additional cancellation details")
1019
2281
  ),
1020
- source: v4.z.enum(["website", "phone", "walk_in"]).describe("Origin of the reservation"),
2282
+ get source() {
2283
+ return areaBookingRequestSourceSchema;
2284
+ },
1021
2285
  specialRequests: v4.z.nullable(
1022
2286
  v4.z.string().describe("Any special requirements or notes")
1023
2287
  ),
@@ -1034,13 +2298,39 @@ const makeReservationResponseSchema = v4.z.object({
1034
2298
  updatedAt: v4.z.nullable(v4.z.any().describe("Last update timestamp"))
1035
2299
  }).describe("Successfully created reservation");
1036
2300
 
1037
- const patchFeatureImageRequestSchema = v4.z.object({
2301
+ const mentionEntityTypeSchema = v4.z.enum([
2302
+ "dish",
2303
+ "beverage",
2304
+ "ingredient",
2305
+ "menu",
2306
+ "ritual"
2307
+ ]);
2308
+
2309
+ const mentionFieldFormatterSchema = v4.z.enum([
2310
+ "text",
2311
+ "currency",
2312
+ "integer",
2313
+ "percentage",
2314
+ "boolean"
2315
+ ]);
2316
+
2317
+ const mentionKindSchema = v4.z.enum(["link", "value"]);
2318
+
2319
+ const patchArticleFeatureImageBodySchema = v4.z.object({
1038
2320
  caption: v4.z.optional(v4.z.object({}).catchall(v4.z.any())),
1039
2321
  alt: v4.z.optional(v4.z.object({}).catchall(v4.z.any()))
1040
2322
  }).describe(
1041
2323
  "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
2324
  );
1043
2325
 
2326
+ const pendingSuperadminTransferStatusSchema = v4.z.enum([
2327
+ "pending_invite",
2328
+ "accepted_awaiting_payment",
2329
+ "completed",
2330
+ "cancelled",
2331
+ "expired"
2332
+ ]);
2333
+
1044
2334
  const placeOrderRequestSchema = v4.z.object({
1045
2335
  venueAccessor: v4.z.string().min(1),
1046
2336
  basketId: v4.z.string().min(1),
@@ -1073,14 +2363,18 @@ const placeOrderResponseSchema = v4.z.object({
1073
2363
  quickReferenceNumber: v4.z.nullable(
1074
2364
  v4.z.int().min(-9007199254740991).max(9007199254740991)
1075
2365
  ),
1076
- currency: v4.z.enum(["EUR", "CHF"])
2366
+ get currency() {
2367
+ return currencySchema;
2368
+ }
1077
2369
  });
1078
2370
 
1079
2371
  const reduceDeltaPaymentIntentRequestSchema = v4.z.object({
1080
2372
  venueAccessor: v4.z.string().min(1),
1081
2373
  basketId: v4.z.string().min(1),
1082
2374
  sessionId: v4.z.string().min(1),
1083
- currency: v4.z.enum(["EUR", "CHF"]),
2375
+ get currency() {
2376
+ return currencySchema;
2377
+ },
1084
2378
  declaredReturns: v4.z.optional(
1085
2379
  v4.z.array(
1086
2380
  v4.z.object({
@@ -1106,6 +2400,18 @@ const removeFromBasketResponseSchema = v4.z.object({
1106
2400
  }
1107
2401
  });
1108
2402
 
2403
+ const reservationPromotionStatusSchema = v4.z.enum([
2404
+ "applied",
2405
+ "redeemed",
2406
+ "expired"
2407
+ ]);
2408
+
2409
+ const scanTokenEntityTypeSchema = v4.z.enum(["order", "depositware"]);
2410
+
2411
+ const setArticleFeatureImageUploadBodySchema = v4.z.object({
2412
+ file: v4.z.string().describe("Image file (multipart/form-data field)")
2413
+ });
2414
+
1109
2415
  const setBasketDeclaredReturnsRequestSchema = v4.z.object({
1110
2416
  venueAccessor: v4.z.string().min(1),
1111
2417
  basketId: v4.z.string().min(1),
@@ -1172,7 +2478,21 @@ const setFulfillmentAtTeamOrderResponseSchema = v4.z.object({
1172
2478
  deadlineAt: v4.z.nullable(v4.z.iso.datetime())
1173
2479
  });
1174
2480
 
1175
- const submitAreaBookingRequestSchema = v4.z.object({
2481
+ const setOrderLeadSettledRequestSchema = v4.z.object({
2482
+ publicId: v4.z.string().min(1),
2483
+ sessionId: v4.z.string().min(1),
2484
+ orderId: v4.z.uuid(),
2485
+ settled: v4.z.boolean()
2486
+ });
2487
+
2488
+ const setOrderLeadSettledResponseSchema = v4.z.object({
2489
+ orderId: v4.z.uuid(),
2490
+ leadSettledAt: v4.z.nullable(v4.z.string())
2491
+ });
2492
+
2493
+ const sortOrderSchema = v4.z.enum(["asc", "desc"]);
2494
+
2495
+ const submitAreaBookingPayloadSchema = v4.z.object({
1176
2496
  requestedDate: v4.z.string().regex(/^\d{4}-\d{2}-\d{2}$/),
1177
2497
  requestedStartTime: v4.z.optional(v4.z.string().regex(/^\d{2}:\d{2}(:\d{2})?$/)),
1178
2498
  requestedEndTime: v4.z.optional(v4.z.string().regex(/^\d{2}:\d{2}(:\d{2})?$/)),
@@ -1182,10 +2502,12 @@ const submitAreaBookingRequestSchema = v4.z.object({
1182
2502
  customerEmail: v4.z.email(),
1183
2503
  customerPhone: v4.z.optional(v4.z.string()),
1184
2504
  message: v4.z.optional(v4.z.string()),
1185
- source: v4.z.optional(v4.z.enum(["website", "phone", "walk_in"]))
2505
+ get source() {
2506
+ return areaBookingRequestSourceSchema.optional();
2507
+ }
1186
2508
  });
1187
2509
 
1188
- const submitAreaBookingResponseSchema = v4.z.object({
2510
+ const submitAreaBookingRequestResponseSchema = v4.z.object({
1189
2511
  id: v4.z.string(),
1190
2512
  venueId: v4.z.string(),
1191
2513
  areaId: v4.z.string(),
@@ -1198,8 +2520,12 @@ const submitAreaBookingResponseSchema = v4.z.object({
1198
2520
  customerEmail: v4.z.string(),
1199
2521
  customerPhone: v4.z.nullable(v4.z.string()),
1200
2522
  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"]),
2523
+ get source() {
2524
+ return areaBookingRequestSourceSchema;
2525
+ },
2526
+ get status() {
2527
+ return areaBookingRequestStatusSchema;
2528
+ },
1203
2529
  areaBookingId: v4.z.nullable(v4.z.string()),
1204
2530
  createdAt: v4.z.nullable(v4.z.string()),
1205
2531
  updatedAt: v4.z.nullable(v4.z.string())
@@ -1221,7 +2547,7 @@ const submitTeamOrderResponseSchema = v4.z.object({
1221
2547
  placedAt: v4.z.iso.datetime()
1222
2548
  });
1223
2549
 
1224
- const subscribeRequestSchema = v4.z.object({
2550
+ const subscribeToSubscriptionBodySchema = v4.z.object({
1225
2551
  email: v4.z.email(),
1226
2552
  firstName: v4.z.optional(v4.z.string()),
1227
2553
  lastName: v4.z.optional(v4.z.string()),
@@ -1230,11 +2556,19 @@ const subscribeRequestSchema = v4.z.object({
1230
2556
  cancelUrl: v4.z.url()
1231
2557
  });
1232
2558
 
1233
- const subscribeResponseSchema = v4.z.object({
2559
+ const subscribeToSubscriptionResponseSchema = v4.z.object({
1234
2560
  checkoutUrl: v4.z.nullable(v4.z.url()),
1235
2561
  sessionId: v4.z.string()
1236
2562
  });
1237
2563
 
2564
+ const subscriberStatusSchema = v4.z.enum([
2565
+ "active",
2566
+ "paused",
2567
+ "cancelled",
2568
+ "past_due",
2569
+ "trialing"
2570
+ ]);
2571
+
1238
2572
  const switchFulfillmentTeamOrderRequestSchema = v4.z.object({
1239
2573
  publicId: v4.z.string().min(1),
1240
2574
  sessionId: v4.z.string().min(1),
@@ -1257,6 +2591,15 @@ const switchFulfillmentTeamOrderResponseSchema = v4.z.object({
1257
2591
  deliveryAddressId: v4.z.nullable(v4.z.string())
1258
2592
  });
1259
2593
 
2594
+ const teamOrderPaymentStatusSchema = v4.z.enum([
2595
+ "authorized",
2596
+ "captured",
2597
+ "cash_pending",
2598
+ "cash_received",
2599
+ "voided",
2600
+ "failed"
2601
+ ]);
2602
+
1260
2603
  const updateDeliveryAddressTeamOrderRequestSchema = v4.z.object({
1261
2604
  publicId: v4.z.string().min(1),
1262
2605
  sessionId: v4.z.string().min(1),
@@ -1270,22 +2613,55 @@ const updateDeliveryAddressTeamOrderResponseSchema = v4.z.object({
1270
2613
  deliveryAddressId: v4.z.string()
1271
2614
  });
1272
2615
 
1273
- const uploadFeatureImageRequestSchema = v4.z.object({
1274
- file: v4.z.any().describe("Image file (multipart/form-data field)")
1275
- });
2616
+ const venueAssetTypeSchema = v4.z.enum([
2617
+ "logomark",
2618
+ "wordmark",
2619
+ "combinationmark_horizontal",
2620
+ "combinationmark_vertical"
2621
+ ]);
2622
+
2623
+ const venueChargeKindSchema = v4.z.enum(["base", "addon"]);
2624
+
2625
+ const venueTypeSchema = v4.z.enum([
2626
+ "restaurant",
2627
+ "fine_dining_restaurant",
2628
+ "ghost_kitchen",
2629
+ "food_truck"
2630
+ ]);
2631
+
2632
+ const venueUserStatusSchema = v4.z.enum(["pending", "confirmed", "revoked"]);
1276
2633
 
1277
2634
  const schemas = {
2635
+ AbandonBasketRequest: abandonBasketRequestSchema,
2636
+ AbandonBasketResponse: abandonBasketResponseSchema,
2637
+ ActorType: actorTypeSchema,
1278
2638
  AddToBasketRequest: addToBasketRequestSchema,
1279
2639
  AddToBasketResponse: addToBasketResponseSchema,
2640
+ AdditiveFunction: additiveFunctionSchema,
2641
+ AreaBookingMode: areaBookingModeSchema,
2642
+ AreaBookingRequestSource: areaBookingRequestSourceSchema,
2643
+ AreaBookingRequestStatus: areaBookingRequestStatusSchema,
2644
+ AreaBookingStatus: areaBookingStatusSchema,
1280
2645
  Area: areaSchema,
2646
+ ArticleEditorSaveState: articleEditorSaveStateSchema,
1281
2647
  ArticleMentionCounts: articleMentionCountsSchema,
2648
+ ArticleStatus: articleStatusSchema,
2649
+ AssetType: assetTypeSchema,
2650
+ AutoExtendFulfillmentIfExpiredRequest: autoExtendFulfillmentIfExpiredRequestSchema,
2651
+ AutoExtendFulfillmentIfExpiredResponse: autoExtendFulfillmentIfExpiredResponseSchema,
2652
+ BasketStatus: basketStatusSchema,
1282
2653
  BasketTotals: basketTotalsSchema,
2654
+ BeverageCategory: beverageCategorySchema,
2655
+ BillingMode: billingModeSchema,
1283
2656
  CancelSubscriptionRequest: cancelSubscriptionRequestSchema,
1284
2657
  CancelSubscriptionResponse: cancelSubscriptionResponseSchema,
1285
2658
  CancelTeamOrderRequest: cancelTeamOrderRequestSchema,
1286
2659
  CancelTeamOrderResponse: cancelTeamOrderResponseSchema,
2660
+ CancellationReason: cancellationReasonSchema,
1287
2661
  ConfirmOrderRequest: confirmOrderRequestSchema,
1288
2662
  ConfirmOrderResponse: confirmOrderResponseSchema,
2663
+ ContactPreference: contactPreferenceSchema,
2664
+ CountryCode: countryCodeSchema,
1289
2665
  CreateDeltaPaymentIntentRequest: createDeltaPaymentIntentRequestSchema,
1290
2666
  CreateDeltaPaymentIntentResponse: createDeltaPaymentIntentResponseSchema,
1291
2667
  CreateEventRequest: createEventRequestSchema,
@@ -1294,42 +2670,73 @@ const schemas = {
1294
2670
  CreatePaymentIntentResponse: createPaymentIntentResponseSchema,
1295
2671
  CreateTeamOrderRequest: createTeamOrderRequestSchema,
1296
2672
  CreateTeamOrderResponse: createTeamOrderResponseSchema,
2673
+ Currency: currencySchema,
2674
+ DayOfWeek: dayOfWeekSchema,
1297
2675
  DeliveryAddress: deliveryAddressSchema.deliveryAddressSchema,
2676
+ DepositTransactionType: depositTransactionTypeSchema,
2677
+ DepositwareStatus: depositwareStatusSchema,
1298
2678
  EditArticleRequest: editArticleRequestSchema,
1299
2679
  EditArticleResponse: editArticleResponseSchema,
2680
+ EntityOwnerType: entityOwnerTypeSchema,
2681
+ EnumFalse: enumFalseSchema,
2682
+ EnumTrue: enumTrueSchema,
1300
2683
  ExtendDeadlineTeamOrderRequest: extendDeadlineTeamOrderRequestSchema,
1301
2684
  ExtendDeadlineTeamOrderResponse: extendDeadlineTeamOrderResponseSchema,
2685
+ FeatureCategory: featureCategorySchema,
1302
2686
  FeatureImage: featureImageSchema,
2687
+ FeatureStatus: featureStatusSchema,
2688
+ FetchAreaBookingsResponse: fetchAreaBookingsResponseSchema,
2689
+ FetchAreaResponse: fetchAreaResponseSchema,
2690
+ FetchAreasResponse: fetchAreasResponseSchema,
1303
2691
  FetchArticleResponse: fetchArticleResponseSchema,
1304
2692
  FetchArticlesResponse: fetchArticlesResponseSchema,
2693
+ FetchBasketResponse: fetchBasketResponseSchema,
1305
2694
  FetchEventResponse: fetchEventResponseSchema,
1306
2695
  FetchEventsResponse: fetchEventsResponseSchema,
2696
+ FetchLatestOrderResponse: fetchLatestOrderResponseSchema,
1307
2697
  FetchMenuBundlesResponse: fetchMenuBundlesResponseSchema,
1308
2698
  FetchMenuResponse: fetchMenuResponseSchema,
1309
2699
  FetchMenuSubscriptionsResponse: fetchMenuSubscriptionsResponseSchema,
1310
2700
  FetchTeamOrderResponse: fetchTeamOrderResponseSchema,
1311
2701
  FulfillmentType: deliveryAddressSchema.fulfillmentTypeSchema,
1312
2702
  GetAreaAvailabilityResponse: getAreaAvailabilityResponseSchema,
1313
- GetAreaResponse: getAreaResponseSchema,
1314
2703
  GetBasketTotalsRequest: getBasketTotalsRequestSchema,
1315
2704
  GetBasketTotalsResponse: getBasketTotalsResponseSchema,
1316
2705
  GetSubscriptionCreditsResponse: getSubscriptionCreditsResponseSchema,
1317
2706
  GetSubscriptionResponse: getSubscriptionResponseSchema,
1318
2707
  GetVenueResponse: getVenueResponseSchema,
2708
+ IntegrationNotificationType: integrationNotificationTypeSchema,
2709
+ IntegrationType: integrationTypeSchema,
2710
+ InventoryAssetStatus: inventoryAssetStatusSchema,
2711
+ InventoryCategory: inventoryCategorySchema,
2712
+ InvitationScenario: invitationScenarioSchema,
1319
2713
  JoinTeamOrderRequest: joinTeamOrderRequestSchema,
1320
2714
  JoinTeamOrderResponse: joinTeamOrderResponseSchema,
1321
- ListAreasResponse: listAreasResponseSchema,
2715
+ Jurisdiction: jurisdictionSchema,
2716
+ Locale: localeSchema,
1322
2717
  MakeReservationRequest: makeReservationRequestSchema,
1323
2718
  MakeReservationResponse: makeReservationResponseSchema,
2719
+ MentionEntityType: mentionEntityTypeSchema,
2720
+ MentionFieldFormatter: mentionFieldFormatterSchema,
2721
+ MentionKind: mentionKindSchema,
2722
+ MenuItemType: menuItemTypeSchema,
1324
2723
  OgImage: ogImageSchema,
2724
+ OrderStatus: orderStatusSchema,
1325
2725
  ParticipantStatus: deliveryAddressSchema.participantStatusSchema,
1326
- PatchFeatureImageRequest: patchFeatureImageRequestSchema,
2726
+ PatchArticleFeatureImageBody: patchArticleFeatureImageBodySchema,
1327
2727
  PaymentMethod: deliveryAddressSchema.paymentMethodSchema,
2728
+ PaymentStatus: paymentStatusSchema,
2729
+ PendingSuperadminTransferStatus: pendingSuperadminTransferStatusSchema,
1328
2730
  PlaceOrderRequest: placeOrderRequestSchema,
1329
2731
  PlaceOrderResponse: placeOrderResponseSchema,
2732
+ PromotionBenefitType: promotionBenefitTypeSchema,
1330
2733
  ReduceDeltaPaymentIntentRequest: reduceDeltaPaymentIntentRequestSchema,
1331
2734
  ReduceDeltaPaymentIntentResponse: reduceDeltaPaymentIntentResponseSchema,
1332
2735
  RemoveFromBasketResponse: removeFromBasketResponseSchema,
2736
+ ReservationPromotionStatus: reservationPromotionStatusSchema,
2737
+ ReservationStatus: reservationStatusSchema,
2738
+ ScanTokenEntityType: scanTokenEntityTypeSchema,
2739
+ SetArticleFeatureImageUploadBody: setArticleFeatureImageUploadBodySchema,
1333
2740
  SetBasketDeclaredReturnsRequest: setBasketDeclaredReturnsRequestSchema,
1334
2741
  SetBasketDeclaredReturnsResponse: setBasketDeclaredReturnsResponseSchema,
1335
2742
  SetDiningLocationTeamOrderRequest: setDiningLocationTeamOrderRequestSchema,
@@ -1338,18 +2745,30 @@ const schemas = {
1338
2745
  SetDiningTimeTeamOrderResponse: setDiningTimeTeamOrderResponseSchema,
1339
2746
  SetFulfillmentAtTeamOrderRequest: setFulfillmentAtTeamOrderRequestSchema,
1340
2747
  SetFulfillmentAtTeamOrderResponse: setFulfillmentAtTeamOrderResponseSchema,
1341
- SubmitAreaBookingRequest: submitAreaBookingRequestSchema,
1342
- SubmitAreaBookingResponse: submitAreaBookingResponseSchema,
2748
+ SetOrderLeadSettledRequest: setOrderLeadSettledRequestSchema,
2749
+ SetOrderLeadSettledResponse: setOrderLeadSettledResponseSchema,
2750
+ SlotMode: slotModeSchema,
2751
+ SortOrder: sortOrderSchema,
2752
+ SubmitAreaBookingPayload: submitAreaBookingPayloadSchema,
2753
+ SubmitAreaBookingRequestResponse: submitAreaBookingRequestResponseSchema,
1343
2754
  SubmitTeamOrderRequest: submitTeamOrderRequestSchema,
1344
2755
  SubmitTeamOrderResponse: submitTeamOrderResponseSchema,
1345
- SubscribeRequest: subscribeRequestSchema,
1346
- SubscribeResponse: subscribeResponseSchema,
2756
+ SubscribeToSubscriptionBody: subscribeToSubscriptionBodySchema,
2757
+ SubscribeToSubscriptionResponse: subscribeToSubscriptionResponseSchema,
2758
+ SubscriberStatus: subscriberStatusSchema,
2759
+ SubscriptionCreditStatus: subscriptionCreditStatusSchema,
2760
+ SubscriptionPeriod: subscriptionPeriodSchema,
1347
2761
  SwitchFulfillmentTeamOrderRequest: switchFulfillmentTeamOrderRequestSchema,
1348
2762
  SwitchFulfillmentTeamOrderResponse: switchFulfillmentTeamOrderResponseSchema,
2763
+ TeamOrderPaymentStatus: teamOrderPaymentStatusSchema,
1349
2764
  TeamOrderStatus: deliveryAddressSchema.teamOrderStatusSchema,
2765
+ Unit: unitSchema,
1350
2766
  UpdateDeliveryAddressTeamOrderRequest: updateDeliveryAddressTeamOrderRequestSchema,
1351
2767
  UpdateDeliveryAddressTeamOrderResponse: updateDeliveryAddressTeamOrderResponseSchema,
1352
- UploadFeatureImageRequest: uploadFeatureImageRequestSchema
2768
+ VenueAssetType: venueAssetTypeSchema,
2769
+ VenueChargeKind: venueChargeKindSchema,
2770
+ VenueType: venueTypeSchema,
2771
+ VenueUserStatus: venueUserStatusSchema
1353
2772
  };
1354
2773
 
1355
2774
  exports.schemas = schemas;