@deliverart/sdk-js-menu 2.5.8 → 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 +154 -20
- package/dist/index.d.cts +1671 -287
- package/dist/index.d.ts +1671 -287
- package/dist/index.js +138 -20
- package/package.json +6 -6
package/dist/index.d.cts
CHANGED
|
@@ -3029,6 +3029,254 @@ declare class GetMenuItemPriceOverrides extends AbstractApiRequest<typeof getMen
|
|
|
3029
3029
|
parseResponse(data: unknown, rawResponse: Response): Paginated<MenuItemPriceOverride>;
|
|
3030
3030
|
}
|
|
3031
3031
|
|
|
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<{
|
|
3068
|
+
type: z.ZodLiteral<"ITEM">;
|
|
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>>;
|
|
3070
|
+
fromModifier: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3071
|
+
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>>;
|
|
3072
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3073
|
+
type: z.ZodLiteral<"MODIFIER">;
|
|
3074
|
+
fromItem: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
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>>;
|
|
3076
|
+
}, z.core.$strip>]>, z.ZodObject<{
|
|
3077
|
+
id: z.ZodString;
|
|
3078
|
+
price: z.ZodString;
|
|
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>>;
|
|
3080
|
+
suspended: z.ZodBoolean;
|
|
3081
|
+
salesPrices: z.ZodArray<z.ZodObject<{
|
|
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>>;
|
|
3083
|
+
price: z.ZodDefault<z.ZodString>;
|
|
3084
|
+
}, z.core.$strip>>;
|
|
3085
|
+
createdAt: z.ZodString;
|
|
3086
|
+
updatedAt: z.ZodString;
|
|
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";
|
|
3092
|
+
readonly accept = "application/json";
|
|
3093
|
+
readonly inputSchema: z.ZodUndefined;
|
|
3094
|
+
readonly outputSchema: z.ZodArray<z.ZodIntersection<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3095
|
+
type: z.ZodLiteral<"ITEM">;
|
|
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>>;
|
|
3097
|
+
fromModifier: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3098
|
+
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>>;
|
|
3099
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3100
|
+
type: z.ZodLiteral<"MODIFIER">;
|
|
3101
|
+
fromItem: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
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>>;
|
|
3103
|
+
}, z.core.$strip>]>, z.ZodObject<{
|
|
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
|
+
|
|
3032
3280
|
declare const updateMenuItemPriceOverrideInputSchema: z.ZodIntersection<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3033
3281
|
type: z.ZodLiteral<"ITEM">;
|
|
3034
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>>;
|
|
@@ -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,37 +5077,1423 @@ 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
|
-
|
|
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";
|
|
4863
6497
|
lupins: "lupins";
|
|
4864
6498
|
molluscs: "molluscs";
|
|
4865
6499
|
mustard: "mustard";
|
|
@@ -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 };
|