@deliverart/sdk-js-menu 2.5.7 → 2.5.9
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 +166 -32
- package/dist/index.d.cts +1902 -518
- package/dist/index.d.ts +1902 -518
- package/dist/index.js +150 -32
- package/package.json +6 -6
package/dist/index.d.cts
CHANGED
|
@@ -1083,18 +1083,18 @@ declare const menuItemModifierSchema: z.ZodObject<{
|
|
|
1083
1083
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
1084
1084
|
text: z.ZodNonOptional<z.ZodString>;
|
|
1085
1085
|
}, z.core.$strip>>;
|
|
1086
|
-
description: z.
|
|
1086
|
+
description: z.ZodArray<z.ZodObject<{
|
|
1087
1087
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
1088
1088
|
text: z.ZodNonOptional<z.ZodString>;
|
|
1089
|
-
}, z.core.$strip
|
|
1090
|
-
sorting: z.
|
|
1091
|
-
minSelection: z.
|
|
1092
|
-
maxSelection: z.
|
|
1093
|
-
repeatable: z.
|
|
1094
|
-
items: z.
|
|
1095
|
-
choices: z.
|
|
1096
|
-
priceOverrides: z.
|
|
1097
|
-
variantOverrides: z.
|
|
1089
|
+
}, z.core.$strip>>;
|
|
1090
|
+
sorting: z.ZodCoercedNumber<unknown>;
|
|
1091
|
+
minSelection: z.ZodCoercedNumber<unknown>;
|
|
1092
|
+
maxSelection: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
1093
|
+
repeatable: z.ZodBoolean;
|
|
1094
|
+
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>>>;
|
|
1095
|
+
choices: 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>>>;
|
|
1096
|
+
priceOverrides: z.ZodArray<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>>>;
|
|
1097
|
+
variantOverrides: z.ZodArray<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>>>;
|
|
1098
1098
|
createdAt: z.ZodString;
|
|
1099
1099
|
updatedAt: z.ZodString;
|
|
1100
1100
|
}, z.core.$strip>;
|
|
@@ -1106,18 +1106,18 @@ declare const menuItemModifierDetailsSchema: z.ZodObject<{
|
|
|
1106
1106
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
1107
1107
|
text: z.ZodNonOptional<z.ZodString>;
|
|
1108
1108
|
}, z.core.$strip>>;
|
|
1109
|
-
description: z.
|
|
1109
|
+
description: z.ZodArray<z.ZodObject<{
|
|
1110
1110
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
1111
1111
|
text: z.ZodNonOptional<z.ZodString>;
|
|
1112
|
-
}, z.core.$strip
|
|
1113
|
-
sorting: z.
|
|
1114
|
-
minSelection: z.
|
|
1115
|
-
maxSelection: z.
|
|
1116
|
-
repeatable: z.
|
|
1117
|
-
items: z.
|
|
1118
|
-
choices: z.
|
|
1119
|
-
priceOverrides: z.
|
|
1120
|
-
variantOverrides: z.
|
|
1112
|
+
}, z.core.$strip>>;
|
|
1113
|
+
sorting: z.ZodCoercedNumber<unknown>;
|
|
1114
|
+
minSelection: z.ZodCoercedNumber<unknown>;
|
|
1115
|
+
maxSelection: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
1116
|
+
repeatable: z.ZodBoolean;
|
|
1117
|
+
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>>>;
|
|
1118
|
+
choices: 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>>>;
|
|
1119
|
+
priceOverrides: z.ZodArray<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>>>;
|
|
1120
|
+
variantOverrides: z.ZodArray<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>>>;
|
|
1121
1121
|
createdAt: z.ZodString;
|
|
1122
1122
|
updatedAt: z.ZodString;
|
|
1123
1123
|
}, z.core.$strip>;
|
|
@@ -1128,16 +1128,16 @@ declare const writableMenuItemModifierSchema: z.ZodObject<{
|
|
|
1128
1128
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
1129
1129
|
text: z.ZodNonOptional<z.ZodString>;
|
|
1130
1130
|
}, z.core.$strip>>;
|
|
1131
|
-
description: z.
|
|
1131
|
+
description: z.ZodArray<z.ZodObject<{
|
|
1132
1132
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
1133
1133
|
text: z.ZodNonOptional<z.ZodString>;
|
|
1134
|
-
}, z.core.$strip
|
|
1135
|
-
sorting: z.
|
|
1136
|
-
items: z.
|
|
1137
|
-
minSelection: z.
|
|
1138
|
-
maxSelection: z.
|
|
1139
|
-
repeatable: z.
|
|
1140
|
-
choices: z.
|
|
1134
|
+
}, z.core.$strip>>;
|
|
1135
|
+
sorting: z.ZodCoercedNumber<unknown>;
|
|
1136
|
+
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>>>;
|
|
1137
|
+
minSelection: z.ZodCoercedNumber<unknown>;
|
|
1138
|
+
maxSelection: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
1139
|
+
repeatable: z.ZodBoolean;
|
|
1140
|
+
choices: 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>>>;
|
|
1141
1141
|
}, z.core.$strip>;
|
|
1142
1142
|
declare const menuItemPriceOverrideSchema: z.ZodIntersection<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1143
1143
|
type: z.ZodLiteral<"ITEM">;
|
|
@@ -1150,13 +1150,13 @@ declare const menuItemPriceOverrideSchema: z.ZodIntersection<z.ZodDiscriminatedU
|
|
|
1150
1150
|
fromModifier: 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>>;
|
|
1151
1151
|
}, z.core.$strip>]>, z.ZodObject<{
|
|
1152
1152
|
id: z.ZodString;
|
|
1153
|
-
price: z.
|
|
1153
|
+
price: z.ZodString;
|
|
1154
1154
|
referenceItem: 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>>;
|
|
1155
|
-
suspended: z.
|
|
1156
|
-
salesPrices: z.
|
|
1155
|
+
suspended: z.ZodBoolean;
|
|
1156
|
+
salesPrices: z.ZodArray<z.ZodObject<{
|
|
1157
1157
|
salesMode: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id">, unknown>>;
|
|
1158
1158
|
price: z.ZodDefault<z.ZodString>;
|
|
1159
|
-
}, z.core.$strip
|
|
1159
|
+
}, z.core.$strip>>;
|
|
1160
1160
|
createdAt: z.ZodString;
|
|
1161
1161
|
updatedAt: z.ZodString;
|
|
1162
1162
|
}, z.core.$strip>>;
|
|
@@ -1172,13 +1172,13 @@ declare const menuItemPriceOverrideDetailsSchema: z.ZodIntersection<z.ZodDiscrim
|
|
|
1172
1172
|
fromModifier: 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>>;
|
|
1173
1173
|
}, z.core.$strip>]>, z.ZodObject<{
|
|
1174
1174
|
id: z.ZodString;
|
|
1175
|
-
price: z.
|
|
1175
|
+
price: z.ZodString;
|
|
1176
1176
|
referenceItem: 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>>;
|
|
1177
|
-
suspended: z.
|
|
1178
|
-
salesPrices: z.
|
|
1177
|
+
suspended: z.ZodBoolean;
|
|
1178
|
+
salesPrices: z.ZodArray<z.ZodObject<{
|
|
1179
1179
|
salesMode: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id">, unknown>>;
|
|
1180
1180
|
price: z.ZodDefault<z.ZodString>;
|
|
1181
|
-
}, z.core.$strip
|
|
1181
|
+
}, z.core.$strip>>;
|
|
1182
1182
|
createdAt: z.ZodString;
|
|
1183
1183
|
updatedAt: z.ZodString;
|
|
1184
1184
|
}, z.core.$strip>>;
|
|
@@ -2210,16 +2210,16 @@ declare const createMenuItemModifierInputSchema: z.ZodObject<{
|
|
|
2210
2210
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
2211
2211
|
text: z.ZodNonOptional<z.ZodString>;
|
|
2212
2212
|
}, z.core.$strip>>>;
|
|
2213
|
-
description: z.ZodNonOptional<z.
|
|
2213
|
+
description: z.ZodNonOptional<z.ZodArray<z.ZodObject<{
|
|
2214
2214
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
2215
2215
|
text: z.ZodNonOptional<z.ZodString>;
|
|
2216
|
-
}, z.core.$strip
|
|
2217
|
-
sorting: z.ZodNonOptional<z.
|
|
2218
|
-
items: z.ZodNonOptional<z.
|
|
2219
|
-
minSelection: z.ZodNonOptional<z.
|
|
2220
|
-
maxSelection: z.ZodNonOptional<z.
|
|
2221
|
-
repeatable: z.ZodNonOptional<z.
|
|
2222
|
-
choices: z.ZodNonOptional<z.
|
|
2216
|
+
}, z.core.$strip>>>;
|
|
2217
|
+
sorting: z.ZodNonOptional<z.ZodCoercedNumber<unknown>>;
|
|
2218
|
+
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>>>>;
|
|
2219
|
+
minSelection: z.ZodNonOptional<z.ZodCoercedNumber<unknown>>;
|
|
2220
|
+
maxSelection: z.ZodNonOptional<z.ZodNullable<z.ZodCoercedNumber<unknown>>>;
|
|
2221
|
+
repeatable: z.ZodNonOptional<z.ZodBoolean>;
|
|
2222
|
+
choices: 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>>>>;
|
|
2223
2223
|
}, z.core.$strip>;
|
|
2224
2224
|
type CreateMenuItemModifierInput = z.input<typeof createMenuItemModifierInputSchema>;
|
|
2225
2225
|
declare const createMenuItemModifierResponseSchema: z.ZodObject<{
|
|
@@ -2229,18 +2229,18 @@ declare const createMenuItemModifierResponseSchema: z.ZodObject<{
|
|
|
2229
2229
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
2230
2230
|
text: z.ZodNonOptional<z.ZodString>;
|
|
2231
2231
|
}, z.core.$strip>>;
|
|
2232
|
-
description: z.
|
|
2232
|
+
description: z.ZodArray<z.ZodObject<{
|
|
2233
2233
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
2234
2234
|
text: z.ZodNonOptional<z.ZodString>;
|
|
2235
|
-
}, z.core.$strip
|
|
2236
|
-
sorting: z.
|
|
2237
|
-
minSelection: z.
|
|
2238
|
-
maxSelection: z.
|
|
2239
|
-
repeatable: z.
|
|
2240
|
-
items: z.
|
|
2241
|
-
choices: z.
|
|
2242
|
-
priceOverrides: z.
|
|
2243
|
-
variantOverrides: z.
|
|
2235
|
+
}, z.core.$strip>>;
|
|
2236
|
+
sorting: z.ZodCoercedNumber<unknown>;
|
|
2237
|
+
minSelection: z.ZodCoercedNumber<unknown>;
|
|
2238
|
+
maxSelection: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
2239
|
+
repeatable: z.ZodBoolean;
|
|
2240
|
+
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>>>;
|
|
2241
|
+
choices: 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>>>;
|
|
2242
|
+
priceOverrides: z.ZodArray<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>>>;
|
|
2243
|
+
variantOverrides: z.ZodArray<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>>>;
|
|
2244
2244
|
createdAt: z.ZodString;
|
|
2245
2245
|
updatedAt: z.ZodString;
|
|
2246
2246
|
}, z.core.$strip>;
|
|
@@ -2255,16 +2255,16 @@ declare class CreateMenuItemModifier extends AbstractApiRequest<typeof createMen
|
|
|
2255
2255
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
2256
2256
|
text: z.ZodNonOptional<z.ZodString>;
|
|
2257
2257
|
}, z.core.$strip>>>;
|
|
2258
|
-
description: z.ZodNonOptional<z.
|
|
2258
|
+
description: z.ZodNonOptional<z.ZodArray<z.ZodObject<{
|
|
2259
2259
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
2260
2260
|
text: z.ZodNonOptional<z.ZodString>;
|
|
2261
|
-
}, z.core.$strip
|
|
2262
|
-
sorting: z.ZodNonOptional<z.
|
|
2263
|
-
items: z.ZodNonOptional<z.
|
|
2264
|
-
minSelection: z.ZodNonOptional<z.
|
|
2265
|
-
maxSelection: z.ZodNonOptional<z.
|
|
2266
|
-
repeatable: z.ZodNonOptional<z.
|
|
2267
|
-
choices: z.ZodNonOptional<z.
|
|
2261
|
+
}, z.core.$strip>>>;
|
|
2262
|
+
sorting: z.ZodNonOptional<z.ZodCoercedNumber<unknown>>;
|
|
2263
|
+
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>>>>;
|
|
2264
|
+
minSelection: z.ZodNonOptional<z.ZodCoercedNumber<unknown>>;
|
|
2265
|
+
maxSelection: z.ZodNonOptional<z.ZodNullable<z.ZodCoercedNumber<unknown>>>;
|
|
2266
|
+
repeatable: z.ZodNonOptional<z.ZodBoolean>;
|
|
2267
|
+
choices: 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>>>>;
|
|
2268
2268
|
}, z.core.$strip>;
|
|
2269
2269
|
readonly outputSchema: z.ZodObject<{
|
|
2270
2270
|
id: z.ZodString;
|
|
@@ -2273,18 +2273,18 @@ declare class CreateMenuItemModifier extends AbstractApiRequest<typeof createMen
|
|
|
2273
2273
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
2274
2274
|
text: z.ZodNonOptional<z.ZodString>;
|
|
2275
2275
|
}, z.core.$strip>>;
|
|
2276
|
-
description: z.
|
|
2276
|
+
description: z.ZodArray<z.ZodObject<{
|
|
2277
2277
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
2278
2278
|
text: z.ZodNonOptional<z.ZodString>;
|
|
2279
|
-
}, z.core.$strip
|
|
2280
|
-
sorting: z.
|
|
2281
|
-
minSelection: z.
|
|
2282
|
-
maxSelection: z.
|
|
2283
|
-
repeatable: z.
|
|
2284
|
-
items: z.
|
|
2285
|
-
choices: z.
|
|
2286
|
-
priceOverrides: z.
|
|
2287
|
-
variantOverrides: z.
|
|
2279
|
+
}, z.core.$strip>>;
|
|
2280
|
+
sorting: z.ZodCoercedNumber<unknown>;
|
|
2281
|
+
minSelection: z.ZodCoercedNumber<unknown>;
|
|
2282
|
+
maxSelection: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
2283
|
+
repeatable: z.ZodBoolean;
|
|
2284
|
+
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>>>;
|
|
2285
|
+
choices: 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>>>;
|
|
2286
|
+
priceOverrides: z.ZodArray<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>>>;
|
|
2287
|
+
variantOverrides: z.ZodArray<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>>>;
|
|
2288
2288
|
createdAt: z.ZodString;
|
|
2289
2289
|
updatedAt: z.ZodString;
|
|
2290
2290
|
}, z.core.$strip>;
|
|
@@ -2318,18 +2318,18 @@ declare const getMenuItemModifierDetailsResponseSchema: z.ZodObject<{
|
|
|
2318
2318
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
2319
2319
|
text: z.ZodNonOptional<z.ZodString>;
|
|
2320
2320
|
}, z.core.$strip>>;
|
|
2321
|
-
description: z.
|
|
2321
|
+
description: z.ZodArray<z.ZodObject<{
|
|
2322
2322
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
2323
2323
|
text: z.ZodNonOptional<z.ZodString>;
|
|
2324
|
-
}, z.core.$strip
|
|
2325
|
-
sorting: z.
|
|
2326
|
-
minSelection: z.
|
|
2327
|
-
maxSelection: z.
|
|
2328
|
-
repeatable: z.
|
|
2329
|
-
items: z.
|
|
2330
|
-
choices: z.
|
|
2331
|
-
priceOverrides: z.
|
|
2332
|
-
variantOverrides: z.
|
|
2324
|
+
}, z.core.$strip>>;
|
|
2325
|
+
sorting: z.ZodCoercedNumber<unknown>;
|
|
2326
|
+
minSelection: z.ZodCoercedNumber<unknown>;
|
|
2327
|
+
maxSelection: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
2328
|
+
repeatable: z.ZodBoolean;
|
|
2329
|
+
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>>>;
|
|
2330
|
+
choices: 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>>>;
|
|
2331
|
+
priceOverrides: z.ZodArray<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>>>;
|
|
2332
|
+
variantOverrides: z.ZodArray<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>>>;
|
|
2333
2333
|
createdAt: z.ZodString;
|
|
2334
2334
|
updatedAt: z.ZodString;
|
|
2335
2335
|
}, z.core.$strip>;
|
|
@@ -2346,18 +2346,18 @@ declare class GetMenuItemModifierDetails extends AbstractApiRequest<typeof getMe
|
|
|
2346
2346
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
2347
2347
|
text: z.ZodNonOptional<z.ZodString>;
|
|
2348
2348
|
}, z.core.$strip>>;
|
|
2349
|
-
description: z.
|
|
2349
|
+
description: z.ZodArray<z.ZodObject<{
|
|
2350
2350
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
2351
2351
|
text: z.ZodNonOptional<z.ZodString>;
|
|
2352
|
-
}, z.core.$strip
|
|
2353
|
-
sorting: z.
|
|
2354
|
-
minSelection: z.
|
|
2355
|
-
maxSelection: z.
|
|
2356
|
-
repeatable: z.
|
|
2357
|
-
items: z.
|
|
2358
|
-
choices: z.
|
|
2359
|
-
priceOverrides: z.
|
|
2360
|
-
variantOverrides: z.
|
|
2352
|
+
}, z.core.$strip>>;
|
|
2353
|
+
sorting: z.ZodCoercedNumber<unknown>;
|
|
2354
|
+
minSelection: z.ZodCoercedNumber<unknown>;
|
|
2355
|
+
maxSelection: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
2356
|
+
repeatable: z.ZodBoolean;
|
|
2357
|
+
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>>>;
|
|
2358
|
+
choices: 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>>>;
|
|
2359
|
+
priceOverrides: z.ZodArray<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>>>;
|
|
2360
|
+
variantOverrides: z.ZodArray<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>>>;
|
|
2361
2361
|
createdAt: z.ZodString;
|
|
2362
2362
|
updatedAt: z.ZodString;
|
|
2363
2363
|
}, z.core.$strip>;
|
|
@@ -2405,18 +2405,18 @@ declare const getMenuItemModifiersResponseSchema: z.ZodObject<{
|
|
|
2405
2405
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
2406
2406
|
text: z.ZodNonOptional<z.ZodString>;
|
|
2407
2407
|
}, z.core.$strip>>;
|
|
2408
|
-
description: z.
|
|
2408
|
+
description: z.ZodArray<z.ZodObject<{
|
|
2409
2409
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
2410
2410
|
text: z.ZodNonOptional<z.ZodString>;
|
|
2411
|
-
}, z.core.$strip
|
|
2412
|
-
sorting: z.
|
|
2413
|
-
minSelection: z.
|
|
2414
|
-
maxSelection: z.
|
|
2415
|
-
repeatable: z.
|
|
2416
|
-
items: z.
|
|
2417
|
-
choices: z.
|
|
2418
|
-
priceOverrides: z.
|
|
2419
|
-
variantOverrides: z.
|
|
2411
|
+
}, z.core.$strip>>;
|
|
2412
|
+
sorting: z.ZodCoercedNumber<unknown>;
|
|
2413
|
+
minSelection: z.ZodCoercedNumber<unknown>;
|
|
2414
|
+
maxSelection: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
2415
|
+
repeatable: z.ZodBoolean;
|
|
2416
|
+
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>>>;
|
|
2417
|
+
choices: 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>>>;
|
|
2418
|
+
priceOverrides: z.ZodArray<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>>>;
|
|
2419
|
+
variantOverrides: z.ZodArray<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>>>;
|
|
2420
2420
|
createdAt: z.ZodString;
|
|
2421
2421
|
updatedAt: z.ZodString;
|
|
2422
2422
|
}, z.core.$strip>>;
|
|
@@ -2443,18 +2443,18 @@ declare class GetMenuItemModifiers extends AbstractApiRequest<typeof getMenuItem
|
|
|
2443
2443
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
2444
2444
|
text: z.ZodNonOptional<z.ZodString>;
|
|
2445
2445
|
}, z.core.$strip>>;
|
|
2446
|
-
description: z.
|
|
2446
|
+
description: z.ZodArray<z.ZodObject<{
|
|
2447
2447
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
2448
2448
|
text: z.ZodNonOptional<z.ZodString>;
|
|
2449
|
-
}, z.core.$strip
|
|
2450
|
-
sorting: z.
|
|
2451
|
-
minSelection: z.
|
|
2452
|
-
maxSelection: z.
|
|
2453
|
-
repeatable: z.
|
|
2454
|
-
items: z.
|
|
2455
|
-
choices: z.
|
|
2456
|
-
priceOverrides: z.
|
|
2457
|
-
variantOverrides: z.
|
|
2449
|
+
}, z.core.$strip>>;
|
|
2450
|
+
sorting: z.ZodCoercedNumber<unknown>;
|
|
2451
|
+
minSelection: z.ZodCoercedNumber<unknown>;
|
|
2452
|
+
maxSelection: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
2453
|
+
repeatable: z.ZodBoolean;
|
|
2454
|
+
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>>>;
|
|
2455
|
+
choices: 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>>>;
|
|
2456
|
+
priceOverrides: z.ZodArray<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>>>;
|
|
2457
|
+
variantOverrides: z.ZodArray<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>>>;
|
|
2458
2458
|
createdAt: z.ZodString;
|
|
2459
2459
|
updatedAt: z.ZodString;
|
|
2460
2460
|
}, z.core.$strip>>;
|
|
@@ -2538,18 +2538,18 @@ declare const getMenuItemModifiersFromPointOfSaleResponseSchema: z.ZodObject<{
|
|
|
2538
2538
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
2539
2539
|
text: z.ZodNonOptional<z.ZodString>;
|
|
2540
2540
|
}, z.core.$strip>>;
|
|
2541
|
-
description: z.
|
|
2541
|
+
description: z.ZodArray<z.ZodObject<{
|
|
2542
2542
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
2543
2543
|
text: z.ZodNonOptional<z.ZodString>;
|
|
2544
|
-
}, z.core.$strip
|
|
2545
|
-
sorting: z.
|
|
2546
|
-
minSelection: z.
|
|
2547
|
-
maxSelection: z.
|
|
2548
|
-
repeatable: z.
|
|
2549
|
-
items: z.
|
|
2550
|
-
choices: z.
|
|
2551
|
-
priceOverrides: z.
|
|
2552
|
-
variantOverrides: z.
|
|
2544
|
+
}, z.core.$strip>>;
|
|
2545
|
+
sorting: z.ZodCoercedNumber<unknown>;
|
|
2546
|
+
minSelection: z.ZodCoercedNumber<unknown>;
|
|
2547
|
+
maxSelection: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
2548
|
+
repeatable: z.ZodBoolean;
|
|
2549
|
+
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>>>;
|
|
2550
|
+
choices: 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>>>;
|
|
2551
|
+
priceOverrides: z.ZodArray<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>>>;
|
|
2552
|
+
variantOverrides: z.ZodArray<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>>>;
|
|
2553
2553
|
createdAt: z.ZodString;
|
|
2554
2554
|
updatedAt: z.ZodString;
|
|
2555
2555
|
}, z.core.$strip>>;
|
|
@@ -2576,18 +2576,18 @@ declare class GetMenuItemModifiersFromPointOfSale extends AbstractApiRequest<typ
|
|
|
2576
2576
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
2577
2577
|
text: z.ZodNonOptional<z.ZodString>;
|
|
2578
2578
|
}, z.core.$strip>>;
|
|
2579
|
-
description: z.
|
|
2579
|
+
description: z.ZodArray<z.ZodObject<{
|
|
2580
2580
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
2581
2581
|
text: z.ZodNonOptional<z.ZodString>;
|
|
2582
|
-
}, z.core.$strip
|
|
2583
|
-
sorting: z.
|
|
2584
|
-
minSelection: z.
|
|
2585
|
-
maxSelection: z.
|
|
2586
|
-
repeatable: z.
|
|
2587
|
-
items: z.
|
|
2588
|
-
choices: z.
|
|
2589
|
-
priceOverrides: z.
|
|
2590
|
-
variantOverrides: z.
|
|
2582
|
+
}, z.core.$strip>>;
|
|
2583
|
+
sorting: z.ZodCoercedNumber<unknown>;
|
|
2584
|
+
minSelection: z.ZodCoercedNumber<unknown>;
|
|
2585
|
+
maxSelection: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
2586
|
+
repeatable: z.ZodBoolean;
|
|
2587
|
+
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>>>;
|
|
2588
|
+
choices: 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>>>;
|
|
2589
|
+
priceOverrides: z.ZodArray<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>>>;
|
|
2590
|
+
variantOverrides: z.ZodArray<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>>>;
|
|
2591
2591
|
createdAt: z.ZodString;
|
|
2592
2592
|
updatedAt: z.ZodString;
|
|
2593
2593
|
}, z.core.$strip>>;
|
|
@@ -2640,16 +2640,16 @@ declare const updateMenuItemModifierInputSchema: z.ZodObject<{
|
|
|
2640
2640
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
2641
2641
|
text: z.ZodNonOptional<z.ZodString>;
|
|
2642
2642
|
}, z.core.$strip>>>;
|
|
2643
|
-
description: z.ZodOptional<z.
|
|
2643
|
+
description: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2644
2644
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
2645
2645
|
text: z.ZodNonOptional<z.ZodString>;
|
|
2646
|
-
}, z.core.$strip
|
|
2647
|
-
sorting: z.ZodOptional<z.
|
|
2648
|
-
items: z.ZodOptional<z.
|
|
2649
|
-
minSelection: z.ZodOptional<z.
|
|
2650
|
-
maxSelection: z.ZodOptional<z.
|
|
2651
|
-
repeatable: z.ZodOptional<z.
|
|
2652
|
-
choices: z.ZodOptional<z.
|
|
2646
|
+
}, z.core.$strip>>>;
|
|
2647
|
+
sorting: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
2648
|
+
items: z.ZodOptional<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>>>>;
|
|
2649
|
+
minSelection: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
2650
|
+
maxSelection: z.ZodOptional<z.ZodNullable<z.ZodCoercedNumber<unknown>>>;
|
|
2651
|
+
repeatable: z.ZodOptional<z.ZodBoolean>;
|
|
2652
|
+
choices: z.ZodOptional<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>>>>;
|
|
2653
2653
|
}, z.core.$strip>;
|
|
2654
2654
|
type UpdateMenuItemModifierInput = z.input<typeof updateMenuItemModifierInputSchema>;
|
|
2655
2655
|
declare const updateMenuItemModifierResponseSchema: z.ZodObject<{
|
|
@@ -2659,18 +2659,18 @@ declare const updateMenuItemModifierResponseSchema: z.ZodObject<{
|
|
|
2659
2659
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
2660
2660
|
text: z.ZodNonOptional<z.ZodString>;
|
|
2661
2661
|
}, z.core.$strip>>;
|
|
2662
|
-
description: z.
|
|
2662
|
+
description: z.ZodArray<z.ZodObject<{
|
|
2663
2663
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
2664
2664
|
text: z.ZodNonOptional<z.ZodString>;
|
|
2665
|
-
}, z.core.$strip
|
|
2666
|
-
sorting: z.
|
|
2667
|
-
minSelection: z.
|
|
2668
|
-
maxSelection: z.
|
|
2669
|
-
repeatable: z.
|
|
2670
|
-
items: z.
|
|
2671
|
-
choices: z.
|
|
2672
|
-
priceOverrides: z.
|
|
2673
|
-
variantOverrides: z.
|
|
2665
|
+
}, z.core.$strip>>;
|
|
2666
|
+
sorting: z.ZodCoercedNumber<unknown>;
|
|
2667
|
+
minSelection: z.ZodCoercedNumber<unknown>;
|
|
2668
|
+
maxSelection: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
2669
|
+
repeatable: z.ZodBoolean;
|
|
2670
|
+
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>>>;
|
|
2671
|
+
choices: 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>>>;
|
|
2672
|
+
priceOverrides: z.ZodArray<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>>>;
|
|
2673
|
+
variantOverrides: z.ZodArray<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>>>;
|
|
2674
2674
|
createdAt: z.ZodString;
|
|
2675
2675
|
updatedAt: z.ZodString;
|
|
2676
2676
|
}, z.core.$strip>;
|
|
@@ -2684,16 +2684,16 @@ declare class UpdateMenuItemModifier extends AbstractApiRequest<typeof updateMen
|
|
|
2684
2684
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
2685
2685
|
text: z.ZodNonOptional<z.ZodString>;
|
|
2686
2686
|
}, z.core.$strip>>>;
|
|
2687
|
-
description: z.ZodOptional<z.
|
|
2687
|
+
description: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2688
2688
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
2689
2689
|
text: z.ZodNonOptional<z.ZodString>;
|
|
2690
|
-
}, z.core.$strip
|
|
2691
|
-
sorting: z.ZodOptional<z.
|
|
2692
|
-
items: z.ZodOptional<z.
|
|
2693
|
-
minSelection: z.ZodOptional<z.
|
|
2694
|
-
maxSelection: z.ZodOptional<z.
|
|
2695
|
-
repeatable: z.ZodOptional<z.
|
|
2696
|
-
choices: z.ZodOptional<z.
|
|
2690
|
+
}, z.core.$strip>>>;
|
|
2691
|
+
sorting: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
2692
|
+
items: z.ZodOptional<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>>>>;
|
|
2693
|
+
minSelection: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
2694
|
+
maxSelection: z.ZodOptional<z.ZodNullable<z.ZodCoercedNumber<unknown>>>;
|
|
2695
|
+
repeatable: z.ZodOptional<z.ZodBoolean>;
|
|
2696
|
+
choices: z.ZodOptional<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>>>>;
|
|
2697
2697
|
}, z.core.$strip>;
|
|
2698
2698
|
readonly outputSchema: z.ZodObject<{
|
|
2699
2699
|
id: z.ZodString;
|
|
@@ -2702,18 +2702,18 @@ declare class UpdateMenuItemModifier extends AbstractApiRequest<typeof updateMen
|
|
|
2702
2702
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
2703
2703
|
text: z.ZodNonOptional<z.ZodString>;
|
|
2704
2704
|
}, z.core.$strip>>;
|
|
2705
|
-
description: z.
|
|
2705
|
+
description: z.ZodArray<z.ZodObject<{
|
|
2706
2706
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
2707
2707
|
text: z.ZodNonOptional<z.ZodString>;
|
|
2708
|
-
}, z.core.$strip
|
|
2709
|
-
sorting: z.
|
|
2710
|
-
minSelection: z.
|
|
2711
|
-
maxSelection: z.
|
|
2712
|
-
repeatable: z.
|
|
2713
|
-
items: z.
|
|
2714
|
-
choices: z.
|
|
2715
|
-
priceOverrides: z.
|
|
2716
|
-
variantOverrides: z.
|
|
2708
|
+
}, z.core.$strip>>;
|
|
2709
|
+
sorting: z.ZodCoercedNumber<unknown>;
|
|
2710
|
+
minSelection: z.ZodCoercedNumber<unknown>;
|
|
2711
|
+
maxSelection: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
2712
|
+
repeatable: z.ZodBoolean;
|
|
2713
|
+
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>>>;
|
|
2714
|
+
choices: 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>>>;
|
|
2715
|
+
priceOverrides: z.ZodArray<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>>>;
|
|
2716
|
+
variantOverrides: z.ZodArray<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>>>;
|
|
2717
2717
|
createdAt: z.ZodString;
|
|
2718
2718
|
updatedAt: z.ZodString;
|
|
2719
2719
|
}, z.core.$strip>;
|
|
@@ -2754,13 +2754,13 @@ declare const createMenuItemPriceOverrideResponseSchema: z.ZodIntersection<z.Zod
|
|
|
2754
2754
|
fromModifier: 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>>;
|
|
2755
2755
|
}, z.core.$strip>]>, z.ZodObject<{
|
|
2756
2756
|
id: z.ZodString;
|
|
2757
|
-
price: z.
|
|
2757
|
+
price: z.ZodString;
|
|
2758
2758
|
referenceItem: 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>>;
|
|
2759
|
-
suspended: z.
|
|
2760
|
-
salesPrices: z.
|
|
2759
|
+
suspended: z.ZodBoolean;
|
|
2760
|
+
salesPrices: z.ZodArray<z.ZodObject<{
|
|
2761
2761
|
salesMode: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id">, unknown>>;
|
|
2762
2762
|
price: z.ZodDefault<z.ZodString>;
|
|
2763
|
-
}, z.core.$strip
|
|
2763
|
+
}, z.core.$strip>>;
|
|
2764
2764
|
createdAt: z.ZodString;
|
|
2765
2765
|
updatedAt: z.ZodString;
|
|
2766
2766
|
}, z.core.$strip>>;
|
|
@@ -2798,13 +2798,13 @@ declare class CreateMenuItemPriceOverride extends AbstractApiRequest<typeof crea
|
|
|
2798
2798
|
fromModifier: 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>>;
|
|
2799
2799
|
}, z.core.$strip>]>, z.ZodObject<{
|
|
2800
2800
|
id: z.ZodString;
|
|
2801
|
-
price: z.
|
|
2801
|
+
price: z.ZodString;
|
|
2802
2802
|
referenceItem: 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>>;
|
|
2803
|
-
suspended: z.
|
|
2804
|
-
salesPrices: z.
|
|
2803
|
+
suspended: z.ZodBoolean;
|
|
2804
|
+
salesPrices: z.ZodArray<z.ZodObject<{
|
|
2805
2805
|
salesMode: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id">, unknown>>;
|
|
2806
2806
|
price: z.ZodDefault<z.ZodString>;
|
|
2807
|
-
}, z.core.$strip
|
|
2807
|
+
}, z.core.$strip>>;
|
|
2808
2808
|
createdAt: z.ZodString;
|
|
2809
2809
|
updatedAt: z.ZodString;
|
|
2810
2810
|
}, z.core.$strip>>;
|
|
@@ -2842,13 +2842,13 @@ declare const getMenuItemPriceOverrideDetailsResponseSchema: z.ZodIntersection<z
|
|
|
2842
2842
|
fromModifier: 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>>;
|
|
2843
2843
|
}, z.core.$strip>]>, z.ZodObject<{
|
|
2844
2844
|
id: z.ZodString;
|
|
2845
|
-
price: z.
|
|
2845
|
+
price: z.ZodString;
|
|
2846
2846
|
referenceItem: 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>>;
|
|
2847
|
-
suspended: z.
|
|
2848
|
-
salesPrices: z.
|
|
2847
|
+
suspended: z.ZodBoolean;
|
|
2848
|
+
salesPrices: z.ZodArray<z.ZodObject<{
|
|
2849
2849
|
salesMode: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id">, unknown>>;
|
|
2850
2850
|
price: z.ZodDefault<z.ZodString>;
|
|
2851
|
-
}, z.core.$strip
|
|
2851
|
+
}, z.core.$strip>>;
|
|
2852
2852
|
createdAt: z.ZodString;
|
|
2853
2853
|
updatedAt: z.ZodString;
|
|
2854
2854
|
}, z.core.$strip>>;
|
|
@@ -2869,13 +2869,13 @@ declare class GetMenuItemPriceOverrideDetails extends AbstractApiRequest<typeof
|
|
|
2869
2869
|
fromModifier: 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>>;
|
|
2870
2870
|
}, z.core.$strip>]>, z.ZodObject<{
|
|
2871
2871
|
id: z.ZodString;
|
|
2872
|
-
price: z.
|
|
2872
|
+
price: z.ZodString;
|
|
2873
2873
|
referenceItem: 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>>;
|
|
2874
|
-
suspended: z.
|
|
2875
|
-
salesPrices: z.
|
|
2874
|
+
suspended: z.ZodBoolean;
|
|
2875
|
+
salesPrices: z.ZodArray<z.ZodObject<{
|
|
2876
2876
|
salesMode: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id">, unknown>>;
|
|
2877
2877
|
price: z.ZodDefault<z.ZodString>;
|
|
2878
|
-
}, z.core.$strip
|
|
2878
|
+
}, z.core.$strip>>;
|
|
2879
2879
|
createdAt: z.ZodString;
|
|
2880
2880
|
updatedAt: z.ZodString;
|
|
2881
2881
|
}, z.core.$strip>>;
|
|
@@ -2933,13 +2933,13 @@ declare const getMenuItemPriceOverridesResponseSchema: z.ZodObject<{
|
|
|
2933
2933
|
fromModifier: 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>>;
|
|
2934
2934
|
}, z.core.$strip>]>, z.ZodObject<{
|
|
2935
2935
|
id: z.ZodString;
|
|
2936
|
-
price: z.
|
|
2936
|
+
price: z.ZodString;
|
|
2937
2937
|
referenceItem: 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>>;
|
|
2938
|
-
suspended: z.
|
|
2939
|
-
salesPrices: z.
|
|
2938
|
+
suspended: z.ZodBoolean;
|
|
2939
|
+
salesPrices: z.ZodArray<z.ZodObject<{
|
|
2940
2940
|
salesMode: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id">, unknown>>;
|
|
2941
2941
|
price: z.ZodDefault<z.ZodString>;
|
|
2942
|
-
}, z.core.$strip
|
|
2942
|
+
}, z.core.$strip>>;
|
|
2943
2943
|
createdAt: z.ZodString;
|
|
2944
2944
|
updatedAt: z.ZodString;
|
|
2945
2945
|
}, z.core.$strip>>>;
|
|
@@ -2970,13 +2970,13 @@ declare class GetMenuItemPriceOverrides extends AbstractApiRequest<typeof getMen
|
|
|
2970
2970
|
fromModifier: 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>>;
|
|
2971
2971
|
}, z.core.$strip>]>, z.ZodObject<{
|
|
2972
2972
|
id: z.ZodString;
|
|
2973
|
-
price: z.
|
|
2973
|
+
price: z.ZodString;
|
|
2974
2974
|
referenceItem: 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>>;
|
|
2975
|
-
suspended: z.
|
|
2976
|
-
salesPrices: z.
|
|
2975
|
+
suspended: z.ZodBoolean;
|
|
2976
|
+
salesPrices: z.ZodArray<z.ZodObject<{
|
|
2977
2977
|
salesMode: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id">, unknown>>;
|
|
2978
2978
|
price: z.ZodDefault<z.ZodString>;
|
|
2979
|
-
}, z.core.$strip
|
|
2979
|
+
}, z.core.$strip>>;
|
|
2980
2980
|
createdAt: z.ZodString;
|
|
2981
2981
|
updatedAt: z.ZodString;
|
|
2982
2982
|
}, z.core.$strip>>>;
|
|
@@ -3029,26 +3029,42 @@ declare class GetMenuItemPriceOverrides extends AbstractApiRequest<typeof getMen
|
|
|
3029
3029
|
parseResponse(data: unknown, rawResponse: Response): Paginated<MenuItemPriceOverride>;
|
|
3030
3030
|
}
|
|
3031
3031
|
|
|
3032
|
-
declare const
|
|
3033
|
-
|
|
3034
|
-
|
|
3035
|
-
|
|
3036
|
-
|
|
3037
|
-
}
|
|
3038
|
-
|
|
3039
|
-
|
|
3040
|
-
|
|
3041
|
-
|
|
3042
|
-
price: z.ZodOptional<z.
|
|
3043
|
-
|
|
3044
|
-
|
|
3045
|
-
|
|
3046
|
-
|
|
3047
|
-
|
|
3048
|
-
|
|
3049
|
-
}
|
|
3050
|
-
|
|
3051
|
-
|
|
3032
|
+
declare const getMenuItemPriceOverridesAsVariantOverridesFromMenuItemModifierQuerySchema: z.ZodObject<{
|
|
3033
|
+
suspended: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
3034
|
+
type: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
3035
|
+
ITEM: "ITEM";
|
|
3036
|
+
MODIFIER: "MODIFIER";
|
|
3037
|
+
}>, z.ZodArray<z.ZodEnum<{
|
|
3038
|
+
ITEM: "ITEM";
|
|
3039
|
+
MODIFIER: "MODIFIER";
|
|
3040
|
+
}>>]>>;
|
|
3041
|
+
'price[between]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
3042
|
+
'price[gt]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
3043
|
+
'price[gte]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
3044
|
+
'price[lt]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
3045
|
+
'price[lte]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
3046
|
+
'order[createdAt]': z.ZodOptional<z.ZodEnum<{
|
|
3047
|
+
asc: "asc";
|
|
3048
|
+
desc: "desc";
|
|
3049
|
+
}>>;
|
|
3050
|
+
'order[price]': z.ZodOptional<z.ZodEnum<{
|
|
3051
|
+
asc: "asc";
|
|
3052
|
+
desc: "desc";
|
|
3053
|
+
}>>;
|
|
3054
|
+
page: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
3055
|
+
'createdAt[before]': z.ZodOptional<z.ZodString>;
|
|
3056
|
+
'createdAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
3057
|
+
'createdAt[after]': z.ZodOptional<z.ZodString>;
|
|
3058
|
+
'createdAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
3059
|
+
'updatedAt[before]': z.ZodOptional<z.ZodString>;
|
|
3060
|
+
'updatedAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
3061
|
+
'updatedAt[after]': z.ZodOptional<z.ZodString>;
|
|
3062
|
+
'updatedAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
3063
|
+
}, z.core.$strip>;
|
|
3064
|
+
type GetMenuItemPriceOverridesAsVariantOverridesFromMenuItemModifierQueryParams = z.infer<typeof getMenuItemPriceOverridesAsVariantOverridesFromMenuItemModifierQuerySchema>;
|
|
3065
|
+
declare const getMenuItemPriceOverridesAsVariantOverridesFromMenuItemModifierInputSchema: z.ZodUndefined;
|
|
3066
|
+
type GetMenuItemPriceOverridesAsVariantOverridesFromMenuItemModifierInput = z.input<typeof getMenuItemPriceOverridesAsVariantOverridesFromMenuItemModifierInputSchema>;
|
|
3067
|
+
declare const getMenuItemPriceOverridesAsVariantOverridesFromMenuItemModifierResponseSchema: z.ZodArray<z.ZodIntersection<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3052
3068
|
type: z.ZodLiteral<"ITEM">;
|
|
3053
3069
|
fromItem: 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>>;
|
|
3054
3070
|
fromModifier: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -3059,22 +3075,23 @@ declare const updateMenuItemPriceOverrideResponseSchema: z.ZodIntersection<z.Zod
|
|
|
3059
3075
|
fromModifier: 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>>;
|
|
3060
3076
|
}, z.core.$strip>]>, z.ZodObject<{
|
|
3061
3077
|
id: z.ZodString;
|
|
3062
|
-
price: z.
|
|
3078
|
+
price: z.ZodString;
|
|
3063
3079
|
referenceItem: 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>>;
|
|
3064
|
-
suspended: z.
|
|
3065
|
-
salesPrices: z.
|
|
3080
|
+
suspended: z.ZodBoolean;
|
|
3081
|
+
salesPrices: z.ZodArray<z.ZodObject<{
|
|
3066
3082
|
salesMode: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id">, unknown>>;
|
|
3067
3083
|
price: z.ZodDefault<z.ZodString>;
|
|
3068
|
-
}, z.core.$strip
|
|
3084
|
+
}, z.core.$strip>>;
|
|
3069
3085
|
createdAt: z.ZodString;
|
|
3070
3086
|
updatedAt: z.ZodString;
|
|
3071
|
-
}, z.core.$strip
|
|
3072
|
-
type
|
|
3073
|
-
declare class
|
|
3074
|
-
readonly method = "
|
|
3075
|
-
readonly contentType = "application/
|
|
3087
|
+
}, z.core.$strip>>>;
|
|
3088
|
+
type GetMenuItemPriceOverridesAsVariantOverridesFromMenuItemModifierResponse = z.infer<typeof getMenuItemPriceOverridesAsVariantOverridesFromMenuItemModifierResponseSchema>;
|
|
3089
|
+
declare class GetMenuItemPriceOverridesAsVariantOverridesFromMenuItemModifier extends AbstractApiRequest<typeof getMenuItemPriceOverridesAsVariantOverridesFromMenuItemModifierInputSchema, typeof getMenuItemPriceOverridesAsVariantOverridesFromMenuItemModifierResponseSchema, GetMenuItemPriceOverridesAsVariantOverridesFromMenuItemModifierQueryParams> {
|
|
3090
|
+
readonly method = "GET";
|
|
3091
|
+
readonly contentType = "application/json";
|
|
3076
3092
|
readonly accept = "application/json";
|
|
3077
|
-
readonly inputSchema: z.
|
|
3093
|
+
readonly inputSchema: z.ZodUndefined;
|
|
3094
|
+
readonly outputSchema: z.ZodArray<z.ZodIntersection<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3078
3095
|
type: z.ZodLiteral<"ITEM">;
|
|
3079
3096
|
fromItem: 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>>;
|
|
3080
3097
|
fromModifier: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -3084,10 +3101,241 @@ declare class UpdateMenuItemPriceOverride extends AbstractApiRequest<typeof upda
|
|
|
3084
3101
|
fromItem: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3085
3102
|
fromModifier: 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>>;
|
|
3086
3103
|
}, z.core.$strip>]>, z.ZodObject<{
|
|
3087
|
-
|
|
3088
|
-
|
|
3089
|
-
|
|
3090
|
-
|
|
3104
|
+
id: z.ZodString;
|
|
3105
|
+
price: z.ZodString;
|
|
3106
|
+
referenceItem: 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>>;
|
|
3107
|
+
suspended: z.ZodBoolean;
|
|
3108
|
+
salesPrices: z.ZodArray<z.ZodObject<{
|
|
3109
|
+
salesMode: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id">, unknown>>;
|
|
3110
|
+
price: z.ZodDefault<z.ZodString>;
|
|
3111
|
+
}, z.core.$strip>>;
|
|
3112
|
+
createdAt: z.ZodString;
|
|
3113
|
+
updatedAt: z.ZodString;
|
|
3114
|
+
}, z.core.$strip>>>;
|
|
3115
|
+
readonly querySchema: z.ZodObject<{
|
|
3116
|
+
suspended: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
3117
|
+
type: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
3118
|
+
ITEM: "ITEM";
|
|
3119
|
+
MODIFIER: "MODIFIER";
|
|
3120
|
+
}>, z.ZodArray<z.ZodEnum<{
|
|
3121
|
+
ITEM: "ITEM";
|
|
3122
|
+
MODIFIER: "MODIFIER";
|
|
3123
|
+
}>>]>>;
|
|
3124
|
+
'price[between]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
3125
|
+
'price[gt]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
3126
|
+
'price[gte]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
3127
|
+
'price[lt]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
3128
|
+
'price[lte]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
3129
|
+
'order[createdAt]': z.ZodOptional<z.ZodEnum<{
|
|
3130
|
+
asc: "asc";
|
|
3131
|
+
desc: "desc";
|
|
3132
|
+
}>>;
|
|
3133
|
+
'order[price]': z.ZodOptional<z.ZodEnum<{
|
|
3134
|
+
asc: "asc";
|
|
3135
|
+
desc: "desc";
|
|
3136
|
+
}>>;
|
|
3137
|
+
page: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
3138
|
+
'createdAt[before]': z.ZodOptional<z.ZodString>;
|
|
3139
|
+
'createdAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
3140
|
+
'createdAt[after]': z.ZodOptional<z.ZodString>;
|
|
3141
|
+
'createdAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
3142
|
+
'updatedAt[before]': z.ZodOptional<z.ZodString>;
|
|
3143
|
+
'updatedAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
3144
|
+
'updatedAt[after]': z.ZodOptional<z.ZodString>;
|
|
3145
|
+
'updatedAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
3146
|
+
}, z.core.$strip>;
|
|
3147
|
+
readonly headersSchema: undefined;
|
|
3148
|
+
private readonly menuItemModifierId;
|
|
3149
|
+
constructor(menuItemModifierId: string, options?: {
|
|
3150
|
+
query?: GetMenuItemPriceOverridesAsVariantOverridesFromMenuItemModifierQueryParams;
|
|
3151
|
+
});
|
|
3152
|
+
getPath(): string;
|
|
3153
|
+
parseResponse(data: unknown): MenuItemPriceOverride[];
|
|
3154
|
+
}
|
|
3155
|
+
|
|
3156
|
+
declare const getMenuItemPriceOverridesFromMenuItemModifierQuerySchema: z.ZodObject<{
|
|
3157
|
+
suspended: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
3158
|
+
type: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
3159
|
+
ITEM: "ITEM";
|
|
3160
|
+
MODIFIER: "MODIFIER";
|
|
3161
|
+
}>, z.ZodArray<z.ZodEnum<{
|
|
3162
|
+
ITEM: "ITEM";
|
|
3163
|
+
MODIFIER: "MODIFIER";
|
|
3164
|
+
}>>]>>;
|
|
3165
|
+
'price[between]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
3166
|
+
'price[gt]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
3167
|
+
'price[gte]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
3168
|
+
'price[lt]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
3169
|
+
'price[lte]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
3170
|
+
'order[createdAt]': z.ZodOptional<z.ZodEnum<{
|
|
3171
|
+
asc: "asc";
|
|
3172
|
+
desc: "desc";
|
|
3173
|
+
}>>;
|
|
3174
|
+
'order[price]': z.ZodOptional<z.ZodEnum<{
|
|
3175
|
+
asc: "asc";
|
|
3176
|
+
desc: "desc";
|
|
3177
|
+
}>>;
|
|
3178
|
+
page: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
3179
|
+
'createdAt[before]': z.ZodOptional<z.ZodString>;
|
|
3180
|
+
'createdAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
3181
|
+
'createdAt[after]': z.ZodOptional<z.ZodString>;
|
|
3182
|
+
'createdAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
3183
|
+
'updatedAt[before]': z.ZodOptional<z.ZodString>;
|
|
3184
|
+
'updatedAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
3185
|
+
'updatedAt[after]': z.ZodOptional<z.ZodString>;
|
|
3186
|
+
'updatedAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
3187
|
+
}, z.core.$strip>;
|
|
3188
|
+
type GetMenuItemPriceOverridesFromMenuItemModifierQueryParams = z.infer<typeof getMenuItemPriceOverridesFromMenuItemModifierQuerySchema>;
|
|
3189
|
+
declare const getMenuItemPriceOverridesFromMenuItemModifierInputSchema: z.ZodUndefined;
|
|
3190
|
+
type GetMenuItemPriceOverridesFromMenuItemModifierInput = z.input<typeof getMenuItemPriceOverridesFromMenuItemModifierInputSchema>;
|
|
3191
|
+
declare const getMenuItemPriceOverridesFromMenuItemModifierResponseSchema: z.ZodArray<z.ZodIntersection<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3192
|
+
type: z.ZodLiteral<"ITEM">;
|
|
3193
|
+
fromItem: 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>>;
|
|
3194
|
+
fromModifier: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3195
|
+
inModifier: 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>>;
|
|
3196
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3197
|
+
type: z.ZodLiteral<"MODIFIER">;
|
|
3198
|
+
fromItem: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3199
|
+
fromModifier: 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>>;
|
|
3200
|
+
}, z.core.$strip>]>, z.ZodObject<{
|
|
3201
|
+
id: z.ZodString;
|
|
3202
|
+
price: z.ZodString;
|
|
3203
|
+
referenceItem: 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>>;
|
|
3204
|
+
suspended: z.ZodBoolean;
|
|
3205
|
+
salesPrices: z.ZodArray<z.ZodObject<{
|
|
3206
|
+
salesMode: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id">, unknown>>;
|
|
3207
|
+
price: z.ZodDefault<z.ZodString>;
|
|
3208
|
+
}, z.core.$strip>>;
|
|
3209
|
+
createdAt: z.ZodString;
|
|
3210
|
+
updatedAt: z.ZodString;
|
|
3211
|
+
}, z.core.$strip>>>;
|
|
3212
|
+
type GetMenuItemPriceOverridesFromMenuItemModifierResponse = z.infer<typeof getMenuItemPriceOverridesFromMenuItemModifierResponseSchema>;
|
|
3213
|
+
declare class GetMenuItemPriceOverridesFromMenuItemModifier extends AbstractApiRequest<typeof getMenuItemPriceOverridesFromMenuItemModifierInputSchema, typeof getMenuItemPriceOverridesFromMenuItemModifierResponseSchema, GetMenuItemPriceOverridesFromMenuItemModifierQueryParams> {
|
|
3214
|
+
readonly method = "GET";
|
|
3215
|
+
readonly contentType = "application/json";
|
|
3216
|
+
readonly accept = "application/json";
|
|
3217
|
+
readonly inputSchema: z.ZodUndefined;
|
|
3218
|
+
readonly outputSchema: z.ZodArray<z.ZodIntersection<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3219
|
+
type: z.ZodLiteral<"ITEM">;
|
|
3220
|
+
fromItem: 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>>;
|
|
3221
|
+
fromModifier: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3222
|
+
inModifier: 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>>;
|
|
3223
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3224
|
+
type: z.ZodLiteral<"MODIFIER">;
|
|
3225
|
+
fromItem: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3226
|
+
fromModifier: 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>>;
|
|
3227
|
+
}, z.core.$strip>]>, z.ZodObject<{
|
|
3228
|
+
id: z.ZodString;
|
|
3229
|
+
price: z.ZodString;
|
|
3230
|
+
referenceItem: 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>>;
|
|
3231
|
+
suspended: z.ZodBoolean;
|
|
3232
|
+
salesPrices: z.ZodArray<z.ZodObject<{
|
|
3233
|
+
salesMode: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id">, unknown>>;
|
|
3234
|
+
price: z.ZodDefault<z.ZodString>;
|
|
3235
|
+
}, z.core.$strip>>;
|
|
3236
|
+
createdAt: z.ZodString;
|
|
3237
|
+
updatedAt: z.ZodString;
|
|
3238
|
+
}, z.core.$strip>>>;
|
|
3239
|
+
readonly querySchema: z.ZodObject<{
|
|
3240
|
+
suspended: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
3241
|
+
type: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
3242
|
+
ITEM: "ITEM";
|
|
3243
|
+
MODIFIER: "MODIFIER";
|
|
3244
|
+
}>, z.ZodArray<z.ZodEnum<{
|
|
3245
|
+
ITEM: "ITEM";
|
|
3246
|
+
MODIFIER: "MODIFIER";
|
|
3247
|
+
}>>]>>;
|
|
3248
|
+
'price[between]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
3249
|
+
'price[gt]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
3250
|
+
'price[gte]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
3251
|
+
'price[lt]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
3252
|
+
'price[lte]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
3253
|
+
'order[createdAt]': z.ZodOptional<z.ZodEnum<{
|
|
3254
|
+
asc: "asc";
|
|
3255
|
+
desc: "desc";
|
|
3256
|
+
}>>;
|
|
3257
|
+
'order[price]': z.ZodOptional<z.ZodEnum<{
|
|
3258
|
+
asc: "asc";
|
|
3259
|
+
desc: "desc";
|
|
3260
|
+
}>>;
|
|
3261
|
+
page: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
3262
|
+
'createdAt[before]': z.ZodOptional<z.ZodString>;
|
|
3263
|
+
'createdAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
3264
|
+
'createdAt[after]': z.ZodOptional<z.ZodString>;
|
|
3265
|
+
'createdAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
3266
|
+
'updatedAt[before]': z.ZodOptional<z.ZodString>;
|
|
3267
|
+
'updatedAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
3268
|
+
'updatedAt[after]': z.ZodOptional<z.ZodString>;
|
|
3269
|
+
'updatedAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
3270
|
+
}, z.core.$strip>;
|
|
3271
|
+
readonly headersSchema: undefined;
|
|
3272
|
+
private readonly menuItemModifierId;
|
|
3273
|
+
constructor(menuItemModifierId: string, options?: {
|
|
3274
|
+
query?: GetMenuItemPriceOverridesFromMenuItemModifierQueryParams;
|
|
3275
|
+
});
|
|
3276
|
+
getPath(): string;
|
|
3277
|
+
parseResponse(data: unknown): MenuItemPriceOverride[];
|
|
3278
|
+
}
|
|
3279
|
+
|
|
3280
|
+
declare const updateMenuItemPriceOverrideInputSchema: z.ZodIntersection<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3281
|
+
type: z.ZodLiteral<"ITEM">;
|
|
3282
|
+
fromItem: 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>>;
|
|
3283
|
+
fromModifier: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3284
|
+
inModifier: 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>>;
|
|
3285
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3286
|
+
type: z.ZodLiteral<"MODIFIER">;
|
|
3287
|
+
fromItem: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3288
|
+
fromModifier: 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>>;
|
|
3289
|
+
}, z.core.$strip>]>, z.ZodObject<{
|
|
3290
|
+
price: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
3291
|
+
referenceItem: z.ZodOptional<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>>>;
|
|
3292
|
+
suspended: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
3293
|
+
salesPrices: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
3294
|
+
salesMode: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id">, unknown>>;
|
|
3295
|
+
price: z.ZodDefault<z.ZodString>;
|
|
3296
|
+
}, z.core.$strip>>>>;
|
|
3297
|
+
}, z.core.$strip>>;
|
|
3298
|
+
type UpdateMenuItemPriceOverrideInput = z.input<typeof updateMenuItemPriceOverrideInputSchema>;
|
|
3299
|
+
declare const updateMenuItemPriceOverrideResponseSchema: z.ZodIntersection<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3300
|
+
type: z.ZodLiteral<"ITEM">;
|
|
3301
|
+
fromItem: 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>>;
|
|
3302
|
+
fromModifier: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3303
|
+
inModifier: 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>>;
|
|
3304
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3305
|
+
type: z.ZodLiteral<"MODIFIER">;
|
|
3306
|
+
fromItem: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3307
|
+
fromModifier: 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>>;
|
|
3308
|
+
}, z.core.$strip>]>, z.ZodObject<{
|
|
3309
|
+
id: z.ZodString;
|
|
3310
|
+
price: z.ZodString;
|
|
3311
|
+
referenceItem: 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>>;
|
|
3312
|
+
suspended: z.ZodBoolean;
|
|
3313
|
+
salesPrices: z.ZodArray<z.ZodObject<{
|
|
3314
|
+
salesMode: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id">, unknown>>;
|
|
3315
|
+
price: z.ZodDefault<z.ZodString>;
|
|
3316
|
+
}, z.core.$strip>>;
|
|
3317
|
+
createdAt: z.ZodString;
|
|
3318
|
+
updatedAt: z.ZodString;
|
|
3319
|
+
}, z.core.$strip>>;
|
|
3320
|
+
type UpdateMenuItemPriceOverrideResponse = z.infer<typeof updateMenuItemPriceOverrideResponseSchema>;
|
|
3321
|
+
declare class UpdateMenuItemPriceOverride extends AbstractApiRequest<typeof updateMenuItemPriceOverrideInputSchema, typeof updateMenuItemPriceOverrideResponseSchema> {
|
|
3322
|
+
readonly method = "PATCH";
|
|
3323
|
+
readonly contentType = "application/merge-patch+json";
|
|
3324
|
+
readonly accept = "application/json";
|
|
3325
|
+
readonly inputSchema: z.ZodIntersection<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3326
|
+
type: z.ZodLiteral<"ITEM">;
|
|
3327
|
+
fromItem: 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>>;
|
|
3328
|
+
fromModifier: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3329
|
+
inModifier: 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>>;
|
|
3330
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3331
|
+
type: z.ZodLiteral<"MODIFIER">;
|
|
3332
|
+
fromItem: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3333
|
+
fromModifier: 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>>;
|
|
3334
|
+
}, z.core.$strip>]>, z.ZodObject<{
|
|
3335
|
+
price: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
3336
|
+
referenceItem: z.ZodOptional<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>>>;
|
|
3337
|
+
suspended: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
3338
|
+
salesPrices: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
3091
3339
|
salesMode: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id">, unknown>>;
|
|
3092
3340
|
price: z.ZodDefault<z.ZodString>;
|
|
3093
3341
|
}, z.core.$strip>>>>;
|
|
@@ -3103,13 +3351,13 @@ declare class UpdateMenuItemPriceOverride extends AbstractApiRequest<typeof upda
|
|
|
3103
3351
|
fromModifier: 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>>;
|
|
3104
3352
|
}, z.core.$strip>]>, z.ZodObject<{
|
|
3105
3353
|
id: z.ZodString;
|
|
3106
|
-
price: z.
|
|
3354
|
+
price: z.ZodString;
|
|
3107
3355
|
referenceItem: 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>>;
|
|
3108
|
-
suspended: z.
|
|
3109
|
-
salesPrices: z.
|
|
3356
|
+
suspended: z.ZodBoolean;
|
|
3357
|
+
salesPrices: z.ZodArray<z.ZodObject<{
|
|
3110
3358
|
salesMode: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id">, unknown>>;
|
|
3111
3359
|
price: z.ZodDefault<z.ZodString>;
|
|
3112
|
-
}, z.core.$strip
|
|
3360
|
+
}, z.core.$strip>>;
|
|
3113
3361
|
createdAt: z.ZodString;
|
|
3114
3362
|
updatedAt: z.ZodString;
|
|
3115
3363
|
}, z.core.$strip>>;
|
|
@@ -4779,7 +5027,7 @@ declare class GetMenuItems extends AbstractApiRequest<typeof getMenuItemsInputSc
|
|
|
4779
5027
|
parseResponse(data: unknown, rawResponse: Response): Paginated<MenuItem>;
|
|
4780
5028
|
}
|
|
4781
5029
|
|
|
4782
|
-
declare const
|
|
5030
|
+
declare const getMenuItemsAsChoicesFromMenuItemModifierQuerySchema: z.ZodObject<{
|
|
4783
5031
|
countable: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
4784
5032
|
soldIndividually: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
4785
5033
|
containsAlcohol: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
@@ -4829,38 +5077,1424 @@ declare const getMenuItemsFromMenuItemCategoryQuerySchema: z.ZodObject<{
|
|
|
4829
5077
|
'updatedAt[after]': z.ZodOptional<z.ZodString>;
|
|
4830
5078
|
'updatedAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
4831
5079
|
}, z.core.$strip>;
|
|
4832
|
-
type
|
|
4833
|
-
declare const
|
|
4834
|
-
type
|
|
4835
|
-
declare const
|
|
4836
|
-
|
|
4837
|
-
|
|
4838
|
-
|
|
4839
|
-
|
|
4840
|
-
|
|
4841
|
-
|
|
4842
|
-
|
|
4843
|
-
|
|
4844
|
-
|
|
4845
|
-
|
|
4846
|
-
|
|
4847
|
-
|
|
4848
|
-
|
|
4849
|
-
|
|
4850
|
-
|
|
4851
|
-
|
|
4852
|
-
|
|
4853
|
-
|
|
4854
|
-
|
|
4855
|
-
|
|
4856
|
-
|
|
4857
|
-
|
|
4858
|
-
|
|
4859
|
-
|
|
4860
|
-
|
|
4861
|
-
|
|
4862
|
-
|
|
4863
|
-
|
|
5080
|
+
type GetMenuItemsAsChoicesFromMenuItemModifierQueryParams = z.infer<typeof getMenuItemsAsChoicesFromMenuItemModifierQuerySchema>;
|
|
5081
|
+
declare const getMenuItemsAsChoicesFromMenuItemModifierInputSchema: z.ZodUndefined;
|
|
5082
|
+
type GetMenuItemsAsChoicesFromMenuItemModifierInput = z.input<typeof getMenuItemsAsChoicesFromMenuItemModifierInputSchema>;
|
|
5083
|
+
declare const getMenuItemsAsChoicesFromMenuItemModifierResponseSchema: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
5084
|
+
price: z.ZodDefault<z.ZodString>;
|
|
5085
|
+
createdAt: z.ZodString;
|
|
5086
|
+
updatedAt: z.ZodString;
|
|
5087
|
+
id: z.ZodString;
|
|
5088
|
+
channels: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
5089
|
+
application: "application";
|
|
5090
|
+
ecommerce: "ecommerce";
|
|
5091
|
+
deliveroo: "deliveroo";
|
|
5092
|
+
justeat: "justeat";
|
|
5093
|
+
glovo: "glovo";
|
|
5094
|
+
}>>>;
|
|
5095
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
5096
|
+
name: z.ZodArray<z.ZodObject<{
|
|
5097
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
5098
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
5099
|
+
}, z.core.$strip>>;
|
|
5100
|
+
description: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5101
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
5102
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
5103
|
+
}, z.core.$strip>>>;
|
|
5104
|
+
allergens: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
5105
|
+
"peanuts-and-derivatives": "peanuts-and-derivatives";
|
|
5106
|
+
crustaceans: "crustaceans";
|
|
5107
|
+
nuts: "nuts";
|
|
5108
|
+
gluten: "gluten";
|
|
5109
|
+
"milk-and-derivatives": "milk-and-derivatives";
|
|
5110
|
+
lupins: "lupins";
|
|
5111
|
+
molluscs: "molluscs";
|
|
5112
|
+
mustard: "mustard";
|
|
5113
|
+
fish: "fish";
|
|
5114
|
+
celery: "celery";
|
|
5115
|
+
sesame: "sesame";
|
|
5116
|
+
"sulfur-dioxide": "sulfur-dioxide";
|
|
5117
|
+
soy: "soy";
|
|
5118
|
+
"eggs-and-derivatives": "eggs-and-derivatives";
|
|
5119
|
+
mushrooms: "mushrooms";
|
|
5120
|
+
}>>>;
|
|
5121
|
+
diets: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
5122
|
+
vegan: "vegan";
|
|
5123
|
+
vegetarian: "vegetarian";
|
|
5124
|
+
"gluten-free": "gluten-free";
|
|
5125
|
+
"dairy-free": "dairy-free";
|
|
5126
|
+
}>>>;
|
|
5127
|
+
taxRate: z.ZodCoercedNumber<unknown>;
|
|
5128
|
+
containsAlcohol: z.ZodDefault<z.ZodBoolean>;
|
|
5129
|
+
countable: z.ZodDefault<z.ZodBoolean>;
|
|
5130
|
+
soldIndividually: z.ZodDefault<z.ZodBoolean>;
|
|
5131
|
+
suspended: z.ZodDefault<z.ZodBoolean>;
|
|
5132
|
+
salesPrices: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5133
|
+
salesMode: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id">, unknown>>;
|
|
5134
|
+
price: z.ZodDefault<z.ZodString>;
|
|
5135
|
+
}, z.core.$strip>>>;
|
|
5136
|
+
images: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5137
|
+
id: z.ZodString;
|
|
5138
|
+
variant: z.ZodNullable<z.ZodString>;
|
|
5139
|
+
contentUrl: z.ZodURL;
|
|
5140
|
+
filePath: z.ZodString;
|
|
5141
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
5142
|
+
createdAt: z.ZodString;
|
|
5143
|
+
updatedAt: z.ZodString;
|
|
5144
|
+
variants: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5145
|
+
id: z.ZodString;
|
|
5146
|
+
variant: z.ZodNullable<z.ZodString>;
|
|
5147
|
+
contentUrl: z.ZodURL;
|
|
5148
|
+
filePath: z.ZodString;
|
|
5149
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
5150
|
+
createdAt: z.ZodString;
|
|
5151
|
+
updatedAt: z.ZodString;
|
|
5152
|
+
}, z.core.$strip>>>;
|
|
5153
|
+
}, z.core.$strip>>>;
|
|
5154
|
+
type: z.ZodLiteral<"CHOICE">;
|
|
5155
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
5156
|
+
price: z.ZodDefault<z.ZodString>;
|
|
5157
|
+
createdAt: z.ZodString;
|
|
5158
|
+
updatedAt: z.ZodString;
|
|
5159
|
+
id: z.ZodString;
|
|
5160
|
+
category: 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>>;
|
|
5161
|
+
channels: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
5162
|
+
application: "application";
|
|
5163
|
+
ecommerce: "ecommerce";
|
|
5164
|
+
deliveroo: "deliveroo";
|
|
5165
|
+
justeat: "justeat";
|
|
5166
|
+
glovo: "glovo";
|
|
5167
|
+
}>>>;
|
|
5168
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
5169
|
+
name: z.ZodArray<z.ZodObject<{
|
|
5170
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
5171
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
5172
|
+
}, z.core.$strip>>;
|
|
5173
|
+
description: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5174
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
5175
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
5176
|
+
}, z.core.$strip>>>;
|
|
5177
|
+
allergens: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
5178
|
+
"peanuts-and-derivatives": "peanuts-and-derivatives";
|
|
5179
|
+
crustaceans: "crustaceans";
|
|
5180
|
+
nuts: "nuts";
|
|
5181
|
+
gluten: "gluten";
|
|
5182
|
+
"milk-and-derivatives": "milk-and-derivatives";
|
|
5183
|
+
lupins: "lupins";
|
|
5184
|
+
molluscs: "molluscs";
|
|
5185
|
+
mustard: "mustard";
|
|
5186
|
+
fish: "fish";
|
|
5187
|
+
celery: "celery";
|
|
5188
|
+
sesame: "sesame";
|
|
5189
|
+
"sulfur-dioxide": "sulfur-dioxide";
|
|
5190
|
+
soy: "soy";
|
|
5191
|
+
"eggs-and-derivatives": "eggs-and-derivatives";
|
|
5192
|
+
mushrooms: "mushrooms";
|
|
5193
|
+
}>>>;
|
|
5194
|
+
diets: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
5195
|
+
vegan: "vegan";
|
|
5196
|
+
vegetarian: "vegetarian";
|
|
5197
|
+
"gluten-free": "gluten-free";
|
|
5198
|
+
"dairy-free": "dairy-free";
|
|
5199
|
+
}>>>;
|
|
5200
|
+
taxRate: z.ZodCoercedNumber<unknown>;
|
|
5201
|
+
containsAlcohol: z.ZodDefault<z.ZodBoolean>;
|
|
5202
|
+
countable: z.ZodDefault<z.ZodBoolean>;
|
|
5203
|
+
soldIndividually: z.ZodDefault<z.ZodBoolean>;
|
|
5204
|
+
suspended: z.ZodDefault<z.ZodBoolean>;
|
|
5205
|
+
compositions: z.ZodDefault<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>>>>;
|
|
5206
|
+
modifiers: z.ZodDefault<z.ZodArray<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>>>>;
|
|
5207
|
+
variants: z.ZodDefault<z.ZodArray<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>>>>;
|
|
5208
|
+
salesPrices: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5209
|
+
salesMode: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id">, unknown>>;
|
|
5210
|
+
price: z.ZodDefault<z.ZodString>;
|
|
5211
|
+
}, z.core.$strip>>>;
|
|
5212
|
+
images: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5213
|
+
id: z.ZodString;
|
|
5214
|
+
variant: z.ZodNullable<z.ZodString>;
|
|
5215
|
+
contentUrl: z.ZodURL;
|
|
5216
|
+
filePath: z.ZodString;
|
|
5217
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
5218
|
+
createdAt: z.ZodString;
|
|
5219
|
+
updatedAt: z.ZodString;
|
|
5220
|
+
variants: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5221
|
+
id: z.ZodString;
|
|
5222
|
+
variant: z.ZodNullable<z.ZodString>;
|
|
5223
|
+
contentUrl: z.ZodURL;
|
|
5224
|
+
filePath: z.ZodString;
|
|
5225
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
5226
|
+
createdAt: z.ZodString;
|
|
5227
|
+
updatedAt: z.ZodString;
|
|
5228
|
+
}, z.core.$strip>>>;
|
|
5229
|
+
}, z.core.$strip>>>;
|
|
5230
|
+
type: z.ZodLiteral<"ITEM">;
|
|
5231
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
5232
|
+
price: z.ZodDefault<z.ZodString>;
|
|
5233
|
+
createdAt: z.ZodString;
|
|
5234
|
+
updatedAt: z.ZodString;
|
|
5235
|
+
id: z.ZodString;
|
|
5236
|
+
category: 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>>;
|
|
5237
|
+
channels: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
5238
|
+
application: "application";
|
|
5239
|
+
ecommerce: "ecommerce";
|
|
5240
|
+
deliveroo: "deliveroo";
|
|
5241
|
+
justeat: "justeat";
|
|
5242
|
+
glovo: "glovo";
|
|
5243
|
+
}>>>;
|
|
5244
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
5245
|
+
name: z.ZodArray<z.ZodObject<{
|
|
5246
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
5247
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
5248
|
+
}, z.core.$strip>>;
|
|
5249
|
+
description: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5250
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
5251
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
5252
|
+
}, z.core.$strip>>>;
|
|
5253
|
+
allergens: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
5254
|
+
"peanuts-and-derivatives": "peanuts-and-derivatives";
|
|
5255
|
+
crustaceans: "crustaceans";
|
|
5256
|
+
nuts: "nuts";
|
|
5257
|
+
gluten: "gluten";
|
|
5258
|
+
"milk-and-derivatives": "milk-and-derivatives";
|
|
5259
|
+
lupins: "lupins";
|
|
5260
|
+
molluscs: "molluscs";
|
|
5261
|
+
mustard: "mustard";
|
|
5262
|
+
fish: "fish";
|
|
5263
|
+
celery: "celery";
|
|
5264
|
+
sesame: "sesame";
|
|
5265
|
+
"sulfur-dioxide": "sulfur-dioxide";
|
|
5266
|
+
soy: "soy";
|
|
5267
|
+
"eggs-and-derivatives": "eggs-and-derivatives";
|
|
5268
|
+
mushrooms: "mushrooms";
|
|
5269
|
+
}>>>;
|
|
5270
|
+
diets: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
5271
|
+
vegan: "vegan";
|
|
5272
|
+
vegetarian: "vegetarian";
|
|
5273
|
+
"gluten-free": "gluten-free";
|
|
5274
|
+
"dairy-free": "dairy-free";
|
|
5275
|
+
}>>>;
|
|
5276
|
+
taxRate: z.ZodCoercedNumber<unknown>;
|
|
5277
|
+
containsAlcohol: z.ZodDefault<z.ZodBoolean>;
|
|
5278
|
+
countable: z.ZodDefault<z.ZodBoolean>;
|
|
5279
|
+
soldIndividually: z.ZodDefault<z.ZodBoolean>;
|
|
5280
|
+
suspended: z.ZodDefault<z.ZodBoolean>;
|
|
5281
|
+
compositions: z.ZodDefault<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>>>>;
|
|
5282
|
+
modifiers: z.ZodDefault<z.ZodArray<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>>>>;
|
|
5283
|
+
variants: z.ZodDefault<z.ZodArray<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>>>>;
|
|
5284
|
+
salesPrices: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5285
|
+
salesMode: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id">, unknown>>;
|
|
5286
|
+
price: z.ZodDefault<z.ZodString>;
|
|
5287
|
+
}, z.core.$strip>>>;
|
|
5288
|
+
images: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5289
|
+
id: z.ZodString;
|
|
5290
|
+
variant: z.ZodNullable<z.ZodString>;
|
|
5291
|
+
contentUrl: z.ZodURL;
|
|
5292
|
+
filePath: z.ZodString;
|
|
5293
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
5294
|
+
createdAt: z.ZodString;
|
|
5295
|
+
updatedAt: z.ZodString;
|
|
5296
|
+
variants: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5297
|
+
id: z.ZodString;
|
|
5298
|
+
variant: z.ZodNullable<z.ZodString>;
|
|
5299
|
+
contentUrl: z.ZodURL;
|
|
5300
|
+
filePath: z.ZodString;
|
|
5301
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
5302
|
+
createdAt: z.ZodString;
|
|
5303
|
+
updatedAt: z.ZodString;
|
|
5304
|
+
}, z.core.$strip>>>;
|
|
5305
|
+
}, z.core.$strip>>>;
|
|
5306
|
+
type: z.ZodLiteral<"BUNDLE">;
|
|
5307
|
+
}, z.core.$strip>]>>;
|
|
5308
|
+
type GetMenuItemsAsChoicesFromMenuItemModifierResponse = z.infer<typeof getMenuItemsAsChoicesFromMenuItemModifierResponseSchema>;
|
|
5309
|
+
declare class GetMenuItemsAsChoicesFromMenuItemModifier extends AbstractApiRequest<typeof getMenuItemsAsChoicesFromMenuItemModifierInputSchema, typeof getMenuItemsAsChoicesFromMenuItemModifierResponseSchema, GetMenuItemsAsChoicesFromMenuItemModifierQueryParams> {
|
|
5310
|
+
readonly method = "GET";
|
|
5311
|
+
readonly contentType = "application/json";
|
|
5312
|
+
readonly accept = "application/json";
|
|
5313
|
+
readonly inputSchema: z.ZodUndefined;
|
|
5314
|
+
readonly outputSchema: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
5315
|
+
price: z.ZodDefault<z.ZodString>;
|
|
5316
|
+
createdAt: z.ZodString;
|
|
5317
|
+
updatedAt: z.ZodString;
|
|
5318
|
+
id: z.ZodString;
|
|
5319
|
+
channels: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
5320
|
+
application: "application";
|
|
5321
|
+
ecommerce: "ecommerce";
|
|
5322
|
+
deliveroo: "deliveroo";
|
|
5323
|
+
justeat: "justeat";
|
|
5324
|
+
glovo: "glovo";
|
|
5325
|
+
}>>>;
|
|
5326
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
5327
|
+
name: z.ZodArray<z.ZodObject<{
|
|
5328
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
5329
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
5330
|
+
}, z.core.$strip>>;
|
|
5331
|
+
description: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5332
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
5333
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
5334
|
+
}, z.core.$strip>>>;
|
|
5335
|
+
allergens: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
5336
|
+
"peanuts-and-derivatives": "peanuts-and-derivatives";
|
|
5337
|
+
crustaceans: "crustaceans";
|
|
5338
|
+
nuts: "nuts";
|
|
5339
|
+
gluten: "gluten";
|
|
5340
|
+
"milk-and-derivatives": "milk-and-derivatives";
|
|
5341
|
+
lupins: "lupins";
|
|
5342
|
+
molluscs: "molluscs";
|
|
5343
|
+
mustard: "mustard";
|
|
5344
|
+
fish: "fish";
|
|
5345
|
+
celery: "celery";
|
|
5346
|
+
sesame: "sesame";
|
|
5347
|
+
"sulfur-dioxide": "sulfur-dioxide";
|
|
5348
|
+
soy: "soy";
|
|
5349
|
+
"eggs-and-derivatives": "eggs-and-derivatives";
|
|
5350
|
+
mushrooms: "mushrooms";
|
|
5351
|
+
}>>>;
|
|
5352
|
+
diets: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
5353
|
+
vegan: "vegan";
|
|
5354
|
+
vegetarian: "vegetarian";
|
|
5355
|
+
"gluten-free": "gluten-free";
|
|
5356
|
+
"dairy-free": "dairy-free";
|
|
5357
|
+
}>>>;
|
|
5358
|
+
taxRate: z.ZodCoercedNumber<unknown>;
|
|
5359
|
+
containsAlcohol: z.ZodDefault<z.ZodBoolean>;
|
|
5360
|
+
countable: z.ZodDefault<z.ZodBoolean>;
|
|
5361
|
+
soldIndividually: z.ZodDefault<z.ZodBoolean>;
|
|
5362
|
+
suspended: z.ZodDefault<z.ZodBoolean>;
|
|
5363
|
+
salesPrices: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5364
|
+
salesMode: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id">, unknown>>;
|
|
5365
|
+
price: z.ZodDefault<z.ZodString>;
|
|
5366
|
+
}, z.core.$strip>>>;
|
|
5367
|
+
images: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5368
|
+
id: z.ZodString;
|
|
5369
|
+
variant: z.ZodNullable<z.ZodString>;
|
|
5370
|
+
contentUrl: z.ZodURL;
|
|
5371
|
+
filePath: z.ZodString;
|
|
5372
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
5373
|
+
createdAt: z.ZodString;
|
|
5374
|
+
updatedAt: z.ZodString;
|
|
5375
|
+
variants: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5376
|
+
id: z.ZodString;
|
|
5377
|
+
variant: z.ZodNullable<z.ZodString>;
|
|
5378
|
+
contentUrl: z.ZodURL;
|
|
5379
|
+
filePath: z.ZodString;
|
|
5380
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
5381
|
+
createdAt: z.ZodString;
|
|
5382
|
+
updatedAt: z.ZodString;
|
|
5383
|
+
}, z.core.$strip>>>;
|
|
5384
|
+
}, z.core.$strip>>>;
|
|
5385
|
+
type: z.ZodLiteral<"CHOICE">;
|
|
5386
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
5387
|
+
price: z.ZodDefault<z.ZodString>;
|
|
5388
|
+
createdAt: z.ZodString;
|
|
5389
|
+
updatedAt: z.ZodString;
|
|
5390
|
+
id: z.ZodString;
|
|
5391
|
+
category: 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>>;
|
|
5392
|
+
channels: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
5393
|
+
application: "application";
|
|
5394
|
+
ecommerce: "ecommerce";
|
|
5395
|
+
deliveroo: "deliveroo";
|
|
5396
|
+
justeat: "justeat";
|
|
5397
|
+
glovo: "glovo";
|
|
5398
|
+
}>>>;
|
|
5399
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
5400
|
+
name: z.ZodArray<z.ZodObject<{
|
|
5401
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
5402
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
5403
|
+
}, z.core.$strip>>;
|
|
5404
|
+
description: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5405
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
5406
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
5407
|
+
}, z.core.$strip>>>;
|
|
5408
|
+
allergens: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
5409
|
+
"peanuts-and-derivatives": "peanuts-and-derivatives";
|
|
5410
|
+
crustaceans: "crustaceans";
|
|
5411
|
+
nuts: "nuts";
|
|
5412
|
+
gluten: "gluten";
|
|
5413
|
+
"milk-and-derivatives": "milk-and-derivatives";
|
|
5414
|
+
lupins: "lupins";
|
|
5415
|
+
molluscs: "molluscs";
|
|
5416
|
+
mustard: "mustard";
|
|
5417
|
+
fish: "fish";
|
|
5418
|
+
celery: "celery";
|
|
5419
|
+
sesame: "sesame";
|
|
5420
|
+
"sulfur-dioxide": "sulfur-dioxide";
|
|
5421
|
+
soy: "soy";
|
|
5422
|
+
"eggs-and-derivatives": "eggs-and-derivatives";
|
|
5423
|
+
mushrooms: "mushrooms";
|
|
5424
|
+
}>>>;
|
|
5425
|
+
diets: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
5426
|
+
vegan: "vegan";
|
|
5427
|
+
vegetarian: "vegetarian";
|
|
5428
|
+
"gluten-free": "gluten-free";
|
|
5429
|
+
"dairy-free": "dairy-free";
|
|
5430
|
+
}>>>;
|
|
5431
|
+
taxRate: z.ZodCoercedNumber<unknown>;
|
|
5432
|
+
containsAlcohol: z.ZodDefault<z.ZodBoolean>;
|
|
5433
|
+
countable: z.ZodDefault<z.ZodBoolean>;
|
|
5434
|
+
soldIndividually: z.ZodDefault<z.ZodBoolean>;
|
|
5435
|
+
suspended: z.ZodDefault<z.ZodBoolean>;
|
|
5436
|
+
compositions: z.ZodDefault<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>>>>;
|
|
5437
|
+
modifiers: z.ZodDefault<z.ZodArray<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>>>>;
|
|
5438
|
+
variants: z.ZodDefault<z.ZodArray<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>>>>;
|
|
5439
|
+
salesPrices: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5440
|
+
salesMode: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id">, unknown>>;
|
|
5441
|
+
price: z.ZodDefault<z.ZodString>;
|
|
5442
|
+
}, z.core.$strip>>>;
|
|
5443
|
+
images: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5444
|
+
id: z.ZodString;
|
|
5445
|
+
variant: z.ZodNullable<z.ZodString>;
|
|
5446
|
+
contentUrl: z.ZodURL;
|
|
5447
|
+
filePath: z.ZodString;
|
|
5448
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
5449
|
+
createdAt: z.ZodString;
|
|
5450
|
+
updatedAt: z.ZodString;
|
|
5451
|
+
variants: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5452
|
+
id: z.ZodString;
|
|
5453
|
+
variant: z.ZodNullable<z.ZodString>;
|
|
5454
|
+
contentUrl: z.ZodURL;
|
|
5455
|
+
filePath: z.ZodString;
|
|
5456
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
5457
|
+
createdAt: z.ZodString;
|
|
5458
|
+
updatedAt: z.ZodString;
|
|
5459
|
+
}, z.core.$strip>>>;
|
|
5460
|
+
}, z.core.$strip>>>;
|
|
5461
|
+
type: z.ZodLiteral<"ITEM">;
|
|
5462
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
5463
|
+
price: z.ZodDefault<z.ZodString>;
|
|
5464
|
+
createdAt: z.ZodString;
|
|
5465
|
+
updatedAt: z.ZodString;
|
|
5466
|
+
id: z.ZodString;
|
|
5467
|
+
category: 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>>;
|
|
5468
|
+
channels: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
5469
|
+
application: "application";
|
|
5470
|
+
ecommerce: "ecommerce";
|
|
5471
|
+
deliveroo: "deliveroo";
|
|
5472
|
+
justeat: "justeat";
|
|
5473
|
+
glovo: "glovo";
|
|
5474
|
+
}>>>;
|
|
5475
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
5476
|
+
name: z.ZodArray<z.ZodObject<{
|
|
5477
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
5478
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
5479
|
+
}, z.core.$strip>>;
|
|
5480
|
+
description: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5481
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
5482
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
5483
|
+
}, z.core.$strip>>>;
|
|
5484
|
+
allergens: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
5485
|
+
"peanuts-and-derivatives": "peanuts-and-derivatives";
|
|
5486
|
+
crustaceans: "crustaceans";
|
|
5487
|
+
nuts: "nuts";
|
|
5488
|
+
gluten: "gluten";
|
|
5489
|
+
"milk-and-derivatives": "milk-and-derivatives";
|
|
5490
|
+
lupins: "lupins";
|
|
5491
|
+
molluscs: "molluscs";
|
|
5492
|
+
mustard: "mustard";
|
|
5493
|
+
fish: "fish";
|
|
5494
|
+
celery: "celery";
|
|
5495
|
+
sesame: "sesame";
|
|
5496
|
+
"sulfur-dioxide": "sulfur-dioxide";
|
|
5497
|
+
soy: "soy";
|
|
5498
|
+
"eggs-and-derivatives": "eggs-and-derivatives";
|
|
5499
|
+
mushrooms: "mushrooms";
|
|
5500
|
+
}>>>;
|
|
5501
|
+
diets: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
5502
|
+
vegan: "vegan";
|
|
5503
|
+
vegetarian: "vegetarian";
|
|
5504
|
+
"gluten-free": "gluten-free";
|
|
5505
|
+
"dairy-free": "dairy-free";
|
|
5506
|
+
}>>>;
|
|
5507
|
+
taxRate: z.ZodCoercedNumber<unknown>;
|
|
5508
|
+
containsAlcohol: z.ZodDefault<z.ZodBoolean>;
|
|
5509
|
+
countable: z.ZodDefault<z.ZodBoolean>;
|
|
5510
|
+
soldIndividually: z.ZodDefault<z.ZodBoolean>;
|
|
5511
|
+
suspended: z.ZodDefault<z.ZodBoolean>;
|
|
5512
|
+
compositions: z.ZodDefault<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>>>>;
|
|
5513
|
+
modifiers: z.ZodDefault<z.ZodArray<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>>>>;
|
|
5514
|
+
variants: z.ZodDefault<z.ZodArray<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>>>>;
|
|
5515
|
+
salesPrices: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5516
|
+
salesMode: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id">, unknown>>;
|
|
5517
|
+
price: z.ZodDefault<z.ZodString>;
|
|
5518
|
+
}, z.core.$strip>>>;
|
|
5519
|
+
images: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5520
|
+
id: z.ZodString;
|
|
5521
|
+
variant: z.ZodNullable<z.ZodString>;
|
|
5522
|
+
contentUrl: z.ZodURL;
|
|
5523
|
+
filePath: z.ZodString;
|
|
5524
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
5525
|
+
createdAt: z.ZodString;
|
|
5526
|
+
updatedAt: z.ZodString;
|
|
5527
|
+
variants: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5528
|
+
id: z.ZodString;
|
|
5529
|
+
variant: z.ZodNullable<z.ZodString>;
|
|
5530
|
+
contentUrl: z.ZodURL;
|
|
5531
|
+
filePath: z.ZodString;
|
|
5532
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
5533
|
+
createdAt: z.ZodString;
|
|
5534
|
+
updatedAt: z.ZodString;
|
|
5535
|
+
}, z.core.$strip>>>;
|
|
5536
|
+
}, z.core.$strip>>>;
|
|
5537
|
+
type: z.ZodLiteral<"BUNDLE">;
|
|
5538
|
+
}, z.core.$strip>]>>;
|
|
5539
|
+
readonly querySchema: z.ZodObject<{
|
|
5540
|
+
countable: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
5541
|
+
soldIndividually: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
5542
|
+
containsAlcohol: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
5543
|
+
suspended: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
5544
|
+
channels: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
5545
|
+
application: "application";
|
|
5546
|
+
ecommerce: "ecommerce";
|
|
5547
|
+
deliveroo: "deliveroo";
|
|
5548
|
+
justeat: "justeat";
|
|
5549
|
+
glovo: "glovo";
|
|
5550
|
+
}>, z.ZodArray<z.ZodEnum<{
|
|
5551
|
+
application: "application";
|
|
5552
|
+
ecommerce: "ecommerce";
|
|
5553
|
+
deliveroo: "deliveroo";
|
|
5554
|
+
justeat: "justeat";
|
|
5555
|
+
glovo: "glovo";
|
|
5556
|
+
}>>]>>;
|
|
5557
|
+
type: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
5558
|
+
ITEM: "ITEM";
|
|
5559
|
+
CHOICE: "CHOICE";
|
|
5560
|
+
BUNDLE: "BUNDLE";
|
|
5561
|
+
}>, z.ZodArray<z.ZodEnum<{
|
|
5562
|
+
ITEM: "ITEM";
|
|
5563
|
+
CHOICE: "CHOICE";
|
|
5564
|
+
BUNDLE: "BUNDLE";
|
|
5565
|
+
}>>]>>;
|
|
5566
|
+
'price[between]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
5567
|
+
'price[gt]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
5568
|
+
'price[gte]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
5569
|
+
'price[lt]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
5570
|
+
'price[lte]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
5571
|
+
'order[createdAt]': z.ZodOptional<z.ZodEnum<{
|
|
5572
|
+
asc: "asc";
|
|
5573
|
+
desc: "desc";
|
|
5574
|
+
}>>;
|
|
5575
|
+
'order[price]': z.ZodOptional<z.ZodEnum<{
|
|
5576
|
+
asc: "asc";
|
|
5577
|
+
desc: "desc";
|
|
5578
|
+
}>>;
|
|
5579
|
+
page: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
5580
|
+
'createdAt[before]': z.ZodOptional<z.ZodString>;
|
|
5581
|
+
'createdAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
5582
|
+
'createdAt[after]': z.ZodOptional<z.ZodString>;
|
|
5583
|
+
'createdAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
5584
|
+
'updatedAt[before]': z.ZodOptional<z.ZodString>;
|
|
5585
|
+
'updatedAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
5586
|
+
'updatedAt[after]': z.ZodOptional<z.ZodString>;
|
|
5587
|
+
'updatedAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
5588
|
+
}, z.core.$strip>;
|
|
5589
|
+
readonly headersSchema: undefined;
|
|
5590
|
+
private readonly menuItemModifierId;
|
|
5591
|
+
constructor(menuItemModifierId: string, options?: {
|
|
5592
|
+
query?: GetMenuItemsAsChoicesFromMenuItemModifierQueryParams;
|
|
5593
|
+
});
|
|
5594
|
+
getPath(): string;
|
|
5595
|
+
parseResponse(data: unknown): MenuItem[];
|
|
5596
|
+
}
|
|
5597
|
+
|
|
5598
|
+
declare const getMenuItemsFromMenuItemCategoryQuerySchema: z.ZodObject<{
|
|
5599
|
+
countable: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
5600
|
+
soldIndividually: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
5601
|
+
containsAlcohol: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
5602
|
+
suspended: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
5603
|
+
channels: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
5604
|
+
application: "application";
|
|
5605
|
+
ecommerce: "ecommerce";
|
|
5606
|
+
deliveroo: "deliveroo";
|
|
5607
|
+
justeat: "justeat";
|
|
5608
|
+
glovo: "glovo";
|
|
5609
|
+
}>, z.ZodArray<z.ZodEnum<{
|
|
5610
|
+
application: "application";
|
|
5611
|
+
ecommerce: "ecommerce";
|
|
5612
|
+
deliveroo: "deliveroo";
|
|
5613
|
+
justeat: "justeat";
|
|
5614
|
+
glovo: "glovo";
|
|
5615
|
+
}>>]>>;
|
|
5616
|
+
type: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
5617
|
+
ITEM: "ITEM";
|
|
5618
|
+
CHOICE: "CHOICE";
|
|
5619
|
+
BUNDLE: "BUNDLE";
|
|
5620
|
+
}>, z.ZodArray<z.ZodEnum<{
|
|
5621
|
+
ITEM: "ITEM";
|
|
5622
|
+
CHOICE: "CHOICE";
|
|
5623
|
+
BUNDLE: "BUNDLE";
|
|
5624
|
+
}>>]>>;
|
|
5625
|
+
'price[between]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
5626
|
+
'price[gt]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
5627
|
+
'price[gte]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
5628
|
+
'price[lt]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
5629
|
+
'price[lte]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
5630
|
+
'order[createdAt]': z.ZodOptional<z.ZodEnum<{
|
|
5631
|
+
asc: "asc";
|
|
5632
|
+
desc: "desc";
|
|
5633
|
+
}>>;
|
|
5634
|
+
'order[price]': z.ZodOptional<z.ZodEnum<{
|
|
5635
|
+
asc: "asc";
|
|
5636
|
+
desc: "desc";
|
|
5637
|
+
}>>;
|
|
5638
|
+
page: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
5639
|
+
'createdAt[before]': z.ZodOptional<z.ZodString>;
|
|
5640
|
+
'createdAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
5641
|
+
'createdAt[after]': z.ZodOptional<z.ZodString>;
|
|
5642
|
+
'createdAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
5643
|
+
'updatedAt[before]': z.ZodOptional<z.ZodString>;
|
|
5644
|
+
'updatedAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
5645
|
+
'updatedAt[after]': z.ZodOptional<z.ZodString>;
|
|
5646
|
+
'updatedAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
5647
|
+
}, z.core.$strip>;
|
|
5648
|
+
type GetMenuItemsFromMenuItemCategoryQueryParams = z.infer<typeof getMenuItemsFromMenuItemCategoryQuerySchema>;
|
|
5649
|
+
declare const getMenuItemsFromMenuItemCategoryInputSchema: z.ZodUndefined;
|
|
5650
|
+
type GetMenuItemsFromMenuItemCategoryInput = z.input<typeof getMenuItemsFromMenuItemCategoryInputSchema>;
|
|
5651
|
+
declare const getMenuItemsFromMenuItemCategoryResponseSchema: z.ZodObject<{
|
|
5652
|
+
data: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
5653
|
+
price: z.ZodDefault<z.ZodString>;
|
|
5654
|
+
createdAt: z.ZodString;
|
|
5655
|
+
updatedAt: z.ZodString;
|
|
5656
|
+
id: z.ZodString;
|
|
5657
|
+
channels: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
5658
|
+
application: "application";
|
|
5659
|
+
ecommerce: "ecommerce";
|
|
5660
|
+
deliveroo: "deliveroo";
|
|
5661
|
+
justeat: "justeat";
|
|
5662
|
+
glovo: "glovo";
|
|
5663
|
+
}>>>;
|
|
5664
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
5665
|
+
name: z.ZodArray<z.ZodObject<{
|
|
5666
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
5667
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
5668
|
+
}, z.core.$strip>>;
|
|
5669
|
+
description: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5670
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
5671
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
5672
|
+
}, z.core.$strip>>>;
|
|
5673
|
+
allergens: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
5674
|
+
"peanuts-and-derivatives": "peanuts-and-derivatives";
|
|
5675
|
+
crustaceans: "crustaceans";
|
|
5676
|
+
nuts: "nuts";
|
|
5677
|
+
gluten: "gluten";
|
|
5678
|
+
"milk-and-derivatives": "milk-and-derivatives";
|
|
5679
|
+
lupins: "lupins";
|
|
5680
|
+
molluscs: "molluscs";
|
|
5681
|
+
mustard: "mustard";
|
|
5682
|
+
fish: "fish";
|
|
5683
|
+
celery: "celery";
|
|
5684
|
+
sesame: "sesame";
|
|
5685
|
+
"sulfur-dioxide": "sulfur-dioxide";
|
|
5686
|
+
soy: "soy";
|
|
5687
|
+
"eggs-and-derivatives": "eggs-and-derivatives";
|
|
5688
|
+
mushrooms: "mushrooms";
|
|
5689
|
+
}>>>;
|
|
5690
|
+
diets: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
5691
|
+
vegan: "vegan";
|
|
5692
|
+
vegetarian: "vegetarian";
|
|
5693
|
+
"gluten-free": "gluten-free";
|
|
5694
|
+
"dairy-free": "dairy-free";
|
|
5695
|
+
}>>>;
|
|
5696
|
+
taxRate: z.ZodCoercedNumber<unknown>;
|
|
5697
|
+
containsAlcohol: z.ZodDefault<z.ZodBoolean>;
|
|
5698
|
+
countable: z.ZodDefault<z.ZodBoolean>;
|
|
5699
|
+
soldIndividually: z.ZodDefault<z.ZodBoolean>;
|
|
5700
|
+
suspended: z.ZodDefault<z.ZodBoolean>;
|
|
5701
|
+
salesPrices: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5702
|
+
salesMode: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id">, unknown>>;
|
|
5703
|
+
price: z.ZodDefault<z.ZodString>;
|
|
5704
|
+
}, z.core.$strip>>>;
|
|
5705
|
+
images: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5706
|
+
id: z.ZodString;
|
|
5707
|
+
variant: z.ZodNullable<z.ZodString>;
|
|
5708
|
+
contentUrl: z.ZodURL;
|
|
5709
|
+
filePath: z.ZodString;
|
|
5710
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
5711
|
+
createdAt: z.ZodString;
|
|
5712
|
+
updatedAt: z.ZodString;
|
|
5713
|
+
variants: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5714
|
+
id: z.ZodString;
|
|
5715
|
+
variant: z.ZodNullable<z.ZodString>;
|
|
5716
|
+
contentUrl: z.ZodURL;
|
|
5717
|
+
filePath: z.ZodString;
|
|
5718
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
5719
|
+
createdAt: z.ZodString;
|
|
5720
|
+
updatedAt: z.ZodString;
|
|
5721
|
+
}, z.core.$strip>>>;
|
|
5722
|
+
}, z.core.$strip>>>;
|
|
5723
|
+
type: z.ZodLiteral<"CHOICE">;
|
|
5724
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
5725
|
+
price: z.ZodDefault<z.ZodString>;
|
|
5726
|
+
createdAt: z.ZodString;
|
|
5727
|
+
updatedAt: z.ZodString;
|
|
5728
|
+
id: z.ZodString;
|
|
5729
|
+
category: 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>>;
|
|
5730
|
+
channels: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
5731
|
+
application: "application";
|
|
5732
|
+
ecommerce: "ecommerce";
|
|
5733
|
+
deliveroo: "deliveroo";
|
|
5734
|
+
justeat: "justeat";
|
|
5735
|
+
glovo: "glovo";
|
|
5736
|
+
}>>>;
|
|
5737
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
5738
|
+
name: z.ZodArray<z.ZodObject<{
|
|
5739
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
5740
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
5741
|
+
}, z.core.$strip>>;
|
|
5742
|
+
description: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5743
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
5744
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
5745
|
+
}, z.core.$strip>>>;
|
|
5746
|
+
allergens: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
5747
|
+
"peanuts-and-derivatives": "peanuts-and-derivatives";
|
|
5748
|
+
crustaceans: "crustaceans";
|
|
5749
|
+
nuts: "nuts";
|
|
5750
|
+
gluten: "gluten";
|
|
5751
|
+
"milk-and-derivatives": "milk-and-derivatives";
|
|
5752
|
+
lupins: "lupins";
|
|
5753
|
+
molluscs: "molluscs";
|
|
5754
|
+
mustard: "mustard";
|
|
5755
|
+
fish: "fish";
|
|
5756
|
+
celery: "celery";
|
|
5757
|
+
sesame: "sesame";
|
|
5758
|
+
"sulfur-dioxide": "sulfur-dioxide";
|
|
5759
|
+
soy: "soy";
|
|
5760
|
+
"eggs-and-derivatives": "eggs-and-derivatives";
|
|
5761
|
+
mushrooms: "mushrooms";
|
|
5762
|
+
}>>>;
|
|
5763
|
+
diets: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
5764
|
+
vegan: "vegan";
|
|
5765
|
+
vegetarian: "vegetarian";
|
|
5766
|
+
"gluten-free": "gluten-free";
|
|
5767
|
+
"dairy-free": "dairy-free";
|
|
5768
|
+
}>>>;
|
|
5769
|
+
taxRate: z.ZodCoercedNumber<unknown>;
|
|
5770
|
+
containsAlcohol: z.ZodDefault<z.ZodBoolean>;
|
|
5771
|
+
countable: z.ZodDefault<z.ZodBoolean>;
|
|
5772
|
+
soldIndividually: z.ZodDefault<z.ZodBoolean>;
|
|
5773
|
+
suspended: z.ZodDefault<z.ZodBoolean>;
|
|
5774
|
+
compositions: z.ZodDefault<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>>>>;
|
|
5775
|
+
modifiers: z.ZodDefault<z.ZodArray<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>>>>;
|
|
5776
|
+
variants: z.ZodDefault<z.ZodArray<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>>>>;
|
|
5777
|
+
salesPrices: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5778
|
+
salesMode: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id">, unknown>>;
|
|
5779
|
+
price: z.ZodDefault<z.ZodString>;
|
|
5780
|
+
}, z.core.$strip>>>;
|
|
5781
|
+
images: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5782
|
+
id: z.ZodString;
|
|
5783
|
+
variant: z.ZodNullable<z.ZodString>;
|
|
5784
|
+
contentUrl: z.ZodURL;
|
|
5785
|
+
filePath: z.ZodString;
|
|
5786
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
5787
|
+
createdAt: z.ZodString;
|
|
5788
|
+
updatedAt: z.ZodString;
|
|
5789
|
+
variants: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5790
|
+
id: z.ZodString;
|
|
5791
|
+
variant: z.ZodNullable<z.ZodString>;
|
|
5792
|
+
contentUrl: z.ZodURL;
|
|
5793
|
+
filePath: z.ZodString;
|
|
5794
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
5795
|
+
createdAt: z.ZodString;
|
|
5796
|
+
updatedAt: z.ZodString;
|
|
5797
|
+
}, z.core.$strip>>>;
|
|
5798
|
+
}, z.core.$strip>>>;
|
|
5799
|
+
type: z.ZodLiteral<"ITEM">;
|
|
5800
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
5801
|
+
price: z.ZodDefault<z.ZodString>;
|
|
5802
|
+
createdAt: z.ZodString;
|
|
5803
|
+
updatedAt: z.ZodString;
|
|
5804
|
+
id: z.ZodString;
|
|
5805
|
+
category: 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>>;
|
|
5806
|
+
channels: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
5807
|
+
application: "application";
|
|
5808
|
+
ecommerce: "ecommerce";
|
|
5809
|
+
deliveroo: "deliveroo";
|
|
5810
|
+
justeat: "justeat";
|
|
5811
|
+
glovo: "glovo";
|
|
5812
|
+
}>>>;
|
|
5813
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
5814
|
+
name: z.ZodArray<z.ZodObject<{
|
|
5815
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
5816
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
5817
|
+
}, z.core.$strip>>;
|
|
5818
|
+
description: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5819
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
5820
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
5821
|
+
}, z.core.$strip>>>;
|
|
5822
|
+
allergens: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
5823
|
+
"peanuts-and-derivatives": "peanuts-and-derivatives";
|
|
5824
|
+
crustaceans: "crustaceans";
|
|
5825
|
+
nuts: "nuts";
|
|
5826
|
+
gluten: "gluten";
|
|
5827
|
+
"milk-and-derivatives": "milk-and-derivatives";
|
|
5828
|
+
lupins: "lupins";
|
|
5829
|
+
molluscs: "molluscs";
|
|
5830
|
+
mustard: "mustard";
|
|
5831
|
+
fish: "fish";
|
|
5832
|
+
celery: "celery";
|
|
5833
|
+
sesame: "sesame";
|
|
5834
|
+
"sulfur-dioxide": "sulfur-dioxide";
|
|
5835
|
+
soy: "soy";
|
|
5836
|
+
"eggs-and-derivatives": "eggs-and-derivatives";
|
|
5837
|
+
mushrooms: "mushrooms";
|
|
5838
|
+
}>>>;
|
|
5839
|
+
diets: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
5840
|
+
vegan: "vegan";
|
|
5841
|
+
vegetarian: "vegetarian";
|
|
5842
|
+
"gluten-free": "gluten-free";
|
|
5843
|
+
"dairy-free": "dairy-free";
|
|
5844
|
+
}>>>;
|
|
5845
|
+
taxRate: z.ZodCoercedNumber<unknown>;
|
|
5846
|
+
containsAlcohol: z.ZodDefault<z.ZodBoolean>;
|
|
5847
|
+
countable: z.ZodDefault<z.ZodBoolean>;
|
|
5848
|
+
soldIndividually: z.ZodDefault<z.ZodBoolean>;
|
|
5849
|
+
suspended: z.ZodDefault<z.ZodBoolean>;
|
|
5850
|
+
compositions: z.ZodDefault<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>>>>;
|
|
5851
|
+
modifiers: z.ZodDefault<z.ZodArray<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>>>>;
|
|
5852
|
+
variants: z.ZodDefault<z.ZodArray<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>>>>;
|
|
5853
|
+
salesPrices: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5854
|
+
salesMode: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id">, unknown>>;
|
|
5855
|
+
price: z.ZodDefault<z.ZodString>;
|
|
5856
|
+
}, z.core.$strip>>>;
|
|
5857
|
+
images: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5858
|
+
id: z.ZodString;
|
|
5859
|
+
variant: z.ZodNullable<z.ZodString>;
|
|
5860
|
+
contentUrl: z.ZodURL;
|
|
5861
|
+
filePath: z.ZodString;
|
|
5862
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
5863
|
+
createdAt: z.ZodString;
|
|
5864
|
+
updatedAt: z.ZodString;
|
|
5865
|
+
variants: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5866
|
+
id: z.ZodString;
|
|
5867
|
+
variant: z.ZodNullable<z.ZodString>;
|
|
5868
|
+
contentUrl: z.ZodURL;
|
|
5869
|
+
filePath: z.ZodString;
|
|
5870
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
5871
|
+
createdAt: z.ZodString;
|
|
5872
|
+
updatedAt: z.ZodString;
|
|
5873
|
+
}, z.core.$strip>>>;
|
|
5874
|
+
}, z.core.$strip>>>;
|
|
5875
|
+
type: z.ZodLiteral<"BUNDLE">;
|
|
5876
|
+
}, z.core.$strip>]>>;
|
|
5877
|
+
pagination: z.ZodObject<{
|
|
5878
|
+
from: z.ZodCoercedNumber<unknown>;
|
|
5879
|
+
to: z.ZodCoercedNumber<unknown>;
|
|
5880
|
+
itemsPerPage: z.ZodCoercedNumber<unknown>;
|
|
5881
|
+
totalItems: z.ZodCoercedNumber<unknown>;
|
|
5882
|
+
currentPage: z.ZodCoercedNumber<unknown>;
|
|
5883
|
+
lastPage: z.ZodCoercedNumber<unknown>;
|
|
5884
|
+
}, z.core.$strip>;
|
|
5885
|
+
}, z.core.$strip>;
|
|
5886
|
+
type GetMenuItemsFromMenuItemCategoryResponse = z.infer<typeof getMenuItemsFromMenuItemCategoryResponseSchema>;
|
|
5887
|
+
declare class GetMenuItemsFromMenuItemCategory extends AbstractApiRequest<typeof getMenuItemsFromMenuItemCategoryInputSchema, typeof getMenuItemsFromMenuItemCategoryResponseSchema, GetMenuItemsFromMenuItemCategoryQueryParams> {
|
|
5888
|
+
readonly method = "GET";
|
|
5889
|
+
readonly contentType = "application/json";
|
|
5890
|
+
readonly accept = "application/json";
|
|
5891
|
+
readonly inputSchema: z.ZodUndefined;
|
|
5892
|
+
readonly outputSchema: z.ZodObject<{
|
|
5893
|
+
data: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
5894
|
+
price: z.ZodDefault<z.ZodString>;
|
|
5895
|
+
createdAt: z.ZodString;
|
|
5896
|
+
updatedAt: z.ZodString;
|
|
5897
|
+
id: z.ZodString;
|
|
5898
|
+
channels: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
5899
|
+
application: "application";
|
|
5900
|
+
ecommerce: "ecommerce";
|
|
5901
|
+
deliveroo: "deliveroo";
|
|
5902
|
+
justeat: "justeat";
|
|
5903
|
+
glovo: "glovo";
|
|
5904
|
+
}>>>;
|
|
5905
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
5906
|
+
name: z.ZodArray<z.ZodObject<{
|
|
5907
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
5908
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
5909
|
+
}, z.core.$strip>>;
|
|
5910
|
+
description: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5911
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
5912
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
5913
|
+
}, z.core.$strip>>>;
|
|
5914
|
+
allergens: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
5915
|
+
"peanuts-and-derivatives": "peanuts-and-derivatives";
|
|
5916
|
+
crustaceans: "crustaceans";
|
|
5917
|
+
nuts: "nuts";
|
|
5918
|
+
gluten: "gluten";
|
|
5919
|
+
"milk-and-derivatives": "milk-and-derivatives";
|
|
5920
|
+
lupins: "lupins";
|
|
5921
|
+
molluscs: "molluscs";
|
|
5922
|
+
mustard: "mustard";
|
|
5923
|
+
fish: "fish";
|
|
5924
|
+
celery: "celery";
|
|
5925
|
+
sesame: "sesame";
|
|
5926
|
+
"sulfur-dioxide": "sulfur-dioxide";
|
|
5927
|
+
soy: "soy";
|
|
5928
|
+
"eggs-and-derivatives": "eggs-and-derivatives";
|
|
5929
|
+
mushrooms: "mushrooms";
|
|
5930
|
+
}>>>;
|
|
5931
|
+
diets: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
5932
|
+
vegan: "vegan";
|
|
5933
|
+
vegetarian: "vegetarian";
|
|
5934
|
+
"gluten-free": "gluten-free";
|
|
5935
|
+
"dairy-free": "dairy-free";
|
|
5936
|
+
}>>>;
|
|
5937
|
+
taxRate: z.ZodCoercedNumber<unknown>;
|
|
5938
|
+
containsAlcohol: z.ZodDefault<z.ZodBoolean>;
|
|
5939
|
+
countable: z.ZodDefault<z.ZodBoolean>;
|
|
5940
|
+
soldIndividually: z.ZodDefault<z.ZodBoolean>;
|
|
5941
|
+
suspended: z.ZodDefault<z.ZodBoolean>;
|
|
5942
|
+
salesPrices: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5943
|
+
salesMode: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id">, unknown>>;
|
|
5944
|
+
price: z.ZodDefault<z.ZodString>;
|
|
5945
|
+
}, z.core.$strip>>>;
|
|
5946
|
+
images: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5947
|
+
id: z.ZodString;
|
|
5948
|
+
variant: z.ZodNullable<z.ZodString>;
|
|
5949
|
+
contentUrl: z.ZodURL;
|
|
5950
|
+
filePath: z.ZodString;
|
|
5951
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
5952
|
+
createdAt: z.ZodString;
|
|
5953
|
+
updatedAt: z.ZodString;
|
|
5954
|
+
variants: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5955
|
+
id: z.ZodString;
|
|
5956
|
+
variant: z.ZodNullable<z.ZodString>;
|
|
5957
|
+
contentUrl: z.ZodURL;
|
|
5958
|
+
filePath: z.ZodString;
|
|
5959
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
5960
|
+
createdAt: z.ZodString;
|
|
5961
|
+
updatedAt: z.ZodString;
|
|
5962
|
+
}, z.core.$strip>>>;
|
|
5963
|
+
}, z.core.$strip>>>;
|
|
5964
|
+
type: z.ZodLiteral<"CHOICE">;
|
|
5965
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
5966
|
+
price: z.ZodDefault<z.ZodString>;
|
|
5967
|
+
createdAt: z.ZodString;
|
|
5968
|
+
updatedAt: z.ZodString;
|
|
5969
|
+
id: z.ZodString;
|
|
5970
|
+
category: 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>>;
|
|
5971
|
+
channels: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
5972
|
+
application: "application";
|
|
5973
|
+
ecommerce: "ecommerce";
|
|
5974
|
+
deliveroo: "deliveroo";
|
|
5975
|
+
justeat: "justeat";
|
|
5976
|
+
glovo: "glovo";
|
|
5977
|
+
}>>>;
|
|
5978
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
5979
|
+
name: z.ZodArray<z.ZodObject<{
|
|
5980
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
5981
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
5982
|
+
}, z.core.$strip>>;
|
|
5983
|
+
description: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5984
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
5985
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
5986
|
+
}, z.core.$strip>>>;
|
|
5987
|
+
allergens: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
5988
|
+
"peanuts-and-derivatives": "peanuts-and-derivatives";
|
|
5989
|
+
crustaceans: "crustaceans";
|
|
5990
|
+
nuts: "nuts";
|
|
5991
|
+
gluten: "gluten";
|
|
5992
|
+
"milk-and-derivatives": "milk-and-derivatives";
|
|
5993
|
+
lupins: "lupins";
|
|
5994
|
+
molluscs: "molluscs";
|
|
5995
|
+
mustard: "mustard";
|
|
5996
|
+
fish: "fish";
|
|
5997
|
+
celery: "celery";
|
|
5998
|
+
sesame: "sesame";
|
|
5999
|
+
"sulfur-dioxide": "sulfur-dioxide";
|
|
6000
|
+
soy: "soy";
|
|
6001
|
+
"eggs-and-derivatives": "eggs-and-derivatives";
|
|
6002
|
+
mushrooms: "mushrooms";
|
|
6003
|
+
}>>>;
|
|
6004
|
+
diets: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
6005
|
+
vegan: "vegan";
|
|
6006
|
+
vegetarian: "vegetarian";
|
|
6007
|
+
"gluten-free": "gluten-free";
|
|
6008
|
+
"dairy-free": "dairy-free";
|
|
6009
|
+
}>>>;
|
|
6010
|
+
taxRate: z.ZodCoercedNumber<unknown>;
|
|
6011
|
+
containsAlcohol: z.ZodDefault<z.ZodBoolean>;
|
|
6012
|
+
countable: z.ZodDefault<z.ZodBoolean>;
|
|
6013
|
+
soldIndividually: z.ZodDefault<z.ZodBoolean>;
|
|
6014
|
+
suspended: z.ZodDefault<z.ZodBoolean>;
|
|
6015
|
+
compositions: z.ZodDefault<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>>>>;
|
|
6016
|
+
modifiers: z.ZodDefault<z.ZodArray<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>>>>;
|
|
6017
|
+
variants: z.ZodDefault<z.ZodArray<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>>>>;
|
|
6018
|
+
salesPrices: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
6019
|
+
salesMode: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id">, unknown>>;
|
|
6020
|
+
price: z.ZodDefault<z.ZodString>;
|
|
6021
|
+
}, z.core.$strip>>>;
|
|
6022
|
+
images: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
6023
|
+
id: z.ZodString;
|
|
6024
|
+
variant: z.ZodNullable<z.ZodString>;
|
|
6025
|
+
contentUrl: z.ZodURL;
|
|
6026
|
+
filePath: z.ZodString;
|
|
6027
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
6028
|
+
createdAt: z.ZodString;
|
|
6029
|
+
updatedAt: z.ZodString;
|
|
6030
|
+
variants: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
6031
|
+
id: z.ZodString;
|
|
6032
|
+
variant: z.ZodNullable<z.ZodString>;
|
|
6033
|
+
contentUrl: z.ZodURL;
|
|
6034
|
+
filePath: z.ZodString;
|
|
6035
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
6036
|
+
createdAt: z.ZodString;
|
|
6037
|
+
updatedAt: z.ZodString;
|
|
6038
|
+
}, z.core.$strip>>>;
|
|
6039
|
+
}, z.core.$strip>>>;
|
|
6040
|
+
type: z.ZodLiteral<"ITEM">;
|
|
6041
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
6042
|
+
price: z.ZodDefault<z.ZodString>;
|
|
6043
|
+
createdAt: z.ZodString;
|
|
6044
|
+
updatedAt: z.ZodString;
|
|
6045
|
+
id: z.ZodString;
|
|
6046
|
+
category: 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>>;
|
|
6047
|
+
channels: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
6048
|
+
application: "application";
|
|
6049
|
+
ecommerce: "ecommerce";
|
|
6050
|
+
deliveroo: "deliveroo";
|
|
6051
|
+
justeat: "justeat";
|
|
6052
|
+
glovo: "glovo";
|
|
6053
|
+
}>>>;
|
|
6054
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
6055
|
+
name: z.ZodArray<z.ZodObject<{
|
|
6056
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
6057
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
6058
|
+
}, z.core.$strip>>;
|
|
6059
|
+
description: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
6060
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
6061
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
6062
|
+
}, z.core.$strip>>>;
|
|
6063
|
+
allergens: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
6064
|
+
"peanuts-and-derivatives": "peanuts-and-derivatives";
|
|
6065
|
+
crustaceans: "crustaceans";
|
|
6066
|
+
nuts: "nuts";
|
|
6067
|
+
gluten: "gluten";
|
|
6068
|
+
"milk-and-derivatives": "milk-and-derivatives";
|
|
6069
|
+
lupins: "lupins";
|
|
6070
|
+
molluscs: "molluscs";
|
|
6071
|
+
mustard: "mustard";
|
|
6072
|
+
fish: "fish";
|
|
6073
|
+
celery: "celery";
|
|
6074
|
+
sesame: "sesame";
|
|
6075
|
+
"sulfur-dioxide": "sulfur-dioxide";
|
|
6076
|
+
soy: "soy";
|
|
6077
|
+
"eggs-and-derivatives": "eggs-and-derivatives";
|
|
6078
|
+
mushrooms: "mushrooms";
|
|
6079
|
+
}>>>;
|
|
6080
|
+
diets: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
6081
|
+
vegan: "vegan";
|
|
6082
|
+
vegetarian: "vegetarian";
|
|
6083
|
+
"gluten-free": "gluten-free";
|
|
6084
|
+
"dairy-free": "dairy-free";
|
|
6085
|
+
}>>>;
|
|
6086
|
+
taxRate: z.ZodCoercedNumber<unknown>;
|
|
6087
|
+
containsAlcohol: z.ZodDefault<z.ZodBoolean>;
|
|
6088
|
+
countable: z.ZodDefault<z.ZodBoolean>;
|
|
6089
|
+
soldIndividually: z.ZodDefault<z.ZodBoolean>;
|
|
6090
|
+
suspended: z.ZodDefault<z.ZodBoolean>;
|
|
6091
|
+
compositions: z.ZodDefault<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>>>>;
|
|
6092
|
+
modifiers: z.ZodDefault<z.ZodArray<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>>>>;
|
|
6093
|
+
variants: z.ZodDefault<z.ZodArray<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>>>>;
|
|
6094
|
+
salesPrices: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
6095
|
+
salesMode: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id">, unknown>>;
|
|
6096
|
+
price: z.ZodDefault<z.ZodString>;
|
|
6097
|
+
}, z.core.$strip>>>;
|
|
6098
|
+
images: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
6099
|
+
id: z.ZodString;
|
|
6100
|
+
variant: z.ZodNullable<z.ZodString>;
|
|
6101
|
+
contentUrl: z.ZodURL;
|
|
6102
|
+
filePath: z.ZodString;
|
|
6103
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
6104
|
+
createdAt: z.ZodString;
|
|
6105
|
+
updatedAt: z.ZodString;
|
|
6106
|
+
variants: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
6107
|
+
id: z.ZodString;
|
|
6108
|
+
variant: z.ZodNullable<z.ZodString>;
|
|
6109
|
+
contentUrl: z.ZodURL;
|
|
6110
|
+
filePath: z.ZodString;
|
|
6111
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
6112
|
+
createdAt: z.ZodString;
|
|
6113
|
+
updatedAt: z.ZodString;
|
|
6114
|
+
}, z.core.$strip>>>;
|
|
6115
|
+
}, z.core.$strip>>>;
|
|
6116
|
+
type: z.ZodLiteral<"BUNDLE">;
|
|
6117
|
+
}, z.core.$strip>]>>;
|
|
6118
|
+
pagination: z.ZodObject<{
|
|
6119
|
+
from: z.ZodCoercedNumber<unknown>;
|
|
6120
|
+
to: z.ZodCoercedNumber<unknown>;
|
|
6121
|
+
itemsPerPage: z.ZodCoercedNumber<unknown>;
|
|
6122
|
+
totalItems: z.ZodCoercedNumber<unknown>;
|
|
6123
|
+
currentPage: z.ZodCoercedNumber<unknown>;
|
|
6124
|
+
lastPage: z.ZodCoercedNumber<unknown>;
|
|
6125
|
+
}, z.core.$strip>;
|
|
6126
|
+
}, z.core.$strip>;
|
|
6127
|
+
readonly querySchema: z.ZodObject<{
|
|
6128
|
+
countable: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
6129
|
+
soldIndividually: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
6130
|
+
containsAlcohol: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
6131
|
+
suspended: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
6132
|
+
channels: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
6133
|
+
application: "application";
|
|
6134
|
+
ecommerce: "ecommerce";
|
|
6135
|
+
deliveroo: "deliveroo";
|
|
6136
|
+
justeat: "justeat";
|
|
6137
|
+
glovo: "glovo";
|
|
6138
|
+
}>, z.ZodArray<z.ZodEnum<{
|
|
6139
|
+
application: "application";
|
|
6140
|
+
ecommerce: "ecommerce";
|
|
6141
|
+
deliveroo: "deliveroo";
|
|
6142
|
+
justeat: "justeat";
|
|
6143
|
+
glovo: "glovo";
|
|
6144
|
+
}>>]>>;
|
|
6145
|
+
type: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
6146
|
+
ITEM: "ITEM";
|
|
6147
|
+
CHOICE: "CHOICE";
|
|
6148
|
+
BUNDLE: "BUNDLE";
|
|
6149
|
+
}>, z.ZodArray<z.ZodEnum<{
|
|
6150
|
+
ITEM: "ITEM";
|
|
6151
|
+
CHOICE: "CHOICE";
|
|
6152
|
+
BUNDLE: "BUNDLE";
|
|
6153
|
+
}>>]>>;
|
|
6154
|
+
'price[between]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
6155
|
+
'price[gt]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
6156
|
+
'price[gte]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
6157
|
+
'price[lt]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
6158
|
+
'price[lte]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
6159
|
+
'order[createdAt]': z.ZodOptional<z.ZodEnum<{
|
|
6160
|
+
asc: "asc";
|
|
6161
|
+
desc: "desc";
|
|
6162
|
+
}>>;
|
|
6163
|
+
'order[price]': z.ZodOptional<z.ZodEnum<{
|
|
6164
|
+
asc: "asc";
|
|
6165
|
+
desc: "desc";
|
|
6166
|
+
}>>;
|
|
6167
|
+
page: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
6168
|
+
'createdAt[before]': z.ZodOptional<z.ZodString>;
|
|
6169
|
+
'createdAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
6170
|
+
'createdAt[after]': z.ZodOptional<z.ZodString>;
|
|
6171
|
+
'createdAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
6172
|
+
'updatedAt[before]': z.ZodOptional<z.ZodString>;
|
|
6173
|
+
'updatedAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
6174
|
+
'updatedAt[after]': z.ZodOptional<z.ZodString>;
|
|
6175
|
+
'updatedAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
6176
|
+
}, z.core.$strip>;
|
|
6177
|
+
readonly headersSchema: undefined;
|
|
6178
|
+
private readonly menuItemCategoryId;
|
|
6179
|
+
constructor(menuItemCategoryId: string, options?: {
|
|
6180
|
+
query?: GetMenuItemsFromMenuItemCategoryQueryParams;
|
|
6181
|
+
});
|
|
6182
|
+
getPath(): string;
|
|
6183
|
+
parseResponse(data: unknown, rawResponse: Response): Paginated<MenuItem>;
|
|
6184
|
+
}
|
|
6185
|
+
|
|
6186
|
+
declare const getMenuItemsFromMenuItemModifierQuerySchema: z.ZodObject<{
|
|
6187
|
+
countable: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
6188
|
+
soldIndividually: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
6189
|
+
containsAlcohol: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
6190
|
+
suspended: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
6191
|
+
channels: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
6192
|
+
application: "application";
|
|
6193
|
+
ecommerce: "ecommerce";
|
|
6194
|
+
deliveroo: "deliveroo";
|
|
6195
|
+
justeat: "justeat";
|
|
6196
|
+
glovo: "glovo";
|
|
6197
|
+
}>, z.ZodArray<z.ZodEnum<{
|
|
6198
|
+
application: "application";
|
|
6199
|
+
ecommerce: "ecommerce";
|
|
6200
|
+
deliveroo: "deliveroo";
|
|
6201
|
+
justeat: "justeat";
|
|
6202
|
+
glovo: "glovo";
|
|
6203
|
+
}>>]>>;
|
|
6204
|
+
type: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
6205
|
+
ITEM: "ITEM";
|
|
6206
|
+
CHOICE: "CHOICE";
|
|
6207
|
+
BUNDLE: "BUNDLE";
|
|
6208
|
+
}>, z.ZodArray<z.ZodEnum<{
|
|
6209
|
+
ITEM: "ITEM";
|
|
6210
|
+
CHOICE: "CHOICE";
|
|
6211
|
+
BUNDLE: "BUNDLE";
|
|
6212
|
+
}>>]>>;
|
|
6213
|
+
'price[between]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
6214
|
+
'price[gt]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
6215
|
+
'price[gte]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
6216
|
+
'price[lt]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
6217
|
+
'price[lte]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
6218
|
+
'order[createdAt]': z.ZodOptional<z.ZodEnum<{
|
|
6219
|
+
asc: "asc";
|
|
6220
|
+
desc: "desc";
|
|
6221
|
+
}>>;
|
|
6222
|
+
'order[price]': z.ZodOptional<z.ZodEnum<{
|
|
6223
|
+
asc: "asc";
|
|
6224
|
+
desc: "desc";
|
|
6225
|
+
}>>;
|
|
6226
|
+
page: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
6227
|
+
'createdAt[before]': z.ZodOptional<z.ZodString>;
|
|
6228
|
+
'createdAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
6229
|
+
'createdAt[after]': z.ZodOptional<z.ZodString>;
|
|
6230
|
+
'createdAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
6231
|
+
'updatedAt[before]': z.ZodOptional<z.ZodString>;
|
|
6232
|
+
'updatedAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
6233
|
+
'updatedAt[after]': z.ZodOptional<z.ZodString>;
|
|
6234
|
+
'updatedAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
6235
|
+
}, z.core.$strip>;
|
|
6236
|
+
type GetMenuItemsFromMenuItemModifierQueryParams = z.infer<typeof getMenuItemsFromMenuItemModifierQuerySchema>;
|
|
6237
|
+
declare const getMenuItemsFromMenuItemModifierInputSchema: z.ZodUndefined;
|
|
6238
|
+
type GetMenuItemsFromMenuItemModifierInput = z.input<typeof getMenuItemsFromMenuItemModifierInputSchema>;
|
|
6239
|
+
declare const getMenuItemsFromMenuItemModifierResponseSchema: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
6240
|
+
price: z.ZodDefault<z.ZodString>;
|
|
6241
|
+
createdAt: z.ZodString;
|
|
6242
|
+
updatedAt: z.ZodString;
|
|
6243
|
+
id: z.ZodString;
|
|
6244
|
+
channels: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
6245
|
+
application: "application";
|
|
6246
|
+
ecommerce: "ecommerce";
|
|
6247
|
+
deliveroo: "deliveroo";
|
|
6248
|
+
justeat: "justeat";
|
|
6249
|
+
glovo: "glovo";
|
|
6250
|
+
}>>>;
|
|
6251
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
6252
|
+
name: z.ZodArray<z.ZodObject<{
|
|
6253
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
6254
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
6255
|
+
}, z.core.$strip>>;
|
|
6256
|
+
description: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
6257
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
6258
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
6259
|
+
}, z.core.$strip>>>;
|
|
6260
|
+
allergens: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
6261
|
+
"peanuts-and-derivatives": "peanuts-and-derivatives";
|
|
6262
|
+
crustaceans: "crustaceans";
|
|
6263
|
+
nuts: "nuts";
|
|
6264
|
+
gluten: "gluten";
|
|
6265
|
+
"milk-and-derivatives": "milk-and-derivatives";
|
|
6266
|
+
lupins: "lupins";
|
|
6267
|
+
molluscs: "molluscs";
|
|
6268
|
+
mustard: "mustard";
|
|
6269
|
+
fish: "fish";
|
|
6270
|
+
celery: "celery";
|
|
6271
|
+
sesame: "sesame";
|
|
6272
|
+
"sulfur-dioxide": "sulfur-dioxide";
|
|
6273
|
+
soy: "soy";
|
|
6274
|
+
"eggs-and-derivatives": "eggs-and-derivatives";
|
|
6275
|
+
mushrooms: "mushrooms";
|
|
6276
|
+
}>>>;
|
|
6277
|
+
diets: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
6278
|
+
vegan: "vegan";
|
|
6279
|
+
vegetarian: "vegetarian";
|
|
6280
|
+
"gluten-free": "gluten-free";
|
|
6281
|
+
"dairy-free": "dairy-free";
|
|
6282
|
+
}>>>;
|
|
6283
|
+
taxRate: z.ZodCoercedNumber<unknown>;
|
|
6284
|
+
containsAlcohol: z.ZodDefault<z.ZodBoolean>;
|
|
6285
|
+
countable: z.ZodDefault<z.ZodBoolean>;
|
|
6286
|
+
soldIndividually: z.ZodDefault<z.ZodBoolean>;
|
|
6287
|
+
suspended: z.ZodDefault<z.ZodBoolean>;
|
|
6288
|
+
salesPrices: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
6289
|
+
salesMode: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id">, unknown>>;
|
|
6290
|
+
price: z.ZodDefault<z.ZodString>;
|
|
6291
|
+
}, z.core.$strip>>>;
|
|
6292
|
+
images: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
6293
|
+
id: z.ZodString;
|
|
6294
|
+
variant: z.ZodNullable<z.ZodString>;
|
|
6295
|
+
contentUrl: z.ZodURL;
|
|
6296
|
+
filePath: z.ZodString;
|
|
6297
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
6298
|
+
createdAt: z.ZodString;
|
|
6299
|
+
updatedAt: z.ZodString;
|
|
6300
|
+
variants: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
6301
|
+
id: z.ZodString;
|
|
6302
|
+
variant: z.ZodNullable<z.ZodString>;
|
|
6303
|
+
contentUrl: z.ZodURL;
|
|
6304
|
+
filePath: z.ZodString;
|
|
6305
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
6306
|
+
createdAt: z.ZodString;
|
|
6307
|
+
updatedAt: z.ZodString;
|
|
6308
|
+
}, z.core.$strip>>>;
|
|
6309
|
+
}, z.core.$strip>>>;
|
|
6310
|
+
type: z.ZodLiteral<"CHOICE">;
|
|
6311
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
6312
|
+
price: z.ZodDefault<z.ZodString>;
|
|
6313
|
+
createdAt: z.ZodString;
|
|
6314
|
+
updatedAt: z.ZodString;
|
|
6315
|
+
id: z.ZodString;
|
|
6316
|
+
category: 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>>;
|
|
6317
|
+
channels: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
6318
|
+
application: "application";
|
|
6319
|
+
ecommerce: "ecommerce";
|
|
6320
|
+
deliveroo: "deliveroo";
|
|
6321
|
+
justeat: "justeat";
|
|
6322
|
+
glovo: "glovo";
|
|
6323
|
+
}>>>;
|
|
6324
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
6325
|
+
name: z.ZodArray<z.ZodObject<{
|
|
6326
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
6327
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
6328
|
+
}, z.core.$strip>>;
|
|
6329
|
+
description: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
6330
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
6331
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
6332
|
+
}, z.core.$strip>>>;
|
|
6333
|
+
allergens: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
6334
|
+
"peanuts-and-derivatives": "peanuts-and-derivatives";
|
|
6335
|
+
crustaceans: "crustaceans";
|
|
6336
|
+
nuts: "nuts";
|
|
6337
|
+
gluten: "gluten";
|
|
6338
|
+
"milk-and-derivatives": "milk-and-derivatives";
|
|
6339
|
+
lupins: "lupins";
|
|
6340
|
+
molluscs: "molluscs";
|
|
6341
|
+
mustard: "mustard";
|
|
6342
|
+
fish: "fish";
|
|
6343
|
+
celery: "celery";
|
|
6344
|
+
sesame: "sesame";
|
|
6345
|
+
"sulfur-dioxide": "sulfur-dioxide";
|
|
6346
|
+
soy: "soy";
|
|
6347
|
+
"eggs-and-derivatives": "eggs-and-derivatives";
|
|
6348
|
+
mushrooms: "mushrooms";
|
|
6349
|
+
}>>>;
|
|
6350
|
+
diets: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
6351
|
+
vegan: "vegan";
|
|
6352
|
+
vegetarian: "vegetarian";
|
|
6353
|
+
"gluten-free": "gluten-free";
|
|
6354
|
+
"dairy-free": "dairy-free";
|
|
6355
|
+
}>>>;
|
|
6356
|
+
taxRate: z.ZodCoercedNumber<unknown>;
|
|
6357
|
+
containsAlcohol: z.ZodDefault<z.ZodBoolean>;
|
|
6358
|
+
countable: z.ZodDefault<z.ZodBoolean>;
|
|
6359
|
+
soldIndividually: z.ZodDefault<z.ZodBoolean>;
|
|
6360
|
+
suspended: z.ZodDefault<z.ZodBoolean>;
|
|
6361
|
+
compositions: z.ZodDefault<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>>>>;
|
|
6362
|
+
modifiers: z.ZodDefault<z.ZodArray<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>>>>;
|
|
6363
|
+
variants: z.ZodDefault<z.ZodArray<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>>>>;
|
|
6364
|
+
salesPrices: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
6365
|
+
salesMode: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id">, unknown>>;
|
|
6366
|
+
price: z.ZodDefault<z.ZodString>;
|
|
6367
|
+
}, z.core.$strip>>>;
|
|
6368
|
+
images: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
6369
|
+
id: z.ZodString;
|
|
6370
|
+
variant: z.ZodNullable<z.ZodString>;
|
|
6371
|
+
contentUrl: z.ZodURL;
|
|
6372
|
+
filePath: z.ZodString;
|
|
6373
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
6374
|
+
createdAt: z.ZodString;
|
|
6375
|
+
updatedAt: z.ZodString;
|
|
6376
|
+
variants: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
6377
|
+
id: z.ZodString;
|
|
6378
|
+
variant: z.ZodNullable<z.ZodString>;
|
|
6379
|
+
contentUrl: z.ZodURL;
|
|
6380
|
+
filePath: z.ZodString;
|
|
6381
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
6382
|
+
createdAt: z.ZodString;
|
|
6383
|
+
updatedAt: z.ZodString;
|
|
6384
|
+
}, z.core.$strip>>>;
|
|
6385
|
+
}, z.core.$strip>>>;
|
|
6386
|
+
type: z.ZodLiteral<"ITEM">;
|
|
6387
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
6388
|
+
price: z.ZodDefault<z.ZodString>;
|
|
6389
|
+
createdAt: z.ZodString;
|
|
6390
|
+
updatedAt: z.ZodString;
|
|
6391
|
+
id: z.ZodString;
|
|
6392
|
+
category: 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>>;
|
|
6393
|
+
channels: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
6394
|
+
application: "application";
|
|
6395
|
+
ecommerce: "ecommerce";
|
|
6396
|
+
deliveroo: "deliveroo";
|
|
6397
|
+
justeat: "justeat";
|
|
6398
|
+
glovo: "glovo";
|
|
6399
|
+
}>>>;
|
|
6400
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
6401
|
+
name: z.ZodArray<z.ZodObject<{
|
|
6402
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
6403
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
6404
|
+
}, z.core.$strip>>;
|
|
6405
|
+
description: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
6406
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
6407
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
6408
|
+
}, z.core.$strip>>>;
|
|
6409
|
+
allergens: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
6410
|
+
"peanuts-and-derivatives": "peanuts-and-derivatives";
|
|
6411
|
+
crustaceans: "crustaceans";
|
|
6412
|
+
nuts: "nuts";
|
|
6413
|
+
gluten: "gluten";
|
|
6414
|
+
"milk-and-derivatives": "milk-and-derivatives";
|
|
6415
|
+
lupins: "lupins";
|
|
6416
|
+
molluscs: "molluscs";
|
|
6417
|
+
mustard: "mustard";
|
|
6418
|
+
fish: "fish";
|
|
6419
|
+
celery: "celery";
|
|
6420
|
+
sesame: "sesame";
|
|
6421
|
+
"sulfur-dioxide": "sulfur-dioxide";
|
|
6422
|
+
soy: "soy";
|
|
6423
|
+
"eggs-and-derivatives": "eggs-and-derivatives";
|
|
6424
|
+
mushrooms: "mushrooms";
|
|
6425
|
+
}>>>;
|
|
6426
|
+
diets: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
6427
|
+
vegan: "vegan";
|
|
6428
|
+
vegetarian: "vegetarian";
|
|
6429
|
+
"gluten-free": "gluten-free";
|
|
6430
|
+
"dairy-free": "dairy-free";
|
|
6431
|
+
}>>>;
|
|
6432
|
+
taxRate: z.ZodCoercedNumber<unknown>;
|
|
6433
|
+
containsAlcohol: z.ZodDefault<z.ZodBoolean>;
|
|
6434
|
+
countable: z.ZodDefault<z.ZodBoolean>;
|
|
6435
|
+
soldIndividually: z.ZodDefault<z.ZodBoolean>;
|
|
6436
|
+
suspended: z.ZodDefault<z.ZodBoolean>;
|
|
6437
|
+
compositions: z.ZodDefault<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>>>>;
|
|
6438
|
+
modifiers: z.ZodDefault<z.ZodArray<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>>>>;
|
|
6439
|
+
variants: z.ZodDefault<z.ZodArray<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>>>>;
|
|
6440
|
+
salesPrices: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
6441
|
+
salesMode: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id">, unknown>>;
|
|
6442
|
+
price: z.ZodDefault<z.ZodString>;
|
|
6443
|
+
}, z.core.$strip>>>;
|
|
6444
|
+
images: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
6445
|
+
id: z.ZodString;
|
|
6446
|
+
variant: z.ZodNullable<z.ZodString>;
|
|
6447
|
+
contentUrl: z.ZodURL;
|
|
6448
|
+
filePath: z.ZodString;
|
|
6449
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
6450
|
+
createdAt: z.ZodString;
|
|
6451
|
+
updatedAt: z.ZodString;
|
|
6452
|
+
variants: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
6453
|
+
id: z.ZodString;
|
|
6454
|
+
variant: z.ZodNullable<z.ZodString>;
|
|
6455
|
+
contentUrl: z.ZodURL;
|
|
6456
|
+
filePath: z.ZodString;
|
|
6457
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
6458
|
+
createdAt: z.ZodString;
|
|
6459
|
+
updatedAt: z.ZodString;
|
|
6460
|
+
}, z.core.$strip>>>;
|
|
6461
|
+
}, z.core.$strip>>>;
|
|
6462
|
+
type: z.ZodLiteral<"BUNDLE">;
|
|
6463
|
+
}, z.core.$strip>]>>;
|
|
6464
|
+
type GetMenuItemsFromMenuItemModifierResponse = z.infer<typeof getMenuItemsFromMenuItemModifierResponseSchema>;
|
|
6465
|
+
declare class GetMenuItemsFromMenuItemModifier extends AbstractApiRequest<typeof getMenuItemsFromMenuItemModifierInputSchema, typeof getMenuItemsFromMenuItemModifierResponseSchema, GetMenuItemsFromMenuItemModifierQueryParams> {
|
|
6466
|
+
readonly method = "GET";
|
|
6467
|
+
readonly contentType = "application/json";
|
|
6468
|
+
readonly accept = "application/json";
|
|
6469
|
+
readonly inputSchema: z.ZodUndefined;
|
|
6470
|
+
readonly outputSchema: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
6471
|
+
price: z.ZodDefault<z.ZodString>;
|
|
6472
|
+
createdAt: z.ZodString;
|
|
6473
|
+
updatedAt: z.ZodString;
|
|
6474
|
+
id: z.ZodString;
|
|
6475
|
+
channels: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
6476
|
+
application: "application";
|
|
6477
|
+
ecommerce: "ecommerce";
|
|
6478
|
+
deliveroo: "deliveroo";
|
|
6479
|
+
justeat: "justeat";
|
|
6480
|
+
glovo: "glovo";
|
|
6481
|
+
}>>>;
|
|
6482
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
6483
|
+
name: z.ZodArray<z.ZodObject<{
|
|
6484
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
6485
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
6486
|
+
}, z.core.$strip>>;
|
|
6487
|
+
description: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
6488
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
6489
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
6490
|
+
}, z.core.$strip>>>;
|
|
6491
|
+
allergens: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
6492
|
+
"peanuts-and-derivatives": "peanuts-and-derivatives";
|
|
6493
|
+
crustaceans: "crustaceans";
|
|
6494
|
+
nuts: "nuts";
|
|
6495
|
+
gluten: "gluten";
|
|
6496
|
+
"milk-and-derivatives": "milk-and-derivatives";
|
|
6497
|
+
lupins: "lupins";
|
|
4864
6498
|
molluscs: "molluscs";
|
|
4865
6499
|
mustard: "mustard";
|
|
4866
6500
|
fish: "fish";
|
|
@@ -5058,256 +6692,6 @@ declare const getMenuItemsFromMenuItemCategoryResponseSchema: z.ZodObject<{
|
|
|
5058
6692
|
}, z.core.$strip>>>;
|
|
5059
6693
|
type: z.ZodLiteral<"BUNDLE">;
|
|
5060
6694
|
}, z.core.$strip>]>>;
|
|
5061
|
-
pagination: z.ZodObject<{
|
|
5062
|
-
from: z.ZodCoercedNumber<unknown>;
|
|
5063
|
-
to: z.ZodCoercedNumber<unknown>;
|
|
5064
|
-
itemsPerPage: z.ZodCoercedNumber<unknown>;
|
|
5065
|
-
totalItems: z.ZodCoercedNumber<unknown>;
|
|
5066
|
-
currentPage: z.ZodCoercedNumber<unknown>;
|
|
5067
|
-
lastPage: z.ZodCoercedNumber<unknown>;
|
|
5068
|
-
}, z.core.$strip>;
|
|
5069
|
-
}, z.core.$strip>;
|
|
5070
|
-
type GetMenuItemsFromMenuItemCategoryResponse = z.infer<typeof getMenuItemsFromMenuItemCategoryResponseSchema>;
|
|
5071
|
-
declare class GetMenuItemsFromMenuItemCategory extends AbstractApiRequest<typeof getMenuItemsFromMenuItemCategoryInputSchema, typeof getMenuItemsFromMenuItemCategoryResponseSchema, GetMenuItemsFromMenuItemCategoryQueryParams> {
|
|
5072
|
-
readonly method = "GET";
|
|
5073
|
-
readonly contentType = "application/json";
|
|
5074
|
-
readonly accept = "application/json";
|
|
5075
|
-
readonly inputSchema: z.ZodUndefined;
|
|
5076
|
-
readonly outputSchema: z.ZodObject<{
|
|
5077
|
-
data: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
5078
|
-
price: z.ZodDefault<z.ZodString>;
|
|
5079
|
-
createdAt: z.ZodString;
|
|
5080
|
-
updatedAt: z.ZodString;
|
|
5081
|
-
id: z.ZodString;
|
|
5082
|
-
channels: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
5083
|
-
application: "application";
|
|
5084
|
-
ecommerce: "ecommerce";
|
|
5085
|
-
deliveroo: "deliveroo";
|
|
5086
|
-
justeat: "justeat";
|
|
5087
|
-
glovo: "glovo";
|
|
5088
|
-
}>>>;
|
|
5089
|
-
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
5090
|
-
name: z.ZodArray<z.ZodObject<{
|
|
5091
|
-
locale: z.ZodNonOptional<z.ZodString>;
|
|
5092
|
-
text: z.ZodNonOptional<z.ZodString>;
|
|
5093
|
-
}, z.core.$strip>>;
|
|
5094
|
-
description: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5095
|
-
locale: z.ZodNonOptional<z.ZodString>;
|
|
5096
|
-
text: z.ZodNonOptional<z.ZodString>;
|
|
5097
|
-
}, z.core.$strip>>>;
|
|
5098
|
-
allergens: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
5099
|
-
"peanuts-and-derivatives": "peanuts-and-derivatives";
|
|
5100
|
-
crustaceans: "crustaceans";
|
|
5101
|
-
nuts: "nuts";
|
|
5102
|
-
gluten: "gluten";
|
|
5103
|
-
"milk-and-derivatives": "milk-and-derivatives";
|
|
5104
|
-
lupins: "lupins";
|
|
5105
|
-
molluscs: "molluscs";
|
|
5106
|
-
mustard: "mustard";
|
|
5107
|
-
fish: "fish";
|
|
5108
|
-
celery: "celery";
|
|
5109
|
-
sesame: "sesame";
|
|
5110
|
-
"sulfur-dioxide": "sulfur-dioxide";
|
|
5111
|
-
soy: "soy";
|
|
5112
|
-
"eggs-and-derivatives": "eggs-and-derivatives";
|
|
5113
|
-
mushrooms: "mushrooms";
|
|
5114
|
-
}>>>;
|
|
5115
|
-
diets: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
5116
|
-
vegan: "vegan";
|
|
5117
|
-
vegetarian: "vegetarian";
|
|
5118
|
-
"gluten-free": "gluten-free";
|
|
5119
|
-
"dairy-free": "dairy-free";
|
|
5120
|
-
}>>>;
|
|
5121
|
-
taxRate: z.ZodCoercedNumber<unknown>;
|
|
5122
|
-
containsAlcohol: z.ZodDefault<z.ZodBoolean>;
|
|
5123
|
-
countable: z.ZodDefault<z.ZodBoolean>;
|
|
5124
|
-
soldIndividually: z.ZodDefault<z.ZodBoolean>;
|
|
5125
|
-
suspended: z.ZodDefault<z.ZodBoolean>;
|
|
5126
|
-
salesPrices: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5127
|
-
salesMode: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id">, unknown>>;
|
|
5128
|
-
price: z.ZodDefault<z.ZodString>;
|
|
5129
|
-
}, z.core.$strip>>>;
|
|
5130
|
-
images: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5131
|
-
id: z.ZodString;
|
|
5132
|
-
variant: z.ZodNullable<z.ZodString>;
|
|
5133
|
-
contentUrl: z.ZodURL;
|
|
5134
|
-
filePath: z.ZodString;
|
|
5135
|
-
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
5136
|
-
createdAt: z.ZodString;
|
|
5137
|
-
updatedAt: z.ZodString;
|
|
5138
|
-
variants: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5139
|
-
id: z.ZodString;
|
|
5140
|
-
variant: z.ZodNullable<z.ZodString>;
|
|
5141
|
-
contentUrl: z.ZodURL;
|
|
5142
|
-
filePath: z.ZodString;
|
|
5143
|
-
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
5144
|
-
createdAt: z.ZodString;
|
|
5145
|
-
updatedAt: z.ZodString;
|
|
5146
|
-
}, z.core.$strip>>>;
|
|
5147
|
-
}, z.core.$strip>>>;
|
|
5148
|
-
type: z.ZodLiteral<"CHOICE">;
|
|
5149
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
5150
|
-
price: z.ZodDefault<z.ZodString>;
|
|
5151
|
-
createdAt: z.ZodString;
|
|
5152
|
-
updatedAt: z.ZodString;
|
|
5153
|
-
id: z.ZodString;
|
|
5154
|
-
category: 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>>;
|
|
5155
|
-
channels: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
5156
|
-
application: "application";
|
|
5157
|
-
ecommerce: "ecommerce";
|
|
5158
|
-
deliveroo: "deliveroo";
|
|
5159
|
-
justeat: "justeat";
|
|
5160
|
-
glovo: "glovo";
|
|
5161
|
-
}>>>;
|
|
5162
|
-
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
5163
|
-
name: z.ZodArray<z.ZodObject<{
|
|
5164
|
-
locale: z.ZodNonOptional<z.ZodString>;
|
|
5165
|
-
text: z.ZodNonOptional<z.ZodString>;
|
|
5166
|
-
}, z.core.$strip>>;
|
|
5167
|
-
description: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5168
|
-
locale: z.ZodNonOptional<z.ZodString>;
|
|
5169
|
-
text: z.ZodNonOptional<z.ZodString>;
|
|
5170
|
-
}, z.core.$strip>>>;
|
|
5171
|
-
allergens: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
5172
|
-
"peanuts-and-derivatives": "peanuts-and-derivatives";
|
|
5173
|
-
crustaceans: "crustaceans";
|
|
5174
|
-
nuts: "nuts";
|
|
5175
|
-
gluten: "gluten";
|
|
5176
|
-
"milk-and-derivatives": "milk-and-derivatives";
|
|
5177
|
-
lupins: "lupins";
|
|
5178
|
-
molluscs: "molluscs";
|
|
5179
|
-
mustard: "mustard";
|
|
5180
|
-
fish: "fish";
|
|
5181
|
-
celery: "celery";
|
|
5182
|
-
sesame: "sesame";
|
|
5183
|
-
"sulfur-dioxide": "sulfur-dioxide";
|
|
5184
|
-
soy: "soy";
|
|
5185
|
-
"eggs-and-derivatives": "eggs-and-derivatives";
|
|
5186
|
-
mushrooms: "mushrooms";
|
|
5187
|
-
}>>>;
|
|
5188
|
-
diets: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
5189
|
-
vegan: "vegan";
|
|
5190
|
-
vegetarian: "vegetarian";
|
|
5191
|
-
"gluten-free": "gluten-free";
|
|
5192
|
-
"dairy-free": "dairy-free";
|
|
5193
|
-
}>>>;
|
|
5194
|
-
taxRate: z.ZodCoercedNumber<unknown>;
|
|
5195
|
-
containsAlcohol: z.ZodDefault<z.ZodBoolean>;
|
|
5196
|
-
countable: z.ZodDefault<z.ZodBoolean>;
|
|
5197
|
-
soldIndividually: z.ZodDefault<z.ZodBoolean>;
|
|
5198
|
-
suspended: z.ZodDefault<z.ZodBoolean>;
|
|
5199
|
-
compositions: z.ZodDefault<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>>>>;
|
|
5200
|
-
modifiers: z.ZodDefault<z.ZodArray<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>>>>;
|
|
5201
|
-
variants: z.ZodDefault<z.ZodArray<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>>>>;
|
|
5202
|
-
salesPrices: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5203
|
-
salesMode: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id">, unknown>>;
|
|
5204
|
-
price: z.ZodDefault<z.ZodString>;
|
|
5205
|
-
}, z.core.$strip>>>;
|
|
5206
|
-
images: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5207
|
-
id: z.ZodString;
|
|
5208
|
-
variant: z.ZodNullable<z.ZodString>;
|
|
5209
|
-
contentUrl: z.ZodURL;
|
|
5210
|
-
filePath: z.ZodString;
|
|
5211
|
-
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
5212
|
-
createdAt: z.ZodString;
|
|
5213
|
-
updatedAt: z.ZodString;
|
|
5214
|
-
variants: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5215
|
-
id: z.ZodString;
|
|
5216
|
-
variant: z.ZodNullable<z.ZodString>;
|
|
5217
|
-
contentUrl: z.ZodURL;
|
|
5218
|
-
filePath: z.ZodString;
|
|
5219
|
-
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
5220
|
-
createdAt: z.ZodString;
|
|
5221
|
-
updatedAt: z.ZodString;
|
|
5222
|
-
}, z.core.$strip>>>;
|
|
5223
|
-
}, z.core.$strip>>>;
|
|
5224
|
-
type: z.ZodLiteral<"ITEM">;
|
|
5225
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
5226
|
-
price: z.ZodDefault<z.ZodString>;
|
|
5227
|
-
createdAt: z.ZodString;
|
|
5228
|
-
updatedAt: z.ZodString;
|
|
5229
|
-
id: z.ZodString;
|
|
5230
|
-
category: 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>>;
|
|
5231
|
-
channels: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
5232
|
-
application: "application";
|
|
5233
|
-
ecommerce: "ecommerce";
|
|
5234
|
-
deliveroo: "deliveroo";
|
|
5235
|
-
justeat: "justeat";
|
|
5236
|
-
glovo: "glovo";
|
|
5237
|
-
}>>>;
|
|
5238
|
-
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
5239
|
-
name: z.ZodArray<z.ZodObject<{
|
|
5240
|
-
locale: z.ZodNonOptional<z.ZodString>;
|
|
5241
|
-
text: z.ZodNonOptional<z.ZodString>;
|
|
5242
|
-
}, z.core.$strip>>;
|
|
5243
|
-
description: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5244
|
-
locale: z.ZodNonOptional<z.ZodString>;
|
|
5245
|
-
text: z.ZodNonOptional<z.ZodString>;
|
|
5246
|
-
}, z.core.$strip>>>;
|
|
5247
|
-
allergens: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
5248
|
-
"peanuts-and-derivatives": "peanuts-and-derivatives";
|
|
5249
|
-
crustaceans: "crustaceans";
|
|
5250
|
-
nuts: "nuts";
|
|
5251
|
-
gluten: "gluten";
|
|
5252
|
-
"milk-and-derivatives": "milk-and-derivatives";
|
|
5253
|
-
lupins: "lupins";
|
|
5254
|
-
molluscs: "molluscs";
|
|
5255
|
-
mustard: "mustard";
|
|
5256
|
-
fish: "fish";
|
|
5257
|
-
celery: "celery";
|
|
5258
|
-
sesame: "sesame";
|
|
5259
|
-
"sulfur-dioxide": "sulfur-dioxide";
|
|
5260
|
-
soy: "soy";
|
|
5261
|
-
"eggs-and-derivatives": "eggs-and-derivatives";
|
|
5262
|
-
mushrooms: "mushrooms";
|
|
5263
|
-
}>>>;
|
|
5264
|
-
diets: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
5265
|
-
vegan: "vegan";
|
|
5266
|
-
vegetarian: "vegetarian";
|
|
5267
|
-
"gluten-free": "gluten-free";
|
|
5268
|
-
"dairy-free": "dairy-free";
|
|
5269
|
-
}>>>;
|
|
5270
|
-
taxRate: z.ZodCoercedNumber<unknown>;
|
|
5271
|
-
containsAlcohol: z.ZodDefault<z.ZodBoolean>;
|
|
5272
|
-
countable: z.ZodDefault<z.ZodBoolean>;
|
|
5273
|
-
soldIndividually: z.ZodDefault<z.ZodBoolean>;
|
|
5274
|
-
suspended: z.ZodDefault<z.ZodBoolean>;
|
|
5275
|
-
compositions: z.ZodDefault<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>>>>;
|
|
5276
|
-
modifiers: z.ZodDefault<z.ZodArray<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>>>>;
|
|
5277
|
-
variants: z.ZodDefault<z.ZodArray<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>>>>;
|
|
5278
|
-
salesPrices: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5279
|
-
salesMode: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id">, unknown>>;
|
|
5280
|
-
price: z.ZodDefault<z.ZodString>;
|
|
5281
|
-
}, z.core.$strip>>>;
|
|
5282
|
-
images: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5283
|
-
id: z.ZodString;
|
|
5284
|
-
variant: z.ZodNullable<z.ZodString>;
|
|
5285
|
-
contentUrl: z.ZodURL;
|
|
5286
|
-
filePath: z.ZodString;
|
|
5287
|
-
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
5288
|
-
createdAt: z.ZodString;
|
|
5289
|
-
updatedAt: z.ZodString;
|
|
5290
|
-
variants: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5291
|
-
id: z.ZodString;
|
|
5292
|
-
variant: z.ZodNullable<z.ZodString>;
|
|
5293
|
-
contentUrl: z.ZodURL;
|
|
5294
|
-
filePath: z.ZodString;
|
|
5295
|
-
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
5296
|
-
createdAt: z.ZodString;
|
|
5297
|
-
updatedAt: z.ZodString;
|
|
5298
|
-
}, z.core.$strip>>>;
|
|
5299
|
-
}, z.core.$strip>>>;
|
|
5300
|
-
type: z.ZodLiteral<"BUNDLE">;
|
|
5301
|
-
}, z.core.$strip>]>>;
|
|
5302
|
-
pagination: z.ZodObject<{
|
|
5303
|
-
from: z.ZodCoercedNumber<unknown>;
|
|
5304
|
-
to: z.ZodCoercedNumber<unknown>;
|
|
5305
|
-
itemsPerPage: z.ZodCoercedNumber<unknown>;
|
|
5306
|
-
totalItems: z.ZodCoercedNumber<unknown>;
|
|
5307
|
-
currentPage: z.ZodCoercedNumber<unknown>;
|
|
5308
|
-
lastPage: z.ZodCoercedNumber<unknown>;
|
|
5309
|
-
}, z.core.$strip>;
|
|
5310
|
-
}, z.core.$strip>;
|
|
5311
6695
|
readonly querySchema: z.ZodObject<{
|
|
5312
6696
|
countable: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
5313
6697
|
soldIndividually: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
@@ -5359,12 +6743,12 @@ declare class GetMenuItemsFromMenuItemCategory extends AbstractApiRequest<typeof
|
|
|
5359
6743
|
'updatedAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
5360
6744
|
}, z.core.$strip>;
|
|
5361
6745
|
readonly headersSchema: undefined;
|
|
5362
|
-
private readonly
|
|
5363
|
-
constructor(
|
|
5364
|
-
query?:
|
|
6746
|
+
private readonly menuItemModifierId;
|
|
6747
|
+
constructor(menuItemModifierId: string, options?: {
|
|
6748
|
+
query?: GetMenuItemsFromMenuItemModifierQueryParams;
|
|
5365
6749
|
});
|
|
5366
6750
|
getPath(): string;
|
|
5367
|
-
parseResponse(data: unknown
|
|
6751
|
+
parseResponse(data: unknown): MenuItem[];
|
|
5368
6752
|
}
|
|
5369
6753
|
|
|
5370
6754
|
declare const getMenuItemsFromPointOfSaleQuerySchema: z.ZodObject<{
|
|
@@ -6657,4 +8041,4 @@ type MenuItemPriceOverrideSalesPriceIri = z.infer<typeof menuItemPriceOverrideSa
|
|
|
6657
8041
|
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>>;
|
|
6658
8042
|
type MenuItemPriceOverrideSalesPriceNullableIri = z.infer<typeof menuItemPriceOverrideSalesPriceNullableIriSchema>;
|
|
6659
8043
|
|
|
6660
|
-
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, type GetMenuItemPriceOverridesInput, type GetMenuItemPriceOverridesQueryParams, type GetMenuItemPriceOverridesResponse, GetMenuItems, GetMenuItemsFromMenuItemCategory, type GetMenuItemsFromMenuItemCategoryInput, type GetMenuItemsFromMenuItemCategoryQueryParams, type GetMenuItemsFromMenuItemCategoryResponse, 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, getMenuItemPriceOverridesInputSchema, getMenuItemPriceOverridesQuerySchema, getMenuItemPriceOverridesResponseSchema, getMenuItemsFromMenuItemCategoryInputSchema, getMenuItemsFromMenuItemCategoryQuerySchema, getMenuItemsFromMenuItemCategoryResponseSchema, 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 };
|
|
8044
|
+
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 };
|