@nextorders/food-schema 0.2.6 → 0.3.0

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.ts CHANGED
@@ -1,5 +1,283 @@
1
1
  import z from 'zod';
2
2
 
3
+ declare const DeliveryByCourierSchema: z.ZodObject<{
4
+ isAvailable: z.ZodBoolean;
5
+ paymentMethods: z.ZodArray<z.ZodObject<{
6
+ id: z.ZodString;
7
+ title: z.ZodArray<z.ZodObject<{
8
+ locale: z.ZodEnum<{
9
+ de: "de";
10
+ el: "el";
11
+ en: "en";
12
+ es: "es";
13
+ fr: "fr";
14
+ hi: "hi";
15
+ it: "it";
16
+ ka: "ka";
17
+ ru: "ru";
18
+ zh_cn: "zh_cn";
19
+ pt: "pt";
20
+ }>;
21
+ value: z.ZodString;
22
+ }, z.core.$strip>>;
23
+ type: z.ZodEnum<{
24
+ cash: "cash";
25
+ card: "card";
26
+ custom: "custom";
27
+ }>;
28
+ }, z.core.$strip>>;
29
+ conditions: z.ZodOptional<z.ZodArray<z.ZodObject<{
30
+ locale: z.ZodEnum<{
31
+ de: "de";
32
+ el: "el";
33
+ en: "en";
34
+ es: "es";
35
+ fr: "fr";
36
+ hi: "hi";
37
+ it: "it";
38
+ ka: "ka";
39
+ ru: "ru";
40
+ zh_cn: "zh_cn";
41
+ pt: "pt";
42
+ }>;
43
+ value: z.ZodString;
44
+ }, z.core.$strip>>>;
45
+ minAmountForDelivery: z.ZodOptional<z.ZodNumber>;
46
+ schedule: z.ZodOptional<z.ZodArray<z.ZodObject<{
47
+ day: z.ZodEnum<{
48
+ sun: "sun";
49
+ mon: "mon";
50
+ tue: "tue";
51
+ wed: "wed";
52
+ thu: "thu";
53
+ fri: "fri";
54
+ sat: "sat";
55
+ }>;
56
+ isClosed: z.ZodBoolean;
57
+ hours: z.ZodOptional<z.ZodArray<z.ZodObject<{
58
+ start: z.ZodString;
59
+ end: z.ZodString;
60
+ }, z.core.$strip>>>;
61
+ comment: z.ZodOptional<z.ZodArray<z.ZodObject<{
62
+ locale: z.ZodEnum<{
63
+ de: "de";
64
+ el: "el";
65
+ en: "en";
66
+ es: "es";
67
+ fr: "fr";
68
+ hi: "hi";
69
+ it: "it";
70
+ ka: "ka";
71
+ ru: "ru";
72
+ zh_cn: "zh_cn";
73
+ pt: "pt";
74
+ }>;
75
+ value: z.ZodString;
76
+ }, z.core.$strip>>>;
77
+ }, z.core.$strip>>>;
78
+ }, z.core.$strip>;
79
+ type DeliveryByCourier = z.infer<typeof DeliveryByCourierSchema>;
80
+ declare const SelfPickupSchema: z.ZodObject<{
81
+ isAvailable: z.ZodBoolean;
82
+ paymentMethods: z.ZodArray<z.ZodObject<{
83
+ id: z.ZodString;
84
+ title: z.ZodArray<z.ZodObject<{
85
+ locale: z.ZodEnum<{
86
+ de: "de";
87
+ el: "el";
88
+ en: "en";
89
+ es: "es";
90
+ fr: "fr";
91
+ hi: "hi";
92
+ it: "it";
93
+ ka: "ka";
94
+ ru: "ru";
95
+ zh_cn: "zh_cn";
96
+ pt: "pt";
97
+ }>;
98
+ value: z.ZodString;
99
+ }, z.core.$strip>>;
100
+ type: z.ZodEnum<{
101
+ cash: "cash";
102
+ card: "card";
103
+ custom: "custom";
104
+ }>;
105
+ }, z.core.$strip>>;
106
+ conditions: z.ZodOptional<z.ZodArray<z.ZodObject<{
107
+ locale: z.ZodEnum<{
108
+ de: "de";
109
+ el: "el";
110
+ en: "en";
111
+ es: "es";
112
+ fr: "fr";
113
+ hi: "hi";
114
+ it: "it";
115
+ ka: "ka";
116
+ ru: "ru";
117
+ zh_cn: "zh_cn";
118
+ pt: "pt";
119
+ }>;
120
+ value: z.ZodString;
121
+ }, z.core.$strip>>>;
122
+ schedule: z.ZodOptional<z.ZodArray<z.ZodObject<{
123
+ day: z.ZodEnum<{
124
+ sun: "sun";
125
+ mon: "mon";
126
+ tue: "tue";
127
+ wed: "wed";
128
+ thu: "thu";
129
+ fri: "fri";
130
+ sat: "sat";
131
+ }>;
132
+ isClosed: z.ZodBoolean;
133
+ hours: z.ZodOptional<z.ZodArray<z.ZodObject<{
134
+ start: z.ZodString;
135
+ end: z.ZodString;
136
+ }, z.core.$strip>>>;
137
+ comment: z.ZodOptional<z.ZodArray<z.ZodObject<{
138
+ locale: z.ZodEnum<{
139
+ de: "de";
140
+ el: "el";
141
+ en: "en";
142
+ es: "es";
143
+ fr: "fr";
144
+ hi: "hi";
145
+ it: "it";
146
+ ka: "ka";
147
+ ru: "ru";
148
+ zh_cn: "zh_cn";
149
+ pt: "pt";
150
+ }>;
151
+ value: z.ZodString;
152
+ }, z.core.$strip>>>;
153
+ }, z.core.$strip>>>;
154
+ warehouses: z.ZodOptional<z.ZodArray<z.ZodObject<{
155
+ id: z.ZodString;
156
+ title: z.ZodArray<z.ZodObject<{
157
+ locale: z.ZodEnum<{
158
+ de: "de";
159
+ el: "el";
160
+ en: "en";
161
+ es: "es";
162
+ fr: "fr";
163
+ hi: "hi";
164
+ it: "it";
165
+ ka: "ka";
166
+ ru: "ru";
167
+ zh_cn: "zh_cn";
168
+ pt: "pt";
169
+ }>;
170
+ value: z.ZodString;
171
+ }, z.core.$strip>>;
172
+ address: z.ZodObject<{
173
+ street: z.ZodArray<z.ZodObject<{
174
+ locale: z.ZodEnum<{
175
+ de: "de";
176
+ el: "el";
177
+ en: "en";
178
+ es: "es";
179
+ fr: "fr";
180
+ hi: "hi";
181
+ it: "it";
182
+ ka: "ka";
183
+ ru: "ru";
184
+ zh_cn: "zh_cn";
185
+ pt: "pt";
186
+ }>;
187
+ value: z.ZodString;
188
+ }, z.core.$strip>>;
189
+ }, z.core.$strip>;
190
+ }, z.core.$strip>>>;
191
+ }, z.core.$strip>;
192
+ type SelfPickup = z.infer<typeof SelfPickupSchema>;
193
+ declare const LinkSchema: z.ZodObject<{
194
+ to: z.ZodString;
195
+ label: z.ZodOptional<z.ZodArray<z.ZodObject<{
196
+ locale: z.ZodEnum<{
197
+ de: "de";
198
+ el: "el";
199
+ en: "en";
200
+ es: "es";
201
+ fr: "fr";
202
+ hi: "hi";
203
+ it: "it";
204
+ ka: "ka";
205
+ ru: "ru";
206
+ zh_cn: "zh_cn";
207
+ pt: "pt";
208
+ }>;
209
+ value: z.ZodString;
210
+ }, z.core.$strip>>>;
211
+ icon: z.ZodOptional<z.ZodString>;
212
+ target: z.ZodOptional<z.ZodString>;
213
+ }, z.core.$strip>;
214
+ type Link = z.infer<typeof LinkSchema>;
215
+ declare const LinksSchema: z.ZodObject<{
216
+ aside: z.ZodArray<z.ZodObject<{
217
+ to: z.ZodString;
218
+ label: z.ZodOptional<z.ZodArray<z.ZodObject<{
219
+ locale: z.ZodEnum<{
220
+ de: "de";
221
+ el: "el";
222
+ en: "en";
223
+ es: "es";
224
+ fr: "fr";
225
+ hi: "hi";
226
+ it: "it";
227
+ ka: "ka";
228
+ ru: "ru";
229
+ zh_cn: "zh_cn";
230
+ pt: "pt";
231
+ }>;
232
+ value: z.ZodString;
233
+ }, z.core.$strip>>>;
234
+ icon: z.ZodOptional<z.ZodString>;
235
+ target: z.ZodOptional<z.ZodString>;
236
+ }, z.core.$strip>>;
237
+ footer: z.ZodArray<z.ZodObject<{
238
+ to: z.ZodString;
239
+ label: z.ZodOptional<z.ZodArray<z.ZodObject<{
240
+ locale: z.ZodEnum<{
241
+ de: "de";
242
+ el: "el";
243
+ en: "en";
244
+ es: "es";
245
+ fr: "fr";
246
+ hi: "hi";
247
+ it: "it";
248
+ ka: "ka";
249
+ ru: "ru";
250
+ zh_cn: "zh_cn";
251
+ pt: "pt";
252
+ }>;
253
+ value: z.ZodString;
254
+ }, z.core.$strip>>>;
255
+ icon: z.ZodOptional<z.ZodString>;
256
+ target: z.ZodOptional<z.ZodString>;
257
+ }, z.core.$strip>>;
258
+ social: z.ZodArray<z.ZodObject<{
259
+ to: z.ZodString;
260
+ label: z.ZodOptional<z.ZodArray<z.ZodObject<{
261
+ locale: z.ZodEnum<{
262
+ de: "de";
263
+ el: "el";
264
+ en: "en";
265
+ es: "es";
266
+ fr: "fr";
267
+ hi: "hi";
268
+ it: "it";
269
+ ka: "ka";
270
+ ru: "ru";
271
+ zh_cn: "zh_cn";
272
+ pt: "pt";
273
+ }>;
274
+ value: z.ZodString;
275
+ }, z.core.$strip>>>;
276
+ icon: z.ZodOptional<z.ZodString>;
277
+ target: z.ZodOptional<z.ZodString>;
278
+ }, z.core.$strip>>;
279
+ }, z.core.$strip>;
280
+ type Links = z.infer<typeof LinksSchema>;
3
281
  declare const ChannelSchema: z.ZodObject<{
4
282
  id: z.ZodString;
5
283
  selectorTitle: z.ZodArray<z.ZodObject<{
@@ -703,7 +981,7 @@ type GatewayRequest = z.infer<typeof GatewayRequestSchema>;
703
981
  */
704
982
  declare const BaseResponseSchema: z.ZodObject<{
705
983
  ok: z.ZodBoolean;
706
- error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
984
+ error: z.ZodOptional<z.ZodString>;
707
985
  }, z.core.$strip>;
708
986
  declare const GatewayGetOptionsRequestSchema: z.ZodObject<{
709
987
  params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -713,7 +991,7 @@ declare const GatewayGetOptionsRequestSchema: z.ZodObject<{
713
991
  type GatewayGetOptionsRequest = z.infer<typeof GatewayGetOptionsRequestSchema>;
714
992
  declare const GatewayGetOptionsResponseSchema: z.ZodObject<{
715
993
  ok: z.ZodBoolean;
716
- error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
994
+ error: z.ZodOptional<z.ZodString>;
717
995
  type: z.ZodLiteral<"getOptions">;
718
996
  result: z.ZodObject<{
719
997
  selectorTitle: z.ZodArray<z.ZodObject<{
@@ -748,7 +1026,7 @@ declare const GatewayGetOptionsResponseSchema: z.ZodObject<{
748
1026
  }>;
749
1027
  value: z.ZodString;
750
1028
  }, z.core.$strip>>>;
751
- logoUrl: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1029
+ logoUrl: z.ZodOptional<z.ZodString>;
752
1030
  availableLocales: z.ZodArray<z.ZodEnum<{
753
1031
  de: "de";
754
1032
  el: "el";
@@ -1058,7 +1336,7 @@ declare const GatewayGetChannelsRequestSchema: z.ZodObject<{
1058
1336
  type GatewayGetChannelsRequest = z.infer<typeof GatewayGetChannelsRequestSchema>;
1059
1337
  declare const GatewayGetChannelsResponseSchema: z.ZodObject<{
1060
1338
  ok: z.ZodBoolean;
1061
- error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1339
+ error: z.ZodOptional<z.ZodString>;
1062
1340
  type: z.ZodLiteral<"getChannels">;
1063
1341
  result: z.ZodArray<z.ZodObject<{
1064
1342
  id: z.ZodString;
@@ -1417,13 +1695,13 @@ declare const GatewayGetOrderRequestSchema: z.ZodObject<{
1417
1695
  params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1418
1696
  type: z.ZodLiteral<"getOrder">;
1419
1697
  body: z.ZodObject<{
1420
- id: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1698
+ id: z.ZodOptional<z.ZodString>;
1421
1699
  }, z.core.$strip>;
1422
1700
  }, z.core.$strip>;
1423
1701
  type GatewayGetOrderRequest = z.infer<typeof GatewayGetOrderRequestSchema>;
1424
1702
  declare const GatewayGetOrderResponseSchema: z.ZodObject<{
1425
1703
  ok: z.ZodBoolean;
1426
- error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1704
+ error: z.ZodOptional<z.ZodString>;
1427
1705
  type: z.ZodLiteral<"getOrder">;
1428
1706
  result: z.ZodNullable<z.ZodObject<{
1429
1707
  id: z.ZodString;
@@ -1484,7 +1762,7 @@ declare const GatewayCreateOrderRequestSchema: z.ZodObject<{
1484
1762
  type GatewayCreateOrderRequest = z.infer<typeof GatewayCreateOrderRequestSchema>;
1485
1763
  declare const GatewayCreateOrderResponseSchema: z.ZodObject<{
1486
1764
  ok: z.ZodBoolean;
1487
- error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1765
+ error: z.ZodOptional<z.ZodString>;
1488
1766
  type: z.ZodLiteral<"createOrder">;
1489
1767
  result: z.ZodObject<{
1490
1768
  id: z.ZodString;
@@ -1593,7 +1871,7 @@ declare const GatewayUpdateOrderRequestSchema: z.ZodObject<{
1593
1871
  type GatewayUpdateOrderRequest = z.infer<typeof GatewayUpdateOrderRequestSchema>;
1594
1872
  declare const GatewayUpdateOrderResponseSchema: z.ZodObject<{
1595
1873
  ok: z.ZodBoolean;
1596
- error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1874
+ error: z.ZodOptional<z.ZodString>;
1597
1875
  type: z.ZodLiteral<"updateOrder">;
1598
1876
  result: z.ZodObject<{
1599
1877
  id: z.ZodString;
@@ -1702,7 +1980,7 @@ declare const GatewayCompleteOrderRequestSchema: z.ZodObject<{
1702
1980
  type GatewayCompleteOrderRequest = z.infer<typeof GatewayCompleteOrderRequestSchema>;
1703
1981
  declare const GatewayCompleteOrderResponseSchema: z.ZodObject<{
1704
1982
  ok: z.ZodBoolean;
1705
- error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1983
+ error: z.ZodOptional<z.ZodString>;
1706
1984
  type: z.ZodLiteral<"completeOrder">;
1707
1985
  result: z.ZodObject<{
1708
1986
  id: z.ZodString;
@@ -1766,7 +2044,7 @@ declare const GatewayAddOrderItemRequestSchema: z.ZodObject<{
1766
2044
  type GatewayAddOrderItemRequest = z.infer<typeof GatewayAddOrderItemRequestSchema>;
1767
2045
  declare const GatewayAddOrderItemResponseSchema: z.ZodObject<{
1768
2046
  ok: z.ZodBoolean;
1769
- error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2047
+ error: z.ZodOptional<z.ZodString>;
1770
2048
  type: z.ZodLiteral<"addOrderItem">;
1771
2049
  result: z.ZodObject<{
1772
2050
  id: z.ZodString;
@@ -1834,7 +2112,7 @@ declare const GatewayIncrementOrderItemQuantityRequestSchema: z.ZodObject<{
1834
2112
  type GatewayIncrementOrderItemQuantityRequest = z.infer<typeof GatewayIncrementOrderItemQuantityRequestSchema>;
1835
2113
  declare const GatewayIncrementOrderItemQuantityResponseSchema: z.ZodObject<{
1836
2114
  ok: z.ZodBoolean;
1837
- error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2115
+ error: z.ZodOptional<z.ZodString>;
1838
2116
  type: z.ZodLiteral<"incrementOrderItemQuantity">;
1839
2117
  result: z.ZodObject<{
1840
2118
  id: z.ZodString;
@@ -1902,7 +2180,7 @@ declare const GatewayDecrementOrderItemQuantityRequestSchema: z.ZodObject<{
1902
2180
  type GatewayDecrementOrderItemQuantityRequest = z.infer<typeof GatewayDecrementOrderItemQuantityRequestSchema>;
1903
2181
  declare const GatewayDecrementOrderItemQuantityResponseSchema: z.ZodObject<{
1904
2182
  ok: z.ZodBoolean;
1905
- error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2183
+ error: z.ZodOptional<z.ZodString>;
1906
2184
  type: z.ZodLiteral<"decrementOrderItemQuantity">;
1907
2185
  result: z.ZodObject<{
1908
2186
  id: z.ZodString;
@@ -1963,7 +2241,7 @@ declare const GatewayGetMenuRequestSchema: z.ZodObject<{
1963
2241
  type GatewayGetMenuRequest = z.infer<typeof GatewayGetMenuRequestSchema>;
1964
2242
  declare const GatewayGetMenuResponseSchema: z.ZodObject<{
1965
2243
  ok: z.ZodBoolean;
1966
- error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2244
+ error: z.ZodOptional<z.ZodString>;
1967
2245
  type: z.ZodLiteral<"getMenu">;
1968
2246
  result: z.ZodObject<{
1969
2247
  id: z.ZodString;
@@ -2004,7 +2282,7 @@ declare const GatewayGetMenuResponseSchema: z.ZodObject<{
2004
2282
  }>;
2005
2283
  value: z.ZodString;
2006
2284
  }, z.core.$strip>>;
2007
- icon: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2285
+ icon: z.ZodOptional<z.ZodString>;
2008
2286
  products: z.ZodArray<z.ZodObject<{
2009
2287
  id: z.ZodString;
2010
2288
  slug: z.ZodString;
@@ -2082,6 +2360,7 @@ declare const GatewayGetMenuResponseSchema: z.ZodObject<{
2082
2360
  url: z.ZodString;
2083
2361
  type: z.ZodEnum<{
2084
2362
  "video/mp4": "video/mp4";
2363
+ "video/webm": "video/webm";
2085
2364
  }>;
2086
2365
  }, z.core.$strip>>;
2087
2366
  weightUnit: z.ZodEnum<{
@@ -2167,7 +2446,7 @@ declare const GatewayGetDeliveryByCourierStatusRequestSchema: z.ZodObject<{
2167
2446
  type GatewayGetDeliveryByCourierStatusRequest = z.infer<typeof GatewayGetDeliveryByCourierStatusRequestSchema>;
2168
2447
  declare const GatewayGetDeliveryByCourierStatusResponseSchema: z.ZodObject<{
2169
2448
  ok: z.ZodBoolean;
2170
- error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2449
+ error: z.ZodOptional<z.ZodString>;
2171
2450
  type: z.ZodLiteral<"getDeliveryByCourierStatus">;
2172
2451
  result: z.ZodObject<{
2173
2452
  isClosed: z.ZodBoolean;
@@ -2242,7 +2521,7 @@ declare const GatewayGetSelfPickupStatusRequestSchema: z.ZodObject<{
2242
2521
  type GatewayGetSelfPickupStatusRequest = z.infer<typeof GatewayGetSelfPickupStatusRequestSchema>;
2243
2522
  declare const GatewayGetSelfPickupStatusResponseSchema: z.ZodObject<{
2244
2523
  ok: z.ZodBoolean;
2245
- error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2524
+ error: z.ZodOptional<z.ZodString>;
2246
2525
  type: z.ZodLiteral<"getSelfPickupStatus">;
2247
2526
  result: z.ZodObject<{
2248
2527
  isClosed: z.ZodBoolean;
@@ -2321,7 +2600,7 @@ declare const GatewayGetTimeSlotsRequestSchema: z.ZodObject<{
2321
2600
  type GatewayGetTimeSlotsRequest = z.infer<typeof GatewayGetTimeSlotsRequestSchema>;
2322
2601
  declare const GatewayGetTimeSlotsResponseSchema: z.ZodObject<{
2323
2602
  ok: z.ZodBoolean;
2324
- error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2603
+ error: z.ZodOptional<z.ZodString>;
2325
2604
  type: z.ZodLiteral<"getTimeSlots">;
2326
2605
  result: z.ZodArray<z.ZodObject<{
2327
2606
  start: z.ZodString;
@@ -2334,7 +2613,7 @@ type GatewayGetTimeSlotsResponse = z.infer<typeof GatewayGetTimeSlotsResponseSch
2334
2613
  */
2335
2614
  declare const GatewayResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
2336
2615
  ok: z.ZodBoolean;
2337
- error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2616
+ error: z.ZodOptional<z.ZodString>;
2338
2617
  type: z.ZodLiteral<"getOptions">;
2339
2618
  result: z.ZodObject<{
2340
2619
  selectorTitle: z.ZodArray<z.ZodObject<{
@@ -2369,7 +2648,7 @@ declare const GatewayResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
2369
2648
  }>;
2370
2649
  value: z.ZodString;
2371
2650
  }, z.core.$strip>>>;
2372
- logoUrl: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2651
+ logoUrl: z.ZodOptional<z.ZodString>;
2373
2652
  availableLocales: z.ZodArray<z.ZodEnum<{
2374
2653
  de: "de";
2375
2654
  el: "el";
@@ -2671,7 +2950,7 @@ declare const GatewayResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
2671
2950
  }, z.core.$strip>;
2672
2951
  }, z.core.$strip>, z.ZodObject<{
2673
2952
  ok: z.ZodBoolean;
2674
- error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2953
+ error: z.ZodOptional<z.ZodString>;
2675
2954
  type: z.ZodLiteral<"getChannels">;
2676
2955
  result: z.ZodArray<z.ZodObject<{
2677
2956
  id: z.ZodString;
@@ -3026,7 +3305,7 @@ declare const GatewayResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
3026
3305
  }, z.core.$strip>>;
3027
3306
  }, z.core.$strip>, z.ZodObject<{
3028
3307
  ok: z.ZodBoolean;
3029
- error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3308
+ error: z.ZodOptional<z.ZodString>;
3030
3309
  type: z.ZodLiteral<"getOrder">;
3031
3310
  result: z.ZodNullable<z.ZodObject<{
3032
3311
  id: z.ZodString;
@@ -3079,7 +3358,7 @@ declare const GatewayResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
3079
3358
  }, z.core.$strip>>;
3080
3359
  }, z.core.$strip>, z.ZodObject<{
3081
3360
  ok: z.ZodBoolean;
3082
- error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3361
+ error: z.ZodOptional<z.ZodString>;
3083
3362
  type: z.ZodLiteral<"createOrder">;
3084
3363
  result: z.ZodObject<{
3085
3364
  id: z.ZodString;
@@ -3132,7 +3411,7 @@ declare const GatewayResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
3132
3411
  }, z.core.$strip>;
3133
3412
  }, z.core.$strip>, z.ZodObject<{
3134
3413
  ok: z.ZodBoolean;
3135
- error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3414
+ error: z.ZodOptional<z.ZodString>;
3136
3415
  type: z.ZodLiteral<"updateOrder">;
3137
3416
  result: z.ZodObject<{
3138
3417
  id: z.ZodString;
@@ -3185,7 +3464,7 @@ declare const GatewayResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
3185
3464
  }, z.core.$strip>;
3186
3465
  }, z.core.$strip>, z.ZodObject<{
3187
3466
  ok: z.ZodBoolean;
3188
- error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3467
+ error: z.ZodOptional<z.ZodString>;
3189
3468
  type: z.ZodLiteral<"completeOrder">;
3190
3469
  result: z.ZodObject<{
3191
3470
  id: z.ZodString;
@@ -3238,7 +3517,7 @@ declare const GatewayResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
3238
3517
  }, z.core.$strip>;
3239
3518
  }, z.core.$strip>, z.ZodObject<{
3240
3519
  ok: z.ZodBoolean;
3241
- error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3520
+ error: z.ZodOptional<z.ZodString>;
3242
3521
  type: z.ZodLiteral<"addOrderItem">;
3243
3522
  result: z.ZodObject<{
3244
3523
  id: z.ZodString;
@@ -3291,7 +3570,7 @@ declare const GatewayResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
3291
3570
  }, z.core.$strip>;
3292
3571
  }, z.core.$strip>, z.ZodObject<{
3293
3572
  ok: z.ZodBoolean;
3294
- error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3573
+ error: z.ZodOptional<z.ZodString>;
3295
3574
  type: z.ZodLiteral<"incrementOrderItemQuantity">;
3296
3575
  result: z.ZodObject<{
3297
3576
  id: z.ZodString;
@@ -3344,7 +3623,7 @@ declare const GatewayResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
3344
3623
  }, z.core.$strip>;
3345
3624
  }, z.core.$strip>, z.ZodObject<{
3346
3625
  ok: z.ZodBoolean;
3347
- error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3626
+ error: z.ZodOptional<z.ZodString>;
3348
3627
  type: z.ZodLiteral<"decrementOrderItemQuantity">;
3349
3628
  result: z.ZodObject<{
3350
3629
  id: z.ZodString;
@@ -3397,7 +3676,7 @@ declare const GatewayResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
3397
3676
  }, z.core.$strip>;
3398
3677
  }, z.core.$strip>, z.ZodObject<{
3399
3678
  ok: z.ZodBoolean;
3400
- error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3679
+ error: z.ZodOptional<z.ZodString>;
3401
3680
  type: z.ZodLiteral<"getMenu">;
3402
3681
  result: z.ZodObject<{
3403
3682
  id: z.ZodString;
@@ -3438,7 +3717,7 @@ declare const GatewayResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
3438
3717
  }>;
3439
3718
  value: z.ZodString;
3440
3719
  }, z.core.$strip>>;
3441
- icon: z.ZodNullable<z.ZodOptional<z.ZodString>>;
3720
+ icon: z.ZodOptional<z.ZodString>;
3442
3721
  products: z.ZodArray<z.ZodObject<{
3443
3722
  id: z.ZodString;
3444
3723
  slug: z.ZodString;
@@ -3516,6 +3795,7 @@ declare const GatewayResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
3516
3795
  url: z.ZodString;
3517
3796
  type: z.ZodEnum<{
3518
3797
  "video/mp4": "video/mp4";
3798
+ "video/webm": "video/webm";
3519
3799
  }>;
3520
3800
  }, z.core.$strip>>;
3521
3801
  weightUnit: z.ZodEnum<{
@@ -3591,7 +3871,7 @@ declare const GatewayResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
3591
3871
  }, z.core.$strip>;
3592
3872
  }, z.core.$strip>, z.ZodObject<{
3593
3873
  ok: z.ZodBoolean;
3594
- error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3874
+ error: z.ZodOptional<z.ZodString>;
3595
3875
  type: z.ZodLiteral<"getDeliveryByCourierStatus">;
3596
3876
  result: z.ZodObject<{
3597
3877
  isClosed: z.ZodBoolean;
@@ -3656,7 +3936,7 @@ declare const GatewayResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
3656
3936
  }, z.core.$strip>;
3657
3937
  }, z.core.$strip>, z.ZodObject<{
3658
3938
  ok: z.ZodBoolean;
3659
- error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3939
+ error: z.ZodOptional<z.ZodString>;
3660
3940
  type: z.ZodLiteral<"getSelfPickupStatus">;
3661
3941
  result: z.ZodObject<{
3662
3942
  isClosed: z.ZodBoolean;
@@ -3721,7 +4001,7 @@ declare const GatewayResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
3721
4001
  }, z.core.$strip>;
3722
4002
  }, z.core.$strip>, z.ZodObject<{
3723
4003
  ok: z.ZodBoolean;
3724
- error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4004
+ error: z.ZodOptional<z.ZodString>;
3725
4005
  type: z.ZodLiteral<"getTimeSlots">;
3726
4006
  result: z.ZodArray<z.ZodObject<{
3727
4007
  start: z.ZodString;
@@ -3791,7 +4071,7 @@ declare const MenuCategorySchema: z.ZodObject<{
3791
4071
  }>;
3792
4072
  value: z.ZodString;
3793
4073
  }, z.core.$strip>>;
3794
- icon: z.ZodNullable<z.ZodOptional<z.ZodString>>;
4074
+ icon: z.ZodOptional<z.ZodString>;
3795
4075
  products: z.ZodArray<z.ZodObject<{
3796
4076
  id: z.ZodString;
3797
4077
  slug: z.ZodString;
@@ -3869,6 +4149,7 @@ declare const MenuCategorySchema: z.ZodObject<{
3869
4149
  url: z.ZodString;
3870
4150
  type: z.ZodEnum<{
3871
4151
  "video/mp4": "video/mp4";
4152
+ "video/webm": "video/webm";
3872
4153
  }>;
3873
4154
  }, z.core.$strip>>;
3874
4155
  weightUnit: z.ZodEnum<{
@@ -3981,7 +4262,7 @@ declare const MenuSchema: z.ZodObject<{
3981
4262
  }>;
3982
4263
  value: z.ZodString;
3983
4264
  }, z.core.$strip>>;
3984
- icon: z.ZodNullable<z.ZodOptional<z.ZodString>>;
4265
+ icon: z.ZodOptional<z.ZodString>;
3985
4266
  products: z.ZodArray<z.ZodObject<{
3986
4267
  id: z.ZodString;
3987
4268
  slug: z.ZodString;
@@ -4059,6 +4340,7 @@ declare const MenuSchema: z.ZodObject<{
4059
4340
  url: z.ZodString;
4060
4341
  type: z.ZodEnum<{
4061
4342
  "video/mp4": "video/mp4";
4343
+ "video/webm": "video/webm";
4062
4344
  }>;
4063
4345
  }, z.core.$strip>>;
4064
4346
  weightUnit: z.ZodEnum<{
@@ -4134,6 +4416,21 @@ declare const MenuSchema: z.ZodObject<{
4134
4416
  }, z.core.$strip>;
4135
4417
  type Menu = z.infer<typeof MenuSchema>;
4136
4418
 
4419
+ declare const HeadLinkSchema: z.ZodObject<{
4420
+ rel: z.ZodOptional<z.ZodString>;
4421
+ type: z.ZodOptional<z.ZodString>;
4422
+ sizes: z.ZodOptional<z.ZodString>;
4423
+ href: z.ZodOptional<z.ZodString>;
4424
+ }, z.core.$strip>;
4425
+ type HeadLink = z.infer<typeof HeadLinkSchema>;
4426
+ declare const HeadScriptSchema: z.ZodObject<{
4427
+ src: z.ZodOptional<z.ZodString>;
4428
+ type: z.ZodOptional<z.ZodString>;
4429
+ textContent: z.ZodOptional<z.ZodString>;
4430
+ }, z.core.$strip>;
4431
+ type HeadScript = z.infer<typeof HeadScriptSchema>;
4432
+ declare const HeadStyleSchema: z.ZodString;
4433
+ type HeadStyle = z.infer<typeof HeadStyleSchema>;
4137
4434
  declare const OptionsSchema: z.ZodObject<{
4138
4435
  selectorTitle: z.ZodArray<z.ZodObject<{
4139
4436
  locale: z.ZodEnum<{
@@ -4167,7 +4464,7 @@ declare const OptionsSchema: z.ZodObject<{
4167
4464
  }>;
4168
4465
  value: z.ZodString;
4169
4466
  }, z.core.$strip>>>;
4170
- logoUrl: z.ZodNullable<z.ZodOptional<z.ZodString>>;
4467
+ logoUrl: z.ZodOptional<z.ZodString>;
4171
4468
  availableLocales: z.ZodArray<z.ZodEnum<{
4172
4469
  de: "de";
4173
4470
  el: "el";
@@ -4673,6 +4970,7 @@ declare const ProductVariantSchema: z.ZodObject<{
4673
4970
  url: z.ZodString;
4674
4971
  type: z.ZodEnum<{
4675
4972
  "video/mp4": "video/mp4";
4973
+ "video/webm": "video/webm";
4676
4974
  }>;
4677
4975
  }, z.core.$strip>>;
4678
4976
  weightUnit: z.ZodEnum<{
@@ -4829,6 +5127,7 @@ declare const ProductSchema: z.ZodObject<{
4829
5127
  url: z.ZodString;
4830
5128
  type: z.ZodEnum<{
4831
5129
  "video/mp4": "video/mp4";
5130
+ "video/webm": "video/webm";
4832
5131
  }>;
4833
5132
  }, z.core.$strip>>;
4834
5133
  weightUnit: z.ZodEnum<{
@@ -5093,6 +5392,7 @@ type OpeningStatus = z.infer<typeof OpeningStatusSchema>;
5093
5392
 
5094
5393
  declare const VideoTypeSchema: z.ZodEnum<{
5095
5394
  "video/mp4": "video/mp4";
5395
+ "video/webm": "video/webm";
5096
5396
  }>;
5097
5397
  type VideoType = z.infer<typeof VideoTypeSchema>;
5098
5398
  declare const VideoSchema: z.ZodObject<{
@@ -5100,6 +5400,7 @@ declare const VideoSchema: z.ZodObject<{
5100
5400
  url: z.ZodString;
5101
5401
  type: z.ZodEnum<{
5102
5402
  "video/mp4": "video/mp4";
5403
+ "video/webm": "video/webm";
5103
5404
  }>;
5104
5405
  }, z.core.$strip>;
5105
5406
  type Video = z.infer<typeof VideoSchema>;
@@ -5162,5 +5463,5 @@ declare const WarehouseSchema: z.ZodObject<{
5162
5463
  }, z.core.$strip>;
5163
5464
  type Warehouse = z.infer<typeof WarehouseSchema>;
5164
5465
 
5165
- 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 };
5166
- export type { Channel, CompositionIngredient, CompositionProductItem, CountryCode, CurrencyCode, DaySchedule, 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, Image, ImageFormat, ImageSize, Locale, LocaleValue, Menu, MenuCategory, NextOpening, NutritionFacts, OpeningStatus, Options, Order, OrderDeliveryAddress, OrderItem, OrderItemChange, OrderStatus, OrderWarehouseAddress, PaymentMethod, PaymentMethodType, Product, ProductBadge, ProductComposition, ProductVariant, RecommendedProduct, Schedule, TimePeriod, TimeType, TimeZone, Video, VideoType, Warehouse, WarehouseAddress, WeekDay, WeightUnit };
5466
+ export { 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, 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 };
5467
+ 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 };