@nextorders/food-schema 0.3.2 → 0.3.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +3 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.mjs +2 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -1365,6 +1365,7 @@ declare const GatewayGetOptionsResponseSchema: z.ZodObject<{
|
|
|
1365
1365
|
}, z.core.$strip>>>;
|
|
1366
1366
|
headStyles: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1367
1367
|
addressSuggestEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
1368
|
+
deliveryZonesEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
1368
1369
|
}, z.core.$strip>;
|
|
1369
1370
|
}, z.core.$strip>;
|
|
1370
1371
|
type GatewayGetOptionsResponse = z.infer<typeof GatewayGetOptionsResponseSchema>;
|
|
@@ -3068,6 +3069,7 @@ declare const GatewayResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
3068
3069
|
}, z.core.$strip>>>;
|
|
3069
3070
|
headStyles: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3070
3071
|
addressSuggestEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
3072
|
+
deliveryZonesEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
3071
3073
|
}, z.core.$strip>;
|
|
3072
3074
|
}, z.core.$strip>, z.ZodObject<{
|
|
3073
3075
|
ok: z.ZodBoolean;
|
|
@@ -4933,6 +4935,7 @@ declare const OptionsSchema: z.ZodObject<{
|
|
|
4933
4935
|
}, z.core.$strip>>>;
|
|
4934
4936
|
headStyles: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4935
4937
|
addressSuggestEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
4938
|
+
deliveryZonesEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
4936
4939
|
}, z.core.$strip>;
|
|
4937
4940
|
type Options = z.infer<typeof OptionsSchema>;
|
|
4938
4941
|
|
package/dist/index.d.ts
CHANGED
|
@@ -1365,6 +1365,7 @@ declare const GatewayGetOptionsResponseSchema: z.ZodObject<{
|
|
|
1365
1365
|
}, z.core.$strip>>>;
|
|
1366
1366
|
headStyles: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1367
1367
|
addressSuggestEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
1368
|
+
deliveryZonesEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
1368
1369
|
}, z.core.$strip>;
|
|
1369
1370
|
}, z.core.$strip>;
|
|
1370
1371
|
type GatewayGetOptionsResponse = z.infer<typeof GatewayGetOptionsResponseSchema>;
|
|
@@ -3068,6 +3069,7 @@ declare const GatewayResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
3068
3069
|
}, z.core.$strip>>>;
|
|
3069
3070
|
headStyles: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3070
3071
|
addressSuggestEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
3072
|
+
deliveryZonesEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
3071
3073
|
}, z.core.$strip>;
|
|
3072
3074
|
}, z.core.$strip>, z.ZodObject<{
|
|
3073
3075
|
ok: z.ZodBoolean;
|
|
@@ -4933,6 +4935,7 @@ declare const OptionsSchema: z.ZodObject<{
|
|
|
4933
4935
|
}, z.core.$strip>>>;
|
|
4934
4936
|
headStyles: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4935
4937
|
addressSuggestEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
4938
|
+
deliveryZonesEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
4936
4939
|
}, z.core.$strip>;
|
|
4937
4940
|
type Options = z.infer<typeof OptionsSchema>;
|
|
4938
4941
|
|
package/dist/index.mjs
CHANGED
|
@@ -493,7 +493,8 @@ const OptionsSchema = z.object({
|
|
|
493
493
|
headLinks: HeadLinkSchema.array().optional(),
|
|
494
494
|
headScripts: HeadScriptSchema.array().optional(),
|
|
495
495
|
headStyles: HeadStyleSchema.array().optional(),
|
|
496
|
-
addressSuggestEnabled: z.boolean().optional()
|
|
496
|
+
addressSuggestEnabled: z.boolean().optional(),
|
|
497
|
+
deliveryZonesEnabled: z.boolean().optional()
|
|
497
498
|
});
|
|
498
499
|
|
|
499
500
|
const DeliveryMethodSchema = z.enum([
|