@deliverart/sdk-js-menu 2.5.16 → 2.5.18
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 +28 -59
- package/dist/index.d.cts +206 -53
- package/dist/index.d.ts +206 -53
- package/dist/index.js +29 -59
- package/package.json +6 -6
package/dist/index.d.cts
CHANGED
|
@@ -1,9 +1,36 @@
|
|
|
1
1
|
import * as _deliverart_sdk_js_global_types from '@deliverart/sdk-js-global-types';
|
|
2
|
-
import { Paginated } from '@deliverart/sdk-js-global-types';
|
|
2
|
+
import { menuChannelSchema, menuItemAllergenSchema, menuItemDietSchema, Paginated } from '@deliverart/sdk-js-global-types';
|
|
3
3
|
export { MenuChannel, MenuItemAllergen, MenuItemDiet, MenuItemPriceOverrideType, MenuItemType, menuChannelSchema, menuChannels, menuItemAllergenSchema, menuItemAllergens, menuItemDietSchema, menuItemDiets, menuItemPriceOverrideTypeSchema, menuItemPriceOverrideTypes, menuItemTypeSchema, menuItemTypes } from '@deliverart/sdk-js-global-types';
|
|
4
|
+
import { imageSchema } from '@deliverart/sdk-js-image';
|
|
5
|
+
import { pointOfSaleIriSchema } from '@deliverart/sdk-js-point-of-sale';
|
|
4
6
|
import { z } from 'zod';
|
|
5
7
|
import { AbstractApiRequest } from '@deliverart/sdk-js-core';
|
|
6
8
|
|
|
9
|
+
declare const menuItemIriSchema: 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>>;
|
|
10
|
+
type MenuItemIri = z.infer<typeof menuItemIriSchema>;
|
|
11
|
+
declare const menuItemNullableIriSchema: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id"> | null, unknown>>;
|
|
12
|
+
type MenuItemNullableIri = z.infer<typeof menuItemNullableIriSchema>;
|
|
13
|
+
declare const menuItemSalesPriceIriSchema: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_items/sales_prices/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_items/sales_prices/:id">, unknown>>;
|
|
14
|
+
type MenuItemSalesPriceIri = z.infer<typeof menuItemSalesPriceIriSchema>;
|
|
15
|
+
declare const menuItemSalesPriceNullableIriSchema: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_items/sales_prices/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_items/sales_prices/:id"> | null, unknown>>;
|
|
16
|
+
type MenuItemSalesPriceNullableIri = z.infer<typeof menuItemSalesPriceNullableIriSchema>;
|
|
17
|
+
declare const menuItemCategoryIriSchema: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id">, unknown>>;
|
|
18
|
+
type MenuItemCategoryIri = z.infer<typeof menuItemCategoryIriSchema>;
|
|
19
|
+
declare const menuItemCategoryNullableIriSchema: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id"> | null, unknown>>;
|
|
20
|
+
type MenuItemCategoryNullableIri = z.infer<typeof menuItemCategoryNullableIriSchema>;
|
|
21
|
+
declare const menuItemModifierIriSchema: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_modifiers/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_modifiers/:id">, unknown>>;
|
|
22
|
+
type MenuItemModifierIri = z.infer<typeof menuItemModifierIriSchema>;
|
|
23
|
+
declare const menuItemModifierNullableIriSchema: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_modifiers/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_modifiers/:id"> | null, unknown>>;
|
|
24
|
+
type MenuItemModifierNullableIri = z.infer<typeof menuItemModifierNullableIriSchema>;
|
|
25
|
+
declare const menuItemPriceOverrideIriSchema: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_price_overrides/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_price_overrides/:id">, unknown>>;
|
|
26
|
+
type MenuItemPriceOverrideIri = z.infer<typeof menuItemPriceOverrideIriSchema>;
|
|
27
|
+
declare const menuItemPriceOverrideNullableIriSchema: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_price_overrides/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_price_overrides/:id"> | null, unknown>>;
|
|
28
|
+
type MenuItemPriceOverrideNullableIri = z.infer<typeof menuItemPriceOverrideNullableIriSchema>;
|
|
29
|
+
declare const menuItemPriceOverrideSalesPriceIriSchema: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_price_overrides/sales_prices/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_price_overrides/sales_prices/:id">, unknown>>;
|
|
30
|
+
type MenuItemPriceOverrideSalesPriceIri = z.infer<typeof menuItemPriceOverrideSalesPriceIriSchema>;
|
|
31
|
+
declare const menuItemPriceOverrideSalesPriceNullableIriSchema: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_price_overrides/sales_prices/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_price_overrides/sales_prices/:id"> | null, unknown>>;
|
|
32
|
+
type MenuItemPriceOverrideSalesPriceNullableIri = z.infer<typeof menuItemPriceOverrideSalesPriceNullableIriSchema>;
|
|
33
|
+
|
|
7
34
|
declare const localeItemSchema: z.ZodObject<{
|
|
8
35
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
9
36
|
text: z.ZodNonOptional<z.ZodString>;
|
|
@@ -21,16 +48,107 @@ declare const menuVersionSchema: z.ZodObject<{
|
|
|
21
48
|
updatedAt: z.ZodString;
|
|
22
49
|
}, z.core.$strip>;
|
|
23
50
|
type MenuVersion = z.infer<typeof menuVersionSchema>;
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
51
|
+
type MenuItemVariant = {
|
|
52
|
+
id: string;
|
|
53
|
+
type: 'ITEM';
|
|
54
|
+
price: string;
|
|
55
|
+
referenceItem: MenuItem;
|
|
56
|
+
suspended: boolean;
|
|
57
|
+
salesPrices: z.infer<typeof salesPriceDTOSchema>[];
|
|
58
|
+
createdAt: string;
|
|
59
|
+
updatedAt: string;
|
|
60
|
+
};
|
|
61
|
+
type MenuItemChoice = {
|
|
62
|
+
id: string;
|
|
63
|
+
channels: z.infer<typeof menuChannelSchema>[];
|
|
64
|
+
tags: string[];
|
|
65
|
+
category: z.infer<typeof menuItemCategoryNullableIriSchema>;
|
|
66
|
+
type: 'CHOICE';
|
|
67
|
+
name: z.infer<typeof localeItemSchema>[];
|
|
68
|
+
description: z.infer<typeof localeItemSchema>[];
|
|
69
|
+
allergens: z.infer<typeof menuItemAllergenSchema>[];
|
|
70
|
+
diets: z.infer<typeof menuItemDietSchema>[];
|
|
71
|
+
price: string;
|
|
72
|
+
taxRate: number;
|
|
73
|
+
containsAlcohol: boolean;
|
|
74
|
+
countable: boolean;
|
|
75
|
+
soldIndividually: boolean;
|
|
76
|
+
suspended: boolean;
|
|
77
|
+
compositions: never[];
|
|
78
|
+
modifiers: never[];
|
|
79
|
+
variants: MenuItemVariant[];
|
|
80
|
+
salesPrices: z.infer<typeof salesPriceDTOSchema>[];
|
|
81
|
+
images: z.infer<typeof imageSchema>[];
|
|
82
|
+
createdAt: string;
|
|
83
|
+
updatedAt: string;
|
|
84
|
+
};
|
|
85
|
+
type MenuItemItem = {
|
|
86
|
+
id: string;
|
|
87
|
+
channels: z.infer<typeof menuChannelSchema>[];
|
|
88
|
+
tags: string[];
|
|
89
|
+
category: z.infer<typeof menuItemCategoryNullableIriSchema>;
|
|
90
|
+
type: 'ITEM';
|
|
91
|
+
name: z.infer<typeof localeItemSchema>[];
|
|
92
|
+
description: z.infer<typeof localeItemSchema>[];
|
|
93
|
+
allergens: z.infer<typeof menuItemAllergenSchema>[];
|
|
94
|
+
diets: z.infer<typeof menuItemDietSchema>[];
|
|
95
|
+
price: string;
|
|
96
|
+
taxRate: number;
|
|
97
|
+
containsAlcohol: boolean;
|
|
98
|
+
countable: boolean;
|
|
99
|
+
soldIndividually: boolean;
|
|
100
|
+
suspended: boolean;
|
|
101
|
+
compositions: z.infer<typeof menuItemIriSchema>[];
|
|
102
|
+
modifiers: z.infer<typeof menuItemModifierIriSchema>[];
|
|
103
|
+
variants: MenuItemVariant[];
|
|
104
|
+
salesPrices: z.infer<typeof salesPriceDTOSchema>[];
|
|
105
|
+
images: z.infer<typeof imageSchema>[];
|
|
106
|
+
createdAt: string;
|
|
107
|
+
updatedAt: string;
|
|
108
|
+
};
|
|
109
|
+
type MenuItemBundle = {
|
|
110
|
+
id: string;
|
|
111
|
+
channels: z.infer<typeof menuChannelSchema>[];
|
|
112
|
+
tags: string[];
|
|
113
|
+
category: z.infer<typeof menuItemCategoryNullableIriSchema>;
|
|
114
|
+
type: 'BUNDLE';
|
|
115
|
+
name: z.infer<typeof localeItemSchema>[];
|
|
116
|
+
description: z.infer<typeof localeItemSchema>[];
|
|
117
|
+
allergens: z.infer<typeof menuItemAllergenSchema>[];
|
|
118
|
+
diets: z.infer<typeof menuItemDietSchema>[];
|
|
119
|
+
price: string;
|
|
120
|
+
taxRate: number;
|
|
121
|
+
containsAlcohol: boolean;
|
|
122
|
+
countable: boolean;
|
|
123
|
+
soldIndividually: boolean;
|
|
124
|
+
suspended: boolean;
|
|
125
|
+
compositions: z.infer<typeof menuItemIriSchema>[];
|
|
126
|
+
modifiers: z.infer<typeof menuItemModifierIriSchema>[];
|
|
127
|
+
variants: MenuItemVariant[];
|
|
128
|
+
salesPrices: z.infer<typeof salesPriceDTOSchema>[];
|
|
129
|
+
images: z.infer<typeof imageSchema>[];
|
|
130
|
+
createdAt: string;
|
|
131
|
+
updatedAt: string;
|
|
132
|
+
};
|
|
133
|
+
type MenuItem = MenuItemChoice | MenuItemItem | MenuItemBundle;
|
|
134
|
+
type MenuItemChoiceDetails = MenuItemChoice & {
|
|
135
|
+
pointOfSale: z.infer<typeof pointOfSaleIriSchema>;
|
|
136
|
+
};
|
|
137
|
+
type MenuItemItemDetails = MenuItemItem & {
|
|
138
|
+
pointOfSale: z.infer<typeof pointOfSaleIriSchema>;
|
|
139
|
+
};
|
|
140
|
+
type MenuItemBundleDetails = MenuItemBundle & {
|
|
141
|
+
pointOfSale: z.infer<typeof pointOfSaleIriSchema>;
|
|
142
|
+
};
|
|
143
|
+
type MenuItemDetails = MenuItemChoiceDetails | MenuItemItemDetails | MenuItemBundleDetails;
|
|
144
|
+
declare const menuItemChoiceSchema: z.ZodType<MenuItemChoice>;
|
|
145
|
+
declare const menuItemItemSchema: z.ZodType<MenuItemItem>;
|
|
146
|
+
declare const menuItemBundleSchema: z.ZodType<MenuItemBundle>;
|
|
147
|
+
declare const menuItemSchema: z.ZodType<MenuItem>;
|
|
148
|
+
declare const menuItemChoiceDetailsSchema: z.ZodType<MenuItemChoiceDetails>;
|
|
149
|
+
declare const menuItemItemDetailsSchema: z.ZodType<MenuItemItemDetails>;
|
|
150
|
+
declare const menuItemBundleDetailsSchema: z.ZodType<MenuItemBundleDetails>;
|
|
151
|
+
declare const menuItemDetailsSchema: z.ZodType<MenuItemDetails>;
|
|
34
152
|
declare const writableMenuItemSchema: z.ZodObject<{
|
|
35
153
|
type: z.ZodEnum<{
|
|
36
154
|
ITEM: "ITEM";
|
|
@@ -176,6 +294,10 @@ declare const writableMenuItemCategorySchema: z.ZodObject<{
|
|
|
176
294
|
}, z.core.$strip>;
|
|
177
295
|
declare const menuItemModifierSchema: z.ZodObject<{
|
|
178
296
|
id: z.ZodString;
|
|
297
|
+
targetItemType: z.ZodEnum<{
|
|
298
|
+
ITEM: "ITEM";
|
|
299
|
+
BUNDLE: "BUNDLE";
|
|
300
|
+
}>;
|
|
179
301
|
name: z.ZodArray<z.ZodObject<{
|
|
180
302
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
181
303
|
text: z.ZodNonOptional<z.ZodString>;
|
|
@@ -198,6 +320,10 @@ declare const menuItemModifierSchema: z.ZodObject<{
|
|
|
198
320
|
type MenuItemModifier = z.infer<typeof menuItemModifierSchema>;
|
|
199
321
|
declare const menuItemModifierDetailsSchema: z.ZodObject<{
|
|
200
322
|
id: z.ZodString;
|
|
323
|
+
targetItemType: z.ZodEnum<{
|
|
324
|
+
ITEM: "ITEM";
|
|
325
|
+
BUNDLE: "BUNDLE";
|
|
326
|
+
}>;
|
|
201
327
|
name: z.ZodArray<z.ZodObject<{
|
|
202
328
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
203
329
|
text: z.ZodNonOptional<z.ZodString>;
|
|
@@ -230,6 +356,10 @@ declare const writableMenuItemModifierSchema: z.ZodObject<{
|
|
|
230
356
|
}, z.core.$strip>>;
|
|
231
357
|
sorting: z.ZodCoercedNumber<unknown>;
|
|
232
358
|
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>>>;
|
|
359
|
+
targetItemType: z.ZodEnum<{
|
|
360
|
+
ITEM: "ITEM";
|
|
361
|
+
BUNDLE: "BUNDLE";
|
|
362
|
+
}>;
|
|
233
363
|
minSelection: z.ZodCoercedNumber<unknown>;
|
|
234
364
|
maxSelection: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
235
365
|
repeatable: z.ZodBoolean;
|
|
@@ -1312,6 +1442,10 @@ declare const createMenuItemModifierInputSchema: z.ZodObject<{
|
|
|
1312
1442
|
}, z.core.$strip>>>;
|
|
1313
1443
|
sorting: z.ZodNonOptional<z.ZodCoercedNumber<unknown>>;
|
|
1314
1444
|
items: z.ZodNonOptional<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>>>>;
|
|
1445
|
+
targetItemType: z.ZodNonOptional<z.ZodEnum<{
|
|
1446
|
+
ITEM: "ITEM";
|
|
1447
|
+
BUNDLE: "BUNDLE";
|
|
1448
|
+
}>>;
|
|
1315
1449
|
minSelection: z.ZodNonOptional<z.ZodCoercedNumber<unknown>>;
|
|
1316
1450
|
maxSelection: z.ZodNonOptional<z.ZodNullable<z.ZodCoercedNumber<unknown>>>;
|
|
1317
1451
|
repeatable: z.ZodNonOptional<z.ZodBoolean>;
|
|
@@ -1321,6 +1455,10 @@ declare const createMenuItemModifierInputSchema: z.ZodObject<{
|
|
|
1321
1455
|
type CreateMenuItemModifierInput = z.input<typeof createMenuItemModifierInputSchema>;
|
|
1322
1456
|
declare const createMenuItemModifierResponseSchema: z.ZodObject<{
|
|
1323
1457
|
id: z.ZodString;
|
|
1458
|
+
targetItemType: z.ZodEnum<{
|
|
1459
|
+
ITEM: "ITEM";
|
|
1460
|
+
BUNDLE: "BUNDLE";
|
|
1461
|
+
}>;
|
|
1324
1462
|
name: z.ZodArray<z.ZodObject<{
|
|
1325
1463
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
1326
1464
|
text: z.ZodNonOptional<z.ZodString>;
|
|
@@ -1357,6 +1495,10 @@ declare class CreateMenuItemModifier extends AbstractApiRequest<typeof createMen
|
|
|
1357
1495
|
}, z.core.$strip>>>;
|
|
1358
1496
|
sorting: z.ZodNonOptional<z.ZodCoercedNumber<unknown>>;
|
|
1359
1497
|
items: z.ZodNonOptional<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>>>>;
|
|
1498
|
+
targetItemType: z.ZodNonOptional<z.ZodEnum<{
|
|
1499
|
+
ITEM: "ITEM";
|
|
1500
|
+
BUNDLE: "BUNDLE";
|
|
1501
|
+
}>>;
|
|
1360
1502
|
minSelection: z.ZodNonOptional<z.ZodCoercedNumber<unknown>>;
|
|
1361
1503
|
maxSelection: z.ZodNonOptional<z.ZodNullable<z.ZodCoercedNumber<unknown>>>;
|
|
1362
1504
|
repeatable: z.ZodNonOptional<z.ZodBoolean>;
|
|
@@ -1365,6 +1507,10 @@ declare class CreateMenuItemModifier extends AbstractApiRequest<typeof createMen
|
|
|
1365
1507
|
}, z.core.$strip>;
|
|
1366
1508
|
readonly outputSchema: z.ZodObject<{
|
|
1367
1509
|
id: z.ZodString;
|
|
1510
|
+
targetItemType: z.ZodEnum<{
|
|
1511
|
+
ITEM: "ITEM";
|
|
1512
|
+
BUNDLE: "BUNDLE";
|
|
1513
|
+
}>;
|
|
1368
1514
|
name: z.ZodArray<z.ZodObject<{
|
|
1369
1515
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
1370
1516
|
text: z.ZodNonOptional<z.ZodString>;
|
|
@@ -1410,6 +1556,10 @@ declare const getMenuItemModifierDetailsInputSchema: z.ZodUndefined;
|
|
|
1410
1556
|
type GetMenuItemModifierDetailsInput = z.infer<typeof getMenuItemModifierDetailsInputSchema>;
|
|
1411
1557
|
declare const getMenuItemModifierDetailsResponseSchema: z.ZodObject<{
|
|
1412
1558
|
id: z.ZodString;
|
|
1559
|
+
targetItemType: z.ZodEnum<{
|
|
1560
|
+
ITEM: "ITEM";
|
|
1561
|
+
BUNDLE: "BUNDLE";
|
|
1562
|
+
}>;
|
|
1413
1563
|
name: z.ZodArray<z.ZodObject<{
|
|
1414
1564
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
1415
1565
|
text: z.ZodNonOptional<z.ZodString>;
|
|
@@ -1438,6 +1588,10 @@ declare class GetMenuItemModifierDetails extends AbstractApiRequest<typeof getMe
|
|
|
1438
1588
|
readonly inputSchema: z.ZodUndefined;
|
|
1439
1589
|
readonly outputSchema: z.ZodObject<{
|
|
1440
1590
|
id: z.ZodString;
|
|
1591
|
+
targetItemType: z.ZodEnum<{
|
|
1592
|
+
ITEM: "ITEM";
|
|
1593
|
+
BUNDLE: "BUNDLE";
|
|
1594
|
+
}>;
|
|
1441
1595
|
name: z.ZodArray<z.ZodObject<{
|
|
1442
1596
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
1443
1597
|
text: z.ZodNonOptional<z.ZodString>;
|
|
@@ -1497,6 +1651,10 @@ type GetMenuItemModifiersInput = z.input<typeof getMenuItemModifiersInputSchema>
|
|
|
1497
1651
|
declare const getMenuItemModifiersResponseSchema: z.ZodObject<{
|
|
1498
1652
|
data: z.ZodArray<z.ZodObject<{
|
|
1499
1653
|
id: z.ZodString;
|
|
1654
|
+
targetItemType: z.ZodEnum<{
|
|
1655
|
+
ITEM: "ITEM";
|
|
1656
|
+
BUNDLE: "BUNDLE";
|
|
1657
|
+
}>;
|
|
1500
1658
|
name: z.ZodArray<z.ZodObject<{
|
|
1501
1659
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
1502
1660
|
text: z.ZodNonOptional<z.ZodString>;
|
|
@@ -1534,6 +1692,10 @@ declare class GetMenuItemModifiers extends AbstractApiRequest<typeof getMenuItem
|
|
|
1534
1692
|
readonly outputSchema: z.ZodObject<{
|
|
1535
1693
|
data: z.ZodArray<z.ZodObject<{
|
|
1536
1694
|
id: z.ZodString;
|
|
1695
|
+
targetItemType: z.ZodEnum<{
|
|
1696
|
+
ITEM: "ITEM";
|
|
1697
|
+
BUNDLE: "BUNDLE";
|
|
1698
|
+
}>;
|
|
1537
1699
|
name: z.ZodArray<z.ZodObject<{
|
|
1538
1700
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
1539
1701
|
text: z.ZodNonOptional<z.ZodString>;
|
|
@@ -1628,6 +1790,10 @@ type GetMenuItemModifiersFromPointOfSaleInput = z.input<typeof getMenuItemModifi
|
|
|
1628
1790
|
declare const getMenuItemModifiersFromPointOfSaleResponseSchema: z.ZodObject<{
|
|
1629
1791
|
data: z.ZodArray<z.ZodObject<{
|
|
1630
1792
|
id: z.ZodString;
|
|
1793
|
+
targetItemType: z.ZodEnum<{
|
|
1794
|
+
ITEM: "ITEM";
|
|
1795
|
+
BUNDLE: "BUNDLE";
|
|
1796
|
+
}>;
|
|
1631
1797
|
name: z.ZodArray<z.ZodObject<{
|
|
1632
1798
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
1633
1799
|
text: z.ZodNonOptional<z.ZodString>;
|
|
@@ -1665,6 +1831,10 @@ declare class GetMenuItemModifiersFromPointOfSale extends AbstractApiRequest<typ
|
|
|
1665
1831
|
readonly outputSchema: z.ZodObject<{
|
|
1666
1832
|
data: z.ZodArray<z.ZodObject<{
|
|
1667
1833
|
id: z.ZodString;
|
|
1834
|
+
targetItemType: z.ZodEnum<{
|
|
1835
|
+
ITEM: "ITEM";
|
|
1836
|
+
BUNDLE: "BUNDLE";
|
|
1837
|
+
}>;
|
|
1668
1838
|
name: z.ZodArray<z.ZodObject<{
|
|
1669
1839
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
1670
1840
|
text: z.ZodNonOptional<z.ZodString>;
|
|
@@ -1747,6 +1917,10 @@ declare const updateMenuItemModifierInputSchema: z.ZodObject<{
|
|
|
1747
1917
|
type UpdateMenuItemModifierInput = z.input<typeof updateMenuItemModifierInputSchema>;
|
|
1748
1918
|
declare const updateMenuItemModifierResponseSchema: z.ZodObject<{
|
|
1749
1919
|
id: z.ZodString;
|
|
1920
|
+
targetItemType: z.ZodEnum<{
|
|
1921
|
+
ITEM: "ITEM";
|
|
1922
|
+
BUNDLE: "BUNDLE";
|
|
1923
|
+
}>;
|
|
1750
1924
|
name: z.ZodArray<z.ZodObject<{
|
|
1751
1925
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
1752
1926
|
text: z.ZodNonOptional<z.ZodString>;
|
|
@@ -1790,6 +1964,10 @@ declare class UpdateMenuItemModifier extends AbstractApiRequest<typeof updateMen
|
|
|
1790
1964
|
}, z.core.$strip>;
|
|
1791
1965
|
readonly outputSchema: z.ZodObject<{
|
|
1792
1966
|
id: z.ZodString;
|
|
1967
|
+
targetItemType: z.ZodEnum<{
|
|
1968
|
+
ITEM: "ITEM";
|
|
1969
|
+
BUNDLE: "BUNDLE";
|
|
1970
|
+
}>;
|
|
1793
1971
|
name: z.ZodArray<z.ZodObject<{
|
|
1794
1972
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
1795
1973
|
text: z.ZodNonOptional<z.ZodString>;
|
|
@@ -2521,7 +2699,7 @@ declare const createMenuItemInputSchema: z.ZodObject<{
|
|
|
2521
2699
|
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>>>>>;
|
|
2522
2700
|
}, z.core.$strip>;
|
|
2523
2701
|
type CreateMenuItemInput = z.input<typeof createMenuItemInputSchema>;
|
|
2524
|
-
declare const createMenuItemResponseSchema: z.ZodType<
|
|
2702
|
+
declare const createMenuItemResponseSchema: z.ZodType<MenuItemDetails, unknown, z.core.$ZodTypeInternals<MenuItemDetails, unknown>>;
|
|
2525
2703
|
type CreateMenuItemResponse = z.output<typeof createMenuItemResponseSchema>;
|
|
2526
2704
|
declare class CreateMenuItem extends AbstractApiRequest<typeof createMenuItemInputSchema, typeof createMenuItemResponseSchema> {
|
|
2527
2705
|
readonly method = "POST";
|
|
@@ -2586,7 +2764,7 @@ declare class CreateMenuItem extends AbstractApiRequest<typeof createMenuItemInp
|
|
|
2586
2764
|
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>>>;
|
|
2587
2765
|
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>>>>>;
|
|
2588
2766
|
}, z.core.$strip>;
|
|
2589
|
-
readonly outputSchema: z.ZodType<
|
|
2767
|
+
readonly outputSchema: z.ZodType<MenuItemDetails, unknown, z.core.$ZodTypeInternals<MenuItemDetails, unknown>>;
|
|
2590
2768
|
readonly querySchema: undefined;
|
|
2591
2769
|
readonly headersSchema: undefined;
|
|
2592
2770
|
constructor(input: CreateMenuItemInput);
|
|
@@ -2610,14 +2788,14 @@ declare class DeleteMenuItem extends AbstractApiRequest<typeof deleteMenuItemInp
|
|
|
2610
2788
|
|
|
2611
2789
|
declare const getMenuItemDetailsInputSchema: z.ZodUndefined;
|
|
2612
2790
|
type GetMenuItemDetailsInput = z.infer<typeof getMenuItemDetailsInputSchema>;
|
|
2613
|
-
declare const getMenuItemDetailsResponseSchema: z.ZodType<
|
|
2791
|
+
declare const getMenuItemDetailsResponseSchema: z.ZodType<MenuItemDetails, unknown, z.core.$ZodTypeInternals<MenuItemDetails, unknown>>;
|
|
2614
2792
|
type GetMenuItemDetailsResponse = z.infer<typeof getMenuItemDetailsResponseSchema>;
|
|
2615
2793
|
declare class GetMenuItemDetails extends AbstractApiRequest<typeof getMenuItemDetailsInputSchema, typeof getMenuItemDetailsResponseSchema> {
|
|
2616
2794
|
readonly method = "GET";
|
|
2617
2795
|
readonly contentType = "application/json";
|
|
2618
2796
|
readonly accept = "application/json";
|
|
2619
2797
|
readonly inputSchema: z.ZodUndefined;
|
|
2620
|
-
readonly outputSchema: z.ZodType<
|
|
2798
|
+
readonly outputSchema: z.ZodType<MenuItemDetails, unknown, z.core.$ZodTypeInternals<MenuItemDetails, unknown>>;
|
|
2621
2799
|
readonly querySchema: undefined;
|
|
2622
2800
|
readonly headersSchema: undefined;
|
|
2623
2801
|
private readonly menuItemId;
|
|
@@ -2679,7 +2857,7 @@ type GetMenuItemsQueryParams = z.infer<typeof getMenuItemsQuerySchema>;
|
|
|
2679
2857
|
declare const getMenuItemsInputSchema: z.ZodUndefined;
|
|
2680
2858
|
type GetMenuItemsInput = z.input<typeof getMenuItemsInputSchema>;
|
|
2681
2859
|
declare const getMenuItemsResponseSchema: z.ZodObject<{
|
|
2682
|
-
data: z.ZodArray<z.ZodType<
|
|
2860
|
+
data: z.ZodArray<z.ZodType<MenuItem, unknown, z.core.$ZodTypeInternals<MenuItem, unknown>>>;
|
|
2683
2861
|
pagination: z.ZodObject<{
|
|
2684
2862
|
from: z.ZodCoercedNumber<unknown>;
|
|
2685
2863
|
to: z.ZodCoercedNumber<unknown>;
|
|
@@ -2696,7 +2874,7 @@ declare class GetMenuItems extends AbstractApiRequest<typeof getMenuItemsInputSc
|
|
|
2696
2874
|
readonly accept = "application/json";
|
|
2697
2875
|
readonly inputSchema: z.ZodUndefined;
|
|
2698
2876
|
readonly outputSchema: z.ZodObject<{
|
|
2699
|
-
data: z.ZodArray<z.ZodType<
|
|
2877
|
+
data: z.ZodArray<z.ZodType<MenuItem, unknown, z.core.$ZodTypeInternals<MenuItem, unknown>>>;
|
|
2700
2878
|
pagination: z.ZodObject<{
|
|
2701
2879
|
from: z.ZodCoercedNumber<unknown>;
|
|
2702
2880
|
to: z.ZodCoercedNumber<unknown>;
|
|
@@ -2817,14 +2995,14 @@ declare const getMenuItemsAsChoicesFromMenuItemModifierQuerySchema: z.ZodObject<
|
|
|
2817
2995
|
type GetMenuItemsAsChoicesFromMenuItemModifierQueryParams = z.infer<typeof getMenuItemsAsChoicesFromMenuItemModifierQuerySchema>;
|
|
2818
2996
|
declare const getMenuItemsAsChoicesFromMenuItemModifierInputSchema: z.ZodUndefined;
|
|
2819
2997
|
type GetMenuItemsAsChoicesFromMenuItemModifierInput = z.input<typeof getMenuItemsAsChoicesFromMenuItemModifierInputSchema>;
|
|
2820
|
-
declare const getMenuItemsAsChoicesFromMenuItemModifierResponseSchema: z.ZodArray<z.ZodType<
|
|
2998
|
+
declare const getMenuItemsAsChoicesFromMenuItemModifierResponseSchema: z.ZodArray<z.ZodType<MenuItem, unknown, z.core.$ZodTypeInternals<MenuItem, unknown>>>;
|
|
2821
2999
|
type GetMenuItemsAsChoicesFromMenuItemModifierResponse = z.infer<typeof getMenuItemsAsChoicesFromMenuItemModifierResponseSchema>;
|
|
2822
3000
|
declare class GetMenuItemsAsChoicesFromMenuItemModifier extends AbstractApiRequest<typeof getMenuItemsAsChoicesFromMenuItemModifierInputSchema, typeof getMenuItemsAsChoicesFromMenuItemModifierResponseSchema, GetMenuItemsAsChoicesFromMenuItemModifierQueryParams> {
|
|
2823
3001
|
readonly method = "GET";
|
|
2824
3002
|
readonly contentType = "application/json";
|
|
2825
3003
|
readonly accept = "application/json";
|
|
2826
3004
|
readonly inputSchema: z.ZodUndefined;
|
|
2827
|
-
readonly outputSchema: z.ZodArray<z.ZodType<
|
|
3005
|
+
readonly outputSchema: z.ZodArray<z.ZodType<MenuItem, unknown, z.core.$ZodTypeInternals<MenuItem, unknown>>>;
|
|
2828
3006
|
readonly querySchema: z.ZodObject<{
|
|
2829
3007
|
countable: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
2830
3008
|
soldIndividually: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
@@ -2938,7 +3116,7 @@ type GetMenuItemsFromMenuItemCategoryQueryParams = z.infer<typeof getMenuItemsFr
|
|
|
2938
3116
|
declare const getMenuItemsFromMenuItemCategoryInputSchema: z.ZodUndefined;
|
|
2939
3117
|
type GetMenuItemsFromMenuItemCategoryInput = z.input<typeof getMenuItemsFromMenuItemCategoryInputSchema>;
|
|
2940
3118
|
declare const getMenuItemsFromMenuItemCategoryResponseSchema: z.ZodObject<{
|
|
2941
|
-
data: z.ZodArray<z.ZodType<
|
|
3119
|
+
data: z.ZodArray<z.ZodType<MenuItem, unknown, z.core.$ZodTypeInternals<MenuItem, unknown>>>;
|
|
2942
3120
|
pagination: z.ZodObject<{
|
|
2943
3121
|
from: z.ZodCoercedNumber<unknown>;
|
|
2944
3122
|
to: z.ZodCoercedNumber<unknown>;
|
|
@@ -2955,7 +3133,7 @@ declare class GetMenuItemsFromMenuItemCategory extends AbstractApiRequest<typeof
|
|
|
2955
3133
|
readonly accept = "application/json";
|
|
2956
3134
|
readonly inputSchema: z.ZodUndefined;
|
|
2957
3135
|
readonly outputSchema: z.ZodObject<{
|
|
2958
|
-
data: z.ZodArray<z.ZodType<
|
|
3136
|
+
data: z.ZodArray<z.ZodType<MenuItem, unknown, z.core.$ZodTypeInternals<MenuItem, unknown>>>;
|
|
2959
3137
|
pagination: z.ZodObject<{
|
|
2960
3138
|
from: z.ZodCoercedNumber<unknown>;
|
|
2961
3139
|
to: z.ZodCoercedNumber<unknown>;
|
|
@@ -3077,14 +3255,14 @@ declare const getMenuItemsFromMenuItemModifierQuerySchema: z.ZodObject<{
|
|
|
3077
3255
|
type GetMenuItemsFromMenuItemModifierQueryParams = z.infer<typeof getMenuItemsFromMenuItemModifierQuerySchema>;
|
|
3078
3256
|
declare const getMenuItemsFromMenuItemModifierInputSchema: z.ZodUndefined;
|
|
3079
3257
|
type GetMenuItemsFromMenuItemModifierInput = z.input<typeof getMenuItemsFromMenuItemModifierInputSchema>;
|
|
3080
|
-
declare const getMenuItemsFromMenuItemModifierResponseSchema: z.ZodArray<z.ZodType<
|
|
3258
|
+
declare const getMenuItemsFromMenuItemModifierResponseSchema: z.ZodArray<z.ZodType<MenuItem, unknown, z.core.$ZodTypeInternals<MenuItem, unknown>>>;
|
|
3081
3259
|
type GetMenuItemsFromMenuItemModifierResponse = z.infer<typeof getMenuItemsFromMenuItemModifierResponseSchema>;
|
|
3082
3260
|
declare class GetMenuItemsFromMenuItemModifier extends AbstractApiRequest<typeof getMenuItemsFromMenuItemModifierInputSchema, typeof getMenuItemsFromMenuItemModifierResponseSchema, GetMenuItemsFromMenuItemModifierQueryParams> {
|
|
3083
3261
|
readonly method = "GET";
|
|
3084
3262
|
readonly contentType = "application/json";
|
|
3085
3263
|
readonly accept = "application/json";
|
|
3086
3264
|
readonly inputSchema: z.ZodUndefined;
|
|
3087
|
-
readonly outputSchema: z.ZodArray<z.ZodType<
|
|
3265
|
+
readonly outputSchema: z.ZodArray<z.ZodType<MenuItem, unknown, z.core.$ZodTypeInternals<MenuItem, unknown>>>;
|
|
3088
3266
|
readonly querySchema: z.ZodObject<{
|
|
3089
3267
|
countable: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
3090
3268
|
soldIndividually: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
@@ -3198,7 +3376,7 @@ type GetMenuItemsFromPointOfSaleQueryParams = z.infer<typeof getMenuItemsFromPoi
|
|
|
3198
3376
|
declare const getMenuItemsFromPointOfSaleInputSchema: z.ZodUndefined;
|
|
3199
3377
|
type GetMenuItemsFromPointOfSaleInput = z.input<typeof getMenuItemsFromPointOfSaleInputSchema>;
|
|
3200
3378
|
declare const getMenuItemsFromPointOfSaleResponseSchema: z.ZodObject<{
|
|
3201
|
-
data: z.ZodArray<z.ZodType<
|
|
3379
|
+
data: z.ZodArray<z.ZodType<MenuItem, unknown, z.core.$ZodTypeInternals<MenuItem, unknown>>>;
|
|
3202
3380
|
pagination: z.ZodObject<{
|
|
3203
3381
|
from: z.ZodCoercedNumber<unknown>;
|
|
3204
3382
|
to: z.ZodCoercedNumber<unknown>;
|
|
@@ -3215,7 +3393,7 @@ declare class GetMenuItemsFromPointOfSale extends AbstractApiRequest<typeof getM
|
|
|
3215
3393
|
readonly accept = "application/json";
|
|
3216
3394
|
readonly inputSchema: z.ZodUndefined;
|
|
3217
3395
|
readonly outputSchema: z.ZodObject<{
|
|
3218
|
-
data: z.ZodArray<z.ZodType<
|
|
3396
|
+
data: z.ZodArray<z.ZodType<MenuItem, unknown, z.core.$ZodTypeInternals<MenuItem, unknown>>>;
|
|
3219
3397
|
pagination: z.ZodObject<{
|
|
3220
3398
|
from: z.ZodCoercedNumber<unknown>;
|
|
3221
3399
|
to: z.ZodCoercedNumber<unknown>;
|
|
@@ -3343,7 +3521,7 @@ declare const updateMenuItemInputSchema: z.ZodObject<{
|
|
|
3343
3521
|
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>>>>>;
|
|
3344
3522
|
}, z.core.$strip>;
|
|
3345
3523
|
type UpdateMenuItemInput = z.input<typeof updateMenuItemInputSchema>;
|
|
3346
|
-
declare const updateMenuItemResponseSchema: z.ZodType<
|
|
3524
|
+
declare const updateMenuItemResponseSchema: z.ZodType<MenuItemDetails, unknown, z.core.$ZodTypeInternals<MenuItemDetails, unknown>>;
|
|
3347
3525
|
type UpdateMenuItemResponse = z.infer<typeof updateMenuItemResponseSchema>;
|
|
3348
3526
|
declare class UpdateMenuItem extends AbstractApiRequest<typeof updateMenuItemInputSchema, typeof updateMenuItemResponseSchema> {
|
|
3349
3527
|
readonly method = "PATCH";
|
|
@@ -3407,7 +3585,7 @@ declare class UpdateMenuItem extends AbstractApiRequest<typeof updateMenuItemInp
|
|
|
3407
3585
|
}, z.core.$strip>>>>;
|
|
3408
3586
|
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>>>>>;
|
|
3409
3587
|
}, z.core.$strip>;
|
|
3410
|
-
readonly outputSchema: z.ZodType<
|
|
3588
|
+
readonly outputSchema: z.ZodType<MenuItemDetails, unknown, z.core.$ZodTypeInternals<MenuItemDetails, unknown>>;
|
|
3411
3589
|
readonly querySchema: undefined;
|
|
3412
3590
|
readonly headersSchema: undefined;
|
|
3413
3591
|
private readonly menuItemId;
|
|
@@ -3507,29 +3685,4 @@ declare class GetMenuVersions extends AbstractApiRequest<typeof getMenuVersionsI
|
|
|
3507
3685
|
parseResponse(data: unknown, rawResponse: Response): Paginated<MenuVersion>;
|
|
3508
3686
|
}
|
|
3509
3687
|
|
|
3510
|
-
|
|
3511
|
-
type MenuItemIri = z.infer<typeof menuItemIriSchema>;
|
|
3512
|
-
declare const menuItemNullableIriSchema: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id"> | null, unknown>>;
|
|
3513
|
-
type MenuItemNullableIri = z.infer<typeof menuItemNullableIriSchema>;
|
|
3514
|
-
declare const menuItemSalesPriceIriSchema: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_items/sales_prices/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_items/sales_prices/:id">, unknown>>;
|
|
3515
|
-
type MenuItemSalesPriceIri = z.infer<typeof menuItemSalesPriceIriSchema>;
|
|
3516
|
-
declare const menuItemSalesPriceNullableIriSchema: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_items/sales_prices/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_items/sales_prices/:id"> | null, unknown>>;
|
|
3517
|
-
type MenuItemSalesPriceNullableIri = z.infer<typeof menuItemSalesPriceNullableIriSchema>;
|
|
3518
|
-
declare const menuItemCategoryIriSchema: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id">, unknown>>;
|
|
3519
|
-
type MenuItemCategoryIri = z.infer<typeof menuItemCategoryIriSchema>;
|
|
3520
|
-
declare const menuItemCategoryNullableIriSchema: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id"> | null, unknown>>;
|
|
3521
|
-
type MenuItemCategoryNullableIri = z.infer<typeof menuItemCategoryNullableIriSchema>;
|
|
3522
|
-
declare const menuItemModifierIriSchema: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_modifiers/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_modifiers/:id">, unknown>>;
|
|
3523
|
-
type MenuItemModifierIri = z.infer<typeof menuItemModifierIriSchema>;
|
|
3524
|
-
declare const menuItemModifierNullableIriSchema: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_modifiers/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_modifiers/:id"> | null, unknown>>;
|
|
3525
|
-
type MenuItemModifierNullableIri = z.infer<typeof menuItemModifierNullableIriSchema>;
|
|
3526
|
-
declare const menuItemPriceOverrideIriSchema: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_price_overrides/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_price_overrides/:id">, unknown>>;
|
|
3527
|
-
type MenuItemPriceOverrideIri = z.infer<typeof menuItemPriceOverrideIriSchema>;
|
|
3528
|
-
declare const menuItemPriceOverrideNullableIriSchema: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_price_overrides/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_price_overrides/:id"> | null, unknown>>;
|
|
3529
|
-
type MenuItemPriceOverrideNullableIri = z.infer<typeof menuItemPriceOverrideNullableIriSchema>;
|
|
3530
|
-
declare const menuItemPriceOverrideSalesPriceIriSchema: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_price_overrides/sales_prices/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_price_overrides/sales_prices/:id">, unknown>>;
|
|
3531
|
-
type MenuItemPriceOverrideSalesPriceIri = z.infer<typeof menuItemPriceOverrideSalesPriceIriSchema>;
|
|
3532
|
-
declare const menuItemPriceOverrideSalesPriceNullableIriSchema: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_price_overrides/sales_prices/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_price_overrides/sales_prices/:id"> | null, unknown>>;
|
|
3533
|
-
type MenuItemPriceOverrideSalesPriceNullableIri = z.infer<typeof menuItemPriceOverrideSalesPriceNullableIriSchema>;
|
|
3534
|
-
|
|
3535
|
-
export { CreateMenuItem, CreateMenuItemCategory, type CreateMenuItemCategoryInput, type CreateMenuItemCategoryResponse, type CreateMenuItemInput, CreateMenuItemModifier, type CreateMenuItemModifierInput, type CreateMenuItemModifierResponse, CreateMenuItemPriceOverride, type CreateMenuItemPriceOverrideInput, type CreateMenuItemPriceOverrideResponse, type CreateMenuItemResponse, DeleteMenuItem, DeleteMenuItemCategory, DeleteMenuItemModifier, DeleteMenuItemPriceOverride, GetMenuItemCategories, GetMenuItemCategoriesFromPointOfSale, type GetMenuItemCategoriesFromPointOfSaleInput, type GetMenuItemCategoriesFromPointOfSaleQueryParams, type GetMenuItemCategoriesFromPointOfSaleResponse, type GetMenuItemCategoriesInput, type GetMenuItemCategoriesQueryParams, type GetMenuItemCategoriesResponse, GetMenuItemCategoryDetails, type GetMenuItemCategoryDetailsInput, type GetMenuItemCategoryDetailsResponse, GetMenuItemDetails, type GetMenuItemDetailsInput, type GetMenuItemDetailsResponse, GetMenuItemModifierDetails, type GetMenuItemModifierDetailsInput, type GetMenuItemModifierDetailsResponse, GetMenuItemModifiers, GetMenuItemModifiersFromPointOfSale, type GetMenuItemModifiersFromPointOfSaleInput, type GetMenuItemModifiersFromPointOfSaleQueryParams, type GetMenuItemModifiersFromPointOfSaleResponse, type GetMenuItemModifiersInput, type GetMenuItemModifiersQueryParams, type GetMenuItemModifiersResponse, GetMenuItemPriceOverrideDetails, type GetMenuItemPriceOverrideDetailsInput, type GetMenuItemPriceOverrideDetailsResponse, GetMenuItemPriceOverrides, GetMenuItemPriceOverridesAsVariantOverridesFromMenuItemModifier, type GetMenuItemPriceOverridesAsVariantOverridesFromMenuItemModifierInput, type GetMenuItemPriceOverridesAsVariantOverridesFromMenuItemModifierQueryParams, type GetMenuItemPriceOverridesAsVariantOverridesFromMenuItemModifierResponse, GetMenuItemPriceOverridesFromMenuItemModifier, type GetMenuItemPriceOverridesFromMenuItemModifierInput, type GetMenuItemPriceOverridesFromMenuItemModifierQueryParams, type GetMenuItemPriceOverridesFromMenuItemModifierResponse, type GetMenuItemPriceOverridesInput, type GetMenuItemPriceOverridesQueryParams, type GetMenuItemPriceOverridesResponse, GetMenuItems, GetMenuItemsAsChoicesFromMenuItemModifier, type GetMenuItemsAsChoicesFromMenuItemModifierInput, type GetMenuItemsAsChoicesFromMenuItemModifierQueryParams, type GetMenuItemsAsChoicesFromMenuItemModifierResponse, GetMenuItemsFromMenuItemCategory, type GetMenuItemsFromMenuItemCategoryInput, type GetMenuItemsFromMenuItemCategoryQueryParams, type GetMenuItemsFromMenuItemCategoryResponse, GetMenuItemsFromMenuItemModifier, type GetMenuItemsFromMenuItemModifierInput, type GetMenuItemsFromMenuItemModifierQueryParams, type GetMenuItemsFromMenuItemModifierResponse, GetMenuItemsFromPointOfSale, type GetMenuItemsFromPointOfSaleInput, type GetMenuItemsFromPointOfSaleQueryParams, type GetMenuItemsFromPointOfSaleResponse, type GetMenuItemsInput, type GetMenuItemsQueryParams, type GetMenuItemsResponse, GetMenuVersionDetails, type GetMenuVersionDetailsInput, type GetMenuVersionDetailsResponse, GetMenuVersions, type GetMenuVersionsInput, type GetMenuVersionsQueryParams, type GetMenuVersionsResponse, type MenuCategoryDto, type MenuDto, type MenuItem, type MenuItemCategoriesQueryParams, type MenuItemCategory, type MenuItemCategoryDetails, type MenuItemCategoryIri, type MenuItemCategoryNullableIri, type MenuItemDetails, type MenuItemDto, type MenuItemIri, type MenuItemModifier, type MenuItemModifierDetails, type MenuItemModifierIri, type MenuItemModifierNullableIri, type MenuItemModifiersQueryParams, type MenuItemNullableIri, type MenuItemPriceOverride, type MenuItemPriceOverrideDetails, type MenuItemPriceOverrideIri, type MenuItemPriceOverrideNullableIri, type MenuItemPriceOverrideSalesPriceIri, type MenuItemPriceOverrideSalesPriceNullableIri, type MenuItemPriceOverridesQueryParams, type MenuItemSalesPriceIri, type MenuItemSalesPriceNullableIri, type MenuItemsQueryParams, type MenuModifierDto, type MenuPriceDto, type MenuPriceOverrideDto, type MenuVersion, UpdateMenuItem, UpdateMenuItemCategory, type UpdateMenuItemCategoryInput, type UpdateMenuItemCategoryResponse, type UpdateMenuItemInput, UpdateMenuItemModifier, type UpdateMenuItemModifierInput, type UpdateMenuItemModifierResponse, UpdateMenuItemPriceOverride, type UpdateMenuItemPriceOverrideInput, type UpdateMenuItemPriceOverrideResponse, type UpdateMenuItemResponse, type WritableMenuItemPriceOverride, createMenuItemCategoryInputSchema, createMenuItemCategoryResponseSchema, createMenuItemInputSchema, createMenuItemModifierInputSchema, createMenuItemModifierResponseSchema, createMenuItemPriceOverrideInputSchema, createMenuItemPriceOverrideResponseSchema, createMenuItemResponseSchema, deleteMenuItemCategoryInputSchema, deleteMenuItemCategoryResponseSchema, deleteMenuItemInputSchema, deleteMenuItemModifierInputSchema, deleteMenuItemModifierResponseSchema, deleteMenuItemPriceOverrideInputSchema, deleteMenuItemPriceOverrideResponseSchema, deleteMenuItemResponseSchema, getMenuItemCategoriesFromPointOfSaleInputSchema, getMenuItemCategoriesFromPointOfSaleQuerySchema, getMenuItemCategoriesFromPointOfSaleResponseSchema, getMenuItemCategoriesInputSchema, getMenuItemCategoriesQuerySchema, getMenuItemCategoriesResponseSchema, getMenuItemCategoryDetailsInputSchema, getMenuItemCategoryDetailsResponseSchema, getMenuItemDetailsInputSchema, getMenuItemDetailsResponseSchema, getMenuItemModifierDetailsInputSchema, getMenuItemModifierDetailsResponseSchema, getMenuItemModifiersFromPointOfSaleInputSchema, getMenuItemModifiersFromPointOfSaleQuerySchema, getMenuItemModifiersFromPointOfSaleResponseSchema, getMenuItemModifiersInputSchema, getMenuItemModifiersQuerySchema, getMenuItemModifiersResponseSchema, getMenuItemPriceOverrideDetailsInputSchema, getMenuItemPriceOverrideDetailsResponseSchema, getMenuItemPriceOverridesAsVariantOverridesFromMenuItemModifierInputSchema, getMenuItemPriceOverridesAsVariantOverridesFromMenuItemModifierQuerySchema, getMenuItemPriceOverridesAsVariantOverridesFromMenuItemModifierResponseSchema, getMenuItemPriceOverridesFromMenuItemModifierInputSchema, getMenuItemPriceOverridesFromMenuItemModifierQuerySchema, getMenuItemPriceOverridesFromMenuItemModifierResponseSchema, getMenuItemPriceOverridesInputSchema, getMenuItemPriceOverridesQuerySchema, getMenuItemPriceOverridesResponseSchema, getMenuItemsAsChoicesFromMenuItemModifierInputSchema, getMenuItemsAsChoicesFromMenuItemModifierQuerySchema, getMenuItemsAsChoicesFromMenuItemModifierResponseSchema, getMenuItemsFromMenuItemCategoryInputSchema, getMenuItemsFromMenuItemCategoryQuerySchema, getMenuItemsFromMenuItemCategoryResponseSchema, getMenuItemsFromMenuItemModifierInputSchema, getMenuItemsFromMenuItemModifierQuerySchema, getMenuItemsFromMenuItemModifierResponseSchema, getMenuItemsFromPointOfSaleInputSchema, getMenuItemsFromPointOfSaleQuerySchema, getMenuItemsFromPointOfSaleResponseSchema, getMenuItemsInputSchema, getMenuItemsQuerySchema, getMenuItemsResponseSchema, getMenuVersionDetailsInputSchema, getMenuVersionDetailsResponseSchema, getMenuVersionsInputSchema, getMenuVersionsQuerySchema, getMenuVersionsResponseSchema, localeItemSchema, menuCategoryDtoSchema, menuDtoSchema, menuItemBundleDetailsSchema, menuItemBundleSchema, menuItemCategoriesQuerySchema, menuItemCategoryDetailsSchema, menuItemCategoryIriSchema, menuItemCategoryNullableIriSchema, menuItemCategorySchema, menuItemChoiceDetailsSchema, menuItemChoiceSchema, menuItemDetailsSchema, menuItemDtoSchema, menuItemIriSchema, menuItemItemDetailsSchema, menuItemItemSchema, menuItemModifierDetailsSchema, menuItemModifierIriSchema, menuItemModifierNullableIriSchema, menuItemModifierSchema, menuItemModifiersQuerySchema, menuItemNullableIriSchema, menuItemPriceOverrideDetailsSchema, menuItemPriceOverrideIriSchema, menuItemPriceOverrideNullableIriSchema, menuItemPriceOverrideSalesPriceIriSchema, menuItemPriceOverrideSalesPriceNullableIriSchema, menuItemPriceOverrideSchema, menuItemPriceOverridesQuerySchema, menuItemSalesPriceIriSchema, menuItemSalesPriceNullableIriSchema, menuItemSchema, menuItemsQuerySchema, menuModifierDtoSchema, menuPriceDtoSchema, menuPriceOverrideDtoSchema, menuVersionSchema, salesPriceDTOSchema, updateMenuItemCategoryInputSchema, updateMenuItemCategoryResponseSchema, updateMenuItemInputSchema, updateMenuItemModifierInputSchema, updateMenuItemModifierResponseSchema, updateMenuItemPriceOverrideInputSchema, updateMenuItemPriceOverrideResponseSchema, updateMenuItemResponseSchema, writableMenuItemCategorySchema, writableMenuItemModifierSchema, writableMenuItemPriceOverridePartialSchema, writableMenuItemPriceOverrideSchema, writableMenuItemSchema };
|
|
3688
|
+
export { CreateMenuItem, CreateMenuItemCategory, type CreateMenuItemCategoryInput, type CreateMenuItemCategoryResponse, type CreateMenuItemInput, CreateMenuItemModifier, type CreateMenuItemModifierInput, type CreateMenuItemModifierResponse, CreateMenuItemPriceOverride, type CreateMenuItemPriceOverrideInput, type CreateMenuItemPriceOverrideResponse, type CreateMenuItemResponse, DeleteMenuItem, DeleteMenuItemCategory, DeleteMenuItemModifier, DeleteMenuItemPriceOverride, GetMenuItemCategories, GetMenuItemCategoriesFromPointOfSale, type GetMenuItemCategoriesFromPointOfSaleInput, type GetMenuItemCategoriesFromPointOfSaleQueryParams, type GetMenuItemCategoriesFromPointOfSaleResponse, type GetMenuItemCategoriesInput, type GetMenuItemCategoriesQueryParams, type GetMenuItemCategoriesResponse, GetMenuItemCategoryDetails, type GetMenuItemCategoryDetailsInput, type GetMenuItemCategoryDetailsResponse, GetMenuItemDetails, type GetMenuItemDetailsInput, type GetMenuItemDetailsResponse, GetMenuItemModifierDetails, type GetMenuItemModifierDetailsInput, type GetMenuItemModifierDetailsResponse, GetMenuItemModifiers, GetMenuItemModifiersFromPointOfSale, type GetMenuItemModifiersFromPointOfSaleInput, type GetMenuItemModifiersFromPointOfSaleQueryParams, type GetMenuItemModifiersFromPointOfSaleResponse, type GetMenuItemModifiersInput, type GetMenuItemModifiersQueryParams, type GetMenuItemModifiersResponse, GetMenuItemPriceOverrideDetails, type GetMenuItemPriceOverrideDetailsInput, type GetMenuItemPriceOverrideDetailsResponse, GetMenuItemPriceOverrides, GetMenuItemPriceOverridesAsVariantOverridesFromMenuItemModifier, type GetMenuItemPriceOverridesAsVariantOverridesFromMenuItemModifierInput, type GetMenuItemPriceOverridesAsVariantOverridesFromMenuItemModifierQueryParams, type GetMenuItemPriceOverridesAsVariantOverridesFromMenuItemModifierResponse, GetMenuItemPriceOverridesFromMenuItemModifier, type GetMenuItemPriceOverridesFromMenuItemModifierInput, type GetMenuItemPriceOverridesFromMenuItemModifierQueryParams, type GetMenuItemPriceOverridesFromMenuItemModifierResponse, type GetMenuItemPriceOverridesInput, type GetMenuItemPriceOverridesQueryParams, type GetMenuItemPriceOverridesResponse, GetMenuItems, GetMenuItemsAsChoicesFromMenuItemModifier, type GetMenuItemsAsChoicesFromMenuItemModifierInput, type GetMenuItemsAsChoicesFromMenuItemModifierQueryParams, type GetMenuItemsAsChoicesFromMenuItemModifierResponse, GetMenuItemsFromMenuItemCategory, type GetMenuItemsFromMenuItemCategoryInput, type GetMenuItemsFromMenuItemCategoryQueryParams, type GetMenuItemsFromMenuItemCategoryResponse, GetMenuItemsFromMenuItemModifier, type GetMenuItemsFromMenuItemModifierInput, type GetMenuItemsFromMenuItemModifierQueryParams, type GetMenuItemsFromMenuItemModifierResponse, GetMenuItemsFromPointOfSale, type GetMenuItemsFromPointOfSaleInput, type GetMenuItemsFromPointOfSaleQueryParams, type GetMenuItemsFromPointOfSaleResponse, type GetMenuItemsInput, type GetMenuItemsQueryParams, type GetMenuItemsResponse, GetMenuVersionDetails, type GetMenuVersionDetailsInput, type GetMenuVersionDetailsResponse, GetMenuVersions, type GetMenuVersionsInput, type GetMenuVersionsQueryParams, type GetMenuVersionsResponse, type MenuCategoryDto, type MenuDto, type MenuItem, type MenuItemBundle, type MenuItemBundleDetails, type MenuItemCategoriesQueryParams, type MenuItemCategory, type MenuItemCategoryDetails, type MenuItemCategoryIri, type MenuItemCategoryNullableIri, type MenuItemChoice, type MenuItemChoiceDetails, type MenuItemDetails, type MenuItemDto, type MenuItemIri, type MenuItemItem, type MenuItemItemDetails, type MenuItemModifier, type MenuItemModifierDetails, type MenuItemModifierIri, type MenuItemModifierNullableIri, type MenuItemModifiersQueryParams, type MenuItemNullableIri, type MenuItemPriceOverride, type MenuItemPriceOverrideDetails, type MenuItemPriceOverrideIri, type MenuItemPriceOverrideNullableIri, type MenuItemPriceOverrideSalesPriceIri, type MenuItemPriceOverrideSalesPriceNullableIri, type MenuItemPriceOverridesQueryParams, type MenuItemSalesPriceIri, type MenuItemSalesPriceNullableIri, type MenuItemsQueryParams, type MenuModifierDto, type MenuPriceDto, type MenuPriceOverrideDto, type MenuVersion, UpdateMenuItem, UpdateMenuItemCategory, type UpdateMenuItemCategoryInput, type UpdateMenuItemCategoryResponse, type UpdateMenuItemInput, UpdateMenuItemModifier, type UpdateMenuItemModifierInput, type UpdateMenuItemModifierResponse, UpdateMenuItemPriceOverride, type UpdateMenuItemPriceOverrideInput, type UpdateMenuItemPriceOverrideResponse, type UpdateMenuItemResponse, type WritableMenuItemPriceOverride, createMenuItemCategoryInputSchema, createMenuItemCategoryResponseSchema, createMenuItemInputSchema, createMenuItemModifierInputSchema, createMenuItemModifierResponseSchema, createMenuItemPriceOverrideInputSchema, createMenuItemPriceOverrideResponseSchema, createMenuItemResponseSchema, deleteMenuItemCategoryInputSchema, deleteMenuItemCategoryResponseSchema, deleteMenuItemInputSchema, deleteMenuItemModifierInputSchema, deleteMenuItemModifierResponseSchema, deleteMenuItemPriceOverrideInputSchema, deleteMenuItemPriceOverrideResponseSchema, deleteMenuItemResponseSchema, getMenuItemCategoriesFromPointOfSaleInputSchema, getMenuItemCategoriesFromPointOfSaleQuerySchema, getMenuItemCategoriesFromPointOfSaleResponseSchema, getMenuItemCategoriesInputSchema, getMenuItemCategoriesQuerySchema, getMenuItemCategoriesResponseSchema, getMenuItemCategoryDetailsInputSchema, getMenuItemCategoryDetailsResponseSchema, getMenuItemDetailsInputSchema, getMenuItemDetailsResponseSchema, getMenuItemModifierDetailsInputSchema, getMenuItemModifierDetailsResponseSchema, getMenuItemModifiersFromPointOfSaleInputSchema, getMenuItemModifiersFromPointOfSaleQuerySchema, getMenuItemModifiersFromPointOfSaleResponseSchema, getMenuItemModifiersInputSchema, getMenuItemModifiersQuerySchema, getMenuItemModifiersResponseSchema, getMenuItemPriceOverrideDetailsInputSchema, getMenuItemPriceOverrideDetailsResponseSchema, getMenuItemPriceOverridesAsVariantOverridesFromMenuItemModifierInputSchema, getMenuItemPriceOverridesAsVariantOverridesFromMenuItemModifierQuerySchema, getMenuItemPriceOverridesAsVariantOverridesFromMenuItemModifierResponseSchema, getMenuItemPriceOverridesFromMenuItemModifierInputSchema, getMenuItemPriceOverridesFromMenuItemModifierQuerySchema, getMenuItemPriceOverridesFromMenuItemModifierResponseSchema, getMenuItemPriceOverridesInputSchema, getMenuItemPriceOverridesQuerySchema, getMenuItemPriceOverridesResponseSchema, getMenuItemsAsChoicesFromMenuItemModifierInputSchema, getMenuItemsAsChoicesFromMenuItemModifierQuerySchema, getMenuItemsAsChoicesFromMenuItemModifierResponseSchema, getMenuItemsFromMenuItemCategoryInputSchema, getMenuItemsFromMenuItemCategoryQuerySchema, getMenuItemsFromMenuItemCategoryResponseSchema, getMenuItemsFromMenuItemModifierInputSchema, getMenuItemsFromMenuItemModifierQuerySchema, getMenuItemsFromMenuItemModifierResponseSchema, getMenuItemsFromPointOfSaleInputSchema, getMenuItemsFromPointOfSaleQuerySchema, getMenuItemsFromPointOfSaleResponseSchema, getMenuItemsInputSchema, getMenuItemsQuerySchema, getMenuItemsResponseSchema, getMenuVersionDetailsInputSchema, getMenuVersionDetailsResponseSchema, getMenuVersionsInputSchema, getMenuVersionsQuerySchema, getMenuVersionsResponseSchema, localeItemSchema, menuCategoryDtoSchema, menuDtoSchema, menuItemBundleDetailsSchema, menuItemBundleSchema, menuItemCategoriesQuerySchema, menuItemCategoryDetailsSchema, menuItemCategoryIriSchema, menuItemCategoryNullableIriSchema, menuItemCategorySchema, menuItemChoiceDetailsSchema, menuItemChoiceSchema, menuItemDetailsSchema, menuItemDtoSchema, menuItemIriSchema, menuItemItemDetailsSchema, menuItemItemSchema, menuItemModifierDetailsSchema, menuItemModifierIriSchema, menuItemModifierNullableIriSchema, menuItemModifierSchema, menuItemModifiersQuerySchema, menuItemNullableIriSchema, menuItemPriceOverrideDetailsSchema, menuItemPriceOverrideIriSchema, menuItemPriceOverrideNullableIriSchema, menuItemPriceOverrideSalesPriceIriSchema, menuItemPriceOverrideSalesPriceNullableIriSchema, menuItemPriceOverrideSchema, menuItemPriceOverridesQuerySchema, menuItemSalesPriceIriSchema, menuItemSalesPriceNullableIriSchema, menuItemSchema, menuItemsQuerySchema, menuModifierDtoSchema, menuPriceDtoSchema, menuPriceOverrideDtoSchema, menuVersionSchema, salesPriceDTOSchema, updateMenuItemCategoryInputSchema, updateMenuItemCategoryResponseSchema, updateMenuItemInputSchema, updateMenuItemModifierInputSchema, updateMenuItemModifierResponseSchema, updateMenuItemPriceOverrideInputSchema, updateMenuItemPriceOverrideResponseSchema, updateMenuItemResponseSchema, writableMenuItemCategorySchema, writableMenuItemModifierSchema, writableMenuItemPriceOverridePartialSchema, writableMenuItemPriceOverrideSchema, writableMenuItemSchema };
|