order3000 1.9.0 → 1.11.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.
@@ -889,6 +889,7 @@ declare const schemas: {
889
889
  }, zod_v4_core.$strip>;
890
890
  readonly DeleteAssetResponse: zod.ZodObject<{
891
891
  success: zod.ZodBoolean;
892
+ deleted: zod.ZodBoolean;
892
893
  }, zod_v4_core.$strip>;
893
894
  readonly DeleteCalloutResponse: zod.ZodObject<{
894
895
  id: zod.ZodString;
@@ -1077,6 +1078,50 @@ declare const schemas: {
1077
1078
  locale: zod.ZodString;
1078
1079
  }, zod_v4_core.$strip>>>;
1079
1080
  }, zod_v4_core.$strip>;
1081
+ readonly EditDishRequest: zod.ZodObject<{
1082
+ venueAccessor: zod.ZodString;
1083
+ id: zod.ZodString;
1084
+ name: zod.ZodObject<{}, zod_v4_core.$catchall<zod.ZodString>>;
1085
+ shortName: zod.ZodOptional<zod.ZodNullable<zod.ZodObject<{}, zod_v4_core.$catchall<zod.ZodString>>>>;
1086
+ description: zod.ZodOptional<zod.ZodNullable<zod.ZodObject<{}, zod_v4_core.$catchall<zod.ZodString>>>>;
1087
+ longDescription: zod.ZodOptional<zod.ZodNullable<zod.ZodObject<{}, zod_v4_core.$catchall<zod.ZodString>>>>;
1088
+ suggestedPrice: zod.ZodOptional<zod.ZodNullable<zod.ZodNumber>>;
1089
+ currency: zod.ZodEnum<{
1090
+ EUR: "EUR";
1091
+ CHF: "CHF";
1092
+ }>;
1093
+ isVegan: zod.ZodDefault<zod.ZodBoolean>;
1094
+ isVegetarian: zod.ZodDefault<zod.ZodBoolean>;
1095
+ isGlutenFree: zod.ZodDefault<zod.ZodBoolean>;
1096
+ isDairyFree: zod.ZodDefault<zod.ZodBoolean>;
1097
+ spiciness: zod.ZodDefault<zod.ZodInt>;
1098
+ isActive: zod.ZodDefault<zod.ZodBoolean>;
1099
+ }, zod_v4_core.$strip>;
1100
+ readonly EditDishResponse: zod.ZodObject<{
1101
+ id: zod.ZodString;
1102
+ venueId: zod.ZodString;
1103
+ accessor: zod.ZodString;
1104
+ name: zod.ZodUnion<readonly [zod.ZodUnion<readonly [zod.ZodBoolean, zod.ZodString, zod.ZodNumber, zod.ZodEnum<{}>]>, zod.ZodArray<zod.ZodAny>, zod.ZodObject<{}, zod_v4_core.$catchall<zod.ZodAny>>]>;
1105
+ shortName: 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>>]>>;
1106
+ description: zod.ZodNullable<zod.ZodUnion<readonly [zod.ZodUnion<readonly [zod.ZodBoolean, zod.ZodString, zod.ZodNumber, zod.ZodEnum<{}>]>, zod.ZodArray<zod.ZodAny>, zod.ZodObject<{}, zod_v4_core.$catchall<zod.ZodAny>>]>>;
1107
+ longDescription: 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>>]>>;
1108
+ isVegan: zod.ZodNullable<zod.ZodBoolean>;
1109
+ isVegetarian: zod.ZodNullable<zod.ZodBoolean>;
1110
+ isGlutenFree: zod.ZodNullable<zod.ZodBoolean>;
1111
+ isDairyFree: zod.ZodNullable<zod.ZodBoolean>;
1112
+ spiciness: zod.ZodNullable<zod.ZodInt>;
1113
+ suggestedPrice: zod.ZodNullable<zod.ZodInt>;
1114
+ currency: zod.ZodEnum<{
1115
+ EUR: "EUR";
1116
+ CHF: "CHF";
1117
+ }>;
1118
+ isActive: zod.ZodBoolean;
1119
+ sortIndex: zod.ZodNullable<zod.ZodString>;
1120
+ updatedAt: zod.ZodNullable<zod.ZodAny>;
1121
+ updatedBy: zod.ZodNullable<zod.ZodString>;
1122
+ createdAt: zod.ZodNullable<zod.ZodAny>;
1123
+ createdBy: zod.ZodNullable<zod.ZodString>;
1124
+ }, zod_v4_core.$strip>;
1080
1125
  readonly EditEventRequest: zod.ZodObject<{
1081
1126
  accessor: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
1082
1127
  name: zod.ZodOptional<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>>]>>;
@@ -1770,6 +1815,58 @@ declare const schemas: {
1770
1815
  createdAt: zod.ZodNullable<zod.ZodString>;
1771
1816
  updatedAt: zod.ZodNullable<zod.ZodString>;
1772
1817
  }, zod_v4_core.$strip>;
1818
+ readonly FetchDishResponse: zod.ZodObject<{
1819
+ id: zod.ZodString;
1820
+ venueId: zod.ZodString;
1821
+ accessor: zod.ZodString;
1822
+ name: zod.ZodUnion<readonly [zod.ZodUnion<readonly [zod.ZodBoolean, zod.ZodString, zod.ZodNumber, zod.ZodEnum<{}>]>, zod.ZodArray<zod.ZodAny>, zod.ZodObject<{}, zod_v4_core.$catchall<zod.ZodAny>>]>;
1823
+ shortName: 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>>]>>;
1824
+ description: zod.ZodNullable<zod.ZodUnion<readonly [zod.ZodUnion<readonly [zod.ZodBoolean, zod.ZodString, zod.ZodNumber, zod.ZodEnum<{}>]>, zod.ZodArray<zod.ZodAny>, zod.ZodObject<{}, zod_v4_core.$catchall<zod.ZodAny>>]>>;
1825
+ longDescription: 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>>]>>;
1826
+ isVegan: zod.ZodNullable<zod.ZodBoolean>;
1827
+ isVegetarian: zod.ZodNullable<zod.ZodBoolean>;
1828
+ isGlutenFree: zod.ZodNullable<zod.ZodBoolean>;
1829
+ isDairyFree: zod.ZodNullable<zod.ZodBoolean>;
1830
+ spiciness: zod.ZodNullable<zod.ZodInt>;
1831
+ suggestedPrice: zod.ZodNullable<zod.ZodInt>;
1832
+ currency: zod.ZodEnum<{
1833
+ EUR: "EUR";
1834
+ CHF: "CHF";
1835
+ }>;
1836
+ isActive: zod.ZodBoolean;
1837
+ sortIndex: zod.ZodNullable<zod.ZodString>;
1838
+ updatedAt: zod.ZodNullable<zod.ZodAny>;
1839
+ updatedBy: zod.ZodNullable<zod.ZodString>;
1840
+ createdAt: zod.ZodNullable<zod.ZodAny>;
1841
+ createdBy: zod.ZodNullable<zod.ZodString>;
1842
+ assets: zod.ZodArray<zod.ZodObject<{
1843
+ id: zod.ZodString;
1844
+ type: zod.ZodEnum<{
1845
+ image: "image";
1846
+ video: "video";
1847
+ document: "document";
1848
+ }>;
1849
+ tags: zod.ZodNullable<zod.ZodArray<zod.ZodString>>;
1850
+ bucket: zod.ZodString;
1851
+ storagePath: zod.ZodString;
1852
+ filename: zod.ZodString;
1853
+ contentType: zod.ZodString;
1854
+ sizeBytes: zod.ZodInt;
1855
+ caption: 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>>]>;
1856
+ alt: 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>>]>;
1857
+ metadata: 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>>]>>;
1858
+ cropArea: 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>>]>>;
1859
+ isActive: zod.ZodBoolean;
1860
+ sortIndex: zod.ZodNullable<zod.ZodString>;
1861
+ createdAt: zod.ZodNullable<zod.ZodAny>;
1862
+ updatedAt: zod.ZodNullable<zod.ZodAny>;
1863
+ createdBy: zod.ZodNullable<zod.ZodString>;
1864
+ updatedBy: zod.ZodNullable<zod.ZodString>;
1865
+ venueId: zod.ZodNullable<zod.ZodString>;
1866
+ contentHash: zod.ZodNullable<zod.ZodString>;
1867
+ publicUrl: zod.ZodNullable<zod.ZodString>;
1868
+ }, zod_v4_core.$strip>>;
1869
+ }, zod_v4_core.$strip>;
1773
1870
  readonly FetchEventResponse: zod.ZodObject<{
1774
1871
  id: zod.ZodString;
1775
1872
  venueId: zod.ZodString;
@@ -2212,6 +2309,7 @@ declare const schemas: {
2212
2309
  width: zod.ZodNumber;
2213
2310
  height: zod.ZodNumber;
2214
2311
  }, zod_v4_core.$strip>>;
2312
+ contentHash: zod.ZodNullable<zod.ZodString>;
2215
2313
  publicUrl: zod.ZodString;
2216
2314
  }, zod_v4_core.$strip>>;
2217
2315
  items: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
@@ -2229,6 +2327,16 @@ declare const schemas: {
2229
2327
  isActive: zod.ZodBoolean;
2230
2328
  isFeatured: zod.ZodBoolean;
2231
2329
  sortIndex: zod.ZodNullable<zod.ZodString>;
2330
+ availableDays: zod.ZodNullable<zod.ZodArray<zod.ZodEnum<{
2331
+ monday: "monday";
2332
+ tuesday: "tuesday";
2333
+ wednesday: "wednesday";
2334
+ thursday: "thursday";
2335
+ friday: "friday";
2336
+ saturday: "saturday";
2337
+ sunday: "sunday";
2338
+ }>>>;
2339
+ availableWeeks: zod.ZodNullable<zod.ZodArray<zod.ZodInt>>;
2232
2340
  dish: zod.ZodNullable<zod.ZodObject<{
2233
2341
  id: zod.ZodString;
2234
2342
  accessor: zod.ZodString;
@@ -2274,6 +2382,7 @@ declare const schemas: {
2274
2382
  width: zod.ZodNumber;
2275
2383
  height: zod.ZodNumber;
2276
2384
  }, zod_v4_core.$strip>>;
2385
+ contentHash: zod.ZodNullable<zod.ZodString>;
2277
2386
  publicUrl: zod.ZodString;
2278
2387
  }, zod_v4_core.$strip>>>;
2279
2388
  }, zod_v4_core.$strip>>;
@@ -2317,6 +2426,7 @@ declare const schemas: {
2317
2426
  width: zod.ZodNumber;
2318
2427
  height: zod.ZodNumber;
2319
2428
  }, zod_v4_core.$strip>>;
2429
+ contentHash: zod.ZodNullable<zod.ZodString>;
2320
2430
  publicUrl: zod.ZodString;
2321
2431
  }, zod_v4_core.$strip>>>;
2322
2432
  }, zod_v4_core.$strip>>;
@@ -2417,6 +2527,7 @@ declare const schemas: {
2417
2527
  createdBy: zod.ZodNullable<zod.ZodString>;
2418
2528
  updatedBy: zod.ZodNullable<zod.ZodString>;
2419
2529
  venueId: zod.ZodNullable<zod.ZodString>;
2530
+ contentHash: zod.ZodNullable<zod.ZodString>;
2420
2531
  publicUrl: zod.ZodString;
2421
2532
  }, zod_v4_core.$strip>>;
2422
2533
  events: zod.ZodArray<zod.ZodObject<{
@@ -2828,6 +2939,10 @@ declare const schemas: {
2828
2939
  createdAt: zod.ZodAny;
2829
2940
  updatedAt: zod.ZodAny;
2830
2941
  }, zod_v4_core.$strip>>;
2942
+ readonly GoogleAdsAssetFamily: zod.ZodEnum<{
2943
+ sitelinks: "sitelinks";
2944
+ callouts: "callouts";
2945
+ }>;
2831
2946
  readonly IntegrationNotificationType: zod.ZodEnum<{
2832
2947
  order_created: "order_created";
2833
2948
  order_cancelled: "order_cancelled";
@@ -3861,6 +3976,7 @@ declare const schemas: {
3861
3976
  createdBy: zod.ZodNullable<zod.ZodString>;
3862
3977
  updatedBy: zod.ZodNullable<zod.ZodString>;
3863
3978
  venueId: zod.ZodNullable<zod.ZodString>;
3979
+ contentHash: zod.ZodNullable<zod.ZodString>;
3864
3980
  }, zod_v4_core.$strip>;
3865
3981
  publicUrl: zod.ZodNullable<zod.ZodString>;
3866
3982
  }, zod_v4_core.$strip>;
package/dist/schemas.mjs CHANGED
@@ -1049,7 +1049,8 @@ const deleteAdResponseSchema = z.object({
1049
1049
  });
1050
1050
 
1051
1051
  const deleteAssetResponseSchema = z.object({
1052
- success: z.boolean()
1052
+ success: z.boolean(),
1053
+ deleted: z.boolean()
1053
1054
  });
1054
1055
 
1055
1056
  const deleteCalloutResponseSchema = z.object({
@@ -1329,6 +1330,72 @@ const editArticleResponseSchema = z.object({
1329
1330
  "A venue's article. `content` is a TipTap JSON document; treat it as opaque on the wire. `featureImage` is resolved per-locale with a fallback to the venue's primary locale. `ogImage` overrides the social-card image when set; `null` means it falls back to `featureImage`."
1330
1331
  );
1331
1332
 
1333
+ const editDishRequestSchema = z.object({
1334
+ venueAccessor: z.string().min(1),
1335
+ id: z.string(),
1336
+ name: z.object({}).catchall(z.string().min(1)),
1337
+ shortName: z.object({}).catchall(z.string()).nullish(),
1338
+ description: z.object({}).catchall(z.string()).nullish(),
1339
+ longDescription: z.object({}).catchall(z.string()).nullish(),
1340
+ suggestedPrice: z.number().nullish(),
1341
+ get currency() {
1342
+ return currencySchema;
1343
+ },
1344
+ isVegan: z.boolean().default(false),
1345
+ isVegetarian: z.boolean().default(false),
1346
+ isGlutenFree: z.boolean().default(false),
1347
+ isDairyFree: z.boolean().default(false),
1348
+ spiciness: z.int().min(0).max(9007199254740991).default(0),
1349
+ isActive: z.boolean().default(true)
1350
+ });
1351
+
1352
+ const editDishResponseSchema = z.object({
1353
+ id: z.string(),
1354
+ venueId: z.string(),
1355
+ accessor: z.string(),
1356
+ name: z.union([
1357
+ z.union([z.boolean(), z.string(), z.number(), z.enum([])]),
1358
+ z.array(z.any()),
1359
+ z.object({}).catchall(z.any())
1360
+ ]),
1361
+ shortName: z.nullable(
1362
+ z.union([
1363
+ z.union([z.boolean(), z.string(), z.number(), z.enum([])]),
1364
+ z.array(z.any()),
1365
+ z.object({}).catchall(z.any())
1366
+ ])
1367
+ ),
1368
+ description: z.nullable(
1369
+ z.union([
1370
+ z.union([z.boolean(), z.string(), z.number(), z.enum([])]),
1371
+ z.array(z.any()),
1372
+ z.object({}).catchall(z.any())
1373
+ ])
1374
+ ),
1375
+ longDescription: z.nullable(
1376
+ z.union([
1377
+ z.union([z.boolean(), z.string(), z.number(), z.enum([])]),
1378
+ z.array(z.any()),
1379
+ z.object({}).catchall(z.any())
1380
+ ])
1381
+ ),
1382
+ isVegan: z.nullable(z.boolean()),
1383
+ isVegetarian: z.nullable(z.boolean()),
1384
+ isGlutenFree: z.nullable(z.boolean()),
1385
+ isDairyFree: z.nullable(z.boolean()),
1386
+ spiciness: z.nullable(z.int().min(-2147483648).max(2147483647)),
1387
+ suggestedPrice: z.nullable(z.int().min(-2147483648).max(2147483647)),
1388
+ get currency() {
1389
+ return currencySchema;
1390
+ },
1391
+ isActive: z.boolean(),
1392
+ sortIndex: z.nullable(z.string().max(255)),
1393
+ updatedAt: z.nullable(z.any()),
1394
+ updatedBy: z.nullable(z.string()),
1395
+ createdAt: z.nullable(z.any()),
1396
+ createdBy: z.nullable(z.string())
1397
+ });
1398
+
1332
1399
  const editEventRequestSchema = z.object({
1333
1400
  accessor: z.string().nullish(),
1334
1401
  name: z.optional(
@@ -2182,6 +2249,100 @@ const fetchBasketResponseSchema = z.object({
2182
2249
  updatedAt: z.nullable(z.string())
2183
2250
  });
2184
2251
 
2252
+ const fetchDishResponseSchema = z.object({
2253
+ id: z.string(),
2254
+ venueId: z.string(),
2255
+ accessor: z.string(),
2256
+ name: z.union([
2257
+ z.union([z.boolean(), z.string(), z.number(), z.enum([])]),
2258
+ z.array(z.any()),
2259
+ z.object({}).catchall(z.any())
2260
+ ]),
2261
+ shortName: z.nullable(
2262
+ z.union([
2263
+ z.union([z.boolean(), z.string(), z.number(), z.enum([])]),
2264
+ z.array(z.any()),
2265
+ z.object({}).catchall(z.any())
2266
+ ])
2267
+ ),
2268
+ description: z.nullable(
2269
+ z.union([
2270
+ z.union([z.boolean(), z.string(), z.number(), z.enum([])]),
2271
+ z.array(z.any()),
2272
+ z.object({}).catchall(z.any())
2273
+ ])
2274
+ ),
2275
+ longDescription: z.nullable(
2276
+ z.union([
2277
+ z.union([z.boolean(), z.string(), z.number(), z.enum([])]),
2278
+ z.array(z.any()),
2279
+ z.object({}).catchall(z.any())
2280
+ ])
2281
+ ),
2282
+ isVegan: z.nullable(z.boolean()),
2283
+ isVegetarian: z.nullable(z.boolean()),
2284
+ isGlutenFree: z.nullable(z.boolean()),
2285
+ isDairyFree: z.nullable(z.boolean()),
2286
+ spiciness: z.nullable(z.int().min(-2147483648).max(2147483647)),
2287
+ suggestedPrice: z.nullable(z.int().min(-2147483648).max(2147483647)),
2288
+ get currency() {
2289
+ return currencySchema;
2290
+ },
2291
+ isActive: z.boolean(),
2292
+ sortIndex: z.nullable(z.string().max(255)),
2293
+ updatedAt: z.nullable(z.any()),
2294
+ updatedBy: z.nullable(z.string()),
2295
+ createdAt: z.nullable(z.any()),
2296
+ createdBy: z.nullable(z.string()),
2297
+ assets: z.array(
2298
+ z.object({
2299
+ id: z.string(),
2300
+ get type() {
2301
+ return assetTypeSchema;
2302
+ },
2303
+ tags: z.nullable(z.array(z.string())),
2304
+ bucket: z.string(),
2305
+ storagePath: z.string(),
2306
+ filename: z.string(),
2307
+ contentType: z.string(),
2308
+ sizeBytes: z.int().min(-2147483648).max(2147483647),
2309
+ caption: z.union([
2310
+ z.union([z.boolean(), z.string(), z.number(), z.enum([])]),
2311
+ z.array(z.any()),
2312
+ z.object({}).catchall(z.any())
2313
+ ]),
2314
+ alt: z.union([
2315
+ z.union([z.boolean(), z.string(), z.number(), z.enum([])]),
2316
+ z.array(z.any()),
2317
+ z.object({}).catchall(z.any())
2318
+ ]),
2319
+ metadata: z.nullable(
2320
+ z.union([
2321
+ z.union([z.boolean(), z.string(), z.number(), z.enum([])]),
2322
+ z.array(z.any()),
2323
+ z.object({}).catchall(z.any())
2324
+ ])
2325
+ ),
2326
+ cropArea: z.nullable(
2327
+ z.union([
2328
+ z.union([z.boolean(), z.string(), z.number(), z.enum([])]),
2329
+ z.array(z.any()),
2330
+ z.object({}).catchall(z.any())
2331
+ ])
2332
+ ),
2333
+ isActive: z.boolean(),
2334
+ sortIndex: z.nullable(z.string().max(255)),
2335
+ createdAt: z.nullable(z.any()),
2336
+ updatedAt: z.nullable(z.any()),
2337
+ createdBy: z.nullable(z.string()),
2338
+ updatedBy: z.nullable(z.string()),
2339
+ venueId: z.nullable(z.string()),
2340
+ contentHash: z.nullable(z.string()),
2341
+ publicUrl: z.nullable(z.string())
2342
+ })
2343
+ )
2344
+ });
2345
+
2185
2346
  const fetchEventResponseSchema = z.object({
2186
2347
  id: z.string(),
2187
2348
  venueId: z.string(),
@@ -2654,6 +2815,7 @@ const fetchMenuResponseSchema = z.object({
2654
2815
  height: z.number()
2655
2816
  })
2656
2817
  ),
2818
+ contentHash: z.nullable(z.string()),
2657
2819
  publicUrl: z.string()
2658
2820
  })
2659
2821
  ),
@@ -2672,6 +2834,12 @@ const fetchMenuResponseSchema = z.object({
2672
2834
  isActive: z.boolean(),
2673
2835
  isFeatured: z.boolean(),
2674
2836
  sortIndex: z.nullable(z.string()),
2837
+ get availableDays() {
2838
+ return z.array(dayOfWeekSchema).nullable();
2839
+ },
2840
+ availableWeeks: z.nullable(
2841
+ z.array(z.int().min(-9007199254740991).max(9007199254740991))
2842
+ ),
2675
2843
  dish: z.nullable(
2676
2844
  z.object({
2677
2845
  id: z.string(),
@@ -2722,6 +2890,7 @@ const fetchMenuResponseSchema = z.object({
2722
2890
  height: z.number()
2723
2891
  })
2724
2892
  ),
2893
+ contentHash: z.nullable(z.string()),
2725
2894
  publicUrl: z.string()
2726
2895
  })
2727
2896
  )
@@ -2773,6 +2942,7 @@ const fetchMenuResponseSchema = z.object({
2773
2942
  height: z.number()
2774
2943
  })
2775
2944
  ),
2945
+ contentHash: z.nullable(z.string()),
2776
2946
  publicUrl: z.string()
2777
2947
  })
2778
2948
  )
@@ -2923,6 +3093,7 @@ const fetchRitualResponseSchema = z.object({
2923
3093
  createdBy: z.nullable(z.string()),
2924
3094
  updatedBy: z.nullable(z.string()),
2925
3095
  venueId: z.nullable(z.string()),
3096
+ contentHash: z.nullable(z.string()),
2926
3097
  publicUrl: z.string()
2927
3098
  })
2928
3099
  ),
@@ -3300,6 +3471,8 @@ const getWebsitePagesResponseSchema = z.array(
3300
3471
  })
3301
3472
  );
3302
3473
 
3474
+ const googleAdsAssetFamilySchema = z.enum(["sitelinks", "callouts"]);
3475
+
3303
3476
  const integrationNotificationTypeSchema = z.enum([
3304
3477
  "order_created",
3305
3478
  "order_cancelled",
@@ -4245,7 +4418,8 @@ const uploadAssetResponseSchema = z.object({
4245
4418
  updatedAt: z.nullable(z.any()),
4246
4419
  createdBy: z.nullable(z.string()),
4247
4420
  updatedBy: z.nullable(z.string()),
4248
- venueId: z.nullable(z.string())
4421
+ venueId: z.nullable(z.string()),
4422
+ contentHash: z.nullable(z.string())
4249
4423
  }),
4250
4424
  publicUrl: z.nullable(z.string())
4251
4425
  });
@@ -4338,6 +4512,8 @@ const schemas = {
4338
4512
  EditAdResponse: editAdResponseSchema,
4339
4513
  EditArticleRequest: editArticleRequestSchema,
4340
4514
  EditArticleResponse: editArticleResponseSchema,
4515
+ EditDishRequest: editDishRequestSchema,
4516
+ EditDishResponse: editDishResponseSchema,
4341
4517
  EditEventRequest: editEventRequestSchema,
4342
4518
  EditEventResponse: editEventResponseSchema,
4343
4519
  EditMetaAdRequest: editMetaAdRequestSchema,
@@ -4360,6 +4536,7 @@ const schemas = {
4360
4536
  FetchArticlesResponse: fetchArticlesResponseSchema,
4361
4537
  FetchAssetsByTagResponse: fetchAssetsByTagResponseSchema,
4362
4538
  FetchBasketResponse: fetchBasketResponseSchema,
4539
+ FetchDishResponse: fetchDishResponseSchema,
4363
4540
  FetchEventResponse: fetchEventResponseSchema,
4364
4541
  FetchEventsResponse: fetchEventsResponseSchema,
4365
4542
  FetchLatestOrderResponse: fetchLatestOrderResponseSchema,
@@ -4381,6 +4558,7 @@ const schemas = {
4381
4558
  GetSubscriptionResponse: getSubscriptionResponseSchema,
4382
4559
  GetVenueResponse: getVenueResponseSchema,
4383
4560
  GetWebsitePagesResponse: getWebsitePagesResponseSchema,
4561
+ GoogleAdsAssetFamily: googleAdsAssetFamilySchema,
4384
4562
  IntegrationNotificationType: integrationNotificationTypeSchema,
4385
4563
  IntegrationType: integrationTypeSchema,
4386
4564
  InventoryAssetStatus: inventoryAssetStatusSchema,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "order3000",
3
- "version": "1.9.0",
3
+ "version": "1.11.0",
4
4
  "description": "order3000 node.js sdk",
5
5
  "main": "./dist/client.cjs",
6
6
  "module": "./dist/client.mjs",
@@ -35,6 +35,16 @@
35
35
  "types": "./dist/tracking.d.mts",
36
36
  "default": "./dist/tracking.mjs"
37
37
  }
38
+ },
39
+ "./menu": {
40
+ "require": {
41
+ "types": "./dist/menu.d.cts",
42
+ "default": "./dist/menu.cjs"
43
+ },
44
+ "import": {
45
+ "types": "./dist/menu.d.mts",
46
+ "default": "./dist/menu.mjs"
47
+ }
38
48
  }
39
49
  },
40
50
  "dependencies": {