order3000 1.4.0 → 1.5.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/client.cjs CHANGED
@@ -220,6 +220,23 @@ class AdsResource extends BaseResource {
220
220
  body
221
221
  );
222
222
  }
223
+ /**
224
+ * Replace the ad's three owner-managed keyword sets in one shot: the
225
+ * active positive `keywords` the campaign bids on (alongside the venue
226
+ * keywords), the reversible `dismissedKeywords`, and the
227
+ * `disabledVenueKeywords` (venue keywords toggled off for this event).
228
+ * Every set is replaced wholesale — call {@link get} first and resend
229
+ * the full set to preserve existing entries. Texts are lowercased +
230
+ * de-duplicated server-side; an empty array clears that set. Returns the
231
+ * cleaned, persisted sets.
232
+ */
233
+ async saveKeywords(adId, body) {
234
+ return this.request(
235
+ "PATCH",
236
+ `/${encodeURIComponent(adId)}/keywords`,
237
+ body
238
+ );
239
+ }
223
240
  /**
224
241
  * Permanently delete an ad by id. Returns the deleted ad row.
225
242
  */
package/dist/client.d.cts CHANGED
@@ -80,8 +80,17 @@ interface components {
80
80
  negativeKeywords: (string | number | boolean | (null)) | {
81
81
  [key: string]: unknown;
82
82
  } | unknown[];
83
+ disabledVenueKeywords: (string | number | boolean | (null)) | {
84
+ [key: string]: unknown;
85
+ } | unknown[];
86
+ dismissedKeywords: (string | number | boolean | (null)) | {
87
+ [key: string]: unknown;
88
+ } | unknown[];
83
89
  publishedContentHash: string | null;
84
90
  publishedAt: unknown;
91
+ pushedKeywords: ((string | number | boolean | (null)) | {
92
+ [key: string]: unknown;
93
+ } | unknown[]) | null;
85
94
  createdBy: string | null;
86
95
  updatedBy: string | null;
87
96
  createdAt: unknown;
@@ -105,8 +114,17 @@ interface components {
105
114
  negativeKeywords: (string | number | boolean | (null)) | {
106
115
  [key: string]: unknown;
107
116
  } | unknown[];
117
+ disabledVenueKeywords: (string | number | boolean | (null)) | {
118
+ [key: string]: unknown;
119
+ } | unknown[];
120
+ dismissedKeywords: (string | number | boolean | (null)) | {
121
+ [key: string]: unknown;
122
+ } | unknown[];
108
123
  publishedContentHash: string | null;
109
124
  publishedAt: unknown;
125
+ pushedKeywords: ((string | number | boolean | (null)) | {
126
+ [key: string]: unknown;
127
+ } | unknown[]) | null;
110
128
  createdBy: string | null;
111
129
  updatedBy: string | null;
112
130
  createdAt: unknown;
@@ -143,8 +161,17 @@ interface components {
143
161
  negativeKeywords: (string | number | boolean | (null)) | {
144
162
  [key: string]: unknown;
145
163
  } | unknown[];
164
+ disabledVenueKeywords: (string | number | boolean | (null)) | {
165
+ [key: string]: unknown;
166
+ } | unknown[];
167
+ dismissedKeywords: (string | number | boolean | (null)) | {
168
+ [key: string]: unknown;
169
+ } | unknown[];
146
170
  publishedContentHash: string | null;
147
171
  publishedAt: unknown;
172
+ pushedKeywords: ((string | number | boolean | (null)) | {
173
+ [key: string]: unknown;
174
+ } | unknown[]) | null;
148
175
  createdBy: string | null;
149
176
  updatedBy: string | null;
150
177
  createdAt: unknown;
@@ -196,13 +223,37 @@ interface components {
196
223
  negativeKeywords: (string | number | boolean | (null)) | {
197
224
  [key: string]: unknown;
198
225
  } | unknown[];
226
+ disabledVenueKeywords: (string | number | boolean | (null)) | {
227
+ [key: string]: unknown;
228
+ } | unknown[];
229
+ dismissedKeywords: (string | number | boolean | (null)) | {
230
+ [key: string]: unknown;
231
+ } | unknown[];
199
232
  publishedContentHash: string | null;
200
233
  publishedAt: unknown;
234
+ pushedKeywords: ((string | number | boolean | (null)) | {
235
+ [key: string]: unknown;
236
+ } | unknown[]) | null;
201
237
  createdBy: string | null;
202
238
  updatedBy: string | null;
203
239
  createdAt: unknown;
204
240
  updatedAt: unknown;
205
241
  };
242
+ /** SaveAdKeywordsRequest */
243
+ SaveAdKeywordsRequest: {
244
+ venueAccessor: string;
245
+ adId: string;
246
+ keywords: string[];
247
+ dismissedKeywords: string[];
248
+ disabledVenueKeywords: string[];
249
+ };
250
+ /** SaveAdKeywordsResponse */
251
+ SaveAdKeywordsResponse: {
252
+ success: boolean;
253
+ keywords: string[];
254
+ dismissedKeywords: string[];
255
+ disabledVenueKeywords: string[];
256
+ };
206
257
  /** DeleteAdResponse */
207
258
  DeleteAdResponse: {
208
259
  id: string;
@@ -221,8 +272,17 @@ interface components {
221
272
  negativeKeywords: (string | number | boolean | (null)) | {
222
273
  [key: string]: unknown;
223
274
  } | unknown[];
275
+ disabledVenueKeywords: (string | number | boolean | (null)) | {
276
+ [key: string]: unknown;
277
+ } | unknown[];
278
+ dismissedKeywords: (string | number | boolean | (null)) | {
279
+ [key: string]: unknown;
280
+ } | unknown[];
224
281
  publishedContentHash: string | null;
225
282
  publishedAt: unknown;
283
+ pushedKeywords: ((string | number | boolean | (null)) | {
284
+ [key: string]: unknown;
285
+ } | unknown[]) | null;
226
286
  createdBy: string | null;
227
287
  updatedBy: string | null;
228
288
  createdAt: unknown;
@@ -2251,7 +2311,7 @@ interface components {
2251
2311
  /** @enum {string} */
2252
2312
  BeverageCategory: "wine" | "beer" | "coffee" | "tea" | "cocktail" | "juice" | "soft_drink" | "dairy_drink" | "spirit" | "water";
2253
2313
  /** @enum {string} */
2254
- CancellationReason: "customer_request" | "restaurant_request";
2314
+ CancellationReason: "guest_request" | "restaurant_request";
2255
2315
  /** @enum {string} */
2256
2316
  ContactPreference: "email" | "phone" | "sms" | "none";
2257
2317
  /** @enum {string} */
@@ -2331,7 +2391,7 @@ interface components {
2331
2391
  /** @enum {string} */
2332
2392
  TeamOrderPaymentStatus: "authorized" | "captured" | "cash_pending" | "cash_received" | "voided" | "failed";
2333
2393
  /** @enum {string} */
2334
- FeatureCategory: "articles" | "auth" | "billing" | "core" | "customers" | "events" | "inventory" | "menus" | "orders" | "platform" | "promotions" | "reservations" | "settings" | "venues";
2394
+ FeatureCategory: "articles" | "auth" | "billing" | "core" | "guests" | "events" | "inventory" | "menus" | "orders" | "platform" | "promotions" | "reservations" | "settings" | "venues";
2335
2395
  /** @enum {string} */
2336
2396
  FeatureStatus: "backlog" | "in_development" | "released";
2337
2397
  /** @enum {string} */
@@ -2401,6 +2461,8 @@ type CreateAdResponse = schemas['CreateAdResponse'];
2401
2461
  type PatchAdRequest = schemas['EditAdRequest'];
2402
2462
  type PatchAdResponse = schemas['EditAdResponse'];
2403
2463
  type DeleteAdResponse = schemas['DeleteAdResponse'];
2464
+ type SaveAdKeywordsRequest = schemas['SaveAdKeywordsRequest'];
2465
+ type SaveAdKeywordsResponse = schemas['SaveAdKeywordsResponse'];
2404
2466
  /**
2405
2467
  * Optional filters for `client.ads.list()`. Each narrows the venue's ad
2406
2468
  * set; omit all to list every ad. Client ergonomics, mapped to the wire
@@ -2802,6 +2864,17 @@ declare class AdsResource extends BaseResource {
2802
2864
  * lifecycle. Returns the resulting ad.
2803
2865
  */
2804
2866
  patch(adId: string, body: PatchAdRequest): Promise<PatchAdResponse>;
2867
+ /**
2868
+ * Replace the ad's three owner-managed keyword sets in one shot: the
2869
+ * active positive `keywords` the campaign bids on (alongside the venue
2870
+ * keywords), the reversible `dismissedKeywords`, and the
2871
+ * `disabledVenueKeywords` (venue keywords toggled off for this event).
2872
+ * Every set is replaced wholesale — call {@link get} first and resend
2873
+ * the full set to preserve existing entries. Texts are lowercased +
2874
+ * de-duplicated server-side; an empty array clears that set. Returns the
2875
+ * cleaned, persisted sets.
2876
+ */
2877
+ saveKeywords(adId: string, body: SaveAdKeywordsRequest): Promise<SaveAdKeywordsResponse>;
2805
2878
  /**
2806
2879
  * Permanently delete an ad by id. Returns the deleted ad row.
2807
2880
  */
package/dist/client.d.mts CHANGED
@@ -80,8 +80,17 @@ interface components {
80
80
  negativeKeywords: (string | number | boolean | (null)) | {
81
81
  [key: string]: unknown;
82
82
  } | unknown[];
83
+ disabledVenueKeywords: (string | number | boolean | (null)) | {
84
+ [key: string]: unknown;
85
+ } | unknown[];
86
+ dismissedKeywords: (string | number | boolean | (null)) | {
87
+ [key: string]: unknown;
88
+ } | unknown[];
83
89
  publishedContentHash: string | null;
84
90
  publishedAt: unknown;
91
+ pushedKeywords: ((string | number | boolean | (null)) | {
92
+ [key: string]: unknown;
93
+ } | unknown[]) | null;
85
94
  createdBy: string | null;
86
95
  updatedBy: string | null;
87
96
  createdAt: unknown;
@@ -105,8 +114,17 @@ interface components {
105
114
  negativeKeywords: (string | number | boolean | (null)) | {
106
115
  [key: string]: unknown;
107
116
  } | unknown[];
117
+ disabledVenueKeywords: (string | number | boolean | (null)) | {
118
+ [key: string]: unknown;
119
+ } | unknown[];
120
+ dismissedKeywords: (string | number | boolean | (null)) | {
121
+ [key: string]: unknown;
122
+ } | unknown[];
108
123
  publishedContentHash: string | null;
109
124
  publishedAt: unknown;
125
+ pushedKeywords: ((string | number | boolean | (null)) | {
126
+ [key: string]: unknown;
127
+ } | unknown[]) | null;
110
128
  createdBy: string | null;
111
129
  updatedBy: string | null;
112
130
  createdAt: unknown;
@@ -143,8 +161,17 @@ interface components {
143
161
  negativeKeywords: (string | number | boolean | (null)) | {
144
162
  [key: string]: unknown;
145
163
  } | unknown[];
164
+ disabledVenueKeywords: (string | number | boolean | (null)) | {
165
+ [key: string]: unknown;
166
+ } | unknown[];
167
+ dismissedKeywords: (string | number | boolean | (null)) | {
168
+ [key: string]: unknown;
169
+ } | unknown[];
146
170
  publishedContentHash: string | null;
147
171
  publishedAt: unknown;
172
+ pushedKeywords: ((string | number | boolean | (null)) | {
173
+ [key: string]: unknown;
174
+ } | unknown[]) | null;
148
175
  createdBy: string | null;
149
176
  updatedBy: string | null;
150
177
  createdAt: unknown;
@@ -196,13 +223,37 @@ interface components {
196
223
  negativeKeywords: (string | number | boolean | (null)) | {
197
224
  [key: string]: unknown;
198
225
  } | unknown[];
226
+ disabledVenueKeywords: (string | number | boolean | (null)) | {
227
+ [key: string]: unknown;
228
+ } | unknown[];
229
+ dismissedKeywords: (string | number | boolean | (null)) | {
230
+ [key: string]: unknown;
231
+ } | unknown[];
199
232
  publishedContentHash: string | null;
200
233
  publishedAt: unknown;
234
+ pushedKeywords: ((string | number | boolean | (null)) | {
235
+ [key: string]: unknown;
236
+ } | unknown[]) | null;
201
237
  createdBy: string | null;
202
238
  updatedBy: string | null;
203
239
  createdAt: unknown;
204
240
  updatedAt: unknown;
205
241
  };
242
+ /** SaveAdKeywordsRequest */
243
+ SaveAdKeywordsRequest: {
244
+ venueAccessor: string;
245
+ adId: string;
246
+ keywords: string[];
247
+ dismissedKeywords: string[];
248
+ disabledVenueKeywords: string[];
249
+ };
250
+ /** SaveAdKeywordsResponse */
251
+ SaveAdKeywordsResponse: {
252
+ success: boolean;
253
+ keywords: string[];
254
+ dismissedKeywords: string[];
255
+ disabledVenueKeywords: string[];
256
+ };
206
257
  /** DeleteAdResponse */
207
258
  DeleteAdResponse: {
208
259
  id: string;
@@ -221,8 +272,17 @@ interface components {
221
272
  negativeKeywords: (string | number | boolean | (null)) | {
222
273
  [key: string]: unknown;
223
274
  } | unknown[];
275
+ disabledVenueKeywords: (string | number | boolean | (null)) | {
276
+ [key: string]: unknown;
277
+ } | unknown[];
278
+ dismissedKeywords: (string | number | boolean | (null)) | {
279
+ [key: string]: unknown;
280
+ } | unknown[];
224
281
  publishedContentHash: string | null;
225
282
  publishedAt: unknown;
283
+ pushedKeywords: ((string | number | boolean | (null)) | {
284
+ [key: string]: unknown;
285
+ } | unknown[]) | null;
226
286
  createdBy: string | null;
227
287
  updatedBy: string | null;
228
288
  createdAt: unknown;
@@ -2251,7 +2311,7 @@ interface components {
2251
2311
  /** @enum {string} */
2252
2312
  BeverageCategory: "wine" | "beer" | "coffee" | "tea" | "cocktail" | "juice" | "soft_drink" | "dairy_drink" | "spirit" | "water";
2253
2313
  /** @enum {string} */
2254
- CancellationReason: "customer_request" | "restaurant_request";
2314
+ CancellationReason: "guest_request" | "restaurant_request";
2255
2315
  /** @enum {string} */
2256
2316
  ContactPreference: "email" | "phone" | "sms" | "none";
2257
2317
  /** @enum {string} */
@@ -2331,7 +2391,7 @@ interface components {
2331
2391
  /** @enum {string} */
2332
2392
  TeamOrderPaymentStatus: "authorized" | "captured" | "cash_pending" | "cash_received" | "voided" | "failed";
2333
2393
  /** @enum {string} */
2334
- FeatureCategory: "articles" | "auth" | "billing" | "core" | "customers" | "events" | "inventory" | "menus" | "orders" | "platform" | "promotions" | "reservations" | "settings" | "venues";
2394
+ FeatureCategory: "articles" | "auth" | "billing" | "core" | "guests" | "events" | "inventory" | "menus" | "orders" | "platform" | "promotions" | "reservations" | "settings" | "venues";
2335
2395
  /** @enum {string} */
2336
2396
  FeatureStatus: "backlog" | "in_development" | "released";
2337
2397
  /** @enum {string} */
@@ -2401,6 +2461,8 @@ type CreateAdResponse = schemas['CreateAdResponse'];
2401
2461
  type PatchAdRequest = schemas['EditAdRequest'];
2402
2462
  type PatchAdResponse = schemas['EditAdResponse'];
2403
2463
  type DeleteAdResponse = schemas['DeleteAdResponse'];
2464
+ type SaveAdKeywordsRequest = schemas['SaveAdKeywordsRequest'];
2465
+ type SaveAdKeywordsResponse = schemas['SaveAdKeywordsResponse'];
2404
2466
  /**
2405
2467
  * Optional filters for `client.ads.list()`. Each narrows the venue's ad
2406
2468
  * set; omit all to list every ad. Client ergonomics, mapped to the wire
@@ -2802,6 +2864,17 @@ declare class AdsResource extends BaseResource {
2802
2864
  * lifecycle. Returns the resulting ad.
2803
2865
  */
2804
2866
  patch(adId: string, body: PatchAdRequest): Promise<PatchAdResponse>;
2867
+ /**
2868
+ * Replace the ad's three owner-managed keyword sets in one shot: the
2869
+ * active positive `keywords` the campaign bids on (alongside the venue
2870
+ * keywords), the reversible `dismissedKeywords`, and the
2871
+ * `disabledVenueKeywords` (venue keywords toggled off for this event).
2872
+ * Every set is replaced wholesale — call {@link get} first and resend
2873
+ * the full set to preserve existing entries. Texts are lowercased +
2874
+ * de-duplicated server-side; an empty array clears that set. Returns the
2875
+ * cleaned, persisted sets.
2876
+ */
2877
+ saveKeywords(adId: string, body: SaveAdKeywordsRequest): Promise<SaveAdKeywordsResponse>;
2805
2878
  /**
2806
2879
  * Permanently delete an ad by id. Returns the deleted ad row.
2807
2880
  */
package/dist/client.mjs CHANGED
@@ -219,6 +219,23 @@ class AdsResource extends BaseResource {
219
219
  body
220
220
  );
221
221
  }
222
+ /**
223
+ * Replace the ad's three owner-managed keyword sets in one shot: the
224
+ * active positive `keywords` the campaign bids on (alongside the venue
225
+ * keywords), the reversible `dismissedKeywords`, and the
226
+ * `disabledVenueKeywords` (venue keywords toggled off for this event).
227
+ * Every set is replaced wholesale — call {@link get} first and resend
228
+ * the full set to preserve existing entries. Texts are lowercased +
229
+ * de-duplicated server-side; an empty array clears that set. Returns the
230
+ * cleaned, persisted sets.
231
+ */
232
+ async saveKeywords(adId, body) {
233
+ return this.request(
234
+ "PATCH",
235
+ `/${encodeURIComponent(adId)}/keywords`,
236
+ body
237
+ );
238
+ }
222
239
  /**
223
240
  * Permanently delete an ad by id. Returns the deleted ad row.
224
241
  */
package/dist/schemas.cjs CHANGED
@@ -276,7 +276,7 @@ const cancelTeamOrderResponseSchema = v4.z.object({
276
276
  });
277
277
 
278
278
  const cancellationReasonSchema = v4.z.enum([
279
- "customer_request",
279
+ "guest_request",
280
280
  "restaurant_request"
281
281
  ]);
282
282
 
@@ -590,8 +590,25 @@ const createAdResponseSchema = v4.z.object({
590
590
  v4.z.array(v4.z.any()),
591
591
  v4.z.object({}).catchall(v4.z.any())
592
592
  ]),
593
+ disabledVenueKeywords: v4.z.union([
594
+ v4.z.union([v4.z.boolean(), v4.z.string(), v4.z.number(), v4.z.enum([])]),
595
+ v4.z.array(v4.z.any()),
596
+ v4.z.object({}).catchall(v4.z.any())
597
+ ]),
598
+ dismissedKeywords: v4.z.union([
599
+ v4.z.union([v4.z.boolean(), v4.z.string(), v4.z.number(), v4.z.enum([])]),
600
+ v4.z.array(v4.z.any()),
601
+ v4.z.object({}).catchall(v4.z.any())
602
+ ]),
593
603
  publishedContentHash: v4.z.nullable(v4.z.string()),
594
604
  publishedAt: v4.z.nullable(v4.z.any()),
605
+ pushedKeywords: v4.z.nullable(
606
+ v4.z.union([
607
+ v4.z.union([v4.z.boolean(), v4.z.string(), v4.z.number(), v4.z.enum([])]),
608
+ v4.z.array(v4.z.any()),
609
+ v4.z.object({}).catchall(v4.z.any())
610
+ ])
611
+ ),
595
612
  createdBy: v4.z.nullable(v4.z.string()),
596
613
  updatedBy: v4.z.nullable(v4.z.string()),
597
614
  createdAt: v4.z.nullable(v4.z.any()),
@@ -813,8 +830,25 @@ const deleteAdResponseSchema = v4.z.object({
813
830
  v4.z.array(v4.z.any()),
814
831
  v4.z.object({}).catchall(v4.z.any())
815
832
  ]),
833
+ disabledVenueKeywords: v4.z.union([
834
+ v4.z.union([v4.z.boolean(), v4.z.string(), v4.z.number(), v4.z.enum([])]),
835
+ v4.z.array(v4.z.any()),
836
+ v4.z.object({}).catchall(v4.z.any())
837
+ ]),
838
+ dismissedKeywords: v4.z.union([
839
+ v4.z.union([v4.z.boolean(), v4.z.string(), v4.z.number(), v4.z.enum([])]),
840
+ v4.z.array(v4.z.any()),
841
+ v4.z.object({}).catchall(v4.z.any())
842
+ ]),
816
843
  publishedContentHash: v4.z.nullable(v4.z.string()),
817
844
  publishedAt: v4.z.nullable(v4.z.any()),
845
+ pushedKeywords: v4.z.nullable(
846
+ v4.z.union([
847
+ v4.z.union([v4.z.boolean(), v4.z.string(), v4.z.number(), v4.z.enum([])]),
848
+ v4.z.array(v4.z.any()),
849
+ v4.z.object({}).catchall(v4.z.any())
850
+ ])
851
+ ),
818
852
  createdBy: v4.z.nullable(v4.z.string()),
819
853
  updatedBy: v4.z.nullable(v4.z.string()),
820
854
  createdAt: v4.z.nullable(v4.z.any()),
@@ -924,8 +958,25 @@ const editAdResponseSchema = v4.z.object({
924
958
  v4.z.array(v4.z.any()),
925
959
  v4.z.object({}).catchall(v4.z.any())
926
960
  ]),
961
+ disabledVenueKeywords: v4.z.union([
962
+ v4.z.union([v4.z.boolean(), v4.z.string(), v4.z.number(), v4.z.enum([])]),
963
+ v4.z.array(v4.z.any()),
964
+ v4.z.object({}).catchall(v4.z.any())
965
+ ]),
966
+ dismissedKeywords: v4.z.union([
967
+ v4.z.union([v4.z.boolean(), v4.z.string(), v4.z.number(), v4.z.enum([])]),
968
+ v4.z.array(v4.z.any()),
969
+ v4.z.object({}).catchall(v4.z.any())
970
+ ]),
927
971
  publishedContentHash: v4.z.nullable(v4.z.string()),
928
972
  publishedAt: v4.z.nullable(v4.z.any()),
973
+ pushedKeywords: v4.z.nullable(
974
+ v4.z.union([
975
+ v4.z.union([v4.z.boolean(), v4.z.string(), v4.z.number(), v4.z.enum([])]),
976
+ v4.z.array(v4.z.any()),
977
+ v4.z.object({}).catchall(v4.z.any())
978
+ ])
979
+ ),
929
980
  createdBy: v4.z.nullable(v4.z.string()),
930
981
  updatedBy: v4.z.nullable(v4.z.string()),
931
982
  createdAt: v4.z.nullable(v4.z.any()),
@@ -1172,7 +1223,7 @@ const featureCategorySchema = v4.z.enum([
1172
1223
  "auth",
1173
1224
  "billing",
1174
1225
  "core",
1175
- "customers",
1226
+ "guests",
1176
1227
  "events",
1177
1228
  "inventory",
1178
1229
  "menus",
@@ -1219,8 +1270,25 @@ const fetchAdResponseSchema = v4.z.object({
1219
1270
  v4.z.array(v4.z.any()),
1220
1271
  v4.z.object({}).catchall(v4.z.any())
1221
1272
  ]),
1273
+ disabledVenueKeywords: v4.z.union([
1274
+ v4.z.union([v4.z.boolean(), v4.z.string(), v4.z.number(), v4.z.enum([])]),
1275
+ v4.z.array(v4.z.any()),
1276
+ v4.z.object({}).catchall(v4.z.any())
1277
+ ]),
1278
+ dismissedKeywords: v4.z.union([
1279
+ v4.z.union([v4.z.boolean(), v4.z.string(), v4.z.number(), v4.z.enum([])]),
1280
+ v4.z.array(v4.z.any()),
1281
+ v4.z.object({}).catchall(v4.z.any())
1282
+ ]),
1222
1283
  publishedContentHash: v4.z.nullable(v4.z.string()),
1223
1284
  publishedAt: v4.z.nullable(v4.z.any()),
1285
+ pushedKeywords: v4.z.nullable(
1286
+ v4.z.union([
1287
+ v4.z.union([v4.z.boolean(), v4.z.string(), v4.z.number(), v4.z.enum([])]),
1288
+ v4.z.array(v4.z.any()),
1289
+ v4.z.object({}).catchall(v4.z.any())
1290
+ ])
1291
+ ),
1224
1292
  createdBy: v4.z.nullable(v4.z.string()),
1225
1293
  updatedBy: v4.z.nullable(v4.z.string()),
1226
1294
  createdAt: v4.z.nullable(v4.z.any()),
@@ -1257,8 +1325,25 @@ const fetchAdsResponseSchema = v4.z.array(
1257
1325
  v4.z.array(v4.z.any()),
1258
1326
  v4.z.object({}).catchall(v4.z.any())
1259
1327
  ]),
1328
+ disabledVenueKeywords: v4.z.union([
1329
+ v4.z.union([v4.z.boolean(), v4.z.string(), v4.z.number(), v4.z.enum([])]),
1330
+ v4.z.array(v4.z.any()),
1331
+ v4.z.object({}).catchall(v4.z.any())
1332
+ ]),
1333
+ dismissedKeywords: v4.z.union([
1334
+ v4.z.union([v4.z.boolean(), v4.z.string(), v4.z.number(), v4.z.enum([])]),
1335
+ v4.z.array(v4.z.any()),
1336
+ v4.z.object({}).catchall(v4.z.any())
1337
+ ]),
1260
1338
  publishedContentHash: v4.z.nullable(v4.z.string()),
1261
1339
  publishedAt: v4.z.nullable(v4.z.any()),
1340
+ pushedKeywords: v4.z.nullable(
1341
+ v4.z.union([
1342
+ v4.z.union([v4.z.boolean(), v4.z.string(), v4.z.number(), v4.z.enum([])]),
1343
+ v4.z.array(v4.z.any()),
1344
+ v4.z.object({}).catchall(v4.z.any())
1345
+ ])
1346
+ ),
1262
1347
  createdBy: v4.z.nullable(v4.z.string()),
1263
1348
  updatedBy: v4.z.nullable(v4.z.string()),
1264
1349
  createdAt: v4.z.nullable(v4.z.any()),
@@ -2873,6 +2958,21 @@ const reservationPromotionStatusSchema = v4.z.enum([
2873
2958
  "expired"
2874
2959
  ]);
2875
2960
 
2961
+ const saveAdKeywordsRequestSchema = v4.z.object({
2962
+ venueAccessor: v4.z.string().min(1),
2963
+ adId: v4.z.string().min(1),
2964
+ keywords: v4.z.array(v4.z.string().min(1)),
2965
+ dismissedKeywords: v4.z.array(v4.z.string().min(1)),
2966
+ disabledVenueKeywords: v4.z.array(v4.z.string().min(1))
2967
+ });
2968
+
2969
+ const saveAdKeywordsResponseSchema = v4.z.object({
2970
+ success: v4.z.boolean(),
2971
+ keywords: v4.z.array(v4.z.string()),
2972
+ dismissedKeywords: v4.z.array(v4.z.string()),
2973
+ disabledVenueKeywords: v4.z.array(v4.z.string())
2974
+ });
2975
+
2876
2976
  const scanTokenEntityTypeSchema = v4.z.enum(["order", "depositware"]);
2877
2977
 
2878
2978
  const setArticleFeatureImageUploadBodySchema = v4.z.object({
@@ -3274,6 +3374,8 @@ const schemas = {
3274
3374
  ReservationPromotionStatus: reservationPromotionStatusSchema,
3275
3375
  ReservationStatus: reservationStatusSchema,
3276
3376
  RitualType: ritualTypeSchema,
3377
+ SaveAdKeywordsRequest: saveAdKeywordsRequestSchema,
3378
+ SaveAdKeywordsResponse: saveAdKeywordsResponseSchema,
3277
3379
  ScanTokenEntityType: scanTokenEntityTypeSchema,
3278
3380
  SetArticleFeatureImageUploadBody: setArticleFeatureImageUploadBodySchema,
3279
3381
  SetBasketDeclaredReturnsRequest: setBasketDeclaredReturnsRequestSchema,
@@ -272,7 +272,7 @@ declare const schemas: {
272
272
  cancelledAt: zod.ZodISODateTime;
273
273
  }, zod_v4_core.$strip>;
274
274
  readonly CancellationReason: zod.ZodEnum<{
275
- customer_request: "customer_request";
275
+ guest_request: "guest_request";
276
276
  restaurant_request: "restaurant_request";
277
277
  }>;
278
278
  readonly ConfirmOrderRequest: zod.ZodObject<{
@@ -573,8 +573,11 @@ declare const schemas: {
573
573
  content: 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>>]>;
574
574
  keywords: 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>>]>;
575
575
  negativeKeywords: 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>>]>;
576
+ disabledVenueKeywords: 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>>]>;
577
+ dismissedKeywords: 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>>]>;
576
578
  publishedContentHash: zod.ZodNullable<zod.ZodString>;
577
579
  publishedAt: zod.ZodNullable<zod.ZodAny>;
580
+ pushedKeywords: 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>>]>>;
578
581
  createdBy: zod.ZodNullable<zod.ZodString>;
579
582
  updatedBy: zod.ZodNullable<zod.ZodString>;
580
583
  createdAt: zod.ZodNullable<zod.ZodAny>;
@@ -759,8 +762,11 @@ declare const schemas: {
759
762
  content: 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>>]>;
760
763
  keywords: 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>>]>;
761
764
  negativeKeywords: 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>>]>;
765
+ disabledVenueKeywords: 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>>]>;
766
+ dismissedKeywords: 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>>]>;
762
767
  publishedContentHash: zod.ZodNullable<zod.ZodString>;
763
768
  publishedAt: zod.ZodNullable<zod.ZodAny>;
769
+ pushedKeywords: 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>>]>>;
764
770
  createdBy: zod.ZodNullable<zod.ZodString>;
765
771
  updatedBy: zod.ZodNullable<zod.ZodString>;
766
772
  createdAt: zod.ZodNullable<zod.ZodAny>;
@@ -851,8 +857,11 @@ declare const schemas: {
851
857
  content: 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>>]>;
852
858
  keywords: 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>>]>;
853
859
  negativeKeywords: 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>>]>;
860
+ disabledVenueKeywords: 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>>]>;
861
+ dismissedKeywords: 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>>]>;
854
862
  publishedContentHash: zod.ZodNullable<zod.ZodString>;
855
863
  publishedAt: zod.ZodNullable<zod.ZodAny>;
864
+ pushedKeywords: 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>>]>>;
856
865
  createdBy: zod.ZodNullable<zod.ZodString>;
857
866
  updatedBy: zod.ZodNullable<zod.ZodString>;
858
867
  createdAt: zod.ZodNullable<zod.ZodAny>;
@@ -1059,7 +1068,7 @@ declare const schemas: {
1059
1068
  auth: "auth";
1060
1069
  billing: "billing";
1061
1070
  core: "core";
1062
- customers: "customers";
1071
+ guests: "guests";
1063
1072
  events: "events";
1064
1073
  inventory: "inventory";
1065
1074
  orders: "orders";
@@ -1102,8 +1111,11 @@ declare const schemas: {
1102
1111
  content: 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>>]>;
1103
1112
  keywords: 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>>]>;
1104
1113
  negativeKeywords: 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>>]>;
1114
+ disabledVenueKeywords: 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>>]>;
1115
+ dismissedKeywords: 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>>]>;
1105
1116
  publishedContentHash: zod.ZodNullable<zod.ZodString>;
1106
1117
  publishedAt: zod.ZodNullable<zod.ZodAny>;
1118
+ pushedKeywords: 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>>]>>;
1107
1119
  createdBy: zod.ZodNullable<zod.ZodString>;
1108
1120
  updatedBy: zod.ZodNullable<zod.ZodString>;
1109
1121
  createdAt: zod.ZodNullable<zod.ZodAny>;
@@ -1128,8 +1140,11 @@ declare const schemas: {
1128
1140
  content: 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>>]>;
1129
1141
  keywords: 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>>]>;
1130
1142
  negativeKeywords: 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>>]>;
1143
+ disabledVenueKeywords: 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>>]>;
1144
+ dismissedKeywords: 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>>]>;
1131
1145
  publishedContentHash: zod.ZodNullable<zod.ZodString>;
1132
1146
  publishedAt: zod.ZodNullable<zod.ZodAny>;
1147
+ pushedKeywords: 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>>]>>;
1133
1148
  createdBy: zod.ZodNullable<zod.ZodString>;
1134
1149
  updatedBy: zod.ZodNullable<zod.ZodString>;
1135
1150
  createdAt: zod.ZodNullable<zod.ZodAny>;
@@ -2582,7 +2597,7 @@ declare const schemas: {
2582
2597
  completedAt: zod.ZodNullable<zod.ZodAny>;
2583
2598
  cancelledAt: zod.ZodNullable<zod.ZodAny>;
2584
2599
  cancellationReason: zod.ZodEnum<{
2585
- customer_request: "customer_request";
2600
+ guest_request: "guest_request";
2586
2601
  restaurant_request: "restaurant_request";
2587
2602
  }>;
2588
2603
  cancellationNote: zod.ZodNullable<zod.ZodString>;
@@ -2767,6 +2782,19 @@ declare const schemas: {
2767
2782
  service: "service";
2768
2783
  special: "special";
2769
2784
  }>;
2785
+ readonly SaveAdKeywordsRequest: zod.ZodObject<{
2786
+ venueAccessor: zod.ZodString;
2787
+ adId: zod.ZodString;
2788
+ keywords: zod.ZodArray<zod.ZodString>;
2789
+ dismissedKeywords: zod.ZodArray<zod.ZodString>;
2790
+ disabledVenueKeywords: zod.ZodArray<zod.ZodString>;
2791
+ }, zod_v4_core.$strip>;
2792
+ readonly SaveAdKeywordsResponse: zod.ZodObject<{
2793
+ success: zod.ZodBoolean;
2794
+ keywords: zod.ZodArray<zod.ZodString>;
2795
+ dismissedKeywords: zod.ZodArray<zod.ZodString>;
2796
+ disabledVenueKeywords: zod.ZodArray<zod.ZodString>;
2797
+ }, zod_v4_core.$strip>;
2770
2798
  readonly ScanTokenEntityType: zod.ZodEnum<{
2771
2799
  depositware: "depositware";
2772
2800
  order: "order";
@@ -272,7 +272,7 @@ declare const schemas: {
272
272
  cancelledAt: zod.ZodISODateTime;
273
273
  }, zod_v4_core.$strip>;
274
274
  readonly CancellationReason: zod.ZodEnum<{
275
- customer_request: "customer_request";
275
+ guest_request: "guest_request";
276
276
  restaurant_request: "restaurant_request";
277
277
  }>;
278
278
  readonly ConfirmOrderRequest: zod.ZodObject<{
@@ -573,8 +573,11 @@ declare const schemas: {
573
573
  content: 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>>]>;
574
574
  keywords: 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>>]>;
575
575
  negativeKeywords: 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>>]>;
576
+ disabledVenueKeywords: 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>>]>;
577
+ dismissedKeywords: 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>>]>;
576
578
  publishedContentHash: zod.ZodNullable<zod.ZodString>;
577
579
  publishedAt: zod.ZodNullable<zod.ZodAny>;
580
+ pushedKeywords: 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>>]>>;
578
581
  createdBy: zod.ZodNullable<zod.ZodString>;
579
582
  updatedBy: zod.ZodNullable<zod.ZodString>;
580
583
  createdAt: zod.ZodNullable<zod.ZodAny>;
@@ -759,8 +762,11 @@ declare const schemas: {
759
762
  content: 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>>]>;
760
763
  keywords: 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>>]>;
761
764
  negativeKeywords: 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>>]>;
765
+ disabledVenueKeywords: 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>>]>;
766
+ dismissedKeywords: 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>>]>;
762
767
  publishedContentHash: zod.ZodNullable<zod.ZodString>;
763
768
  publishedAt: zod.ZodNullable<zod.ZodAny>;
769
+ pushedKeywords: 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>>]>>;
764
770
  createdBy: zod.ZodNullable<zod.ZodString>;
765
771
  updatedBy: zod.ZodNullable<zod.ZodString>;
766
772
  createdAt: zod.ZodNullable<zod.ZodAny>;
@@ -851,8 +857,11 @@ declare const schemas: {
851
857
  content: 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>>]>;
852
858
  keywords: 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>>]>;
853
859
  negativeKeywords: 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>>]>;
860
+ disabledVenueKeywords: 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>>]>;
861
+ dismissedKeywords: 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>>]>;
854
862
  publishedContentHash: zod.ZodNullable<zod.ZodString>;
855
863
  publishedAt: zod.ZodNullable<zod.ZodAny>;
864
+ pushedKeywords: 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>>]>>;
856
865
  createdBy: zod.ZodNullable<zod.ZodString>;
857
866
  updatedBy: zod.ZodNullable<zod.ZodString>;
858
867
  createdAt: zod.ZodNullable<zod.ZodAny>;
@@ -1059,7 +1068,7 @@ declare const schemas: {
1059
1068
  auth: "auth";
1060
1069
  billing: "billing";
1061
1070
  core: "core";
1062
- customers: "customers";
1071
+ guests: "guests";
1063
1072
  events: "events";
1064
1073
  inventory: "inventory";
1065
1074
  orders: "orders";
@@ -1102,8 +1111,11 @@ declare const schemas: {
1102
1111
  content: 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>>]>;
1103
1112
  keywords: 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>>]>;
1104
1113
  negativeKeywords: 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>>]>;
1114
+ disabledVenueKeywords: 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>>]>;
1115
+ dismissedKeywords: 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>>]>;
1105
1116
  publishedContentHash: zod.ZodNullable<zod.ZodString>;
1106
1117
  publishedAt: zod.ZodNullable<zod.ZodAny>;
1118
+ pushedKeywords: 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>>]>>;
1107
1119
  createdBy: zod.ZodNullable<zod.ZodString>;
1108
1120
  updatedBy: zod.ZodNullable<zod.ZodString>;
1109
1121
  createdAt: zod.ZodNullable<zod.ZodAny>;
@@ -1128,8 +1140,11 @@ declare const schemas: {
1128
1140
  content: 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>>]>;
1129
1141
  keywords: 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>>]>;
1130
1142
  negativeKeywords: 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>>]>;
1143
+ disabledVenueKeywords: 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>>]>;
1144
+ dismissedKeywords: 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>>]>;
1131
1145
  publishedContentHash: zod.ZodNullable<zod.ZodString>;
1132
1146
  publishedAt: zod.ZodNullable<zod.ZodAny>;
1147
+ pushedKeywords: 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>>]>>;
1133
1148
  createdBy: zod.ZodNullable<zod.ZodString>;
1134
1149
  updatedBy: zod.ZodNullable<zod.ZodString>;
1135
1150
  createdAt: zod.ZodNullable<zod.ZodAny>;
@@ -2582,7 +2597,7 @@ declare const schemas: {
2582
2597
  completedAt: zod.ZodNullable<zod.ZodAny>;
2583
2598
  cancelledAt: zod.ZodNullable<zod.ZodAny>;
2584
2599
  cancellationReason: zod.ZodEnum<{
2585
- customer_request: "customer_request";
2600
+ guest_request: "guest_request";
2586
2601
  restaurant_request: "restaurant_request";
2587
2602
  }>;
2588
2603
  cancellationNote: zod.ZodNullable<zod.ZodString>;
@@ -2767,6 +2782,19 @@ declare const schemas: {
2767
2782
  service: "service";
2768
2783
  special: "special";
2769
2784
  }>;
2785
+ readonly SaveAdKeywordsRequest: zod.ZodObject<{
2786
+ venueAccessor: zod.ZodString;
2787
+ adId: zod.ZodString;
2788
+ keywords: zod.ZodArray<zod.ZodString>;
2789
+ dismissedKeywords: zod.ZodArray<zod.ZodString>;
2790
+ disabledVenueKeywords: zod.ZodArray<zod.ZodString>;
2791
+ }, zod_v4_core.$strip>;
2792
+ readonly SaveAdKeywordsResponse: zod.ZodObject<{
2793
+ success: zod.ZodBoolean;
2794
+ keywords: zod.ZodArray<zod.ZodString>;
2795
+ dismissedKeywords: zod.ZodArray<zod.ZodString>;
2796
+ disabledVenueKeywords: zod.ZodArray<zod.ZodString>;
2797
+ }, zod_v4_core.$strip>;
2770
2798
  readonly ScanTokenEntityType: zod.ZodEnum<{
2771
2799
  depositware: "depositware";
2772
2800
  order: "order";
package/dist/schemas.mjs CHANGED
@@ -274,7 +274,7 @@ const cancelTeamOrderResponseSchema = z.object({
274
274
  });
275
275
 
276
276
  const cancellationReasonSchema = z.enum([
277
- "customer_request",
277
+ "guest_request",
278
278
  "restaurant_request"
279
279
  ]);
280
280
 
@@ -588,8 +588,25 @@ const createAdResponseSchema = z.object({
588
588
  z.array(z.any()),
589
589
  z.object({}).catchall(z.any())
590
590
  ]),
591
+ disabledVenueKeywords: z.union([
592
+ z.union([z.boolean(), z.string(), z.number(), z.enum([])]),
593
+ z.array(z.any()),
594
+ z.object({}).catchall(z.any())
595
+ ]),
596
+ dismissedKeywords: z.union([
597
+ z.union([z.boolean(), z.string(), z.number(), z.enum([])]),
598
+ z.array(z.any()),
599
+ z.object({}).catchall(z.any())
600
+ ]),
591
601
  publishedContentHash: z.nullable(z.string()),
592
602
  publishedAt: z.nullable(z.any()),
603
+ pushedKeywords: z.nullable(
604
+ z.union([
605
+ z.union([z.boolean(), z.string(), z.number(), z.enum([])]),
606
+ z.array(z.any()),
607
+ z.object({}).catchall(z.any())
608
+ ])
609
+ ),
593
610
  createdBy: z.nullable(z.string()),
594
611
  updatedBy: z.nullable(z.string()),
595
612
  createdAt: z.nullable(z.any()),
@@ -811,8 +828,25 @@ const deleteAdResponseSchema = z.object({
811
828
  z.array(z.any()),
812
829
  z.object({}).catchall(z.any())
813
830
  ]),
831
+ disabledVenueKeywords: z.union([
832
+ z.union([z.boolean(), z.string(), z.number(), z.enum([])]),
833
+ z.array(z.any()),
834
+ z.object({}).catchall(z.any())
835
+ ]),
836
+ dismissedKeywords: z.union([
837
+ z.union([z.boolean(), z.string(), z.number(), z.enum([])]),
838
+ z.array(z.any()),
839
+ z.object({}).catchall(z.any())
840
+ ]),
814
841
  publishedContentHash: z.nullable(z.string()),
815
842
  publishedAt: z.nullable(z.any()),
843
+ pushedKeywords: z.nullable(
844
+ z.union([
845
+ z.union([z.boolean(), z.string(), z.number(), z.enum([])]),
846
+ z.array(z.any()),
847
+ z.object({}).catchall(z.any())
848
+ ])
849
+ ),
816
850
  createdBy: z.nullable(z.string()),
817
851
  updatedBy: z.nullable(z.string()),
818
852
  createdAt: z.nullable(z.any()),
@@ -922,8 +956,25 @@ const editAdResponseSchema = z.object({
922
956
  z.array(z.any()),
923
957
  z.object({}).catchall(z.any())
924
958
  ]),
959
+ disabledVenueKeywords: z.union([
960
+ z.union([z.boolean(), z.string(), z.number(), z.enum([])]),
961
+ z.array(z.any()),
962
+ z.object({}).catchall(z.any())
963
+ ]),
964
+ dismissedKeywords: z.union([
965
+ z.union([z.boolean(), z.string(), z.number(), z.enum([])]),
966
+ z.array(z.any()),
967
+ z.object({}).catchall(z.any())
968
+ ]),
925
969
  publishedContentHash: z.nullable(z.string()),
926
970
  publishedAt: z.nullable(z.any()),
971
+ pushedKeywords: z.nullable(
972
+ z.union([
973
+ z.union([z.boolean(), z.string(), z.number(), z.enum([])]),
974
+ z.array(z.any()),
975
+ z.object({}).catchall(z.any())
976
+ ])
977
+ ),
927
978
  createdBy: z.nullable(z.string()),
928
979
  updatedBy: z.nullable(z.string()),
929
980
  createdAt: z.nullable(z.any()),
@@ -1170,7 +1221,7 @@ const featureCategorySchema = z.enum([
1170
1221
  "auth",
1171
1222
  "billing",
1172
1223
  "core",
1173
- "customers",
1224
+ "guests",
1174
1225
  "events",
1175
1226
  "inventory",
1176
1227
  "menus",
@@ -1217,8 +1268,25 @@ const fetchAdResponseSchema = z.object({
1217
1268
  z.array(z.any()),
1218
1269
  z.object({}).catchall(z.any())
1219
1270
  ]),
1271
+ disabledVenueKeywords: z.union([
1272
+ z.union([z.boolean(), z.string(), z.number(), z.enum([])]),
1273
+ z.array(z.any()),
1274
+ z.object({}).catchall(z.any())
1275
+ ]),
1276
+ dismissedKeywords: z.union([
1277
+ z.union([z.boolean(), z.string(), z.number(), z.enum([])]),
1278
+ z.array(z.any()),
1279
+ z.object({}).catchall(z.any())
1280
+ ]),
1220
1281
  publishedContentHash: z.nullable(z.string()),
1221
1282
  publishedAt: z.nullable(z.any()),
1283
+ pushedKeywords: z.nullable(
1284
+ z.union([
1285
+ z.union([z.boolean(), z.string(), z.number(), z.enum([])]),
1286
+ z.array(z.any()),
1287
+ z.object({}).catchall(z.any())
1288
+ ])
1289
+ ),
1222
1290
  createdBy: z.nullable(z.string()),
1223
1291
  updatedBy: z.nullable(z.string()),
1224
1292
  createdAt: z.nullable(z.any()),
@@ -1255,8 +1323,25 @@ const fetchAdsResponseSchema = z.array(
1255
1323
  z.array(z.any()),
1256
1324
  z.object({}).catchall(z.any())
1257
1325
  ]),
1326
+ disabledVenueKeywords: z.union([
1327
+ z.union([z.boolean(), z.string(), z.number(), z.enum([])]),
1328
+ z.array(z.any()),
1329
+ z.object({}).catchall(z.any())
1330
+ ]),
1331
+ dismissedKeywords: z.union([
1332
+ z.union([z.boolean(), z.string(), z.number(), z.enum([])]),
1333
+ z.array(z.any()),
1334
+ z.object({}).catchall(z.any())
1335
+ ]),
1258
1336
  publishedContentHash: z.nullable(z.string()),
1259
1337
  publishedAt: z.nullable(z.any()),
1338
+ pushedKeywords: z.nullable(
1339
+ z.union([
1340
+ z.union([z.boolean(), z.string(), z.number(), z.enum([])]),
1341
+ z.array(z.any()),
1342
+ z.object({}).catchall(z.any())
1343
+ ])
1344
+ ),
1260
1345
  createdBy: z.nullable(z.string()),
1261
1346
  updatedBy: z.nullable(z.string()),
1262
1347
  createdAt: z.nullable(z.any()),
@@ -2871,6 +2956,21 @@ const reservationPromotionStatusSchema = z.enum([
2871
2956
  "expired"
2872
2957
  ]);
2873
2958
 
2959
+ const saveAdKeywordsRequestSchema = z.object({
2960
+ venueAccessor: z.string().min(1),
2961
+ adId: z.string().min(1),
2962
+ keywords: z.array(z.string().min(1)),
2963
+ dismissedKeywords: z.array(z.string().min(1)),
2964
+ disabledVenueKeywords: z.array(z.string().min(1))
2965
+ });
2966
+
2967
+ const saveAdKeywordsResponseSchema = z.object({
2968
+ success: z.boolean(),
2969
+ keywords: z.array(z.string()),
2970
+ dismissedKeywords: z.array(z.string()),
2971
+ disabledVenueKeywords: z.array(z.string())
2972
+ });
2973
+
2874
2974
  const scanTokenEntityTypeSchema = z.enum(["order", "depositware"]);
2875
2975
 
2876
2976
  const setArticleFeatureImageUploadBodySchema = z.object({
@@ -3272,6 +3372,8 @@ const schemas = {
3272
3372
  ReservationPromotionStatus: reservationPromotionStatusSchema,
3273
3373
  ReservationStatus: reservationStatusSchema,
3274
3374
  RitualType: ritualTypeSchema,
3375
+ SaveAdKeywordsRequest: saveAdKeywordsRequestSchema,
3376
+ SaveAdKeywordsResponse: saveAdKeywordsResponseSchema,
3275
3377
  ScanTokenEntityType: scanTokenEntityTypeSchema,
3276
3378
  SetArticleFeatureImageUploadBody: setArticleFeatureImageUploadBodySchema,
3277
3379
  SetBasketDeclaredReturnsRequest: setBasketDeclaredReturnsRequestSchema,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "order3000",
3
- "version": "1.4.0",
3
+ "version": "1.5.0",
4
4
  "description": "order3000 node.js sdk",
5
5
  "main": "./dist/client.cjs",
6
6
  "module": "./dist/client.mjs",