order3000 1.12.0 → 1.13.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/README.md +1 -1
- package/dist/client.cjs +63 -0
- package/dist/client.d.cts +39 -2
- package/dist/client.d.mts +39 -2
- package/dist/client.mjs +63 -0
- package/dist/{index-bbg7Ev_r.d.cts → index-BYRSx8Te.d.cts} +377 -9
- package/dist/{index-bbg7Ev_r.d.mts → index-BYRSx8Te.d.mts} +377 -9
- package/dist/menu.d.cts +1 -1
- package/dist/menu.d.mts +1 -1
- package/dist/schemas.cjs +654 -12
- package/dist/schemas.d.cts +599 -15
- package/dist/schemas.d.mts +599 -15
- package/dist/schemas.mjs +654 -12
- package/package.json +3 -3
package/dist/schemas.cjs
CHANGED
|
@@ -11,6 +11,13 @@ const abandonBasketResponseSchema = v4.z.object({
|
|
|
11
11
|
abandonedCount: v4.z.int().min(0).max(9007199254740991)
|
|
12
12
|
});
|
|
13
13
|
|
|
14
|
+
const activePaymentStatusSchema = v4.z.enum([
|
|
15
|
+
"authorized",
|
|
16
|
+
"captured",
|
|
17
|
+
"cash_pending",
|
|
18
|
+
"cash_received"
|
|
19
|
+
]);
|
|
20
|
+
|
|
14
21
|
const actorTypeSchema = v4.z.enum(["human", "robot"]);
|
|
15
22
|
|
|
16
23
|
const adBiddingStrategySchema = v4.z.enum([
|
|
@@ -310,6 +317,8 @@ const autoExtendFulfillmentIfExpiredResponseSchema = v4.z.object({
|
|
|
310
317
|
waitingCount: v4.z.int().min(0).max(9007199254740991)
|
|
311
318
|
});
|
|
312
319
|
|
|
320
|
+
const bankAccountStatusSchema = v4.z.enum(["active", "inactive", "closed"]);
|
|
321
|
+
|
|
313
322
|
const basketStatusSchema = v4.z.enum(["active", "abandoned", "converted"]);
|
|
314
323
|
|
|
315
324
|
const beverageCategorySchema = v4.z.enum([
|
|
@@ -325,10 +334,23 @@ const beverageCategorySchema = v4.z.enum([
|
|
|
325
334
|
"water"
|
|
326
335
|
]);
|
|
327
336
|
|
|
337
|
+
const billingIntervalSchema = v4.z.enum(["month", "year"]);
|
|
338
|
+
|
|
328
339
|
const billingModeSchema = v4.z.enum(["single_anchor", "split"]);
|
|
329
340
|
|
|
330
341
|
const bookingChannelSchema = v4.z.enum(["reservation", "order"]);
|
|
331
342
|
|
|
343
|
+
const bookletSectionInputSchema = v4.z.object({
|
|
344
|
+
publicationAccessor: v4.z.string().min(1),
|
|
345
|
+
pageStart: v4.z.optional(v4.z.int().min(1).max(9007199254740991)),
|
|
346
|
+
pageEnd: v4.z.optional(v4.z.int().min(1).max(9007199254740991))
|
|
347
|
+
});
|
|
348
|
+
|
|
349
|
+
const campaignControlReasonSchema = v4.z.enum([
|
|
350
|
+
"quota_exhausted",
|
|
351
|
+
"campaign_removed"
|
|
352
|
+
]);
|
|
353
|
+
|
|
332
354
|
const cancelSubscriptionRequestSchema = v4.z.object({
|
|
333
355
|
subscriberId: v4.z.string().min(1)
|
|
334
356
|
});
|
|
@@ -357,6 +379,21 @@ const cancellationReasonSchema = v4.z.enum([
|
|
|
357
379
|
"restaurant_request"
|
|
358
380
|
]);
|
|
359
381
|
|
|
382
|
+
const composeMenuPublicationBookletRequestSchema = v4.z.object({
|
|
383
|
+
venueAccessor: v4.z.string().min(1),
|
|
384
|
+
bookletAccessor: v4.z.optional(v4.z.string().min(1)),
|
|
385
|
+
get sections() {
|
|
386
|
+
return v4.z.array(bookletSectionInputSchema).min(1).optional();
|
|
387
|
+
},
|
|
388
|
+
locale: v4.z.optional(v4.z.string().min(2).max(5))
|
|
389
|
+
});
|
|
390
|
+
|
|
391
|
+
const composeMenuPublicationBookletResponseSchema = v4.z.object({
|
|
392
|
+
fileName: v4.z.string(),
|
|
393
|
+
pages: v4.z.int().min(1).max(9007199254740991),
|
|
394
|
+
pdfBase64: v4.z.string()
|
|
395
|
+
});
|
|
396
|
+
|
|
360
397
|
const confirmOrderRequestSchema = v4.z.object({
|
|
361
398
|
venueAccessor: v4.z.string().min(1),
|
|
362
399
|
orderId: v4.z.string().min(1),
|
|
@@ -373,9 +410,18 @@ const confirmOrderResponseSchema = v4.z.object({
|
|
|
373
410
|
guestId: v4.z.optional(v4.z.string())
|
|
374
411
|
});
|
|
375
412
|
|
|
413
|
+
const contactEmailTypeSchema = v4.z.enum(["primary", "billing"]);
|
|
414
|
+
|
|
415
|
+
const contactEmailVerificationStatusSchema = v4.z.enum([
|
|
416
|
+
"pending",
|
|
417
|
+
"verified",
|
|
418
|
+
"completed",
|
|
419
|
+
"superseded"
|
|
420
|
+
]);
|
|
421
|
+
|
|
376
422
|
const contactPreferenceSchema = v4.z.enum(["email", "phone", "sms", "none"]);
|
|
377
423
|
|
|
378
|
-
const
|
|
424
|
+
const countrySchema = v4.z.enum([
|
|
379
425
|
"AD",
|
|
380
426
|
"AE",
|
|
381
427
|
"AF",
|
|
@@ -907,6 +953,74 @@ const createEventResponseSchema = v4.z.object({
|
|
|
907
953
|
updatedAt: v4.z.nullable(v4.z.any())
|
|
908
954
|
}).describe("Successfully created event");
|
|
909
955
|
|
|
956
|
+
const createMenuPublicationRequestSchema = v4.z.object({
|
|
957
|
+
venueAccessor: v4.z.string().min(1),
|
|
958
|
+
menuAccessor: v4.z.string().min(1),
|
|
959
|
+
name: v4.z.optional(v4.z.string().min(1))
|
|
960
|
+
});
|
|
961
|
+
|
|
962
|
+
const publicationPaletteSchema = v4.z.enum(["primary", "secondary"]);
|
|
963
|
+
|
|
964
|
+
const publicationPaperSizeSchema = v4.z.enum([
|
|
965
|
+
"a4",
|
|
966
|
+
"a5",
|
|
967
|
+
"letter",
|
|
968
|
+
"legal"
|
|
969
|
+
]);
|
|
970
|
+
|
|
971
|
+
const publicationSourceTypeSchema = v4.z.enum([
|
|
972
|
+
"menu",
|
|
973
|
+
"dish",
|
|
974
|
+
"beverage",
|
|
975
|
+
"event",
|
|
976
|
+
"venue"
|
|
977
|
+
]);
|
|
978
|
+
|
|
979
|
+
const publicationTypeSchema = v4.z.enum([
|
|
980
|
+
"menu",
|
|
981
|
+
"flyer",
|
|
982
|
+
"wine_list",
|
|
983
|
+
"about",
|
|
984
|
+
"cover",
|
|
985
|
+
"booklet",
|
|
986
|
+
"custom"
|
|
987
|
+
]);
|
|
988
|
+
|
|
989
|
+
const createMenuPublicationResponseSchema = v4.z.object({
|
|
990
|
+
id: v4.z.string(),
|
|
991
|
+
venueId: v4.z.string(),
|
|
992
|
+
accessor: v4.z.string(),
|
|
993
|
+
name: v4.z.string(),
|
|
994
|
+
get type() {
|
|
995
|
+
return publicationTypeSchema;
|
|
996
|
+
},
|
|
997
|
+
get paperSize() {
|
|
998
|
+
return publicationPaperSizeSchema;
|
|
999
|
+
},
|
|
1000
|
+
get palette() {
|
|
1001
|
+
return publicationPaletteSchema;
|
|
1002
|
+
},
|
|
1003
|
+
designDoc: v4.z.union([
|
|
1004
|
+
v4.z.union([v4.z.boolean(), v4.z.string(), v4.z.number(), v4.z.enum([])]),
|
|
1005
|
+
v4.z.array(v4.z.any()),
|
|
1006
|
+
v4.z.object({}).catchall(v4.z.any())
|
|
1007
|
+
]),
|
|
1008
|
+
renderedAssetId: v4.z.nullable(v4.z.string()),
|
|
1009
|
+
frameId: v4.z.nullable(v4.z.string()),
|
|
1010
|
+
ruleIconAssetId: v4.z.nullable(v4.z.string()),
|
|
1011
|
+
templateId: v4.z.nullable(v4.z.string()),
|
|
1012
|
+
get sourceType() {
|
|
1013
|
+
return publicationSourceTypeSchema;
|
|
1014
|
+
},
|
|
1015
|
+
sourceId: v4.z.nullable(v4.z.string()),
|
|
1016
|
+
isActive: v4.z.boolean(),
|
|
1017
|
+
sortIndex: v4.z.nullable(v4.z.string().max(255)),
|
|
1018
|
+
createdAt: v4.z.nullable(v4.z.any()),
|
|
1019
|
+
createdBy: v4.z.nullable(v4.z.string()),
|
|
1020
|
+
updatedAt: v4.z.nullable(v4.z.any()),
|
|
1021
|
+
updatedBy: v4.z.nullable(v4.z.string())
|
|
1022
|
+
});
|
|
1023
|
+
|
|
910
1024
|
const createPaymentIntentRequestSchema = v4.z.object({
|
|
911
1025
|
venueAccessor: v4.z.string().min(1),
|
|
912
1026
|
basketId: v4.z.string().min(1),
|
|
@@ -1233,6 +1347,12 @@ const depositwareStatusSchema = v4.z.enum([
|
|
|
1233
1347
|
"retired"
|
|
1234
1348
|
]);
|
|
1235
1349
|
|
|
1350
|
+
const directionSchema = v4.z.enum(["left", "right", "up", "down"]);
|
|
1351
|
+
|
|
1352
|
+
const directionXSchema = v4.z.enum(["left", "right"]);
|
|
1353
|
+
|
|
1354
|
+
const directionYSchema = v4.z.enum(["up", "down"]);
|
|
1355
|
+
|
|
1236
1356
|
const editAdRequestSchema = v4.z.object({
|
|
1237
1357
|
venueAccessor: v4.z.string().min(1),
|
|
1238
1358
|
id: v4.z.string().min(1),
|
|
@@ -1439,6 +1559,11 @@ const editBeverageRequestSchema = v4.z.object({
|
|
|
1439
1559
|
v4.z.array(v4.z.any()),
|
|
1440
1560
|
v4.z.object({}).catchall(v4.z.any())
|
|
1441
1561
|
]).nullish(),
|
|
1562
|
+
subtitle: v4.z.union([
|
|
1563
|
+
v4.z.union([v4.z.boolean(), v4.z.string(), v4.z.number(), v4.z.enum([])]),
|
|
1564
|
+
v4.z.array(v4.z.any()),
|
|
1565
|
+
v4.z.object({}).catchall(v4.z.any())
|
|
1566
|
+
]).nullish(),
|
|
1442
1567
|
description: v4.z.union([
|
|
1443
1568
|
v4.z.union([v4.z.boolean(), v4.z.string(), v4.z.number(), v4.z.enum([])]),
|
|
1444
1569
|
v4.z.array(v4.z.any()),
|
|
@@ -1497,6 +1622,13 @@ const editBeverageResponseSchema = v4.z.object({
|
|
|
1497
1622
|
v4.z.object({}).catchall(v4.z.any())
|
|
1498
1623
|
])
|
|
1499
1624
|
),
|
|
1625
|
+
subtitle: v4.z.nullable(
|
|
1626
|
+
v4.z.union([
|
|
1627
|
+
v4.z.union([v4.z.boolean(), v4.z.string(), v4.z.number(), v4.z.enum([])]),
|
|
1628
|
+
v4.z.array(v4.z.any()),
|
|
1629
|
+
v4.z.object({}).catchall(v4.z.any())
|
|
1630
|
+
])
|
|
1631
|
+
),
|
|
1500
1632
|
description: v4.z.nullable(
|
|
1501
1633
|
v4.z.union([
|
|
1502
1634
|
v4.z.union([v4.z.boolean(), v4.z.string(), v4.z.number(), v4.z.enum([])]),
|
|
@@ -1551,6 +1683,7 @@ const editDishRequestSchema = v4.z.object({
|
|
|
1551
1683
|
name: v4.z.object({}).catchall(v4.z.string().min(1)),
|
|
1552
1684
|
shortName: v4.z.object({}).catchall(v4.z.string()).nullish(),
|
|
1553
1685
|
kitchenName: v4.z.object({}).catchall(v4.z.string()).nullish(),
|
|
1686
|
+
subtitle: v4.z.object({}).catchall(v4.z.string()).nullish(),
|
|
1554
1687
|
description: v4.z.object({}).catchall(v4.z.string()).nullish(),
|
|
1555
1688
|
longDescription: v4.z.object({}).catchall(v4.z.string()).nullish(),
|
|
1556
1689
|
suggestedPrice: v4.z.number().nullish(),
|
|
@@ -1588,6 +1721,13 @@ const editDishResponseSchema = v4.z.object({
|
|
|
1588
1721
|
v4.z.object({}).catchall(v4.z.any())
|
|
1589
1722
|
])
|
|
1590
1723
|
),
|
|
1724
|
+
subtitle: v4.z.nullable(
|
|
1725
|
+
v4.z.union([
|
|
1726
|
+
v4.z.union([v4.z.boolean(), v4.z.string(), v4.z.number(), v4.z.enum([])]),
|
|
1727
|
+
v4.z.array(v4.z.any()),
|
|
1728
|
+
v4.z.object({}).catchall(v4.z.any())
|
|
1729
|
+
])
|
|
1730
|
+
),
|
|
1591
1731
|
description: v4.z.nullable(
|
|
1592
1732
|
v4.z.union([
|
|
1593
1733
|
v4.z.union([v4.z.boolean(), v4.z.string(), v4.z.number(), v4.z.enum([])]),
|
|
@@ -2015,6 +2155,8 @@ const entityOwnerTypeSchema = v4.z.enum([
|
|
|
2015
2155
|
"ritual"
|
|
2016
2156
|
]);
|
|
2017
2157
|
|
|
2158
|
+
const enumCenterLeftRightSchema = v4.z.enum(["center", "left", "right"]);
|
|
2159
|
+
|
|
2018
2160
|
const enumFalseSchema = v4.z.enum(["false"]);
|
|
2019
2161
|
|
|
2020
2162
|
const enumTrueSchema = v4.z.enum(["true"]);
|
|
@@ -2560,6 +2702,13 @@ const fetchBeverageResponseSchema = v4.z.object({
|
|
|
2560
2702
|
v4.z.object({}).catchall(v4.z.any())
|
|
2561
2703
|
])
|
|
2562
2704
|
),
|
|
2705
|
+
subtitle: v4.z.nullable(
|
|
2706
|
+
v4.z.union([
|
|
2707
|
+
v4.z.union([v4.z.boolean(), v4.z.string(), v4.z.number(), v4.z.enum([])]),
|
|
2708
|
+
v4.z.array(v4.z.any()),
|
|
2709
|
+
v4.z.object({}).catchall(v4.z.any())
|
|
2710
|
+
])
|
|
2711
|
+
),
|
|
2563
2712
|
description: v4.z.nullable(
|
|
2564
2713
|
v4.z.union([
|
|
2565
2714
|
v4.z.union([v4.z.boolean(), v4.z.string(), v4.z.number(), v4.z.enum([])]),
|
|
@@ -2634,6 +2783,13 @@ const fetchDishResponseSchema = v4.z.object({
|
|
|
2634
2783
|
v4.z.object({}).catchall(v4.z.any())
|
|
2635
2784
|
])
|
|
2636
2785
|
),
|
|
2786
|
+
subtitle: v4.z.nullable(
|
|
2787
|
+
v4.z.union([
|
|
2788
|
+
v4.z.union([v4.z.boolean(), v4.z.string(), v4.z.number(), v4.z.enum([])]),
|
|
2789
|
+
v4.z.array(v4.z.any()),
|
|
2790
|
+
v4.z.object({}).catchall(v4.z.any())
|
|
2791
|
+
])
|
|
2792
|
+
),
|
|
2637
2793
|
description: v4.z.nullable(
|
|
2638
2794
|
v4.z.union([
|
|
2639
2795
|
v4.z.union([v4.z.boolean(), v4.z.string(), v4.z.number(), v4.z.enum([])]),
|
|
@@ -3082,7 +3238,8 @@ const menuItemTypeSchema = v4.z.enum(["dish", "beverage"]);
|
|
|
3082
3238
|
|
|
3083
3239
|
const fetchMenuResponseSchema = v4.z.object({
|
|
3084
3240
|
id: v4.z.string(),
|
|
3085
|
-
|
|
3241
|
+
title: v4.z.object({}).catchall(v4.z.string()),
|
|
3242
|
+
subtitle: v4.z.nullable(v4.z.object({}).catchall(v4.z.string())),
|
|
3086
3243
|
accessor: v4.z.string(),
|
|
3087
3244
|
metadata: v4.z.nullable(
|
|
3088
3245
|
v4.z.object({
|
|
@@ -3219,6 +3376,21 @@ const fetchMenuResponseSchema = v4.z.object({
|
|
|
3219
3376
|
publicUrl: v4.z.string()
|
|
3220
3377
|
})
|
|
3221
3378
|
)
|
|
3379
|
+
),
|
|
3380
|
+
additives: v4.z.optional(
|
|
3381
|
+
v4.z.array(
|
|
3382
|
+
v4.z.object({
|
|
3383
|
+
id: v4.z.string(),
|
|
3384
|
+
eNumber: v4.z.string(),
|
|
3385
|
+
technicalName: v4.z.object({}).catchall(v4.z.string()),
|
|
3386
|
+
isAllergen: v4.z.nullable(v4.z.boolean()),
|
|
3387
|
+
requiresWarning: v4.z.nullable(v4.z.boolean()),
|
|
3388
|
+
warningMessage: v4.z.nullable(
|
|
3389
|
+
v4.z.object({}).catchall(v4.z.string())
|
|
3390
|
+
),
|
|
3391
|
+
regulation: v4.z.nullable(v4.z.string())
|
|
3392
|
+
})
|
|
3393
|
+
)
|
|
3222
3394
|
)
|
|
3223
3395
|
})
|
|
3224
3396
|
),
|
|
@@ -3271,6 +3443,21 @@ const fetchMenuResponseSchema = v4.z.object({
|
|
|
3271
3443
|
publicUrl: v4.z.string()
|
|
3272
3444
|
})
|
|
3273
3445
|
)
|
|
3446
|
+
),
|
|
3447
|
+
additives: v4.z.optional(
|
|
3448
|
+
v4.z.array(
|
|
3449
|
+
v4.z.object({
|
|
3450
|
+
id: v4.z.string(),
|
|
3451
|
+
eNumber: v4.z.string(),
|
|
3452
|
+
technicalName: v4.z.object({}).catchall(v4.z.string()),
|
|
3453
|
+
isAllergen: v4.z.nullable(v4.z.boolean()),
|
|
3454
|
+
requiresWarning: v4.z.nullable(v4.z.boolean()),
|
|
3455
|
+
warningMessage: v4.z.nullable(
|
|
3456
|
+
v4.z.object({}).catchall(v4.z.string())
|
|
3457
|
+
),
|
|
3458
|
+
regulation: v4.z.nullable(v4.z.string())
|
|
3459
|
+
})
|
|
3460
|
+
)
|
|
3274
3461
|
)
|
|
3275
3462
|
})
|
|
3276
3463
|
)
|
|
@@ -3502,6 +3689,8 @@ const fetchSlotAvailabilityResponseSchema = v4.z.array(
|
|
|
3502
3689
|
})
|
|
3503
3690
|
);
|
|
3504
3691
|
|
|
3692
|
+
const teamOrderThresholdConstraintSchema = v4.z.enum(["quantity", "amount"]);
|
|
3693
|
+
|
|
3505
3694
|
const fetchTeamOrderResponseSchema = v4.z.object({
|
|
3506
3695
|
teamOrder: v4.z.object({
|
|
3507
3696
|
id: v4.z.string(),
|
|
@@ -3580,12 +3769,9 @@ const fetchTeamOrderResponseSchema = v4.z.object({
|
|
|
3580
3769
|
get method() {
|
|
3581
3770
|
return deliveryAddressSchema.paymentMethodSchema;
|
|
3582
3771
|
},
|
|
3583
|
-
status
|
|
3584
|
-
|
|
3585
|
-
|
|
3586
|
-
"cash_pending",
|
|
3587
|
-
"cash_received"
|
|
3588
|
-
]),
|
|
3772
|
+
get status() {
|
|
3773
|
+
return activePaymentStatusSchema;
|
|
3774
|
+
},
|
|
3589
3775
|
createdAt: v4.z.iso.datetime(),
|
|
3590
3776
|
cardLast4: v4.z.nullable(v4.z.string().min(4).max(4))
|
|
3591
3777
|
})
|
|
@@ -3608,7 +3794,9 @@ const fetchTeamOrderResponseSchema = v4.z.object({
|
|
|
3608
3794
|
}),
|
|
3609
3795
|
thresholdCheck: v4.z.object({
|
|
3610
3796
|
meets: v4.z.boolean(),
|
|
3611
|
-
failedConstraints
|
|
3797
|
+
get failedConstraints() {
|
|
3798
|
+
return v4.z.array(teamOrderThresholdConstraintSchema);
|
|
3799
|
+
},
|
|
3612
3800
|
requiredQuantity: v4.z.nullable(
|
|
3613
3801
|
v4.z.int().min(-9007199254740991).max(9007199254740991)
|
|
3614
3802
|
),
|
|
@@ -3621,6 +3809,10 @@ const fetchTeamOrderResponseSchema = v4.z.object({
|
|
|
3621
3809
|
isLead: v4.z.boolean()
|
|
3622
3810
|
});
|
|
3623
3811
|
|
|
3812
|
+
const fontRoleSchema = v4.z.enum(["system", "accent"]);
|
|
3813
|
+
|
|
3814
|
+
const fontStyleSchema = v4.z.enum(["normal", "italic"]);
|
|
3815
|
+
|
|
3624
3816
|
const gbpMediaCategorySchema = v4.z.enum([
|
|
3625
3817
|
"cover",
|
|
3626
3818
|
"logo",
|
|
@@ -3804,6 +3996,14 @@ const getWebsitePagesResponseSchema = v4.z.array(
|
|
|
3804
3996
|
|
|
3805
3997
|
const googleAdsAssetFamilySchema = v4.z.enum(["sitelinks", "callouts"]);
|
|
3806
3998
|
|
|
3999
|
+
const guestTierSchema = v4.z.enum([
|
|
4000
|
+
"blacklisted",
|
|
4001
|
+
"atRisk",
|
|
4002
|
+
"loyal",
|
|
4003
|
+
"newGuest",
|
|
4004
|
+
"regular"
|
|
4005
|
+
]);
|
|
4006
|
+
|
|
3807
4007
|
const integrationNotificationTypeSchema = v4.z.enum([
|
|
3808
4008
|
"order_created",
|
|
3809
4009
|
"order_cancelled",
|
|
@@ -3860,6 +4060,8 @@ const joinTeamOrderResponseSchema = v4.z.object({
|
|
|
3860
4060
|
|
|
3861
4061
|
const jurisdictionSchema = v4.z.enum(["DE", "CH", "FR", "IT"]);
|
|
3862
4062
|
|
|
4063
|
+
const keywordDefaultScopeSchema = v4.z.enum(["venueType", "cuisine"]);
|
|
4064
|
+
|
|
3863
4065
|
const keywordPolaritySchema = v4.z.enum(["positive", "negative"]);
|
|
3864
4066
|
|
|
3865
4067
|
const localeSchema = v4.z.enum([
|
|
@@ -4121,6 +4323,7 @@ const makeReservationResponseSchema = v4.z.object({
|
|
|
4121
4323
|
guestId: v4.z.nullable(
|
|
4122
4324
|
v4.z.uuid().describe("Link to customer profile if exists")
|
|
4123
4325
|
),
|
|
4326
|
+
partyId: v4.z.nullable(v4.z.string()),
|
|
4124
4327
|
guestFirstName: v4.z.string().describe("First name of the customer"),
|
|
4125
4328
|
guestLastName: v4.z.string().describe("Last name of the customer"),
|
|
4126
4329
|
guestEmail: v4.z.nullable(v4.z.string().describe("Customer email address")),
|
|
@@ -4190,6 +4393,42 @@ const mentionFieldFormatterSchema = v4.z.enum([
|
|
|
4190
4393
|
|
|
4191
4394
|
const mentionTypeSchema = v4.z.enum(["link", "value"]);
|
|
4192
4395
|
|
|
4396
|
+
const menuItemMarkerSchema = v4.z.enum([
|
|
4397
|
+
"vegan",
|
|
4398
|
+
"vegetarian",
|
|
4399
|
+
"allergens",
|
|
4400
|
+
"spicy"
|
|
4401
|
+
]);
|
|
4402
|
+
|
|
4403
|
+
const metaCallToActionSchema = v4.z.enum([
|
|
4404
|
+
"LEARN_MORE",
|
|
4405
|
+
"BOOK_TRAVEL",
|
|
4406
|
+
"ORDER_NOW",
|
|
4407
|
+
"GET_OFFER",
|
|
4408
|
+
"CONTACT_US",
|
|
4409
|
+
"SIGN_UP"
|
|
4410
|
+
]);
|
|
4411
|
+
|
|
4412
|
+
const metaChannelSchema = v4.z.enum(["facebook", "instagram"]);
|
|
4413
|
+
|
|
4414
|
+
const metaInsightsDatePresetSchema = v4.z.enum([
|
|
4415
|
+
"last_7d",
|
|
4416
|
+
"last_30d",
|
|
4417
|
+
"maximum"
|
|
4418
|
+
]);
|
|
4419
|
+
|
|
4420
|
+
const metaIntegrationStatusSchema = v4.z.enum([
|
|
4421
|
+
"invited",
|
|
4422
|
+
"linked",
|
|
4423
|
+
"active"
|
|
4424
|
+
]);
|
|
4425
|
+
|
|
4426
|
+
const metaServingTargetStatusSchema = v4.z.enum(["ACTIVE", "PAUSED"]);
|
|
4427
|
+
|
|
4428
|
+
const orientationSchema = v4.z.enum(["vertical", "horizontal"]);
|
|
4429
|
+
|
|
4430
|
+
const partyTypeSchema = v4.z.enum(["natural_person", "legal_entity"]);
|
|
4431
|
+
|
|
4193
4432
|
const patchArticleFeatureImageBodySchema = v4.z.object({
|
|
4194
4433
|
caption: v4.z.optional(v4.z.object({}).catchall(v4.z.any())),
|
|
4195
4434
|
alt: v4.z.optional(v4.z.object({}).catchall(v4.z.any()))
|
|
@@ -4246,6 +4485,85 @@ const placeOrderResponseSchema = v4.z.object({
|
|
|
4246
4485
|
|
|
4247
4486
|
const platformRoleSchema = v4.z.enum(["platform_maintainer"]);
|
|
4248
4487
|
|
|
4488
|
+
const positionCenterSchema = v4.z.enum(["center"]);
|
|
4489
|
+
|
|
4490
|
+
const positionCornerSchema = v4.z.enum([
|
|
4491
|
+
"top-left",
|
|
4492
|
+
"top-right",
|
|
4493
|
+
"bottom-left",
|
|
4494
|
+
"bottom-right"
|
|
4495
|
+
]);
|
|
4496
|
+
|
|
4497
|
+
const positionEdgeSchema = v4.z.enum(["start", "end"]);
|
|
4498
|
+
|
|
4499
|
+
const positionSchema = v4.z.enum([
|
|
4500
|
+
"left",
|
|
4501
|
+
"right",
|
|
4502
|
+
"top",
|
|
4503
|
+
"bottom",
|
|
4504
|
+
"top-left",
|
|
4505
|
+
"top-right",
|
|
4506
|
+
"bottom-left",
|
|
4507
|
+
"bottom-right",
|
|
4508
|
+
"center"
|
|
4509
|
+
]);
|
|
4510
|
+
|
|
4511
|
+
const positionYSchema = v4.z.enum(["top", "bottom"]);
|
|
4512
|
+
|
|
4513
|
+
const publicationEventTypeSchema = v4.z.enum(["download", "scan"]);
|
|
4514
|
+
|
|
4515
|
+
const publicationFrameStyleSchema = v4.z.enum(["solid", "icon"]);
|
|
4516
|
+
|
|
4517
|
+
const publicationGroupBySchema = v4.z.enum([
|
|
4518
|
+
"weekday",
|
|
4519
|
+
"calendar_week",
|
|
4520
|
+
"none"
|
|
4521
|
+
]);
|
|
4522
|
+
|
|
4523
|
+
const publicationGroupFlowSchema = v4.z.enum(["stacked", "page_break"]);
|
|
4524
|
+
|
|
4525
|
+
const publicationPricePositionSchema = v4.z.enum(["right", "bottom"]);
|
|
4526
|
+
|
|
4527
|
+
const publicationQrPlacementSchema = v4.z.enum([
|
|
4528
|
+
"topLeft",
|
|
4529
|
+
"topRight",
|
|
4530
|
+
"bottomLeft",
|
|
4531
|
+
"bottomRight"
|
|
4532
|
+
]);
|
|
4533
|
+
|
|
4534
|
+
const publicationQrTargetSchema = v4.z.enum(["online_menu", "custom"]);
|
|
4535
|
+
|
|
4536
|
+
const publicationRulePositionSchema = v4.z.enum([
|
|
4537
|
+
"below_title",
|
|
4538
|
+
"below_subtitle",
|
|
4539
|
+
"below_description"
|
|
4540
|
+
]);
|
|
4541
|
+
|
|
4542
|
+
const publicationRuleStyleSchema = v4.z.enum([
|
|
4543
|
+
"solid",
|
|
4544
|
+
"dashed",
|
|
4545
|
+
"dotted",
|
|
4546
|
+
"double",
|
|
4547
|
+
"wavy",
|
|
4548
|
+
"diamond",
|
|
4549
|
+
"flourish",
|
|
4550
|
+
"asterisks",
|
|
4551
|
+
"fade",
|
|
4552
|
+
"dot_ornament",
|
|
4553
|
+
"icon"
|
|
4554
|
+
]);
|
|
4555
|
+
|
|
4556
|
+
const publicationSectionTypeSchema = v4.z.enum(["cover", "body", "back"]);
|
|
4557
|
+
|
|
4558
|
+
const publicationTextAlignSchema = v4.z.enum([
|
|
4559
|
+
"left",
|
|
4560
|
+
"center",
|
|
4561
|
+
"right",
|
|
4562
|
+
"justify"
|
|
4563
|
+
]);
|
|
4564
|
+
|
|
4565
|
+
const publicationWeekScopeSchema = v4.z.enum(["current", "all", "range"]);
|
|
4566
|
+
|
|
4249
4567
|
const reduceDeltaPaymentIntentRequestSchema = v4.z.object({
|
|
4250
4568
|
venueAccessor: v4.z.string().min(1),
|
|
4251
4569
|
basketId: v4.z.string().min(1),
|
|
@@ -4278,6 +4596,29 @@ const removeFromBasketResponseSchema = v4.z.object({
|
|
|
4278
4596
|
}
|
|
4279
4597
|
});
|
|
4280
4598
|
|
|
4599
|
+
const renderMenuPublicationPdfRequestSchema = v4.z.object({
|
|
4600
|
+
venueAccessor: v4.z.string().min(1),
|
|
4601
|
+
publicationAccessor: v4.z.string().min(1),
|
|
4602
|
+
locale: v4.z.optional(v4.z.string().min(2).max(5))
|
|
4603
|
+
});
|
|
4604
|
+
|
|
4605
|
+
const renderMenuPublicationPdfResponseSchema = v4.z.object({
|
|
4606
|
+
fileName: v4.z.string(),
|
|
4607
|
+
pages: v4.z.int().min(1).max(9007199254740991),
|
|
4608
|
+
pdfBase64: v4.z.string()
|
|
4609
|
+
});
|
|
4610
|
+
|
|
4611
|
+
const requestContactEmailChangeOutcomeSchema = v4.z.enum([
|
|
4612
|
+
"requested",
|
|
4613
|
+
"unchanged"
|
|
4614
|
+
]);
|
|
4615
|
+
|
|
4616
|
+
const reservationDeclineReasonSchema = v4.z.enum([
|
|
4617
|
+
"fully_booked",
|
|
4618
|
+
"closed",
|
|
4619
|
+
"other"
|
|
4620
|
+
]);
|
|
4621
|
+
|
|
4281
4622
|
const reservationMessageStatusSchema = v4.z.enum(["draft", "sent"]);
|
|
4282
4623
|
|
|
4283
4624
|
const reservationModeSchema = v4.z.enum(["passive", "auto_steer"]);
|
|
@@ -4351,6 +4692,18 @@ const saveAdWebsitePagesResponseSchema = v4.z.object({
|
|
|
4351
4692
|
|
|
4352
4693
|
const scanTokenEntityTypeSchema = v4.z.enum(["order", "depositware"]);
|
|
4353
4694
|
|
|
4695
|
+
const scheduleOverrideModeSchema = v4.z.enum(["closed", "deviating"]);
|
|
4696
|
+
|
|
4697
|
+
const servedMarketAreaTypeSchema = v4.z.enum([
|
|
4698
|
+
"pin",
|
|
4699
|
+
"postcode",
|
|
4700
|
+
"city",
|
|
4701
|
+
"region",
|
|
4702
|
+
"country"
|
|
4703
|
+
]);
|
|
4704
|
+
|
|
4705
|
+
const servedMarketScopeSchema = v4.z.enum(["include", "exclude"]);
|
|
4706
|
+
|
|
4354
4707
|
const setAdBudgetRequestSchema = v4.z.object({
|
|
4355
4708
|
venueAccessor: v4.z.string().min(1),
|
|
4356
4709
|
adId: v4.z.string().min(1),
|
|
@@ -4534,6 +4887,217 @@ const setFulfillmentAtTeamOrderResponseSchema = v4.z.object({
|
|
|
4534
4887
|
deadlineAt: v4.z.nullable(v4.z.iso.datetime())
|
|
4535
4888
|
});
|
|
4536
4889
|
|
|
4890
|
+
const setMenuPublicationBlocksRequestSchema = v4.z.object({
|
|
4891
|
+
venueAccessor: v4.z.string().min(1),
|
|
4892
|
+
publicationAccessor: v4.z.string().min(1),
|
|
4893
|
+
showTitle: v4.z.optional(v4.z.boolean()),
|
|
4894
|
+
title: v4.z.optional(v4.z.object({}).catchall(v4.z.string())),
|
|
4895
|
+
showSubtitle: v4.z.optional(v4.z.boolean()),
|
|
4896
|
+
subtitle: v4.z.optional(v4.z.object({}).catchall(v4.z.string())),
|
|
4897
|
+
get subtitleFontRole() {
|
|
4898
|
+
return fontRoleSchema.optional();
|
|
4899
|
+
},
|
|
4900
|
+
subtitleFontFace: v4.z.optional(
|
|
4901
|
+
v4.z.string().regex(/^[1-9]\d{2}:(normal|italic)$/)
|
|
4902
|
+
),
|
|
4903
|
+
subtitleSize: v4.z.optional(v4.z.int().min(8).max(20)),
|
|
4904
|
+
subtitleColor: v4.z.union([
|
|
4905
|
+
v4.z.object({
|
|
4906
|
+
palette: v4.z.string().min(1),
|
|
4907
|
+
shade: v4.z.string().min(1)
|
|
4908
|
+
}),
|
|
4909
|
+
v4.z.object({
|
|
4910
|
+
custom: v4.z.string()
|
|
4911
|
+
})
|
|
4912
|
+
]).nullish(),
|
|
4913
|
+
showDescription: v4.z.optional(v4.z.boolean()),
|
|
4914
|
+
description: v4.z.optional(v4.z.object({}).catchall(v4.z.string())),
|
|
4915
|
+
get titleFontRole() {
|
|
4916
|
+
return fontRoleSchema.optional();
|
|
4917
|
+
},
|
|
4918
|
+
titleFontFace: v4.z.optional(v4.z.string().regex(/^[1-9]\d{2}:(normal|italic)$/)),
|
|
4919
|
+
titleSize: v4.z.optional(v4.z.number().min(16).max(48)),
|
|
4920
|
+
get descriptionFontRole() {
|
|
4921
|
+
return fontRoleSchema.optional();
|
|
4922
|
+
},
|
|
4923
|
+
descriptionFontFace: v4.z.optional(
|
|
4924
|
+
v4.z.string().regex(/^[1-9]\d{2}:(normal|italic)$/)
|
|
4925
|
+
),
|
|
4926
|
+
descriptionSize: v4.z.optional(v4.z.number().min(8).max(16)),
|
|
4927
|
+
descriptionColor: v4.z.union([
|
|
4928
|
+
v4.z.object({
|
|
4929
|
+
palette: v4.z.string().min(1),
|
|
4930
|
+
shade: v4.z.string().min(1)
|
|
4931
|
+
}),
|
|
4932
|
+
v4.z.object({
|
|
4933
|
+
custom: v4.z.string()
|
|
4934
|
+
})
|
|
4935
|
+
]).nullish(),
|
|
4936
|
+
paddingX: v4.z.optional(v4.z.number().min(0)),
|
|
4937
|
+
paddingY: v4.z.optional(v4.z.number().min(0)),
|
|
4938
|
+
bleed: v4.z.optional(v4.z.boolean()),
|
|
4939
|
+
pageNumbers: v4.z.optional(v4.z.boolean()),
|
|
4940
|
+
get groupBy() {
|
|
4941
|
+
return publicationGroupBySchema.optional();
|
|
4942
|
+
},
|
|
4943
|
+
get groupFlow() {
|
|
4944
|
+
return publicationGroupFlowSchema.optional();
|
|
4945
|
+
},
|
|
4946
|
+
get weekScope() {
|
|
4947
|
+
return publicationWeekScopeSchema.optional();
|
|
4948
|
+
},
|
|
4949
|
+
weekRangeStart: v4.z.optional(v4.z.number().min(1).max(53)),
|
|
4950
|
+
weekRangeEnd: v4.z.optional(v4.z.number().min(1).max(53)),
|
|
4951
|
+
weekdaySubgrouping: v4.z.optional(v4.z.boolean()),
|
|
4952
|
+
showPrice: v4.z.optional(v4.z.boolean()),
|
|
4953
|
+
priceDecimals: v4.z.optional(v4.z.int().min(0).max(2)),
|
|
4954
|
+
get priceFontRole() {
|
|
4955
|
+
return fontRoleSchema.optional();
|
|
4956
|
+
},
|
|
4957
|
+
priceFontFace: v4.z.optional(v4.z.string().regex(/^[1-9]\d{2}:(normal|italic)$/)),
|
|
4958
|
+
priceShowCurrency: v4.z.optional(v4.z.boolean()),
|
|
4959
|
+
get pricePosition() {
|
|
4960
|
+
return publicationPricePositionSchema.optional();
|
|
4961
|
+
},
|
|
4962
|
+
chipOutlined: v4.z.optional(v4.z.boolean()),
|
|
4963
|
+
chipModest: v4.z.optional(v4.z.boolean()),
|
|
4964
|
+
veganChipColor: v4.z.union([
|
|
4965
|
+
v4.z.object({
|
|
4966
|
+
palette: v4.z.string().min(1),
|
|
4967
|
+
shade: v4.z.string().min(1)
|
|
4968
|
+
}),
|
|
4969
|
+
v4.z.object({
|
|
4970
|
+
custom: v4.z.string()
|
|
4971
|
+
})
|
|
4972
|
+
]).nullish(),
|
|
4973
|
+
vegetarianChipColor: v4.z.union([
|
|
4974
|
+
v4.z.object({
|
|
4975
|
+
palette: v4.z.string().min(1),
|
|
4976
|
+
shade: v4.z.string().min(1)
|
|
4977
|
+
}),
|
|
4978
|
+
v4.z.object({
|
|
4979
|
+
custom: v4.z.string()
|
|
4980
|
+
})
|
|
4981
|
+
]).nullish(),
|
|
4982
|
+
spicinessChipColor: v4.z.union([
|
|
4983
|
+
v4.z.object({
|
|
4984
|
+
palette: v4.z.string().min(1),
|
|
4985
|
+
shade: v4.z.string().min(1)
|
|
4986
|
+
}),
|
|
4987
|
+
v4.z.object({
|
|
4988
|
+
custom: v4.z.string()
|
|
4989
|
+
})
|
|
4990
|
+
]).nullish(),
|
|
4991
|
+
allergensChipColor: v4.z.union([
|
|
4992
|
+
v4.z.object({
|
|
4993
|
+
palette: v4.z.string().min(1),
|
|
4994
|
+
shade: v4.z.string().min(1)
|
|
4995
|
+
}),
|
|
4996
|
+
v4.z.object({
|
|
4997
|
+
custom: v4.z.string()
|
|
4998
|
+
})
|
|
4999
|
+
]).nullish(),
|
|
5000
|
+
get paperSize() {
|
|
5001
|
+
return publicationPaperSizeSchema.optional();
|
|
5002
|
+
},
|
|
5003
|
+
get palette() {
|
|
5004
|
+
return publicationPaletteSchema.optional();
|
|
5005
|
+
},
|
|
5006
|
+
showFrame: v4.z.optional(v4.z.boolean()),
|
|
5007
|
+
get frameStyle() {
|
|
5008
|
+
return publicationFrameStyleSchema.optional();
|
|
5009
|
+
},
|
|
5010
|
+
frameColor: v4.z.union([
|
|
5011
|
+
v4.z.object({
|
|
5012
|
+
palette: v4.z.string().min(1),
|
|
5013
|
+
shade: v4.z.string().min(1)
|
|
5014
|
+
}),
|
|
5015
|
+
v4.z.object({
|
|
5016
|
+
custom: v4.z.string()
|
|
5017
|
+
})
|
|
5018
|
+
]).nullish(),
|
|
5019
|
+
frameWidth: v4.z.optional(v4.z.number().min(1).max(12)),
|
|
5020
|
+
frameInset: v4.z.optional(v4.z.number().min(2).max(16)),
|
|
5021
|
+
frameId: v4.z.optional(v4.z.string()),
|
|
5022
|
+
frameName: v4.z.optional(v4.z.string().max(255)),
|
|
5023
|
+
frameIcons: v4.z.optional(
|
|
5024
|
+
v4.z.array(
|
|
5025
|
+
v4.z.object({
|
|
5026
|
+
assetId: v4.z.string(),
|
|
5027
|
+
rotation: v4.z.int().min(0).max(359)
|
|
5028
|
+
})
|
|
5029
|
+
)
|
|
5030
|
+
),
|
|
5031
|
+
get titleAlign() {
|
|
5032
|
+
return enumCenterLeftRightSchema.optional();
|
|
5033
|
+
},
|
|
5034
|
+
get subtitleAlign() {
|
|
5035
|
+
return enumCenterLeftRightSchema.optional();
|
|
5036
|
+
},
|
|
5037
|
+
get descriptionAlign() {
|
|
5038
|
+
return publicationTextAlignSchema.optional();
|
|
5039
|
+
},
|
|
5040
|
+
showRule: v4.z.optional(v4.z.boolean()),
|
|
5041
|
+
get rulePosition() {
|
|
5042
|
+
return publicationRulePositionSchema.optional();
|
|
5043
|
+
},
|
|
5044
|
+
get ruleStyle() {
|
|
5045
|
+
return publicationRuleStyleSchema.optional();
|
|
5046
|
+
},
|
|
5047
|
+
ruleColor: v4.z.union([
|
|
5048
|
+
v4.z.object({
|
|
5049
|
+
palette: v4.z.string().min(1),
|
|
5050
|
+
shade: v4.z.string().min(1)
|
|
5051
|
+
}),
|
|
5052
|
+
v4.z.object({
|
|
5053
|
+
custom: v4.z.string()
|
|
5054
|
+
})
|
|
5055
|
+
]).nullish(),
|
|
5056
|
+
ruleIconAssetId: v4.z.optional(v4.z.string()),
|
|
5057
|
+
showQr: v4.z.optional(v4.z.boolean()),
|
|
5058
|
+
get qrTarget() {
|
|
5059
|
+
return publicationQrTargetSchema.optional();
|
|
5060
|
+
},
|
|
5061
|
+
qrCustomUrl: v4.z.optional(v4.z.string()),
|
|
5062
|
+
get qrPlacement() {
|
|
5063
|
+
return publicationQrPlacementSchema.optional();
|
|
5064
|
+
},
|
|
5065
|
+
qrSize: v4.z.optional(v4.z.int().min(15).max(40)),
|
|
5066
|
+
itemTitleSize: v4.z.optional(v4.z.int().min(8).max(16)),
|
|
5067
|
+
itemSubtitleSize: v4.z.optional(v4.z.int().min(7).max(12)),
|
|
5068
|
+
itemSubtitleColor: v4.z.union([
|
|
5069
|
+
v4.z.object({
|
|
5070
|
+
palette: v4.z.string().min(1),
|
|
5071
|
+
shade: v4.z.string().min(1)
|
|
5072
|
+
}),
|
|
5073
|
+
v4.z.object({
|
|
5074
|
+
custom: v4.z.string()
|
|
5075
|
+
})
|
|
5076
|
+
]).nullish(),
|
|
5077
|
+
itemDescriptionSize: v4.z.optional(v4.z.int().min(8).max(14)),
|
|
5078
|
+
itemDescriptionColor: v4.z.union([
|
|
5079
|
+
v4.z.object({
|
|
5080
|
+
palette: v4.z.string().min(1),
|
|
5081
|
+
shade: v4.z.string().min(1)
|
|
5082
|
+
}),
|
|
5083
|
+
v4.z.object({
|
|
5084
|
+
custom: v4.z.string()
|
|
5085
|
+
})
|
|
5086
|
+
]).nullish(),
|
|
5087
|
+
showItemTitles: v4.z.optional(v4.z.boolean()),
|
|
5088
|
+
showItemSubtitles: v4.z.optional(v4.z.boolean()),
|
|
5089
|
+
showItemDescriptions: v4.z.optional(v4.z.boolean()),
|
|
5090
|
+
showVegan: v4.z.optional(v4.z.boolean()),
|
|
5091
|
+
showVegetarian: v4.z.optional(v4.z.boolean()),
|
|
5092
|
+
showSpiciness: v4.z.optional(v4.z.boolean()),
|
|
5093
|
+
showAllergens: v4.z.optional(v4.z.boolean())
|
|
5094
|
+
});
|
|
5095
|
+
|
|
5096
|
+
const setMenuPublicationBlocksResponseSchema = v4.z.object({
|
|
5097
|
+
id: v4.z.string(),
|
|
5098
|
+
accessor: v4.z.string()
|
|
5099
|
+
});
|
|
5100
|
+
|
|
4537
5101
|
const setOrderLeadSettledRequestSchema = v4.z.object({
|
|
4538
5102
|
publicId: v4.z.string().min(1),
|
|
4539
5103
|
sessionId: v4.z.string().min(1),
|
|
@@ -4766,11 +5330,22 @@ const uploadAssetResponseSchema = v4.z.object({
|
|
|
4766
5330
|
publicUrl: v4.z.nullable(v4.z.string())
|
|
4767
5331
|
});
|
|
4768
5332
|
|
|
5333
|
+
const variantSchema = v4.z.enum([
|
|
5334
|
+
"dark",
|
|
5335
|
+
"light",
|
|
5336
|
+
"success",
|
|
5337
|
+
"warning",
|
|
5338
|
+
"danger",
|
|
5339
|
+
"primary",
|
|
5340
|
+
"secondary"
|
|
5341
|
+
]);
|
|
5342
|
+
|
|
4769
5343
|
const venueAssetTypeSchema = v4.z.enum([
|
|
4770
5344
|
"logomark",
|
|
4771
5345
|
"wordmark",
|
|
4772
5346
|
"combinationmark_horizontal",
|
|
4773
|
-
"combinationmark_vertical"
|
|
5347
|
+
"combinationmark_vertical",
|
|
5348
|
+
"icon"
|
|
4774
5349
|
]);
|
|
4775
5350
|
|
|
4776
5351
|
const venueChargeTypeSchema = v4.z.enum(["base", "addon"]);
|
|
@@ -4791,9 +5366,17 @@ const venueTypeSchema = v4.z.enum([
|
|
|
4791
5366
|
|
|
4792
5367
|
const venueUserStatusSchema = v4.z.enum(["pending", "confirmed", "revoked"]);
|
|
4793
5368
|
|
|
5369
|
+
const wizardKeySchema = v4.z.enum([
|
|
5370
|
+
"ads-venue-explainer-v1",
|
|
5371
|
+
"ads-menu-explainer-v1",
|
|
5372
|
+
"ads-dish-explainer-v1",
|
|
5373
|
+
"ads-beverage-explainer-v1"
|
|
5374
|
+
]);
|
|
5375
|
+
|
|
4794
5376
|
const schemas = {
|
|
4795
5377
|
AbandonBasketRequest: abandonBasketRequestSchema,
|
|
4796
5378
|
AbandonBasketResponse: abandonBasketResponseSchema,
|
|
5379
|
+
ActivePaymentStatus: activePaymentStatusSchema,
|
|
4797
5380
|
ActorType: actorTypeSchema,
|
|
4798
5381
|
AdBiddingStrategy: adBiddingStrategySchema,
|
|
4799
5382
|
AdChannel: adChannelSchema,
|
|
@@ -4815,20 +5398,28 @@ const schemas = {
|
|
|
4815
5398
|
AssetWithPublicUrl: assetWithPublicUrlSchema,
|
|
4816
5399
|
AutoExtendFulfillmentIfExpiredRequest: autoExtendFulfillmentIfExpiredRequestSchema,
|
|
4817
5400
|
AutoExtendFulfillmentIfExpiredResponse: autoExtendFulfillmentIfExpiredResponseSchema,
|
|
5401
|
+
BankAccountStatus: bankAccountStatusSchema,
|
|
4818
5402
|
BasketStatus: basketStatusSchema,
|
|
4819
5403
|
BasketTotals: basketTotalsSchema,
|
|
4820
5404
|
BeverageCategory: beverageCategorySchema,
|
|
5405
|
+
BillingInterval: billingIntervalSchema,
|
|
4821
5406
|
BillingMode: billingModeSchema,
|
|
4822
5407
|
BookingChannel: bookingChannelSchema,
|
|
5408
|
+
BookletSectionInput: bookletSectionInputSchema,
|
|
5409
|
+
CampaignControlReason: campaignControlReasonSchema,
|
|
4823
5410
|
CancelSubscriptionRequest: cancelSubscriptionRequestSchema,
|
|
4824
5411
|
CancelSubscriptionResponse: cancelSubscriptionResponseSchema,
|
|
4825
5412
|
CancelTeamOrderRequest: cancelTeamOrderRequestSchema,
|
|
4826
5413
|
CancelTeamOrderResponse: cancelTeamOrderResponseSchema,
|
|
4827
5414
|
CancellationReason: cancellationReasonSchema,
|
|
5415
|
+
ComposeMenuPublicationBookletRequest: composeMenuPublicationBookletRequestSchema,
|
|
5416
|
+
ComposeMenuPublicationBookletResponse: composeMenuPublicationBookletResponseSchema,
|
|
4828
5417
|
ConfirmOrderRequest: confirmOrderRequestSchema,
|
|
4829
5418
|
ConfirmOrderResponse: confirmOrderResponseSchema,
|
|
5419
|
+
ContactEmailType: contactEmailTypeSchema,
|
|
5420
|
+
ContactEmailVerificationStatus: contactEmailVerificationStatusSchema,
|
|
4830
5421
|
ContactPreference: contactPreferenceSchema,
|
|
4831
|
-
|
|
5422
|
+
Country: countrySchema,
|
|
4832
5423
|
CreateAdRequest: createAdRequestSchema,
|
|
4833
5424
|
CreateAdResponse: createAdResponseSchema,
|
|
4834
5425
|
CreateCalloutRequest: createCalloutRequestSchema,
|
|
@@ -4837,6 +5428,8 @@ const schemas = {
|
|
|
4837
5428
|
CreateDeltaPaymentIntentResponse: createDeltaPaymentIntentResponseSchema,
|
|
4838
5429
|
CreateEventRequest: createEventRequestSchema,
|
|
4839
5430
|
CreateEventResponse: createEventResponseSchema,
|
|
5431
|
+
CreateMenuPublicationRequest: createMenuPublicationRequestSchema,
|
|
5432
|
+
CreateMenuPublicationResponse: createMenuPublicationResponseSchema,
|
|
4840
5433
|
CreatePaymentIntentRequest: createPaymentIntentRequestSchema,
|
|
4841
5434
|
CreatePaymentIntentResponse: createPaymentIntentResponseSchema,
|
|
4842
5435
|
CreateTeamOrderRequest: createTeamOrderRequestSchema,
|
|
@@ -4853,6 +5446,9 @@ const schemas = {
|
|
|
4853
5446
|
DeliveryAddress: deliveryAddressSchema.deliveryAddressSchema,
|
|
4854
5447
|
DepositTransactionType: depositTransactionTypeSchema,
|
|
4855
5448
|
DepositwareStatus: depositwareStatusSchema,
|
|
5449
|
+
Direction: directionSchema,
|
|
5450
|
+
DirectionX: directionXSchema,
|
|
5451
|
+
DirectionY: directionYSchema,
|
|
4856
5452
|
EditAdRequest: editAdRequestSchema,
|
|
4857
5453
|
EditAdResponse: editAdResponseSchema,
|
|
4858
5454
|
EditArticleRequest: editArticleRequestSchema,
|
|
@@ -4866,6 +5462,7 @@ const schemas = {
|
|
|
4866
5462
|
EditMetaAdRequest: editMetaAdRequestSchema,
|
|
4867
5463
|
EditMetaAdResponse: editMetaAdResponseSchema,
|
|
4868
5464
|
EntityOwnerType: entityOwnerTypeSchema,
|
|
5465
|
+
EnumCenterLeftRight: enumCenterLeftRightSchema,
|
|
4869
5466
|
EnumFalse: enumFalseSchema,
|
|
4870
5467
|
EnumTrue: enumTrueSchema,
|
|
4871
5468
|
EventAssetSource: eventAssetSourceSchema,
|
|
@@ -4894,6 +5491,8 @@ const schemas = {
|
|
|
4894
5491
|
FetchRitualResponse: fetchRitualResponseSchema,
|
|
4895
5492
|
FetchSlotAvailabilityResponse: fetchSlotAvailabilityResponseSchema,
|
|
4896
5493
|
FetchTeamOrderResponse: fetchTeamOrderResponseSchema,
|
|
5494
|
+
FontRole: fontRoleSchema,
|
|
5495
|
+
FontStyle: fontStyleSchema,
|
|
4897
5496
|
FulfillmentType: deliveryAddressSchema.fulfillmentTypeSchema,
|
|
4898
5497
|
GbpMediaCategory: gbpMediaCategorySchema,
|
|
4899
5498
|
GbpSyncStatus: gbpSyncStatusSchema,
|
|
@@ -4907,6 +5506,7 @@ const schemas = {
|
|
|
4907
5506
|
GetVenueResponse: getVenueResponseSchema,
|
|
4908
5507
|
GetWebsitePagesResponse: getWebsitePagesResponseSchema,
|
|
4909
5508
|
GoogleAdsAssetFamily: googleAdsAssetFamilySchema,
|
|
5509
|
+
GuestTier: guestTierSchema,
|
|
4910
5510
|
IntegrationNotificationType: integrationNotificationTypeSchema,
|
|
4911
5511
|
IntegrationType: integrationTypeSchema,
|
|
4912
5512
|
InventoryAssetStatus: inventoryAssetStatusSchema,
|
|
@@ -4915,6 +5515,7 @@ const schemas = {
|
|
|
4915
5515
|
JoinTeamOrderRequest: joinTeamOrderRequestSchema,
|
|
4916
5516
|
JoinTeamOrderResponse: joinTeamOrderResponseSchema,
|
|
4917
5517
|
Jurisdiction: jurisdictionSchema,
|
|
5518
|
+
KeywordDefaultScope: keywordDefaultScopeSchema,
|
|
4918
5519
|
KeywordPolarity: keywordPolaritySchema,
|
|
4919
5520
|
Locale: localeSchema,
|
|
4920
5521
|
MakeReservationRequest: makeReservationRequestSchema,
|
|
@@ -4922,11 +5523,19 @@ const schemas = {
|
|
|
4922
5523
|
MentionEntityType: mentionEntityTypeSchema,
|
|
4923
5524
|
MentionFieldFormatter: mentionFieldFormatterSchema,
|
|
4924
5525
|
MentionType: mentionTypeSchema,
|
|
5526
|
+
MenuItemMarker: menuItemMarkerSchema,
|
|
4925
5527
|
MenuItemType: menuItemTypeSchema,
|
|
5528
|
+
MetaCallToAction: metaCallToActionSchema,
|
|
5529
|
+
MetaChannel: metaChannelSchema,
|
|
5530
|
+
MetaInsightsDatePreset: metaInsightsDatePresetSchema,
|
|
5531
|
+
MetaIntegrationStatus: metaIntegrationStatusSchema,
|
|
5532
|
+
MetaServingTargetStatus: metaServingTargetStatusSchema,
|
|
4926
5533
|
OccupancyReason: occupancyReasonSchema,
|
|
4927
5534
|
OgImage: ogImageSchema,
|
|
4928
5535
|
OrderStatus: orderStatusSchema,
|
|
5536
|
+
Orientation: orientationSchema,
|
|
4929
5537
|
ParticipantStatus: deliveryAddressSchema.participantStatusSchema,
|
|
5538
|
+
PartyType: partyTypeSchema,
|
|
4930
5539
|
PatchArticleFeatureImageBody: patchArticleFeatureImageBodySchema,
|
|
4931
5540
|
PaxBand: paxBandSchema,
|
|
4932
5541
|
PaymentMethod: deliveryAddressSchema.paymentMethodSchema,
|
|
@@ -4935,10 +5544,35 @@ const schemas = {
|
|
|
4935
5544
|
PlaceOrderRequest: placeOrderRequestSchema,
|
|
4936
5545
|
PlaceOrderResponse: placeOrderResponseSchema,
|
|
4937
5546
|
PlatformRole: platformRoleSchema,
|
|
5547
|
+
PositionCenter: positionCenterSchema,
|
|
5548
|
+
PositionCorner: positionCornerSchema,
|
|
5549
|
+
PositionEdge: positionEdgeSchema,
|
|
5550
|
+
Position: positionSchema,
|
|
5551
|
+
PositionY: positionYSchema,
|
|
4938
5552
|
PromotionBenefitType: promotionBenefitTypeSchema,
|
|
5553
|
+
PublicationEventType: publicationEventTypeSchema,
|
|
5554
|
+
PublicationFrameStyle: publicationFrameStyleSchema,
|
|
5555
|
+
PublicationGroupBy: publicationGroupBySchema,
|
|
5556
|
+
PublicationGroupFlow: publicationGroupFlowSchema,
|
|
5557
|
+
PublicationPalette: publicationPaletteSchema,
|
|
5558
|
+
PublicationPaperSize: publicationPaperSizeSchema,
|
|
5559
|
+
PublicationPricePosition: publicationPricePositionSchema,
|
|
5560
|
+
PublicationQrPlacement: publicationQrPlacementSchema,
|
|
5561
|
+
PublicationQrTarget: publicationQrTargetSchema,
|
|
5562
|
+
PublicationRulePosition: publicationRulePositionSchema,
|
|
5563
|
+
PublicationRuleStyle: publicationRuleStyleSchema,
|
|
5564
|
+
PublicationSectionType: publicationSectionTypeSchema,
|
|
5565
|
+
PublicationSourceType: publicationSourceTypeSchema,
|
|
5566
|
+
PublicationTextAlign: publicationTextAlignSchema,
|
|
5567
|
+
PublicationType: publicationTypeSchema,
|
|
5568
|
+
PublicationWeekScope: publicationWeekScopeSchema,
|
|
4939
5569
|
ReduceDeltaPaymentIntentRequest: reduceDeltaPaymentIntentRequestSchema,
|
|
4940
5570
|
ReduceDeltaPaymentIntentResponse: reduceDeltaPaymentIntentResponseSchema,
|
|
4941
5571
|
RemoveFromBasketResponse: removeFromBasketResponseSchema,
|
|
5572
|
+
RenderMenuPublicationPdfRequest: renderMenuPublicationPdfRequestSchema,
|
|
5573
|
+
RenderMenuPublicationPdfResponse: renderMenuPublicationPdfResponseSchema,
|
|
5574
|
+
RequestContactEmailChangeOutcome: requestContactEmailChangeOutcomeSchema,
|
|
5575
|
+
ReservationDeclineReason: reservationDeclineReasonSchema,
|
|
4942
5576
|
ReservationMessageStatus: reservationMessageStatusSchema,
|
|
4943
5577
|
ReservationMode: reservationModeSchema,
|
|
4944
5578
|
ReservationPromotionStatus: reservationPromotionStatusSchema,
|
|
@@ -4954,7 +5588,10 @@ const schemas = {
|
|
|
4954
5588
|
SaveAdWebsitePagesRequest: saveAdWebsitePagesRequestSchema,
|
|
4955
5589
|
SaveAdWebsitePagesResponse: saveAdWebsitePagesResponseSchema,
|
|
4956
5590
|
ScanTokenEntityType: scanTokenEntityTypeSchema,
|
|
5591
|
+
ScheduleOverrideMode: scheduleOverrideModeSchema,
|
|
4957
5592
|
Schedule: scheduleSchema,
|
|
5593
|
+
ServedMarketAreaType: servedMarketAreaTypeSchema,
|
|
5594
|
+
ServedMarketScope: servedMarketScopeSchema,
|
|
4958
5595
|
SetAdBudgetRequest: setAdBudgetRequestSchema,
|
|
4959
5596
|
SetAdBudgetResponse: setAdBudgetResponseSchema,
|
|
4960
5597
|
SetArticleFeatureImageUploadBody: setArticleFeatureImageUploadBodySchema,
|
|
@@ -4966,6 +5603,8 @@ const schemas = {
|
|
|
4966
5603
|
SetDiningTimeTeamOrderResponse: setDiningTimeTeamOrderResponseSchema,
|
|
4967
5604
|
SetFulfillmentAtTeamOrderRequest: setFulfillmentAtTeamOrderRequestSchema,
|
|
4968
5605
|
SetFulfillmentAtTeamOrderResponse: setFulfillmentAtTeamOrderResponseSchema,
|
|
5606
|
+
SetMenuPublicationBlocksRequest: setMenuPublicationBlocksRequestSchema,
|
|
5607
|
+
SetMenuPublicationBlocksResponse: setMenuPublicationBlocksResponseSchema,
|
|
4969
5608
|
SetOrderLeadSettledRequest: setOrderLeadSettledRequestSchema,
|
|
4970
5609
|
SetOrderLeadSettledResponse: setOrderLeadSettledResponseSchema,
|
|
4971
5610
|
SlotMode: slotModeSchema,
|
|
@@ -4983,6 +5622,7 @@ const schemas = {
|
|
|
4983
5622
|
SwitchFulfillmentTeamOrderResponse: switchFulfillmentTeamOrderResponseSchema,
|
|
4984
5623
|
TeamOrderPaymentStatus: teamOrderPaymentStatusSchema,
|
|
4985
5624
|
TeamOrderStatus: deliveryAddressSchema.teamOrderStatusSchema,
|
|
5625
|
+
TeamOrderThresholdConstraint: teamOrderThresholdConstraintSchema,
|
|
4986
5626
|
Unit: unitSchema,
|
|
4987
5627
|
UpdateCalloutRequest: updateCalloutRequestSchema,
|
|
4988
5628
|
UpdateCalloutResponse: updateCalloutResponseSchema,
|
|
@@ -4991,12 +5631,14 @@ const schemas = {
|
|
|
4991
5631
|
UpdateWebsitePageRequest: updateWebsitePageRequestSchema,
|
|
4992
5632
|
UpdateWebsitePageResponse: updateWebsitePageResponseSchema,
|
|
4993
5633
|
UploadAssetResponse: uploadAssetResponseSchema,
|
|
5634
|
+
Variant: variantSchema,
|
|
4994
5635
|
VenueAssetType: venueAssetTypeSchema,
|
|
4995
5636
|
VenueChargeType: venueChargeTypeSchema,
|
|
4996
5637
|
VenueEmailSenderStatus: venueEmailSenderStatusSchema,
|
|
4997
5638
|
VenueType: venueTypeSchema,
|
|
4998
5639
|
VenueUserStatus: venueUserStatusSchema,
|
|
4999
|
-
WebsitePageOwnerType: websitePageOwnerTypeSchema
|
|
5640
|
+
WebsitePageOwnerType: websitePageOwnerTypeSchema,
|
|
5641
|
+
WizardKey: wizardKeySchema
|
|
5000
5642
|
};
|
|
5001
5643
|
|
|
5002
5644
|
exports.schemas = schemas;
|