@deliverart/sdk-js-menu 2.5.7 → 2.5.8
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 +12 -12
- package/dist/index.d.cts +200 -200
- package/dist/index.d.ts +200 -200
- package/dist/index.js +12 -12
- 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>>>;
|
|
@@ -3059,13 +3059,13 @@ declare const updateMenuItemPriceOverrideResponseSchema: z.ZodIntersection<z.Zod
|
|
|
3059
3059
|
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
3060
|
}, z.core.$strip>]>, z.ZodObject<{
|
|
3061
3061
|
id: z.ZodString;
|
|
3062
|
-
price: z.
|
|
3062
|
+
price: z.ZodString;
|
|
3063
3063
|
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.
|
|
3064
|
+
suspended: z.ZodBoolean;
|
|
3065
|
+
salesPrices: z.ZodArray<z.ZodObject<{
|
|
3066
3066
|
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
3067
|
price: z.ZodDefault<z.ZodString>;
|
|
3068
|
-
}, z.core.$strip
|
|
3068
|
+
}, z.core.$strip>>;
|
|
3069
3069
|
createdAt: z.ZodString;
|
|
3070
3070
|
updatedAt: z.ZodString;
|
|
3071
3071
|
}, z.core.$strip>>;
|
|
@@ -3103,13 +3103,13 @@ declare class UpdateMenuItemPriceOverride extends AbstractApiRequest<typeof upda
|
|
|
3103
3103
|
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
3104
|
}, z.core.$strip>]>, z.ZodObject<{
|
|
3105
3105
|
id: z.ZodString;
|
|
3106
|
-
price: z.
|
|
3106
|
+
price: z.ZodString;
|
|
3107
3107
|
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.
|
|
3108
|
+
suspended: z.ZodBoolean;
|
|
3109
|
+
salesPrices: z.ZodArray<z.ZodObject<{
|
|
3110
3110
|
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
3111
|
price: z.ZodDefault<z.ZodString>;
|
|
3112
|
-
}, z.core.$strip
|
|
3112
|
+
}, z.core.$strip>>;
|
|
3113
3113
|
createdAt: z.ZodString;
|
|
3114
3114
|
updatedAt: z.ZodString;
|
|
3115
3115
|
}, z.core.$strip>>;
|