Wocart

@wocart/storefront v3.1.0


@wocart/storefront / index / DeliverySelectionSchema

Variable: DeliverySelectionSchema

const DeliverySelectionSchema: z.ZodObject<{ address: z.ZodOptional<z.ZodNullable<z.ZodString>>; communeId: z.ZodString; deliveryType: z.ZodEnum<{ home: "home"; stop_desk: "stop_desk"; }>; wilayaId: z.ZodNumber; }, z.core.$strip>

Shopper's selected delivery mode and destination. Policy decides whether address is required.