order3000 2.0.2 → 2.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -738,12 +738,12 @@ declare const schemas: {
738
738
  readonly CreateCalloutRequest: zod.ZodObject<{
739
739
  venueAccessor: zod.ZodString;
740
740
  id: zod.ZodOptional<zod.ZodString>;
741
- label: zod.ZodObject<{}, zod_v4_core.$catchall<zod.ZodString>>;
741
+ name: zod.ZodObject<{}, zod_v4_core.$catchall<zod.ZodString>>;
742
742
  }, zod_v4_core.$strip>;
743
743
  readonly CreateCalloutResponse: zod.ZodObject<{
744
744
  id: zod.ZodString;
745
745
  venueId: zod.ZodString;
746
- label: 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>>]>;
746
+ 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>>]>;
747
747
  createdBy: zod.ZodNullable<zod.ZodString>;
748
748
  updatedBy: zod.ZodNullable<zod.ZodString>;
749
749
  createdAt: zod.ZodAny;
@@ -804,7 +804,9 @@ declare const schemas: {
804
804
  timeRanges: zod.ZodArray<zod.ZodObject<{
805
805
  startTime: zod.ZodString;
806
806
  endTime: zod.ZodString;
807
- lastSeatingTime: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
807
+ lastSeatingTime: zod.ZodOptional<zod.ZodNullable<zod.ZodUnion<readonly [zod.ZodEnum<{
808
+ "": "";
809
+ }>]>>>;
808
810
  }, zod_v4_core.$strip>>;
809
811
  slotMode: zod.ZodOptional<zod.ZodEnum<{
810
812
  duration: "duration";
@@ -1212,7 +1214,7 @@ declare const schemas: {
1212
1214
  ingredient: "ingredient";
1213
1215
  }>>;
1214
1216
  ownerId: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
1215
- label: zod.ZodOptional<zod.ZodNullable<zod.ZodObject<{}, zod_v4_core.$catchall<zod.ZodString>>>>;
1217
+ name: zod.ZodOptional<zod.ZodNullable<zod.ZodObject<{}, zod_v4_core.$catchall<zod.ZodString>>>>;
1216
1218
  target: zod.ZodString;
1217
1219
  }, zod_v4_core.$strip>;
1218
1220
  readonly CreateWebsitePageResponse: zod.ZodObject<{
@@ -1228,7 +1230,7 @@ declare const schemas: {
1228
1230
  ingredient: "ingredient";
1229
1231
  }>;
1230
1232
  ownerId: zod.ZodNullable<zod.ZodString>;
1231
- label: 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>>]>>;
1233
+ name: 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>>]>>;
1232
1234
  path: zod.ZodNullable<zod.ZodString>;
1233
1235
  externalUrl: zod.ZodNullable<zod.ZodString>;
1234
1236
  createdBy: zod.ZodNullable<zod.ZodString>;
@@ -1308,7 +1310,7 @@ declare const schemas: {
1308
1310
  readonly DeleteCalloutResponse: zod.ZodObject<{
1309
1311
  id: zod.ZodString;
1310
1312
  venueId: zod.ZodString;
1311
- label: 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>>]>;
1313
+ 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>>]>;
1312
1314
  createdBy: zod.ZodNullable<zod.ZodString>;
1313
1315
  updatedBy: zod.ZodNullable<zod.ZodString>;
1314
1316
  createdAt: zod.ZodAny;
@@ -1354,7 +1356,7 @@ declare const schemas: {
1354
1356
  ingredient: "ingredient";
1355
1357
  }>;
1356
1358
  ownerId: zod.ZodNullable<zod.ZodString>;
1357
- label: 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>>]>>;
1359
+ name: 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>>]>>;
1358
1360
  path: zod.ZodNullable<zod.ZodString>;
1359
1361
  externalUrl: zod.ZodNullable<zod.ZodString>;
1360
1362
  createdBy: zod.ZodNullable<zod.ZodString>;
@@ -1648,6 +1650,27 @@ declare const schemas: {
1648
1650
  up: "up";
1649
1651
  down: "down";
1650
1652
  }>;
1653
+ readonly DocumentIdentifierPosition: zod.ZodEnum<{
1654
+ footer_left: "footer_left";
1655
+ footer_split: "footer_split";
1656
+ side_right: "side_right";
1657
+ badge_top_right: "badge_top_right";
1658
+ }>;
1659
+ readonly DocumentPageNumberNumeral: zod.ZodEnum<{
1660
+ arabic: "arabic";
1661
+ roman: "roman";
1662
+ }>;
1663
+ readonly DocumentPageNumberPosition: zod.ZodEnum<{
1664
+ bottom_left: "bottom_left";
1665
+ bottom_center: "bottom_center";
1666
+ bottom_right: "bottom_right";
1667
+ }>;
1668
+ readonly DocumentTypography: zod.ZodEnum<{
1669
+ serif: "serif";
1670
+ sans: "sans";
1671
+ brand_system: "brand_system";
1672
+ brand_accent: "brand_accent";
1673
+ }>;
1651
1674
  readonly EditAdRequest: zod.ZodObject<{
1652
1675
  venueAccessor: zod.ZodString;
1653
1676
  id: zod.ZodString;
@@ -1904,7 +1927,9 @@ declare const schemas: {
1904
1927
  timeRanges: zod.ZodArray<zod.ZodObject<{
1905
1928
  startTime: zod.ZodString;
1906
1929
  endTime: zod.ZodString;
1907
- lastSeatingTime: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
1930
+ lastSeatingTime: zod.ZodOptional<zod.ZodNullable<zod.ZodUnion<readonly [zod.ZodEnum<{
1931
+ "": "";
1932
+ }>]>>>;
1908
1933
  }, zod_v4_core.$strip>>;
1909
1934
  slotMode: zod.ZodOptional<zod.ZodEnum<{
1910
1935
  duration: "duration";
@@ -1963,8 +1988,9 @@ declare const schemas: {
1963
1988
  createdAt: zod.ZodNullable<zod.ZodAny>;
1964
1989
  createdBy: zod.ZodNullable<zod.ZodString>;
1965
1990
  scheduleTimeSlots: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
1966
- scheduleId: zod.ZodNullable<zod.ZodString>;
1967
- timeSlotId: zod.ZodNullable<zod.ZodString>;
1991
+ id: zod.ZodString;
1992
+ scheduleId: zod.ZodString;
1993
+ timeSlotId: zod.ZodString;
1968
1994
  dayOfWeek: zod.ZodEnum<{
1969
1995
  monday: "monday";
1970
1996
  tuesday: "tuesday";
@@ -2139,6 +2165,9 @@ declare const schemas: {
2139
2165
  right: "right";
2140
2166
  center: "center";
2141
2167
  }>;
2168
+ readonly EnumEmpty: zod.ZodEnum<{
2169
+ "": "";
2170
+ }>;
2142
2171
  readonly EnumFalse: zod.ZodEnum<{
2143
2172
  false: "false";
2144
2173
  }>;
@@ -3477,8 +3506,9 @@ declare const schemas: {
3477
3506
  createdAt: zod.ZodNullable<zod.ZodAny>;
3478
3507
  createdBy: zod.ZodNullable<zod.ZodString>;
3479
3508
  scheduleTimeSlots: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
3480
- scheduleId: zod.ZodNullable<zod.ZodString>;
3481
- timeSlotId: zod.ZodNullable<zod.ZodString>;
3509
+ id: zod.ZodString;
3510
+ scheduleId: zod.ZodString;
3511
+ timeSlotId: zod.ZodString;
3482
3512
  dayOfWeek: zod.ZodEnum<{
3483
3513
  monday: "monday";
3484
3514
  tuesday: "tuesday";
@@ -3777,7 +3807,7 @@ declare const schemas: {
3777
3807
  readonly GetCalloutsResponse: zod.ZodArray<zod.ZodObject<{
3778
3808
  id: zod.ZodString;
3779
3809
  venueId: zod.ZodString;
3780
- label: 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>>]>;
3810
+ 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>>]>;
3781
3811
  createdBy: zod.ZodNullable<zod.ZodString>;
3782
3812
  updatedBy: zod.ZodNullable<zod.ZodString>;
3783
3813
  createdAt: zod.ZodAny;
@@ -3865,7 +3895,7 @@ declare const schemas: {
3865
3895
  ingredient: "ingredient";
3866
3896
  }>;
3867
3897
  ownerId: zod.ZodNullable<zod.ZodString>;
3868
- label: 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>>]>>;
3898
+ name: 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>>]>>;
3869
3899
  path: zod.ZodNullable<zod.ZodString>;
3870
3900
  externalUrl: zod.ZodNullable<zod.ZodString>;
3871
3901
  createdBy: zod.ZodNullable<zod.ZodString>;
@@ -3956,6 +3986,16 @@ declare const schemas: {
3956
3986
  positive: "positive";
3957
3987
  negative: "negative";
3958
3988
  }>;
3989
+ readonly LetterheadLogoPosition: zod.ZodEnum<{
3990
+ top_left: "top_left";
3991
+ top_center: "top_center";
3992
+ top_right: "top_right";
3993
+ }>;
3994
+ readonly LetterheadWindowForm: zod.ZodEnum<{
3995
+ din_5008_form_a: "din_5008_form_a";
3996
+ din_5008_form_b: "din_5008_form_b";
3997
+ sn_010130: "sn_010130";
3998
+ }>;
3959
3999
  readonly Locale: zod.ZodEnum<{
3960
4000
  id: "id";
3961
4001
  to: "to";
@@ -4697,6 +4737,13 @@ declare const schemas: {
4697
4737
  pages: zod.ZodInt;
4698
4738
  pdfBase64: zod.ZodString;
4699
4739
  }, zod_v4_core.$strip>;
4740
+ readonly RepresentativeCapacity: zod.ZodEnum<{
4741
+ managing_director: "managing_director";
4742
+ board_member: "board_member";
4743
+ authorized_signatory: "authorized_signatory";
4744
+ partner: "partner";
4745
+ liquidator: "liquidator";
4746
+ }>;
4700
4747
  readonly RequestContactEmailChangeOutcome: zod.ZodEnum<{
4701
4748
  requested: "requested";
4702
4749
  unchanged: "unchanged";
@@ -4741,6 +4788,10 @@ declare const schemas: {
4741
4788
  waiter: "waiter";
4742
4789
  rider: "rider";
4743
4790
  }>;
4791
+ readonly RoleType: zod.ZodEnum<{
4792
+ curated: "curated";
4793
+ authored: "authored";
4794
+ }>;
4744
4795
  readonly SaveAdCalloutsRequest: zod.ZodObject<{
4745
4796
  venueAccessor: zod.ZodString;
4746
4797
  adId: zod.ZodString;
@@ -4814,8 +4865,9 @@ declare const schemas: {
4814
4865
  createdAt: zod.ZodNullable<zod.ZodAny>;
4815
4866
  createdBy: zod.ZodNullable<zod.ZodString>;
4816
4867
  scheduleTimeSlots: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
4817
- scheduleId: zod.ZodNullable<zod.ZodString>;
4818
- timeSlotId: zod.ZodNullable<zod.ZodString>;
4868
+ id: zod.ZodString;
4869
+ scheduleId: zod.ZodString;
4870
+ timeSlotId: zod.ZodString;
4819
4871
  dayOfWeek: zod.ZodEnum<{
4820
4872
  monday: "monday";
4821
4873
  tuesday: "tuesday";
@@ -5680,12 +5732,12 @@ declare const schemas: {
5680
5732
  readonly UpdateCalloutRequest: zod.ZodObject<{
5681
5733
  venueAccessor: zod.ZodString;
5682
5734
  id: zod.ZodString;
5683
- label: zod.ZodObject<{}, zod_v4_core.$catchall<zod.ZodString>>;
5735
+ name: zod.ZodObject<{}, zod_v4_core.$catchall<zod.ZodString>>;
5684
5736
  }, zod_v4_core.$strip>;
5685
5737
  readonly UpdateCalloutResponse: zod.ZodObject<{
5686
5738
  id: zod.ZodString;
5687
5739
  venueId: zod.ZodString;
5688
- label: 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>>]>;
5740
+ 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>>]>;
5689
5741
  createdBy: zod.ZodNullable<zod.ZodString>;
5690
5742
  updatedBy: zod.ZodNullable<zod.ZodString>;
5691
5743
  createdAt: zod.ZodAny;
@@ -5959,7 +6011,7 @@ declare const schemas: {
5959
6011
  readonly UpdateWebsitePageRequest: zod.ZodObject<{
5960
6012
  venueAccessor: zod.ZodString;
5961
6013
  id: zod.ZodString;
5962
- label: zod.ZodOptional<zod.ZodNullable<zod.ZodObject<{}, zod_v4_core.$catchall<zod.ZodString>>>>;
6014
+ name: zod.ZodOptional<zod.ZodNullable<zod.ZodObject<{}, zod_v4_core.$catchall<zod.ZodString>>>>;
5963
6015
  target: zod.ZodString;
5964
6016
  }, zod_v4_core.$strip>;
5965
6017
  readonly UpdateWebsitePageResponse: zod.ZodObject<{
@@ -5975,7 +6027,7 @@ declare const schemas: {
5975
6027
  ingredient: "ingredient";
5976
6028
  }>;
5977
6029
  ownerId: zod.ZodNullable<zod.ZodString>;
5978
- label: 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>>]>>;
6030
+ name: 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>>]>>;
5979
6031
  path: zod.ZodNullable<zod.ZodString>;
5980
6032
  externalUrl: zod.ZodNullable<zod.ZodString>;
5981
6033
  createdBy: zod.ZodNullable<zod.ZodString>;
@@ -6063,6 +6115,8 @@ declare const schemas: {
6063
6115
  "ads-menu-explainer-v1": "ads-menu-explainer-v1";
6064
6116
  "ads-dish-explainer-v1": "ads-dish-explainer-v1";
6065
6117
  "ads-beverage-explainer-v1": "ads-beverage-explainer-v1";
6118
+ "settings-bank-accounts-v1": "settings-bank-accounts-v1";
6119
+ "settings-brand-icons-v1": "settings-brand-icons-v1";
6066
6120
  }>;
6067
6121
  };
6068
6122
 
package/dist/schemas.mjs CHANGED
@@ -553,13 +553,13 @@ const createAdResponseSchema = z.object({
553
553
  const createCalloutRequestSchema = z.object({
554
554
  venueAccessor: z.string().min(1),
555
555
  id: z.optional(z.string().min(1)),
556
- label: z.object({}).catchall(z.string().max(25))
556
+ name: z.object({}).catchall(z.string().max(25))
557
557
  });
558
558
 
559
559
  const createCalloutResponseSchema = z.object({
560
560
  id: z.string(),
561
561
  venueId: z.string(),
562
- label: z.union([
562
+ name: z.union([
563
563
  z.union([z.boolean(), z.string(), z.number(), z.enum([])]),
564
564
  z.array(z.any()),
565
565
  z.object({}).catchall(z.any())
@@ -603,6 +603,8 @@ const createDeltaPaymentIntentResponseSchema = z.object({
603
603
  ])
604
604
  });
605
605
 
606
+ const enumEmptySchema = z.enum([""]);
607
+
606
608
  const slotModeSchema = z.enum(["interval", "duration"]);
607
609
 
608
610
  const createEventRequestSchema = z.object({
@@ -647,9 +649,11 @@ const createEventRequestSchema = z.object({
647
649
  validTo: z.string().regex(/^\d{4}-\d{2}-\d{2}$/).nullish(),
648
650
  timeRanges: z.array(
649
651
  z.object({
650
- startTime: z.string().regex(/^\d{2}:\d{2}$/),
651
- endTime: z.string().regex(/^\d{2}:\d{2}$/),
652
- lastSeatingTime: z.string().regex(/^\d{2}:\d{2}$/).nullish()
652
+ startTime: z.string().regex(/^([01]\d|2[0-3]):[0-5]\d$/),
653
+ endTime: z.string().regex(/^([01]\d|2[0-3]):[0-5]\d$/),
654
+ get lastSeatingTime() {
655
+ return z.union([enumEmptySchema]).nullish();
656
+ }
653
657
  })
654
658
  ).min(1),
655
659
  get slotMode() {
@@ -855,7 +859,7 @@ const createWebsitePageRequestSchema = z.object({
855
859
  return websitePageOwnerTypeSchema.optional();
856
860
  },
857
861
  ownerId: z.string().min(1).nullish(),
858
- label: z.object({}).catchall(z.string()).nullish(),
862
+ name: z.object({}).catchall(z.string()).nullish(),
859
863
  target: z.string().min(1)
860
864
  });
861
865
 
@@ -866,7 +870,7 @@ const createWebsitePageResponseSchema = z.object({
866
870
  return websitePageOwnerTypeSchema;
867
871
  },
868
872
  ownerId: z.nullable(z.string()),
869
- label: z.nullable(
873
+ name: z.nullable(
870
874
  z.union([
871
875
  z.union([z.boolean(), z.string(), z.number(), z.enum([])]),
872
876
  z.array(z.any()),
@@ -1006,7 +1010,7 @@ const deleteAssetResponseSchema = z.object({
1006
1010
  const deleteCalloutResponseSchema = z.object({
1007
1011
  id: z.string(),
1008
1012
  venueId: z.string(),
1009
- label: z.union([
1013
+ name: z.union([
1010
1014
  z.union([z.boolean(), z.string(), z.number(), z.enum([])]),
1011
1015
  z.array(z.any()),
1012
1016
  z.object({}).catchall(z.any())
@@ -1074,7 +1078,7 @@ const deleteWebsitePageResponseSchema = z.object({
1074
1078
  return websitePageOwnerTypeSchema;
1075
1079
  },
1076
1080
  ownerId: z.nullable(z.string()),
1077
- label: z.nullable(
1081
+ name: z.nullable(
1078
1082
  z.union([
1079
1083
  z.union([z.boolean(), z.string(), z.number(), z.enum([])]),
1080
1084
  z.array(z.any()),
@@ -1112,6 +1116,28 @@ const directionXSchema = z.enum(["left", "right"]);
1112
1116
 
1113
1117
  const directionYSchema = z.enum(["up", "down"]);
1114
1118
 
1119
+ const documentIdentifierPositionSchema = z.enum([
1120
+ "footer_left",
1121
+ "footer_split",
1122
+ "side_right",
1123
+ "badge_top_right"
1124
+ ]);
1125
+
1126
+ const documentPageNumberNumeralSchema = z.enum(["arabic", "roman"]);
1127
+
1128
+ const documentPageNumberPositionSchema = z.enum([
1129
+ "bottom_left",
1130
+ "bottom_center",
1131
+ "bottom_right"
1132
+ ]);
1133
+
1134
+ const documentTypographySchema = z.enum([
1135
+ "serif",
1136
+ "sans",
1137
+ "brand_system",
1138
+ "brand_accent"
1139
+ ]);
1140
+
1115
1141
  const editAdRequestSchema = z.object({
1116
1142
  venueAccessor: z.string().min(1),
1117
1143
  id: z.string().min(1),
@@ -1562,9 +1588,11 @@ const editEventRequestSchema = z.object({
1562
1588
  validTo: z.string().regex(/^\d{4}-\d{2}-\d{2}$/).nullish(),
1563
1589
  timeRanges: z.array(
1564
1590
  z.object({
1565
- startTime: z.string().regex(/^\d{2}:\d{2}$/),
1566
- endTime: z.string().regex(/^\d{2}:\d{2}$/),
1567
- lastSeatingTime: z.string().regex(/^\d{2}:\d{2}$/).nullish()
1591
+ startTime: z.string().regex(/^([01]\d|2[0-3]):[0-5]\d$/),
1592
+ endTime: z.string().regex(/^([01]\d|2[0-3]):[0-5]\d$/),
1593
+ get lastSeatingTime() {
1594
+ return z.union([enumEmptySchema]).nullish();
1595
+ }
1568
1596
  })
1569
1597
  ).min(1),
1570
1598
  get slotMode() {
@@ -1609,8 +1637,9 @@ const scheduleSchema = z.object({
1609
1637
  scheduleTimeSlots: z.optional(
1610
1638
  z.array(
1611
1639
  z.object({
1612
- scheduleId: z.nullable(z.string()),
1613
- timeSlotId: z.nullable(z.string()),
1640
+ id: z.string(),
1641
+ scheduleId: z.string(),
1642
+ timeSlotId: z.string(),
1614
1643
  get dayOfWeek() {
1615
1644
  return dayOfWeekSchema;
1616
1645
  },
@@ -3642,7 +3671,7 @@ const getCalloutsResponseSchema = z.array(
3642
3671
  z.object({
3643
3672
  id: z.string(),
3644
3673
  venueId: z.string(),
3645
- label: z.union([
3674
+ name: z.union([
3646
3675
  z.union([z.boolean(), z.string(), z.number(), z.enum([])]),
3647
3676
  z.array(z.any()),
3648
3677
  z.object({}).catchall(z.any())
@@ -3739,7 +3768,7 @@ const getWebsitePagesResponseSchema = z.array(
3739
3768
  return websitePageOwnerTypeSchema;
3740
3769
  },
3741
3770
  ownerId: z.nullable(z.string()),
3742
- label: z.nullable(
3771
+ name: z.nullable(
3743
3772
  z.union([
3744
3773
  z.union([z.boolean(), z.string(), z.number(), z.enum([])]),
3745
3774
  z.array(z.any()),
@@ -3831,6 +3860,18 @@ const keywordDefaultScopeSchema = z.enum(["venueType", "cuisine"]);
3831
3860
 
3832
3861
  const keywordPolaritySchema = z.enum(["positive", "negative"]);
3833
3862
 
3863
+ const letterheadLogoPositionSchema = z.enum([
3864
+ "top_left",
3865
+ "top_center",
3866
+ "top_right"
3867
+ ]);
3868
+
3869
+ const letterheadWindowFormSchema = z.enum([
3870
+ "din_5008_form_a",
3871
+ "din_5008_form_b",
3872
+ "sn_010130"
3873
+ ]);
3874
+
3834
3875
  const localeSchema = z.enum([
3835
3876
  "aa",
3836
3877
  "ab",
@@ -4510,6 +4551,14 @@ const renderMenuPublicationPdfResponseSchema = z.object({
4510
4551
  pdfBase64: z.string()
4511
4552
  });
4512
4553
 
4554
+ const representativeCapacitySchema = z.enum([
4555
+ "managing_director",
4556
+ "board_member",
4557
+ "authorized_signatory",
4558
+ "partner",
4559
+ "liquidator"
4560
+ ]);
4561
+
4513
4562
  const requestContactEmailChangeOutcomeSchema = z.enum([
4514
4563
  "requested",
4515
4564
  "unchanged"
@@ -4541,6 +4590,8 @@ const roleSchema = z.enum([
4541
4590
  "rider"
4542
4591
  ]);
4543
4592
 
4593
+ const roleTypeSchema = z.enum(["curated", "authored"]);
4594
+
4544
4595
  const saveAdCalloutsRequestSchema = z.object({
4545
4596
  venueAccessor: z.string().min(1),
4546
4597
  adId: z.string().min(1),
@@ -5125,13 +5176,13 @@ const teamOrderPaymentStatusSchema = z.enum([
5125
5176
  const updateCalloutRequestSchema = z.object({
5126
5177
  venueAccessor: z.string().min(1),
5127
5178
  id: z.string().min(1),
5128
- label: z.object({}).catchall(z.string().max(25))
5179
+ name: z.object({}).catchall(z.string().max(25))
5129
5180
  });
5130
5181
 
5131
5182
  const updateCalloutResponseSchema = z.object({
5132
5183
  id: z.string(),
5133
5184
  venueId: z.string(),
5134
- label: z.union([
5185
+ name: z.union([
5135
5186
  z.union([z.boolean(), z.string(), z.number(), z.enum([])]),
5136
5187
  z.array(z.any()),
5137
5188
  z.object({}).catchall(z.any())
@@ -5158,7 +5209,7 @@ const updateDeliveryAddressTeamOrderResponseSchema = z.object({
5158
5209
  const updateWebsitePageRequestSchema = z.object({
5159
5210
  venueAccessor: z.string().min(1),
5160
5211
  id: z.string().min(1),
5161
- label: z.object({}).catchall(z.string()).nullish(),
5212
+ name: z.object({}).catchall(z.string()).nullish(),
5162
5213
  target: z.string().min(1)
5163
5214
  });
5164
5215
 
@@ -5169,7 +5220,7 @@ const updateWebsitePageResponseSchema = z.object({
5169
5220
  return websitePageOwnerTypeSchema;
5170
5221
  },
5171
5222
  ownerId: z.nullable(z.string()),
5172
- label: z.nullable(
5223
+ name: z.nullable(
5173
5224
  z.union([
5174
5225
  z.union([z.boolean(), z.string(), z.number(), z.enum([])]),
5175
5226
  z.array(z.any()),
@@ -5272,7 +5323,9 @@ const wizardKeySchema = z.enum([
5272
5323
  "ads-venue-explainer-v1",
5273
5324
  "ads-menu-explainer-v1",
5274
5325
  "ads-dish-explainer-v1",
5275
- "ads-beverage-explainer-v1"
5326
+ "ads-beverage-explainer-v1",
5327
+ "settings-bank-accounts-v1",
5328
+ "settings-brand-icons-v1"
5276
5329
  ]);
5277
5330
 
5278
5331
  const schemas = {
@@ -5354,6 +5407,10 @@ const schemas = {
5354
5407
  Direction: directionSchema,
5355
5408
  DirectionX: directionXSchema,
5356
5409
  DirectionY: directionYSchema,
5410
+ DocumentIdentifierPosition: documentIdentifierPositionSchema,
5411
+ DocumentPageNumberNumeral: documentPageNumberNumeralSchema,
5412
+ DocumentPageNumberPosition: documentPageNumberPositionSchema,
5413
+ DocumentTypography: documentTypographySchema,
5357
5414
  EditAdRequest: editAdRequestSchema,
5358
5415
  EditAdResponse: editAdResponseSchema,
5359
5416
  EditArticleRequest: editArticleRequestSchema,
@@ -5368,6 +5425,7 @@ const schemas = {
5368
5425
  EditMetaAdResponse: editMetaAdResponseSchema,
5369
5426
  EntityOwnerType: entityOwnerTypeSchema,
5370
5427
  EnumCenterLeftRight: enumCenterLeftRightSchema,
5428
+ EnumEmpty: enumEmptySchema,
5371
5429
  EnumFalse: enumFalseSchema,
5372
5430
  EnumTrue: enumTrueSchema,
5373
5431
  EventAssetSource: eventAssetSourceSchema,
@@ -5424,6 +5482,8 @@ const schemas = {
5424
5482
  JurisdictionType: jurisdictionTypeSchema,
5425
5483
  KeywordDefaultScope: keywordDefaultScopeSchema,
5426
5484
  KeywordPolarity: keywordPolaritySchema,
5485
+ LetterheadLogoPosition: letterheadLogoPositionSchema,
5486
+ LetterheadWindowForm: letterheadWindowFormSchema,
5427
5487
  Locale: localeSchema,
5428
5488
  MakeReservationRequest: makeReservationRequestSchema,
5429
5489
  MakeReservationResponse: makeReservationResponseSchema,
@@ -5485,6 +5545,7 @@ const schemas = {
5485
5545
  RemoveFromBasketResponse: removeFromBasketResponseSchema,
5486
5546
  RenderMenuPublicationPdfRequest: renderMenuPublicationPdfRequestSchema,
5487
5547
  RenderMenuPublicationPdfResponse: renderMenuPublicationPdfResponseSchema,
5548
+ RepresentativeCapacity: representativeCapacitySchema,
5488
5549
  RequestContactEmailChangeOutcome: requestContactEmailChangeOutcomeSchema,
5489
5550
  ReservationDeclineReason: reservationDeclineReasonSchema,
5490
5551
  ReservationMessageStatus: reservationMessageStatusSchema,
@@ -5493,6 +5554,7 @@ const schemas = {
5493
5554
  ReservationStatus: reservationStatusSchema,
5494
5555
  RitualType: ritualTypeSchema,
5495
5556
  Role: roleSchema,
5557
+ RoleType: roleTypeSchema,
5496
5558
  SaveAdCalloutsRequest: saveAdCalloutsRequestSchema,
5497
5559
  SaveAdCalloutsResponse: saveAdCalloutsResponseSchema,
5498
5560
  SaveAdKeywordsRequest: saveAdKeywordsRequestSchema,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "order3000",
3
- "version": "2.0.2",
3
+ "version": "2.1.0",
4
4
  "description": "order3000 node.js sdk",
5
5
  "main": "./dist/client.cjs",
6
6
  "module": "./dist/client.mjs",
@@ -52,7 +52,7 @@
52
52
  "@supabase/supabase-js": "^2.49.8",
53
53
  "react-type-animation": "^3.2.0",
54
54
  "zod": "^4.2.1",
55
- "@kolaveri/money": "1.3.0"
55
+ "@kolaveri/money": "1.3.1"
56
56
  },
57
57
  "devDependencies": {
58
58
  "@kubb/cli": "4.37.5",
@@ -67,9 +67,9 @@
67
67
  "prettier": "^3.7.4",
68
68
  "tsx": "^4.19.2",
69
69
  "typescript": "^5.9.3",
70
- "@kolaveri/prettier-config": "1.0.6",
70
+ "@kolaveri/eslint-config": "1.17.0",
71
71
  "@kolaveri/tsconfig": "1.0.1",
72
- "@kolaveri/eslint-config": "1.16.0"
72
+ "@kolaveri/prettier-config": "1.0.6"
73
73
  },
74
74
  "files": [
75
75
  "dist"