@wix/auto_sdk_restaurants_menus 1.0.76 → 1.0.78

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.
Files changed (49) hide show
  1. package/build/cjs/index.d.ts +11 -11
  2. package/build/cjs/index.js +113 -90
  3. package/build/cjs/index.js.map +1 -1
  4. package/build/cjs/index.typings.d.ts +242 -224
  5. package/build/cjs/index.typings.js +86 -63
  6. package/build/cjs/index.typings.js.map +1 -1
  7. package/build/cjs/meta.d.ts +204 -185
  8. package/build/cjs/meta.js +71 -48
  9. package/build/cjs/meta.js.map +1 -1
  10. package/build/cjs/schemas.d.ts +16 -12
  11. package/build/cjs/schemas.js +34 -28
  12. package/build/cjs/schemas.js.map +1 -1
  13. package/build/es/index.d.mts +11 -11
  14. package/build/es/index.mjs +113 -90
  15. package/build/es/index.mjs.map +1 -1
  16. package/build/es/index.typings.d.mts +242 -224
  17. package/build/es/index.typings.mjs +86 -63
  18. package/build/es/index.typings.mjs.map +1 -1
  19. package/build/es/meta.d.mts +204 -185
  20. package/build/es/meta.mjs +71 -48
  21. package/build/es/meta.mjs.map +1 -1
  22. package/build/es/schemas.d.mts +16 -12
  23. package/build/es/schemas.mjs +34 -28
  24. package/build/es/schemas.mjs.map +1 -1
  25. package/build/internal/cjs/index.d.ts +11 -11
  26. package/build/internal/cjs/index.js +113 -90
  27. package/build/internal/cjs/index.js.map +1 -1
  28. package/build/internal/cjs/index.typings.d.ts +309 -224
  29. package/build/internal/cjs/index.typings.js +86 -63
  30. package/build/internal/cjs/index.typings.js.map +1 -1
  31. package/build/internal/cjs/meta.d.ts +282 -185
  32. package/build/internal/cjs/meta.js +71 -48
  33. package/build/internal/cjs/meta.js.map +1 -1
  34. package/build/internal/cjs/schemas.d.ts +16 -12
  35. package/build/internal/cjs/schemas.js +34 -28
  36. package/build/internal/cjs/schemas.js.map +1 -1
  37. package/build/internal/es/index.d.mts +11 -11
  38. package/build/internal/es/index.mjs +113 -90
  39. package/build/internal/es/index.mjs.map +1 -1
  40. package/build/internal/es/index.typings.d.mts +309 -224
  41. package/build/internal/es/index.typings.mjs +86 -63
  42. package/build/internal/es/index.typings.mjs.map +1 -1
  43. package/build/internal/es/meta.d.mts +282 -185
  44. package/build/internal/es/meta.mjs +71 -48
  45. package/build/internal/es/meta.mjs.map +1 -1
  46. package/build/internal/es/schemas.d.mts +16 -12
  47. package/build/internal/es/schemas.mjs +34 -28
  48. package/build/internal/es/schemas.mjs.map +1 -1
  49. package/package.json +4 -4
@@ -59,22 +59,6 @@ module.exports = __toCommonJS(schemas_exports);
59
59
 
60
60
  // src/restaurants-menus-v1-menu-menus.schemas.ts
61
61
  var z = __toESM(require("zod"));
62
- var DuplicateMenuRequest = z.object({
63
- _id: z.string().describe("Menu id to be duplicated.").regex(
64
- /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,
65
- "Must be a valid GUID"
66
- ),
67
- options: z.object({
68
- businessLocationIds: z.array(z.string()).max(100).optional(),
69
- duplicateSubEntities: z.boolean().describe(
70
- "Indicates whether sub-entities (such as items) should be duplicated as well."
71
- ).optional().nullable(),
72
- menuName: z.string().describe("The new name of the duplicated menu.").max(500).optional().nullable()
73
- }).optional()
74
- });
75
- var DuplicateMenuResponse = z.object({
76
- menuIds: z.array(z.string()).optional()
77
- });
78
62
  var CreateMenuRequest = z.object({
79
63
  menu: z.object({
80
64
  _id: z.string().describe("Menu ID.").regex(
@@ -114,7 +98,7 @@ var CreateMenuRequest = z.object({
114
98
  "SEO tag inner content. For example, `<title> inner content </title>`."
115
99
  ).optional(),
116
100
  custom: z.boolean().describe(
117
- "Whether the tag is a [custom tag](https://support.wix.com/en/article/adding-additional-meta-tags-to-your-sites-pages)."
101
+ 'Whether the tag is a [custom tag](https://support.wix.com/en/article/adding-additional-meta-tags-to-your-sites-pages).\n\nLimitation: when `ResolveStaticPageSeoTags` is called without `seoData`, the per-page SEO data is read\nonly from the Vibe/Wix-managed-headless override store. That store holds nothing for classic Wix Editor\nor Wix Studio pages, so custom tags saved on those pages are missing from the response entirely. For\nthose pages `false` therefore does not mean "not a custom tag" \u2014 it means this API could not tell.\nPass `seoData` explicitly to resolve against a known set of tags.'
118
102
  ).optional(),
119
103
  disabled: z.boolean().describe(
120
104
  "Whether the tag is disabled. If the tag is disabled, people can't find your page when searching for this phrase in search engines."
@@ -184,7 +168,7 @@ var CreateMenuResponse = z.object({
184
168
  "SEO tag inner content. For example, `<title> inner content </title>`."
185
169
  ).optional(),
186
170
  custom: z.boolean().describe(
187
- "Whether the tag is a [custom tag](https://support.wix.com/en/article/adding-additional-meta-tags-to-your-sites-pages)."
171
+ 'Whether the tag is a [custom tag](https://support.wix.com/en/article/adding-additional-meta-tags-to-your-sites-pages).\n\nLimitation: when `ResolveStaticPageSeoTags` is called without `seoData`, the per-page SEO data is read\nonly from the Vibe/Wix-managed-headless override store. That store holds nothing for classic Wix Editor\nor Wix Studio pages, so custom tags saved on those pages are missing from the response entirely. For\nthose pages `false` therefore does not mean "not a custom tag" \u2014 it means this API could not tell.\nPass `seoData` explicitly to resolve against a known set of tags.'
188
172
  ).optional(),
189
173
  disabled: z.boolean().describe(
190
174
  "Whether the tag is disabled. If the tag is disabled, people can't find your page when searching for this phrase in search engines."
@@ -253,7 +237,7 @@ var BulkCreateMenusRequest = z.object({
253
237
  "SEO tag inner content. For example, `<title> inner content </title>`."
254
238
  ).optional(),
255
239
  custom: z.boolean().describe(
256
- "Whether the tag is a [custom tag](https://support.wix.com/en/article/adding-additional-meta-tags-to-your-sites-pages)."
240
+ 'Whether the tag is a [custom tag](https://support.wix.com/en/article/adding-additional-meta-tags-to-your-sites-pages).\n\nLimitation: when `ResolveStaticPageSeoTags` is called without `seoData`, the per-page SEO data is read\nonly from the Vibe/Wix-managed-headless override store. That store holds nothing for classic Wix Editor\nor Wix Studio pages, so custom tags saved on those pages are missing from the response entirely. For\nthose pages `false` therefore does not mean "not a custom tag" \u2014 it means this API could not tell.\nPass `seoData` explicitly to resolve against a known set of tags.'
257
241
  ).optional(),
258
242
  disabled: z.boolean().describe(
259
243
  "Whether the tag is disabled. If the tag is disabled, people can't find your page when searching for this phrase in search engines."
@@ -346,7 +330,7 @@ var BulkCreateMenusResponse = z.object({
346
330
  "SEO tag inner content. For example, `<title> inner content </title>`."
347
331
  ).optional(),
348
332
  custom: z.boolean().describe(
349
- "Whether the tag is a [custom tag](https://support.wix.com/en/article/adding-additional-meta-tags-to-your-sites-pages)."
333
+ 'Whether the tag is a [custom tag](https://support.wix.com/en/article/adding-additional-meta-tags-to-your-sites-pages).\n\nLimitation: when `ResolveStaticPageSeoTags` is called without `seoData`, the per-page SEO data is read\nonly from the Vibe/Wix-managed-headless override store. That store holds nothing for classic Wix Editor\nor Wix Studio pages, so custom tags saved on those pages are missing from the response entirely. For\nthose pages `false` therefore does not mean "not a custom tag" \u2014 it means this API could not tell.\nPass `seoData` explicitly to resolve against a known set of tags.'
350
334
  ).optional(),
351
335
  disabled: z.boolean().describe(
352
336
  "Whether the tag is disabled. If the tag is disabled, people can't find your page when searching for this phrase in search engines."
@@ -431,7 +415,7 @@ var GetMenuResponse = z.object({
431
415
  "SEO tag inner content. For example, `<title> inner content </title>`."
432
416
  ).optional(),
433
417
  custom: z.boolean().describe(
434
- "Whether the tag is a [custom tag](https://support.wix.com/en/article/adding-additional-meta-tags-to-your-sites-pages)."
418
+ 'Whether the tag is a [custom tag](https://support.wix.com/en/article/adding-additional-meta-tags-to-your-sites-pages).\n\nLimitation: when `ResolveStaticPageSeoTags` is called without `seoData`, the per-page SEO data is read\nonly from the Vibe/Wix-managed-headless override store. That store holds nothing for classic Wix Editor\nor Wix Studio pages, so custom tags saved on those pages are missing from the response entirely. For\nthose pages `false` therefore does not mean "not a custom tag" \u2014 it means this API could not tell.\nPass `seoData` explicitly to resolve against a known set of tags.'
435
419
  ).optional(),
436
420
  disabled: z.boolean().describe(
437
421
  "Whether the tag is disabled. If the tag is disabled, people can't find your page when searching for this phrase in search engines."
@@ -514,7 +498,7 @@ var ListMenusResponse = z.object({
514
498
  "SEO tag inner content. For example, `<title> inner content </title>`."
515
499
  ).optional(),
516
500
  custom: z.boolean().describe(
517
- "Whether the tag is a [custom tag](https://support.wix.com/en/article/adding-additional-meta-tags-to-your-sites-pages)."
501
+ 'Whether the tag is a [custom tag](https://support.wix.com/en/article/adding-additional-meta-tags-to-your-sites-pages).\n\nLimitation: when `ResolveStaticPageSeoTags` is called without `seoData`, the per-page SEO data is read\nonly from the Vibe/Wix-managed-headless override store. That store holds nothing for classic Wix Editor\nor Wix Studio pages, so custom tags saved on those pages are missing from the response entirely. For\nthose pages `false` therefore does not mean "not a custom tag" \u2014 it means this API could not tell.\nPass `seoData` explicitly to resolve against a known set of tags.'
518
502
  ).optional(),
519
503
  disabled: z.boolean().describe(
520
504
  "Whether the tag is disabled. If the tag is disabled, people can't find your page when searching for this phrase in search engines."
@@ -665,7 +649,7 @@ var QueryMenusResponse = z.object({
665
649
  "SEO tag inner content. For example, `<title> inner content </title>`."
666
650
  ).optional(),
667
651
  custom: z.boolean().describe(
668
- "Whether the tag is a [custom tag](https://support.wix.com/en/article/adding-additional-meta-tags-to-your-sites-pages)."
652
+ 'Whether the tag is a [custom tag](https://support.wix.com/en/article/adding-additional-meta-tags-to-your-sites-pages).\n\nLimitation: when `ResolveStaticPageSeoTags` is called without `seoData`, the per-page SEO data is read\nonly from the Vibe/Wix-managed-headless override store. That store holds nothing for classic Wix Editor\nor Wix Studio pages, so custom tags saved on those pages are missing from the response entirely. For\nthose pages `false` therefore does not mean "not a custom tag" \u2014 it means this API could not tell.\nPass `seoData` explicitly to resolve against a known set of tags.'
669
653
  ).optional(),
670
654
  disabled: z.boolean().describe(
671
655
  "Whether the tag is disabled. If the tag is disabled, people can't find your page when searching for this phrase in search engines."
@@ -753,7 +737,7 @@ var UpdateMenuRequest = z.object({
753
737
  "SEO tag inner content. For example, `<title> inner content </title>`."
754
738
  ).optional(),
755
739
  custom: z.boolean().describe(
756
- "Whether the tag is a [custom tag](https://support.wix.com/en/article/adding-additional-meta-tags-to-your-sites-pages)."
740
+ 'Whether the tag is a [custom tag](https://support.wix.com/en/article/adding-additional-meta-tags-to-your-sites-pages).\n\nLimitation: when `ResolveStaticPageSeoTags` is called without `seoData`, the per-page SEO data is read\nonly from the Vibe/Wix-managed-headless override store. That store holds nothing for classic Wix Editor\nor Wix Studio pages, so custom tags saved on those pages are missing from the response entirely. For\nthose pages `false` therefore does not mean "not a custom tag" \u2014 it means this API could not tell.\nPass `seoData` explicitly to resolve against a known set of tags.'
757
741
  ).optional(),
758
742
  disabled: z.boolean().describe(
759
743
  "Whether the tag is disabled. If the tag is disabled, people can't find your page when searching for this phrase in search engines."
@@ -823,7 +807,7 @@ var UpdateMenuResponse = z.object({
823
807
  "SEO tag inner content. For example, `<title> inner content </title>`."
824
808
  ).optional(),
825
809
  custom: z.boolean().describe(
826
- "Whether the tag is a [custom tag](https://support.wix.com/en/article/adding-additional-meta-tags-to-your-sites-pages)."
810
+ 'Whether the tag is a [custom tag](https://support.wix.com/en/article/adding-additional-meta-tags-to-your-sites-pages).\n\nLimitation: when `ResolveStaticPageSeoTags` is called without `seoData`, the per-page SEO data is read\nonly from the Vibe/Wix-managed-headless override store. That store holds nothing for classic Wix Editor\nor Wix Studio pages, so custom tags saved on those pages are missing from the response entirely. For\nthose pages `false` therefore does not mean "not a custom tag" \u2014 it means this API could not tell.\nPass `seoData` explicitly to resolve against a known set of tags.'
827
811
  ).optional(),
828
812
  disabled: z.boolean().describe(
829
813
  "Whether the tag is disabled. If the tag is disabled, people can't find your page when searching for this phrase in search engines."
@@ -893,7 +877,7 @@ var BulkUpdateMenuRequest = z.object({
893
877
  "SEO tag inner content. For example, `<title> inner content </title>`."
894
878
  ).optional(),
895
879
  custom: z.boolean().describe(
896
- "Whether the tag is a [custom tag](https://support.wix.com/en/article/adding-additional-meta-tags-to-your-sites-pages)."
880
+ 'Whether the tag is a [custom tag](https://support.wix.com/en/article/adding-additional-meta-tags-to-your-sites-pages).\n\nLimitation: when `ResolveStaticPageSeoTags` is called without `seoData`, the per-page SEO data is read\nonly from the Vibe/Wix-managed-headless override store. That store holds nothing for classic Wix Editor\nor Wix Studio pages, so custom tags saved on those pages are missing from the response entirely. For\nthose pages `false` therefore does not mean "not a custom tag" \u2014 it means this API could not tell.\nPass `seoData` explicitly to resolve against a known set of tags.'
897
881
  ).optional(),
898
882
  disabled: z.boolean().describe(
899
883
  "Whether the tag is disabled. If the tag is disabled, people can't find your page when searching for this phrase in search engines."
@@ -988,7 +972,7 @@ var BulkUpdateMenuResponse = z.object({
988
972
  "SEO tag inner content. For example, `<title> inner content </title>`."
989
973
  ).optional(),
990
974
  custom: z.boolean().describe(
991
- "Whether the tag is a [custom tag](https://support.wix.com/en/article/adding-additional-meta-tags-to-your-sites-pages)."
975
+ 'Whether the tag is a [custom tag](https://support.wix.com/en/article/adding-additional-meta-tags-to-your-sites-pages).\n\nLimitation: when `ResolveStaticPageSeoTags` is called without `seoData`, the per-page SEO data is read\nonly from the Vibe/Wix-managed-headless override store. That store holds nothing for classic Wix Editor\nor Wix Studio pages, so custom tags saved on those pages are missing from the response entirely. For\nthose pages `false` therefore does not mean "not a custom tag" \u2014 it means this API could not tell.\nPass `seoData` explicitly to resolve against a known set of tags.'
992
976
  ).optional(),
993
977
  disabled: z.boolean().describe(
994
978
  "Whether the tag is disabled. If the tag is disabled, people can't find your page when searching for this phrase in search engines."
@@ -1053,6 +1037,22 @@ var DeleteMenuRequest = z.object({
1053
1037
  )
1054
1038
  });
1055
1039
  var DeleteMenuResponse = z.object({});
1040
+ var DuplicateMenuRequest = z.object({
1041
+ _id: z.string().describe("Menu id to be duplicated.").regex(
1042
+ /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,
1043
+ "Must be a valid GUID"
1044
+ ),
1045
+ options: z.object({
1046
+ businessLocationIds: z.array(z.string()).max(100).optional(),
1047
+ duplicateSubEntities: z.boolean().describe(
1048
+ "Indicates whether sub-entities (such as items) should be duplicated as well."
1049
+ ).optional().nullable(),
1050
+ menuName: z.string().describe("The new name of the duplicated menu.").max(500).optional().nullable()
1051
+ }).optional()
1052
+ });
1053
+ var DuplicateMenuResponse = z.object({
1054
+ menuIds: z.array(z.string()).optional()
1055
+ });
1056
1056
  var GetMenuSiteUrlRequest = z.object({
1057
1057
  _id: z.string().describe("Menu ID.").regex(
1058
1058
  /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,
@@ -1074,7 +1074,13 @@ var QueryMenusSiteUrlRequest = z.object({
1074
1074
  sort: z.array(
1075
1075
  z.object({
1076
1076
  fieldName: z.string().describe("Name of the field to sort by.").max(512).optional(),
1077
- order: z.enum(["ASC", "DESC"]).optional()
1077
+ order: z.enum(["ASC", "DESC"]).optional(),
1078
+ origin: z.object({
1079
+ latitude: z.number().describe("Address latitude.").optional().nullable(),
1080
+ longitude: z.number().describe("Address longitude.").optional().nullable()
1081
+ }).describe(
1082
+ "Origin point for geo-distance sorting on a GEO field\nresults are ordered by distance from this point (ASC = nearest first, DESC = farthest first)."
1083
+ ).optional()
1078
1084
  })
1079
1085
  ).optional()
1080
1086
  }),