@deliverart/sdk-js-menu 2.5.4 → 2.5.6
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/index.cjs +6 -6
- package/dist/index.d.cts +99 -99
- package/dist/index.d.ts +99 -99
- package/dist/index.js +6 -6
- package/package.json +6 -6
package/dist/index.cjs
CHANGED
|
@@ -11432,17 +11432,17 @@ var writableMenuItemSchema = menuItemCompleteSchema.pick({
|
|
|
11432
11432
|
});
|
|
11433
11433
|
var menuItemCategorySchema = external_exports.object({
|
|
11434
11434
|
id: external_exports.string(),
|
|
11435
|
-
name: external_exports.array(localeItemSchema)
|
|
11436
|
-
description: external_exports.array(localeItemSchema)
|
|
11437
|
-
sorting: external_exports.coerce.number()
|
|
11438
|
-
suspended: external_exports.boolean()
|
|
11439
|
-
images: external_exports.array(import_sdk_js_image.imageSchema)
|
|
11435
|
+
name: external_exports.array(localeItemSchema),
|
|
11436
|
+
description: external_exports.array(localeItemSchema),
|
|
11437
|
+
sorting: external_exports.coerce.number(),
|
|
11438
|
+
suspended: external_exports.boolean(),
|
|
11439
|
+
images: external_exports.array(import_sdk_js_image.imageSchema),
|
|
11440
11440
|
createdAt: import_sdk_js_global_types3.datetimeSchema,
|
|
11441
11441
|
updatedAt: import_sdk_js_global_types3.datetimeSchema
|
|
11442
11442
|
});
|
|
11443
11443
|
var menuItemCategoryDetailsSchema = menuItemCategorySchema.extend({
|
|
11444
11444
|
pointOfSale: import_sdk_js_point_of_sale.pointOfSaleIriSchema,
|
|
11445
|
-
items: external_exports.array(menuItemIriSchema)
|
|
11445
|
+
items: external_exports.array(menuItemIriSchema)
|
|
11446
11446
|
});
|
|
11447
11447
|
var writableMenuItemCategorySchema = menuItemCategorySchema.pick({
|
|
11448
11448
|
name: true,
|
package/dist/index.d.cts
CHANGED
|
@@ -998,13 +998,13 @@ declare const menuItemCategorySchema: z.ZodObject<{
|
|
|
998
998
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
999
999
|
text: z.ZodNonOptional<z.ZodString>;
|
|
1000
1000
|
}, z.core.$strip>>;
|
|
1001
|
-
description: z.
|
|
1001
|
+
description: z.ZodArray<z.ZodObject<{
|
|
1002
1002
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
1003
1003
|
text: z.ZodNonOptional<z.ZodString>;
|
|
1004
|
-
}, z.core.$strip
|
|
1005
|
-
sorting: z.
|
|
1006
|
-
suspended: z.
|
|
1007
|
-
images: z.
|
|
1004
|
+
}, z.core.$strip>>;
|
|
1005
|
+
sorting: z.ZodCoercedNumber<unknown>;
|
|
1006
|
+
suspended: z.ZodBoolean;
|
|
1007
|
+
images: z.ZodArray<z.ZodObject<{
|
|
1008
1008
|
id: z.ZodString;
|
|
1009
1009
|
variant: z.ZodNullable<z.ZodString>;
|
|
1010
1010
|
contentUrl: z.ZodURL;
|
|
@@ -1021,7 +1021,7 @@ declare const menuItemCategorySchema: z.ZodObject<{
|
|
|
1021
1021
|
createdAt: z.ZodString;
|
|
1022
1022
|
updatedAt: z.ZodString;
|
|
1023
1023
|
}, z.core.$strip>>>;
|
|
1024
|
-
}, z.core.$strip
|
|
1024
|
+
}, z.core.$strip>>;
|
|
1025
1025
|
createdAt: z.ZodString;
|
|
1026
1026
|
updatedAt: z.ZodString;
|
|
1027
1027
|
}, z.core.$strip>;
|
|
@@ -1032,13 +1032,13 @@ declare const menuItemCategoryDetailsSchema: z.ZodObject<{
|
|
|
1032
1032
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
1033
1033
|
text: z.ZodNonOptional<z.ZodString>;
|
|
1034
1034
|
}, z.core.$strip>>;
|
|
1035
|
-
description: z.
|
|
1035
|
+
description: z.ZodArray<z.ZodObject<{
|
|
1036
1036
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
1037
1037
|
text: z.ZodNonOptional<z.ZodString>;
|
|
1038
|
-
}, z.core.$strip
|
|
1039
|
-
sorting: z.
|
|
1040
|
-
suspended: z.
|
|
1041
|
-
images: z.
|
|
1038
|
+
}, z.core.$strip>>;
|
|
1039
|
+
sorting: z.ZodCoercedNumber<unknown>;
|
|
1040
|
+
suspended: z.ZodBoolean;
|
|
1041
|
+
images: z.ZodArray<z.ZodObject<{
|
|
1042
1042
|
id: z.ZodString;
|
|
1043
1043
|
variant: z.ZodNullable<z.ZodString>;
|
|
1044
1044
|
contentUrl: z.ZodURL;
|
|
@@ -1055,11 +1055,11 @@ declare const menuItemCategoryDetailsSchema: z.ZodObject<{
|
|
|
1055
1055
|
createdAt: z.ZodString;
|
|
1056
1056
|
updatedAt: z.ZodString;
|
|
1057
1057
|
}, z.core.$strip>>>;
|
|
1058
|
-
}, z.core.$strip
|
|
1058
|
+
}, z.core.$strip>>;
|
|
1059
1059
|
createdAt: z.ZodString;
|
|
1060
1060
|
updatedAt: z.ZodString;
|
|
1061
1061
|
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
1062
|
-
items: z.
|
|
1062
|
+
items: z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown>>>;
|
|
1063
1063
|
}, z.core.$strip>;
|
|
1064
1064
|
type MenuItemCategoryDetails = z.infer<typeof menuItemCategoryDetailsSchema>;
|
|
1065
1065
|
declare const writableMenuItemCategorySchema: z.ZodObject<{
|
|
@@ -1067,12 +1067,12 @@ declare const writableMenuItemCategorySchema: z.ZodObject<{
|
|
|
1067
1067
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
1068
1068
|
text: z.ZodNonOptional<z.ZodString>;
|
|
1069
1069
|
}, z.core.$strip>>;
|
|
1070
|
-
description: z.
|
|
1070
|
+
description: z.ZodArray<z.ZodObject<{
|
|
1071
1071
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
1072
1072
|
text: z.ZodNonOptional<z.ZodString>;
|
|
1073
|
-
}, z.core.$strip
|
|
1074
|
-
suspended: z.
|
|
1075
|
-
sorting: z.
|
|
1073
|
+
}, z.core.$strip>>;
|
|
1074
|
+
suspended: z.ZodBoolean;
|
|
1075
|
+
sorting: z.ZodCoercedNumber<unknown>;
|
|
1076
1076
|
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
1077
1077
|
images: z.ZodDefault<z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/images/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/images/:id">, unknown>>>>;
|
|
1078
1078
|
}, z.core.$strip>;
|
|
@@ -1619,12 +1619,12 @@ declare const createMenuItemCategoryInputSchema: z.ZodObject<{
|
|
|
1619
1619
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
1620
1620
|
text: z.ZodNonOptional<z.ZodString>;
|
|
1621
1621
|
}, z.core.$strip>>>;
|
|
1622
|
-
description: z.ZodNonOptional<z.
|
|
1622
|
+
description: z.ZodNonOptional<z.ZodArray<z.ZodObject<{
|
|
1623
1623
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
1624
1624
|
text: z.ZodNonOptional<z.ZodString>;
|
|
1625
|
-
}, z.core.$strip
|
|
1626
|
-
suspended: z.ZodNonOptional<z.
|
|
1627
|
-
sorting: z.ZodNonOptional<z.
|
|
1625
|
+
}, z.core.$strip>>>;
|
|
1626
|
+
suspended: z.ZodNonOptional<z.ZodBoolean>;
|
|
1627
|
+
sorting: z.ZodNonOptional<z.ZodCoercedNumber<unknown>>;
|
|
1628
1628
|
pointOfSale: z.ZodNonOptional<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>>;
|
|
1629
1629
|
images: z.ZodNonOptional<z.ZodDefault<z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/images/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/images/:id">, unknown>>>>>;
|
|
1630
1630
|
}, z.core.$strip>;
|
|
@@ -1635,13 +1635,13 @@ declare const createMenuItemCategoryResponseSchema: z.ZodObject<{
|
|
|
1635
1635
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
1636
1636
|
text: z.ZodNonOptional<z.ZodString>;
|
|
1637
1637
|
}, z.core.$strip>>;
|
|
1638
|
-
description: z.
|
|
1638
|
+
description: z.ZodArray<z.ZodObject<{
|
|
1639
1639
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
1640
1640
|
text: z.ZodNonOptional<z.ZodString>;
|
|
1641
|
-
}, z.core.$strip
|
|
1642
|
-
sorting: z.
|
|
1643
|
-
suspended: z.
|
|
1644
|
-
images: z.
|
|
1641
|
+
}, z.core.$strip>>;
|
|
1642
|
+
sorting: z.ZodCoercedNumber<unknown>;
|
|
1643
|
+
suspended: z.ZodBoolean;
|
|
1644
|
+
images: z.ZodArray<z.ZodObject<{
|
|
1645
1645
|
id: z.ZodString;
|
|
1646
1646
|
variant: z.ZodNullable<z.ZodString>;
|
|
1647
1647
|
contentUrl: z.ZodURL;
|
|
@@ -1658,11 +1658,11 @@ declare const createMenuItemCategoryResponseSchema: z.ZodObject<{
|
|
|
1658
1658
|
createdAt: z.ZodString;
|
|
1659
1659
|
updatedAt: z.ZodString;
|
|
1660
1660
|
}, z.core.$strip>>>;
|
|
1661
|
-
}, z.core.$strip
|
|
1661
|
+
}, z.core.$strip>>;
|
|
1662
1662
|
createdAt: z.ZodString;
|
|
1663
1663
|
updatedAt: z.ZodString;
|
|
1664
1664
|
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
1665
|
-
items: z.
|
|
1665
|
+
items: z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown>>>;
|
|
1666
1666
|
}, z.core.$strip>;
|
|
1667
1667
|
type CreateMenuItemCategoryResponse = z.output<typeof createMenuItemCategoryResponseSchema>;
|
|
1668
1668
|
declare class CreateMenuItemCategory extends AbstractApiRequest<typeof createMenuItemCategoryInputSchema, typeof createMenuItemCategoryResponseSchema> {
|
|
@@ -1674,12 +1674,12 @@ declare class CreateMenuItemCategory extends AbstractApiRequest<typeof createMen
|
|
|
1674
1674
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
1675
1675
|
text: z.ZodNonOptional<z.ZodString>;
|
|
1676
1676
|
}, z.core.$strip>>>;
|
|
1677
|
-
description: z.ZodNonOptional<z.
|
|
1677
|
+
description: z.ZodNonOptional<z.ZodArray<z.ZodObject<{
|
|
1678
1678
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
1679
1679
|
text: z.ZodNonOptional<z.ZodString>;
|
|
1680
|
-
}, z.core.$strip
|
|
1681
|
-
suspended: z.ZodNonOptional<z.
|
|
1682
|
-
sorting: z.ZodNonOptional<z.
|
|
1680
|
+
}, z.core.$strip>>>;
|
|
1681
|
+
suspended: z.ZodNonOptional<z.ZodBoolean>;
|
|
1682
|
+
sorting: z.ZodNonOptional<z.ZodCoercedNumber<unknown>>;
|
|
1683
1683
|
pointOfSale: z.ZodNonOptional<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>>;
|
|
1684
1684
|
images: z.ZodNonOptional<z.ZodDefault<z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/images/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/images/:id">, unknown>>>>>;
|
|
1685
1685
|
}, z.core.$strip>;
|
|
@@ -1689,13 +1689,13 @@ declare class CreateMenuItemCategory extends AbstractApiRequest<typeof createMen
|
|
|
1689
1689
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
1690
1690
|
text: z.ZodNonOptional<z.ZodString>;
|
|
1691
1691
|
}, z.core.$strip>>;
|
|
1692
|
-
description: z.
|
|
1692
|
+
description: z.ZodArray<z.ZodObject<{
|
|
1693
1693
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
1694
1694
|
text: z.ZodNonOptional<z.ZodString>;
|
|
1695
|
-
}, z.core.$strip
|
|
1696
|
-
sorting: z.
|
|
1697
|
-
suspended: z.
|
|
1698
|
-
images: z.
|
|
1695
|
+
}, z.core.$strip>>;
|
|
1696
|
+
sorting: z.ZodCoercedNumber<unknown>;
|
|
1697
|
+
suspended: z.ZodBoolean;
|
|
1698
|
+
images: z.ZodArray<z.ZodObject<{
|
|
1699
1699
|
id: z.ZodString;
|
|
1700
1700
|
variant: z.ZodNullable<z.ZodString>;
|
|
1701
1701
|
contentUrl: z.ZodURL;
|
|
@@ -1712,11 +1712,11 @@ declare class CreateMenuItemCategory extends AbstractApiRequest<typeof createMen
|
|
|
1712
1712
|
createdAt: z.ZodString;
|
|
1713
1713
|
updatedAt: z.ZodString;
|
|
1714
1714
|
}, z.core.$strip>>>;
|
|
1715
|
-
}, z.core.$strip
|
|
1715
|
+
}, z.core.$strip>>;
|
|
1716
1716
|
createdAt: z.ZodString;
|
|
1717
1717
|
updatedAt: z.ZodString;
|
|
1718
1718
|
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
1719
|
-
items: z.
|
|
1719
|
+
items: z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown>>>;
|
|
1720
1720
|
}, z.core.$strip>;
|
|
1721
1721
|
readonly querySchema: undefined;
|
|
1722
1722
|
readonly headersSchema: undefined;
|
|
@@ -1765,13 +1765,13 @@ declare const getMenuItemCategoriesResponseSchema: z.ZodObject<{
|
|
|
1765
1765
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
1766
1766
|
text: z.ZodNonOptional<z.ZodString>;
|
|
1767
1767
|
}, z.core.$strip>>;
|
|
1768
|
-
description: z.
|
|
1768
|
+
description: z.ZodArray<z.ZodObject<{
|
|
1769
1769
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
1770
1770
|
text: z.ZodNonOptional<z.ZodString>;
|
|
1771
|
-
}, z.core.$strip
|
|
1772
|
-
sorting: z.
|
|
1773
|
-
suspended: z.
|
|
1774
|
-
images: z.
|
|
1771
|
+
}, z.core.$strip>>;
|
|
1772
|
+
sorting: z.ZodCoercedNumber<unknown>;
|
|
1773
|
+
suspended: z.ZodBoolean;
|
|
1774
|
+
images: z.ZodArray<z.ZodObject<{
|
|
1775
1775
|
id: z.ZodString;
|
|
1776
1776
|
variant: z.ZodNullable<z.ZodString>;
|
|
1777
1777
|
contentUrl: z.ZodURL;
|
|
@@ -1788,7 +1788,7 @@ declare const getMenuItemCategoriesResponseSchema: z.ZodObject<{
|
|
|
1788
1788
|
createdAt: z.ZodString;
|
|
1789
1789
|
updatedAt: z.ZodString;
|
|
1790
1790
|
}, z.core.$strip>>>;
|
|
1791
|
-
}, z.core.$strip
|
|
1791
|
+
}, z.core.$strip>>;
|
|
1792
1792
|
createdAt: z.ZodString;
|
|
1793
1793
|
updatedAt: z.ZodString;
|
|
1794
1794
|
}, z.core.$strip>>;
|
|
@@ -1814,13 +1814,13 @@ declare class GetMenuItemCategories extends AbstractApiRequest<typeof getMenuIte
|
|
|
1814
1814
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
1815
1815
|
text: z.ZodNonOptional<z.ZodString>;
|
|
1816
1816
|
}, z.core.$strip>>;
|
|
1817
|
-
description: z.
|
|
1817
|
+
description: z.ZodArray<z.ZodObject<{
|
|
1818
1818
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
1819
1819
|
text: z.ZodNonOptional<z.ZodString>;
|
|
1820
|
-
}, z.core.$strip
|
|
1821
|
-
sorting: z.
|
|
1822
|
-
suspended: z.
|
|
1823
|
-
images: z.
|
|
1820
|
+
}, z.core.$strip>>;
|
|
1821
|
+
sorting: z.ZodCoercedNumber<unknown>;
|
|
1822
|
+
suspended: z.ZodBoolean;
|
|
1823
|
+
images: z.ZodArray<z.ZodObject<{
|
|
1824
1824
|
id: z.ZodString;
|
|
1825
1825
|
variant: z.ZodNullable<z.ZodString>;
|
|
1826
1826
|
contentUrl: z.ZodURL;
|
|
@@ -1837,7 +1837,7 @@ declare class GetMenuItemCategories extends AbstractApiRequest<typeof getMenuIte
|
|
|
1837
1837
|
createdAt: z.ZodString;
|
|
1838
1838
|
updatedAt: z.ZodString;
|
|
1839
1839
|
}, z.core.$strip>>>;
|
|
1840
|
-
}, z.core.$strip
|
|
1840
|
+
}, z.core.$strip>>;
|
|
1841
1841
|
createdAt: z.ZodString;
|
|
1842
1842
|
updatedAt: z.ZodString;
|
|
1843
1843
|
}, z.core.$strip>>;
|
|
@@ -1900,13 +1900,13 @@ declare const getMenuItemCategoriesFromPointOfSaleResponseSchema: z.ZodObject<{
|
|
|
1900
1900
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
1901
1901
|
text: z.ZodNonOptional<z.ZodString>;
|
|
1902
1902
|
}, z.core.$strip>>;
|
|
1903
|
-
description: z.
|
|
1903
|
+
description: z.ZodArray<z.ZodObject<{
|
|
1904
1904
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
1905
1905
|
text: z.ZodNonOptional<z.ZodString>;
|
|
1906
|
-
}, z.core.$strip
|
|
1907
|
-
sorting: z.
|
|
1908
|
-
suspended: z.
|
|
1909
|
-
images: z.
|
|
1906
|
+
}, z.core.$strip>>;
|
|
1907
|
+
sorting: z.ZodCoercedNumber<unknown>;
|
|
1908
|
+
suspended: z.ZodBoolean;
|
|
1909
|
+
images: z.ZodArray<z.ZodObject<{
|
|
1910
1910
|
id: z.ZodString;
|
|
1911
1911
|
variant: z.ZodNullable<z.ZodString>;
|
|
1912
1912
|
contentUrl: z.ZodURL;
|
|
@@ -1923,7 +1923,7 @@ declare const getMenuItemCategoriesFromPointOfSaleResponseSchema: z.ZodObject<{
|
|
|
1923
1923
|
createdAt: z.ZodString;
|
|
1924
1924
|
updatedAt: z.ZodString;
|
|
1925
1925
|
}, z.core.$strip>>>;
|
|
1926
|
-
}, z.core.$strip
|
|
1926
|
+
}, z.core.$strip>>;
|
|
1927
1927
|
createdAt: z.ZodString;
|
|
1928
1928
|
updatedAt: z.ZodString;
|
|
1929
1929
|
}, z.core.$strip>>;
|
|
@@ -1949,13 +1949,13 @@ declare class GetMenuItemCategoriesFromPointOfSale extends AbstractApiRequest<ty
|
|
|
1949
1949
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
1950
1950
|
text: z.ZodNonOptional<z.ZodString>;
|
|
1951
1951
|
}, z.core.$strip>>;
|
|
1952
|
-
description: z.
|
|
1952
|
+
description: z.ZodArray<z.ZodObject<{
|
|
1953
1953
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
1954
1954
|
text: z.ZodNonOptional<z.ZodString>;
|
|
1955
|
-
}, z.core.$strip
|
|
1956
|
-
sorting: z.
|
|
1957
|
-
suspended: z.
|
|
1958
|
-
images: z.
|
|
1955
|
+
}, z.core.$strip>>;
|
|
1956
|
+
sorting: z.ZodCoercedNumber<unknown>;
|
|
1957
|
+
suspended: z.ZodBoolean;
|
|
1958
|
+
images: z.ZodArray<z.ZodObject<{
|
|
1959
1959
|
id: z.ZodString;
|
|
1960
1960
|
variant: z.ZodNullable<z.ZodString>;
|
|
1961
1961
|
contentUrl: z.ZodURL;
|
|
@@ -1972,7 +1972,7 @@ declare class GetMenuItemCategoriesFromPointOfSale extends AbstractApiRequest<ty
|
|
|
1972
1972
|
createdAt: z.ZodString;
|
|
1973
1973
|
updatedAt: z.ZodString;
|
|
1974
1974
|
}, z.core.$strip>>>;
|
|
1975
|
-
}, z.core.$strip
|
|
1975
|
+
}, z.core.$strip>>;
|
|
1976
1976
|
createdAt: z.ZodString;
|
|
1977
1977
|
updatedAt: z.ZodString;
|
|
1978
1978
|
}, z.core.$strip>>;
|
|
@@ -2018,13 +2018,13 @@ declare const getMenuItemCategoryDetailsResponseSchema: z.ZodObject<{
|
|
|
2018
2018
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
2019
2019
|
text: z.ZodNonOptional<z.ZodString>;
|
|
2020
2020
|
}, z.core.$strip>>;
|
|
2021
|
-
description: z.
|
|
2021
|
+
description: z.ZodArray<z.ZodObject<{
|
|
2022
2022
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
2023
2023
|
text: z.ZodNonOptional<z.ZodString>;
|
|
2024
|
-
}, z.core.$strip
|
|
2025
|
-
sorting: z.
|
|
2026
|
-
suspended: z.
|
|
2027
|
-
images: z.
|
|
2024
|
+
}, z.core.$strip>>;
|
|
2025
|
+
sorting: z.ZodCoercedNumber<unknown>;
|
|
2026
|
+
suspended: z.ZodBoolean;
|
|
2027
|
+
images: z.ZodArray<z.ZodObject<{
|
|
2028
2028
|
id: z.ZodString;
|
|
2029
2029
|
variant: z.ZodNullable<z.ZodString>;
|
|
2030
2030
|
contentUrl: z.ZodURL;
|
|
@@ -2041,11 +2041,11 @@ declare const getMenuItemCategoryDetailsResponseSchema: z.ZodObject<{
|
|
|
2041
2041
|
createdAt: z.ZodString;
|
|
2042
2042
|
updatedAt: z.ZodString;
|
|
2043
2043
|
}, z.core.$strip>>>;
|
|
2044
|
-
}, z.core.$strip
|
|
2044
|
+
}, z.core.$strip>>;
|
|
2045
2045
|
createdAt: z.ZodString;
|
|
2046
2046
|
updatedAt: z.ZodString;
|
|
2047
2047
|
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
2048
|
-
items: z.
|
|
2048
|
+
items: z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown>>>;
|
|
2049
2049
|
}, z.core.$strip>;
|
|
2050
2050
|
type GetMenuItemCategoryDetailsResponse = z.infer<typeof getMenuItemCategoryDetailsResponseSchema>;
|
|
2051
2051
|
declare class GetMenuItemCategoryDetails extends AbstractApiRequest<typeof getMenuItemCategoryDetailsInputSchema, typeof getMenuItemCategoryDetailsResponseSchema> {
|
|
@@ -2059,13 +2059,13 @@ declare class GetMenuItemCategoryDetails extends AbstractApiRequest<typeof getMe
|
|
|
2059
2059
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
2060
2060
|
text: z.ZodNonOptional<z.ZodString>;
|
|
2061
2061
|
}, z.core.$strip>>;
|
|
2062
|
-
description: z.
|
|
2062
|
+
description: z.ZodArray<z.ZodObject<{
|
|
2063
2063
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
2064
2064
|
text: z.ZodNonOptional<z.ZodString>;
|
|
2065
|
-
}, z.core.$strip
|
|
2066
|
-
sorting: z.
|
|
2067
|
-
suspended: z.
|
|
2068
|
-
images: z.
|
|
2065
|
+
}, z.core.$strip>>;
|
|
2066
|
+
sorting: z.ZodCoercedNumber<unknown>;
|
|
2067
|
+
suspended: z.ZodBoolean;
|
|
2068
|
+
images: z.ZodArray<z.ZodObject<{
|
|
2069
2069
|
id: z.ZodString;
|
|
2070
2070
|
variant: z.ZodNullable<z.ZodString>;
|
|
2071
2071
|
contentUrl: z.ZodURL;
|
|
@@ -2082,11 +2082,11 @@ declare class GetMenuItemCategoryDetails extends AbstractApiRequest<typeof getMe
|
|
|
2082
2082
|
createdAt: z.ZodString;
|
|
2083
2083
|
updatedAt: z.ZodString;
|
|
2084
2084
|
}, z.core.$strip>>>;
|
|
2085
|
-
}, z.core.$strip
|
|
2085
|
+
}, z.core.$strip>>;
|
|
2086
2086
|
createdAt: z.ZodString;
|
|
2087
2087
|
updatedAt: z.ZodString;
|
|
2088
2088
|
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
2089
|
-
items: z.
|
|
2089
|
+
items: z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown>>>;
|
|
2090
2090
|
}, z.core.$strip>;
|
|
2091
2091
|
readonly querySchema: undefined;
|
|
2092
2092
|
readonly headersSchema: undefined;
|
|
@@ -2100,13 +2100,13 @@ declare const updateMenuItemCategoryInputSchema: z.ZodObject<{
|
|
|
2100
2100
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
2101
2101
|
text: z.ZodNonOptional<z.ZodString>;
|
|
2102
2102
|
}, z.core.$strip>>>;
|
|
2103
|
-
description: z.ZodOptional<z.
|
|
2103
|
+
description: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2104
2104
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
2105
2105
|
text: z.ZodNonOptional<z.ZodString>;
|
|
2106
|
-
}, z.core.$strip
|
|
2107
|
-
suspended: z.ZodOptional<z.
|
|
2106
|
+
}, z.core.$strip>>>;
|
|
2107
|
+
suspended: z.ZodOptional<z.ZodBoolean>;
|
|
2108
2108
|
images: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/images/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/images/:id">, unknown>>>>>;
|
|
2109
|
-
sorting: z.ZodOptional<z.
|
|
2109
|
+
sorting: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
2110
2110
|
}, z.core.$strip>;
|
|
2111
2111
|
type UpdateMenuItemCategoryInput = z.input<typeof updateMenuItemCategoryInputSchema>;
|
|
2112
2112
|
declare const updateMenuItemCategoryResponseSchema: z.ZodObject<{
|
|
@@ -2115,13 +2115,13 @@ declare const updateMenuItemCategoryResponseSchema: z.ZodObject<{
|
|
|
2115
2115
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
2116
2116
|
text: z.ZodNonOptional<z.ZodString>;
|
|
2117
2117
|
}, z.core.$strip>>;
|
|
2118
|
-
description: z.
|
|
2118
|
+
description: z.ZodArray<z.ZodObject<{
|
|
2119
2119
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
2120
2120
|
text: z.ZodNonOptional<z.ZodString>;
|
|
2121
|
-
}, z.core.$strip
|
|
2122
|
-
sorting: z.
|
|
2123
|
-
suspended: z.
|
|
2124
|
-
images: z.
|
|
2121
|
+
}, z.core.$strip>>;
|
|
2122
|
+
sorting: z.ZodCoercedNumber<unknown>;
|
|
2123
|
+
suspended: z.ZodBoolean;
|
|
2124
|
+
images: z.ZodArray<z.ZodObject<{
|
|
2125
2125
|
id: z.ZodString;
|
|
2126
2126
|
variant: z.ZodNullable<z.ZodString>;
|
|
2127
2127
|
contentUrl: z.ZodURL;
|
|
@@ -2138,11 +2138,11 @@ declare const updateMenuItemCategoryResponseSchema: z.ZodObject<{
|
|
|
2138
2138
|
createdAt: z.ZodString;
|
|
2139
2139
|
updatedAt: z.ZodString;
|
|
2140
2140
|
}, z.core.$strip>>>;
|
|
2141
|
-
}, z.core.$strip
|
|
2141
|
+
}, z.core.$strip>>;
|
|
2142
2142
|
createdAt: z.ZodString;
|
|
2143
2143
|
updatedAt: z.ZodString;
|
|
2144
2144
|
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
2145
|
-
items: z.
|
|
2145
|
+
items: z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown>>>;
|
|
2146
2146
|
}, z.core.$strip>;
|
|
2147
2147
|
type UpdateMenuItemCategoryResponse = z.infer<typeof updateMenuItemCategoryResponseSchema>;
|
|
2148
2148
|
declare class UpdateMenuItemCategory extends AbstractApiRequest<typeof updateMenuItemCategoryInputSchema, typeof updateMenuItemCategoryResponseSchema> {
|
|
@@ -2154,13 +2154,13 @@ declare class UpdateMenuItemCategory extends AbstractApiRequest<typeof updateMen
|
|
|
2154
2154
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
2155
2155
|
text: z.ZodNonOptional<z.ZodString>;
|
|
2156
2156
|
}, z.core.$strip>>>;
|
|
2157
|
-
description: z.ZodOptional<z.
|
|
2157
|
+
description: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2158
2158
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
2159
2159
|
text: z.ZodNonOptional<z.ZodString>;
|
|
2160
|
-
}, z.core.$strip
|
|
2161
|
-
suspended: z.ZodOptional<z.
|
|
2160
|
+
}, z.core.$strip>>>;
|
|
2161
|
+
suspended: z.ZodOptional<z.ZodBoolean>;
|
|
2162
2162
|
images: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/images/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/images/:id">, unknown>>>>>;
|
|
2163
|
-
sorting: z.ZodOptional<z.
|
|
2163
|
+
sorting: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
2164
2164
|
}, z.core.$strip>;
|
|
2165
2165
|
readonly outputSchema: z.ZodObject<{
|
|
2166
2166
|
id: z.ZodString;
|
|
@@ -2168,13 +2168,13 @@ declare class UpdateMenuItemCategory extends AbstractApiRequest<typeof updateMen
|
|
|
2168
2168
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
2169
2169
|
text: z.ZodNonOptional<z.ZodString>;
|
|
2170
2170
|
}, z.core.$strip>>;
|
|
2171
|
-
description: z.
|
|
2171
|
+
description: z.ZodArray<z.ZodObject<{
|
|
2172
2172
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
2173
2173
|
text: z.ZodNonOptional<z.ZodString>;
|
|
2174
|
-
}, z.core.$strip
|
|
2175
|
-
sorting: z.
|
|
2176
|
-
suspended: z.
|
|
2177
|
-
images: z.
|
|
2174
|
+
}, z.core.$strip>>;
|
|
2175
|
+
sorting: z.ZodCoercedNumber<unknown>;
|
|
2176
|
+
suspended: z.ZodBoolean;
|
|
2177
|
+
images: z.ZodArray<z.ZodObject<{
|
|
2178
2178
|
id: z.ZodString;
|
|
2179
2179
|
variant: z.ZodNullable<z.ZodString>;
|
|
2180
2180
|
contentUrl: z.ZodURL;
|
|
@@ -2191,11 +2191,11 @@ declare class UpdateMenuItemCategory extends AbstractApiRequest<typeof updateMen
|
|
|
2191
2191
|
createdAt: z.ZodString;
|
|
2192
2192
|
updatedAt: z.ZodString;
|
|
2193
2193
|
}, z.core.$strip>>>;
|
|
2194
|
-
}, z.core.$strip
|
|
2194
|
+
}, z.core.$strip>>;
|
|
2195
2195
|
createdAt: z.ZodString;
|
|
2196
2196
|
updatedAt: z.ZodString;
|
|
2197
2197
|
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
2198
|
-
items: z.
|
|
2198
|
+
items: z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown>>>;
|
|
2199
2199
|
}, z.core.$strip>;
|
|
2200
2200
|
readonly querySchema: undefined;
|
|
2201
2201
|
readonly headersSchema: undefined;
|
package/dist/index.d.ts
CHANGED
|
@@ -998,13 +998,13 @@ declare const menuItemCategorySchema: z.ZodObject<{
|
|
|
998
998
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
999
999
|
text: z.ZodNonOptional<z.ZodString>;
|
|
1000
1000
|
}, z.core.$strip>>;
|
|
1001
|
-
description: z.
|
|
1001
|
+
description: z.ZodArray<z.ZodObject<{
|
|
1002
1002
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
1003
1003
|
text: z.ZodNonOptional<z.ZodString>;
|
|
1004
|
-
}, z.core.$strip
|
|
1005
|
-
sorting: z.
|
|
1006
|
-
suspended: z.
|
|
1007
|
-
images: z.
|
|
1004
|
+
}, z.core.$strip>>;
|
|
1005
|
+
sorting: z.ZodCoercedNumber<unknown>;
|
|
1006
|
+
suspended: z.ZodBoolean;
|
|
1007
|
+
images: z.ZodArray<z.ZodObject<{
|
|
1008
1008
|
id: z.ZodString;
|
|
1009
1009
|
variant: z.ZodNullable<z.ZodString>;
|
|
1010
1010
|
contentUrl: z.ZodURL;
|
|
@@ -1021,7 +1021,7 @@ declare const menuItemCategorySchema: z.ZodObject<{
|
|
|
1021
1021
|
createdAt: z.ZodString;
|
|
1022
1022
|
updatedAt: z.ZodString;
|
|
1023
1023
|
}, z.core.$strip>>>;
|
|
1024
|
-
}, z.core.$strip
|
|
1024
|
+
}, z.core.$strip>>;
|
|
1025
1025
|
createdAt: z.ZodString;
|
|
1026
1026
|
updatedAt: z.ZodString;
|
|
1027
1027
|
}, z.core.$strip>;
|
|
@@ -1032,13 +1032,13 @@ declare const menuItemCategoryDetailsSchema: z.ZodObject<{
|
|
|
1032
1032
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
1033
1033
|
text: z.ZodNonOptional<z.ZodString>;
|
|
1034
1034
|
}, z.core.$strip>>;
|
|
1035
|
-
description: z.
|
|
1035
|
+
description: z.ZodArray<z.ZodObject<{
|
|
1036
1036
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
1037
1037
|
text: z.ZodNonOptional<z.ZodString>;
|
|
1038
|
-
}, z.core.$strip
|
|
1039
|
-
sorting: z.
|
|
1040
|
-
suspended: z.
|
|
1041
|
-
images: z.
|
|
1038
|
+
}, z.core.$strip>>;
|
|
1039
|
+
sorting: z.ZodCoercedNumber<unknown>;
|
|
1040
|
+
suspended: z.ZodBoolean;
|
|
1041
|
+
images: z.ZodArray<z.ZodObject<{
|
|
1042
1042
|
id: z.ZodString;
|
|
1043
1043
|
variant: z.ZodNullable<z.ZodString>;
|
|
1044
1044
|
contentUrl: z.ZodURL;
|
|
@@ -1055,11 +1055,11 @@ declare const menuItemCategoryDetailsSchema: z.ZodObject<{
|
|
|
1055
1055
|
createdAt: z.ZodString;
|
|
1056
1056
|
updatedAt: z.ZodString;
|
|
1057
1057
|
}, z.core.$strip>>>;
|
|
1058
|
-
}, z.core.$strip
|
|
1058
|
+
}, z.core.$strip>>;
|
|
1059
1059
|
createdAt: z.ZodString;
|
|
1060
1060
|
updatedAt: z.ZodString;
|
|
1061
1061
|
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
1062
|
-
items: z.
|
|
1062
|
+
items: z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown>>>;
|
|
1063
1063
|
}, z.core.$strip>;
|
|
1064
1064
|
type MenuItemCategoryDetails = z.infer<typeof menuItemCategoryDetailsSchema>;
|
|
1065
1065
|
declare const writableMenuItemCategorySchema: z.ZodObject<{
|
|
@@ -1067,12 +1067,12 @@ declare const writableMenuItemCategorySchema: z.ZodObject<{
|
|
|
1067
1067
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
1068
1068
|
text: z.ZodNonOptional<z.ZodString>;
|
|
1069
1069
|
}, z.core.$strip>>;
|
|
1070
|
-
description: z.
|
|
1070
|
+
description: z.ZodArray<z.ZodObject<{
|
|
1071
1071
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
1072
1072
|
text: z.ZodNonOptional<z.ZodString>;
|
|
1073
|
-
}, z.core.$strip
|
|
1074
|
-
suspended: z.
|
|
1075
|
-
sorting: z.
|
|
1073
|
+
}, z.core.$strip>>;
|
|
1074
|
+
suspended: z.ZodBoolean;
|
|
1075
|
+
sorting: z.ZodCoercedNumber<unknown>;
|
|
1076
1076
|
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
1077
1077
|
images: z.ZodDefault<z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/images/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/images/:id">, unknown>>>>;
|
|
1078
1078
|
}, z.core.$strip>;
|
|
@@ -1619,12 +1619,12 @@ declare const createMenuItemCategoryInputSchema: z.ZodObject<{
|
|
|
1619
1619
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
1620
1620
|
text: z.ZodNonOptional<z.ZodString>;
|
|
1621
1621
|
}, z.core.$strip>>>;
|
|
1622
|
-
description: z.ZodNonOptional<z.
|
|
1622
|
+
description: z.ZodNonOptional<z.ZodArray<z.ZodObject<{
|
|
1623
1623
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
1624
1624
|
text: z.ZodNonOptional<z.ZodString>;
|
|
1625
|
-
}, z.core.$strip
|
|
1626
|
-
suspended: z.ZodNonOptional<z.
|
|
1627
|
-
sorting: z.ZodNonOptional<z.
|
|
1625
|
+
}, z.core.$strip>>>;
|
|
1626
|
+
suspended: z.ZodNonOptional<z.ZodBoolean>;
|
|
1627
|
+
sorting: z.ZodNonOptional<z.ZodCoercedNumber<unknown>>;
|
|
1628
1628
|
pointOfSale: z.ZodNonOptional<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>>;
|
|
1629
1629
|
images: z.ZodNonOptional<z.ZodDefault<z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/images/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/images/:id">, unknown>>>>>;
|
|
1630
1630
|
}, z.core.$strip>;
|
|
@@ -1635,13 +1635,13 @@ declare const createMenuItemCategoryResponseSchema: z.ZodObject<{
|
|
|
1635
1635
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
1636
1636
|
text: z.ZodNonOptional<z.ZodString>;
|
|
1637
1637
|
}, z.core.$strip>>;
|
|
1638
|
-
description: z.
|
|
1638
|
+
description: z.ZodArray<z.ZodObject<{
|
|
1639
1639
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
1640
1640
|
text: z.ZodNonOptional<z.ZodString>;
|
|
1641
|
-
}, z.core.$strip
|
|
1642
|
-
sorting: z.
|
|
1643
|
-
suspended: z.
|
|
1644
|
-
images: z.
|
|
1641
|
+
}, z.core.$strip>>;
|
|
1642
|
+
sorting: z.ZodCoercedNumber<unknown>;
|
|
1643
|
+
suspended: z.ZodBoolean;
|
|
1644
|
+
images: z.ZodArray<z.ZodObject<{
|
|
1645
1645
|
id: z.ZodString;
|
|
1646
1646
|
variant: z.ZodNullable<z.ZodString>;
|
|
1647
1647
|
contentUrl: z.ZodURL;
|
|
@@ -1658,11 +1658,11 @@ declare const createMenuItemCategoryResponseSchema: z.ZodObject<{
|
|
|
1658
1658
|
createdAt: z.ZodString;
|
|
1659
1659
|
updatedAt: z.ZodString;
|
|
1660
1660
|
}, z.core.$strip>>>;
|
|
1661
|
-
}, z.core.$strip
|
|
1661
|
+
}, z.core.$strip>>;
|
|
1662
1662
|
createdAt: z.ZodString;
|
|
1663
1663
|
updatedAt: z.ZodString;
|
|
1664
1664
|
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
1665
|
-
items: z.
|
|
1665
|
+
items: z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown>>>;
|
|
1666
1666
|
}, z.core.$strip>;
|
|
1667
1667
|
type CreateMenuItemCategoryResponse = z.output<typeof createMenuItemCategoryResponseSchema>;
|
|
1668
1668
|
declare class CreateMenuItemCategory extends AbstractApiRequest<typeof createMenuItemCategoryInputSchema, typeof createMenuItemCategoryResponseSchema> {
|
|
@@ -1674,12 +1674,12 @@ declare class CreateMenuItemCategory extends AbstractApiRequest<typeof createMen
|
|
|
1674
1674
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
1675
1675
|
text: z.ZodNonOptional<z.ZodString>;
|
|
1676
1676
|
}, z.core.$strip>>>;
|
|
1677
|
-
description: z.ZodNonOptional<z.
|
|
1677
|
+
description: z.ZodNonOptional<z.ZodArray<z.ZodObject<{
|
|
1678
1678
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
1679
1679
|
text: z.ZodNonOptional<z.ZodString>;
|
|
1680
|
-
}, z.core.$strip
|
|
1681
|
-
suspended: z.ZodNonOptional<z.
|
|
1682
|
-
sorting: z.ZodNonOptional<z.
|
|
1680
|
+
}, z.core.$strip>>>;
|
|
1681
|
+
suspended: z.ZodNonOptional<z.ZodBoolean>;
|
|
1682
|
+
sorting: z.ZodNonOptional<z.ZodCoercedNumber<unknown>>;
|
|
1683
1683
|
pointOfSale: z.ZodNonOptional<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>>;
|
|
1684
1684
|
images: z.ZodNonOptional<z.ZodDefault<z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/images/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/images/:id">, unknown>>>>>;
|
|
1685
1685
|
}, z.core.$strip>;
|
|
@@ -1689,13 +1689,13 @@ declare class CreateMenuItemCategory extends AbstractApiRequest<typeof createMen
|
|
|
1689
1689
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
1690
1690
|
text: z.ZodNonOptional<z.ZodString>;
|
|
1691
1691
|
}, z.core.$strip>>;
|
|
1692
|
-
description: z.
|
|
1692
|
+
description: z.ZodArray<z.ZodObject<{
|
|
1693
1693
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
1694
1694
|
text: z.ZodNonOptional<z.ZodString>;
|
|
1695
|
-
}, z.core.$strip
|
|
1696
|
-
sorting: z.
|
|
1697
|
-
suspended: z.
|
|
1698
|
-
images: z.
|
|
1695
|
+
}, z.core.$strip>>;
|
|
1696
|
+
sorting: z.ZodCoercedNumber<unknown>;
|
|
1697
|
+
suspended: z.ZodBoolean;
|
|
1698
|
+
images: z.ZodArray<z.ZodObject<{
|
|
1699
1699
|
id: z.ZodString;
|
|
1700
1700
|
variant: z.ZodNullable<z.ZodString>;
|
|
1701
1701
|
contentUrl: z.ZodURL;
|
|
@@ -1712,11 +1712,11 @@ declare class CreateMenuItemCategory extends AbstractApiRequest<typeof createMen
|
|
|
1712
1712
|
createdAt: z.ZodString;
|
|
1713
1713
|
updatedAt: z.ZodString;
|
|
1714
1714
|
}, z.core.$strip>>>;
|
|
1715
|
-
}, z.core.$strip
|
|
1715
|
+
}, z.core.$strip>>;
|
|
1716
1716
|
createdAt: z.ZodString;
|
|
1717
1717
|
updatedAt: z.ZodString;
|
|
1718
1718
|
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
1719
|
-
items: z.
|
|
1719
|
+
items: z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown>>>;
|
|
1720
1720
|
}, z.core.$strip>;
|
|
1721
1721
|
readonly querySchema: undefined;
|
|
1722
1722
|
readonly headersSchema: undefined;
|
|
@@ -1765,13 +1765,13 @@ declare const getMenuItemCategoriesResponseSchema: z.ZodObject<{
|
|
|
1765
1765
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
1766
1766
|
text: z.ZodNonOptional<z.ZodString>;
|
|
1767
1767
|
}, z.core.$strip>>;
|
|
1768
|
-
description: z.
|
|
1768
|
+
description: z.ZodArray<z.ZodObject<{
|
|
1769
1769
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
1770
1770
|
text: z.ZodNonOptional<z.ZodString>;
|
|
1771
|
-
}, z.core.$strip
|
|
1772
|
-
sorting: z.
|
|
1773
|
-
suspended: z.
|
|
1774
|
-
images: z.
|
|
1771
|
+
}, z.core.$strip>>;
|
|
1772
|
+
sorting: z.ZodCoercedNumber<unknown>;
|
|
1773
|
+
suspended: z.ZodBoolean;
|
|
1774
|
+
images: z.ZodArray<z.ZodObject<{
|
|
1775
1775
|
id: z.ZodString;
|
|
1776
1776
|
variant: z.ZodNullable<z.ZodString>;
|
|
1777
1777
|
contentUrl: z.ZodURL;
|
|
@@ -1788,7 +1788,7 @@ declare const getMenuItemCategoriesResponseSchema: z.ZodObject<{
|
|
|
1788
1788
|
createdAt: z.ZodString;
|
|
1789
1789
|
updatedAt: z.ZodString;
|
|
1790
1790
|
}, z.core.$strip>>>;
|
|
1791
|
-
}, z.core.$strip
|
|
1791
|
+
}, z.core.$strip>>;
|
|
1792
1792
|
createdAt: z.ZodString;
|
|
1793
1793
|
updatedAt: z.ZodString;
|
|
1794
1794
|
}, z.core.$strip>>;
|
|
@@ -1814,13 +1814,13 @@ declare class GetMenuItemCategories extends AbstractApiRequest<typeof getMenuIte
|
|
|
1814
1814
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
1815
1815
|
text: z.ZodNonOptional<z.ZodString>;
|
|
1816
1816
|
}, z.core.$strip>>;
|
|
1817
|
-
description: z.
|
|
1817
|
+
description: z.ZodArray<z.ZodObject<{
|
|
1818
1818
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
1819
1819
|
text: z.ZodNonOptional<z.ZodString>;
|
|
1820
|
-
}, z.core.$strip
|
|
1821
|
-
sorting: z.
|
|
1822
|
-
suspended: z.
|
|
1823
|
-
images: z.
|
|
1820
|
+
}, z.core.$strip>>;
|
|
1821
|
+
sorting: z.ZodCoercedNumber<unknown>;
|
|
1822
|
+
suspended: z.ZodBoolean;
|
|
1823
|
+
images: z.ZodArray<z.ZodObject<{
|
|
1824
1824
|
id: z.ZodString;
|
|
1825
1825
|
variant: z.ZodNullable<z.ZodString>;
|
|
1826
1826
|
contentUrl: z.ZodURL;
|
|
@@ -1837,7 +1837,7 @@ declare class GetMenuItemCategories extends AbstractApiRequest<typeof getMenuIte
|
|
|
1837
1837
|
createdAt: z.ZodString;
|
|
1838
1838
|
updatedAt: z.ZodString;
|
|
1839
1839
|
}, z.core.$strip>>>;
|
|
1840
|
-
}, z.core.$strip
|
|
1840
|
+
}, z.core.$strip>>;
|
|
1841
1841
|
createdAt: z.ZodString;
|
|
1842
1842
|
updatedAt: z.ZodString;
|
|
1843
1843
|
}, z.core.$strip>>;
|
|
@@ -1900,13 +1900,13 @@ declare const getMenuItemCategoriesFromPointOfSaleResponseSchema: z.ZodObject<{
|
|
|
1900
1900
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
1901
1901
|
text: z.ZodNonOptional<z.ZodString>;
|
|
1902
1902
|
}, z.core.$strip>>;
|
|
1903
|
-
description: z.
|
|
1903
|
+
description: z.ZodArray<z.ZodObject<{
|
|
1904
1904
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
1905
1905
|
text: z.ZodNonOptional<z.ZodString>;
|
|
1906
|
-
}, z.core.$strip
|
|
1907
|
-
sorting: z.
|
|
1908
|
-
suspended: z.
|
|
1909
|
-
images: z.
|
|
1906
|
+
}, z.core.$strip>>;
|
|
1907
|
+
sorting: z.ZodCoercedNumber<unknown>;
|
|
1908
|
+
suspended: z.ZodBoolean;
|
|
1909
|
+
images: z.ZodArray<z.ZodObject<{
|
|
1910
1910
|
id: z.ZodString;
|
|
1911
1911
|
variant: z.ZodNullable<z.ZodString>;
|
|
1912
1912
|
contentUrl: z.ZodURL;
|
|
@@ -1923,7 +1923,7 @@ declare const getMenuItemCategoriesFromPointOfSaleResponseSchema: z.ZodObject<{
|
|
|
1923
1923
|
createdAt: z.ZodString;
|
|
1924
1924
|
updatedAt: z.ZodString;
|
|
1925
1925
|
}, z.core.$strip>>>;
|
|
1926
|
-
}, z.core.$strip
|
|
1926
|
+
}, z.core.$strip>>;
|
|
1927
1927
|
createdAt: z.ZodString;
|
|
1928
1928
|
updatedAt: z.ZodString;
|
|
1929
1929
|
}, z.core.$strip>>;
|
|
@@ -1949,13 +1949,13 @@ declare class GetMenuItemCategoriesFromPointOfSale extends AbstractApiRequest<ty
|
|
|
1949
1949
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
1950
1950
|
text: z.ZodNonOptional<z.ZodString>;
|
|
1951
1951
|
}, z.core.$strip>>;
|
|
1952
|
-
description: z.
|
|
1952
|
+
description: z.ZodArray<z.ZodObject<{
|
|
1953
1953
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
1954
1954
|
text: z.ZodNonOptional<z.ZodString>;
|
|
1955
|
-
}, z.core.$strip
|
|
1956
|
-
sorting: z.
|
|
1957
|
-
suspended: z.
|
|
1958
|
-
images: z.
|
|
1955
|
+
}, z.core.$strip>>;
|
|
1956
|
+
sorting: z.ZodCoercedNumber<unknown>;
|
|
1957
|
+
suspended: z.ZodBoolean;
|
|
1958
|
+
images: z.ZodArray<z.ZodObject<{
|
|
1959
1959
|
id: z.ZodString;
|
|
1960
1960
|
variant: z.ZodNullable<z.ZodString>;
|
|
1961
1961
|
contentUrl: z.ZodURL;
|
|
@@ -1972,7 +1972,7 @@ declare class GetMenuItemCategoriesFromPointOfSale extends AbstractApiRequest<ty
|
|
|
1972
1972
|
createdAt: z.ZodString;
|
|
1973
1973
|
updatedAt: z.ZodString;
|
|
1974
1974
|
}, z.core.$strip>>>;
|
|
1975
|
-
}, z.core.$strip
|
|
1975
|
+
}, z.core.$strip>>;
|
|
1976
1976
|
createdAt: z.ZodString;
|
|
1977
1977
|
updatedAt: z.ZodString;
|
|
1978
1978
|
}, z.core.$strip>>;
|
|
@@ -2018,13 +2018,13 @@ declare const getMenuItemCategoryDetailsResponseSchema: z.ZodObject<{
|
|
|
2018
2018
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
2019
2019
|
text: z.ZodNonOptional<z.ZodString>;
|
|
2020
2020
|
}, z.core.$strip>>;
|
|
2021
|
-
description: z.
|
|
2021
|
+
description: z.ZodArray<z.ZodObject<{
|
|
2022
2022
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
2023
2023
|
text: z.ZodNonOptional<z.ZodString>;
|
|
2024
|
-
}, z.core.$strip
|
|
2025
|
-
sorting: z.
|
|
2026
|
-
suspended: z.
|
|
2027
|
-
images: z.
|
|
2024
|
+
}, z.core.$strip>>;
|
|
2025
|
+
sorting: z.ZodCoercedNumber<unknown>;
|
|
2026
|
+
suspended: z.ZodBoolean;
|
|
2027
|
+
images: z.ZodArray<z.ZodObject<{
|
|
2028
2028
|
id: z.ZodString;
|
|
2029
2029
|
variant: z.ZodNullable<z.ZodString>;
|
|
2030
2030
|
contentUrl: z.ZodURL;
|
|
@@ -2041,11 +2041,11 @@ declare const getMenuItemCategoryDetailsResponseSchema: z.ZodObject<{
|
|
|
2041
2041
|
createdAt: z.ZodString;
|
|
2042
2042
|
updatedAt: z.ZodString;
|
|
2043
2043
|
}, z.core.$strip>>>;
|
|
2044
|
-
}, z.core.$strip
|
|
2044
|
+
}, z.core.$strip>>;
|
|
2045
2045
|
createdAt: z.ZodString;
|
|
2046
2046
|
updatedAt: z.ZodString;
|
|
2047
2047
|
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
2048
|
-
items: z.
|
|
2048
|
+
items: z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown>>>;
|
|
2049
2049
|
}, z.core.$strip>;
|
|
2050
2050
|
type GetMenuItemCategoryDetailsResponse = z.infer<typeof getMenuItemCategoryDetailsResponseSchema>;
|
|
2051
2051
|
declare class GetMenuItemCategoryDetails extends AbstractApiRequest<typeof getMenuItemCategoryDetailsInputSchema, typeof getMenuItemCategoryDetailsResponseSchema> {
|
|
@@ -2059,13 +2059,13 @@ declare class GetMenuItemCategoryDetails extends AbstractApiRequest<typeof getMe
|
|
|
2059
2059
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
2060
2060
|
text: z.ZodNonOptional<z.ZodString>;
|
|
2061
2061
|
}, z.core.$strip>>;
|
|
2062
|
-
description: z.
|
|
2062
|
+
description: z.ZodArray<z.ZodObject<{
|
|
2063
2063
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
2064
2064
|
text: z.ZodNonOptional<z.ZodString>;
|
|
2065
|
-
}, z.core.$strip
|
|
2066
|
-
sorting: z.
|
|
2067
|
-
suspended: z.
|
|
2068
|
-
images: z.
|
|
2065
|
+
}, z.core.$strip>>;
|
|
2066
|
+
sorting: z.ZodCoercedNumber<unknown>;
|
|
2067
|
+
suspended: z.ZodBoolean;
|
|
2068
|
+
images: z.ZodArray<z.ZodObject<{
|
|
2069
2069
|
id: z.ZodString;
|
|
2070
2070
|
variant: z.ZodNullable<z.ZodString>;
|
|
2071
2071
|
contentUrl: z.ZodURL;
|
|
@@ -2082,11 +2082,11 @@ declare class GetMenuItemCategoryDetails extends AbstractApiRequest<typeof getMe
|
|
|
2082
2082
|
createdAt: z.ZodString;
|
|
2083
2083
|
updatedAt: z.ZodString;
|
|
2084
2084
|
}, z.core.$strip>>>;
|
|
2085
|
-
}, z.core.$strip
|
|
2085
|
+
}, z.core.$strip>>;
|
|
2086
2086
|
createdAt: z.ZodString;
|
|
2087
2087
|
updatedAt: z.ZodString;
|
|
2088
2088
|
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
2089
|
-
items: z.
|
|
2089
|
+
items: z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown>>>;
|
|
2090
2090
|
}, z.core.$strip>;
|
|
2091
2091
|
readonly querySchema: undefined;
|
|
2092
2092
|
readonly headersSchema: undefined;
|
|
@@ -2100,13 +2100,13 @@ declare const updateMenuItemCategoryInputSchema: z.ZodObject<{
|
|
|
2100
2100
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
2101
2101
|
text: z.ZodNonOptional<z.ZodString>;
|
|
2102
2102
|
}, z.core.$strip>>>;
|
|
2103
|
-
description: z.ZodOptional<z.
|
|
2103
|
+
description: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2104
2104
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
2105
2105
|
text: z.ZodNonOptional<z.ZodString>;
|
|
2106
|
-
}, z.core.$strip
|
|
2107
|
-
suspended: z.ZodOptional<z.
|
|
2106
|
+
}, z.core.$strip>>>;
|
|
2107
|
+
suspended: z.ZodOptional<z.ZodBoolean>;
|
|
2108
2108
|
images: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/images/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/images/:id">, unknown>>>>>;
|
|
2109
|
-
sorting: z.ZodOptional<z.
|
|
2109
|
+
sorting: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
2110
2110
|
}, z.core.$strip>;
|
|
2111
2111
|
type UpdateMenuItemCategoryInput = z.input<typeof updateMenuItemCategoryInputSchema>;
|
|
2112
2112
|
declare const updateMenuItemCategoryResponseSchema: z.ZodObject<{
|
|
@@ -2115,13 +2115,13 @@ declare const updateMenuItemCategoryResponseSchema: z.ZodObject<{
|
|
|
2115
2115
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
2116
2116
|
text: z.ZodNonOptional<z.ZodString>;
|
|
2117
2117
|
}, z.core.$strip>>;
|
|
2118
|
-
description: z.
|
|
2118
|
+
description: z.ZodArray<z.ZodObject<{
|
|
2119
2119
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
2120
2120
|
text: z.ZodNonOptional<z.ZodString>;
|
|
2121
|
-
}, z.core.$strip
|
|
2122
|
-
sorting: z.
|
|
2123
|
-
suspended: z.
|
|
2124
|
-
images: z.
|
|
2121
|
+
}, z.core.$strip>>;
|
|
2122
|
+
sorting: z.ZodCoercedNumber<unknown>;
|
|
2123
|
+
suspended: z.ZodBoolean;
|
|
2124
|
+
images: z.ZodArray<z.ZodObject<{
|
|
2125
2125
|
id: z.ZodString;
|
|
2126
2126
|
variant: z.ZodNullable<z.ZodString>;
|
|
2127
2127
|
contentUrl: z.ZodURL;
|
|
@@ -2138,11 +2138,11 @@ declare const updateMenuItemCategoryResponseSchema: z.ZodObject<{
|
|
|
2138
2138
|
createdAt: z.ZodString;
|
|
2139
2139
|
updatedAt: z.ZodString;
|
|
2140
2140
|
}, z.core.$strip>>>;
|
|
2141
|
-
}, z.core.$strip
|
|
2141
|
+
}, z.core.$strip>>;
|
|
2142
2142
|
createdAt: z.ZodString;
|
|
2143
2143
|
updatedAt: z.ZodString;
|
|
2144
2144
|
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
2145
|
-
items: z.
|
|
2145
|
+
items: z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown>>>;
|
|
2146
2146
|
}, z.core.$strip>;
|
|
2147
2147
|
type UpdateMenuItemCategoryResponse = z.infer<typeof updateMenuItemCategoryResponseSchema>;
|
|
2148
2148
|
declare class UpdateMenuItemCategory extends AbstractApiRequest<typeof updateMenuItemCategoryInputSchema, typeof updateMenuItemCategoryResponseSchema> {
|
|
@@ -2154,13 +2154,13 @@ declare class UpdateMenuItemCategory extends AbstractApiRequest<typeof updateMen
|
|
|
2154
2154
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
2155
2155
|
text: z.ZodNonOptional<z.ZodString>;
|
|
2156
2156
|
}, z.core.$strip>>>;
|
|
2157
|
-
description: z.ZodOptional<z.
|
|
2157
|
+
description: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2158
2158
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
2159
2159
|
text: z.ZodNonOptional<z.ZodString>;
|
|
2160
|
-
}, z.core.$strip
|
|
2161
|
-
suspended: z.ZodOptional<z.
|
|
2160
|
+
}, z.core.$strip>>>;
|
|
2161
|
+
suspended: z.ZodOptional<z.ZodBoolean>;
|
|
2162
2162
|
images: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/images/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/images/:id">, unknown>>>>>;
|
|
2163
|
-
sorting: z.ZodOptional<z.
|
|
2163
|
+
sorting: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
2164
2164
|
}, z.core.$strip>;
|
|
2165
2165
|
readonly outputSchema: z.ZodObject<{
|
|
2166
2166
|
id: z.ZodString;
|
|
@@ -2168,13 +2168,13 @@ declare class UpdateMenuItemCategory extends AbstractApiRequest<typeof updateMen
|
|
|
2168
2168
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
2169
2169
|
text: z.ZodNonOptional<z.ZodString>;
|
|
2170
2170
|
}, z.core.$strip>>;
|
|
2171
|
-
description: z.
|
|
2171
|
+
description: z.ZodArray<z.ZodObject<{
|
|
2172
2172
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
2173
2173
|
text: z.ZodNonOptional<z.ZodString>;
|
|
2174
|
-
}, z.core.$strip
|
|
2175
|
-
sorting: z.
|
|
2176
|
-
suspended: z.
|
|
2177
|
-
images: z.
|
|
2174
|
+
}, z.core.$strip>>;
|
|
2175
|
+
sorting: z.ZodCoercedNumber<unknown>;
|
|
2176
|
+
suspended: z.ZodBoolean;
|
|
2177
|
+
images: z.ZodArray<z.ZodObject<{
|
|
2178
2178
|
id: z.ZodString;
|
|
2179
2179
|
variant: z.ZodNullable<z.ZodString>;
|
|
2180
2180
|
contentUrl: z.ZodURL;
|
|
@@ -2191,11 +2191,11 @@ declare class UpdateMenuItemCategory extends AbstractApiRequest<typeof updateMen
|
|
|
2191
2191
|
createdAt: z.ZodString;
|
|
2192
2192
|
updatedAt: z.ZodString;
|
|
2193
2193
|
}, z.core.$strip>>>;
|
|
2194
|
-
}, z.core.$strip
|
|
2194
|
+
}, z.core.$strip>>;
|
|
2195
2195
|
createdAt: z.ZodString;
|
|
2196
2196
|
updatedAt: z.ZodString;
|
|
2197
2197
|
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
2198
|
-
items: z.
|
|
2198
|
+
items: z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown>>>;
|
|
2199
2199
|
}, z.core.$strip>;
|
|
2200
2200
|
readonly querySchema: undefined;
|
|
2201
2201
|
readonly headersSchema: undefined;
|
package/dist/index.js
CHANGED
|
@@ -11292,17 +11292,17 @@ var writableMenuItemSchema = menuItemCompleteSchema.pick({
|
|
|
11292
11292
|
});
|
|
11293
11293
|
var menuItemCategorySchema = external_exports.object({
|
|
11294
11294
|
id: external_exports.string(),
|
|
11295
|
-
name: external_exports.array(localeItemSchema)
|
|
11296
|
-
description: external_exports.array(localeItemSchema)
|
|
11297
|
-
sorting: external_exports.coerce.number()
|
|
11298
|
-
suspended: external_exports.boolean()
|
|
11299
|
-
images: external_exports.array(imageSchema)
|
|
11295
|
+
name: external_exports.array(localeItemSchema),
|
|
11296
|
+
description: external_exports.array(localeItemSchema),
|
|
11297
|
+
sorting: external_exports.coerce.number(),
|
|
11298
|
+
suspended: external_exports.boolean(),
|
|
11299
|
+
images: external_exports.array(imageSchema),
|
|
11300
11300
|
createdAt: datetimeSchema,
|
|
11301
11301
|
updatedAt: datetimeSchema
|
|
11302
11302
|
});
|
|
11303
11303
|
var menuItemCategoryDetailsSchema = menuItemCategorySchema.extend({
|
|
11304
11304
|
pointOfSale: pointOfSaleIriSchema,
|
|
11305
|
-
items: external_exports.array(menuItemIriSchema)
|
|
11305
|
+
items: external_exports.array(menuItemIriSchema)
|
|
11306
11306
|
});
|
|
11307
11307
|
var writableMenuItemCategorySchema = menuItemCategorySchema.pick({
|
|
11308
11308
|
name: true,
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@deliverart/sdk-js-menu",
|
|
3
3
|
"description": "Deliverart JavaScript SDK for Menu Management",
|
|
4
|
-
"version": "2.5.
|
|
4
|
+
"version": "2.5.6",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
7
|
"types": "dist/index.d.ts",
|
|
@@ -18,11 +18,11 @@
|
|
|
18
18
|
"dist"
|
|
19
19
|
],
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@deliverart/sdk-js-core": "2.5.
|
|
22
|
-
"@deliverart/sdk-js-
|
|
23
|
-
"@deliverart/sdk-js-
|
|
24
|
-
"@deliverart/sdk-js-
|
|
25
|
-
"@deliverart/sdk-js-
|
|
21
|
+
"@deliverart/sdk-js-core": "2.5.6",
|
|
22
|
+
"@deliverart/sdk-js-global-types": "2.5.6",
|
|
23
|
+
"@deliverart/sdk-js-image": "2.5.6",
|
|
24
|
+
"@deliverart/sdk-js-point-of-sale": "2.5.6",
|
|
25
|
+
"@deliverart/sdk-js-sales-mode": "2.5.6"
|
|
26
26
|
},
|
|
27
27
|
"publishConfig": {
|
|
28
28
|
"access": "public"
|