@deliverart/sdk-js-menu 2.5.4 → 2.5.5
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 +7 -8
- package/dist/index.d.cts +99 -104
- package/dist/index.d.ts +99 -104
- package/dist/index.js +7 -8
- 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,
|
|
@@ -11450,8 +11450,7 @@ var writableMenuItemCategorySchema = menuItemCategorySchema.pick({
|
|
|
11450
11450
|
sorting: true,
|
|
11451
11451
|
suspended: true
|
|
11452
11452
|
}).extend({
|
|
11453
|
-
pointOfSale: import_sdk_js_point_of_sale.pointOfSaleIriSchema
|
|
11454
|
-
images: external_exports.array(import_sdk_js_image.imageIriSchema).min(0).default([])
|
|
11453
|
+
pointOfSale: import_sdk_js_point_of_sale.pointOfSaleIriSchema
|
|
11455
11454
|
});
|
|
11456
11455
|
var menuItemModifierSchema = external_exports.object({
|
|
11457
11456
|
id: external_exports.string(),
|
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,14 +1067,13 @@ 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
|
-
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
1077
|
}, z.core.$strip>;
|
|
1079
1078
|
declare const menuItemModifierSchema: z.ZodObject<{
|
|
1080
1079
|
id: z.ZodString;
|
|
@@ -1619,14 +1618,13 @@ declare const createMenuItemCategoryInputSchema: z.ZodObject<{
|
|
|
1619
1618
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
1620
1619
|
text: z.ZodNonOptional<z.ZodString>;
|
|
1621
1620
|
}, z.core.$strip>>>;
|
|
1622
|
-
description: z.ZodNonOptional<z.
|
|
1621
|
+
description: z.ZodNonOptional<z.ZodArray<z.ZodObject<{
|
|
1623
1622
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
1624
1623
|
text: z.ZodNonOptional<z.ZodString>;
|
|
1625
|
-
}, z.core.$strip
|
|
1626
|
-
suspended: z.ZodNonOptional<z.
|
|
1627
|
-
sorting: z.ZodNonOptional<z.
|
|
1624
|
+
}, z.core.$strip>>>;
|
|
1625
|
+
suspended: z.ZodNonOptional<z.ZodBoolean>;
|
|
1626
|
+
sorting: z.ZodNonOptional<z.ZodCoercedNumber<unknown>>;
|
|
1628
1627
|
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
|
-
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
1628
|
}, z.core.$strip>;
|
|
1631
1629
|
type CreateMenuItemCategoryInput = z.input<typeof createMenuItemCategoryInputSchema>;
|
|
1632
1630
|
declare const createMenuItemCategoryResponseSchema: z.ZodObject<{
|
|
@@ -1635,13 +1633,13 @@ declare const createMenuItemCategoryResponseSchema: z.ZodObject<{
|
|
|
1635
1633
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
1636
1634
|
text: z.ZodNonOptional<z.ZodString>;
|
|
1637
1635
|
}, z.core.$strip>>;
|
|
1638
|
-
description: z.
|
|
1636
|
+
description: z.ZodArray<z.ZodObject<{
|
|
1639
1637
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
1640
1638
|
text: z.ZodNonOptional<z.ZodString>;
|
|
1641
|
-
}, z.core.$strip
|
|
1642
|
-
sorting: z.
|
|
1643
|
-
suspended: z.
|
|
1644
|
-
images: z.
|
|
1639
|
+
}, z.core.$strip>>;
|
|
1640
|
+
sorting: z.ZodCoercedNumber<unknown>;
|
|
1641
|
+
suspended: z.ZodBoolean;
|
|
1642
|
+
images: z.ZodArray<z.ZodObject<{
|
|
1645
1643
|
id: z.ZodString;
|
|
1646
1644
|
variant: z.ZodNullable<z.ZodString>;
|
|
1647
1645
|
contentUrl: z.ZodURL;
|
|
@@ -1658,11 +1656,11 @@ declare const createMenuItemCategoryResponseSchema: z.ZodObject<{
|
|
|
1658
1656
|
createdAt: z.ZodString;
|
|
1659
1657
|
updatedAt: z.ZodString;
|
|
1660
1658
|
}, z.core.$strip>>>;
|
|
1661
|
-
}, z.core.$strip
|
|
1659
|
+
}, z.core.$strip>>;
|
|
1662
1660
|
createdAt: z.ZodString;
|
|
1663
1661
|
updatedAt: z.ZodString;
|
|
1664
1662
|
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.
|
|
1663
|
+
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
1664
|
}, z.core.$strip>;
|
|
1667
1665
|
type CreateMenuItemCategoryResponse = z.output<typeof createMenuItemCategoryResponseSchema>;
|
|
1668
1666
|
declare class CreateMenuItemCategory extends AbstractApiRequest<typeof createMenuItemCategoryInputSchema, typeof createMenuItemCategoryResponseSchema> {
|
|
@@ -1674,14 +1672,13 @@ declare class CreateMenuItemCategory extends AbstractApiRequest<typeof createMen
|
|
|
1674
1672
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
1675
1673
|
text: z.ZodNonOptional<z.ZodString>;
|
|
1676
1674
|
}, z.core.$strip>>>;
|
|
1677
|
-
description: z.ZodNonOptional<z.
|
|
1675
|
+
description: z.ZodNonOptional<z.ZodArray<z.ZodObject<{
|
|
1678
1676
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
1679
1677
|
text: z.ZodNonOptional<z.ZodString>;
|
|
1680
|
-
}, z.core.$strip
|
|
1681
|
-
suspended: z.ZodNonOptional<z.
|
|
1682
|
-
sorting: z.ZodNonOptional<z.
|
|
1678
|
+
}, z.core.$strip>>>;
|
|
1679
|
+
suspended: z.ZodNonOptional<z.ZodBoolean>;
|
|
1680
|
+
sorting: z.ZodNonOptional<z.ZodCoercedNumber<unknown>>;
|
|
1683
1681
|
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
|
-
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
1682
|
}, z.core.$strip>;
|
|
1686
1683
|
readonly outputSchema: z.ZodObject<{
|
|
1687
1684
|
id: z.ZodString;
|
|
@@ -1689,13 +1686,13 @@ declare class CreateMenuItemCategory extends AbstractApiRequest<typeof createMen
|
|
|
1689
1686
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
1690
1687
|
text: z.ZodNonOptional<z.ZodString>;
|
|
1691
1688
|
}, z.core.$strip>>;
|
|
1692
|
-
description: z.
|
|
1689
|
+
description: z.ZodArray<z.ZodObject<{
|
|
1693
1690
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
1694
1691
|
text: z.ZodNonOptional<z.ZodString>;
|
|
1695
|
-
}, z.core.$strip
|
|
1696
|
-
sorting: z.
|
|
1697
|
-
suspended: z.
|
|
1698
|
-
images: z.
|
|
1692
|
+
}, z.core.$strip>>;
|
|
1693
|
+
sorting: z.ZodCoercedNumber<unknown>;
|
|
1694
|
+
suspended: z.ZodBoolean;
|
|
1695
|
+
images: z.ZodArray<z.ZodObject<{
|
|
1699
1696
|
id: z.ZodString;
|
|
1700
1697
|
variant: z.ZodNullable<z.ZodString>;
|
|
1701
1698
|
contentUrl: z.ZodURL;
|
|
@@ -1712,11 +1709,11 @@ declare class CreateMenuItemCategory extends AbstractApiRequest<typeof createMen
|
|
|
1712
1709
|
createdAt: z.ZodString;
|
|
1713
1710
|
updatedAt: z.ZodString;
|
|
1714
1711
|
}, z.core.$strip>>>;
|
|
1715
|
-
}, z.core.$strip
|
|
1712
|
+
}, z.core.$strip>>;
|
|
1716
1713
|
createdAt: z.ZodString;
|
|
1717
1714
|
updatedAt: z.ZodString;
|
|
1718
1715
|
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.
|
|
1716
|
+
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
1717
|
}, z.core.$strip>;
|
|
1721
1718
|
readonly querySchema: undefined;
|
|
1722
1719
|
readonly headersSchema: undefined;
|
|
@@ -1765,13 +1762,13 @@ declare const getMenuItemCategoriesResponseSchema: z.ZodObject<{
|
|
|
1765
1762
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
1766
1763
|
text: z.ZodNonOptional<z.ZodString>;
|
|
1767
1764
|
}, z.core.$strip>>;
|
|
1768
|
-
description: z.
|
|
1765
|
+
description: z.ZodArray<z.ZodObject<{
|
|
1769
1766
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
1770
1767
|
text: z.ZodNonOptional<z.ZodString>;
|
|
1771
|
-
}, z.core.$strip
|
|
1772
|
-
sorting: z.
|
|
1773
|
-
suspended: z.
|
|
1774
|
-
images: z.
|
|
1768
|
+
}, z.core.$strip>>;
|
|
1769
|
+
sorting: z.ZodCoercedNumber<unknown>;
|
|
1770
|
+
suspended: z.ZodBoolean;
|
|
1771
|
+
images: z.ZodArray<z.ZodObject<{
|
|
1775
1772
|
id: z.ZodString;
|
|
1776
1773
|
variant: z.ZodNullable<z.ZodString>;
|
|
1777
1774
|
contentUrl: z.ZodURL;
|
|
@@ -1788,7 +1785,7 @@ declare const getMenuItemCategoriesResponseSchema: z.ZodObject<{
|
|
|
1788
1785
|
createdAt: z.ZodString;
|
|
1789
1786
|
updatedAt: z.ZodString;
|
|
1790
1787
|
}, z.core.$strip>>>;
|
|
1791
|
-
}, z.core.$strip
|
|
1788
|
+
}, z.core.$strip>>;
|
|
1792
1789
|
createdAt: z.ZodString;
|
|
1793
1790
|
updatedAt: z.ZodString;
|
|
1794
1791
|
}, z.core.$strip>>;
|
|
@@ -1814,13 +1811,13 @@ declare class GetMenuItemCategories extends AbstractApiRequest<typeof getMenuIte
|
|
|
1814
1811
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
1815
1812
|
text: z.ZodNonOptional<z.ZodString>;
|
|
1816
1813
|
}, z.core.$strip>>;
|
|
1817
|
-
description: z.
|
|
1814
|
+
description: z.ZodArray<z.ZodObject<{
|
|
1818
1815
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
1819
1816
|
text: z.ZodNonOptional<z.ZodString>;
|
|
1820
|
-
}, z.core.$strip
|
|
1821
|
-
sorting: z.
|
|
1822
|
-
suspended: z.
|
|
1823
|
-
images: z.
|
|
1817
|
+
}, z.core.$strip>>;
|
|
1818
|
+
sorting: z.ZodCoercedNumber<unknown>;
|
|
1819
|
+
suspended: z.ZodBoolean;
|
|
1820
|
+
images: z.ZodArray<z.ZodObject<{
|
|
1824
1821
|
id: z.ZodString;
|
|
1825
1822
|
variant: z.ZodNullable<z.ZodString>;
|
|
1826
1823
|
contentUrl: z.ZodURL;
|
|
@@ -1837,7 +1834,7 @@ declare class GetMenuItemCategories extends AbstractApiRequest<typeof getMenuIte
|
|
|
1837
1834
|
createdAt: z.ZodString;
|
|
1838
1835
|
updatedAt: z.ZodString;
|
|
1839
1836
|
}, z.core.$strip>>>;
|
|
1840
|
-
}, z.core.$strip
|
|
1837
|
+
}, z.core.$strip>>;
|
|
1841
1838
|
createdAt: z.ZodString;
|
|
1842
1839
|
updatedAt: z.ZodString;
|
|
1843
1840
|
}, z.core.$strip>>;
|
|
@@ -1900,13 +1897,13 @@ declare const getMenuItemCategoriesFromPointOfSaleResponseSchema: z.ZodObject<{
|
|
|
1900
1897
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
1901
1898
|
text: z.ZodNonOptional<z.ZodString>;
|
|
1902
1899
|
}, z.core.$strip>>;
|
|
1903
|
-
description: z.
|
|
1900
|
+
description: z.ZodArray<z.ZodObject<{
|
|
1904
1901
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
1905
1902
|
text: z.ZodNonOptional<z.ZodString>;
|
|
1906
|
-
}, z.core.$strip
|
|
1907
|
-
sorting: z.
|
|
1908
|
-
suspended: z.
|
|
1909
|
-
images: z.
|
|
1903
|
+
}, z.core.$strip>>;
|
|
1904
|
+
sorting: z.ZodCoercedNumber<unknown>;
|
|
1905
|
+
suspended: z.ZodBoolean;
|
|
1906
|
+
images: z.ZodArray<z.ZodObject<{
|
|
1910
1907
|
id: z.ZodString;
|
|
1911
1908
|
variant: z.ZodNullable<z.ZodString>;
|
|
1912
1909
|
contentUrl: z.ZodURL;
|
|
@@ -1923,7 +1920,7 @@ declare const getMenuItemCategoriesFromPointOfSaleResponseSchema: z.ZodObject<{
|
|
|
1923
1920
|
createdAt: z.ZodString;
|
|
1924
1921
|
updatedAt: z.ZodString;
|
|
1925
1922
|
}, z.core.$strip>>>;
|
|
1926
|
-
}, z.core.$strip
|
|
1923
|
+
}, z.core.$strip>>;
|
|
1927
1924
|
createdAt: z.ZodString;
|
|
1928
1925
|
updatedAt: z.ZodString;
|
|
1929
1926
|
}, z.core.$strip>>;
|
|
@@ -1949,13 +1946,13 @@ declare class GetMenuItemCategoriesFromPointOfSale extends AbstractApiRequest<ty
|
|
|
1949
1946
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
1950
1947
|
text: z.ZodNonOptional<z.ZodString>;
|
|
1951
1948
|
}, z.core.$strip>>;
|
|
1952
|
-
description: z.
|
|
1949
|
+
description: z.ZodArray<z.ZodObject<{
|
|
1953
1950
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
1954
1951
|
text: z.ZodNonOptional<z.ZodString>;
|
|
1955
|
-
}, z.core.$strip
|
|
1956
|
-
sorting: z.
|
|
1957
|
-
suspended: z.
|
|
1958
|
-
images: z.
|
|
1952
|
+
}, z.core.$strip>>;
|
|
1953
|
+
sorting: z.ZodCoercedNumber<unknown>;
|
|
1954
|
+
suspended: z.ZodBoolean;
|
|
1955
|
+
images: z.ZodArray<z.ZodObject<{
|
|
1959
1956
|
id: z.ZodString;
|
|
1960
1957
|
variant: z.ZodNullable<z.ZodString>;
|
|
1961
1958
|
contentUrl: z.ZodURL;
|
|
@@ -1972,7 +1969,7 @@ declare class GetMenuItemCategoriesFromPointOfSale extends AbstractApiRequest<ty
|
|
|
1972
1969
|
createdAt: z.ZodString;
|
|
1973
1970
|
updatedAt: z.ZodString;
|
|
1974
1971
|
}, z.core.$strip>>>;
|
|
1975
|
-
}, z.core.$strip
|
|
1972
|
+
}, z.core.$strip>>;
|
|
1976
1973
|
createdAt: z.ZodString;
|
|
1977
1974
|
updatedAt: z.ZodString;
|
|
1978
1975
|
}, z.core.$strip>>;
|
|
@@ -2018,13 +2015,13 @@ declare const getMenuItemCategoryDetailsResponseSchema: z.ZodObject<{
|
|
|
2018
2015
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
2019
2016
|
text: z.ZodNonOptional<z.ZodString>;
|
|
2020
2017
|
}, z.core.$strip>>;
|
|
2021
|
-
description: z.
|
|
2018
|
+
description: z.ZodArray<z.ZodObject<{
|
|
2022
2019
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
2023
2020
|
text: z.ZodNonOptional<z.ZodString>;
|
|
2024
|
-
}, z.core.$strip
|
|
2025
|
-
sorting: z.
|
|
2026
|
-
suspended: z.
|
|
2027
|
-
images: z.
|
|
2021
|
+
}, z.core.$strip>>;
|
|
2022
|
+
sorting: z.ZodCoercedNumber<unknown>;
|
|
2023
|
+
suspended: z.ZodBoolean;
|
|
2024
|
+
images: z.ZodArray<z.ZodObject<{
|
|
2028
2025
|
id: z.ZodString;
|
|
2029
2026
|
variant: z.ZodNullable<z.ZodString>;
|
|
2030
2027
|
contentUrl: z.ZodURL;
|
|
@@ -2041,11 +2038,11 @@ declare const getMenuItemCategoryDetailsResponseSchema: z.ZodObject<{
|
|
|
2041
2038
|
createdAt: z.ZodString;
|
|
2042
2039
|
updatedAt: z.ZodString;
|
|
2043
2040
|
}, z.core.$strip>>>;
|
|
2044
|
-
}, z.core.$strip
|
|
2041
|
+
}, z.core.$strip>>;
|
|
2045
2042
|
createdAt: z.ZodString;
|
|
2046
2043
|
updatedAt: z.ZodString;
|
|
2047
2044
|
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.
|
|
2045
|
+
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
2046
|
}, z.core.$strip>;
|
|
2050
2047
|
type GetMenuItemCategoryDetailsResponse = z.infer<typeof getMenuItemCategoryDetailsResponseSchema>;
|
|
2051
2048
|
declare class GetMenuItemCategoryDetails extends AbstractApiRequest<typeof getMenuItemCategoryDetailsInputSchema, typeof getMenuItemCategoryDetailsResponseSchema> {
|
|
@@ -2059,13 +2056,13 @@ declare class GetMenuItemCategoryDetails extends AbstractApiRequest<typeof getMe
|
|
|
2059
2056
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
2060
2057
|
text: z.ZodNonOptional<z.ZodString>;
|
|
2061
2058
|
}, z.core.$strip>>;
|
|
2062
|
-
description: z.
|
|
2059
|
+
description: z.ZodArray<z.ZodObject<{
|
|
2063
2060
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
2064
2061
|
text: z.ZodNonOptional<z.ZodString>;
|
|
2065
|
-
}, z.core.$strip
|
|
2066
|
-
sorting: z.
|
|
2067
|
-
suspended: z.
|
|
2068
|
-
images: z.
|
|
2062
|
+
}, z.core.$strip>>;
|
|
2063
|
+
sorting: z.ZodCoercedNumber<unknown>;
|
|
2064
|
+
suspended: z.ZodBoolean;
|
|
2065
|
+
images: z.ZodArray<z.ZodObject<{
|
|
2069
2066
|
id: z.ZodString;
|
|
2070
2067
|
variant: z.ZodNullable<z.ZodString>;
|
|
2071
2068
|
contentUrl: z.ZodURL;
|
|
@@ -2082,11 +2079,11 @@ declare class GetMenuItemCategoryDetails extends AbstractApiRequest<typeof getMe
|
|
|
2082
2079
|
createdAt: z.ZodString;
|
|
2083
2080
|
updatedAt: z.ZodString;
|
|
2084
2081
|
}, z.core.$strip>>>;
|
|
2085
|
-
}, z.core.$strip
|
|
2082
|
+
}, z.core.$strip>>;
|
|
2086
2083
|
createdAt: z.ZodString;
|
|
2087
2084
|
updatedAt: z.ZodString;
|
|
2088
2085
|
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.
|
|
2086
|
+
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
2087
|
}, z.core.$strip>;
|
|
2091
2088
|
readonly querySchema: undefined;
|
|
2092
2089
|
readonly headersSchema: undefined;
|
|
@@ -2100,13 +2097,12 @@ declare const updateMenuItemCategoryInputSchema: z.ZodObject<{
|
|
|
2100
2097
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
2101
2098
|
text: z.ZodNonOptional<z.ZodString>;
|
|
2102
2099
|
}, z.core.$strip>>>;
|
|
2103
|
-
description: z.ZodOptional<z.
|
|
2100
|
+
description: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2104
2101
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
2105
2102
|
text: z.ZodNonOptional<z.ZodString>;
|
|
2106
|
-
}, z.core.$strip
|
|
2107
|
-
suspended: z.ZodOptional<z.
|
|
2108
|
-
|
|
2109
|
-
sorting: z.ZodOptional<z.ZodDefault<z.ZodCoercedNumber<unknown>>>;
|
|
2103
|
+
}, z.core.$strip>>>;
|
|
2104
|
+
suspended: z.ZodOptional<z.ZodBoolean>;
|
|
2105
|
+
sorting: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
2110
2106
|
}, z.core.$strip>;
|
|
2111
2107
|
type UpdateMenuItemCategoryInput = z.input<typeof updateMenuItemCategoryInputSchema>;
|
|
2112
2108
|
declare const updateMenuItemCategoryResponseSchema: z.ZodObject<{
|
|
@@ -2115,13 +2111,13 @@ declare const updateMenuItemCategoryResponseSchema: z.ZodObject<{
|
|
|
2115
2111
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
2116
2112
|
text: z.ZodNonOptional<z.ZodString>;
|
|
2117
2113
|
}, z.core.$strip>>;
|
|
2118
|
-
description: z.
|
|
2114
|
+
description: z.ZodArray<z.ZodObject<{
|
|
2119
2115
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
2120
2116
|
text: z.ZodNonOptional<z.ZodString>;
|
|
2121
|
-
}, z.core.$strip
|
|
2122
|
-
sorting: z.
|
|
2123
|
-
suspended: z.
|
|
2124
|
-
images: z.
|
|
2117
|
+
}, z.core.$strip>>;
|
|
2118
|
+
sorting: z.ZodCoercedNumber<unknown>;
|
|
2119
|
+
suspended: z.ZodBoolean;
|
|
2120
|
+
images: z.ZodArray<z.ZodObject<{
|
|
2125
2121
|
id: z.ZodString;
|
|
2126
2122
|
variant: z.ZodNullable<z.ZodString>;
|
|
2127
2123
|
contentUrl: z.ZodURL;
|
|
@@ -2138,11 +2134,11 @@ declare const updateMenuItemCategoryResponseSchema: z.ZodObject<{
|
|
|
2138
2134
|
createdAt: z.ZodString;
|
|
2139
2135
|
updatedAt: z.ZodString;
|
|
2140
2136
|
}, z.core.$strip>>>;
|
|
2141
|
-
}, z.core.$strip
|
|
2137
|
+
}, z.core.$strip>>;
|
|
2142
2138
|
createdAt: z.ZodString;
|
|
2143
2139
|
updatedAt: z.ZodString;
|
|
2144
2140
|
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.
|
|
2141
|
+
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
2142
|
}, z.core.$strip>;
|
|
2147
2143
|
type UpdateMenuItemCategoryResponse = z.infer<typeof updateMenuItemCategoryResponseSchema>;
|
|
2148
2144
|
declare class UpdateMenuItemCategory extends AbstractApiRequest<typeof updateMenuItemCategoryInputSchema, typeof updateMenuItemCategoryResponseSchema> {
|
|
@@ -2154,13 +2150,12 @@ declare class UpdateMenuItemCategory extends AbstractApiRequest<typeof updateMen
|
|
|
2154
2150
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
2155
2151
|
text: z.ZodNonOptional<z.ZodString>;
|
|
2156
2152
|
}, z.core.$strip>>>;
|
|
2157
|
-
description: z.ZodOptional<z.
|
|
2153
|
+
description: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2158
2154
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
2159
2155
|
text: z.ZodNonOptional<z.ZodString>;
|
|
2160
|
-
}, z.core.$strip
|
|
2161
|
-
suspended: z.ZodOptional<z.
|
|
2162
|
-
|
|
2163
|
-
sorting: z.ZodOptional<z.ZodDefault<z.ZodCoercedNumber<unknown>>>;
|
|
2156
|
+
}, z.core.$strip>>>;
|
|
2157
|
+
suspended: z.ZodOptional<z.ZodBoolean>;
|
|
2158
|
+
sorting: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
2164
2159
|
}, z.core.$strip>;
|
|
2165
2160
|
readonly outputSchema: z.ZodObject<{
|
|
2166
2161
|
id: z.ZodString;
|
|
@@ -2168,13 +2163,13 @@ declare class UpdateMenuItemCategory extends AbstractApiRequest<typeof updateMen
|
|
|
2168
2163
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
2169
2164
|
text: z.ZodNonOptional<z.ZodString>;
|
|
2170
2165
|
}, z.core.$strip>>;
|
|
2171
|
-
description: z.
|
|
2166
|
+
description: z.ZodArray<z.ZodObject<{
|
|
2172
2167
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
2173
2168
|
text: z.ZodNonOptional<z.ZodString>;
|
|
2174
|
-
}, z.core.$strip
|
|
2175
|
-
sorting: z.
|
|
2176
|
-
suspended: z.
|
|
2177
|
-
images: z.
|
|
2169
|
+
}, z.core.$strip>>;
|
|
2170
|
+
sorting: z.ZodCoercedNumber<unknown>;
|
|
2171
|
+
suspended: z.ZodBoolean;
|
|
2172
|
+
images: z.ZodArray<z.ZodObject<{
|
|
2178
2173
|
id: z.ZodString;
|
|
2179
2174
|
variant: z.ZodNullable<z.ZodString>;
|
|
2180
2175
|
contentUrl: z.ZodURL;
|
|
@@ -2191,11 +2186,11 @@ declare class UpdateMenuItemCategory extends AbstractApiRequest<typeof updateMen
|
|
|
2191
2186
|
createdAt: z.ZodString;
|
|
2192
2187
|
updatedAt: z.ZodString;
|
|
2193
2188
|
}, z.core.$strip>>>;
|
|
2194
|
-
}, z.core.$strip
|
|
2189
|
+
}, z.core.$strip>>;
|
|
2195
2190
|
createdAt: z.ZodString;
|
|
2196
2191
|
updatedAt: z.ZodString;
|
|
2197
2192
|
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.
|
|
2193
|
+
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
2194
|
}, z.core.$strip>;
|
|
2200
2195
|
readonly querySchema: undefined;
|
|
2201
2196
|
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,14 +1067,13 @@ 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
|
-
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
1077
|
}, z.core.$strip>;
|
|
1079
1078
|
declare const menuItemModifierSchema: z.ZodObject<{
|
|
1080
1079
|
id: z.ZodString;
|
|
@@ -1619,14 +1618,13 @@ declare const createMenuItemCategoryInputSchema: z.ZodObject<{
|
|
|
1619
1618
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
1620
1619
|
text: z.ZodNonOptional<z.ZodString>;
|
|
1621
1620
|
}, z.core.$strip>>>;
|
|
1622
|
-
description: z.ZodNonOptional<z.
|
|
1621
|
+
description: z.ZodNonOptional<z.ZodArray<z.ZodObject<{
|
|
1623
1622
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
1624
1623
|
text: z.ZodNonOptional<z.ZodString>;
|
|
1625
|
-
}, z.core.$strip
|
|
1626
|
-
suspended: z.ZodNonOptional<z.
|
|
1627
|
-
sorting: z.ZodNonOptional<z.
|
|
1624
|
+
}, z.core.$strip>>>;
|
|
1625
|
+
suspended: z.ZodNonOptional<z.ZodBoolean>;
|
|
1626
|
+
sorting: z.ZodNonOptional<z.ZodCoercedNumber<unknown>>;
|
|
1628
1627
|
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
|
-
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
1628
|
}, z.core.$strip>;
|
|
1631
1629
|
type CreateMenuItemCategoryInput = z.input<typeof createMenuItemCategoryInputSchema>;
|
|
1632
1630
|
declare const createMenuItemCategoryResponseSchema: z.ZodObject<{
|
|
@@ -1635,13 +1633,13 @@ declare const createMenuItemCategoryResponseSchema: z.ZodObject<{
|
|
|
1635
1633
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
1636
1634
|
text: z.ZodNonOptional<z.ZodString>;
|
|
1637
1635
|
}, z.core.$strip>>;
|
|
1638
|
-
description: z.
|
|
1636
|
+
description: z.ZodArray<z.ZodObject<{
|
|
1639
1637
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
1640
1638
|
text: z.ZodNonOptional<z.ZodString>;
|
|
1641
|
-
}, z.core.$strip
|
|
1642
|
-
sorting: z.
|
|
1643
|
-
suspended: z.
|
|
1644
|
-
images: z.
|
|
1639
|
+
}, z.core.$strip>>;
|
|
1640
|
+
sorting: z.ZodCoercedNumber<unknown>;
|
|
1641
|
+
suspended: z.ZodBoolean;
|
|
1642
|
+
images: z.ZodArray<z.ZodObject<{
|
|
1645
1643
|
id: z.ZodString;
|
|
1646
1644
|
variant: z.ZodNullable<z.ZodString>;
|
|
1647
1645
|
contentUrl: z.ZodURL;
|
|
@@ -1658,11 +1656,11 @@ declare const createMenuItemCategoryResponseSchema: z.ZodObject<{
|
|
|
1658
1656
|
createdAt: z.ZodString;
|
|
1659
1657
|
updatedAt: z.ZodString;
|
|
1660
1658
|
}, z.core.$strip>>>;
|
|
1661
|
-
}, z.core.$strip
|
|
1659
|
+
}, z.core.$strip>>;
|
|
1662
1660
|
createdAt: z.ZodString;
|
|
1663
1661
|
updatedAt: z.ZodString;
|
|
1664
1662
|
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.
|
|
1663
|
+
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
1664
|
}, z.core.$strip>;
|
|
1667
1665
|
type CreateMenuItemCategoryResponse = z.output<typeof createMenuItemCategoryResponseSchema>;
|
|
1668
1666
|
declare class CreateMenuItemCategory extends AbstractApiRequest<typeof createMenuItemCategoryInputSchema, typeof createMenuItemCategoryResponseSchema> {
|
|
@@ -1674,14 +1672,13 @@ declare class CreateMenuItemCategory extends AbstractApiRequest<typeof createMen
|
|
|
1674
1672
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
1675
1673
|
text: z.ZodNonOptional<z.ZodString>;
|
|
1676
1674
|
}, z.core.$strip>>>;
|
|
1677
|
-
description: z.ZodNonOptional<z.
|
|
1675
|
+
description: z.ZodNonOptional<z.ZodArray<z.ZodObject<{
|
|
1678
1676
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
1679
1677
|
text: z.ZodNonOptional<z.ZodString>;
|
|
1680
|
-
}, z.core.$strip
|
|
1681
|
-
suspended: z.ZodNonOptional<z.
|
|
1682
|
-
sorting: z.ZodNonOptional<z.
|
|
1678
|
+
}, z.core.$strip>>>;
|
|
1679
|
+
suspended: z.ZodNonOptional<z.ZodBoolean>;
|
|
1680
|
+
sorting: z.ZodNonOptional<z.ZodCoercedNumber<unknown>>;
|
|
1683
1681
|
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
|
-
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
1682
|
}, z.core.$strip>;
|
|
1686
1683
|
readonly outputSchema: z.ZodObject<{
|
|
1687
1684
|
id: z.ZodString;
|
|
@@ -1689,13 +1686,13 @@ declare class CreateMenuItemCategory extends AbstractApiRequest<typeof createMen
|
|
|
1689
1686
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
1690
1687
|
text: z.ZodNonOptional<z.ZodString>;
|
|
1691
1688
|
}, z.core.$strip>>;
|
|
1692
|
-
description: z.
|
|
1689
|
+
description: z.ZodArray<z.ZodObject<{
|
|
1693
1690
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
1694
1691
|
text: z.ZodNonOptional<z.ZodString>;
|
|
1695
|
-
}, z.core.$strip
|
|
1696
|
-
sorting: z.
|
|
1697
|
-
suspended: z.
|
|
1698
|
-
images: z.
|
|
1692
|
+
}, z.core.$strip>>;
|
|
1693
|
+
sorting: z.ZodCoercedNumber<unknown>;
|
|
1694
|
+
suspended: z.ZodBoolean;
|
|
1695
|
+
images: z.ZodArray<z.ZodObject<{
|
|
1699
1696
|
id: z.ZodString;
|
|
1700
1697
|
variant: z.ZodNullable<z.ZodString>;
|
|
1701
1698
|
contentUrl: z.ZodURL;
|
|
@@ -1712,11 +1709,11 @@ declare class CreateMenuItemCategory extends AbstractApiRequest<typeof createMen
|
|
|
1712
1709
|
createdAt: z.ZodString;
|
|
1713
1710
|
updatedAt: z.ZodString;
|
|
1714
1711
|
}, z.core.$strip>>>;
|
|
1715
|
-
}, z.core.$strip
|
|
1712
|
+
}, z.core.$strip>>;
|
|
1716
1713
|
createdAt: z.ZodString;
|
|
1717
1714
|
updatedAt: z.ZodString;
|
|
1718
1715
|
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.
|
|
1716
|
+
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
1717
|
}, z.core.$strip>;
|
|
1721
1718
|
readonly querySchema: undefined;
|
|
1722
1719
|
readonly headersSchema: undefined;
|
|
@@ -1765,13 +1762,13 @@ declare const getMenuItemCategoriesResponseSchema: z.ZodObject<{
|
|
|
1765
1762
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
1766
1763
|
text: z.ZodNonOptional<z.ZodString>;
|
|
1767
1764
|
}, z.core.$strip>>;
|
|
1768
|
-
description: z.
|
|
1765
|
+
description: z.ZodArray<z.ZodObject<{
|
|
1769
1766
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
1770
1767
|
text: z.ZodNonOptional<z.ZodString>;
|
|
1771
|
-
}, z.core.$strip
|
|
1772
|
-
sorting: z.
|
|
1773
|
-
suspended: z.
|
|
1774
|
-
images: z.
|
|
1768
|
+
}, z.core.$strip>>;
|
|
1769
|
+
sorting: z.ZodCoercedNumber<unknown>;
|
|
1770
|
+
suspended: z.ZodBoolean;
|
|
1771
|
+
images: z.ZodArray<z.ZodObject<{
|
|
1775
1772
|
id: z.ZodString;
|
|
1776
1773
|
variant: z.ZodNullable<z.ZodString>;
|
|
1777
1774
|
contentUrl: z.ZodURL;
|
|
@@ -1788,7 +1785,7 @@ declare const getMenuItemCategoriesResponseSchema: z.ZodObject<{
|
|
|
1788
1785
|
createdAt: z.ZodString;
|
|
1789
1786
|
updatedAt: z.ZodString;
|
|
1790
1787
|
}, z.core.$strip>>>;
|
|
1791
|
-
}, z.core.$strip
|
|
1788
|
+
}, z.core.$strip>>;
|
|
1792
1789
|
createdAt: z.ZodString;
|
|
1793
1790
|
updatedAt: z.ZodString;
|
|
1794
1791
|
}, z.core.$strip>>;
|
|
@@ -1814,13 +1811,13 @@ declare class GetMenuItemCategories extends AbstractApiRequest<typeof getMenuIte
|
|
|
1814
1811
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
1815
1812
|
text: z.ZodNonOptional<z.ZodString>;
|
|
1816
1813
|
}, z.core.$strip>>;
|
|
1817
|
-
description: z.
|
|
1814
|
+
description: z.ZodArray<z.ZodObject<{
|
|
1818
1815
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
1819
1816
|
text: z.ZodNonOptional<z.ZodString>;
|
|
1820
|
-
}, z.core.$strip
|
|
1821
|
-
sorting: z.
|
|
1822
|
-
suspended: z.
|
|
1823
|
-
images: z.
|
|
1817
|
+
}, z.core.$strip>>;
|
|
1818
|
+
sorting: z.ZodCoercedNumber<unknown>;
|
|
1819
|
+
suspended: z.ZodBoolean;
|
|
1820
|
+
images: z.ZodArray<z.ZodObject<{
|
|
1824
1821
|
id: z.ZodString;
|
|
1825
1822
|
variant: z.ZodNullable<z.ZodString>;
|
|
1826
1823
|
contentUrl: z.ZodURL;
|
|
@@ -1837,7 +1834,7 @@ declare class GetMenuItemCategories extends AbstractApiRequest<typeof getMenuIte
|
|
|
1837
1834
|
createdAt: z.ZodString;
|
|
1838
1835
|
updatedAt: z.ZodString;
|
|
1839
1836
|
}, z.core.$strip>>>;
|
|
1840
|
-
}, z.core.$strip
|
|
1837
|
+
}, z.core.$strip>>;
|
|
1841
1838
|
createdAt: z.ZodString;
|
|
1842
1839
|
updatedAt: z.ZodString;
|
|
1843
1840
|
}, z.core.$strip>>;
|
|
@@ -1900,13 +1897,13 @@ declare const getMenuItemCategoriesFromPointOfSaleResponseSchema: z.ZodObject<{
|
|
|
1900
1897
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
1901
1898
|
text: z.ZodNonOptional<z.ZodString>;
|
|
1902
1899
|
}, z.core.$strip>>;
|
|
1903
|
-
description: z.
|
|
1900
|
+
description: z.ZodArray<z.ZodObject<{
|
|
1904
1901
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
1905
1902
|
text: z.ZodNonOptional<z.ZodString>;
|
|
1906
|
-
}, z.core.$strip
|
|
1907
|
-
sorting: z.
|
|
1908
|
-
suspended: z.
|
|
1909
|
-
images: z.
|
|
1903
|
+
}, z.core.$strip>>;
|
|
1904
|
+
sorting: z.ZodCoercedNumber<unknown>;
|
|
1905
|
+
suspended: z.ZodBoolean;
|
|
1906
|
+
images: z.ZodArray<z.ZodObject<{
|
|
1910
1907
|
id: z.ZodString;
|
|
1911
1908
|
variant: z.ZodNullable<z.ZodString>;
|
|
1912
1909
|
contentUrl: z.ZodURL;
|
|
@@ -1923,7 +1920,7 @@ declare const getMenuItemCategoriesFromPointOfSaleResponseSchema: z.ZodObject<{
|
|
|
1923
1920
|
createdAt: z.ZodString;
|
|
1924
1921
|
updatedAt: z.ZodString;
|
|
1925
1922
|
}, z.core.$strip>>>;
|
|
1926
|
-
}, z.core.$strip
|
|
1923
|
+
}, z.core.$strip>>;
|
|
1927
1924
|
createdAt: z.ZodString;
|
|
1928
1925
|
updatedAt: z.ZodString;
|
|
1929
1926
|
}, z.core.$strip>>;
|
|
@@ -1949,13 +1946,13 @@ declare class GetMenuItemCategoriesFromPointOfSale extends AbstractApiRequest<ty
|
|
|
1949
1946
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
1950
1947
|
text: z.ZodNonOptional<z.ZodString>;
|
|
1951
1948
|
}, z.core.$strip>>;
|
|
1952
|
-
description: z.
|
|
1949
|
+
description: z.ZodArray<z.ZodObject<{
|
|
1953
1950
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
1954
1951
|
text: z.ZodNonOptional<z.ZodString>;
|
|
1955
|
-
}, z.core.$strip
|
|
1956
|
-
sorting: z.
|
|
1957
|
-
suspended: z.
|
|
1958
|
-
images: z.
|
|
1952
|
+
}, z.core.$strip>>;
|
|
1953
|
+
sorting: z.ZodCoercedNumber<unknown>;
|
|
1954
|
+
suspended: z.ZodBoolean;
|
|
1955
|
+
images: z.ZodArray<z.ZodObject<{
|
|
1959
1956
|
id: z.ZodString;
|
|
1960
1957
|
variant: z.ZodNullable<z.ZodString>;
|
|
1961
1958
|
contentUrl: z.ZodURL;
|
|
@@ -1972,7 +1969,7 @@ declare class GetMenuItemCategoriesFromPointOfSale extends AbstractApiRequest<ty
|
|
|
1972
1969
|
createdAt: z.ZodString;
|
|
1973
1970
|
updatedAt: z.ZodString;
|
|
1974
1971
|
}, z.core.$strip>>>;
|
|
1975
|
-
}, z.core.$strip
|
|
1972
|
+
}, z.core.$strip>>;
|
|
1976
1973
|
createdAt: z.ZodString;
|
|
1977
1974
|
updatedAt: z.ZodString;
|
|
1978
1975
|
}, z.core.$strip>>;
|
|
@@ -2018,13 +2015,13 @@ declare const getMenuItemCategoryDetailsResponseSchema: z.ZodObject<{
|
|
|
2018
2015
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
2019
2016
|
text: z.ZodNonOptional<z.ZodString>;
|
|
2020
2017
|
}, z.core.$strip>>;
|
|
2021
|
-
description: z.
|
|
2018
|
+
description: z.ZodArray<z.ZodObject<{
|
|
2022
2019
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
2023
2020
|
text: z.ZodNonOptional<z.ZodString>;
|
|
2024
|
-
}, z.core.$strip
|
|
2025
|
-
sorting: z.
|
|
2026
|
-
suspended: z.
|
|
2027
|
-
images: z.
|
|
2021
|
+
}, z.core.$strip>>;
|
|
2022
|
+
sorting: z.ZodCoercedNumber<unknown>;
|
|
2023
|
+
suspended: z.ZodBoolean;
|
|
2024
|
+
images: z.ZodArray<z.ZodObject<{
|
|
2028
2025
|
id: z.ZodString;
|
|
2029
2026
|
variant: z.ZodNullable<z.ZodString>;
|
|
2030
2027
|
contentUrl: z.ZodURL;
|
|
@@ -2041,11 +2038,11 @@ declare const getMenuItemCategoryDetailsResponseSchema: z.ZodObject<{
|
|
|
2041
2038
|
createdAt: z.ZodString;
|
|
2042
2039
|
updatedAt: z.ZodString;
|
|
2043
2040
|
}, z.core.$strip>>>;
|
|
2044
|
-
}, z.core.$strip
|
|
2041
|
+
}, z.core.$strip>>;
|
|
2045
2042
|
createdAt: z.ZodString;
|
|
2046
2043
|
updatedAt: z.ZodString;
|
|
2047
2044
|
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.
|
|
2045
|
+
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
2046
|
}, z.core.$strip>;
|
|
2050
2047
|
type GetMenuItemCategoryDetailsResponse = z.infer<typeof getMenuItemCategoryDetailsResponseSchema>;
|
|
2051
2048
|
declare class GetMenuItemCategoryDetails extends AbstractApiRequest<typeof getMenuItemCategoryDetailsInputSchema, typeof getMenuItemCategoryDetailsResponseSchema> {
|
|
@@ -2059,13 +2056,13 @@ declare class GetMenuItemCategoryDetails extends AbstractApiRequest<typeof getMe
|
|
|
2059
2056
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
2060
2057
|
text: z.ZodNonOptional<z.ZodString>;
|
|
2061
2058
|
}, z.core.$strip>>;
|
|
2062
|
-
description: z.
|
|
2059
|
+
description: z.ZodArray<z.ZodObject<{
|
|
2063
2060
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
2064
2061
|
text: z.ZodNonOptional<z.ZodString>;
|
|
2065
|
-
}, z.core.$strip
|
|
2066
|
-
sorting: z.
|
|
2067
|
-
suspended: z.
|
|
2068
|
-
images: z.
|
|
2062
|
+
}, z.core.$strip>>;
|
|
2063
|
+
sorting: z.ZodCoercedNumber<unknown>;
|
|
2064
|
+
suspended: z.ZodBoolean;
|
|
2065
|
+
images: z.ZodArray<z.ZodObject<{
|
|
2069
2066
|
id: z.ZodString;
|
|
2070
2067
|
variant: z.ZodNullable<z.ZodString>;
|
|
2071
2068
|
contentUrl: z.ZodURL;
|
|
@@ -2082,11 +2079,11 @@ declare class GetMenuItemCategoryDetails extends AbstractApiRequest<typeof getMe
|
|
|
2082
2079
|
createdAt: z.ZodString;
|
|
2083
2080
|
updatedAt: z.ZodString;
|
|
2084
2081
|
}, z.core.$strip>>>;
|
|
2085
|
-
}, z.core.$strip
|
|
2082
|
+
}, z.core.$strip>>;
|
|
2086
2083
|
createdAt: z.ZodString;
|
|
2087
2084
|
updatedAt: z.ZodString;
|
|
2088
2085
|
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.
|
|
2086
|
+
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
2087
|
}, z.core.$strip>;
|
|
2091
2088
|
readonly querySchema: undefined;
|
|
2092
2089
|
readonly headersSchema: undefined;
|
|
@@ -2100,13 +2097,12 @@ declare const updateMenuItemCategoryInputSchema: z.ZodObject<{
|
|
|
2100
2097
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
2101
2098
|
text: z.ZodNonOptional<z.ZodString>;
|
|
2102
2099
|
}, z.core.$strip>>>;
|
|
2103
|
-
description: z.ZodOptional<z.
|
|
2100
|
+
description: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2104
2101
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
2105
2102
|
text: z.ZodNonOptional<z.ZodString>;
|
|
2106
|
-
}, z.core.$strip
|
|
2107
|
-
suspended: z.ZodOptional<z.
|
|
2108
|
-
|
|
2109
|
-
sorting: z.ZodOptional<z.ZodDefault<z.ZodCoercedNumber<unknown>>>;
|
|
2103
|
+
}, z.core.$strip>>>;
|
|
2104
|
+
suspended: z.ZodOptional<z.ZodBoolean>;
|
|
2105
|
+
sorting: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
2110
2106
|
}, z.core.$strip>;
|
|
2111
2107
|
type UpdateMenuItemCategoryInput = z.input<typeof updateMenuItemCategoryInputSchema>;
|
|
2112
2108
|
declare const updateMenuItemCategoryResponseSchema: z.ZodObject<{
|
|
@@ -2115,13 +2111,13 @@ declare const updateMenuItemCategoryResponseSchema: z.ZodObject<{
|
|
|
2115
2111
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
2116
2112
|
text: z.ZodNonOptional<z.ZodString>;
|
|
2117
2113
|
}, z.core.$strip>>;
|
|
2118
|
-
description: z.
|
|
2114
|
+
description: z.ZodArray<z.ZodObject<{
|
|
2119
2115
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
2120
2116
|
text: z.ZodNonOptional<z.ZodString>;
|
|
2121
|
-
}, z.core.$strip
|
|
2122
|
-
sorting: z.
|
|
2123
|
-
suspended: z.
|
|
2124
|
-
images: z.
|
|
2117
|
+
}, z.core.$strip>>;
|
|
2118
|
+
sorting: z.ZodCoercedNumber<unknown>;
|
|
2119
|
+
suspended: z.ZodBoolean;
|
|
2120
|
+
images: z.ZodArray<z.ZodObject<{
|
|
2125
2121
|
id: z.ZodString;
|
|
2126
2122
|
variant: z.ZodNullable<z.ZodString>;
|
|
2127
2123
|
contentUrl: z.ZodURL;
|
|
@@ -2138,11 +2134,11 @@ declare const updateMenuItemCategoryResponseSchema: z.ZodObject<{
|
|
|
2138
2134
|
createdAt: z.ZodString;
|
|
2139
2135
|
updatedAt: z.ZodString;
|
|
2140
2136
|
}, z.core.$strip>>>;
|
|
2141
|
-
}, z.core.$strip
|
|
2137
|
+
}, z.core.$strip>>;
|
|
2142
2138
|
createdAt: z.ZodString;
|
|
2143
2139
|
updatedAt: z.ZodString;
|
|
2144
2140
|
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.
|
|
2141
|
+
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
2142
|
}, z.core.$strip>;
|
|
2147
2143
|
type UpdateMenuItemCategoryResponse = z.infer<typeof updateMenuItemCategoryResponseSchema>;
|
|
2148
2144
|
declare class UpdateMenuItemCategory extends AbstractApiRequest<typeof updateMenuItemCategoryInputSchema, typeof updateMenuItemCategoryResponseSchema> {
|
|
@@ -2154,13 +2150,12 @@ declare class UpdateMenuItemCategory extends AbstractApiRequest<typeof updateMen
|
|
|
2154
2150
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
2155
2151
|
text: z.ZodNonOptional<z.ZodString>;
|
|
2156
2152
|
}, z.core.$strip>>>;
|
|
2157
|
-
description: z.ZodOptional<z.
|
|
2153
|
+
description: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2158
2154
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
2159
2155
|
text: z.ZodNonOptional<z.ZodString>;
|
|
2160
|
-
}, z.core.$strip
|
|
2161
|
-
suspended: z.ZodOptional<z.
|
|
2162
|
-
|
|
2163
|
-
sorting: z.ZodOptional<z.ZodDefault<z.ZodCoercedNumber<unknown>>>;
|
|
2156
|
+
}, z.core.$strip>>>;
|
|
2157
|
+
suspended: z.ZodOptional<z.ZodBoolean>;
|
|
2158
|
+
sorting: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
2164
2159
|
}, z.core.$strip>;
|
|
2165
2160
|
readonly outputSchema: z.ZodObject<{
|
|
2166
2161
|
id: z.ZodString;
|
|
@@ -2168,13 +2163,13 @@ declare class UpdateMenuItemCategory extends AbstractApiRequest<typeof updateMen
|
|
|
2168
2163
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
2169
2164
|
text: z.ZodNonOptional<z.ZodString>;
|
|
2170
2165
|
}, z.core.$strip>>;
|
|
2171
|
-
description: z.
|
|
2166
|
+
description: z.ZodArray<z.ZodObject<{
|
|
2172
2167
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
2173
2168
|
text: z.ZodNonOptional<z.ZodString>;
|
|
2174
|
-
}, z.core.$strip
|
|
2175
|
-
sorting: z.
|
|
2176
|
-
suspended: z.
|
|
2177
|
-
images: z.
|
|
2169
|
+
}, z.core.$strip>>;
|
|
2170
|
+
sorting: z.ZodCoercedNumber<unknown>;
|
|
2171
|
+
suspended: z.ZodBoolean;
|
|
2172
|
+
images: z.ZodArray<z.ZodObject<{
|
|
2178
2173
|
id: z.ZodString;
|
|
2179
2174
|
variant: z.ZodNullable<z.ZodString>;
|
|
2180
2175
|
contentUrl: z.ZodURL;
|
|
@@ -2191,11 +2186,11 @@ declare class UpdateMenuItemCategory extends AbstractApiRequest<typeof updateMen
|
|
|
2191
2186
|
createdAt: z.ZodString;
|
|
2192
2187
|
updatedAt: z.ZodString;
|
|
2193
2188
|
}, z.core.$strip>>>;
|
|
2194
|
-
}, z.core.$strip
|
|
2189
|
+
}, z.core.$strip>>;
|
|
2195
2190
|
createdAt: z.ZodString;
|
|
2196
2191
|
updatedAt: z.ZodString;
|
|
2197
2192
|
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.
|
|
2193
|
+
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
2194
|
}, z.core.$strip>;
|
|
2200
2195
|
readonly querySchema: undefined;
|
|
2201
2196
|
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,
|
|
@@ -11310,8 +11310,7 @@ var writableMenuItemCategorySchema = menuItemCategorySchema.pick({
|
|
|
11310
11310
|
sorting: true,
|
|
11311
11311
|
suspended: true
|
|
11312
11312
|
}).extend({
|
|
11313
|
-
pointOfSale: pointOfSaleIriSchema
|
|
11314
|
-
images: external_exports.array(imageIriSchema).min(0).default([])
|
|
11313
|
+
pointOfSale: pointOfSaleIriSchema
|
|
11315
11314
|
});
|
|
11316
11315
|
var menuItemModifierSchema = external_exports.object({
|
|
11317
11316
|
id: external_exports.string(),
|
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.5",
|
|
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-
|
|
22
|
-
"@deliverart/sdk-js-
|
|
23
|
-
"@deliverart/sdk-js-
|
|
24
|
-
"@deliverart/sdk-js-
|
|
25
|
-
"@deliverart/sdk-js-
|
|
21
|
+
"@deliverart/sdk-js-image": "2.5.5",
|
|
22
|
+
"@deliverart/sdk-js-core": "2.5.5",
|
|
23
|
+
"@deliverart/sdk-js-point-of-sale": "2.5.5",
|
|
24
|
+
"@deliverart/sdk-js-global-types": "2.5.5",
|
|
25
|
+
"@deliverart/sdk-js-sales-mode": "2.5.5"
|
|
26
26
|
},
|
|
27
27
|
"publishConfig": {
|
|
28
28
|
"access": "public"
|