@nextorders/food-schema 0.3.2 → 0.3.4
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 +77 -26
- package/dist/index.d.ts +77 -26
- package/dist/index.mjs +3 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -21,9 +21,9 @@ declare const DeliveryByCourierSchema: z.ZodObject<{
|
|
|
21
21
|
value: z.ZodString;
|
|
22
22
|
}, z.core.$strip>>;
|
|
23
23
|
type: z.ZodEnum<{
|
|
24
|
+
custom: "custom";
|
|
24
25
|
cash: "cash";
|
|
25
26
|
card: "card";
|
|
26
|
-
custom: "custom";
|
|
27
27
|
}>;
|
|
28
28
|
}, z.core.$strip>>;
|
|
29
29
|
conditions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -98,9 +98,9 @@ declare const SelfPickupSchema: z.ZodObject<{
|
|
|
98
98
|
value: z.ZodString;
|
|
99
99
|
}, z.core.$strip>>;
|
|
100
100
|
type: z.ZodEnum<{
|
|
101
|
+
custom: "custom";
|
|
101
102
|
cash: "cash";
|
|
102
103
|
card: "card";
|
|
103
|
-
custom: "custom";
|
|
104
104
|
}>;
|
|
105
105
|
}, z.core.$strip>>;
|
|
106
106
|
conditions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -400,9 +400,9 @@ declare const ChannelSchema: z.ZodObject<{
|
|
|
400
400
|
value: z.ZodString;
|
|
401
401
|
}, z.core.$strip>>;
|
|
402
402
|
type: z.ZodEnum<{
|
|
403
|
+
custom: "custom";
|
|
403
404
|
cash: "cash";
|
|
404
405
|
card: "card";
|
|
405
|
-
custom: "custom";
|
|
406
406
|
}>;
|
|
407
407
|
}, z.core.$strip>>;
|
|
408
408
|
conditions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -476,9 +476,9 @@ declare const ChannelSchema: z.ZodObject<{
|
|
|
476
476
|
value: z.ZodString;
|
|
477
477
|
}, z.core.$strip>>;
|
|
478
478
|
type: z.ZodEnum<{
|
|
479
|
+
custom: "custom";
|
|
479
480
|
cash: "cash";
|
|
480
481
|
card: "card";
|
|
481
|
-
custom: "custom";
|
|
482
482
|
}>;
|
|
483
483
|
}, z.core.$strip>>;
|
|
484
484
|
conditions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -1365,6 +1365,23 @@ 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>;
|
|
1369
|
+
deliveryZoneNotFoundMessage: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1370
|
+
locale: z.ZodEnum<{
|
|
1371
|
+
de: "de";
|
|
1372
|
+
el: "el";
|
|
1373
|
+
en: "en";
|
|
1374
|
+
es: "es";
|
|
1375
|
+
fr: "fr";
|
|
1376
|
+
hi: "hi";
|
|
1377
|
+
it: "it";
|
|
1378
|
+
ka: "ka";
|
|
1379
|
+
ru: "ru";
|
|
1380
|
+
zh_cn: "zh_cn";
|
|
1381
|
+
pt: "pt";
|
|
1382
|
+
}>;
|
|
1383
|
+
value: z.ZodString;
|
|
1384
|
+
}, z.core.$strip>>>;
|
|
1368
1385
|
}, z.core.$strip>;
|
|
1369
1386
|
}, z.core.$strip>;
|
|
1370
1387
|
type GatewayGetOptionsResponse = z.infer<typeof GatewayGetOptionsResponseSchema>;
|
|
@@ -1480,9 +1497,9 @@ declare const GatewayGetChannelsResponseSchema: z.ZodObject<{
|
|
|
1480
1497
|
value: z.ZodString;
|
|
1481
1498
|
}, z.core.$strip>>;
|
|
1482
1499
|
type: z.ZodEnum<{
|
|
1500
|
+
custom: "custom";
|
|
1483
1501
|
cash: "cash";
|
|
1484
1502
|
card: "card";
|
|
1485
|
-
custom: "custom";
|
|
1486
1503
|
}>;
|
|
1487
1504
|
}, z.core.$strip>>;
|
|
1488
1505
|
conditions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -1556,9 +1573,9 @@ declare const GatewayGetChannelsResponseSchema: z.ZodObject<{
|
|
|
1556
1573
|
value: z.ZodString;
|
|
1557
1574
|
}, z.core.$strip>>;
|
|
1558
1575
|
type: z.ZodEnum<{
|
|
1576
|
+
custom: "custom";
|
|
1559
1577
|
cash: "cash";
|
|
1560
1578
|
card: "card";
|
|
1561
|
-
custom: "custom";
|
|
1562
1579
|
}>;
|
|
1563
1580
|
}, z.core.$strip>>;
|
|
1564
1581
|
conditions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -2415,17 +2432,17 @@ declare const GatewayGetMenuResponseSchema: z.ZodObject<{
|
|
|
2415
2432
|
id: z.ZodString;
|
|
2416
2433
|
url: z.ZodString;
|
|
2417
2434
|
size: z.ZodEnum<{
|
|
2418
|
-
original: "original";
|
|
2419
2435
|
xs: "xs";
|
|
2420
2436
|
sm: "sm";
|
|
2421
2437
|
md: "md";
|
|
2422
2438
|
lg: "lg";
|
|
2423
2439
|
xl: "xl";
|
|
2440
|
+
original: "original";
|
|
2424
2441
|
}>;
|
|
2425
2442
|
format: z.ZodEnum<{
|
|
2443
|
+
original: "original";
|
|
2426
2444
|
jpeg: "jpeg";
|
|
2427
2445
|
webp: "webp";
|
|
2428
|
-
original: "original";
|
|
2429
2446
|
}>;
|
|
2430
2447
|
}, z.core.$strip>>;
|
|
2431
2448
|
video: z.ZodOptional<z.ZodObject<{
|
|
@@ -3068,6 +3085,23 @@ declare const GatewayResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
3068
3085
|
}, z.core.$strip>>>;
|
|
3069
3086
|
headStyles: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3070
3087
|
addressSuggestEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
3088
|
+
deliveryZonesEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
3089
|
+
deliveryZoneNotFoundMessage: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3090
|
+
locale: z.ZodEnum<{
|
|
3091
|
+
de: "de";
|
|
3092
|
+
el: "el";
|
|
3093
|
+
en: "en";
|
|
3094
|
+
es: "es";
|
|
3095
|
+
fr: "fr";
|
|
3096
|
+
hi: "hi";
|
|
3097
|
+
it: "it";
|
|
3098
|
+
ka: "ka";
|
|
3099
|
+
ru: "ru";
|
|
3100
|
+
zh_cn: "zh_cn";
|
|
3101
|
+
pt: "pt";
|
|
3102
|
+
}>;
|
|
3103
|
+
value: z.ZodString;
|
|
3104
|
+
}, z.core.$strip>>>;
|
|
3071
3105
|
}, z.core.$strip>;
|
|
3072
3106
|
}, z.core.$strip>, z.ZodObject<{
|
|
3073
3107
|
ok: z.ZodBoolean;
|
|
@@ -3175,9 +3209,9 @@ declare const GatewayResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
3175
3209
|
value: z.ZodString;
|
|
3176
3210
|
}, z.core.$strip>>;
|
|
3177
3211
|
type: z.ZodEnum<{
|
|
3212
|
+
custom: "custom";
|
|
3178
3213
|
cash: "cash";
|
|
3179
3214
|
card: "card";
|
|
3180
|
-
custom: "custom";
|
|
3181
3215
|
}>;
|
|
3182
3216
|
}, z.core.$strip>>;
|
|
3183
3217
|
conditions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -3251,9 +3285,9 @@ declare const GatewayResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
3251
3285
|
value: z.ZodString;
|
|
3252
3286
|
}, z.core.$strip>>;
|
|
3253
3287
|
type: z.ZodEnum<{
|
|
3288
|
+
custom: "custom";
|
|
3254
3289
|
cash: "cash";
|
|
3255
3290
|
card: "card";
|
|
3256
|
-
custom: "custom";
|
|
3257
3291
|
}>;
|
|
3258
3292
|
}, z.core.$strip>>;
|
|
3259
3293
|
conditions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -3927,17 +3961,17 @@ declare const GatewayResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
3927
3961
|
id: z.ZodString;
|
|
3928
3962
|
url: z.ZodString;
|
|
3929
3963
|
size: z.ZodEnum<{
|
|
3930
|
-
original: "original";
|
|
3931
3964
|
xs: "xs";
|
|
3932
3965
|
sm: "sm";
|
|
3933
3966
|
md: "md";
|
|
3934
3967
|
lg: "lg";
|
|
3935
3968
|
xl: "xl";
|
|
3969
|
+
original: "original";
|
|
3936
3970
|
}>;
|
|
3937
3971
|
format: z.ZodEnum<{
|
|
3972
|
+
original: "original";
|
|
3938
3973
|
jpeg: "jpeg";
|
|
3939
3974
|
webp: "webp";
|
|
3940
|
-
original: "original";
|
|
3941
3975
|
}>;
|
|
3942
3976
|
}, z.core.$strip>>;
|
|
3943
3977
|
video: z.ZodOptional<z.ZodObject<{
|
|
@@ -4180,9 +4214,9 @@ declare const GatewayResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
4180
4214
|
type GatewayResponse = z.infer<typeof GatewayResponseSchema>;
|
|
4181
4215
|
|
|
4182
4216
|
declare const ImageFormatSchema: z.ZodEnum<{
|
|
4217
|
+
original: "original";
|
|
4183
4218
|
jpeg: "jpeg";
|
|
4184
4219
|
webp: "webp";
|
|
4185
|
-
original: "original";
|
|
4186
4220
|
}>;
|
|
4187
4221
|
type ImageFormat = z.infer<typeof ImageFormatSchema>;
|
|
4188
4222
|
/**
|
|
@@ -4194,29 +4228,29 @@ type ImageFormat = z.infer<typeof ImageFormatSchema>;
|
|
|
4194
4228
|
* - xl - 1920px
|
|
4195
4229
|
*/
|
|
4196
4230
|
declare const ImageSizeSchema: z.ZodEnum<{
|
|
4197
|
-
original: "original";
|
|
4198
4231
|
xs: "xs";
|
|
4199
4232
|
sm: "sm";
|
|
4200
4233
|
md: "md";
|
|
4201
4234
|
lg: "lg";
|
|
4202
4235
|
xl: "xl";
|
|
4236
|
+
original: "original";
|
|
4203
4237
|
}>;
|
|
4204
4238
|
type ImageSize = z.infer<typeof ImageSizeSchema>;
|
|
4205
4239
|
declare const ImageSchema: z.ZodObject<{
|
|
4206
4240
|
id: z.ZodString;
|
|
4207
4241
|
url: z.ZodString;
|
|
4208
4242
|
size: z.ZodEnum<{
|
|
4209
|
-
original: "original";
|
|
4210
4243
|
xs: "xs";
|
|
4211
4244
|
sm: "sm";
|
|
4212
4245
|
md: "md";
|
|
4213
4246
|
lg: "lg";
|
|
4214
4247
|
xl: "xl";
|
|
4248
|
+
original: "original";
|
|
4215
4249
|
}>;
|
|
4216
4250
|
format: z.ZodEnum<{
|
|
4251
|
+
original: "original";
|
|
4217
4252
|
jpeg: "jpeg";
|
|
4218
4253
|
webp: "webp";
|
|
4219
|
-
original: "original";
|
|
4220
4254
|
}>;
|
|
4221
4255
|
}, z.core.$strip>;
|
|
4222
4256
|
type Image = z.infer<typeof ImageSchema>;
|
|
@@ -4300,17 +4334,17 @@ declare const MenuCategorySchema: z.ZodObject<{
|
|
|
4300
4334
|
id: z.ZodString;
|
|
4301
4335
|
url: z.ZodString;
|
|
4302
4336
|
size: z.ZodEnum<{
|
|
4303
|
-
original: "original";
|
|
4304
4337
|
xs: "xs";
|
|
4305
4338
|
sm: "sm";
|
|
4306
4339
|
md: "md";
|
|
4307
4340
|
lg: "lg";
|
|
4308
4341
|
xl: "xl";
|
|
4342
|
+
original: "original";
|
|
4309
4343
|
}>;
|
|
4310
4344
|
format: z.ZodEnum<{
|
|
4345
|
+
original: "original";
|
|
4311
4346
|
jpeg: "jpeg";
|
|
4312
4347
|
webp: "webp";
|
|
4313
|
-
original: "original";
|
|
4314
4348
|
}>;
|
|
4315
4349
|
}, z.core.$strip>>;
|
|
4316
4350
|
video: z.ZodOptional<z.ZodObject<{
|
|
@@ -4491,17 +4525,17 @@ declare const MenuSchema: z.ZodObject<{
|
|
|
4491
4525
|
id: z.ZodString;
|
|
4492
4526
|
url: z.ZodString;
|
|
4493
4527
|
size: z.ZodEnum<{
|
|
4494
|
-
original: "original";
|
|
4495
4528
|
xs: "xs";
|
|
4496
4529
|
sm: "sm";
|
|
4497
4530
|
md: "md";
|
|
4498
4531
|
lg: "lg";
|
|
4499
4532
|
xl: "xl";
|
|
4533
|
+
original: "original";
|
|
4500
4534
|
}>;
|
|
4501
4535
|
format: z.ZodEnum<{
|
|
4536
|
+
original: "original";
|
|
4502
4537
|
jpeg: "jpeg";
|
|
4503
4538
|
webp: "webp";
|
|
4504
|
-
original: "original";
|
|
4505
4539
|
}>;
|
|
4506
4540
|
}, z.core.$strip>>;
|
|
4507
4541
|
video: z.ZodOptional<z.ZodObject<{
|
|
@@ -4933,6 +4967,23 @@ declare const OptionsSchema: z.ZodObject<{
|
|
|
4933
4967
|
}, z.core.$strip>>>;
|
|
4934
4968
|
headStyles: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4935
4969
|
addressSuggestEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
4970
|
+
deliveryZonesEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
4971
|
+
deliveryZoneNotFoundMessage: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4972
|
+
locale: z.ZodEnum<{
|
|
4973
|
+
de: "de";
|
|
4974
|
+
el: "el";
|
|
4975
|
+
en: "en";
|
|
4976
|
+
es: "es";
|
|
4977
|
+
fr: "fr";
|
|
4978
|
+
hi: "hi";
|
|
4979
|
+
it: "it";
|
|
4980
|
+
ka: "ka";
|
|
4981
|
+
ru: "ru";
|
|
4982
|
+
zh_cn: "zh_cn";
|
|
4983
|
+
pt: "pt";
|
|
4984
|
+
}>;
|
|
4985
|
+
value: z.ZodString;
|
|
4986
|
+
}, z.core.$strip>>>;
|
|
4936
4987
|
}, z.core.$strip>;
|
|
4937
4988
|
type Options = z.infer<typeof OptionsSchema>;
|
|
4938
4989
|
|
|
@@ -5056,9 +5107,9 @@ declare const AddressSuggestionSchema: z.ZodObject<{
|
|
|
5056
5107
|
type AddressSuggestion = z.infer<typeof AddressSuggestionSchema>;
|
|
5057
5108
|
|
|
5058
5109
|
declare const PaymentMethodTypeSchema: z.ZodEnum<{
|
|
5110
|
+
custom: "custom";
|
|
5059
5111
|
cash: "cash";
|
|
5060
5112
|
card: "card";
|
|
5061
|
-
custom: "custom";
|
|
5062
5113
|
}>;
|
|
5063
5114
|
type PaymentMethodType = z.infer<typeof PaymentMethodTypeSchema>;
|
|
5064
5115
|
declare const PaymentMethodSchema: z.ZodObject<{
|
|
@@ -5080,9 +5131,9 @@ declare const PaymentMethodSchema: z.ZodObject<{
|
|
|
5080
5131
|
value: z.ZodString;
|
|
5081
5132
|
}, z.core.$strip>>;
|
|
5082
5133
|
type: z.ZodEnum<{
|
|
5134
|
+
custom: "custom";
|
|
5083
5135
|
cash: "cash";
|
|
5084
5136
|
card: "card";
|
|
5085
|
-
custom: "custom";
|
|
5086
5137
|
}>;
|
|
5087
5138
|
}, z.core.$strip>;
|
|
5088
5139
|
type PaymentMethod = z.infer<typeof PaymentMethodSchema>;
|
|
@@ -5136,17 +5187,17 @@ declare const ProductVariantSchema: z.ZodObject<{
|
|
|
5136
5187
|
id: z.ZodString;
|
|
5137
5188
|
url: z.ZodString;
|
|
5138
5189
|
size: z.ZodEnum<{
|
|
5139
|
-
original: "original";
|
|
5140
5190
|
xs: "xs";
|
|
5141
5191
|
sm: "sm";
|
|
5142
5192
|
md: "md";
|
|
5143
5193
|
lg: "lg";
|
|
5144
5194
|
xl: "xl";
|
|
5195
|
+
original: "original";
|
|
5145
5196
|
}>;
|
|
5146
5197
|
format: z.ZodEnum<{
|
|
5198
|
+
original: "original";
|
|
5147
5199
|
jpeg: "jpeg";
|
|
5148
5200
|
webp: "webp";
|
|
5149
|
-
original: "original";
|
|
5150
5201
|
}>;
|
|
5151
5202
|
}, z.core.$strip>>;
|
|
5152
5203
|
video: z.ZodOptional<z.ZodObject<{
|
|
@@ -5293,17 +5344,17 @@ declare const ProductSchema: z.ZodObject<{
|
|
|
5293
5344
|
id: z.ZodString;
|
|
5294
5345
|
url: z.ZodString;
|
|
5295
5346
|
size: z.ZodEnum<{
|
|
5296
|
-
original: "original";
|
|
5297
5347
|
xs: "xs";
|
|
5298
5348
|
sm: "sm";
|
|
5299
5349
|
md: "md";
|
|
5300
5350
|
lg: "lg";
|
|
5301
5351
|
xl: "xl";
|
|
5352
|
+
original: "original";
|
|
5302
5353
|
}>;
|
|
5303
5354
|
format: z.ZodEnum<{
|
|
5355
|
+
original: "original";
|
|
5304
5356
|
jpeg: "jpeg";
|
|
5305
5357
|
webp: "webp";
|
|
5306
|
-
original: "original";
|
|
5307
5358
|
}>;
|
|
5308
5359
|
}, z.core.$strip>>;
|
|
5309
5360
|
video: z.ZodOptional<z.ZodObject<{
|
package/dist/index.d.ts
CHANGED
|
@@ -21,9 +21,9 @@ declare const DeliveryByCourierSchema: z.ZodObject<{
|
|
|
21
21
|
value: z.ZodString;
|
|
22
22
|
}, z.core.$strip>>;
|
|
23
23
|
type: z.ZodEnum<{
|
|
24
|
+
custom: "custom";
|
|
24
25
|
cash: "cash";
|
|
25
26
|
card: "card";
|
|
26
|
-
custom: "custom";
|
|
27
27
|
}>;
|
|
28
28
|
}, z.core.$strip>>;
|
|
29
29
|
conditions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -98,9 +98,9 @@ declare const SelfPickupSchema: z.ZodObject<{
|
|
|
98
98
|
value: z.ZodString;
|
|
99
99
|
}, z.core.$strip>>;
|
|
100
100
|
type: z.ZodEnum<{
|
|
101
|
+
custom: "custom";
|
|
101
102
|
cash: "cash";
|
|
102
103
|
card: "card";
|
|
103
|
-
custom: "custom";
|
|
104
104
|
}>;
|
|
105
105
|
}, z.core.$strip>>;
|
|
106
106
|
conditions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -400,9 +400,9 @@ declare const ChannelSchema: z.ZodObject<{
|
|
|
400
400
|
value: z.ZodString;
|
|
401
401
|
}, z.core.$strip>>;
|
|
402
402
|
type: z.ZodEnum<{
|
|
403
|
+
custom: "custom";
|
|
403
404
|
cash: "cash";
|
|
404
405
|
card: "card";
|
|
405
|
-
custom: "custom";
|
|
406
406
|
}>;
|
|
407
407
|
}, z.core.$strip>>;
|
|
408
408
|
conditions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -476,9 +476,9 @@ declare const ChannelSchema: z.ZodObject<{
|
|
|
476
476
|
value: z.ZodString;
|
|
477
477
|
}, z.core.$strip>>;
|
|
478
478
|
type: z.ZodEnum<{
|
|
479
|
+
custom: "custom";
|
|
479
480
|
cash: "cash";
|
|
480
481
|
card: "card";
|
|
481
|
-
custom: "custom";
|
|
482
482
|
}>;
|
|
483
483
|
}, z.core.$strip>>;
|
|
484
484
|
conditions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -1365,6 +1365,23 @@ 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>;
|
|
1369
|
+
deliveryZoneNotFoundMessage: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1370
|
+
locale: z.ZodEnum<{
|
|
1371
|
+
de: "de";
|
|
1372
|
+
el: "el";
|
|
1373
|
+
en: "en";
|
|
1374
|
+
es: "es";
|
|
1375
|
+
fr: "fr";
|
|
1376
|
+
hi: "hi";
|
|
1377
|
+
it: "it";
|
|
1378
|
+
ka: "ka";
|
|
1379
|
+
ru: "ru";
|
|
1380
|
+
zh_cn: "zh_cn";
|
|
1381
|
+
pt: "pt";
|
|
1382
|
+
}>;
|
|
1383
|
+
value: z.ZodString;
|
|
1384
|
+
}, z.core.$strip>>>;
|
|
1368
1385
|
}, z.core.$strip>;
|
|
1369
1386
|
}, z.core.$strip>;
|
|
1370
1387
|
type GatewayGetOptionsResponse = z.infer<typeof GatewayGetOptionsResponseSchema>;
|
|
@@ -1480,9 +1497,9 @@ declare const GatewayGetChannelsResponseSchema: z.ZodObject<{
|
|
|
1480
1497
|
value: z.ZodString;
|
|
1481
1498
|
}, z.core.$strip>>;
|
|
1482
1499
|
type: z.ZodEnum<{
|
|
1500
|
+
custom: "custom";
|
|
1483
1501
|
cash: "cash";
|
|
1484
1502
|
card: "card";
|
|
1485
|
-
custom: "custom";
|
|
1486
1503
|
}>;
|
|
1487
1504
|
}, z.core.$strip>>;
|
|
1488
1505
|
conditions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -1556,9 +1573,9 @@ declare const GatewayGetChannelsResponseSchema: z.ZodObject<{
|
|
|
1556
1573
|
value: z.ZodString;
|
|
1557
1574
|
}, z.core.$strip>>;
|
|
1558
1575
|
type: z.ZodEnum<{
|
|
1576
|
+
custom: "custom";
|
|
1559
1577
|
cash: "cash";
|
|
1560
1578
|
card: "card";
|
|
1561
|
-
custom: "custom";
|
|
1562
1579
|
}>;
|
|
1563
1580
|
}, z.core.$strip>>;
|
|
1564
1581
|
conditions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -2415,17 +2432,17 @@ declare const GatewayGetMenuResponseSchema: z.ZodObject<{
|
|
|
2415
2432
|
id: z.ZodString;
|
|
2416
2433
|
url: z.ZodString;
|
|
2417
2434
|
size: z.ZodEnum<{
|
|
2418
|
-
original: "original";
|
|
2419
2435
|
xs: "xs";
|
|
2420
2436
|
sm: "sm";
|
|
2421
2437
|
md: "md";
|
|
2422
2438
|
lg: "lg";
|
|
2423
2439
|
xl: "xl";
|
|
2440
|
+
original: "original";
|
|
2424
2441
|
}>;
|
|
2425
2442
|
format: z.ZodEnum<{
|
|
2443
|
+
original: "original";
|
|
2426
2444
|
jpeg: "jpeg";
|
|
2427
2445
|
webp: "webp";
|
|
2428
|
-
original: "original";
|
|
2429
2446
|
}>;
|
|
2430
2447
|
}, z.core.$strip>>;
|
|
2431
2448
|
video: z.ZodOptional<z.ZodObject<{
|
|
@@ -3068,6 +3085,23 @@ declare const GatewayResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
3068
3085
|
}, z.core.$strip>>>;
|
|
3069
3086
|
headStyles: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3070
3087
|
addressSuggestEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
3088
|
+
deliveryZonesEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
3089
|
+
deliveryZoneNotFoundMessage: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3090
|
+
locale: z.ZodEnum<{
|
|
3091
|
+
de: "de";
|
|
3092
|
+
el: "el";
|
|
3093
|
+
en: "en";
|
|
3094
|
+
es: "es";
|
|
3095
|
+
fr: "fr";
|
|
3096
|
+
hi: "hi";
|
|
3097
|
+
it: "it";
|
|
3098
|
+
ka: "ka";
|
|
3099
|
+
ru: "ru";
|
|
3100
|
+
zh_cn: "zh_cn";
|
|
3101
|
+
pt: "pt";
|
|
3102
|
+
}>;
|
|
3103
|
+
value: z.ZodString;
|
|
3104
|
+
}, z.core.$strip>>>;
|
|
3071
3105
|
}, z.core.$strip>;
|
|
3072
3106
|
}, z.core.$strip>, z.ZodObject<{
|
|
3073
3107
|
ok: z.ZodBoolean;
|
|
@@ -3175,9 +3209,9 @@ declare const GatewayResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
3175
3209
|
value: z.ZodString;
|
|
3176
3210
|
}, z.core.$strip>>;
|
|
3177
3211
|
type: z.ZodEnum<{
|
|
3212
|
+
custom: "custom";
|
|
3178
3213
|
cash: "cash";
|
|
3179
3214
|
card: "card";
|
|
3180
|
-
custom: "custom";
|
|
3181
3215
|
}>;
|
|
3182
3216
|
}, z.core.$strip>>;
|
|
3183
3217
|
conditions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -3251,9 +3285,9 @@ declare const GatewayResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
3251
3285
|
value: z.ZodString;
|
|
3252
3286
|
}, z.core.$strip>>;
|
|
3253
3287
|
type: z.ZodEnum<{
|
|
3288
|
+
custom: "custom";
|
|
3254
3289
|
cash: "cash";
|
|
3255
3290
|
card: "card";
|
|
3256
|
-
custom: "custom";
|
|
3257
3291
|
}>;
|
|
3258
3292
|
}, z.core.$strip>>;
|
|
3259
3293
|
conditions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -3927,17 +3961,17 @@ declare const GatewayResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
3927
3961
|
id: z.ZodString;
|
|
3928
3962
|
url: z.ZodString;
|
|
3929
3963
|
size: z.ZodEnum<{
|
|
3930
|
-
original: "original";
|
|
3931
3964
|
xs: "xs";
|
|
3932
3965
|
sm: "sm";
|
|
3933
3966
|
md: "md";
|
|
3934
3967
|
lg: "lg";
|
|
3935
3968
|
xl: "xl";
|
|
3969
|
+
original: "original";
|
|
3936
3970
|
}>;
|
|
3937
3971
|
format: z.ZodEnum<{
|
|
3972
|
+
original: "original";
|
|
3938
3973
|
jpeg: "jpeg";
|
|
3939
3974
|
webp: "webp";
|
|
3940
|
-
original: "original";
|
|
3941
3975
|
}>;
|
|
3942
3976
|
}, z.core.$strip>>;
|
|
3943
3977
|
video: z.ZodOptional<z.ZodObject<{
|
|
@@ -4180,9 +4214,9 @@ declare const GatewayResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
4180
4214
|
type GatewayResponse = z.infer<typeof GatewayResponseSchema>;
|
|
4181
4215
|
|
|
4182
4216
|
declare const ImageFormatSchema: z.ZodEnum<{
|
|
4217
|
+
original: "original";
|
|
4183
4218
|
jpeg: "jpeg";
|
|
4184
4219
|
webp: "webp";
|
|
4185
|
-
original: "original";
|
|
4186
4220
|
}>;
|
|
4187
4221
|
type ImageFormat = z.infer<typeof ImageFormatSchema>;
|
|
4188
4222
|
/**
|
|
@@ -4194,29 +4228,29 @@ type ImageFormat = z.infer<typeof ImageFormatSchema>;
|
|
|
4194
4228
|
* - xl - 1920px
|
|
4195
4229
|
*/
|
|
4196
4230
|
declare const ImageSizeSchema: z.ZodEnum<{
|
|
4197
|
-
original: "original";
|
|
4198
4231
|
xs: "xs";
|
|
4199
4232
|
sm: "sm";
|
|
4200
4233
|
md: "md";
|
|
4201
4234
|
lg: "lg";
|
|
4202
4235
|
xl: "xl";
|
|
4236
|
+
original: "original";
|
|
4203
4237
|
}>;
|
|
4204
4238
|
type ImageSize = z.infer<typeof ImageSizeSchema>;
|
|
4205
4239
|
declare const ImageSchema: z.ZodObject<{
|
|
4206
4240
|
id: z.ZodString;
|
|
4207
4241
|
url: z.ZodString;
|
|
4208
4242
|
size: z.ZodEnum<{
|
|
4209
|
-
original: "original";
|
|
4210
4243
|
xs: "xs";
|
|
4211
4244
|
sm: "sm";
|
|
4212
4245
|
md: "md";
|
|
4213
4246
|
lg: "lg";
|
|
4214
4247
|
xl: "xl";
|
|
4248
|
+
original: "original";
|
|
4215
4249
|
}>;
|
|
4216
4250
|
format: z.ZodEnum<{
|
|
4251
|
+
original: "original";
|
|
4217
4252
|
jpeg: "jpeg";
|
|
4218
4253
|
webp: "webp";
|
|
4219
|
-
original: "original";
|
|
4220
4254
|
}>;
|
|
4221
4255
|
}, z.core.$strip>;
|
|
4222
4256
|
type Image = z.infer<typeof ImageSchema>;
|
|
@@ -4300,17 +4334,17 @@ declare const MenuCategorySchema: z.ZodObject<{
|
|
|
4300
4334
|
id: z.ZodString;
|
|
4301
4335
|
url: z.ZodString;
|
|
4302
4336
|
size: z.ZodEnum<{
|
|
4303
|
-
original: "original";
|
|
4304
4337
|
xs: "xs";
|
|
4305
4338
|
sm: "sm";
|
|
4306
4339
|
md: "md";
|
|
4307
4340
|
lg: "lg";
|
|
4308
4341
|
xl: "xl";
|
|
4342
|
+
original: "original";
|
|
4309
4343
|
}>;
|
|
4310
4344
|
format: z.ZodEnum<{
|
|
4345
|
+
original: "original";
|
|
4311
4346
|
jpeg: "jpeg";
|
|
4312
4347
|
webp: "webp";
|
|
4313
|
-
original: "original";
|
|
4314
4348
|
}>;
|
|
4315
4349
|
}, z.core.$strip>>;
|
|
4316
4350
|
video: z.ZodOptional<z.ZodObject<{
|
|
@@ -4491,17 +4525,17 @@ declare const MenuSchema: z.ZodObject<{
|
|
|
4491
4525
|
id: z.ZodString;
|
|
4492
4526
|
url: z.ZodString;
|
|
4493
4527
|
size: z.ZodEnum<{
|
|
4494
|
-
original: "original";
|
|
4495
4528
|
xs: "xs";
|
|
4496
4529
|
sm: "sm";
|
|
4497
4530
|
md: "md";
|
|
4498
4531
|
lg: "lg";
|
|
4499
4532
|
xl: "xl";
|
|
4533
|
+
original: "original";
|
|
4500
4534
|
}>;
|
|
4501
4535
|
format: z.ZodEnum<{
|
|
4536
|
+
original: "original";
|
|
4502
4537
|
jpeg: "jpeg";
|
|
4503
4538
|
webp: "webp";
|
|
4504
|
-
original: "original";
|
|
4505
4539
|
}>;
|
|
4506
4540
|
}, z.core.$strip>>;
|
|
4507
4541
|
video: z.ZodOptional<z.ZodObject<{
|
|
@@ -4933,6 +4967,23 @@ declare const OptionsSchema: z.ZodObject<{
|
|
|
4933
4967
|
}, z.core.$strip>>>;
|
|
4934
4968
|
headStyles: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4935
4969
|
addressSuggestEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
4970
|
+
deliveryZonesEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
4971
|
+
deliveryZoneNotFoundMessage: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4972
|
+
locale: z.ZodEnum<{
|
|
4973
|
+
de: "de";
|
|
4974
|
+
el: "el";
|
|
4975
|
+
en: "en";
|
|
4976
|
+
es: "es";
|
|
4977
|
+
fr: "fr";
|
|
4978
|
+
hi: "hi";
|
|
4979
|
+
it: "it";
|
|
4980
|
+
ka: "ka";
|
|
4981
|
+
ru: "ru";
|
|
4982
|
+
zh_cn: "zh_cn";
|
|
4983
|
+
pt: "pt";
|
|
4984
|
+
}>;
|
|
4985
|
+
value: z.ZodString;
|
|
4986
|
+
}, z.core.$strip>>>;
|
|
4936
4987
|
}, z.core.$strip>;
|
|
4937
4988
|
type Options = z.infer<typeof OptionsSchema>;
|
|
4938
4989
|
|
|
@@ -5056,9 +5107,9 @@ declare const AddressSuggestionSchema: z.ZodObject<{
|
|
|
5056
5107
|
type AddressSuggestion = z.infer<typeof AddressSuggestionSchema>;
|
|
5057
5108
|
|
|
5058
5109
|
declare const PaymentMethodTypeSchema: z.ZodEnum<{
|
|
5110
|
+
custom: "custom";
|
|
5059
5111
|
cash: "cash";
|
|
5060
5112
|
card: "card";
|
|
5061
|
-
custom: "custom";
|
|
5062
5113
|
}>;
|
|
5063
5114
|
type PaymentMethodType = z.infer<typeof PaymentMethodTypeSchema>;
|
|
5064
5115
|
declare const PaymentMethodSchema: z.ZodObject<{
|
|
@@ -5080,9 +5131,9 @@ declare const PaymentMethodSchema: z.ZodObject<{
|
|
|
5080
5131
|
value: z.ZodString;
|
|
5081
5132
|
}, z.core.$strip>>;
|
|
5082
5133
|
type: z.ZodEnum<{
|
|
5134
|
+
custom: "custom";
|
|
5083
5135
|
cash: "cash";
|
|
5084
5136
|
card: "card";
|
|
5085
|
-
custom: "custom";
|
|
5086
5137
|
}>;
|
|
5087
5138
|
}, z.core.$strip>;
|
|
5088
5139
|
type PaymentMethod = z.infer<typeof PaymentMethodSchema>;
|
|
@@ -5136,17 +5187,17 @@ declare const ProductVariantSchema: z.ZodObject<{
|
|
|
5136
5187
|
id: z.ZodString;
|
|
5137
5188
|
url: z.ZodString;
|
|
5138
5189
|
size: z.ZodEnum<{
|
|
5139
|
-
original: "original";
|
|
5140
5190
|
xs: "xs";
|
|
5141
5191
|
sm: "sm";
|
|
5142
5192
|
md: "md";
|
|
5143
5193
|
lg: "lg";
|
|
5144
5194
|
xl: "xl";
|
|
5195
|
+
original: "original";
|
|
5145
5196
|
}>;
|
|
5146
5197
|
format: z.ZodEnum<{
|
|
5198
|
+
original: "original";
|
|
5147
5199
|
jpeg: "jpeg";
|
|
5148
5200
|
webp: "webp";
|
|
5149
|
-
original: "original";
|
|
5150
5201
|
}>;
|
|
5151
5202
|
}, z.core.$strip>>;
|
|
5152
5203
|
video: z.ZodOptional<z.ZodObject<{
|
|
@@ -5293,17 +5344,17 @@ declare const ProductSchema: z.ZodObject<{
|
|
|
5293
5344
|
id: z.ZodString;
|
|
5294
5345
|
url: z.ZodString;
|
|
5295
5346
|
size: z.ZodEnum<{
|
|
5296
|
-
original: "original";
|
|
5297
5347
|
xs: "xs";
|
|
5298
5348
|
sm: "sm";
|
|
5299
5349
|
md: "md";
|
|
5300
5350
|
lg: "lg";
|
|
5301
5351
|
xl: "xl";
|
|
5352
|
+
original: "original";
|
|
5302
5353
|
}>;
|
|
5303
5354
|
format: z.ZodEnum<{
|
|
5355
|
+
original: "original";
|
|
5304
5356
|
jpeg: "jpeg";
|
|
5305
5357
|
webp: "webp";
|
|
5306
|
-
original: "original";
|
|
5307
5358
|
}>;
|
|
5308
5359
|
}, z.core.$strip>>;
|
|
5309
5360
|
video: z.ZodOptional<z.ZodObject<{
|
package/dist/index.mjs
CHANGED
|
@@ -493,7 +493,9 @@ 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(),
|
|
498
|
+
deliveryZoneNotFoundMessage: LocaleValueSchema.array().optional()
|
|
497
499
|
});
|
|
498
500
|
|
|
499
501
|
const DeliveryMethodSchema = z.enum([
|