order3000 1.8.0 → 1.9.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()),
@@ -942,6 +1054,20 @@ const deleteAssetResponseSchema = v4.z.object({
942
1054
  success: v4.z.boolean()
943
1055
  });
944
1056
 
1057
+ const deleteCalloutResponseSchema = v4.z.object({
1058
+ id: v4.z.string(),
1059
+ venueId: v4.z.string(),
1060
+ label: v4.z.union([
1061
+ v4.z.union([v4.z.boolean(), v4.z.string(), v4.z.number(), v4.z.enum([])]),
1062
+ v4.z.array(v4.z.any()),
1063
+ v4.z.object({}).catchall(v4.z.any())
1064
+ ]),
1065
+ createdBy: v4.z.nullable(v4.z.string()),
1066
+ updatedBy: v4.z.nullable(v4.z.string()),
1067
+ createdAt: v4.z.any(),
1068
+ updatedAt: v4.z.any()
1069
+ });
1070
+
945
1071
  const deleteEventResponseSchema = v4.z.object({
946
1072
  id: v4.z.string(),
947
1073
  venueId: v4.z.string(),
@@ -992,6 +1118,28 @@ const deleteEventResponseSchema = v4.z.object({
992
1118
  updatedAt: v4.z.nullable(v4.z.any())
993
1119
  });
994
1120
 
1121
+ const deleteWebsitePageResponseSchema = v4.z.object({
1122
+ id: v4.z.string(),
1123
+ venueId: v4.z.string(),
1124
+ get ownerType() {
1125
+ return websitePageOwnerTypeSchema;
1126
+ },
1127
+ ownerId: v4.z.nullable(v4.z.string()),
1128
+ label: v4.z.nullable(
1129
+ v4.z.union([
1130
+ v4.z.union([v4.z.boolean(), v4.z.string(), v4.z.number(), v4.z.enum([])]),
1131
+ v4.z.array(v4.z.any()),
1132
+ v4.z.object({}).catchall(v4.z.any())
1133
+ ])
1134
+ ),
1135
+ path: v4.z.nullable(v4.z.string()),
1136
+ externalUrl: v4.z.nullable(v4.z.string()),
1137
+ createdBy: v4.z.nullable(v4.z.string()),
1138
+ updatedBy: v4.z.nullable(v4.z.string()),
1139
+ createdAt: v4.z.any(),
1140
+ updatedAt: v4.z.any()
1141
+ });
1142
+
995
1143
  const depositTransactionTypeSchema = v4.z.enum([
996
1144
  "charged",
997
1145
  "refunded",
@@ -1081,11 +1229,31 @@ const editAdResponseSchema = v4.z.object({
1081
1229
  v4.z.array(v4.z.any()),
1082
1230
  v4.z.object({}).catchall(v4.z.any())
1083
1231
  ]),
1232
+ disabledVenueNegativeKeywords: v4.z.union([
1233
+ v4.z.union([v4.z.boolean(), v4.z.string(), v4.z.number(), v4.z.enum([])]),
1234
+ v4.z.array(v4.z.any()),
1235
+ v4.z.object({}).catchall(v4.z.any())
1236
+ ]),
1084
1237
  dismissedKeywords: v4.z.union([
1085
1238
  v4.z.union([v4.z.boolean(), v4.z.string(), v4.z.number(), v4.z.enum([])]),
1086
1239
  v4.z.array(v4.z.any()),
1087
1240
  v4.z.object({}).catchall(v4.z.any())
1088
1241
  ]),
1242
+ keywordMetrics: v4.z.union([
1243
+ v4.z.union([v4.z.boolean(), v4.z.string(), v4.z.number(), v4.z.enum([])]),
1244
+ v4.z.array(v4.z.any()),
1245
+ v4.z.object({}).catchall(v4.z.any())
1246
+ ]),
1247
+ websitePageIds: v4.z.union([
1248
+ v4.z.union([v4.z.boolean(), v4.z.string(), v4.z.number(), v4.z.enum([])]),
1249
+ v4.z.array(v4.z.any()),
1250
+ v4.z.object({}).catchall(v4.z.any())
1251
+ ]),
1252
+ calloutIds: v4.z.union([
1253
+ v4.z.union([v4.z.boolean(), v4.z.string(), v4.z.number(), v4.z.enum([])]),
1254
+ v4.z.array(v4.z.any()),
1255
+ v4.z.object({}).catchall(v4.z.any())
1256
+ ]),
1089
1257
  publishedContentHash: v4.z.nullable(v4.z.string()),
1090
1258
  publishedAt: v4.z.nullable(v4.z.any()),
1091
1259
  pushedKeywords: v4.z.nullable(
@@ -1095,6 +1263,7 @@ const editAdResponseSchema = v4.z.object({
1095
1263
  v4.z.object({}).catchall(v4.z.any())
1096
1264
  ])
1097
1265
  ),
1266
+ dailyBudget: v4.z.nullable(v4.z.int().min(-2147483648).max(2147483647)),
1098
1267
  createdBy: v4.z.nullable(v4.z.string()),
1099
1268
  updatedBy: v4.z.nullable(v4.z.string()),
1100
1269
  createdAt: v4.z.nullable(v4.z.any()),
@@ -1464,11 +1633,31 @@ const editMetaAdResponseSchema = v4.z.object({
1464
1633
  v4.z.array(v4.z.any()),
1465
1634
  v4.z.object({}).catchall(v4.z.any())
1466
1635
  ]),
1636
+ disabledVenueNegativeKeywords: v4.z.union([
1637
+ v4.z.union([v4.z.boolean(), v4.z.string(), v4.z.number(), v4.z.enum([])]),
1638
+ v4.z.array(v4.z.any()),
1639
+ v4.z.object({}).catchall(v4.z.any())
1640
+ ]),
1467
1641
  dismissedKeywords: v4.z.union([
1468
1642
  v4.z.union([v4.z.boolean(), v4.z.string(), v4.z.number(), v4.z.enum([])]),
1469
1643
  v4.z.array(v4.z.any()),
1470
1644
  v4.z.object({}).catchall(v4.z.any())
1471
1645
  ]),
1646
+ keywordMetrics: v4.z.union([
1647
+ v4.z.union([v4.z.boolean(), v4.z.string(), v4.z.number(), v4.z.enum([])]),
1648
+ v4.z.array(v4.z.any()),
1649
+ v4.z.object({}).catchall(v4.z.any())
1650
+ ]),
1651
+ websitePageIds: v4.z.union([
1652
+ v4.z.union([v4.z.boolean(), v4.z.string(), v4.z.number(), v4.z.enum([])]),
1653
+ v4.z.array(v4.z.any()),
1654
+ v4.z.object({}).catchall(v4.z.any())
1655
+ ]),
1656
+ calloutIds: v4.z.union([
1657
+ v4.z.union([v4.z.boolean(), v4.z.string(), v4.z.number(), v4.z.enum([])]),
1658
+ v4.z.array(v4.z.any()),
1659
+ v4.z.object({}).catchall(v4.z.any())
1660
+ ]),
1472
1661
  publishedContentHash: v4.z.nullable(v4.z.string()),
1473
1662
  publishedAt: v4.z.nullable(v4.z.any()),
1474
1663
  pushedKeywords: v4.z.nullable(
@@ -1478,6 +1667,7 @@ const editMetaAdResponseSchema = v4.z.object({
1478
1667
  v4.z.object({}).catchall(v4.z.any())
1479
1668
  ])
1480
1669
  ),
1670
+ dailyBudget: v4.z.nullable(v4.z.int().min(-2147483648).max(2147483647)),
1481
1671
  createdBy: v4.z.nullable(v4.z.string()),
1482
1672
  updatedBy: v4.z.nullable(v4.z.string()),
1483
1673
  createdAt: v4.z.nullable(v4.z.any()),
@@ -1592,11 +1782,31 @@ const fetchAdResponseSchema = v4.z.object({
1592
1782
  v4.z.array(v4.z.any()),
1593
1783
  v4.z.object({}).catchall(v4.z.any())
1594
1784
  ]),
1785
+ disabledVenueNegativeKeywords: v4.z.union([
1786
+ v4.z.union([v4.z.boolean(), v4.z.string(), v4.z.number(), v4.z.enum([])]),
1787
+ v4.z.array(v4.z.any()),
1788
+ v4.z.object({}).catchall(v4.z.any())
1789
+ ]),
1595
1790
  dismissedKeywords: v4.z.union([
1596
1791
  v4.z.union([v4.z.boolean(), v4.z.string(), v4.z.number(), v4.z.enum([])]),
1597
1792
  v4.z.array(v4.z.any()),
1598
1793
  v4.z.object({}).catchall(v4.z.any())
1599
1794
  ]),
1795
+ keywordMetrics: v4.z.union([
1796
+ v4.z.union([v4.z.boolean(), v4.z.string(), v4.z.number(), v4.z.enum([])]),
1797
+ v4.z.array(v4.z.any()),
1798
+ v4.z.object({}).catchall(v4.z.any())
1799
+ ]),
1800
+ websitePageIds: v4.z.union([
1801
+ v4.z.union([v4.z.boolean(), v4.z.string(), v4.z.number(), v4.z.enum([])]),
1802
+ v4.z.array(v4.z.any()),
1803
+ v4.z.object({}).catchall(v4.z.any())
1804
+ ]),
1805
+ calloutIds: v4.z.union([
1806
+ v4.z.union([v4.z.boolean(), v4.z.string(), v4.z.number(), v4.z.enum([])]),
1807
+ v4.z.array(v4.z.any()),
1808
+ v4.z.object({}).catchall(v4.z.any())
1809
+ ]),
1600
1810
  publishedContentHash: v4.z.nullable(v4.z.string()),
1601
1811
  publishedAt: v4.z.nullable(v4.z.any()),
1602
1812
  pushedKeywords: v4.z.nullable(
@@ -1606,6 +1816,7 @@ const fetchAdResponseSchema = v4.z.object({
1606
1816
  v4.z.object({}).catchall(v4.z.any())
1607
1817
  ])
1608
1818
  ),
1819
+ dailyBudget: v4.z.nullable(v4.z.int().min(-2147483648).max(2147483647)),
1609
1820
  createdBy: v4.z.nullable(v4.z.string()),
1610
1821
  updatedBy: v4.z.nullable(v4.z.string()),
1611
1822
  createdAt: v4.z.nullable(v4.z.any()),
@@ -1668,11 +1879,31 @@ const fetchAdsResponseSchema = v4.z.array(
1668
1879
  v4.z.array(v4.z.any()),
1669
1880
  v4.z.object({}).catchall(v4.z.any())
1670
1881
  ]),
1882
+ disabledVenueNegativeKeywords: v4.z.union([
1883
+ v4.z.union([v4.z.boolean(), v4.z.string(), v4.z.number(), v4.z.enum([])]),
1884
+ v4.z.array(v4.z.any()),
1885
+ v4.z.object({}).catchall(v4.z.any())
1886
+ ]),
1671
1887
  dismissedKeywords: v4.z.union([
1672
1888
  v4.z.union([v4.z.boolean(), v4.z.string(), v4.z.number(), v4.z.enum([])]),
1673
1889
  v4.z.array(v4.z.any()),
1674
1890
  v4.z.object({}).catchall(v4.z.any())
1675
1891
  ]),
1892
+ keywordMetrics: v4.z.union([
1893
+ v4.z.union([v4.z.boolean(), v4.z.string(), v4.z.number(), v4.z.enum([])]),
1894
+ v4.z.array(v4.z.any()),
1895
+ v4.z.object({}).catchall(v4.z.any())
1896
+ ]),
1897
+ websitePageIds: v4.z.union([
1898
+ v4.z.union([v4.z.boolean(), v4.z.string(), v4.z.number(), v4.z.enum([])]),
1899
+ v4.z.array(v4.z.any()),
1900
+ v4.z.object({}).catchall(v4.z.any())
1901
+ ]),
1902
+ calloutIds: v4.z.union([
1903
+ v4.z.union([v4.z.boolean(), v4.z.string(), v4.z.number(), v4.z.enum([])]),
1904
+ v4.z.array(v4.z.any()),
1905
+ v4.z.object({}).catchall(v4.z.any())
1906
+ ]),
1676
1907
  publishedContentHash: v4.z.nullable(v4.z.string()),
1677
1908
  publishedAt: v4.z.nullable(v4.z.any()),
1678
1909
  pushedKeywords: v4.z.nullable(
@@ -1682,6 +1913,7 @@ const fetchAdsResponseSchema = v4.z.array(
1682
1913
  v4.z.object({}).catchall(v4.z.any())
1683
1914
  ])
1684
1915
  ),
1916
+ dailyBudget: v4.z.nullable(v4.z.int().min(-2147483648).max(2147483647)),
1685
1917
  createdBy: v4.z.nullable(v4.z.string()),
1686
1918
  updatedBy: v4.z.nullable(v4.z.string()),
1687
1919
  createdAt: v4.z.nullable(v4.z.any()),
@@ -2953,6 +3185,22 @@ const getBasketTotalsResponseSchema = v4.z.object({
2953
3185
  )
2954
3186
  });
2955
3187
 
3188
+ const getCalloutsResponseSchema = v4.z.array(
3189
+ v4.z.object({
3190
+ id: v4.z.string(),
3191
+ venueId: v4.z.string(),
3192
+ label: v4.z.union([
3193
+ v4.z.union([v4.z.boolean(), v4.z.string(), v4.z.number(), v4.z.enum([])]),
3194
+ v4.z.array(v4.z.any()),
3195
+ v4.z.object({}).catchall(v4.z.any())
3196
+ ]),
3197
+ createdBy: v4.z.nullable(v4.z.string()),
3198
+ updatedBy: v4.z.nullable(v4.z.string()),
3199
+ createdAt: v4.z.any(),
3200
+ updatedAt: v4.z.any()
3201
+ })
3202
+ );
3203
+
2956
3204
  const subscriptionCreditStatusSchema = v4.z.enum([
2957
3205
  "available",
2958
3206
  "redeemed",
@@ -3030,6 +3278,30 @@ const getVenueResponseSchema = v4.z.object({
3030
3278
  "A venue. The public API exposes only the minimal id + accessor + naming + locale fields the CLI's `venues use` / `auth whoami` consume."
3031
3279
  );
3032
3280
 
3281
+ const getWebsitePagesResponseSchema = v4.z.array(
3282
+ v4.z.object({
3283
+ id: v4.z.string(),
3284
+ venueId: v4.z.string(),
3285
+ get ownerType() {
3286
+ return websitePageOwnerTypeSchema;
3287
+ },
3288
+ ownerId: v4.z.nullable(v4.z.string()),
3289
+ label: v4.z.nullable(
3290
+ v4.z.union([
3291
+ v4.z.union([v4.z.boolean(), v4.z.string(), v4.z.number(), v4.z.enum([])]),
3292
+ v4.z.array(v4.z.any()),
3293
+ v4.z.object({}).catchall(v4.z.any())
3294
+ ])
3295
+ ),
3296
+ path: v4.z.nullable(v4.z.string()),
3297
+ externalUrl: v4.z.nullable(v4.z.string()),
3298
+ createdBy: v4.z.nullable(v4.z.string()),
3299
+ updatedBy: v4.z.nullable(v4.z.string()),
3300
+ createdAt: v4.z.any(),
3301
+ updatedAt: v4.z.any()
3302
+ })
3303
+ );
3304
+
3033
3305
  const integrationNotificationTypeSchema = v4.z.enum([
3034
3306
  "order_created",
3035
3307
  "order_cancelled",
@@ -3086,6 +3358,8 @@ const joinTeamOrderResponseSchema = v4.z.object({
3086
3358
 
3087
3359
  const jurisdictionSchema = v4.z.enum(["DE", "CH", "FR", "IT"]);
3088
3360
 
3361
+ const keywordPolaritySchema = v4.z.enum(["positive", "negative"]);
3362
+
3089
3363
  const localeSchema = v4.z.enum([
3090
3364
  "aa",
3091
3365
  "ab",
@@ -3522,6 +3796,17 @@ const roleSchema = v4.z.enum([
3522
3796
  "rider"
3523
3797
  ]);
3524
3798
 
3799
+ const saveAdCalloutsRequestSchema = v4.z.object({
3800
+ venueAccessor: v4.z.string().min(1),
3801
+ adId: v4.z.string().min(1),
3802
+ calloutIds: v4.z.array(v4.z.string().min(1))
3803
+ });
3804
+
3805
+ const saveAdCalloutsResponseSchema = v4.z.object({
3806
+ success: v4.z.boolean(),
3807
+ calloutIds: v4.z.array(v4.z.string())
3808
+ });
3809
+
3525
3810
  const saveAdKeywordsRequestSchema = v4.z.object({
3526
3811
  venueAccessor: v4.z.string().min(1),
3527
3812
  adId: v4.z.string().min(1),
@@ -3537,8 +3822,135 @@ const saveAdKeywordsResponseSchema = v4.z.object({
3537
3822
  disabledVenueKeywords: v4.z.array(v4.z.string())
3538
3823
  });
3539
3824
 
3825
+ const saveAdNegativeKeywordsRequestSchema = v4.z.object({
3826
+ venueAccessor: v4.z.string().min(1),
3827
+ adId: v4.z.string().min(1),
3828
+ negativeKeywords: v4.z.array(v4.z.string().min(1)),
3829
+ disabledVenueNegativeKeywords: v4.z.array(v4.z.string().min(1))
3830
+ });
3831
+
3832
+ const saveAdNegativeKeywordsResponseSchema = v4.z.object({
3833
+ success: v4.z.boolean(),
3834
+ negativeKeywords: v4.z.array(v4.z.string()),
3835
+ disabledVenueNegativeKeywords: v4.z.array(v4.z.string()),
3836
+ syncedToGoogle: v4.z.boolean()
3837
+ });
3838
+
3839
+ const saveAdWebsitePagesRequestSchema = v4.z.object({
3840
+ venueAccessor: v4.z.string().min(1),
3841
+ adId: v4.z.string().min(1),
3842
+ websitePageIds: v4.z.array(v4.z.string().min(1))
3843
+ });
3844
+
3845
+ const saveAdWebsitePagesResponseSchema = v4.z.object({
3846
+ success: v4.z.boolean(),
3847
+ websitePageIds: v4.z.array(v4.z.string())
3848
+ });
3849
+
3540
3850
  const scanTokenEntityTypeSchema = v4.z.enum(["order", "depositware"]);
3541
3851
 
3852
+ const setAdBudgetRequestSchema = v4.z.object({
3853
+ venueAccessor: v4.z.string().min(1),
3854
+ adId: v4.z.string().min(1),
3855
+ dailyBudget: v4.z.int().max(9007199254740991).gt(0)
3856
+ });
3857
+
3858
+ const setAdBudgetResponseSchema = v4.z.object({
3859
+ id: v4.z.string(),
3860
+ venueId: v4.z.string(),
3861
+ get ownerEntityType() {
3862
+ return adOwnerTypeSchema;
3863
+ },
3864
+ ownerEntityId: v4.z.string(),
3865
+ get channel() {
3866
+ return adChannelSchema;
3867
+ },
3868
+ get status() {
3869
+ return adStatusSchema;
3870
+ },
3871
+ campaignId: v4.z.nullable(v4.z.string()),
3872
+ content: v4.z.union([
3873
+ v4.z.union([v4.z.boolean(), v4.z.string(), v4.z.number(), v4.z.enum([])]),
3874
+ v4.z.array(v4.z.any()),
3875
+ v4.z.object({}).catchall(v4.z.any())
3876
+ ]),
3877
+ metaContent: v4.z.nullable(
3878
+ v4.z.union([
3879
+ v4.z.union([v4.z.boolean(), v4.z.string(), v4.z.number(), v4.z.enum([])]),
3880
+ v4.z.array(v4.z.any()),
3881
+ v4.z.object({}).catchall(v4.z.any())
3882
+ ])
3883
+ ),
3884
+ metaRefs: v4.z.nullable(
3885
+ v4.z.union([
3886
+ v4.z.union([v4.z.boolean(), v4.z.string(), v4.z.number(), v4.z.enum([])]),
3887
+ v4.z.array(v4.z.any()),
3888
+ v4.z.object({}).catchall(v4.z.any())
3889
+ ])
3890
+ ),
3891
+ servedMarket: v4.z.nullable(
3892
+ v4.z.union([
3893
+ v4.z.union([v4.z.boolean(), v4.z.string(), v4.z.number(), v4.z.enum([])]),
3894
+ v4.z.array(v4.z.any()),
3895
+ v4.z.object({}).catchall(v4.z.any())
3896
+ ])
3897
+ ),
3898
+ keywords: v4.z.union([
3899
+ v4.z.union([v4.z.boolean(), v4.z.string(), v4.z.number(), v4.z.enum([])]),
3900
+ v4.z.array(v4.z.any()),
3901
+ v4.z.object({}).catchall(v4.z.any())
3902
+ ]),
3903
+ negativeKeywords: v4.z.union([
3904
+ v4.z.union([v4.z.boolean(), v4.z.string(), v4.z.number(), v4.z.enum([])]),
3905
+ v4.z.array(v4.z.any()),
3906
+ v4.z.object({}).catchall(v4.z.any())
3907
+ ]),
3908
+ disabledVenueKeywords: v4.z.union([
3909
+ v4.z.union([v4.z.boolean(), v4.z.string(), v4.z.number(), v4.z.enum([])]),
3910
+ v4.z.array(v4.z.any()),
3911
+ v4.z.object({}).catchall(v4.z.any())
3912
+ ]),
3913
+ disabledVenueNegativeKeywords: v4.z.union([
3914
+ v4.z.union([v4.z.boolean(), v4.z.string(), v4.z.number(), v4.z.enum([])]),
3915
+ v4.z.array(v4.z.any()),
3916
+ v4.z.object({}).catchall(v4.z.any())
3917
+ ]),
3918
+ dismissedKeywords: v4.z.union([
3919
+ v4.z.union([v4.z.boolean(), v4.z.string(), v4.z.number(), v4.z.enum([])]),
3920
+ v4.z.array(v4.z.any()),
3921
+ v4.z.object({}).catchall(v4.z.any())
3922
+ ]),
3923
+ keywordMetrics: v4.z.union([
3924
+ v4.z.union([v4.z.boolean(), v4.z.string(), v4.z.number(), v4.z.enum([])]),
3925
+ v4.z.array(v4.z.any()),
3926
+ v4.z.object({}).catchall(v4.z.any())
3927
+ ]),
3928
+ websitePageIds: v4.z.union([
3929
+ v4.z.union([v4.z.boolean(), v4.z.string(), v4.z.number(), v4.z.enum([])]),
3930
+ v4.z.array(v4.z.any()),
3931
+ v4.z.object({}).catchall(v4.z.any())
3932
+ ]),
3933
+ calloutIds: v4.z.union([
3934
+ v4.z.union([v4.z.boolean(), v4.z.string(), v4.z.number(), v4.z.enum([])]),
3935
+ v4.z.array(v4.z.any()),
3936
+ v4.z.object({}).catchall(v4.z.any())
3937
+ ]),
3938
+ publishedContentHash: v4.z.nullable(v4.z.string()),
3939
+ publishedAt: v4.z.nullable(v4.z.any()),
3940
+ pushedKeywords: v4.z.nullable(
3941
+ v4.z.union([
3942
+ v4.z.union([v4.z.boolean(), v4.z.string(), v4.z.number(), v4.z.enum([])]),
3943
+ v4.z.array(v4.z.any()),
3944
+ v4.z.object({}).catchall(v4.z.any())
3945
+ ])
3946
+ ),
3947
+ dailyBudget: v4.z.nullable(v4.z.int().min(-2147483648).max(2147483647)),
3948
+ createdBy: v4.z.nullable(v4.z.string()),
3949
+ updatedBy: v4.z.nullable(v4.z.string()),
3950
+ createdAt: v4.z.nullable(v4.z.any()),
3951
+ updatedAt: v4.z.nullable(v4.z.any())
3952
+ });
3953
+
3542
3954
  const setArticleFeatureImageUploadBodySchema = v4.z.object({
3543
3955
  file: v4.z.string().describe("Image file (multipart/form-data field)")
3544
3956
  });
@@ -3731,6 +4143,26 @@ const teamOrderPaymentStatusSchema = v4.z.enum([
3731
4143
  "failed"
3732
4144
  ]);
3733
4145
 
4146
+ const updateCalloutRequestSchema = v4.z.object({
4147
+ venueAccessor: v4.z.string().min(1),
4148
+ id: v4.z.string().min(1),
4149
+ label: v4.z.object({}).catchall(v4.z.string().max(25))
4150
+ });
4151
+
4152
+ const updateCalloutResponseSchema = v4.z.object({
4153
+ id: v4.z.string(),
4154
+ venueId: v4.z.string(),
4155
+ label: v4.z.union([
4156
+ v4.z.union([v4.z.boolean(), v4.z.string(), v4.z.number(), v4.z.enum([])]),
4157
+ v4.z.array(v4.z.any()),
4158
+ v4.z.object({}).catchall(v4.z.any())
4159
+ ]),
4160
+ createdBy: v4.z.nullable(v4.z.string()),
4161
+ updatedBy: v4.z.nullable(v4.z.string()),
4162
+ createdAt: v4.z.any(),
4163
+ updatedAt: v4.z.any()
4164
+ });
4165
+
3734
4166
  const updateDeliveryAddressTeamOrderRequestSchema = v4.z.object({
3735
4167
  publicId: v4.z.string().min(1),
3736
4168
  sessionId: v4.z.string().min(1),
@@ -3744,6 +4176,35 @@ const updateDeliveryAddressTeamOrderResponseSchema = v4.z.object({
3744
4176
  deliveryAddressId: v4.z.string()
3745
4177
  });
3746
4178
 
4179
+ const updateWebsitePageRequestSchema = v4.z.object({
4180
+ venueAccessor: v4.z.string().min(1),
4181
+ id: v4.z.string().min(1),
4182
+ label: v4.z.object({}).catchall(v4.z.string()).nullish(),
4183
+ target: v4.z.string().min(1)
4184
+ });
4185
+
4186
+ const updateWebsitePageResponseSchema = v4.z.object({
4187
+ id: v4.z.string(),
4188
+ venueId: v4.z.string(),
4189
+ get ownerType() {
4190
+ return websitePageOwnerTypeSchema;
4191
+ },
4192
+ ownerId: v4.z.nullable(v4.z.string()),
4193
+ label: v4.z.nullable(
4194
+ v4.z.union([
4195
+ v4.z.union([v4.z.boolean(), v4.z.string(), v4.z.number(), v4.z.enum([])]),
4196
+ v4.z.array(v4.z.any()),
4197
+ v4.z.object({}).catchall(v4.z.any())
4198
+ ])
4199
+ ),
4200
+ path: v4.z.nullable(v4.z.string()),
4201
+ externalUrl: v4.z.nullable(v4.z.string()),
4202
+ createdBy: v4.z.nullable(v4.z.string()),
4203
+ updatedBy: v4.z.nullable(v4.z.string()),
4204
+ createdAt: v4.z.any(),
4205
+ updatedAt: v4.z.any()
4206
+ });
4207
+
3747
4208
  const uploadAssetResponseSchema = v4.z.object({
3748
4209
  asset: v4.z.object({
3749
4210
  id: v4.z.string(),
@@ -3853,6 +4314,8 @@ const schemas = {
3853
4314
  CountryCode: countryCodeSchema,
3854
4315
  CreateAdRequest: createAdRequestSchema,
3855
4316
  CreateAdResponse: createAdResponseSchema,
4317
+ CreateCalloutRequest: createCalloutRequestSchema,
4318
+ CreateCalloutResponse: createCalloutResponseSchema,
3856
4319
  CreateDeltaPaymentIntentRequest: createDeltaPaymentIntentRequestSchema,
3857
4320
  CreateDeltaPaymentIntentResponse: createDeltaPaymentIntentResponseSchema,
3858
4321
  CreateEventRequest: createEventRequestSchema,
@@ -3861,11 +4324,15 @@ const schemas = {
3861
4324
  CreatePaymentIntentResponse: createPaymentIntentResponseSchema,
3862
4325
  CreateTeamOrderRequest: createTeamOrderRequestSchema,
3863
4326
  CreateTeamOrderResponse: createTeamOrderResponseSchema,
4327
+ CreateWebsitePageRequest: createWebsitePageRequestSchema,
4328
+ CreateWebsitePageResponse: createWebsitePageResponseSchema,
3864
4329
  Currency: currencySchema,
3865
4330
  DayOfWeek: dayOfWeekSchema,
3866
4331
  DeleteAdResponse: deleteAdResponseSchema,
3867
4332
  DeleteAssetResponse: deleteAssetResponseSchema,
4333
+ DeleteCalloutResponse: deleteCalloutResponseSchema,
3868
4334
  DeleteEventResponse: deleteEventResponseSchema,
4335
+ DeleteWebsitePageResponse: deleteWebsitePageResponseSchema,
3869
4336
  DeliveryAddress: deliveryAddressSchema.deliveryAddressSchema,
3870
4337
  DepositTransactionType: depositTransactionTypeSchema,
3871
4338
  DepositwareStatus: depositwareStatusSchema,
@@ -3911,9 +4378,11 @@ const schemas = {
3911
4378
  GetAreaAvailabilityResponse: getAreaAvailabilityResponseSchema,
3912
4379
  GetBasketTotalsRequest: getBasketTotalsRequestSchema,
3913
4380
  GetBasketTotalsResponse: getBasketTotalsResponseSchema,
4381
+ GetCalloutsResponse: getCalloutsResponseSchema,
3914
4382
  GetSubscriptionCreditsResponse: getSubscriptionCreditsResponseSchema,
3915
4383
  GetSubscriptionResponse: getSubscriptionResponseSchema,
3916
4384
  GetVenueResponse: getVenueResponseSchema,
4385
+ GetWebsitePagesResponse: getWebsitePagesResponseSchema,
3917
4386
  IntegrationNotificationType: integrationNotificationTypeSchema,
3918
4387
  IntegrationType: integrationTypeSchema,
3919
4388
  InventoryAssetStatus: inventoryAssetStatusSchema,
@@ -3922,6 +4391,7 @@ const schemas = {
3922
4391
  JoinTeamOrderRequest: joinTeamOrderRequestSchema,
3923
4392
  JoinTeamOrderResponse: joinTeamOrderResponseSchema,
3924
4393
  Jurisdiction: jurisdictionSchema,
4394
+ KeywordPolarity: keywordPolaritySchema,
3925
4395
  Locale: localeSchema,
3926
4396
  MakeReservationRequest: makeReservationRequestSchema,
3927
4397
  MakeReservationResponse: makeReservationResponseSchema,
@@ -3951,10 +4421,18 @@ const schemas = {
3951
4421
  ReservationStatus: reservationStatusSchema,
3952
4422
  RitualType: ritualTypeSchema,
3953
4423
  Role: roleSchema,
4424
+ SaveAdCalloutsRequest: saveAdCalloutsRequestSchema,
4425
+ SaveAdCalloutsResponse: saveAdCalloutsResponseSchema,
3954
4426
  SaveAdKeywordsRequest: saveAdKeywordsRequestSchema,
3955
4427
  SaveAdKeywordsResponse: saveAdKeywordsResponseSchema,
4428
+ SaveAdNegativeKeywordsRequest: saveAdNegativeKeywordsRequestSchema,
4429
+ SaveAdNegativeKeywordsResponse: saveAdNegativeKeywordsResponseSchema,
4430
+ SaveAdWebsitePagesRequest: saveAdWebsitePagesRequestSchema,
4431
+ SaveAdWebsitePagesResponse: saveAdWebsitePagesResponseSchema,
3956
4432
  ScanTokenEntityType: scanTokenEntityTypeSchema,
3957
4433
  Schedule: scheduleSchema,
4434
+ SetAdBudgetRequest: setAdBudgetRequestSchema,
4435
+ SetAdBudgetResponse: setAdBudgetResponseSchema,
3958
4436
  SetArticleFeatureImageUploadBody: setArticleFeatureImageUploadBodySchema,
3959
4437
  SetBasketDeclaredReturnsRequest: setBasketDeclaredReturnsRequestSchema,
3960
4438
  SetBasketDeclaredReturnsResponse: setBasketDeclaredReturnsResponseSchema,
@@ -3982,14 +4460,19 @@ const schemas = {
3982
4460
  TeamOrderPaymentStatus: teamOrderPaymentStatusSchema,
3983
4461
  TeamOrderStatus: deliveryAddressSchema.teamOrderStatusSchema,
3984
4462
  Unit: unitSchema,
4463
+ UpdateCalloutRequest: updateCalloutRequestSchema,
4464
+ UpdateCalloutResponse: updateCalloutResponseSchema,
3985
4465
  UpdateDeliveryAddressTeamOrderRequest: updateDeliveryAddressTeamOrderRequestSchema,
3986
4466
  UpdateDeliveryAddressTeamOrderResponse: updateDeliveryAddressTeamOrderResponseSchema,
4467
+ UpdateWebsitePageRequest: updateWebsitePageRequestSchema,
4468
+ UpdateWebsitePageResponse: updateWebsitePageResponseSchema,
3987
4469
  UploadAssetResponse: uploadAssetResponseSchema,
3988
4470
  VenueAssetType: venueAssetTypeSchema,
3989
4471
  VenueChargeType: venueChargeTypeSchema,
3990
4472
  VenueEmailSenderStatus: venueEmailSenderStatusSchema,
3991
4473
  VenueType: venueTypeSchema,
3992
- VenueUserStatus: venueUserStatusSchema
4474
+ VenueUserStatus: venueUserStatusSchema,
4475
+ WebsitePageOwnerType: websitePageOwnerTypeSchema
3993
4476
  };
3994
4477
 
3995
4478
  exports.schemas = schemas;