order3000 2.2.2 → 2.2.4
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 +11 -10
- package/dist/client.d.cts +9 -3
- package/dist/client.d.mts +9 -3
- package/dist/index-ChIpruKt.d.cts +4458 -0
- package/dist/index-ChIpruKt.d.mts +4458 -0
- package/dist/{index-B7V1wOj_.d.cts → index-DJ6-ihXb.d.cts} +123 -142
- package/dist/{index-B7V1wOj_.d.mts → index-DJ6-ihXb.d.mts} +123 -142
- package/dist/menu.d.cts +1 -1
- package/dist/menu.d.mts +1 -1
- package/dist/schemas.cjs +180 -207
- package/dist/schemas.d.cts +181 -9
- package/dist/schemas.d.mts +181 -9
- package/dist/schemas.mjs +180 -207
- package/package.json +6 -5
package/dist/schemas.cjs
CHANGED
|
@@ -370,8 +370,6 @@ const beverageCategorySchema = v4.z.enum([
|
|
|
370
370
|
|
|
371
371
|
const billingIntervalSchema = v4.z.enum(["month", "year"]);
|
|
372
372
|
|
|
373
|
-
const billingModeSchema = v4.z.enum(["single_anchor", "split"]);
|
|
374
|
-
|
|
375
373
|
const bookingChannelSchema = v4.z.enum(["reservation", "order"]);
|
|
376
374
|
|
|
377
375
|
const bookletSectionInputSchema = v4.z.object({
|
|
@@ -413,8 +411,6 @@ const cancellationReasonSchema = v4.z.enum([
|
|
|
413
411
|
"restaurant_request"
|
|
414
412
|
]);
|
|
415
413
|
|
|
416
|
-
const chargeTypeSchema = v4.z.enum(["base", "addon"]);
|
|
417
|
-
|
|
418
414
|
const chatChannelTypeSchema = v4.z.enum([
|
|
419
415
|
"team",
|
|
420
416
|
"direct",
|
|
@@ -1730,6 +1726,50 @@ const editEventRequestSchema = v4.z.object({
|
|
|
1730
1726
|
ritualAccessor: v4.z.string().nullish()
|
|
1731
1727
|
}).describe("Partial-update body for an existing event");
|
|
1732
1728
|
|
|
1729
|
+
const scheduleOverrideSchema = v4.z.object({
|
|
1730
|
+
id: v4.z.string(),
|
|
1731
|
+
scheduleId: v4.z.string(),
|
|
1732
|
+
date: v4.z.string(),
|
|
1733
|
+
reason: v4.z.nullable(
|
|
1734
|
+
v4.z.union([
|
|
1735
|
+
v4.z.union([v4.z.boolean(), v4.z.string(), v4.z.number(), v4.z.enum([])]),
|
|
1736
|
+
v4.z.array(v4.z.any()),
|
|
1737
|
+
v4.z.object({}).catchall(v4.z.any())
|
|
1738
|
+
])
|
|
1739
|
+
),
|
|
1740
|
+
isActive: v4.z.boolean(),
|
|
1741
|
+
updatedAt: v4.z.nullable(v4.z.any()),
|
|
1742
|
+
updatedBy: v4.z.nullable(v4.z.string()),
|
|
1743
|
+
createdAt: v4.z.nullable(v4.z.any()),
|
|
1744
|
+
createdBy: v4.z.nullable(v4.z.string()),
|
|
1745
|
+
scheduleOverrideTimeSlots: v4.z.array(
|
|
1746
|
+
v4.z.object({
|
|
1747
|
+
overrideId: v4.z.string(),
|
|
1748
|
+
timeSlotId: v4.z.string(),
|
|
1749
|
+
sortIndex: v4.z.nullable(v4.z.string().max(255)),
|
|
1750
|
+
timeSlot: v4.z.object({
|
|
1751
|
+
id: v4.z.string(),
|
|
1752
|
+
startTime: v4.z.string(),
|
|
1753
|
+
endTime: v4.z.nullable(v4.z.string()),
|
|
1754
|
+
get channel() {
|
|
1755
|
+
return bookingChannelSchema;
|
|
1756
|
+
},
|
|
1757
|
+
isActive: v4.z.nullable(v4.z.boolean()),
|
|
1758
|
+
isSchedulable: v4.z.nullable(v4.z.boolean()),
|
|
1759
|
+
maxBookings: v4.z.nullable(v4.z.int().min(-2147483648).max(2147483647)),
|
|
1760
|
+
maxGuests: v4.z.nullable(v4.z.int().min(-2147483648).max(2147483647)),
|
|
1761
|
+
overflowBookings: v4.z.nullable(v4.z.int().min(-2147483648).max(2147483647)),
|
|
1762
|
+
overflowGuests: v4.z.nullable(v4.z.int().min(-2147483648).max(2147483647)),
|
|
1763
|
+
sortIndex: v4.z.nullable(v4.z.string().max(255)),
|
|
1764
|
+
updatedAt: v4.z.nullable(v4.z.any()),
|
|
1765
|
+
updatedBy: v4.z.nullable(v4.z.string()),
|
|
1766
|
+
createdAt: v4.z.nullable(v4.z.any()),
|
|
1767
|
+
createdBy: v4.z.nullable(v4.z.string())
|
|
1768
|
+
})
|
|
1769
|
+
})
|
|
1770
|
+
)
|
|
1771
|
+
});
|
|
1772
|
+
|
|
1733
1773
|
const scheduleSchema = v4.z.object({
|
|
1734
1774
|
id: v4.z.string(),
|
|
1735
1775
|
name: v4.z.union([
|
|
@@ -1798,57 +1838,9 @@ const scheduleSchema = v4.z.object({
|
|
|
1798
1838
|
})
|
|
1799
1839
|
)
|
|
1800
1840
|
),
|
|
1801
|
-
scheduleOverrides
|
|
1802
|
-
v4.z.array(
|
|
1803
|
-
|
|
1804
|
-
id: v4.z.string(),
|
|
1805
|
-
scheduleId: v4.z.string(),
|
|
1806
|
-
date: v4.z.string(),
|
|
1807
|
-
reason: v4.z.nullable(
|
|
1808
|
-
v4.z.union([
|
|
1809
|
-
v4.z.union([v4.z.boolean(), v4.z.string(), v4.z.number(), v4.z.enum([])]),
|
|
1810
|
-
v4.z.array(v4.z.any()),
|
|
1811
|
-
v4.z.object({}).catchall(v4.z.any())
|
|
1812
|
-
])
|
|
1813
|
-
),
|
|
1814
|
-
isActive: v4.z.boolean(),
|
|
1815
|
-
updatedAt: v4.z.nullable(v4.z.any()),
|
|
1816
|
-
updatedBy: v4.z.nullable(v4.z.string()),
|
|
1817
|
-
createdAt: v4.z.nullable(v4.z.any()),
|
|
1818
|
-
createdBy: v4.z.nullable(v4.z.string()),
|
|
1819
|
-
scheduleOverrideTimeSlots: v4.z.array(
|
|
1820
|
-
v4.z.object({
|
|
1821
|
-
overrideId: v4.z.string(),
|
|
1822
|
-
timeSlotId: v4.z.string(),
|
|
1823
|
-
sortIndex: v4.z.nullable(v4.z.string().max(255)),
|
|
1824
|
-
timeSlot: v4.z.object({
|
|
1825
|
-
id: v4.z.string(),
|
|
1826
|
-
startTime: v4.z.string(),
|
|
1827
|
-
endTime: v4.z.nullable(v4.z.string()),
|
|
1828
|
-
get channel() {
|
|
1829
|
-
return bookingChannelSchema;
|
|
1830
|
-
},
|
|
1831
|
-
isActive: v4.z.nullable(v4.z.boolean()),
|
|
1832
|
-
isSchedulable: v4.z.nullable(v4.z.boolean()),
|
|
1833
|
-
maxBookings: v4.z.nullable(v4.z.int().min(-2147483648).max(2147483647)),
|
|
1834
|
-
maxGuests: v4.z.nullable(v4.z.int().min(-2147483648).max(2147483647)),
|
|
1835
|
-
overflowBookings: v4.z.nullable(
|
|
1836
|
-
v4.z.int().min(-2147483648).max(2147483647)
|
|
1837
|
-
),
|
|
1838
|
-
overflowGuests: v4.z.nullable(
|
|
1839
|
-
v4.z.int().min(-2147483648).max(2147483647)
|
|
1840
|
-
),
|
|
1841
|
-
sortIndex: v4.z.nullable(v4.z.string().max(255)),
|
|
1842
|
-
updatedAt: v4.z.nullable(v4.z.any()),
|
|
1843
|
-
updatedBy: v4.z.nullable(v4.z.string()),
|
|
1844
|
-
createdAt: v4.z.nullable(v4.z.any()),
|
|
1845
|
-
createdBy: v4.z.nullable(v4.z.string())
|
|
1846
|
-
})
|
|
1847
|
-
})
|
|
1848
|
-
)
|
|
1849
|
-
})
|
|
1850
|
-
)
|
|
1851
|
-
),
|
|
1841
|
+
get scheduleOverrides() {
|
|
1842
|
+
return v4.z.array(scheduleOverrideSchema).optional();
|
|
1843
|
+
},
|
|
1852
1844
|
scheduleSlotPolicies: v4.z.optional(
|
|
1853
1845
|
v4.z.array(
|
|
1854
1846
|
v4.z.object({
|
|
@@ -2110,7 +2102,11 @@ const featureCategorySchema = v4.z.enum([
|
|
|
2110
2102
|
"venues"
|
|
2111
2103
|
]);
|
|
2112
2104
|
|
|
2113
|
-
const featureGateSchema = v4.z.enum([
|
|
2105
|
+
const featureGateSchema = v4.z.enum([
|
|
2106
|
+
"vanity-email",
|
|
2107
|
+
"vanity-mailbox",
|
|
2108
|
+
"vanity-url"
|
|
2109
|
+
]);
|
|
2114
2110
|
|
|
2115
2111
|
const featureStatusSchema = v4.z.enum([
|
|
2116
2112
|
"backlog",
|
|
@@ -3465,6 +3461,97 @@ const fetchMenuSubscriptionsResponseSchema = v4.z.array(
|
|
|
3465
3461
|
})
|
|
3466
3462
|
);
|
|
3467
3463
|
|
|
3464
|
+
const hydratedScheduleSchema = v4.z.object({
|
|
3465
|
+
id: v4.z.string(),
|
|
3466
|
+
name: v4.z.union([
|
|
3467
|
+
v4.z.union([v4.z.boolean(), v4.z.string(), v4.z.number(), v4.z.enum([])]),
|
|
3468
|
+
v4.z.array(v4.z.any()),
|
|
3469
|
+
v4.z.object({}).catchall(v4.z.any())
|
|
3470
|
+
]),
|
|
3471
|
+
description: v4.z.nullable(
|
|
3472
|
+
v4.z.union([
|
|
3473
|
+
v4.z.union([v4.z.boolean(), v4.z.string(), v4.z.number(), v4.z.enum([])]),
|
|
3474
|
+
v4.z.array(v4.z.any()),
|
|
3475
|
+
v4.z.object({}).catchall(v4.z.any())
|
|
3476
|
+
])
|
|
3477
|
+
),
|
|
3478
|
+
timezone: v4.z.string(),
|
|
3479
|
+
rrule: v4.z.nullable(v4.z.string()),
|
|
3480
|
+
exdates: v4.z.nullable(v4.z.array(v4.z.string())),
|
|
3481
|
+
validFrom: v4.z.nullable(v4.z.string()),
|
|
3482
|
+
validTo: v4.z.nullable(v4.z.string()),
|
|
3483
|
+
get slotMode() {
|
|
3484
|
+
return slotModeSchema;
|
|
3485
|
+
},
|
|
3486
|
+
intervalDuration: v4.z.nullable(v4.z.int().min(-2147483648).max(2147483647)),
|
|
3487
|
+
duration: v4.z.nullable(v4.z.int().min(-2147483648).max(2147483647)),
|
|
3488
|
+
isActive: v4.z.boolean(),
|
|
3489
|
+
sortIndex: v4.z.nullable(v4.z.string().max(255)),
|
|
3490
|
+
updatedAt: v4.z.nullable(v4.z.any()),
|
|
3491
|
+
updatedBy: v4.z.nullable(v4.z.string()),
|
|
3492
|
+
createdAt: v4.z.nullable(v4.z.any()),
|
|
3493
|
+
createdBy: v4.z.nullable(v4.z.string()),
|
|
3494
|
+
scheduleTimeSlots: v4.z.array(
|
|
3495
|
+
v4.z.object({
|
|
3496
|
+
id: v4.z.string(),
|
|
3497
|
+
scheduleId: v4.z.string(),
|
|
3498
|
+
timeSlotId: v4.z.string(),
|
|
3499
|
+
get dayOfWeek() {
|
|
3500
|
+
return dayOfWeekSchema;
|
|
3501
|
+
},
|
|
3502
|
+
sortIndex: v4.z.nullable(v4.z.string().max(255)),
|
|
3503
|
+
timeSlot: v4.z.nullable(
|
|
3504
|
+
v4.z.object({
|
|
3505
|
+
id: v4.z.string(),
|
|
3506
|
+
startTime: v4.z.string(),
|
|
3507
|
+
endTime: v4.z.nullable(v4.z.string()),
|
|
3508
|
+
get channel() {
|
|
3509
|
+
return bookingChannelSchema;
|
|
3510
|
+
},
|
|
3511
|
+
isActive: v4.z.nullable(v4.z.boolean()),
|
|
3512
|
+
isSchedulable: v4.z.nullable(v4.z.boolean()),
|
|
3513
|
+
maxBookings: v4.z.nullable(v4.z.int().min(-2147483648).max(2147483647)),
|
|
3514
|
+
maxGuests: v4.z.nullable(v4.z.int().min(-2147483648).max(2147483647)),
|
|
3515
|
+
overflowBookings: v4.z.nullable(
|
|
3516
|
+
v4.z.int().min(-2147483648).max(2147483647)
|
|
3517
|
+
),
|
|
3518
|
+
overflowGuests: v4.z.nullable(v4.z.int().min(-2147483648).max(2147483647)),
|
|
3519
|
+
sortIndex: v4.z.nullable(v4.z.string().max(255)),
|
|
3520
|
+
updatedAt: v4.z.nullable(v4.z.any()),
|
|
3521
|
+
updatedBy: v4.z.nullable(v4.z.string()),
|
|
3522
|
+
createdAt: v4.z.nullable(v4.z.any()),
|
|
3523
|
+
createdBy: v4.z.nullable(v4.z.string())
|
|
3524
|
+
})
|
|
3525
|
+
)
|
|
3526
|
+
})
|
|
3527
|
+
),
|
|
3528
|
+
get scheduleOverrides() {
|
|
3529
|
+
return v4.z.array(scheduleOverrideSchema);
|
|
3530
|
+
},
|
|
3531
|
+
scheduleSlotPolicies: v4.z.array(
|
|
3532
|
+
v4.z.object({
|
|
3533
|
+
id: v4.z.string(),
|
|
3534
|
+
scheduleId: v4.z.string(),
|
|
3535
|
+
get channel() {
|
|
3536
|
+
return bookingChannelSchema;
|
|
3537
|
+
},
|
|
3538
|
+
get slotMode() {
|
|
3539
|
+
return slotModeSchema;
|
|
3540
|
+
},
|
|
3541
|
+
intervalDuration: v4.z.nullable(v4.z.int().min(-2147483648).max(2147483647)),
|
|
3542
|
+
duration: v4.z.nullable(v4.z.int().min(-2147483648).max(2147483647)),
|
|
3543
|
+
bookingOpensAtDays: v4.z.nullable(v4.z.int().min(-2147483648).max(2147483647)),
|
|
3544
|
+
bookingClosesAtOffset: v4.z.nullable(
|
|
3545
|
+
v4.z.int().min(-2147483648).max(2147483647)
|
|
3546
|
+
),
|
|
3547
|
+
updatedAt: v4.z.nullable(v4.z.any()),
|
|
3548
|
+
updatedBy: v4.z.nullable(v4.z.string()),
|
|
3549
|
+
createdAt: v4.z.nullable(v4.z.any()),
|
|
3550
|
+
createdBy: v4.z.nullable(v4.z.string())
|
|
3551
|
+
})
|
|
3552
|
+
)
|
|
3553
|
+
});
|
|
3554
|
+
|
|
3468
3555
|
const fetchRitualResponseSchema = v4.z.object({
|
|
3469
3556
|
id: v4.z.string(),
|
|
3470
3557
|
venueId: v4.z.string(),
|
|
@@ -3618,152 +3705,9 @@ const fetchRitualResponseSchema = v4.z.object({
|
|
|
3618
3705
|
covers: v4.z.number()
|
|
3619
3706
|
})
|
|
3620
3707
|
),
|
|
3621
|
-
schedule
|
|
3622
|
-
|
|
3623
|
-
|
|
3624
|
-
name: v4.z.union([
|
|
3625
|
-
v4.z.union([v4.z.boolean(), v4.z.string(), v4.z.number(), v4.z.enum([])]),
|
|
3626
|
-
v4.z.array(v4.z.any()),
|
|
3627
|
-
v4.z.object({}).catchall(v4.z.any())
|
|
3628
|
-
]),
|
|
3629
|
-
description: v4.z.nullable(
|
|
3630
|
-
v4.z.union([
|
|
3631
|
-
v4.z.union([v4.z.boolean(), v4.z.string(), v4.z.number(), v4.z.enum([])]),
|
|
3632
|
-
v4.z.array(v4.z.any()),
|
|
3633
|
-
v4.z.object({}).catchall(v4.z.any())
|
|
3634
|
-
])
|
|
3635
|
-
),
|
|
3636
|
-
timezone: v4.z.string(),
|
|
3637
|
-
rrule: v4.z.nullable(v4.z.string()),
|
|
3638
|
-
exdates: v4.z.nullable(v4.z.array(v4.z.string())),
|
|
3639
|
-
validFrom: v4.z.nullable(v4.z.string()),
|
|
3640
|
-
validTo: v4.z.nullable(v4.z.string()),
|
|
3641
|
-
get slotMode() {
|
|
3642
|
-
return slotModeSchema;
|
|
3643
|
-
},
|
|
3644
|
-
intervalDuration: v4.z.nullable(v4.z.int().min(-2147483648).max(2147483647)),
|
|
3645
|
-
duration: v4.z.nullable(v4.z.int().min(-2147483648).max(2147483647)),
|
|
3646
|
-
isActive: v4.z.boolean(),
|
|
3647
|
-
sortIndex: v4.z.nullable(v4.z.string().max(255)),
|
|
3648
|
-
updatedAt: v4.z.nullable(v4.z.any()),
|
|
3649
|
-
updatedBy: v4.z.nullable(v4.z.string()),
|
|
3650
|
-
createdAt: v4.z.nullable(v4.z.any()),
|
|
3651
|
-
createdBy: v4.z.nullable(v4.z.string()),
|
|
3652
|
-
scheduleTimeSlots: v4.z.array(
|
|
3653
|
-
v4.z.object({
|
|
3654
|
-
id: v4.z.string(),
|
|
3655
|
-
scheduleId: v4.z.string(),
|
|
3656
|
-
timeSlotId: v4.z.string(),
|
|
3657
|
-
get dayOfWeek() {
|
|
3658
|
-
return dayOfWeekSchema;
|
|
3659
|
-
},
|
|
3660
|
-
sortIndex: v4.z.nullable(v4.z.string().max(255)),
|
|
3661
|
-
timeSlot: v4.z.nullable(
|
|
3662
|
-
v4.z.object({
|
|
3663
|
-
id: v4.z.string(),
|
|
3664
|
-
startTime: v4.z.string(),
|
|
3665
|
-
endTime: v4.z.nullable(v4.z.string()),
|
|
3666
|
-
get channel() {
|
|
3667
|
-
return bookingChannelSchema;
|
|
3668
|
-
},
|
|
3669
|
-
isActive: v4.z.nullable(v4.z.boolean()),
|
|
3670
|
-
isSchedulable: v4.z.nullable(v4.z.boolean()),
|
|
3671
|
-
maxBookings: v4.z.nullable(v4.z.int().min(-2147483648).max(2147483647)),
|
|
3672
|
-
maxGuests: v4.z.nullable(v4.z.int().min(-2147483648).max(2147483647)),
|
|
3673
|
-
overflowBookings: v4.z.nullable(
|
|
3674
|
-
v4.z.int().min(-2147483648).max(2147483647)
|
|
3675
|
-
),
|
|
3676
|
-
overflowGuests: v4.z.nullable(
|
|
3677
|
-
v4.z.int().min(-2147483648).max(2147483647)
|
|
3678
|
-
),
|
|
3679
|
-
sortIndex: v4.z.nullable(v4.z.string().max(255)),
|
|
3680
|
-
updatedAt: v4.z.nullable(v4.z.any()),
|
|
3681
|
-
updatedBy: v4.z.nullable(v4.z.string()),
|
|
3682
|
-
createdAt: v4.z.nullable(v4.z.any()),
|
|
3683
|
-
createdBy: v4.z.nullable(v4.z.string())
|
|
3684
|
-
})
|
|
3685
|
-
)
|
|
3686
|
-
})
|
|
3687
|
-
),
|
|
3688
|
-
scheduleOverrides: v4.z.array(
|
|
3689
|
-
v4.z.object({
|
|
3690
|
-
id: v4.z.string(),
|
|
3691
|
-
scheduleId: v4.z.string(),
|
|
3692
|
-
date: v4.z.string(),
|
|
3693
|
-
reason: v4.z.nullable(
|
|
3694
|
-
v4.z.union([
|
|
3695
|
-
v4.z.union([v4.z.boolean(), v4.z.string(), v4.z.number(), v4.z.enum([])]),
|
|
3696
|
-
v4.z.array(v4.z.any()),
|
|
3697
|
-
v4.z.object({}).catchall(v4.z.any())
|
|
3698
|
-
])
|
|
3699
|
-
),
|
|
3700
|
-
isActive: v4.z.boolean(),
|
|
3701
|
-
updatedAt: v4.z.nullable(v4.z.any()),
|
|
3702
|
-
updatedBy: v4.z.nullable(v4.z.string()),
|
|
3703
|
-
createdAt: v4.z.nullable(v4.z.any()),
|
|
3704
|
-
createdBy: v4.z.nullable(v4.z.string()),
|
|
3705
|
-
scheduleOverrideTimeSlots: v4.z.array(
|
|
3706
|
-
v4.z.object({
|
|
3707
|
-
overrideId: v4.z.string(),
|
|
3708
|
-
timeSlotId: v4.z.string(),
|
|
3709
|
-
sortIndex: v4.z.nullable(v4.z.string().max(255)),
|
|
3710
|
-
timeSlot: v4.z.object({
|
|
3711
|
-
id: v4.z.string(),
|
|
3712
|
-
startTime: v4.z.string(),
|
|
3713
|
-
endTime: v4.z.nullable(v4.z.string()),
|
|
3714
|
-
get channel() {
|
|
3715
|
-
return bookingChannelSchema;
|
|
3716
|
-
},
|
|
3717
|
-
isActive: v4.z.nullable(v4.z.boolean()),
|
|
3718
|
-
isSchedulable: v4.z.nullable(v4.z.boolean()),
|
|
3719
|
-
maxBookings: v4.z.nullable(
|
|
3720
|
-
v4.z.int().min(-2147483648).max(2147483647)
|
|
3721
|
-
),
|
|
3722
|
-
maxGuests: v4.z.nullable(v4.z.int().min(-2147483648).max(2147483647)),
|
|
3723
|
-
overflowBookings: v4.z.nullable(
|
|
3724
|
-
v4.z.int().min(-2147483648).max(2147483647)
|
|
3725
|
-
),
|
|
3726
|
-
overflowGuests: v4.z.nullable(
|
|
3727
|
-
v4.z.int().min(-2147483648).max(2147483647)
|
|
3728
|
-
),
|
|
3729
|
-
sortIndex: v4.z.nullable(v4.z.string().max(255)),
|
|
3730
|
-
updatedAt: v4.z.nullable(v4.z.any()),
|
|
3731
|
-
updatedBy: v4.z.nullable(v4.z.string()),
|
|
3732
|
-
createdAt: v4.z.nullable(v4.z.any()),
|
|
3733
|
-
createdBy: v4.z.nullable(v4.z.string())
|
|
3734
|
-
})
|
|
3735
|
-
})
|
|
3736
|
-
)
|
|
3737
|
-
})
|
|
3738
|
-
),
|
|
3739
|
-
scheduleSlotPolicies: v4.z.array(
|
|
3740
|
-
v4.z.object({
|
|
3741
|
-
id: v4.z.string(),
|
|
3742
|
-
scheduleId: v4.z.string(),
|
|
3743
|
-
get channel() {
|
|
3744
|
-
return bookingChannelSchema;
|
|
3745
|
-
},
|
|
3746
|
-
get slotMode() {
|
|
3747
|
-
return slotModeSchema;
|
|
3748
|
-
},
|
|
3749
|
-
intervalDuration: v4.z.nullable(
|
|
3750
|
-
v4.z.int().min(-2147483648).max(2147483647)
|
|
3751
|
-
),
|
|
3752
|
-
duration: v4.z.nullable(v4.z.int().min(-2147483648).max(2147483647)),
|
|
3753
|
-
bookingOpensAtDays: v4.z.nullable(
|
|
3754
|
-
v4.z.int().min(-2147483648).max(2147483647)
|
|
3755
|
-
),
|
|
3756
|
-
bookingClosesAtOffset: v4.z.nullable(
|
|
3757
|
-
v4.z.int().min(-2147483648).max(2147483647)
|
|
3758
|
-
),
|
|
3759
|
-
updatedAt: v4.z.nullable(v4.z.any()),
|
|
3760
|
-
updatedBy: v4.z.nullable(v4.z.string()),
|
|
3761
|
-
createdAt: v4.z.nullable(v4.z.any()),
|
|
3762
|
-
createdBy: v4.z.nullable(v4.z.string())
|
|
3763
|
-
})
|
|
3764
|
-
)
|
|
3765
|
-
})
|
|
3766
|
-
)
|
|
3708
|
+
get schedule() {
|
|
3709
|
+
return hydratedScheduleSchema.nullable();
|
|
3710
|
+
}
|
|
3767
3711
|
});
|
|
3768
3712
|
|
|
3769
3713
|
const occupancyReasonSchema = v4.z.enum([
|
|
@@ -3818,6 +3762,7 @@ const fetchTeamOrderResponseSchema = v4.z.object({
|
|
|
3818
3762
|
diningLocation: v4.z.nullable(v4.z.string()),
|
|
3819
3763
|
diningTime: v4.z.nullable(v4.z.string()),
|
|
3820
3764
|
isDeliveryEnabled: v4.z.boolean(),
|
|
3765
|
+
isVenueAcceptingOrders: v4.z.boolean(),
|
|
3821
3766
|
quickReferenceNumber: v4.z.nullable(
|
|
3822
3767
|
v4.z.int().min(-9007199254740991).max(9007199254740991)
|
|
3823
3768
|
)
|
|
@@ -3911,6 +3856,8 @@ const fontRoleSchema = v4.z.enum(["system", "accent"]);
|
|
|
3911
3856
|
|
|
3912
3857
|
const fontStyleSchema = v4.z.enum(["normal", "italic"]);
|
|
3913
3858
|
|
|
3859
|
+
const formOfAddressSchema = v4.z.enum(["formal", "informal"]);
|
|
3860
|
+
|
|
3914
3861
|
const gbpMediaCategorySchema = v4.z.enum([
|
|
3915
3862
|
"cover",
|
|
3916
3863
|
"logo",
|
|
@@ -4598,6 +4545,10 @@ const metaIntegrationStatusSchema = v4.z.enum([
|
|
|
4598
4545
|
|
|
4599
4546
|
const metaServingTargetStatusSchema = v4.z.enum(["ACTIVE", "PAUSED"]);
|
|
4600
4547
|
|
|
4548
|
+
const moduleScopeSchema = v4.z.enum(["account", "tenant"]);
|
|
4549
|
+
|
|
4550
|
+
const onboardingCardSchema = v4.z.enum(["own_domain"]);
|
|
4551
|
+
|
|
4601
4552
|
const orientationSchema = v4.z.enum(["vertical", "horizontal"]);
|
|
4602
4553
|
|
|
4603
4554
|
const partyGenderSchema = v4.z.enum(["male", "female", "neutral"]);
|
|
@@ -4997,6 +4948,13 @@ const scanTokenEntityTypeSchema = v4.z.enum(["order", "depositware"]);
|
|
|
4997
4948
|
|
|
4998
4949
|
const scheduleOverrideModeSchema = v4.z.enum(["closed", "deviating"]);
|
|
4999
4950
|
|
|
4951
|
+
const senderNameSourceSchema = v4.z.enum([
|
|
4952
|
+
"official",
|
|
4953
|
+
"legal",
|
|
4954
|
+
"brand",
|
|
4955
|
+
"short"
|
|
4956
|
+
]);
|
|
4957
|
+
|
|
5000
4958
|
const servedMarketAreaTypeSchema = v4.z.enum([
|
|
5001
4959
|
"pin",
|
|
5002
4960
|
"postcode",
|
|
@@ -5413,6 +5371,8 @@ const setOrderLeadSettledResponseSchema = v4.z.object({
|
|
|
5413
5371
|
leadSettledAt: v4.z.nullable(v4.z.string())
|
|
5414
5372
|
});
|
|
5415
5373
|
|
|
5374
|
+
const signatureStyleSchema = v4.z.enum(["name", "team", "team_of"]);
|
|
5375
|
+
|
|
5416
5376
|
const sortOrderSchema = v4.z.enum(["asc", "desc"]);
|
|
5417
5377
|
|
|
5418
5378
|
const submitAreaBookingPayloadSchema = v4.z.object({
|
|
@@ -5655,7 +5615,12 @@ const venueAssetTypeSchema = v4.z.enum([
|
|
|
5655
5615
|
"icon"
|
|
5656
5616
|
]);
|
|
5657
5617
|
|
|
5658
|
-
const
|
|
5618
|
+
const venueDomainAddressPurposeSchema = v4.z.enum([
|
|
5619
|
+
"reservations",
|
|
5620
|
+
"contact"
|
|
5621
|
+
]);
|
|
5622
|
+
|
|
5623
|
+
const venueDomainStatusSchema = v4.z.enum([
|
|
5659
5624
|
"pending",
|
|
5660
5625
|
"verified",
|
|
5661
5626
|
"failed",
|
|
@@ -5677,7 +5642,9 @@ const wizardKeySchema = v4.z.enum([
|
|
|
5677
5642
|
"ads-dish-explainer-v1",
|
|
5678
5643
|
"ads-beverage-explainer-v1",
|
|
5679
5644
|
"settings-bank-accounts-v1",
|
|
5680
|
-
"settings-brand-icons-v1"
|
|
5645
|
+
"settings-brand-icons-v1",
|
|
5646
|
+
"settings-own-domains-v1",
|
|
5647
|
+
"settings-own-email-addresses-v1"
|
|
5681
5648
|
]);
|
|
5682
5649
|
|
|
5683
5650
|
const schemas = {
|
|
@@ -5716,7 +5683,6 @@ const schemas = {
|
|
|
5716
5683
|
BasketTotals: basketTotalsSchema,
|
|
5717
5684
|
BeverageCategory: beverageCategorySchema,
|
|
5718
5685
|
BillingInterval: billingIntervalSchema,
|
|
5719
|
-
BillingMode: billingModeSchema,
|
|
5720
5686
|
BookingChannel: bookingChannelSchema,
|
|
5721
5687
|
BookletSectionInput: bookletSectionInputSchema,
|
|
5722
5688
|
CampaignControlReason: campaignControlReasonSchema,
|
|
@@ -5725,7 +5691,6 @@ const schemas = {
|
|
|
5725
5691
|
CancelTeamOrderRequest: cancelTeamOrderRequestSchema,
|
|
5726
5692
|
CancelTeamOrderResponse: cancelTeamOrderResponseSchema,
|
|
5727
5693
|
CancellationReason: cancellationReasonSchema,
|
|
5728
|
-
ChargeType: chargeTypeSchema,
|
|
5729
5694
|
ChatChannelType: chatChannelTypeSchema,
|
|
5730
5695
|
ChatMemberRole: chatMemberRoleSchema,
|
|
5731
5696
|
ComposeMenuPublicationBookletRequest: composeMenuPublicationBookletRequestSchema,
|
|
@@ -5825,6 +5790,7 @@ const schemas = {
|
|
|
5825
5790
|
FetchTeamOrderResponse: fetchTeamOrderResponseSchema,
|
|
5826
5791
|
FontRole: fontRoleSchema,
|
|
5827
5792
|
FontStyle: fontStyleSchema,
|
|
5793
|
+
FormOfAddress: formOfAddressSchema,
|
|
5828
5794
|
FulfillmentType: deliveryAddressSchema.fulfillmentTypeSchema,
|
|
5829
5795
|
GbpMediaCategory: gbpMediaCategorySchema,
|
|
5830
5796
|
GbpSyncStatus: gbpSyncStatusSchema,
|
|
@@ -5839,6 +5805,7 @@ const schemas = {
|
|
|
5839
5805
|
GetWebsitePagesResponse: getWebsitePagesResponseSchema,
|
|
5840
5806
|
GoogleAdsAssetFamily: googleAdsAssetFamilySchema,
|
|
5841
5807
|
GuestTier: guestTierSchema,
|
|
5808
|
+
HydratedSchedule: hydratedScheduleSchema,
|
|
5842
5809
|
IntegrationNotificationType: integrationNotificationTypeSchema,
|
|
5843
5810
|
IntegrationType: integrationTypeSchema,
|
|
5844
5811
|
InventoryAssetStatus: inventoryAssetStatusSchema,
|
|
@@ -5872,8 +5839,10 @@ const schemas = {
|
|
|
5872
5839
|
MetaInsightsDatePreset: metaInsightsDatePresetSchema,
|
|
5873
5840
|
MetaIntegrationStatus: metaIntegrationStatusSchema,
|
|
5874
5841
|
MetaServingTargetStatus: metaServingTargetStatusSchema,
|
|
5842
|
+
ModuleScope: moduleScopeSchema,
|
|
5875
5843
|
OccupancyReason: occupancyReasonSchema,
|
|
5876
5844
|
OgImage: ogImageSchema,
|
|
5845
|
+
OnboardingCard: onboardingCardSchema,
|
|
5877
5846
|
OrderStatus: orderStatusSchema,
|
|
5878
5847
|
Orientation: orientationSchema,
|
|
5879
5848
|
ParticipantStatus: deliveryAddressSchema.participantStatusSchema,
|
|
@@ -5934,7 +5903,9 @@ const schemas = {
|
|
|
5934
5903
|
SaveAdWebsitePagesResponse: saveAdWebsitePagesResponseSchema,
|
|
5935
5904
|
ScanTokenEntityType: scanTokenEntityTypeSchema,
|
|
5936
5905
|
ScheduleOverrideMode: scheduleOverrideModeSchema,
|
|
5906
|
+
ScheduleOverride: scheduleOverrideSchema,
|
|
5937
5907
|
Schedule: scheduleSchema,
|
|
5908
|
+
SenderNameSource: senderNameSourceSchema,
|
|
5938
5909
|
ServedMarketAreaType: servedMarketAreaTypeSchema,
|
|
5939
5910
|
ServedMarketScope: servedMarketScopeSchema,
|
|
5940
5911
|
SetAdBudgetRequest: setAdBudgetRequestSchema,
|
|
@@ -5952,6 +5923,7 @@ const schemas = {
|
|
|
5952
5923
|
SetMenuPublicationBlocksResponse: setMenuPublicationBlocksResponseSchema,
|
|
5953
5924
|
SetOrderLeadSettledRequest: setOrderLeadSettledRequestSchema,
|
|
5954
5925
|
SetOrderLeadSettledResponse: setOrderLeadSettledResponseSchema,
|
|
5926
|
+
SignatureStyle: signatureStyleSchema,
|
|
5955
5927
|
SlotMode: slotModeSchema,
|
|
5956
5928
|
SortOrder: sortOrderSchema,
|
|
5957
5929
|
SubmitAreaBookingPayload: submitAreaBookingPayloadSchema,
|
|
@@ -5978,7 +5950,8 @@ const schemas = {
|
|
|
5978
5950
|
UploadAssetResponse: uploadAssetResponseSchema,
|
|
5979
5951
|
Variant: variantSchema,
|
|
5980
5952
|
VenueAssetType: venueAssetTypeSchema,
|
|
5981
|
-
|
|
5953
|
+
VenueDomainAddressPurpose: venueDomainAddressPurposeSchema,
|
|
5954
|
+
VenueDomainStatus: venueDomainStatusSchema,
|
|
5982
5955
|
VenueType: venueTypeSchema,
|
|
5983
5956
|
VenueUserStatus: venueUserStatusSchema,
|
|
5984
5957
|
WebsitePageOwnerType: websitePageOwnerTypeSchema,
|