@deliverart/sdk-js-menu 1.2.2 → 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.cts +4 -5
- package/dist/index.d.ts +4 -5
- package/package.json +6 -6
package/dist/index.d.cts
CHANGED
|
@@ -2,7 +2,6 @@ import * as _deliverart_sdk_js_global_types from '@deliverart/sdk-js-global-type
|
|
|
2
2
|
import { Paginated } from '@deliverart/sdk-js-global-types';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
import { AbstractApiRequest } from '@deliverart/sdk-js-core';
|
|
5
|
-
import { AxiosResponse } from 'axios';
|
|
6
5
|
|
|
7
6
|
declare const localeItemSchema: z.ZodObject<{
|
|
8
7
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
@@ -1339,7 +1338,7 @@ declare class GetMenuItemCategories extends AbstractApiRequest<typeof getMenuIte
|
|
|
1339
1338
|
query?: GetMenuItemCategoriesQueryParams;
|
|
1340
1339
|
});
|
|
1341
1340
|
getPath(): string;
|
|
1342
|
-
parseResponse(data: unknown, rawResponse:
|
|
1341
|
+
parseResponse(data: unknown, rawResponse: Response): Paginated<MenuItemCategory>;
|
|
1343
1342
|
}
|
|
1344
1343
|
|
|
1345
1344
|
declare const getMenuItemCategoryDetailsInputSchema: z.ZodUndefined;
|
|
@@ -1822,7 +1821,7 @@ declare class GetMenuItemModifiers extends AbstractApiRequest<typeof getMenuItem
|
|
|
1822
1821
|
query?: GetMenuItemModifiersQueryParams;
|
|
1823
1822
|
});
|
|
1824
1823
|
getPath(): string;
|
|
1825
|
-
parseResponse(data: unknown, rawResponse:
|
|
1824
|
+
parseResponse(data: unknown, rawResponse: Response): Paginated<MenuItemModifier>;
|
|
1826
1825
|
}
|
|
1827
1826
|
|
|
1828
1827
|
declare const updateMenuItemModifierInputSchema: z.ZodObject<{
|
|
@@ -2218,7 +2217,7 @@ declare class GetMenuItemPriceOverrides extends AbstractApiRequest<typeof getMen
|
|
|
2218
2217
|
query?: GetMenuItemPriceOverridesQueryParams;
|
|
2219
2218
|
});
|
|
2220
2219
|
getPath(): string;
|
|
2221
|
-
parseResponse(data: unknown, rawResponse:
|
|
2220
|
+
parseResponse(data: unknown, rawResponse: Response): Paginated<MenuItemPriceOverride>;
|
|
2222
2221
|
}
|
|
2223
2222
|
|
|
2224
2223
|
declare const updateMenuItemPriceOverrideInputSchema: z.ZodIntersection<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -3922,7 +3921,7 @@ declare class GetMenuItems extends AbstractApiRequest<typeof getMenuItemsInputSc
|
|
|
3922
3921
|
query?: GetMenuItemsQueryParams;
|
|
3923
3922
|
});
|
|
3924
3923
|
getPath(): string;
|
|
3925
|
-
parseResponse(data: unknown, rawResponse:
|
|
3924
|
+
parseResponse(data: unknown, rawResponse: Response): Paginated<MenuItem>;
|
|
3926
3925
|
}
|
|
3927
3926
|
|
|
3928
3927
|
declare const updateMenuItemInputSchema: z.ZodObject<{
|
package/dist/index.d.ts
CHANGED
|
@@ -2,7 +2,6 @@ import * as _deliverart_sdk_js_global_types from '@deliverart/sdk-js-global-type
|
|
|
2
2
|
import { Paginated } from '@deliverart/sdk-js-global-types';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
import { AbstractApiRequest } from '@deliverart/sdk-js-core';
|
|
5
|
-
import { AxiosResponse } from 'axios';
|
|
6
5
|
|
|
7
6
|
declare const localeItemSchema: z.ZodObject<{
|
|
8
7
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
@@ -1339,7 +1338,7 @@ declare class GetMenuItemCategories extends AbstractApiRequest<typeof getMenuIte
|
|
|
1339
1338
|
query?: GetMenuItemCategoriesQueryParams;
|
|
1340
1339
|
});
|
|
1341
1340
|
getPath(): string;
|
|
1342
|
-
parseResponse(data: unknown, rawResponse:
|
|
1341
|
+
parseResponse(data: unknown, rawResponse: Response): Paginated<MenuItemCategory>;
|
|
1343
1342
|
}
|
|
1344
1343
|
|
|
1345
1344
|
declare const getMenuItemCategoryDetailsInputSchema: z.ZodUndefined;
|
|
@@ -1822,7 +1821,7 @@ declare class GetMenuItemModifiers extends AbstractApiRequest<typeof getMenuItem
|
|
|
1822
1821
|
query?: GetMenuItemModifiersQueryParams;
|
|
1823
1822
|
});
|
|
1824
1823
|
getPath(): string;
|
|
1825
|
-
parseResponse(data: unknown, rawResponse:
|
|
1824
|
+
parseResponse(data: unknown, rawResponse: Response): Paginated<MenuItemModifier>;
|
|
1826
1825
|
}
|
|
1827
1826
|
|
|
1828
1827
|
declare const updateMenuItemModifierInputSchema: z.ZodObject<{
|
|
@@ -2218,7 +2217,7 @@ declare class GetMenuItemPriceOverrides extends AbstractApiRequest<typeof getMen
|
|
|
2218
2217
|
query?: GetMenuItemPriceOverridesQueryParams;
|
|
2219
2218
|
});
|
|
2220
2219
|
getPath(): string;
|
|
2221
|
-
parseResponse(data: unknown, rawResponse:
|
|
2220
|
+
parseResponse(data: unknown, rawResponse: Response): Paginated<MenuItemPriceOverride>;
|
|
2222
2221
|
}
|
|
2223
2222
|
|
|
2224
2223
|
declare const updateMenuItemPriceOverrideInputSchema: z.ZodIntersection<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -3922,7 +3921,7 @@ declare class GetMenuItems extends AbstractApiRequest<typeof getMenuItemsInputSc
|
|
|
3922
3921
|
query?: GetMenuItemsQueryParams;
|
|
3923
3922
|
});
|
|
3924
3923
|
getPath(): string;
|
|
3925
|
-
parseResponse(data: unknown, rawResponse:
|
|
3924
|
+
parseResponse(data: unknown, rawResponse: Response): Paginated<MenuItem>;
|
|
3926
3925
|
}
|
|
3927
3926
|
|
|
3928
3927
|
declare const updateMenuItemInputSchema: z.ZodObject<{
|
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": "
|
|
4
|
+
"version": "2.0.0",
|
|
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": "
|
|
22
|
-
"@deliverart/sdk-js-
|
|
23
|
-
"@deliverart/sdk-js-
|
|
24
|
-
"@deliverart/sdk-js-
|
|
25
|
-
"@deliverart/sdk-js-
|
|
21
|
+
"@deliverart/sdk-js-core": "2.0.0",
|
|
22
|
+
"@deliverart/sdk-js-global-types": "2.0.0",
|
|
23
|
+
"@deliverart/sdk-js-sales-mode": "2.0.0",
|
|
24
|
+
"@deliverart/sdk-js-point-of-sale": "2.0.0",
|
|
25
|
+
"@deliverart/sdk-js-image": "2.0.0"
|
|
26
26
|
},
|
|
27
27
|
"publishConfig": {
|
|
28
28
|
"access": "public"
|