@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.
- package/build/cjs/index.d.ts +11 -11
- package/build/cjs/index.js +113 -90
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +242 -224
- package/build/cjs/index.typings.js +86 -63
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +204 -185
- package/build/cjs/meta.js +71 -48
- package/build/cjs/meta.js.map +1 -1
- package/build/cjs/schemas.d.ts +16 -12
- package/build/cjs/schemas.js +34 -28
- package/build/cjs/schemas.js.map +1 -1
- package/build/es/index.d.mts +11 -11
- package/build/es/index.mjs +113 -90
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +242 -224
- package/build/es/index.typings.mjs +86 -63
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +204 -185
- package/build/es/meta.mjs +71 -48
- package/build/es/meta.mjs.map +1 -1
- package/build/es/schemas.d.mts +16 -12
- package/build/es/schemas.mjs +34 -28
- package/build/es/schemas.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +11 -11
- package/build/internal/cjs/index.js +113 -90
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +309 -224
- package/build/internal/cjs/index.typings.js +86 -63
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +282 -185
- package/build/internal/cjs/meta.js +71 -48
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/cjs/schemas.d.ts +16 -12
- package/build/internal/cjs/schemas.js +34 -28
- package/build/internal/cjs/schemas.js.map +1 -1
- package/build/internal/es/index.d.mts +11 -11
- package/build/internal/es/index.mjs +113 -90
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +309 -224
- package/build/internal/es/index.typings.mjs +86 -63
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +282 -185
- package/build/internal/es/meta.mjs +71 -48
- package/build/internal/es/meta.mjs.map +1 -1
- package/build/internal/es/schemas.d.mts +16 -12
- package/build/internal/es/schemas.mjs +34 -28
- package/build/internal/es/schemas.mjs.map +1 -1
- package/package.json +4 -4
|
@@ -1,16 +1,5 @@
|
|
|
1
1
|
import * as z from 'zod';
|
|
2
2
|
|
|
3
|
-
declare const DuplicateMenuRequest: z.ZodObject<{
|
|
4
|
-
_id: z.ZodString;
|
|
5
|
-
options: z.ZodOptional<z.ZodObject<{
|
|
6
|
-
businessLocationIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
7
|
-
duplicateSubEntities: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
8
|
-
menuName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
9
|
-
}, z.core.$strip>>;
|
|
10
|
-
}, z.core.$strip>;
|
|
11
|
-
declare const DuplicateMenuResponse: z.ZodObject<{
|
|
12
|
-
menuIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
13
|
-
}, z.core.$strip>;
|
|
14
3
|
declare const CreateMenuRequest: z.ZodObject<{
|
|
15
4
|
menu: z.ZodObject<{
|
|
16
5
|
_id: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
@@ -317,9 +306,9 @@ declare const QueryMenusRequest: z.ZodObject<{
|
|
|
317
306
|
}, z.core.$strict>>;
|
|
318
307
|
sort: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
319
308
|
fieldName: z.ZodOptional<z.ZodEnum<{
|
|
309
|
+
name: "name";
|
|
320
310
|
_createdDate: "_createdDate";
|
|
321
311
|
_updatedDate: "_updatedDate";
|
|
322
|
-
name: "name";
|
|
323
312
|
description: "description";
|
|
324
313
|
urlQueryParam: "urlQueryParam";
|
|
325
314
|
}>>;
|
|
@@ -550,6 +539,17 @@ declare const DeleteMenuRequest: z.ZodObject<{
|
|
|
550
539
|
menuId: z.ZodString;
|
|
551
540
|
}, z.core.$strip>;
|
|
552
541
|
declare const DeleteMenuResponse: z.ZodObject<{}, z.core.$strip>;
|
|
542
|
+
declare const DuplicateMenuRequest: z.ZodObject<{
|
|
543
|
+
_id: z.ZodString;
|
|
544
|
+
options: z.ZodOptional<z.ZodObject<{
|
|
545
|
+
businessLocationIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
546
|
+
duplicateSubEntities: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
547
|
+
menuName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
548
|
+
}, z.core.$strip>>;
|
|
549
|
+
}, z.core.$strip>;
|
|
550
|
+
declare const DuplicateMenuResponse: z.ZodObject<{
|
|
551
|
+
menuIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
552
|
+
}, z.core.$strip>;
|
|
553
553
|
declare const GetMenuSiteUrlRequest: z.ZodObject<{
|
|
554
554
|
_id: z.ZodString;
|
|
555
555
|
}, z.core.$strip>;
|
|
@@ -568,6 +568,10 @@ declare const QueryMenusSiteUrlRequest: z.ZodObject<{
|
|
|
568
568
|
ASC: "ASC";
|
|
569
569
|
DESC: "DESC";
|
|
570
570
|
}>>;
|
|
571
|
+
origin: z.ZodOptional<z.ZodObject<{
|
|
572
|
+
latitude: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
573
|
+
longitude: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
574
|
+
}, z.core.$strip>>;
|
|
571
575
|
}, z.core.$strip>>>;
|
|
572
576
|
}, z.core.$strip>, z.ZodXor<readonly [z.ZodObject<{
|
|
573
577
|
cursorPaging: z.ZodOptional<z.ZodNever>;
|
|
@@ -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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
}),
|