order3000 1.8.0 → 1.10.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.
package/dist/schemas.cjs CHANGED
@@ -15,7 +15,14 @@ const actorTypeSchema = v4.z.enum(["human", "robot"]);
15
15
 
16
16
  const adChannelSchema = v4.z.enum(["google", "facebook", "instagram"]);
17
17
 
18
- const adOwnerTypeSchema = v4.z.enum(["event", "ritual"]);
18
+ const adOwnerTypeSchema = v4.z.enum([
19
+ "event",
20
+ "ritual",
21
+ "venue",
22
+ "dish",
23
+ "beverage",
24
+ "menu"
25
+ ]);
19
26
 
20
27
  const adStatusSchema = v4.z.enum(["draft", "ready", "archived"]);
21
28
 
@@ -633,11 +640,31 @@ const createAdResponseSchema = v4.z.object({
633
640
  v4.z.array(v4.z.any()),
634
641
  v4.z.object({}).catchall(v4.z.any())
635
642
  ]),
643
+ disabledVenueNegativeKeywords: v4.z.union([
644
+ v4.z.union([v4.z.boolean(), v4.z.string(), v4.z.number(), v4.z.enum([])]),
645
+ v4.z.array(v4.z.any()),
646
+ v4.z.object({}).catchall(v4.z.any())
647
+ ]),
636
648
  dismissedKeywords: v4.z.union([
637
649
  v4.z.union([v4.z.boolean(), v4.z.string(), v4.z.number(), v4.z.enum([])]),
638
650
  v4.z.array(v4.z.any()),
639
651
  v4.z.object({}).catchall(v4.z.any())
640
652
  ]),
653
+ keywordMetrics: v4.z.union([
654
+ v4.z.union([v4.z.boolean(), v4.z.string(), v4.z.number(), v4.z.enum([])]),
655
+ v4.z.array(v4.z.any()),
656
+ v4.z.object({}).catchall(v4.z.any())
657
+ ]),
658
+ websitePageIds: v4.z.union([
659
+ v4.z.union([v4.z.boolean(), v4.z.string(), v4.z.number(), v4.z.enum([])]),
660
+ v4.z.array(v4.z.any()),
661
+ v4.z.object({}).catchall(v4.z.any())
662
+ ]),
663
+ calloutIds: v4.z.union([
664
+ v4.z.union([v4.z.boolean(), v4.z.string(), v4.z.number(), v4.z.enum([])]),
665
+ v4.z.array(v4.z.any()),
666
+ v4.z.object({}).catchall(v4.z.any())
667
+ ]),
641
668
  publishedContentHash: v4.z.nullable(v4.z.string()),
642
669
  publishedAt: v4.z.nullable(v4.z.any()),
643
670
  pushedKeywords: v4.z.nullable(
@@ -647,12 +674,33 @@ const createAdResponseSchema = v4.z.object({
647
674
  v4.z.object({}).catchall(v4.z.any())
648
675
  ])
649
676
  ),
677
+ dailyBudget: v4.z.nullable(v4.z.int().min(-2147483648).max(2147483647)),
650
678
  createdBy: v4.z.nullable(v4.z.string()),
651
679
  updatedBy: v4.z.nullable(v4.z.string()),
652
680
  createdAt: v4.z.nullable(v4.z.any()),
653
681
  updatedAt: v4.z.nullable(v4.z.any())
654
682
  }).describe("Successfully created ad");
655
683
 
684
+ const createCalloutRequestSchema = v4.z.object({
685
+ venueAccessor: v4.z.string().min(1),
686
+ id: v4.z.optional(v4.z.string().min(1)),
687
+ label: v4.z.object({}).catchall(v4.z.string().max(25))
688
+ });
689
+
690
+ const createCalloutResponseSchema = v4.z.object({
691
+ id: v4.z.string(),
692
+ venueId: v4.z.string(),
693
+ label: v4.z.union([
694
+ v4.z.union([v4.z.boolean(), v4.z.string(), v4.z.number(), v4.z.enum([])]),
695
+ v4.z.array(v4.z.any()),
696
+ v4.z.object({}).catchall(v4.z.any())
697
+ ]),
698
+ createdBy: v4.z.nullable(v4.z.string()),
699
+ updatedBy: v4.z.nullable(v4.z.string()),
700
+ createdAt: v4.z.any(),
701
+ updatedAt: v4.z.any()
702
+ });
703
+
656
704
  const createDeltaPaymentIntentRequestSchema = v4.z.object({
657
705
  venueAccessor: v4.z.string().min(1),
658
706
  basketId: v4.z.string().min(1),
@@ -853,6 +901,49 @@ const createTeamOrderResponseSchema = v4.z.object({
853
901
  teamOrderId: v4.z.uuid()
854
902
  });
855
903
 
904
+ const websitePageOwnerTypeSchema = v4.z.enum([
905
+ "venue",
906
+ "menu",
907
+ "dish",
908
+ "beverage",
909
+ "ingredient",
910
+ "event",
911
+ "ritual"
912
+ ]);
913
+
914
+ const createWebsitePageRequestSchema = v4.z.object({
915
+ venueAccessor: v4.z.string().min(1),
916
+ id: v4.z.optional(v4.z.string().min(1)),
917
+ get ownerType() {
918
+ return websitePageOwnerTypeSchema.optional();
919
+ },
920
+ ownerId: v4.z.string().min(1).nullish(),
921
+ label: v4.z.object({}).catchall(v4.z.string()).nullish(),
922
+ target: v4.z.string().min(1)
923
+ });
924
+
925
+ const createWebsitePageResponseSchema = v4.z.object({
926
+ id: v4.z.string(),
927
+ venueId: v4.z.string(),
928
+ get ownerType() {
929
+ return websitePageOwnerTypeSchema;
930
+ },
931
+ ownerId: v4.z.nullable(v4.z.string()),
932
+ label: v4.z.nullable(
933
+ v4.z.union([
934
+ v4.z.union([v4.z.boolean(), v4.z.string(), v4.z.number(), v4.z.enum([])]),
935
+ v4.z.array(v4.z.any()),
936
+ v4.z.object({}).catchall(v4.z.any())
937
+ ])
938
+ ),
939
+ path: v4.z.nullable(v4.z.string()),
940
+ externalUrl: v4.z.nullable(v4.z.string()),
941
+ createdBy: v4.z.nullable(v4.z.string()),
942
+ updatedBy: v4.z.nullable(v4.z.string()),
943
+ createdAt: v4.z.any(),
944
+ updatedAt: v4.z.any()
945
+ });
946
+
856
947
  const dayOfWeekSchema = v4.z.enum([
857
948
  "monday",
858
949
  "tuesday",
@@ -918,11 +1009,31 @@ const deleteAdResponseSchema = v4.z.object({
918
1009
  v4.z.array(v4.z.any()),
919
1010
  v4.z.object({}).catchall(v4.z.any())
920
1011
  ]),
1012
+ disabledVenueNegativeKeywords: v4.z.union([
1013
+ v4.z.union([v4.z.boolean(), v4.z.string(), v4.z.number(), v4.z.enum([])]),
1014
+ v4.z.array(v4.z.any()),
1015
+ v4.z.object({}).catchall(v4.z.any())
1016
+ ]),
921
1017
  dismissedKeywords: v4.z.union([
922
1018
  v4.z.union([v4.z.boolean(), v4.z.string(), v4.z.number(), v4.z.enum([])]),
923
1019
  v4.z.array(v4.z.any()),
924
1020
  v4.z.object({}).catchall(v4.z.any())
925
1021
  ]),
1022
+ keywordMetrics: v4.z.union([
1023
+ v4.z.union([v4.z.boolean(), v4.z.string(), v4.z.number(), v4.z.enum([])]),
1024
+ v4.z.array(v4.z.any()),
1025
+ v4.z.object({}).catchall(v4.z.any())
1026
+ ]),
1027
+ websitePageIds: v4.z.union([
1028
+ v4.z.union([v4.z.boolean(), v4.z.string(), v4.z.number(), v4.z.enum([])]),
1029
+ v4.z.array(v4.z.any()),
1030
+ v4.z.object({}).catchall(v4.z.any())
1031
+ ]),
1032
+ calloutIds: v4.z.union([
1033
+ v4.z.union([v4.z.boolean(), v4.z.string(), v4.z.number(), v4.z.enum([])]),
1034
+ v4.z.array(v4.z.any()),
1035
+ v4.z.object({}).catchall(v4.z.any())
1036
+ ]),
926
1037
  publishedContentHash: v4.z.nullable(v4.z.string()),
927
1038
  publishedAt: v4.z.nullable(v4.z.any()),
928
1039
  pushedKeywords: v4.z.nullable(
@@ -932,6 +1043,7 @@ const deleteAdResponseSchema = v4.z.object({
932
1043
  v4.z.object({}).catchall(v4.z.any())
933
1044
  ])
934
1045
  ),
1046
+ dailyBudget: v4.z.nullable(v4.z.int().min(-2147483648).max(2147483647)),
935
1047
  createdBy: v4.z.nullable(v4.z.string()),
936
1048
  updatedBy: v4.z.nullable(v4.z.string()),
937
1049
  createdAt: v4.z.nullable(v4.z.any()),
@@ -939,7 +1051,22 @@ const deleteAdResponseSchema = v4.z.object({
939
1051
  });
940
1052
 
941
1053
  const deleteAssetResponseSchema = v4.z.object({
942
- success: v4.z.boolean()
1054
+ success: v4.z.boolean(),
1055
+ deleted: v4.z.boolean()
1056
+ });
1057
+
1058
+ const deleteCalloutResponseSchema = v4.z.object({
1059
+ id: v4.z.string(),
1060
+ venueId: v4.z.string(),
1061
+ label: v4.z.union([
1062
+ v4.z.union([v4.z.boolean(), v4.z.string(), v4.z.number(), v4.z.enum([])]),
1063
+ v4.z.array(v4.z.any()),
1064
+ v4.z.object({}).catchall(v4.z.any())
1065
+ ]),
1066
+ createdBy: v4.z.nullable(v4.z.string()),
1067
+ updatedBy: v4.z.nullable(v4.z.string()),
1068
+ createdAt: v4.z.any(),
1069
+ updatedAt: v4.z.any()
943
1070
  });
944
1071
 
945
1072
  const deleteEventResponseSchema = v4.z.object({
@@ -992,6 +1119,28 @@ const deleteEventResponseSchema = v4.z.object({
992
1119
  updatedAt: v4.z.nullable(v4.z.any())
993
1120
  });
994
1121
 
1122
+ const deleteWebsitePageResponseSchema = v4.z.object({
1123
+ id: v4.z.string(),
1124
+ venueId: v4.z.string(),
1125
+ get ownerType() {
1126
+ return websitePageOwnerTypeSchema;
1127
+ },
1128
+ ownerId: v4.z.nullable(v4.z.string()),
1129
+ label: v4.z.nullable(
1130
+ v4.z.union([
1131
+ v4.z.union([v4.z.boolean(), v4.z.string(), v4.z.number(), v4.z.enum([])]),
1132
+ v4.z.array(v4.z.any()),
1133
+ v4.z.object({}).catchall(v4.z.any())
1134
+ ])
1135
+ ),
1136
+ path: v4.z.nullable(v4.z.string()),
1137
+ externalUrl: v4.z.nullable(v4.z.string()),
1138
+ createdBy: v4.z.nullable(v4.z.string()),
1139
+ updatedBy: v4.z.nullable(v4.z.string()),
1140
+ createdAt: v4.z.any(),
1141
+ updatedAt: v4.z.any()
1142
+ });
1143
+
995
1144
  const depositTransactionTypeSchema = v4.z.enum([
996
1145
  "charged",
997
1146
  "refunded",
@@ -1081,11 +1230,31 @@ const editAdResponseSchema = v4.z.object({
1081
1230
  v4.z.array(v4.z.any()),
1082
1231
  v4.z.object({}).catchall(v4.z.any())
1083
1232
  ]),
1233
+ disabledVenueNegativeKeywords: v4.z.union([
1234
+ v4.z.union([v4.z.boolean(), v4.z.string(), v4.z.number(), v4.z.enum([])]),
1235
+ v4.z.array(v4.z.any()),
1236
+ v4.z.object({}).catchall(v4.z.any())
1237
+ ]),
1084
1238
  dismissedKeywords: v4.z.union([
1085
1239
  v4.z.union([v4.z.boolean(), v4.z.string(), v4.z.number(), v4.z.enum([])]),
1086
1240
  v4.z.array(v4.z.any()),
1087
1241
  v4.z.object({}).catchall(v4.z.any())
1088
1242
  ]),
1243
+ keywordMetrics: v4.z.union([
1244
+ v4.z.union([v4.z.boolean(), v4.z.string(), v4.z.number(), v4.z.enum([])]),
1245
+ v4.z.array(v4.z.any()),
1246
+ v4.z.object({}).catchall(v4.z.any())
1247
+ ]),
1248
+ websitePageIds: v4.z.union([
1249
+ v4.z.union([v4.z.boolean(), v4.z.string(), v4.z.number(), v4.z.enum([])]),
1250
+ v4.z.array(v4.z.any()),
1251
+ v4.z.object({}).catchall(v4.z.any())
1252
+ ]),
1253
+ calloutIds: v4.z.union([
1254
+ v4.z.union([v4.z.boolean(), v4.z.string(), v4.z.number(), v4.z.enum([])]),
1255
+ v4.z.array(v4.z.any()),
1256
+ v4.z.object({}).catchall(v4.z.any())
1257
+ ]),
1089
1258
  publishedContentHash: v4.z.nullable(v4.z.string()),
1090
1259
  publishedAt: v4.z.nullable(v4.z.any()),
1091
1260
  pushedKeywords: v4.z.nullable(
@@ -1095,6 +1264,7 @@ const editAdResponseSchema = v4.z.object({
1095
1264
  v4.z.object({}).catchall(v4.z.any())
1096
1265
  ])
1097
1266
  ),
1267
+ dailyBudget: v4.z.nullable(v4.z.int().min(-2147483648).max(2147483647)),
1098
1268
  createdBy: v4.z.nullable(v4.z.string()),
1099
1269
  updatedBy: v4.z.nullable(v4.z.string()),
1100
1270
  createdAt: v4.z.nullable(v4.z.any()),
@@ -1464,11 +1634,31 @@ const editMetaAdResponseSchema = v4.z.object({
1464
1634
  v4.z.array(v4.z.any()),
1465
1635
  v4.z.object({}).catchall(v4.z.any())
1466
1636
  ]),
1637
+ disabledVenueNegativeKeywords: v4.z.union([
1638
+ v4.z.union([v4.z.boolean(), v4.z.string(), v4.z.number(), v4.z.enum([])]),
1639
+ v4.z.array(v4.z.any()),
1640
+ v4.z.object({}).catchall(v4.z.any())
1641
+ ]),
1467
1642
  dismissedKeywords: v4.z.union([
1468
1643
  v4.z.union([v4.z.boolean(), v4.z.string(), v4.z.number(), v4.z.enum([])]),
1469
1644
  v4.z.array(v4.z.any()),
1470
1645
  v4.z.object({}).catchall(v4.z.any())
1471
1646
  ]),
1647
+ keywordMetrics: v4.z.union([
1648
+ v4.z.union([v4.z.boolean(), v4.z.string(), v4.z.number(), v4.z.enum([])]),
1649
+ v4.z.array(v4.z.any()),
1650
+ v4.z.object({}).catchall(v4.z.any())
1651
+ ]),
1652
+ websitePageIds: v4.z.union([
1653
+ v4.z.union([v4.z.boolean(), v4.z.string(), v4.z.number(), v4.z.enum([])]),
1654
+ v4.z.array(v4.z.any()),
1655
+ v4.z.object({}).catchall(v4.z.any())
1656
+ ]),
1657
+ calloutIds: v4.z.union([
1658
+ v4.z.union([v4.z.boolean(), v4.z.string(), v4.z.number(), v4.z.enum([])]),
1659
+ v4.z.array(v4.z.any()),
1660
+ v4.z.object({}).catchall(v4.z.any())
1661
+ ]),
1472
1662
  publishedContentHash: v4.z.nullable(v4.z.string()),
1473
1663
  publishedAt: v4.z.nullable(v4.z.any()),
1474
1664
  pushedKeywords: v4.z.nullable(
@@ -1478,6 +1668,7 @@ const editMetaAdResponseSchema = v4.z.object({
1478
1668
  v4.z.object({}).catchall(v4.z.any())
1479
1669
  ])
1480
1670
  ),
1671
+ dailyBudget: v4.z.nullable(v4.z.int().min(-2147483648).max(2147483647)),
1481
1672
  createdBy: v4.z.nullable(v4.z.string()),
1482
1673
  updatedBy: v4.z.nullable(v4.z.string()),
1483
1674
  createdAt: v4.z.nullable(v4.z.any()),
@@ -1592,11 +1783,31 @@ const fetchAdResponseSchema = v4.z.object({
1592
1783
  v4.z.array(v4.z.any()),
1593
1784
  v4.z.object({}).catchall(v4.z.any())
1594
1785
  ]),
1786
+ disabledVenueNegativeKeywords: v4.z.union([
1787
+ v4.z.union([v4.z.boolean(), v4.z.string(), v4.z.number(), v4.z.enum([])]),
1788
+ v4.z.array(v4.z.any()),
1789
+ v4.z.object({}).catchall(v4.z.any())
1790
+ ]),
1595
1791
  dismissedKeywords: v4.z.union([
1596
1792
  v4.z.union([v4.z.boolean(), v4.z.string(), v4.z.number(), v4.z.enum([])]),
1597
1793
  v4.z.array(v4.z.any()),
1598
1794
  v4.z.object({}).catchall(v4.z.any())
1599
1795
  ]),
1796
+ keywordMetrics: v4.z.union([
1797
+ v4.z.union([v4.z.boolean(), v4.z.string(), v4.z.number(), v4.z.enum([])]),
1798
+ v4.z.array(v4.z.any()),
1799
+ v4.z.object({}).catchall(v4.z.any())
1800
+ ]),
1801
+ websitePageIds: v4.z.union([
1802
+ v4.z.union([v4.z.boolean(), v4.z.string(), v4.z.number(), v4.z.enum([])]),
1803
+ v4.z.array(v4.z.any()),
1804
+ v4.z.object({}).catchall(v4.z.any())
1805
+ ]),
1806
+ calloutIds: v4.z.union([
1807
+ v4.z.union([v4.z.boolean(), v4.z.string(), v4.z.number(), v4.z.enum([])]),
1808
+ v4.z.array(v4.z.any()),
1809
+ v4.z.object({}).catchall(v4.z.any())
1810
+ ]),
1600
1811
  publishedContentHash: v4.z.nullable(v4.z.string()),
1601
1812
  publishedAt: v4.z.nullable(v4.z.any()),
1602
1813
  pushedKeywords: v4.z.nullable(
@@ -1606,6 +1817,7 @@ const fetchAdResponseSchema = v4.z.object({
1606
1817
  v4.z.object({}).catchall(v4.z.any())
1607
1818
  ])
1608
1819
  ),
1820
+ dailyBudget: v4.z.nullable(v4.z.int().min(-2147483648).max(2147483647)),
1609
1821
  createdBy: v4.z.nullable(v4.z.string()),
1610
1822
  updatedBy: v4.z.nullable(v4.z.string()),
1611
1823
  createdAt: v4.z.nullable(v4.z.any()),
@@ -1668,11 +1880,31 @@ const fetchAdsResponseSchema = v4.z.array(
1668
1880
  v4.z.array(v4.z.any()),
1669
1881
  v4.z.object({}).catchall(v4.z.any())
1670
1882
  ]),
1883
+ disabledVenueNegativeKeywords: v4.z.union([
1884
+ v4.z.union([v4.z.boolean(), v4.z.string(), v4.z.number(), v4.z.enum([])]),
1885
+ v4.z.array(v4.z.any()),
1886
+ v4.z.object({}).catchall(v4.z.any())
1887
+ ]),
1671
1888
  dismissedKeywords: v4.z.union([
1672
1889
  v4.z.union([v4.z.boolean(), v4.z.string(), v4.z.number(), v4.z.enum([])]),
1673
1890
  v4.z.array(v4.z.any()),
1674
1891
  v4.z.object({}).catchall(v4.z.any())
1675
1892
  ]),
1893
+ keywordMetrics: v4.z.union([
1894
+ v4.z.union([v4.z.boolean(), v4.z.string(), v4.z.number(), v4.z.enum([])]),
1895
+ v4.z.array(v4.z.any()),
1896
+ v4.z.object({}).catchall(v4.z.any())
1897
+ ]),
1898
+ websitePageIds: v4.z.union([
1899
+ v4.z.union([v4.z.boolean(), v4.z.string(), v4.z.number(), v4.z.enum([])]),
1900
+ v4.z.array(v4.z.any()),
1901
+ v4.z.object({}).catchall(v4.z.any())
1902
+ ]),
1903
+ calloutIds: v4.z.union([
1904
+ v4.z.union([v4.z.boolean(), v4.z.string(), v4.z.number(), v4.z.enum([])]),
1905
+ v4.z.array(v4.z.any()),
1906
+ v4.z.object({}).catchall(v4.z.any())
1907
+ ]),
1676
1908
  publishedContentHash: v4.z.nullable(v4.z.string()),
1677
1909
  publishedAt: v4.z.nullable(v4.z.any()),
1678
1910
  pushedKeywords: v4.z.nullable(
@@ -1682,6 +1914,7 @@ const fetchAdsResponseSchema = v4.z.array(
1682
1914
  v4.z.object({}).catchall(v4.z.any())
1683
1915
  ])
1684
1916
  ),
1917
+ dailyBudget: v4.z.nullable(v4.z.int().min(-2147483648).max(2147483647)),
1685
1918
  createdBy: v4.z.nullable(v4.z.string()),
1686
1919
  updatedBy: v4.z.nullable(v4.z.string()),
1687
1920
  createdAt: v4.z.nullable(v4.z.any()),
@@ -2693,6 +2926,7 @@ const fetchRitualResponseSchema = v4.z.object({
2693
2926
  createdBy: v4.z.nullable(v4.z.string()),
2694
2927
  updatedBy: v4.z.nullable(v4.z.string()),
2695
2928
  venueId: v4.z.nullable(v4.z.string()),
2929
+ contentHash: v4.z.nullable(v4.z.string()),
2696
2930
  publicUrl: v4.z.string()
2697
2931
  })
2698
2932
  ),
@@ -2953,6 +3187,22 @@ const getBasketTotalsResponseSchema = v4.z.object({
2953
3187
  )
2954
3188
  });
2955
3189
 
3190
+ const getCalloutsResponseSchema = v4.z.array(
3191
+ v4.z.object({
3192
+ id: v4.z.string(),
3193
+ venueId: v4.z.string(),
3194
+ label: v4.z.union([
3195
+ v4.z.union([v4.z.boolean(), v4.z.string(), v4.z.number(), v4.z.enum([])]),
3196
+ v4.z.array(v4.z.any()),
3197
+ v4.z.object({}).catchall(v4.z.any())
3198
+ ]),
3199
+ createdBy: v4.z.nullable(v4.z.string()),
3200
+ updatedBy: v4.z.nullable(v4.z.string()),
3201
+ createdAt: v4.z.any(),
3202
+ updatedAt: v4.z.any()
3203
+ })
3204
+ );
3205
+
2956
3206
  const subscriptionCreditStatusSchema = v4.z.enum([
2957
3207
  "available",
2958
3208
  "redeemed",
@@ -3030,6 +3280,30 @@ const getVenueResponseSchema = v4.z.object({
3030
3280
  "A venue. The public API exposes only the minimal id + accessor + naming + locale fields the CLI's `venues use` / `auth whoami` consume."
3031
3281
  );
3032
3282
 
3283
+ const getWebsitePagesResponseSchema = v4.z.array(
3284
+ v4.z.object({
3285
+ id: v4.z.string(),
3286
+ venueId: v4.z.string(),
3287
+ get ownerType() {
3288
+ return websitePageOwnerTypeSchema;
3289
+ },
3290
+ ownerId: v4.z.nullable(v4.z.string()),
3291
+ label: v4.z.nullable(
3292
+ v4.z.union([
3293
+ v4.z.union([v4.z.boolean(), v4.z.string(), v4.z.number(), v4.z.enum([])]),
3294
+ v4.z.array(v4.z.any()),
3295
+ v4.z.object({}).catchall(v4.z.any())
3296
+ ])
3297
+ ),
3298
+ path: v4.z.nullable(v4.z.string()),
3299
+ externalUrl: v4.z.nullable(v4.z.string()),
3300
+ createdBy: v4.z.nullable(v4.z.string()),
3301
+ updatedBy: v4.z.nullable(v4.z.string()),
3302
+ createdAt: v4.z.any(),
3303
+ updatedAt: v4.z.any()
3304
+ })
3305
+ );
3306
+
3033
3307
  const integrationNotificationTypeSchema = v4.z.enum([
3034
3308
  "order_created",
3035
3309
  "order_cancelled",
@@ -3086,6 +3360,8 @@ const joinTeamOrderResponseSchema = v4.z.object({
3086
3360
 
3087
3361
  const jurisdictionSchema = v4.z.enum(["DE", "CH", "FR", "IT"]);
3088
3362
 
3363
+ const keywordPolaritySchema = v4.z.enum(["positive", "negative"]);
3364
+
3089
3365
  const localeSchema = v4.z.enum([
3090
3366
  "aa",
3091
3367
  "ab",
@@ -3522,6 +3798,17 @@ const roleSchema = v4.z.enum([
3522
3798
  "rider"
3523
3799
  ]);
3524
3800
 
3801
+ const saveAdCalloutsRequestSchema = v4.z.object({
3802
+ venueAccessor: v4.z.string().min(1),
3803
+ adId: v4.z.string().min(1),
3804
+ calloutIds: v4.z.array(v4.z.string().min(1))
3805
+ });
3806
+
3807
+ const saveAdCalloutsResponseSchema = v4.z.object({
3808
+ success: v4.z.boolean(),
3809
+ calloutIds: v4.z.array(v4.z.string())
3810
+ });
3811
+
3525
3812
  const saveAdKeywordsRequestSchema = v4.z.object({
3526
3813
  venueAccessor: v4.z.string().min(1),
3527
3814
  adId: v4.z.string().min(1),
@@ -3537,8 +3824,135 @@ const saveAdKeywordsResponseSchema = v4.z.object({
3537
3824
  disabledVenueKeywords: v4.z.array(v4.z.string())
3538
3825
  });
3539
3826
 
3827
+ const saveAdNegativeKeywordsRequestSchema = v4.z.object({
3828
+ venueAccessor: v4.z.string().min(1),
3829
+ adId: v4.z.string().min(1),
3830
+ negativeKeywords: v4.z.array(v4.z.string().min(1)),
3831
+ disabledVenueNegativeKeywords: v4.z.array(v4.z.string().min(1))
3832
+ });
3833
+
3834
+ const saveAdNegativeKeywordsResponseSchema = v4.z.object({
3835
+ success: v4.z.boolean(),
3836
+ negativeKeywords: v4.z.array(v4.z.string()),
3837
+ disabledVenueNegativeKeywords: v4.z.array(v4.z.string()),
3838
+ syncedToGoogle: v4.z.boolean()
3839
+ });
3840
+
3841
+ const saveAdWebsitePagesRequestSchema = v4.z.object({
3842
+ venueAccessor: v4.z.string().min(1),
3843
+ adId: v4.z.string().min(1),
3844
+ websitePageIds: v4.z.array(v4.z.string().min(1))
3845
+ });
3846
+
3847
+ const saveAdWebsitePagesResponseSchema = v4.z.object({
3848
+ success: v4.z.boolean(),
3849
+ websitePageIds: v4.z.array(v4.z.string())
3850
+ });
3851
+
3540
3852
  const scanTokenEntityTypeSchema = v4.z.enum(["order", "depositware"]);
3541
3853
 
3854
+ const setAdBudgetRequestSchema = v4.z.object({
3855
+ venueAccessor: v4.z.string().min(1),
3856
+ adId: v4.z.string().min(1),
3857
+ dailyBudget: v4.z.int().max(9007199254740991).gt(0)
3858
+ });
3859
+
3860
+ const setAdBudgetResponseSchema = v4.z.object({
3861
+ id: v4.z.string(),
3862
+ venueId: v4.z.string(),
3863
+ get ownerEntityType() {
3864
+ return adOwnerTypeSchema;
3865
+ },
3866
+ ownerEntityId: v4.z.string(),
3867
+ get channel() {
3868
+ return adChannelSchema;
3869
+ },
3870
+ get status() {
3871
+ return adStatusSchema;
3872
+ },
3873
+ campaignId: v4.z.nullable(v4.z.string()),
3874
+ content: v4.z.union([
3875
+ v4.z.union([v4.z.boolean(), v4.z.string(), v4.z.number(), v4.z.enum([])]),
3876
+ v4.z.array(v4.z.any()),
3877
+ v4.z.object({}).catchall(v4.z.any())
3878
+ ]),
3879
+ metaContent: v4.z.nullable(
3880
+ v4.z.union([
3881
+ v4.z.union([v4.z.boolean(), v4.z.string(), v4.z.number(), v4.z.enum([])]),
3882
+ v4.z.array(v4.z.any()),
3883
+ v4.z.object({}).catchall(v4.z.any())
3884
+ ])
3885
+ ),
3886
+ metaRefs: v4.z.nullable(
3887
+ v4.z.union([
3888
+ v4.z.union([v4.z.boolean(), v4.z.string(), v4.z.number(), v4.z.enum([])]),
3889
+ v4.z.array(v4.z.any()),
3890
+ v4.z.object({}).catchall(v4.z.any())
3891
+ ])
3892
+ ),
3893
+ servedMarket: v4.z.nullable(
3894
+ v4.z.union([
3895
+ v4.z.union([v4.z.boolean(), v4.z.string(), v4.z.number(), v4.z.enum([])]),
3896
+ v4.z.array(v4.z.any()),
3897
+ v4.z.object({}).catchall(v4.z.any())
3898
+ ])
3899
+ ),
3900
+ keywords: v4.z.union([
3901
+ v4.z.union([v4.z.boolean(), v4.z.string(), v4.z.number(), v4.z.enum([])]),
3902
+ v4.z.array(v4.z.any()),
3903
+ v4.z.object({}).catchall(v4.z.any())
3904
+ ]),
3905
+ negativeKeywords: v4.z.union([
3906
+ v4.z.union([v4.z.boolean(), v4.z.string(), v4.z.number(), v4.z.enum([])]),
3907
+ v4.z.array(v4.z.any()),
3908
+ v4.z.object({}).catchall(v4.z.any())
3909
+ ]),
3910
+ disabledVenueKeywords: v4.z.union([
3911
+ v4.z.union([v4.z.boolean(), v4.z.string(), v4.z.number(), v4.z.enum([])]),
3912
+ v4.z.array(v4.z.any()),
3913
+ v4.z.object({}).catchall(v4.z.any())
3914
+ ]),
3915
+ disabledVenueNegativeKeywords: v4.z.union([
3916
+ v4.z.union([v4.z.boolean(), v4.z.string(), v4.z.number(), v4.z.enum([])]),
3917
+ v4.z.array(v4.z.any()),
3918
+ v4.z.object({}).catchall(v4.z.any())
3919
+ ]),
3920
+ dismissedKeywords: v4.z.union([
3921
+ v4.z.union([v4.z.boolean(), v4.z.string(), v4.z.number(), v4.z.enum([])]),
3922
+ v4.z.array(v4.z.any()),
3923
+ v4.z.object({}).catchall(v4.z.any())
3924
+ ]),
3925
+ keywordMetrics: v4.z.union([
3926
+ v4.z.union([v4.z.boolean(), v4.z.string(), v4.z.number(), v4.z.enum([])]),
3927
+ v4.z.array(v4.z.any()),
3928
+ v4.z.object({}).catchall(v4.z.any())
3929
+ ]),
3930
+ websitePageIds: v4.z.union([
3931
+ v4.z.union([v4.z.boolean(), v4.z.string(), v4.z.number(), v4.z.enum([])]),
3932
+ v4.z.array(v4.z.any()),
3933
+ v4.z.object({}).catchall(v4.z.any())
3934
+ ]),
3935
+ calloutIds: v4.z.union([
3936
+ v4.z.union([v4.z.boolean(), v4.z.string(), v4.z.number(), v4.z.enum([])]),
3937
+ v4.z.array(v4.z.any()),
3938
+ v4.z.object({}).catchall(v4.z.any())
3939
+ ]),
3940
+ publishedContentHash: v4.z.nullable(v4.z.string()),
3941
+ publishedAt: v4.z.nullable(v4.z.any()),
3942
+ pushedKeywords: v4.z.nullable(
3943
+ v4.z.union([
3944
+ v4.z.union([v4.z.boolean(), v4.z.string(), v4.z.number(), v4.z.enum([])]),
3945
+ v4.z.array(v4.z.any()),
3946
+ v4.z.object({}).catchall(v4.z.any())
3947
+ ])
3948
+ ),
3949
+ dailyBudget: v4.z.nullable(v4.z.int().min(-2147483648).max(2147483647)),
3950
+ createdBy: v4.z.nullable(v4.z.string()),
3951
+ updatedBy: v4.z.nullable(v4.z.string()),
3952
+ createdAt: v4.z.nullable(v4.z.any()),
3953
+ updatedAt: v4.z.nullable(v4.z.any())
3954
+ });
3955
+
3542
3956
  const setArticleFeatureImageUploadBodySchema = v4.z.object({
3543
3957
  file: v4.z.string().describe("Image file (multipart/form-data field)")
3544
3958
  });
@@ -3731,6 +4145,26 @@ const teamOrderPaymentStatusSchema = v4.z.enum([
3731
4145
  "failed"
3732
4146
  ]);
3733
4147
 
4148
+ const updateCalloutRequestSchema = v4.z.object({
4149
+ venueAccessor: v4.z.string().min(1),
4150
+ id: v4.z.string().min(1),
4151
+ label: v4.z.object({}).catchall(v4.z.string().max(25))
4152
+ });
4153
+
4154
+ const updateCalloutResponseSchema = v4.z.object({
4155
+ id: v4.z.string(),
4156
+ venueId: v4.z.string(),
4157
+ label: v4.z.union([
4158
+ v4.z.union([v4.z.boolean(), v4.z.string(), v4.z.number(), v4.z.enum([])]),
4159
+ v4.z.array(v4.z.any()),
4160
+ v4.z.object({}).catchall(v4.z.any())
4161
+ ]),
4162
+ createdBy: v4.z.nullable(v4.z.string()),
4163
+ updatedBy: v4.z.nullable(v4.z.string()),
4164
+ createdAt: v4.z.any(),
4165
+ updatedAt: v4.z.any()
4166
+ });
4167
+
3734
4168
  const updateDeliveryAddressTeamOrderRequestSchema = v4.z.object({
3735
4169
  publicId: v4.z.string().min(1),
3736
4170
  sessionId: v4.z.string().min(1),
@@ -3744,6 +4178,35 @@ const updateDeliveryAddressTeamOrderResponseSchema = v4.z.object({
3744
4178
  deliveryAddressId: v4.z.string()
3745
4179
  });
3746
4180
 
4181
+ const updateWebsitePageRequestSchema = v4.z.object({
4182
+ venueAccessor: v4.z.string().min(1),
4183
+ id: v4.z.string().min(1),
4184
+ label: v4.z.object({}).catchall(v4.z.string()).nullish(),
4185
+ target: v4.z.string().min(1)
4186
+ });
4187
+
4188
+ const updateWebsitePageResponseSchema = v4.z.object({
4189
+ id: v4.z.string(),
4190
+ venueId: v4.z.string(),
4191
+ get ownerType() {
4192
+ return websitePageOwnerTypeSchema;
4193
+ },
4194
+ ownerId: v4.z.nullable(v4.z.string()),
4195
+ label: v4.z.nullable(
4196
+ v4.z.union([
4197
+ v4.z.union([v4.z.boolean(), v4.z.string(), v4.z.number(), v4.z.enum([])]),
4198
+ v4.z.array(v4.z.any()),
4199
+ v4.z.object({}).catchall(v4.z.any())
4200
+ ])
4201
+ ),
4202
+ path: v4.z.nullable(v4.z.string()),
4203
+ externalUrl: v4.z.nullable(v4.z.string()),
4204
+ createdBy: v4.z.nullable(v4.z.string()),
4205
+ updatedBy: v4.z.nullable(v4.z.string()),
4206
+ createdAt: v4.z.any(),
4207
+ updatedAt: v4.z.any()
4208
+ });
4209
+
3747
4210
  const uploadAssetResponseSchema = v4.z.object({
3748
4211
  asset: v4.z.object({
3749
4212
  id: v4.z.string(),
@@ -3786,7 +4249,8 @@ const uploadAssetResponseSchema = v4.z.object({
3786
4249
  updatedAt: v4.z.nullable(v4.z.any()),
3787
4250
  createdBy: v4.z.nullable(v4.z.string()),
3788
4251
  updatedBy: v4.z.nullable(v4.z.string()),
3789
- venueId: v4.z.nullable(v4.z.string())
4252
+ venueId: v4.z.nullable(v4.z.string()),
4253
+ contentHash: v4.z.nullable(v4.z.string())
3790
4254
  }),
3791
4255
  publicUrl: v4.z.nullable(v4.z.string())
3792
4256
  });
@@ -3853,6 +4317,8 @@ const schemas = {
3853
4317
  CountryCode: countryCodeSchema,
3854
4318
  CreateAdRequest: createAdRequestSchema,
3855
4319
  CreateAdResponse: createAdResponseSchema,
4320
+ CreateCalloutRequest: createCalloutRequestSchema,
4321
+ CreateCalloutResponse: createCalloutResponseSchema,
3856
4322
  CreateDeltaPaymentIntentRequest: createDeltaPaymentIntentRequestSchema,
3857
4323
  CreateDeltaPaymentIntentResponse: createDeltaPaymentIntentResponseSchema,
3858
4324
  CreateEventRequest: createEventRequestSchema,
@@ -3861,11 +4327,15 @@ const schemas = {
3861
4327
  CreatePaymentIntentResponse: createPaymentIntentResponseSchema,
3862
4328
  CreateTeamOrderRequest: createTeamOrderRequestSchema,
3863
4329
  CreateTeamOrderResponse: createTeamOrderResponseSchema,
4330
+ CreateWebsitePageRequest: createWebsitePageRequestSchema,
4331
+ CreateWebsitePageResponse: createWebsitePageResponseSchema,
3864
4332
  Currency: currencySchema,
3865
4333
  DayOfWeek: dayOfWeekSchema,
3866
4334
  DeleteAdResponse: deleteAdResponseSchema,
3867
4335
  DeleteAssetResponse: deleteAssetResponseSchema,
4336
+ DeleteCalloutResponse: deleteCalloutResponseSchema,
3868
4337
  DeleteEventResponse: deleteEventResponseSchema,
4338
+ DeleteWebsitePageResponse: deleteWebsitePageResponseSchema,
3869
4339
  DeliveryAddress: deliveryAddressSchema.deliveryAddressSchema,
3870
4340
  DepositTransactionType: depositTransactionTypeSchema,
3871
4341
  DepositwareStatus: depositwareStatusSchema,
@@ -3911,9 +4381,11 @@ const schemas = {
3911
4381
  GetAreaAvailabilityResponse: getAreaAvailabilityResponseSchema,
3912
4382
  GetBasketTotalsRequest: getBasketTotalsRequestSchema,
3913
4383
  GetBasketTotalsResponse: getBasketTotalsResponseSchema,
4384
+ GetCalloutsResponse: getCalloutsResponseSchema,
3914
4385
  GetSubscriptionCreditsResponse: getSubscriptionCreditsResponseSchema,
3915
4386
  GetSubscriptionResponse: getSubscriptionResponseSchema,
3916
4387
  GetVenueResponse: getVenueResponseSchema,
4388
+ GetWebsitePagesResponse: getWebsitePagesResponseSchema,
3917
4389
  IntegrationNotificationType: integrationNotificationTypeSchema,
3918
4390
  IntegrationType: integrationTypeSchema,
3919
4391
  InventoryAssetStatus: inventoryAssetStatusSchema,
@@ -3922,6 +4394,7 @@ const schemas = {
3922
4394
  JoinTeamOrderRequest: joinTeamOrderRequestSchema,
3923
4395
  JoinTeamOrderResponse: joinTeamOrderResponseSchema,
3924
4396
  Jurisdiction: jurisdictionSchema,
4397
+ KeywordPolarity: keywordPolaritySchema,
3925
4398
  Locale: localeSchema,
3926
4399
  MakeReservationRequest: makeReservationRequestSchema,
3927
4400
  MakeReservationResponse: makeReservationResponseSchema,
@@ -3951,10 +4424,18 @@ const schemas = {
3951
4424
  ReservationStatus: reservationStatusSchema,
3952
4425
  RitualType: ritualTypeSchema,
3953
4426
  Role: roleSchema,
4427
+ SaveAdCalloutsRequest: saveAdCalloutsRequestSchema,
4428
+ SaveAdCalloutsResponse: saveAdCalloutsResponseSchema,
3954
4429
  SaveAdKeywordsRequest: saveAdKeywordsRequestSchema,
3955
4430
  SaveAdKeywordsResponse: saveAdKeywordsResponseSchema,
4431
+ SaveAdNegativeKeywordsRequest: saveAdNegativeKeywordsRequestSchema,
4432
+ SaveAdNegativeKeywordsResponse: saveAdNegativeKeywordsResponseSchema,
4433
+ SaveAdWebsitePagesRequest: saveAdWebsitePagesRequestSchema,
4434
+ SaveAdWebsitePagesResponse: saveAdWebsitePagesResponseSchema,
3956
4435
  ScanTokenEntityType: scanTokenEntityTypeSchema,
3957
4436
  Schedule: scheduleSchema,
4437
+ SetAdBudgetRequest: setAdBudgetRequestSchema,
4438
+ SetAdBudgetResponse: setAdBudgetResponseSchema,
3958
4439
  SetArticleFeatureImageUploadBody: setArticleFeatureImageUploadBodySchema,
3959
4440
  SetBasketDeclaredReturnsRequest: setBasketDeclaredReturnsRequestSchema,
3960
4441
  SetBasketDeclaredReturnsResponse: setBasketDeclaredReturnsResponseSchema,
@@ -3982,14 +4463,19 @@ const schemas = {
3982
4463
  TeamOrderPaymentStatus: teamOrderPaymentStatusSchema,
3983
4464
  TeamOrderStatus: deliveryAddressSchema.teamOrderStatusSchema,
3984
4465
  Unit: unitSchema,
4466
+ UpdateCalloutRequest: updateCalloutRequestSchema,
4467
+ UpdateCalloutResponse: updateCalloutResponseSchema,
3985
4468
  UpdateDeliveryAddressTeamOrderRequest: updateDeliveryAddressTeamOrderRequestSchema,
3986
4469
  UpdateDeliveryAddressTeamOrderResponse: updateDeliveryAddressTeamOrderResponseSchema,
4470
+ UpdateWebsitePageRequest: updateWebsitePageRequestSchema,
4471
+ UpdateWebsitePageResponse: updateWebsitePageResponseSchema,
3987
4472
  UploadAssetResponse: uploadAssetResponseSchema,
3988
4473
  VenueAssetType: venueAssetTypeSchema,
3989
4474
  VenueChargeType: venueChargeTypeSchema,
3990
4475
  VenueEmailSenderStatus: venueEmailSenderStatusSchema,
3991
4476
  VenueType: venueTypeSchema,
3992
- VenueUserStatus: venueUserStatusSchema
4477
+ VenueUserStatus: venueUserStatusSchema,
4478
+ WebsitePageOwnerType: websitePageOwnerTypeSchema
3993
4479
  };
3994
4480
 
3995
4481
  exports.schemas = schemas;