@nextorders/food-schema 0.2.7 → 0.3.1
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 +185 -66
- package/dist/index.d.ts +185 -66
- package/dist/index.mjs +45 -25
- package/package.json +2 -3
package/dist/index.d.mts
CHANGED
|
@@ -209,7 +209,12 @@ declare const LinkSchema: z.ZodObject<{
|
|
|
209
209
|
value: z.ZodString;
|
|
210
210
|
}, z.core.$strip>>>;
|
|
211
211
|
icon: z.ZodOptional<z.ZodString>;
|
|
212
|
-
target: z.ZodOptional<z.
|
|
212
|
+
target: z.ZodOptional<z.ZodEnum<{
|
|
213
|
+
_blank: "_blank";
|
|
214
|
+
_self: "_self";
|
|
215
|
+
_parent: "_parent";
|
|
216
|
+
_top: "_top";
|
|
217
|
+
}>>;
|
|
213
218
|
}, z.core.$strip>;
|
|
214
219
|
type Link = z.infer<typeof LinkSchema>;
|
|
215
220
|
declare const LinksSchema: z.ZodObject<{
|
|
@@ -232,7 +237,12 @@ declare const LinksSchema: z.ZodObject<{
|
|
|
232
237
|
value: z.ZodString;
|
|
233
238
|
}, z.core.$strip>>>;
|
|
234
239
|
icon: z.ZodOptional<z.ZodString>;
|
|
235
|
-
target: z.ZodOptional<z.
|
|
240
|
+
target: z.ZodOptional<z.ZodEnum<{
|
|
241
|
+
_blank: "_blank";
|
|
242
|
+
_self: "_self";
|
|
243
|
+
_parent: "_parent";
|
|
244
|
+
_top: "_top";
|
|
245
|
+
}>>;
|
|
236
246
|
}, z.core.$strip>>;
|
|
237
247
|
footer: z.ZodArray<z.ZodObject<{
|
|
238
248
|
to: z.ZodString;
|
|
@@ -253,7 +263,12 @@ declare const LinksSchema: z.ZodObject<{
|
|
|
253
263
|
value: z.ZodString;
|
|
254
264
|
}, z.core.$strip>>>;
|
|
255
265
|
icon: z.ZodOptional<z.ZodString>;
|
|
256
|
-
target: z.ZodOptional<z.
|
|
266
|
+
target: z.ZodOptional<z.ZodEnum<{
|
|
267
|
+
_blank: "_blank";
|
|
268
|
+
_self: "_self";
|
|
269
|
+
_parent: "_parent";
|
|
270
|
+
_top: "_top";
|
|
271
|
+
}>>;
|
|
257
272
|
}, z.core.$strip>>;
|
|
258
273
|
social: z.ZodArray<z.ZodObject<{
|
|
259
274
|
to: z.ZodString;
|
|
@@ -274,7 +289,12 @@ declare const LinksSchema: z.ZodObject<{
|
|
|
274
289
|
value: z.ZodString;
|
|
275
290
|
}, z.core.$strip>>>;
|
|
276
291
|
icon: z.ZodOptional<z.ZodString>;
|
|
277
|
-
target: z.ZodOptional<z.
|
|
292
|
+
target: z.ZodOptional<z.ZodEnum<{
|
|
293
|
+
_blank: "_blank";
|
|
294
|
+
_self: "_self";
|
|
295
|
+
_parent: "_parent";
|
|
296
|
+
_top: "_top";
|
|
297
|
+
}>>;
|
|
278
298
|
}, z.core.$strip>>;
|
|
279
299
|
}, z.core.$strip>;
|
|
280
300
|
type Links = z.infer<typeof LinksSchema>;
|
|
@@ -583,7 +603,12 @@ declare const ChannelSchema: z.ZodObject<{
|
|
|
583
603
|
value: z.ZodString;
|
|
584
604
|
}, z.core.$strip>>>;
|
|
585
605
|
icon: z.ZodOptional<z.ZodString>;
|
|
586
|
-
target: z.ZodOptional<z.
|
|
606
|
+
target: z.ZodOptional<z.ZodEnum<{
|
|
607
|
+
_blank: "_blank";
|
|
608
|
+
_self: "_self";
|
|
609
|
+
_parent: "_parent";
|
|
610
|
+
_top: "_top";
|
|
611
|
+
}>>;
|
|
587
612
|
}, z.core.$strip>>;
|
|
588
613
|
footer: z.ZodArray<z.ZodObject<{
|
|
589
614
|
to: z.ZodString;
|
|
@@ -604,7 +629,12 @@ declare const ChannelSchema: z.ZodObject<{
|
|
|
604
629
|
value: z.ZodString;
|
|
605
630
|
}, z.core.$strip>>>;
|
|
606
631
|
icon: z.ZodOptional<z.ZodString>;
|
|
607
|
-
target: z.ZodOptional<z.
|
|
632
|
+
target: z.ZodOptional<z.ZodEnum<{
|
|
633
|
+
_blank: "_blank";
|
|
634
|
+
_self: "_self";
|
|
635
|
+
_parent: "_parent";
|
|
636
|
+
_top: "_top";
|
|
637
|
+
}>>;
|
|
608
638
|
}, z.core.$strip>>;
|
|
609
639
|
social: z.ZodArray<z.ZodObject<{
|
|
610
640
|
to: z.ZodString;
|
|
@@ -625,7 +655,12 @@ declare const ChannelSchema: z.ZodObject<{
|
|
|
625
655
|
value: z.ZodString;
|
|
626
656
|
}, z.core.$strip>>>;
|
|
627
657
|
icon: z.ZodOptional<z.ZodString>;
|
|
628
|
-
target: z.ZodOptional<z.
|
|
658
|
+
target: z.ZodOptional<z.ZodEnum<{
|
|
659
|
+
_blank: "_blank";
|
|
660
|
+
_self: "_self";
|
|
661
|
+
_parent: "_parent";
|
|
662
|
+
_top: "_top";
|
|
663
|
+
}>>;
|
|
629
664
|
}, z.core.$strip>>;
|
|
630
665
|
}, z.core.$strip>>;
|
|
631
666
|
}, z.core.$strip>;
|
|
@@ -951,6 +986,7 @@ declare const GatewayActionTypeSchema: z.ZodEnum<{
|
|
|
951
986
|
getDeliveryByCourierStatus: "getDeliveryByCourierStatus";
|
|
952
987
|
getSelfPickupStatus: "getSelfPickupStatus";
|
|
953
988
|
getTimeSlots: "getTimeSlots";
|
|
989
|
+
suggestAddresses: "suggestAddresses";
|
|
954
990
|
}>;
|
|
955
991
|
type GatewayActionType = z.infer<typeof GatewayActionTypeSchema>;
|
|
956
992
|
/**
|
|
@@ -971,6 +1007,7 @@ declare const GatewayRequestSchema: z.ZodObject<{
|
|
|
971
1007
|
getDeliveryByCourierStatus: "getDeliveryByCourierStatus";
|
|
972
1008
|
getSelfPickupStatus: "getSelfPickupStatus";
|
|
973
1009
|
getTimeSlots: "getTimeSlots";
|
|
1010
|
+
suggestAddresses: "suggestAddresses";
|
|
974
1011
|
}>;
|
|
975
1012
|
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
976
1013
|
body: z.ZodOptional<z.ZodUnknown>;
|
|
@@ -981,7 +1018,7 @@ type GatewayRequest = z.infer<typeof GatewayRequestSchema>;
|
|
|
981
1018
|
*/
|
|
982
1019
|
declare const BaseResponseSchema: z.ZodObject<{
|
|
983
1020
|
ok: z.ZodBoolean;
|
|
984
|
-
error: z.ZodOptional<z.
|
|
1021
|
+
error: z.ZodOptional<z.ZodString>;
|
|
985
1022
|
}, z.core.$strip>;
|
|
986
1023
|
declare const GatewayGetOptionsRequestSchema: z.ZodObject<{
|
|
987
1024
|
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
@@ -991,7 +1028,7 @@ declare const GatewayGetOptionsRequestSchema: z.ZodObject<{
|
|
|
991
1028
|
type GatewayGetOptionsRequest = z.infer<typeof GatewayGetOptionsRequestSchema>;
|
|
992
1029
|
declare const GatewayGetOptionsResponseSchema: z.ZodObject<{
|
|
993
1030
|
ok: z.ZodBoolean;
|
|
994
|
-
error: z.ZodOptional<z.
|
|
1031
|
+
error: z.ZodOptional<z.ZodString>;
|
|
995
1032
|
type: z.ZodLiteral<"getOptions">;
|
|
996
1033
|
result: z.ZodObject<{
|
|
997
1034
|
selectorTitle: z.ZodArray<z.ZodObject<{
|
|
@@ -1026,7 +1063,7 @@ declare const GatewayGetOptionsResponseSchema: z.ZodObject<{
|
|
|
1026
1063
|
}>;
|
|
1027
1064
|
value: z.ZodString;
|
|
1028
1065
|
}, z.core.$strip>>>;
|
|
1029
|
-
logoUrl: z.
|
|
1066
|
+
logoUrl: z.ZodOptional<z.ZodString>;
|
|
1030
1067
|
availableLocales: z.ZodArray<z.ZodEnum<{
|
|
1031
1068
|
de: "de";
|
|
1032
1069
|
el: "el";
|
|
@@ -1325,6 +1362,7 @@ declare const GatewayGetOptionsResponseSchema: z.ZodObject<{
|
|
|
1325
1362
|
textContent: z.ZodOptional<z.ZodString>;
|
|
1326
1363
|
}, z.core.$strip>>>;
|
|
1327
1364
|
headStyles: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1365
|
+
addressSuggestEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
1328
1366
|
}, z.core.$strip>;
|
|
1329
1367
|
}, z.core.$strip>;
|
|
1330
1368
|
type GatewayGetOptionsResponse = z.infer<typeof GatewayGetOptionsResponseSchema>;
|
|
@@ -1336,7 +1374,7 @@ declare const GatewayGetChannelsRequestSchema: z.ZodObject<{
|
|
|
1336
1374
|
type GatewayGetChannelsRequest = z.infer<typeof GatewayGetChannelsRequestSchema>;
|
|
1337
1375
|
declare const GatewayGetChannelsResponseSchema: z.ZodObject<{
|
|
1338
1376
|
ok: z.ZodBoolean;
|
|
1339
|
-
error: z.ZodOptional<z.
|
|
1377
|
+
error: z.ZodOptional<z.ZodString>;
|
|
1340
1378
|
type: z.ZodLiteral<"getChannels">;
|
|
1341
1379
|
result: z.ZodArray<z.ZodObject<{
|
|
1342
1380
|
id: z.ZodString;
|
|
@@ -1643,7 +1681,12 @@ declare const GatewayGetChannelsResponseSchema: z.ZodObject<{
|
|
|
1643
1681
|
value: z.ZodString;
|
|
1644
1682
|
}, z.core.$strip>>>;
|
|
1645
1683
|
icon: z.ZodOptional<z.ZodString>;
|
|
1646
|
-
target: z.ZodOptional<z.
|
|
1684
|
+
target: z.ZodOptional<z.ZodEnum<{
|
|
1685
|
+
_blank: "_blank";
|
|
1686
|
+
_self: "_self";
|
|
1687
|
+
_parent: "_parent";
|
|
1688
|
+
_top: "_top";
|
|
1689
|
+
}>>;
|
|
1647
1690
|
}, z.core.$strip>>;
|
|
1648
1691
|
footer: z.ZodArray<z.ZodObject<{
|
|
1649
1692
|
to: z.ZodString;
|
|
@@ -1664,7 +1707,12 @@ declare const GatewayGetChannelsResponseSchema: z.ZodObject<{
|
|
|
1664
1707
|
value: z.ZodString;
|
|
1665
1708
|
}, z.core.$strip>>>;
|
|
1666
1709
|
icon: z.ZodOptional<z.ZodString>;
|
|
1667
|
-
target: z.ZodOptional<z.
|
|
1710
|
+
target: z.ZodOptional<z.ZodEnum<{
|
|
1711
|
+
_blank: "_blank";
|
|
1712
|
+
_self: "_self";
|
|
1713
|
+
_parent: "_parent";
|
|
1714
|
+
_top: "_top";
|
|
1715
|
+
}>>;
|
|
1668
1716
|
}, z.core.$strip>>;
|
|
1669
1717
|
social: z.ZodArray<z.ZodObject<{
|
|
1670
1718
|
to: z.ZodString;
|
|
@@ -1685,7 +1733,12 @@ declare const GatewayGetChannelsResponseSchema: z.ZodObject<{
|
|
|
1685
1733
|
value: z.ZodString;
|
|
1686
1734
|
}, z.core.$strip>>>;
|
|
1687
1735
|
icon: z.ZodOptional<z.ZodString>;
|
|
1688
|
-
target: z.ZodOptional<z.
|
|
1736
|
+
target: z.ZodOptional<z.ZodEnum<{
|
|
1737
|
+
_blank: "_blank";
|
|
1738
|
+
_self: "_self";
|
|
1739
|
+
_parent: "_parent";
|
|
1740
|
+
_top: "_top";
|
|
1741
|
+
}>>;
|
|
1689
1742
|
}, z.core.$strip>>;
|
|
1690
1743
|
}, z.core.$strip>>;
|
|
1691
1744
|
}, z.core.$strip>>;
|
|
@@ -1695,13 +1748,13 @@ declare const GatewayGetOrderRequestSchema: z.ZodObject<{
|
|
|
1695
1748
|
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1696
1749
|
type: z.ZodLiteral<"getOrder">;
|
|
1697
1750
|
body: z.ZodObject<{
|
|
1698
|
-
id: z.
|
|
1751
|
+
id: z.ZodOptional<z.ZodString>;
|
|
1699
1752
|
}, z.core.$strip>;
|
|
1700
1753
|
}, z.core.$strip>;
|
|
1701
1754
|
type GatewayGetOrderRequest = z.infer<typeof GatewayGetOrderRequestSchema>;
|
|
1702
1755
|
declare const GatewayGetOrderResponseSchema: z.ZodObject<{
|
|
1703
1756
|
ok: z.ZodBoolean;
|
|
1704
|
-
error: z.ZodOptional<z.
|
|
1757
|
+
error: z.ZodOptional<z.ZodString>;
|
|
1705
1758
|
type: z.ZodLiteral<"getOrder">;
|
|
1706
1759
|
result: z.ZodNullable<z.ZodObject<{
|
|
1707
1760
|
id: z.ZodString;
|
|
@@ -1762,7 +1815,7 @@ declare const GatewayCreateOrderRequestSchema: z.ZodObject<{
|
|
|
1762
1815
|
type GatewayCreateOrderRequest = z.infer<typeof GatewayCreateOrderRequestSchema>;
|
|
1763
1816
|
declare const GatewayCreateOrderResponseSchema: z.ZodObject<{
|
|
1764
1817
|
ok: z.ZodBoolean;
|
|
1765
|
-
error: z.ZodOptional<z.
|
|
1818
|
+
error: z.ZodOptional<z.ZodString>;
|
|
1766
1819
|
type: z.ZodLiteral<"createOrder">;
|
|
1767
1820
|
result: z.ZodObject<{
|
|
1768
1821
|
id: z.ZodString;
|
|
@@ -1871,7 +1924,7 @@ declare const GatewayUpdateOrderRequestSchema: z.ZodObject<{
|
|
|
1871
1924
|
type GatewayUpdateOrderRequest = z.infer<typeof GatewayUpdateOrderRequestSchema>;
|
|
1872
1925
|
declare const GatewayUpdateOrderResponseSchema: z.ZodObject<{
|
|
1873
1926
|
ok: z.ZodBoolean;
|
|
1874
|
-
error: z.ZodOptional<z.
|
|
1927
|
+
error: z.ZodOptional<z.ZodString>;
|
|
1875
1928
|
type: z.ZodLiteral<"updateOrder">;
|
|
1876
1929
|
result: z.ZodObject<{
|
|
1877
1930
|
id: z.ZodString;
|
|
@@ -1980,7 +2033,7 @@ declare const GatewayCompleteOrderRequestSchema: z.ZodObject<{
|
|
|
1980
2033
|
type GatewayCompleteOrderRequest = z.infer<typeof GatewayCompleteOrderRequestSchema>;
|
|
1981
2034
|
declare const GatewayCompleteOrderResponseSchema: z.ZodObject<{
|
|
1982
2035
|
ok: z.ZodBoolean;
|
|
1983
|
-
error: z.ZodOptional<z.
|
|
2036
|
+
error: z.ZodOptional<z.ZodString>;
|
|
1984
2037
|
type: z.ZodLiteral<"completeOrder">;
|
|
1985
2038
|
result: z.ZodObject<{
|
|
1986
2039
|
id: z.ZodString;
|
|
@@ -2044,7 +2097,7 @@ declare const GatewayAddOrderItemRequestSchema: z.ZodObject<{
|
|
|
2044
2097
|
type GatewayAddOrderItemRequest = z.infer<typeof GatewayAddOrderItemRequestSchema>;
|
|
2045
2098
|
declare const GatewayAddOrderItemResponseSchema: z.ZodObject<{
|
|
2046
2099
|
ok: z.ZodBoolean;
|
|
2047
|
-
error: z.ZodOptional<z.
|
|
2100
|
+
error: z.ZodOptional<z.ZodString>;
|
|
2048
2101
|
type: z.ZodLiteral<"addOrderItem">;
|
|
2049
2102
|
result: z.ZodObject<{
|
|
2050
2103
|
id: z.ZodString;
|
|
@@ -2112,7 +2165,7 @@ declare const GatewayIncrementOrderItemQuantityRequestSchema: z.ZodObject<{
|
|
|
2112
2165
|
type GatewayIncrementOrderItemQuantityRequest = z.infer<typeof GatewayIncrementOrderItemQuantityRequestSchema>;
|
|
2113
2166
|
declare const GatewayIncrementOrderItemQuantityResponseSchema: z.ZodObject<{
|
|
2114
2167
|
ok: z.ZodBoolean;
|
|
2115
|
-
error: z.ZodOptional<z.
|
|
2168
|
+
error: z.ZodOptional<z.ZodString>;
|
|
2116
2169
|
type: z.ZodLiteral<"incrementOrderItemQuantity">;
|
|
2117
2170
|
result: z.ZodObject<{
|
|
2118
2171
|
id: z.ZodString;
|
|
@@ -2180,7 +2233,7 @@ declare const GatewayDecrementOrderItemQuantityRequestSchema: z.ZodObject<{
|
|
|
2180
2233
|
type GatewayDecrementOrderItemQuantityRequest = z.infer<typeof GatewayDecrementOrderItemQuantityRequestSchema>;
|
|
2181
2234
|
declare const GatewayDecrementOrderItemQuantityResponseSchema: z.ZodObject<{
|
|
2182
2235
|
ok: z.ZodBoolean;
|
|
2183
|
-
error: z.ZodOptional<z.
|
|
2236
|
+
error: z.ZodOptional<z.ZodString>;
|
|
2184
2237
|
type: z.ZodLiteral<"decrementOrderItemQuantity">;
|
|
2185
2238
|
result: z.ZodObject<{
|
|
2186
2239
|
id: z.ZodString;
|
|
@@ -2241,7 +2294,7 @@ declare const GatewayGetMenuRequestSchema: z.ZodObject<{
|
|
|
2241
2294
|
type GatewayGetMenuRequest = z.infer<typeof GatewayGetMenuRequestSchema>;
|
|
2242
2295
|
declare const GatewayGetMenuResponseSchema: z.ZodObject<{
|
|
2243
2296
|
ok: z.ZodBoolean;
|
|
2244
|
-
error: z.ZodOptional<z.
|
|
2297
|
+
error: z.ZodOptional<z.ZodString>;
|
|
2245
2298
|
type: z.ZodLiteral<"getMenu">;
|
|
2246
2299
|
result: z.ZodObject<{
|
|
2247
2300
|
id: z.ZodString;
|
|
@@ -2282,7 +2335,7 @@ declare const GatewayGetMenuResponseSchema: z.ZodObject<{
|
|
|
2282
2335
|
}>;
|
|
2283
2336
|
value: z.ZodString;
|
|
2284
2337
|
}, z.core.$strip>>;
|
|
2285
|
-
icon: z.
|
|
2338
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
2286
2339
|
products: z.ZodArray<z.ZodObject<{
|
|
2287
2340
|
id: z.ZodString;
|
|
2288
2341
|
slug: z.ZodString;
|
|
@@ -2342,17 +2395,17 @@ declare const GatewayGetMenuResponseSchema: z.ZodObject<{
|
|
|
2342
2395
|
id: z.ZodString;
|
|
2343
2396
|
url: z.ZodString;
|
|
2344
2397
|
size: z.ZodEnum<{
|
|
2398
|
+
original: "original";
|
|
2345
2399
|
xs: "xs";
|
|
2346
2400
|
sm: "sm";
|
|
2347
2401
|
md: "md";
|
|
2348
2402
|
lg: "lg";
|
|
2349
2403
|
xl: "xl";
|
|
2350
|
-
original: "original";
|
|
2351
2404
|
}>;
|
|
2352
2405
|
format: z.ZodEnum<{
|
|
2353
|
-
original: "original";
|
|
2354
2406
|
jpeg: "jpeg";
|
|
2355
2407
|
webp: "webp";
|
|
2408
|
+
original: "original";
|
|
2356
2409
|
}>;
|
|
2357
2410
|
}, z.core.$strip>>;
|
|
2358
2411
|
video: z.ZodOptional<z.ZodObject<{
|
|
@@ -2360,6 +2413,7 @@ declare const GatewayGetMenuResponseSchema: z.ZodObject<{
|
|
|
2360
2413
|
url: z.ZodString;
|
|
2361
2414
|
type: z.ZodEnum<{
|
|
2362
2415
|
"video/mp4": "video/mp4";
|
|
2416
|
+
"video/webm": "video/webm";
|
|
2363
2417
|
}>;
|
|
2364
2418
|
}, z.core.$strip>>;
|
|
2365
2419
|
weightUnit: z.ZodEnum<{
|
|
@@ -2445,7 +2499,7 @@ declare const GatewayGetDeliveryByCourierStatusRequestSchema: z.ZodObject<{
|
|
|
2445
2499
|
type GatewayGetDeliveryByCourierStatusRequest = z.infer<typeof GatewayGetDeliveryByCourierStatusRequestSchema>;
|
|
2446
2500
|
declare const GatewayGetDeliveryByCourierStatusResponseSchema: z.ZodObject<{
|
|
2447
2501
|
ok: z.ZodBoolean;
|
|
2448
|
-
error: z.ZodOptional<z.
|
|
2502
|
+
error: z.ZodOptional<z.ZodString>;
|
|
2449
2503
|
type: z.ZodLiteral<"getDeliveryByCourierStatus">;
|
|
2450
2504
|
result: z.ZodObject<{
|
|
2451
2505
|
isClosed: z.ZodBoolean;
|
|
@@ -2520,7 +2574,7 @@ declare const GatewayGetSelfPickupStatusRequestSchema: z.ZodObject<{
|
|
|
2520
2574
|
type GatewayGetSelfPickupStatusRequest = z.infer<typeof GatewayGetSelfPickupStatusRequestSchema>;
|
|
2521
2575
|
declare const GatewayGetSelfPickupStatusResponseSchema: z.ZodObject<{
|
|
2522
2576
|
ok: z.ZodBoolean;
|
|
2523
|
-
error: z.ZodOptional<z.
|
|
2577
|
+
error: z.ZodOptional<z.ZodString>;
|
|
2524
2578
|
type: z.ZodLiteral<"getSelfPickupStatus">;
|
|
2525
2579
|
result: z.ZodObject<{
|
|
2526
2580
|
isClosed: z.ZodBoolean;
|
|
@@ -2599,7 +2653,7 @@ declare const GatewayGetTimeSlotsRequestSchema: z.ZodObject<{
|
|
|
2599
2653
|
type GatewayGetTimeSlotsRequest = z.infer<typeof GatewayGetTimeSlotsRequestSchema>;
|
|
2600
2654
|
declare const GatewayGetTimeSlotsResponseSchema: z.ZodObject<{
|
|
2601
2655
|
ok: z.ZodBoolean;
|
|
2602
|
-
error: z.ZodOptional<z.
|
|
2656
|
+
error: z.ZodOptional<z.ZodString>;
|
|
2603
2657
|
type: z.ZodLiteral<"getTimeSlots">;
|
|
2604
2658
|
result: z.ZodArray<z.ZodObject<{
|
|
2605
2659
|
start: z.ZodString;
|
|
@@ -2607,12 +2661,33 @@ declare const GatewayGetTimeSlotsResponseSchema: z.ZodObject<{
|
|
|
2607
2661
|
}, z.core.$strip>>;
|
|
2608
2662
|
}, z.core.$strip>;
|
|
2609
2663
|
type GatewayGetTimeSlotsResponse = z.infer<typeof GatewayGetTimeSlotsResponseSchema>;
|
|
2664
|
+
declare const GatewaySuggestAddressesRequestSchema: z.ZodObject<{
|
|
2665
|
+
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2666
|
+
type: z.ZodLiteral<"suggestAddresses">;
|
|
2667
|
+
body: z.ZodObject<{
|
|
2668
|
+
query: z.ZodString;
|
|
2669
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
2670
|
+
}, z.core.$strip>;
|
|
2671
|
+
}, z.core.$strip>;
|
|
2672
|
+
type GatewaySuggestAddressesRequest = z.infer<typeof GatewaySuggestAddressesRequestSchema>;
|
|
2673
|
+
declare const GatewaySuggestAddressesResponseSchema: z.ZodObject<{
|
|
2674
|
+
ok: z.ZodBoolean;
|
|
2675
|
+
error: z.ZodOptional<z.ZodString>;
|
|
2676
|
+
type: z.ZodLiteral<"suggestAddresses">;
|
|
2677
|
+
result: z.ZodArray<z.ZodObject<{
|
|
2678
|
+
value: z.ZodString;
|
|
2679
|
+
lat: z.ZodNullable<z.ZodNumber>;
|
|
2680
|
+
lon: z.ZodNullable<z.ZodNumber>;
|
|
2681
|
+
data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
2682
|
+
}, z.core.$strip>>;
|
|
2683
|
+
}, z.core.$strip>;
|
|
2684
|
+
type GatewaySuggestAddressesResponse = z.infer<typeof GatewaySuggestAddressesResponseSchema>;
|
|
2610
2685
|
/**
|
|
2611
2686
|
* Combined Gateway Response
|
|
2612
2687
|
*/
|
|
2613
2688
|
declare const GatewayResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2614
2689
|
ok: z.ZodBoolean;
|
|
2615
|
-
error: z.ZodOptional<z.
|
|
2690
|
+
error: z.ZodOptional<z.ZodString>;
|
|
2616
2691
|
type: z.ZodLiteral<"getOptions">;
|
|
2617
2692
|
result: z.ZodObject<{
|
|
2618
2693
|
selectorTitle: z.ZodArray<z.ZodObject<{
|
|
@@ -2647,7 +2722,7 @@ declare const GatewayResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
2647
2722
|
}>;
|
|
2648
2723
|
value: z.ZodString;
|
|
2649
2724
|
}, z.core.$strip>>>;
|
|
2650
|
-
logoUrl: z.
|
|
2725
|
+
logoUrl: z.ZodOptional<z.ZodString>;
|
|
2651
2726
|
availableLocales: z.ZodArray<z.ZodEnum<{
|
|
2652
2727
|
de: "de";
|
|
2653
2728
|
el: "el";
|
|
@@ -2946,10 +3021,11 @@ declare const GatewayResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
2946
3021
|
textContent: z.ZodOptional<z.ZodString>;
|
|
2947
3022
|
}, z.core.$strip>>>;
|
|
2948
3023
|
headStyles: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3024
|
+
addressSuggestEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
2949
3025
|
}, z.core.$strip>;
|
|
2950
3026
|
}, z.core.$strip>, z.ZodObject<{
|
|
2951
3027
|
ok: z.ZodBoolean;
|
|
2952
|
-
error: z.ZodOptional<z.
|
|
3028
|
+
error: z.ZodOptional<z.ZodString>;
|
|
2953
3029
|
type: z.ZodLiteral<"getChannels">;
|
|
2954
3030
|
result: z.ZodArray<z.ZodObject<{
|
|
2955
3031
|
id: z.ZodString;
|
|
@@ -3256,7 +3332,12 @@ declare const GatewayResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
3256
3332
|
value: z.ZodString;
|
|
3257
3333
|
}, z.core.$strip>>>;
|
|
3258
3334
|
icon: z.ZodOptional<z.ZodString>;
|
|
3259
|
-
target: z.ZodOptional<z.
|
|
3335
|
+
target: z.ZodOptional<z.ZodEnum<{
|
|
3336
|
+
_blank: "_blank";
|
|
3337
|
+
_self: "_self";
|
|
3338
|
+
_parent: "_parent";
|
|
3339
|
+
_top: "_top";
|
|
3340
|
+
}>>;
|
|
3260
3341
|
}, z.core.$strip>>;
|
|
3261
3342
|
footer: z.ZodArray<z.ZodObject<{
|
|
3262
3343
|
to: z.ZodString;
|
|
@@ -3277,7 +3358,12 @@ declare const GatewayResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
3277
3358
|
value: z.ZodString;
|
|
3278
3359
|
}, z.core.$strip>>>;
|
|
3279
3360
|
icon: z.ZodOptional<z.ZodString>;
|
|
3280
|
-
target: z.ZodOptional<z.
|
|
3361
|
+
target: z.ZodOptional<z.ZodEnum<{
|
|
3362
|
+
_blank: "_blank";
|
|
3363
|
+
_self: "_self";
|
|
3364
|
+
_parent: "_parent";
|
|
3365
|
+
_top: "_top";
|
|
3366
|
+
}>>;
|
|
3281
3367
|
}, z.core.$strip>>;
|
|
3282
3368
|
social: z.ZodArray<z.ZodObject<{
|
|
3283
3369
|
to: z.ZodString;
|
|
@@ -3298,13 +3384,18 @@ declare const GatewayResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
3298
3384
|
value: z.ZodString;
|
|
3299
3385
|
}, z.core.$strip>>>;
|
|
3300
3386
|
icon: z.ZodOptional<z.ZodString>;
|
|
3301
|
-
target: z.ZodOptional<z.
|
|
3387
|
+
target: z.ZodOptional<z.ZodEnum<{
|
|
3388
|
+
_blank: "_blank";
|
|
3389
|
+
_self: "_self";
|
|
3390
|
+
_parent: "_parent";
|
|
3391
|
+
_top: "_top";
|
|
3392
|
+
}>>;
|
|
3302
3393
|
}, z.core.$strip>>;
|
|
3303
3394
|
}, z.core.$strip>>;
|
|
3304
3395
|
}, z.core.$strip>>;
|
|
3305
3396
|
}, z.core.$strip>, z.ZodObject<{
|
|
3306
3397
|
ok: z.ZodBoolean;
|
|
3307
|
-
error: z.ZodOptional<z.
|
|
3398
|
+
error: z.ZodOptional<z.ZodString>;
|
|
3308
3399
|
type: z.ZodLiteral<"getOrder">;
|
|
3309
3400
|
result: z.ZodNullable<z.ZodObject<{
|
|
3310
3401
|
id: z.ZodString;
|
|
@@ -3357,7 +3448,7 @@ declare const GatewayResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
3357
3448
|
}, z.core.$strip>>;
|
|
3358
3449
|
}, z.core.$strip>, z.ZodObject<{
|
|
3359
3450
|
ok: z.ZodBoolean;
|
|
3360
|
-
error: z.ZodOptional<z.
|
|
3451
|
+
error: z.ZodOptional<z.ZodString>;
|
|
3361
3452
|
type: z.ZodLiteral<"createOrder">;
|
|
3362
3453
|
result: z.ZodObject<{
|
|
3363
3454
|
id: z.ZodString;
|
|
@@ -3410,7 +3501,7 @@ declare const GatewayResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
3410
3501
|
}, z.core.$strip>;
|
|
3411
3502
|
}, z.core.$strip>, z.ZodObject<{
|
|
3412
3503
|
ok: z.ZodBoolean;
|
|
3413
|
-
error: z.ZodOptional<z.
|
|
3504
|
+
error: z.ZodOptional<z.ZodString>;
|
|
3414
3505
|
type: z.ZodLiteral<"updateOrder">;
|
|
3415
3506
|
result: z.ZodObject<{
|
|
3416
3507
|
id: z.ZodString;
|
|
@@ -3463,7 +3554,7 @@ declare const GatewayResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
3463
3554
|
}, z.core.$strip>;
|
|
3464
3555
|
}, z.core.$strip>, z.ZodObject<{
|
|
3465
3556
|
ok: z.ZodBoolean;
|
|
3466
|
-
error: z.ZodOptional<z.
|
|
3557
|
+
error: z.ZodOptional<z.ZodString>;
|
|
3467
3558
|
type: z.ZodLiteral<"completeOrder">;
|
|
3468
3559
|
result: z.ZodObject<{
|
|
3469
3560
|
id: z.ZodString;
|
|
@@ -3516,7 +3607,7 @@ declare const GatewayResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
3516
3607
|
}, z.core.$strip>;
|
|
3517
3608
|
}, z.core.$strip>, z.ZodObject<{
|
|
3518
3609
|
ok: z.ZodBoolean;
|
|
3519
|
-
error: z.ZodOptional<z.
|
|
3610
|
+
error: z.ZodOptional<z.ZodString>;
|
|
3520
3611
|
type: z.ZodLiteral<"addOrderItem">;
|
|
3521
3612
|
result: z.ZodObject<{
|
|
3522
3613
|
id: z.ZodString;
|
|
@@ -3569,7 +3660,7 @@ declare const GatewayResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
3569
3660
|
}, z.core.$strip>;
|
|
3570
3661
|
}, z.core.$strip>, z.ZodObject<{
|
|
3571
3662
|
ok: z.ZodBoolean;
|
|
3572
|
-
error: z.ZodOptional<z.
|
|
3663
|
+
error: z.ZodOptional<z.ZodString>;
|
|
3573
3664
|
type: z.ZodLiteral<"incrementOrderItemQuantity">;
|
|
3574
3665
|
result: z.ZodObject<{
|
|
3575
3666
|
id: z.ZodString;
|
|
@@ -3622,7 +3713,7 @@ declare const GatewayResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
3622
3713
|
}, z.core.$strip>;
|
|
3623
3714
|
}, z.core.$strip>, z.ZodObject<{
|
|
3624
3715
|
ok: z.ZodBoolean;
|
|
3625
|
-
error: z.ZodOptional<z.
|
|
3716
|
+
error: z.ZodOptional<z.ZodString>;
|
|
3626
3717
|
type: z.ZodLiteral<"decrementOrderItemQuantity">;
|
|
3627
3718
|
result: z.ZodObject<{
|
|
3628
3719
|
id: z.ZodString;
|
|
@@ -3675,7 +3766,7 @@ declare const GatewayResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
3675
3766
|
}, z.core.$strip>;
|
|
3676
3767
|
}, z.core.$strip>, z.ZodObject<{
|
|
3677
3768
|
ok: z.ZodBoolean;
|
|
3678
|
-
error: z.ZodOptional<z.
|
|
3769
|
+
error: z.ZodOptional<z.ZodString>;
|
|
3679
3770
|
type: z.ZodLiteral<"getMenu">;
|
|
3680
3771
|
result: z.ZodObject<{
|
|
3681
3772
|
id: z.ZodString;
|
|
@@ -3716,7 +3807,7 @@ declare const GatewayResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
3716
3807
|
}>;
|
|
3717
3808
|
value: z.ZodString;
|
|
3718
3809
|
}, z.core.$strip>>;
|
|
3719
|
-
icon: z.
|
|
3810
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
3720
3811
|
products: z.ZodArray<z.ZodObject<{
|
|
3721
3812
|
id: z.ZodString;
|
|
3722
3813
|
slug: z.ZodString;
|
|
@@ -3776,17 +3867,17 @@ declare const GatewayResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
3776
3867
|
id: z.ZodString;
|
|
3777
3868
|
url: z.ZodString;
|
|
3778
3869
|
size: z.ZodEnum<{
|
|
3870
|
+
original: "original";
|
|
3779
3871
|
xs: "xs";
|
|
3780
3872
|
sm: "sm";
|
|
3781
3873
|
md: "md";
|
|
3782
3874
|
lg: "lg";
|
|
3783
3875
|
xl: "xl";
|
|
3784
|
-
original: "original";
|
|
3785
3876
|
}>;
|
|
3786
3877
|
format: z.ZodEnum<{
|
|
3787
|
-
original: "original";
|
|
3788
3878
|
jpeg: "jpeg";
|
|
3789
3879
|
webp: "webp";
|
|
3880
|
+
original: "original";
|
|
3790
3881
|
}>;
|
|
3791
3882
|
}, z.core.$strip>>;
|
|
3792
3883
|
video: z.ZodOptional<z.ZodObject<{
|
|
@@ -3794,6 +3885,7 @@ declare const GatewayResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
3794
3885
|
url: z.ZodString;
|
|
3795
3886
|
type: z.ZodEnum<{
|
|
3796
3887
|
"video/mp4": "video/mp4";
|
|
3888
|
+
"video/webm": "video/webm";
|
|
3797
3889
|
}>;
|
|
3798
3890
|
}, z.core.$strip>>;
|
|
3799
3891
|
weightUnit: z.ZodEnum<{
|
|
@@ -3869,7 +3961,7 @@ declare const GatewayResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
3869
3961
|
}, z.core.$strip>;
|
|
3870
3962
|
}, z.core.$strip>, z.ZodObject<{
|
|
3871
3963
|
ok: z.ZodBoolean;
|
|
3872
|
-
error: z.ZodOptional<z.
|
|
3964
|
+
error: z.ZodOptional<z.ZodString>;
|
|
3873
3965
|
type: z.ZodLiteral<"getDeliveryByCourierStatus">;
|
|
3874
3966
|
result: z.ZodObject<{
|
|
3875
3967
|
isClosed: z.ZodBoolean;
|
|
@@ -3934,7 +4026,7 @@ declare const GatewayResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
3934
4026
|
}, z.core.$strip>;
|
|
3935
4027
|
}, z.core.$strip>, z.ZodObject<{
|
|
3936
4028
|
ok: z.ZodBoolean;
|
|
3937
|
-
error: z.ZodOptional<z.
|
|
4029
|
+
error: z.ZodOptional<z.ZodString>;
|
|
3938
4030
|
type: z.ZodLiteral<"getSelfPickupStatus">;
|
|
3939
4031
|
result: z.ZodObject<{
|
|
3940
4032
|
isClosed: z.ZodBoolean;
|
|
@@ -3999,19 +4091,29 @@ declare const GatewayResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
3999
4091
|
}, z.core.$strip>;
|
|
4000
4092
|
}, z.core.$strip>, z.ZodObject<{
|
|
4001
4093
|
ok: z.ZodBoolean;
|
|
4002
|
-
error: z.ZodOptional<z.
|
|
4094
|
+
error: z.ZodOptional<z.ZodString>;
|
|
4003
4095
|
type: z.ZodLiteral<"getTimeSlots">;
|
|
4004
4096
|
result: z.ZodArray<z.ZodObject<{
|
|
4005
4097
|
start: z.ZodString;
|
|
4006
4098
|
end: z.ZodString;
|
|
4007
4099
|
}, z.core.$strip>>;
|
|
4100
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4101
|
+
ok: z.ZodBoolean;
|
|
4102
|
+
error: z.ZodOptional<z.ZodString>;
|
|
4103
|
+
type: z.ZodLiteral<"suggestAddresses">;
|
|
4104
|
+
result: z.ZodArray<z.ZodObject<{
|
|
4105
|
+
value: z.ZodString;
|
|
4106
|
+
lat: z.ZodNullable<z.ZodNumber>;
|
|
4107
|
+
lon: z.ZodNullable<z.ZodNumber>;
|
|
4108
|
+
data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
4109
|
+
}, z.core.$strip>>;
|
|
4008
4110
|
}, z.core.$strip>], "type">;
|
|
4009
4111
|
type GatewayResponse = z.infer<typeof GatewayResponseSchema>;
|
|
4010
4112
|
|
|
4011
4113
|
declare const ImageFormatSchema: z.ZodEnum<{
|
|
4012
|
-
original: "original";
|
|
4013
4114
|
jpeg: "jpeg";
|
|
4014
4115
|
webp: "webp";
|
|
4116
|
+
original: "original";
|
|
4015
4117
|
}>;
|
|
4016
4118
|
type ImageFormat = z.infer<typeof ImageFormatSchema>;
|
|
4017
4119
|
/**
|
|
@@ -4023,29 +4125,29 @@ type ImageFormat = z.infer<typeof ImageFormatSchema>;
|
|
|
4023
4125
|
* - xl - 1920px
|
|
4024
4126
|
*/
|
|
4025
4127
|
declare const ImageSizeSchema: z.ZodEnum<{
|
|
4128
|
+
original: "original";
|
|
4026
4129
|
xs: "xs";
|
|
4027
4130
|
sm: "sm";
|
|
4028
4131
|
md: "md";
|
|
4029
4132
|
lg: "lg";
|
|
4030
4133
|
xl: "xl";
|
|
4031
|
-
original: "original";
|
|
4032
4134
|
}>;
|
|
4033
4135
|
type ImageSize = z.infer<typeof ImageSizeSchema>;
|
|
4034
4136
|
declare const ImageSchema: z.ZodObject<{
|
|
4035
4137
|
id: z.ZodString;
|
|
4036
4138
|
url: z.ZodString;
|
|
4037
4139
|
size: z.ZodEnum<{
|
|
4140
|
+
original: "original";
|
|
4038
4141
|
xs: "xs";
|
|
4039
4142
|
sm: "sm";
|
|
4040
4143
|
md: "md";
|
|
4041
4144
|
lg: "lg";
|
|
4042
4145
|
xl: "xl";
|
|
4043
|
-
original: "original";
|
|
4044
4146
|
}>;
|
|
4045
4147
|
format: z.ZodEnum<{
|
|
4046
|
-
original: "original";
|
|
4047
4148
|
jpeg: "jpeg";
|
|
4048
4149
|
webp: "webp";
|
|
4150
|
+
original: "original";
|
|
4049
4151
|
}>;
|
|
4050
4152
|
}, z.core.$strip>;
|
|
4051
4153
|
type Image = z.infer<typeof ImageSchema>;
|
|
@@ -4069,7 +4171,7 @@ declare const MenuCategorySchema: z.ZodObject<{
|
|
|
4069
4171
|
}>;
|
|
4070
4172
|
value: z.ZodString;
|
|
4071
4173
|
}, z.core.$strip>>;
|
|
4072
|
-
icon: z.
|
|
4174
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
4073
4175
|
products: z.ZodArray<z.ZodObject<{
|
|
4074
4176
|
id: z.ZodString;
|
|
4075
4177
|
slug: z.ZodString;
|
|
@@ -4129,17 +4231,17 @@ declare const MenuCategorySchema: z.ZodObject<{
|
|
|
4129
4231
|
id: z.ZodString;
|
|
4130
4232
|
url: z.ZodString;
|
|
4131
4233
|
size: z.ZodEnum<{
|
|
4234
|
+
original: "original";
|
|
4132
4235
|
xs: "xs";
|
|
4133
4236
|
sm: "sm";
|
|
4134
4237
|
md: "md";
|
|
4135
4238
|
lg: "lg";
|
|
4136
4239
|
xl: "xl";
|
|
4137
|
-
original: "original";
|
|
4138
4240
|
}>;
|
|
4139
4241
|
format: z.ZodEnum<{
|
|
4140
|
-
original: "original";
|
|
4141
4242
|
jpeg: "jpeg";
|
|
4142
4243
|
webp: "webp";
|
|
4244
|
+
original: "original";
|
|
4143
4245
|
}>;
|
|
4144
4246
|
}, z.core.$strip>>;
|
|
4145
4247
|
video: z.ZodOptional<z.ZodObject<{
|
|
@@ -4147,6 +4249,7 @@ declare const MenuCategorySchema: z.ZodObject<{
|
|
|
4147
4249
|
url: z.ZodString;
|
|
4148
4250
|
type: z.ZodEnum<{
|
|
4149
4251
|
"video/mp4": "video/mp4";
|
|
4252
|
+
"video/webm": "video/webm";
|
|
4150
4253
|
}>;
|
|
4151
4254
|
}, z.core.$strip>>;
|
|
4152
4255
|
weightUnit: z.ZodEnum<{
|
|
@@ -4259,7 +4362,7 @@ declare const MenuSchema: z.ZodObject<{
|
|
|
4259
4362
|
}>;
|
|
4260
4363
|
value: z.ZodString;
|
|
4261
4364
|
}, z.core.$strip>>;
|
|
4262
|
-
icon: z.
|
|
4365
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
4263
4366
|
products: z.ZodArray<z.ZodObject<{
|
|
4264
4367
|
id: z.ZodString;
|
|
4265
4368
|
slug: z.ZodString;
|
|
@@ -4319,17 +4422,17 @@ declare const MenuSchema: z.ZodObject<{
|
|
|
4319
4422
|
id: z.ZodString;
|
|
4320
4423
|
url: z.ZodString;
|
|
4321
4424
|
size: z.ZodEnum<{
|
|
4425
|
+
original: "original";
|
|
4322
4426
|
xs: "xs";
|
|
4323
4427
|
sm: "sm";
|
|
4324
4428
|
md: "md";
|
|
4325
4429
|
lg: "lg";
|
|
4326
4430
|
xl: "xl";
|
|
4327
|
-
original: "original";
|
|
4328
4431
|
}>;
|
|
4329
4432
|
format: z.ZodEnum<{
|
|
4330
|
-
original: "original";
|
|
4331
4433
|
jpeg: "jpeg";
|
|
4332
4434
|
webp: "webp";
|
|
4435
|
+
original: "original";
|
|
4333
4436
|
}>;
|
|
4334
4437
|
}, z.core.$strip>>;
|
|
4335
4438
|
video: z.ZodOptional<z.ZodObject<{
|
|
@@ -4337,6 +4440,7 @@ declare const MenuSchema: z.ZodObject<{
|
|
|
4337
4440
|
url: z.ZodString;
|
|
4338
4441
|
type: z.ZodEnum<{
|
|
4339
4442
|
"video/mp4": "video/mp4";
|
|
4443
|
+
"video/webm": "video/webm";
|
|
4340
4444
|
}>;
|
|
4341
4445
|
}, z.core.$strip>>;
|
|
4342
4446
|
weightUnit: z.ZodEnum<{
|
|
@@ -4460,7 +4564,7 @@ declare const OptionsSchema: z.ZodObject<{
|
|
|
4460
4564
|
}>;
|
|
4461
4565
|
value: z.ZodString;
|
|
4462
4566
|
}, z.core.$strip>>>;
|
|
4463
|
-
logoUrl: z.
|
|
4567
|
+
logoUrl: z.ZodOptional<z.ZodString>;
|
|
4464
4568
|
availableLocales: z.ZodArray<z.ZodEnum<{
|
|
4465
4569
|
de: "de";
|
|
4466
4570
|
el: "el";
|
|
@@ -4759,6 +4863,7 @@ declare const OptionsSchema: z.ZodObject<{
|
|
|
4759
4863
|
textContent: z.ZodOptional<z.ZodString>;
|
|
4760
4864
|
}, z.core.$strip>>>;
|
|
4761
4865
|
headStyles: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4866
|
+
addressSuggestEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
4762
4867
|
}, z.core.$strip>;
|
|
4763
4868
|
type Options = z.infer<typeof OptionsSchema>;
|
|
4764
4869
|
|
|
@@ -4866,6 +4971,16 @@ declare const OrderSchema: z.ZodObject<{
|
|
|
4866
4971
|
}, z.core.$strip>>;
|
|
4867
4972
|
}, z.core.$strip>;
|
|
4868
4973
|
type Order = z.infer<typeof OrderSchema>;
|
|
4974
|
+
/**
|
|
4975
|
+
* Address Suggestion
|
|
4976
|
+
*/
|
|
4977
|
+
declare const AddressSuggestionSchema: z.ZodObject<{
|
|
4978
|
+
value: z.ZodString;
|
|
4979
|
+
lat: z.ZodNullable<z.ZodNumber>;
|
|
4980
|
+
lon: z.ZodNullable<z.ZodNumber>;
|
|
4981
|
+
data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
4982
|
+
}, z.core.$strip>;
|
|
4983
|
+
type AddressSuggestion = z.infer<typeof AddressSuggestionSchema>;
|
|
4869
4984
|
|
|
4870
4985
|
declare const PaymentMethodTypeSchema: z.ZodEnum<{
|
|
4871
4986
|
custom: "custom";
|
|
@@ -4948,17 +5063,17 @@ declare const ProductVariantSchema: z.ZodObject<{
|
|
|
4948
5063
|
id: z.ZodString;
|
|
4949
5064
|
url: z.ZodString;
|
|
4950
5065
|
size: z.ZodEnum<{
|
|
5066
|
+
original: "original";
|
|
4951
5067
|
xs: "xs";
|
|
4952
5068
|
sm: "sm";
|
|
4953
5069
|
md: "md";
|
|
4954
5070
|
lg: "lg";
|
|
4955
5071
|
xl: "xl";
|
|
4956
|
-
original: "original";
|
|
4957
5072
|
}>;
|
|
4958
5073
|
format: z.ZodEnum<{
|
|
4959
|
-
original: "original";
|
|
4960
5074
|
jpeg: "jpeg";
|
|
4961
5075
|
webp: "webp";
|
|
5076
|
+
original: "original";
|
|
4962
5077
|
}>;
|
|
4963
5078
|
}, z.core.$strip>>;
|
|
4964
5079
|
video: z.ZodOptional<z.ZodObject<{
|
|
@@ -4966,6 +5081,7 @@ declare const ProductVariantSchema: z.ZodObject<{
|
|
|
4966
5081
|
url: z.ZodString;
|
|
4967
5082
|
type: z.ZodEnum<{
|
|
4968
5083
|
"video/mp4": "video/mp4";
|
|
5084
|
+
"video/webm": "video/webm";
|
|
4969
5085
|
}>;
|
|
4970
5086
|
}, z.core.$strip>>;
|
|
4971
5087
|
weightUnit: z.ZodEnum<{
|
|
@@ -5104,17 +5220,17 @@ declare const ProductSchema: z.ZodObject<{
|
|
|
5104
5220
|
id: z.ZodString;
|
|
5105
5221
|
url: z.ZodString;
|
|
5106
5222
|
size: z.ZodEnum<{
|
|
5223
|
+
original: "original";
|
|
5107
5224
|
xs: "xs";
|
|
5108
5225
|
sm: "sm";
|
|
5109
5226
|
md: "md";
|
|
5110
5227
|
lg: "lg";
|
|
5111
5228
|
xl: "xl";
|
|
5112
|
-
original: "original";
|
|
5113
5229
|
}>;
|
|
5114
5230
|
format: z.ZodEnum<{
|
|
5115
|
-
original: "original";
|
|
5116
5231
|
jpeg: "jpeg";
|
|
5117
5232
|
webp: "webp";
|
|
5233
|
+
original: "original";
|
|
5118
5234
|
}>;
|
|
5119
5235
|
}, z.core.$strip>>;
|
|
5120
5236
|
video: z.ZodOptional<z.ZodObject<{
|
|
@@ -5122,6 +5238,7 @@ declare const ProductSchema: z.ZodObject<{
|
|
|
5122
5238
|
url: z.ZodString;
|
|
5123
5239
|
type: z.ZodEnum<{
|
|
5124
5240
|
"video/mp4": "video/mp4";
|
|
5241
|
+
"video/webm": "video/webm";
|
|
5125
5242
|
}>;
|
|
5126
5243
|
}, z.core.$strip>>;
|
|
5127
5244
|
weightUnit: z.ZodEnum<{
|
|
@@ -5386,6 +5503,7 @@ type OpeningStatus = z.infer<typeof OpeningStatusSchema>;
|
|
|
5386
5503
|
|
|
5387
5504
|
declare const VideoTypeSchema: z.ZodEnum<{
|
|
5388
5505
|
"video/mp4": "video/mp4";
|
|
5506
|
+
"video/webm": "video/webm";
|
|
5389
5507
|
}>;
|
|
5390
5508
|
type VideoType = z.infer<typeof VideoTypeSchema>;
|
|
5391
5509
|
declare const VideoSchema: z.ZodObject<{
|
|
@@ -5393,6 +5511,7 @@ declare const VideoSchema: z.ZodObject<{
|
|
|
5393
5511
|
url: z.ZodString;
|
|
5394
5512
|
type: z.ZodEnum<{
|
|
5395
5513
|
"video/mp4": "video/mp4";
|
|
5514
|
+
"video/webm": "video/webm";
|
|
5396
5515
|
}>;
|
|
5397
5516
|
}, z.core.$strip>;
|
|
5398
5517
|
type Video = z.infer<typeof VideoSchema>;
|
|
@@ -5455,5 +5574,5 @@ declare const WarehouseSchema: z.ZodObject<{
|
|
|
5455
5574
|
}, z.core.$strip>;
|
|
5456
5575
|
type Warehouse = z.infer<typeof WarehouseSchema>;
|
|
5457
5576
|
|
|
5458
|
-
export { BaseResponseSchema, ChannelSchema, CompositionIngredientSchema, CompositionProductSchema, CountryCodeSchema, CurrencyCodeSchema, DeliveryMethodSchema, GatewayActionTypeSchema, GatewayAddOrderItemRequestSchema, GatewayAddOrderItemResponseSchema, GatewayCompleteOrderRequestSchema, GatewayCompleteOrderResponseSchema, GatewayCreateOrderRequestSchema, GatewayCreateOrderResponseSchema, GatewayDecrementOrderItemQuantityRequestSchema, GatewayDecrementOrderItemQuantityResponseSchema, GatewayGetChannelsRequestSchema, GatewayGetChannelsResponseSchema, GatewayGetDeliveryByCourierStatusRequestSchema, GatewayGetDeliveryByCourierStatusResponseSchema, GatewayGetMenuRequestSchema, GatewayGetMenuResponseSchema, GatewayGetOptionsRequestSchema, GatewayGetOptionsResponseSchema, GatewayGetOrderRequestSchema, GatewayGetOrderResponseSchema, GatewayGetSelfPickupStatusRequestSchema, GatewayGetSelfPickupStatusResponseSchema, GatewayGetTimeSlotsRequestSchema, GatewayGetTimeSlotsResponseSchema, GatewayIncrementOrderItemQuantityRequestSchema, GatewayIncrementOrderItemQuantityResponseSchema, GatewayRequestSchema, GatewayResponseSchema, GatewayUpdateOrderRequestSchema, GatewayUpdateOrderResponseSchema, ImageFormatSchema, ImageSchema, ImageSizeSchema, LocaleSchema, LocaleValueSchema, MenuCategorySchema, MenuSchema, NutritionFactsSchema, OpeningStatusSchema, OptionsSchema, OrderDeliveryAddressSchema, OrderItemChangeSchema, OrderItemSchema, OrderSchema, OrderStatusSchema, OrderWarehouseAddressSchema, PaymentMethodSchema, PaymentMethodTypeSchema, ProductBadgeSchema, ProductCompositionSchema, ProductSchema, ProductVariantSchema, RecommendedProductSchema, ScheduleSchema, TimePeriodSchema, TimeSchema, TimeTypeSchema, TimeZoneSchema, VideoSchema, VideoTypeSchema, WarehouseAddressSchema, WarehouseSchema, WeekDaySchema, WeightUnitSchema };
|
|
5459
|
-
export type { Channel, CompositionIngredient, CompositionProductItem, CountryCode, CurrencyCode, DaySchedule, DeliveryByCourier, DeliveryMethod, GatewayActionType, GatewayAddOrderItemRequest, GatewayAddOrderItemResponse, GatewayCompleteOrderRequest, GatewayCompleteOrderResponse, GatewayCreateOrderRequest, GatewayCreateOrderResponse, GatewayDecrementOrderItemQuantityRequest, GatewayDecrementOrderItemQuantityResponse, GatewayGetChannelsRequest, GatewayGetChannelsResponse, GatewayGetDeliveryByCourierStatusRequest, GatewayGetDeliveryByCourierStatusResponse, GatewayGetMenuRequest, GatewayGetMenuResponse, GatewayGetOptionsRequest, GatewayGetOptionsResponse, GatewayGetOrderRequest, GatewayGetOrderResponse, GatewayGetSelfPickupStatusRequest, GatewayGetSelfPickupStatusResponse, GatewayGetTimeSlotsRequest, GatewayGetTimeSlotsResponse, GatewayIncrementOrderItemQuantityRequest, GatewayIncrementOrderItemQuantityResponse, GatewayRequest, GatewayResponse, GatewayUpdateOrderRequest, GatewayUpdateOrderResponse, HeadLink, HeadScript, HeadStyle, Image, ImageFormat, ImageSize, Link, Links, Locale, LocaleValue, Menu, MenuCategory, NextOpening, NutritionFacts, OpeningStatus, Options, Order, OrderDeliveryAddress, OrderItem, OrderItemChange, OrderStatus, OrderWarehouseAddress, PaymentMethod, PaymentMethodType, Product, ProductBadge, ProductComposition, ProductVariant, RecommendedProduct, Schedule, SelfPickup, TimePeriod, TimeType, TimeZone, Video, VideoType, Warehouse, WarehouseAddress, WeekDay, WeightUnit };
|
|
5577
|
+
export { AddressSuggestionSchema, BaseResponseSchema, ChannelSchema, CompositionIngredientSchema, CompositionProductSchema, CountryCodeSchema, CurrencyCodeSchema, DayScheduleSchema, DeliveryByCourierSchema, DeliveryMethodSchema, GatewayActionTypeSchema, GatewayAddOrderItemRequestSchema, GatewayAddOrderItemResponseSchema, GatewayCompleteOrderRequestSchema, GatewayCompleteOrderResponseSchema, GatewayCreateOrderRequestSchema, GatewayCreateOrderResponseSchema, GatewayDecrementOrderItemQuantityRequestSchema, GatewayDecrementOrderItemQuantityResponseSchema, GatewayGetChannelsRequestSchema, GatewayGetChannelsResponseSchema, GatewayGetDeliveryByCourierStatusRequestSchema, GatewayGetDeliveryByCourierStatusResponseSchema, GatewayGetMenuRequestSchema, GatewayGetMenuResponseSchema, GatewayGetOptionsRequestSchema, GatewayGetOptionsResponseSchema, GatewayGetOrderRequestSchema, GatewayGetOrderResponseSchema, GatewayGetSelfPickupStatusRequestSchema, GatewayGetSelfPickupStatusResponseSchema, GatewayGetTimeSlotsRequestSchema, GatewayGetTimeSlotsResponseSchema, GatewayIncrementOrderItemQuantityRequestSchema, GatewayIncrementOrderItemQuantityResponseSchema, GatewayRequestSchema, GatewayResponseSchema, GatewaySuggestAddressesRequestSchema, GatewaySuggestAddressesResponseSchema, GatewayUpdateOrderRequestSchema, GatewayUpdateOrderResponseSchema, HeadLinkSchema, HeadScriptSchema, HeadStyleSchema, ImageFormatSchema, ImageSchema, ImageSizeSchema, LinkSchema, LinksSchema, LocaleSchema, LocaleValueSchema, MenuCategorySchema, MenuSchema, NextOpeningSchema, NutritionFactsSchema, OpeningStatusSchema, OptionsSchema, OrderDeliveryAddressSchema, OrderItemChangeSchema, OrderItemSchema, OrderSchema, OrderStatusSchema, OrderWarehouseAddressSchema, PaymentMethodSchema, PaymentMethodTypeSchema, ProductBadgeSchema, ProductCompositionSchema, ProductSchema, ProductVariantSchema, RecommendedProductSchema, ScheduleSchema, SelfPickupSchema, TimePeriodSchema, TimeSchema, TimeTypeSchema, TimeZoneSchema, VideoSchema, VideoTypeSchema, WarehouseAddressSchema, WarehouseSchema, WeekDaySchema, WeightUnitSchema };
|
|
5578
|
+
export type { AddressSuggestion, Channel, CompositionIngredient, CompositionProductItem, CountryCode, CurrencyCode, DaySchedule, DeliveryByCourier, DeliveryMethod, GatewayActionType, GatewayAddOrderItemRequest, GatewayAddOrderItemResponse, GatewayCompleteOrderRequest, GatewayCompleteOrderResponse, GatewayCreateOrderRequest, GatewayCreateOrderResponse, GatewayDecrementOrderItemQuantityRequest, GatewayDecrementOrderItemQuantityResponse, GatewayGetChannelsRequest, GatewayGetChannelsResponse, GatewayGetDeliveryByCourierStatusRequest, GatewayGetDeliveryByCourierStatusResponse, GatewayGetMenuRequest, GatewayGetMenuResponse, GatewayGetOptionsRequest, GatewayGetOptionsResponse, GatewayGetOrderRequest, GatewayGetOrderResponse, GatewayGetSelfPickupStatusRequest, GatewayGetSelfPickupStatusResponse, GatewayGetTimeSlotsRequest, GatewayGetTimeSlotsResponse, GatewayIncrementOrderItemQuantityRequest, GatewayIncrementOrderItemQuantityResponse, GatewayRequest, GatewayResponse, GatewaySuggestAddressesRequest, GatewaySuggestAddressesResponse, GatewayUpdateOrderRequest, GatewayUpdateOrderResponse, HeadLink, HeadScript, HeadStyle, Image, ImageFormat, ImageSize, Link, Links, Locale, LocaleValue, Menu, MenuCategory, NextOpening, NutritionFacts, OpeningStatus, Options, Order, OrderDeliveryAddress, OrderItem, OrderItemChange, OrderStatus, OrderWarehouseAddress, PaymentMethod, PaymentMethodType, Product, ProductBadge, ProductComposition, ProductVariant, RecommendedProduct, Schedule, SelfPickup, TimePeriod, TimeType, TimeZone, Video, VideoType, Warehouse, WarehouseAddress, WeekDay, WeightUnit };
|