order3000 2.2.1 → 2.2.3

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.
@@ -391,6 +391,10 @@ declare const schemas: {
391
391
  guest_request: "guest_request";
392
392
  restaurant_request: "restaurant_request";
393
393
  }>;
394
+ readonly ChargeType: zod.ZodEnum<{
395
+ base: "base";
396
+ addon: "addon";
397
+ }>;
394
398
  readonly ChatChannelType: zod.ZodEnum<{
395
399
  team: "team";
396
400
  direct: "direct";
@@ -2325,6 +2329,8 @@ declare const schemas: {
2325
2329
  }>;
2326
2330
  readonly FeatureGate: zod.ZodEnum<{
2327
2331
  "vanity-email": "vanity-email";
2332
+ "vanity-mailbox": "vanity-mailbox";
2333
+ "vanity-url": "vanity-url";
2328
2334
  }>;
2329
2335
  readonly FeatureImage: zod.ZodObject<{
2330
2336
  id: zod.ZodString;
@@ -3317,6 +3323,7 @@ declare const schemas: {
3317
3323
  createdAt: zod.ZodNullable<zod.ZodAny>;
3318
3324
  createdBy: zod.ZodNullable<zod.ZodString>;
3319
3325
  venueId: zod.ZodString;
3326
+ ritualId: zod.ZodNullable<zod.ZodString>;
3320
3327
  deliveryThresholdAmount: zod.ZodNullable<zod.ZodNumber>;
3321
3328
  deliveryThresholdQuantity: zod.ZodNullable<zod.ZodNumber>;
3322
3329
  assets: zod.ZodArray<zod.ZodObject<{
@@ -3344,8 +3351,8 @@ declare const schemas: {
3344
3351
  filename: zod.ZodString;
3345
3352
  contentType: zod.ZodString;
3346
3353
  sizeBytes: zod.ZodNumber;
3347
- caption: zod.ZodObject<{}, zod_v4_core.$catchall<zod.ZodAny>>;
3348
- alt: zod.ZodObject<{}, zod_v4_core.$catchall<zod.ZodAny>>;
3354
+ caption: zod.ZodObject<{}, zod_v4_core.$catchall<zod.ZodObject<{}, zod_v4_core.$catchall<zod.ZodAny>>>>;
3355
+ alt: zod.ZodObject<{}, zod_v4_core.$catchall<zod.ZodObject<{}, zod_v4_core.$catchall<zod.ZodAny>>>>;
3349
3356
  cropArea: zod.ZodNullable<zod.ZodObject<{
3350
3357
  x: zod.ZodNumber;
3351
3358
  y: zod.ZodNumber;
@@ -3417,8 +3424,8 @@ declare const schemas: {
3417
3424
  filename: zod.ZodString;
3418
3425
  contentType: zod.ZodString;
3419
3426
  sizeBytes: zod.ZodNumber;
3420
- caption: zod.ZodObject<{}, zod_v4_core.$catchall<zod.ZodAny>>;
3421
- alt: zod.ZodObject<{}, zod_v4_core.$catchall<zod.ZodAny>>;
3427
+ caption: zod.ZodObject<{}, zod_v4_core.$catchall<zod.ZodObject<{}, zod_v4_core.$catchall<zod.ZodAny>>>>;
3428
+ alt: zod.ZodObject<{}, zod_v4_core.$catchall<zod.ZodObject<{}, zod_v4_core.$catchall<zod.ZodAny>>>>;
3422
3429
  cropArea: zod.ZodNullable<zod.ZodObject<{
3423
3430
  x: zod.ZodNumber;
3424
3431
  y: zod.ZodNumber;
@@ -3470,8 +3477,8 @@ declare const schemas: {
3470
3477
  filename: zod.ZodString;
3471
3478
  contentType: zod.ZodString;
3472
3479
  sizeBytes: zod.ZodNumber;
3473
- caption: zod.ZodObject<{}, zod_v4_core.$catchall<zod.ZodAny>>;
3474
- alt: zod.ZodObject<{}, zod_v4_core.$catchall<zod.ZodAny>>;
3480
+ caption: zod.ZodObject<{}, zod_v4_core.$catchall<zod.ZodObject<{}, zod_v4_core.$catchall<zod.ZodAny>>>>;
3481
+ alt: zod.ZodObject<{}, zod_v4_core.$catchall<zod.ZodObject<{}, zod_v4_core.$catchall<zod.ZodAny>>>>;
3475
3482
  cropArea: zod.ZodNullable<zod.ZodObject<{
3476
3483
  x: zod.ZodNumber;
3477
3484
  y: zod.ZodNumber;
@@ -3644,7 +3651,7 @@ declare const schemas: {
3644
3651
  updatedBy: zod.ZodNullable<zod.ZodString>;
3645
3652
  createdAt: zod.ZodNullable<zod.ZodAny>;
3646
3653
  createdBy: zod.ZodNullable<zod.ZodString>;
3647
- scheduleTimeSlots: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
3654
+ scheduleTimeSlots: zod.ZodArray<zod.ZodObject<{
3648
3655
  id: zod.ZodString;
3649
3656
  scheduleId: zod.ZodString;
3650
3657
  timeSlotId: zod.ZodString;
@@ -3678,8 +3685,8 @@ declare const schemas: {
3678
3685
  createdAt: zod.ZodNullable<zod.ZodAny>;
3679
3686
  createdBy: zod.ZodNullable<zod.ZodString>;
3680
3687
  }, zod_v4_core.$strip>>;
3681
- }, zod_v4_core.$strip>>>;
3682
- scheduleOverrides: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
3688
+ }, zod_v4_core.$strip>>;
3689
+ scheduleOverrides: zod.ZodArray<zod.ZodObject<{
3683
3690
  id: zod.ZodString;
3684
3691
  scheduleId: zod.ZodString;
3685
3692
  date: zod.ZodString;
@@ -3714,8 +3721,8 @@ declare const schemas: {
3714
3721
  createdBy: zod.ZodNullable<zod.ZodString>;
3715
3722
  }, zod_v4_core.$strip>;
3716
3723
  }, zod_v4_core.$strip>>;
3717
- }, zod_v4_core.$strip>>>;
3718
- scheduleSlotPolicies: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
3724
+ }, zod_v4_core.$strip>>;
3725
+ scheduleSlotPolicies: zod.ZodArray<zod.ZodObject<{
3719
3726
  id: zod.ZodString;
3720
3727
  scheduleId: zod.ZodString;
3721
3728
  channel: zod.ZodEnum<{
@@ -3734,7 +3741,7 @@ declare const schemas: {
3734
3741
  updatedBy: zod.ZodNullable<zod.ZodString>;
3735
3742
  createdAt: zod.ZodNullable<zod.ZodAny>;
3736
3743
  createdBy: zod.ZodNullable<zod.ZodString>;
3737
- }, zod_v4_core.$strip>>>;
3744
+ }, zod_v4_core.$strip>>;
3738
3745
  }, zod_v4_core.$strip>>;
3739
3746
  }, zod_v4_core.$strip>;
3740
3747
  readonly FetchSlotAvailabilityResponse: zod.ZodArray<zod.ZodObject<{
@@ -3884,6 +3891,10 @@ declare const schemas: {
3884
3891
  normal: "normal";
3885
3892
  italic: "italic";
3886
3893
  }>;
3894
+ readonly FormOfAddress: zod.ZodEnum<{
3895
+ formal: "formal";
3896
+ informal: "informal";
3897
+ }>;
3887
3898
  readonly FulfillmentType: zod.ZodEnum<{
3888
3899
  pickup: "pickup";
3889
3900
  delivery: "delivery";
@@ -4069,6 +4080,119 @@ declare const schemas: {
4069
4080
  newGuest: "newGuest";
4070
4081
  regular: "regular";
4071
4082
  }>;
4083
+ readonly HydratedSchedule: zod.ZodObject<{
4084
+ id: zod.ZodString;
4085
+ name: zod.ZodUnion<readonly [zod.ZodUnion<readonly [zod.ZodBoolean, zod.ZodString, zod.ZodNumber, zod.ZodEnum<{}>]>, zod.ZodArray<zod.ZodAny>, zod.ZodObject<{}, zod_v4_core.$catchall<zod.ZodAny>>]>;
4086
+ description: zod.ZodNullable<zod.ZodUnion<readonly [zod.ZodUnion<readonly [zod.ZodBoolean, zod.ZodString, zod.ZodNumber, zod.ZodEnum<{}>]>, zod.ZodArray<zod.ZodAny>, zod.ZodObject<{}, zod_v4_core.$catchall<zod.ZodAny>>]>>;
4087
+ timezone: zod.ZodString;
4088
+ rrule: zod.ZodNullable<zod.ZodString>;
4089
+ exdates: zod.ZodNullable<zod.ZodArray<zod.ZodString>>;
4090
+ validFrom: zod.ZodNullable<zod.ZodString>;
4091
+ validTo: zod.ZodNullable<zod.ZodString>;
4092
+ slotMode: zod.ZodEnum<{
4093
+ duration: "duration";
4094
+ interval: "interval";
4095
+ }>;
4096
+ intervalDuration: zod.ZodNullable<zod.ZodInt>;
4097
+ duration: zod.ZodNullable<zod.ZodInt>;
4098
+ isActive: zod.ZodBoolean;
4099
+ sortIndex: zod.ZodNullable<zod.ZodString>;
4100
+ updatedAt: zod.ZodNullable<zod.ZodAny>;
4101
+ updatedBy: zod.ZodNullable<zod.ZodString>;
4102
+ createdAt: zod.ZodNullable<zod.ZodAny>;
4103
+ createdBy: zod.ZodNullable<zod.ZodString>;
4104
+ scheduleTimeSlots: zod.ZodArray<zod.ZodObject<{
4105
+ id: zod.ZodString;
4106
+ scheduleId: zod.ZodString;
4107
+ timeSlotId: zod.ZodString;
4108
+ dayOfWeek: zod.ZodEnum<{
4109
+ monday: "monday";
4110
+ tuesday: "tuesday";
4111
+ wednesday: "wednesday";
4112
+ thursday: "thursday";
4113
+ friday: "friday";
4114
+ saturday: "saturday";
4115
+ sunday: "sunday";
4116
+ }>;
4117
+ sortIndex: zod.ZodNullable<zod.ZodString>;
4118
+ timeSlot: zod.ZodNullable<zod.ZodObject<{
4119
+ id: zod.ZodString;
4120
+ startTime: zod.ZodString;
4121
+ endTime: zod.ZodNullable<zod.ZodString>;
4122
+ channel: zod.ZodEnum<{
4123
+ reservation: "reservation";
4124
+ order: "order";
4125
+ }>;
4126
+ isActive: zod.ZodNullable<zod.ZodBoolean>;
4127
+ isSchedulable: zod.ZodNullable<zod.ZodBoolean>;
4128
+ maxBookings: zod.ZodNullable<zod.ZodInt>;
4129
+ maxGuests: zod.ZodNullable<zod.ZodInt>;
4130
+ overflowBookings: zod.ZodNullable<zod.ZodInt>;
4131
+ overflowGuests: zod.ZodNullable<zod.ZodInt>;
4132
+ sortIndex: zod.ZodNullable<zod.ZodString>;
4133
+ updatedAt: zod.ZodNullable<zod.ZodAny>;
4134
+ updatedBy: zod.ZodNullable<zod.ZodString>;
4135
+ createdAt: zod.ZodNullable<zod.ZodAny>;
4136
+ createdBy: zod.ZodNullable<zod.ZodString>;
4137
+ }, zod_v4_core.$strip>>;
4138
+ }, zod_v4_core.$strip>>;
4139
+ scheduleOverrides: zod.ZodArray<zod.ZodObject<{
4140
+ id: zod.ZodString;
4141
+ scheduleId: zod.ZodString;
4142
+ date: zod.ZodString;
4143
+ reason: zod.ZodNullable<zod.ZodUnion<readonly [zod.ZodUnion<readonly [zod.ZodBoolean, zod.ZodString, zod.ZodNumber, zod.ZodEnum<{}>]>, zod.ZodArray<zod.ZodAny>, zod.ZodObject<{}, zod_v4_core.$catchall<zod.ZodAny>>]>>;
4144
+ isActive: zod.ZodBoolean;
4145
+ updatedAt: zod.ZodNullable<zod.ZodAny>;
4146
+ updatedBy: zod.ZodNullable<zod.ZodString>;
4147
+ createdAt: zod.ZodNullable<zod.ZodAny>;
4148
+ createdBy: zod.ZodNullable<zod.ZodString>;
4149
+ scheduleOverrideTimeSlots: zod.ZodArray<zod.ZodObject<{
4150
+ overrideId: zod.ZodString;
4151
+ timeSlotId: zod.ZodString;
4152
+ sortIndex: zod.ZodNullable<zod.ZodString>;
4153
+ timeSlot: zod.ZodObject<{
4154
+ id: zod.ZodString;
4155
+ startTime: zod.ZodString;
4156
+ endTime: zod.ZodNullable<zod.ZodString>;
4157
+ channel: zod.ZodEnum<{
4158
+ reservation: "reservation";
4159
+ order: "order";
4160
+ }>;
4161
+ isActive: zod.ZodNullable<zod.ZodBoolean>;
4162
+ isSchedulable: zod.ZodNullable<zod.ZodBoolean>;
4163
+ maxBookings: zod.ZodNullable<zod.ZodInt>;
4164
+ maxGuests: zod.ZodNullable<zod.ZodInt>;
4165
+ overflowBookings: zod.ZodNullable<zod.ZodInt>;
4166
+ overflowGuests: zod.ZodNullable<zod.ZodInt>;
4167
+ sortIndex: zod.ZodNullable<zod.ZodString>;
4168
+ updatedAt: zod.ZodNullable<zod.ZodAny>;
4169
+ updatedBy: zod.ZodNullable<zod.ZodString>;
4170
+ createdAt: zod.ZodNullable<zod.ZodAny>;
4171
+ createdBy: zod.ZodNullable<zod.ZodString>;
4172
+ }, zod_v4_core.$strip>;
4173
+ }, zod_v4_core.$strip>>;
4174
+ }, zod_v4_core.$strip>>;
4175
+ scheduleSlotPolicies: zod.ZodArray<zod.ZodObject<{
4176
+ id: zod.ZodString;
4177
+ scheduleId: zod.ZodString;
4178
+ channel: zod.ZodEnum<{
4179
+ reservation: "reservation";
4180
+ order: "order";
4181
+ }>;
4182
+ slotMode: zod.ZodEnum<{
4183
+ duration: "duration";
4184
+ interval: "interval";
4185
+ }>;
4186
+ intervalDuration: zod.ZodNullable<zod.ZodInt>;
4187
+ duration: zod.ZodNullable<zod.ZodInt>;
4188
+ bookingOpensAtDays: zod.ZodNullable<zod.ZodInt>;
4189
+ bookingClosesAtOffset: zod.ZodNullable<zod.ZodInt>;
4190
+ updatedAt: zod.ZodNullable<zod.ZodAny>;
4191
+ updatedBy: zod.ZodNullable<zod.ZodString>;
4192
+ createdAt: zod.ZodNullable<zod.ZodAny>;
4193
+ createdBy: zod.ZodNullable<zod.ZodString>;
4194
+ }, zod_v4_core.$strip>>;
4195
+ }, zod_v4_core.$strip>;
4072
4196
  readonly IntegrationNotificationType: zod.ZodEnum<{
4073
4197
  order_created: "order_created";
4074
4198
  order_cancelled: "order_cancelled";
@@ -5019,6 +5143,42 @@ declare const schemas: {
5019
5143
  closed: "closed";
5020
5144
  deviating: "deviating";
5021
5145
  }>;
5146
+ readonly ScheduleOverride: zod.ZodObject<{
5147
+ id: zod.ZodString;
5148
+ scheduleId: zod.ZodString;
5149
+ date: zod.ZodString;
5150
+ reason: zod.ZodNullable<zod.ZodUnion<readonly [zod.ZodUnion<readonly [zod.ZodBoolean, zod.ZodString, zod.ZodNumber, zod.ZodEnum<{}>]>, zod.ZodArray<zod.ZodAny>, zod.ZodObject<{}, zod_v4_core.$catchall<zod.ZodAny>>]>>;
5151
+ isActive: zod.ZodBoolean;
5152
+ updatedAt: zod.ZodNullable<zod.ZodAny>;
5153
+ updatedBy: zod.ZodNullable<zod.ZodString>;
5154
+ createdAt: zod.ZodNullable<zod.ZodAny>;
5155
+ createdBy: zod.ZodNullable<zod.ZodString>;
5156
+ scheduleOverrideTimeSlots: zod.ZodArray<zod.ZodObject<{
5157
+ overrideId: zod.ZodString;
5158
+ timeSlotId: zod.ZodString;
5159
+ sortIndex: zod.ZodNullable<zod.ZodString>;
5160
+ timeSlot: zod.ZodObject<{
5161
+ id: zod.ZodString;
5162
+ startTime: zod.ZodString;
5163
+ endTime: zod.ZodNullable<zod.ZodString>;
5164
+ channel: zod.ZodEnum<{
5165
+ reservation: "reservation";
5166
+ order: "order";
5167
+ }>;
5168
+ isActive: zod.ZodNullable<zod.ZodBoolean>;
5169
+ isSchedulable: zod.ZodNullable<zod.ZodBoolean>;
5170
+ maxBookings: zod.ZodNullable<zod.ZodInt>;
5171
+ maxGuests: zod.ZodNullable<zod.ZodInt>;
5172
+ overflowBookings: zod.ZodNullable<zod.ZodInt>;
5173
+ overflowGuests: zod.ZodNullable<zod.ZodInt>;
5174
+ sortIndex: zod.ZodNullable<zod.ZodString>;
5175
+ updatedAt: zod.ZodNullable<zod.ZodAny>;
5176
+ updatedBy: zod.ZodNullable<zod.ZodString>;
5177
+ createdAt: zod.ZodNullable<zod.ZodAny>;
5178
+ createdBy: zod.ZodNullable<zod.ZodString>;
5179
+ }, zod_v4_core.$strip>;
5180
+ }, zod_v4_core.$strip>>;
5181
+ }, zod_v4_core.$strip>;
5022
5182
  readonly Schedule: zod.ZodObject<{
5023
5183
  id: zod.ZodString;
5024
5184
  name: zod.ZodUnion<readonly [zod.ZodUnion<readonly [zod.ZodBoolean, zod.ZodString, zod.ZodNumber, zod.ZodEnum<{}>]>, zod.ZodArray<zod.ZodAny>, zod.ZodObject<{}, zod_v4_core.$catchall<zod.ZodAny>>]>;
@@ -5132,6 +5292,12 @@ declare const schemas: {
5132
5292
  createdBy: zod.ZodNullable<zod.ZodString>;
5133
5293
  }, zod_v4_core.$strip>>>;
5134
5294
  }, zod_v4_core.$strip>;
5295
+ readonly SenderNameSource: zod.ZodEnum<{
5296
+ legal: "legal";
5297
+ official: "official";
5298
+ brand: "brand";
5299
+ short: "short";
5300
+ }>;
5135
5301
  readonly ServedMarketAreaType: zod.ZodEnum<{
5136
5302
  city: "city";
5137
5303
  region: "region";
@@ -5493,6 +5659,11 @@ declare const schemas: {
5493
5659
  orderId: zod.ZodUUID;
5494
5660
  leadSettledAt: zod.ZodNullable<zod.ZodString>;
5495
5661
  }, zod_v4_core.$strip>;
5662
+ readonly SignatureStyle: zod.ZodEnum<{
5663
+ name: "name";
5664
+ team: "team";
5665
+ team_of: "team_of";
5666
+ }>;
5496
5667
  readonly SlotMode: zod.ZodEnum<{
5497
5668
  duration: "duration";
5498
5669
  interval: "interval";
@@ -6259,10 +6430,6 @@ declare const schemas: {
6259
6430
  combinationmark_horizontal: "combinationmark_horizontal";
6260
6431
  combinationmark_vertical: "combinationmark_vertical";
6261
6432
  }>;
6262
- readonly VenueChargeType: zod.ZodEnum<{
6263
- base: "base";
6264
- addon: "addon";
6265
- }>;
6266
6433
  readonly VenueEmailSenderStatus: zod.ZodEnum<{
6267
6434
  pending: "pending";
6268
6435
  verified: "verified";
package/dist/schemas.mjs CHANGED
@@ -411,6 +411,8 @@ const cancellationReasonSchema = z.enum([
411
411
  "restaurant_request"
412
412
  ]);
413
413
 
414
+ const chargeTypeSchema = z.enum(["base", "addon"]);
415
+
414
416
  const chatChannelTypeSchema = z.enum([
415
417
  "team",
416
418
  "direct",
@@ -1726,6 +1728,50 @@ const editEventRequestSchema = z.object({
1726
1728
  ritualAccessor: z.string().nullish()
1727
1729
  }).describe("Partial-update body for an existing event");
1728
1730
 
1731
+ const scheduleOverrideSchema = z.object({
1732
+ id: z.string(),
1733
+ scheduleId: z.string(),
1734
+ date: z.string(),
1735
+ reason: z.nullable(
1736
+ z.union([
1737
+ z.union([z.boolean(), z.string(), z.number(), z.enum([])]),
1738
+ z.array(z.any()),
1739
+ z.object({}).catchall(z.any())
1740
+ ])
1741
+ ),
1742
+ isActive: z.boolean(),
1743
+ updatedAt: z.nullable(z.any()),
1744
+ updatedBy: z.nullable(z.string()),
1745
+ createdAt: z.nullable(z.any()),
1746
+ createdBy: z.nullable(z.string()),
1747
+ scheduleOverrideTimeSlots: z.array(
1748
+ z.object({
1749
+ overrideId: z.string(),
1750
+ timeSlotId: z.string(),
1751
+ sortIndex: z.nullable(z.string().max(255)),
1752
+ timeSlot: z.object({
1753
+ id: z.string(),
1754
+ startTime: z.string(),
1755
+ endTime: z.nullable(z.string()),
1756
+ get channel() {
1757
+ return bookingChannelSchema;
1758
+ },
1759
+ isActive: z.nullable(z.boolean()),
1760
+ isSchedulable: z.nullable(z.boolean()),
1761
+ maxBookings: z.nullable(z.int().min(-2147483648).max(2147483647)),
1762
+ maxGuests: z.nullable(z.int().min(-2147483648).max(2147483647)),
1763
+ overflowBookings: z.nullable(z.int().min(-2147483648).max(2147483647)),
1764
+ overflowGuests: z.nullable(z.int().min(-2147483648).max(2147483647)),
1765
+ sortIndex: z.nullable(z.string().max(255)),
1766
+ updatedAt: z.nullable(z.any()),
1767
+ updatedBy: z.nullable(z.string()),
1768
+ createdAt: z.nullable(z.any()),
1769
+ createdBy: z.nullable(z.string())
1770
+ })
1771
+ })
1772
+ )
1773
+ });
1774
+
1729
1775
  const scheduleSchema = z.object({
1730
1776
  id: z.string(),
1731
1777
  name: z.union([
@@ -1794,57 +1840,9 @@ const scheduleSchema = z.object({
1794
1840
  })
1795
1841
  )
1796
1842
  ),
1797
- scheduleOverrides: z.optional(
1798
- z.array(
1799
- z.object({
1800
- id: z.string(),
1801
- scheduleId: z.string(),
1802
- date: z.string(),
1803
- reason: z.nullable(
1804
- z.union([
1805
- z.union([z.boolean(), z.string(), z.number(), z.enum([])]),
1806
- z.array(z.any()),
1807
- z.object({}).catchall(z.any())
1808
- ])
1809
- ),
1810
- isActive: z.boolean(),
1811
- updatedAt: z.nullable(z.any()),
1812
- updatedBy: z.nullable(z.string()),
1813
- createdAt: z.nullable(z.any()),
1814
- createdBy: z.nullable(z.string()),
1815
- scheduleOverrideTimeSlots: z.array(
1816
- z.object({
1817
- overrideId: z.string(),
1818
- timeSlotId: z.string(),
1819
- sortIndex: z.nullable(z.string().max(255)),
1820
- timeSlot: z.object({
1821
- id: z.string(),
1822
- startTime: z.string(),
1823
- endTime: z.nullable(z.string()),
1824
- get channel() {
1825
- return bookingChannelSchema;
1826
- },
1827
- isActive: z.nullable(z.boolean()),
1828
- isSchedulable: z.nullable(z.boolean()),
1829
- maxBookings: z.nullable(z.int().min(-2147483648).max(2147483647)),
1830
- maxGuests: z.nullable(z.int().min(-2147483648).max(2147483647)),
1831
- overflowBookings: z.nullable(
1832
- z.int().min(-2147483648).max(2147483647)
1833
- ),
1834
- overflowGuests: z.nullable(
1835
- z.int().min(-2147483648).max(2147483647)
1836
- ),
1837
- sortIndex: z.nullable(z.string().max(255)),
1838
- updatedAt: z.nullable(z.any()),
1839
- updatedBy: z.nullable(z.string()),
1840
- createdAt: z.nullable(z.any()),
1841
- createdBy: z.nullable(z.string())
1842
- })
1843
- })
1844
- )
1845
- })
1846
- )
1847
- ),
1843
+ get scheduleOverrides() {
1844
+ return z.array(scheduleOverrideSchema).optional();
1845
+ },
1848
1846
  scheduleSlotPolicies: z.optional(
1849
1847
  z.array(
1850
1848
  z.object({
@@ -2106,7 +2104,11 @@ const featureCategorySchema = z.enum([
2106
2104
  "venues"
2107
2105
  ]);
2108
2106
 
2109
- const featureGateSchema = z.enum(["vanity-email"]);
2107
+ const featureGateSchema = z.enum([
2108
+ "vanity-email",
2109
+ "vanity-mailbox",
2110
+ "vanity-url"
2111
+ ]);
2110
2112
 
2111
2113
  const featureStatusSchema = z.enum([
2112
2114
  "backlog",
@@ -3205,6 +3207,7 @@ const fetchMenuResponseSchema = z.object({
3205
3207
  createdAt: z.nullable(z.any()),
3206
3208
  createdBy: z.nullable(z.string()),
3207
3209
  venueId: z.string(),
3210
+ ritualId: z.nullable(z.string()),
3208
3211
  deliveryThresholdAmount: z.nullable(z.number()),
3209
3212
  deliveryThresholdQuantity: z.nullable(z.number()),
3210
3213
  assets: z.array(
@@ -3233,8 +3236,8 @@ const fetchMenuResponseSchema = z.object({
3233
3236
  filename: z.string(),
3234
3237
  contentType: z.string(),
3235
3238
  sizeBytes: z.number(),
3236
- caption: z.object({}).catchall(z.any()),
3237
- alt: z.object({}).catchall(z.any()),
3239
+ caption: z.object({}).catchall(z.object({}).catchall(z.any())),
3240
+ alt: z.object({}).catchall(z.object({}).catchall(z.any())),
3238
3241
  cropArea: z.nullable(
3239
3242
  z.object({
3240
3243
  x: z.number(),
@@ -3308,8 +3311,8 @@ const fetchMenuResponseSchema = z.object({
3308
3311
  filename: z.string(),
3309
3312
  contentType: z.string(),
3310
3313
  sizeBytes: z.number(),
3311
- caption: z.object({}).catchall(z.any()),
3312
- alt: z.object({}).catchall(z.any()),
3314
+ caption: z.object({}).catchall(z.object({}).catchall(z.any())),
3315
+ alt: z.object({}).catchall(z.object({}).catchall(z.any())),
3313
3316
  cropArea: z.nullable(
3314
3317
  z.object({
3315
3318
  x: z.number(),
@@ -3375,8 +3378,8 @@ const fetchMenuResponseSchema = z.object({
3375
3378
  filename: z.string(),
3376
3379
  contentType: z.string(),
3377
3380
  sizeBytes: z.number(),
3378
- caption: z.object({}).catchall(z.any()),
3379
- alt: z.object({}).catchall(z.any()),
3381
+ caption: z.object({}).catchall(z.object({}).catchall(z.any())),
3382
+ alt: z.object({}).catchall(z.object({}).catchall(z.any())),
3380
3383
  cropArea: z.nullable(
3381
3384
  z.object({
3382
3385
  x: z.number(),
@@ -3460,6 +3463,97 @@ const fetchMenuSubscriptionsResponseSchema = z.array(
3460
3463
  })
3461
3464
  );
3462
3465
 
3466
+ const hydratedScheduleSchema = z.object({
3467
+ id: z.string(),
3468
+ name: z.union([
3469
+ z.union([z.boolean(), z.string(), z.number(), z.enum([])]),
3470
+ z.array(z.any()),
3471
+ z.object({}).catchall(z.any())
3472
+ ]),
3473
+ description: z.nullable(
3474
+ z.union([
3475
+ z.union([z.boolean(), z.string(), z.number(), z.enum([])]),
3476
+ z.array(z.any()),
3477
+ z.object({}).catchall(z.any())
3478
+ ])
3479
+ ),
3480
+ timezone: z.string(),
3481
+ rrule: z.nullable(z.string()),
3482
+ exdates: z.nullable(z.array(z.string())),
3483
+ validFrom: z.nullable(z.string()),
3484
+ validTo: z.nullable(z.string()),
3485
+ get slotMode() {
3486
+ return slotModeSchema;
3487
+ },
3488
+ intervalDuration: z.nullable(z.int().min(-2147483648).max(2147483647)),
3489
+ duration: z.nullable(z.int().min(-2147483648).max(2147483647)),
3490
+ isActive: z.boolean(),
3491
+ sortIndex: z.nullable(z.string().max(255)),
3492
+ updatedAt: z.nullable(z.any()),
3493
+ updatedBy: z.nullable(z.string()),
3494
+ createdAt: z.nullable(z.any()),
3495
+ createdBy: z.nullable(z.string()),
3496
+ scheduleTimeSlots: z.array(
3497
+ z.object({
3498
+ id: z.string(),
3499
+ scheduleId: z.string(),
3500
+ timeSlotId: z.string(),
3501
+ get dayOfWeek() {
3502
+ return dayOfWeekSchema;
3503
+ },
3504
+ sortIndex: z.nullable(z.string().max(255)),
3505
+ timeSlot: z.nullable(
3506
+ z.object({
3507
+ id: z.string(),
3508
+ startTime: z.string(),
3509
+ endTime: z.nullable(z.string()),
3510
+ get channel() {
3511
+ return bookingChannelSchema;
3512
+ },
3513
+ isActive: z.nullable(z.boolean()),
3514
+ isSchedulable: z.nullable(z.boolean()),
3515
+ maxBookings: z.nullable(z.int().min(-2147483648).max(2147483647)),
3516
+ maxGuests: z.nullable(z.int().min(-2147483648).max(2147483647)),
3517
+ overflowBookings: z.nullable(
3518
+ z.int().min(-2147483648).max(2147483647)
3519
+ ),
3520
+ overflowGuests: z.nullable(z.int().min(-2147483648).max(2147483647)),
3521
+ sortIndex: z.nullable(z.string().max(255)),
3522
+ updatedAt: z.nullable(z.any()),
3523
+ updatedBy: z.nullable(z.string()),
3524
+ createdAt: z.nullable(z.any()),
3525
+ createdBy: z.nullable(z.string())
3526
+ })
3527
+ )
3528
+ })
3529
+ ),
3530
+ get scheduleOverrides() {
3531
+ return z.array(scheduleOverrideSchema);
3532
+ },
3533
+ scheduleSlotPolicies: z.array(
3534
+ z.object({
3535
+ id: z.string(),
3536
+ scheduleId: z.string(),
3537
+ get channel() {
3538
+ return bookingChannelSchema;
3539
+ },
3540
+ get slotMode() {
3541
+ return slotModeSchema;
3542
+ },
3543
+ intervalDuration: z.nullable(z.int().min(-2147483648).max(2147483647)),
3544
+ duration: z.nullable(z.int().min(-2147483648).max(2147483647)),
3545
+ bookingOpensAtDays: z.nullable(z.int().min(-2147483648).max(2147483647)),
3546
+ bookingClosesAtOffset: z.nullable(
3547
+ z.int().min(-2147483648).max(2147483647)
3548
+ ),
3549
+ updatedAt: z.nullable(z.any()),
3550
+ updatedBy: z.nullable(z.string()),
3551
+ createdAt: z.nullable(z.any()),
3552
+ createdBy: z.nullable(z.string())
3553
+ })
3554
+ )
3555
+ });
3556
+
3463
3557
  const fetchRitualResponseSchema = z.object({
3464
3558
  id: z.string(),
3465
3559
  venueId: z.string(),
@@ -3614,7 +3708,7 @@ const fetchRitualResponseSchema = z.object({
3614
3708
  })
3615
3709
  ),
3616
3710
  get schedule() {
3617
- return scheduleSchema.nullable();
3711
+ return hydratedScheduleSchema.nullable();
3618
3712
  }
3619
3713
  });
3620
3714
 
@@ -3763,6 +3857,8 @@ const fontRoleSchema = z.enum(["system", "accent"]);
3763
3857
 
3764
3858
  const fontStyleSchema = z.enum(["normal", "italic"]);
3765
3859
 
3860
+ const formOfAddressSchema = z.enum(["formal", "informal"]);
3861
+
3766
3862
  const gbpMediaCategorySchema = z.enum([
3767
3863
  "cover",
3768
3864
  "logo",
@@ -4849,6 +4945,13 @@ const scanTokenEntityTypeSchema = z.enum(["order", "depositware"]);
4849
4945
 
4850
4946
  const scheduleOverrideModeSchema = z.enum(["closed", "deviating"]);
4851
4947
 
4948
+ const senderNameSourceSchema = z.enum([
4949
+ "official",
4950
+ "legal",
4951
+ "brand",
4952
+ "short"
4953
+ ]);
4954
+
4852
4955
  const servedMarketAreaTypeSchema = z.enum([
4853
4956
  "pin",
4854
4957
  "postcode",
@@ -5265,6 +5368,8 @@ const setOrderLeadSettledResponseSchema = z.object({
5265
5368
  leadSettledAt: z.nullable(z.string())
5266
5369
  });
5267
5370
 
5371
+ const signatureStyleSchema = z.enum(["name", "team", "team_of"]);
5372
+
5268
5373
  const sortOrderSchema = z.enum(["asc", "desc"]);
5269
5374
 
5270
5375
  const submitAreaBookingPayloadSchema = z.object({
@@ -5507,8 +5612,6 @@ const venueAssetTypeSchema = z.enum([
5507
5612
  "icon"
5508
5613
  ]);
5509
5614
 
5510
- const venueChargeTypeSchema = z.enum(["base", "addon"]);
5511
-
5512
5615
  const venueEmailSenderStatusSchema = z.enum([
5513
5616
  "pending",
5514
5617
  "verified",
@@ -5579,6 +5682,7 @@ const schemas = {
5579
5682
  CancelTeamOrderRequest: cancelTeamOrderRequestSchema,
5580
5683
  CancelTeamOrderResponse: cancelTeamOrderResponseSchema,
5581
5684
  CancellationReason: cancellationReasonSchema,
5685
+ ChargeType: chargeTypeSchema,
5582
5686
  ChatChannelType: chatChannelTypeSchema,
5583
5687
  ChatMemberRole: chatMemberRoleSchema,
5584
5688
  ComposeMenuPublicationBookletRequest: composeMenuPublicationBookletRequestSchema,
@@ -5678,6 +5782,7 @@ const schemas = {
5678
5782
  FetchTeamOrderResponse: fetchTeamOrderResponseSchema,
5679
5783
  FontRole: fontRoleSchema,
5680
5784
  FontStyle: fontStyleSchema,
5785
+ FormOfAddress: formOfAddressSchema,
5681
5786
  FulfillmentType: fulfillmentTypeSchema,
5682
5787
  GbpMediaCategory: gbpMediaCategorySchema,
5683
5788
  GbpSyncStatus: gbpSyncStatusSchema,
@@ -5692,6 +5797,7 @@ const schemas = {
5692
5797
  GetWebsitePagesResponse: getWebsitePagesResponseSchema,
5693
5798
  GoogleAdsAssetFamily: googleAdsAssetFamilySchema,
5694
5799
  GuestTier: guestTierSchema,
5800
+ HydratedSchedule: hydratedScheduleSchema,
5695
5801
  IntegrationNotificationType: integrationNotificationTypeSchema,
5696
5802
  IntegrationType: integrationTypeSchema,
5697
5803
  InventoryAssetStatus: inventoryAssetStatusSchema,
@@ -5787,7 +5893,9 @@ const schemas = {
5787
5893
  SaveAdWebsitePagesResponse: saveAdWebsitePagesResponseSchema,
5788
5894
  ScanTokenEntityType: scanTokenEntityTypeSchema,
5789
5895
  ScheduleOverrideMode: scheduleOverrideModeSchema,
5896
+ ScheduleOverride: scheduleOverrideSchema,
5790
5897
  Schedule: scheduleSchema,
5898
+ SenderNameSource: senderNameSourceSchema,
5791
5899
  ServedMarketAreaType: servedMarketAreaTypeSchema,
5792
5900
  ServedMarketScope: servedMarketScopeSchema,
5793
5901
  SetAdBudgetRequest: setAdBudgetRequestSchema,
@@ -5805,6 +5913,7 @@ const schemas = {
5805
5913
  SetMenuPublicationBlocksResponse: setMenuPublicationBlocksResponseSchema,
5806
5914
  SetOrderLeadSettledRequest: setOrderLeadSettledRequestSchema,
5807
5915
  SetOrderLeadSettledResponse: setOrderLeadSettledResponseSchema,
5916
+ SignatureStyle: signatureStyleSchema,
5808
5917
  SlotMode: slotModeSchema,
5809
5918
  SortOrder: sortOrderSchema,
5810
5919
  SubmitAreaBookingPayload: submitAreaBookingPayloadSchema,
@@ -5831,7 +5940,6 @@ const schemas = {
5831
5940
  UploadAssetResponse: uploadAssetResponseSchema,
5832
5941
  Variant: variantSchema,
5833
5942
  VenueAssetType: venueAssetTypeSchema,
5834
- VenueChargeType: venueChargeTypeSchema,
5835
5943
  VenueEmailSenderStatus: venueEmailSenderStatusSchema,
5836
5944
  VenueType: venueTypeSchema,
5837
5945
  VenueUserStatus: venueUserStatusSchema,