@nextorders/food-schema 0.3.3 → 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 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<{
@@ -1366,6 +1366,22 @@ declare const GatewayGetOptionsResponseSchema: z.ZodObject<{
1366
1366
  headStyles: z.ZodOptional<z.ZodArray<z.ZodString>>;
1367
1367
  addressSuggestEnabled: z.ZodOptional<z.ZodBoolean>;
1368
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>>>;
1369
1385
  }, z.core.$strip>;
1370
1386
  }, z.core.$strip>;
1371
1387
  type GatewayGetOptionsResponse = z.infer<typeof GatewayGetOptionsResponseSchema>;
@@ -1481,9 +1497,9 @@ declare const GatewayGetChannelsResponseSchema: z.ZodObject<{
1481
1497
  value: z.ZodString;
1482
1498
  }, z.core.$strip>>;
1483
1499
  type: z.ZodEnum<{
1500
+ custom: "custom";
1484
1501
  cash: "cash";
1485
1502
  card: "card";
1486
- custom: "custom";
1487
1503
  }>;
1488
1504
  }, z.core.$strip>>;
1489
1505
  conditions: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -1557,9 +1573,9 @@ declare const GatewayGetChannelsResponseSchema: z.ZodObject<{
1557
1573
  value: z.ZodString;
1558
1574
  }, z.core.$strip>>;
1559
1575
  type: z.ZodEnum<{
1576
+ custom: "custom";
1560
1577
  cash: "cash";
1561
1578
  card: "card";
1562
- custom: "custom";
1563
1579
  }>;
1564
1580
  }, z.core.$strip>>;
1565
1581
  conditions: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -2416,17 +2432,17 @@ declare const GatewayGetMenuResponseSchema: z.ZodObject<{
2416
2432
  id: z.ZodString;
2417
2433
  url: z.ZodString;
2418
2434
  size: z.ZodEnum<{
2419
- original: "original";
2420
2435
  xs: "xs";
2421
2436
  sm: "sm";
2422
2437
  md: "md";
2423
2438
  lg: "lg";
2424
2439
  xl: "xl";
2440
+ original: "original";
2425
2441
  }>;
2426
2442
  format: z.ZodEnum<{
2443
+ original: "original";
2427
2444
  jpeg: "jpeg";
2428
2445
  webp: "webp";
2429
- original: "original";
2430
2446
  }>;
2431
2447
  }, z.core.$strip>>;
2432
2448
  video: z.ZodOptional<z.ZodObject<{
@@ -3070,6 +3086,22 @@ declare const GatewayResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
3070
3086
  headStyles: z.ZodOptional<z.ZodArray<z.ZodString>>;
3071
3087
  addressSuggestEnabled: z.ZodOptional<z.ZodBoolean>;
3072
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>>>;
3073
3105
  }, z.core.$strip>;
3074
3106
  }, z.core.$strip>, z.ZodObject<{
3075
3107
  ok: z.ZodBoolean;
@@ -3177,9 +3209,9 @@ declare const GatewayResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
3177
3209
  value: z.ZodString;
3178
3210
  }, z.core.$strip>>;
3179
3211
  type: z.ZodEnum<{
3212
+ custom: "custom";
3180
3213
  cash: "cash";
3181
3214
  card: "card";
3182
- custom: "custom";
3183
3215
  }>;
3184
3216
  }, z.core.$strip>>;
3185
3217
  conditions: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -3253,9 +3285,9 @@ declare const GatewayResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
3253
3285
  value: z.ZodString;
3254
3286
  }, z.core.$strip>>;
3255
3287
  type: z.ZodEnum<{
3288
+ custom: "custom";
3256
3289
  cash: "cash";
3257
3290
  card: "card";
3258
- custom: "custom";
3259
3291
  }>;
3260
3292
  }, z.core.$strip>>;
3261
3293
  conditions: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -3929,17 +3961,17 @@ declare const GatewayResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
3929
3961
  id: z.ZodString;
3930
3962
  url: z.ZodString;
3931
3963
  size: z.ZodEnum<{
3932
- original: "original";
3933
3964
  xs: "xs";
3934
3965
  sm: "sm";
3935
3966
  md: "md";
3936
3967
  lg: "lg";
3937
3968
  xl: "xl";
3969
+ original: "original";
3938
3970
  }>;
3939
3971
  format: z.ZodEnum<{
3972
+ original: "original";
3940
3973
  jpeg: "jpeg";
3941
3974
  webp: "webp";
3942
- original: "original";
3943
3975
  }>;
3944
3976
  }, z.core.$strip>>;
3945
3977
  video: z.ZodOptional<z.ZodObject<{
@@ -4182,9 +4214,9 @@ declare const GatewayResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
4182
4214
  type GatewayResponse = z.infer<typeof GatewayResponseSchema>;
4183
4215
 
4184
4216
  declare const ImageFormatSchema: z.ZodEnum<{
4217
+ original: "original";
4185
4218
  jpeg: "jpeg";
4186
4219
  webp: "webp";
4187
- original: "original";
4188
4220
  }>;
4189
4221
  type ImageFormat = z.infer<typeof ImageFormatSchema>;
4190
4222
  /**
@@ -4196,29 +4228,29 @@ type ImageFormat = z.infer<typeof ImageFormatSchema>;
4196
4228
  * - xl - 1920px
4197
4229
  */
4198
4230
  declare const ImageSizeSchema: z.ZodEnum<{
4199
- original: "original";
4200
4231
  xs: "xs";
4201
4232
  sm: "sm";
4202
4233
  md: "md";
4203
4234
  lg: "lg";
4204
4235
  xl: "xl";
4236
+ original: "original";
4205
4237
  }>;
4206
4238
  type ImageSize = z.infer<typeof ImageSizeSchema>;
4207
4239
  declare const ImageSchema: z.ZodObject<{
4208
4240
  id: z.ZodString;
4209
4241
  url: z.ZodString;
4210
4242
  size: z.ZodEnum<{
4211
- original: "original";
4212
4243
  xs: "xs";
4213
4244
  sm: "sm";
4214
4245
  md: "md";
4215
4246
  lg: "lg";
4216
4247
  xl: "xl";
4248
+ original: "original";
4217
4249
  }>;
4218
4250
  format: z.ZodEnum<{
4251
+ original: "original";
4219
4252
  jpeg: "jpeg";
4220
4253
  webp: "webp";
4221
- original: "original";
4222
4254
  }>;
4223
4255
  }, z.core.$strip>;
4224
4256
  type Image = z.infer<typeof ImageSchema>;
@@ -4302,17 +4334,17 @@ declare const MenuCategorySchema: z.ZodObject<{
4302
4334
  id: z.ZodString;
4303
4335
  url: z.ZodString;
4304
4336
  size: z.ZodEnum<{
4305
- original: "original";
4306
4337
  xs: "xs";
4307
4338
  sm: "sm";
4308
4339
  md: "md";
4309
4340
  lg: "lg";
4310
4341
  xl: "xl";
4342
+ original: "original";
4311
4343
  }>;
4312
4344
  format: z.ZodEnum<{
4345
+ original: "original";
4313
4346
  jpeg: "jpeg";
4314
4347
  webp: "webp";
4315
- original: "original";
4316
4348
  }>;
4317
4349
  }, z.core.$strip>>;
4318
4350
  video: z.ZodOptional<z.ZodObject<{
@@ -4493,17 +4525,17 @@ declare const MenuSchema: z.ZodObject<{
4493
4525
  id: z.ZodString;
4494
4526
  url: z.ZodString;
4495
4527
  size: z.ZodEnum<{
4496
- original: "original";
4497
4528
  xs: "xs";
4498
4529
  sm: "sm";
4499
4530
  md: "md";
4500
4531
  lg: "lg";
4501
4532
  xl: "xl";
4533
+ original: "original";
4502
4534
  }>;
4503
4535
  format: z.ZodEnum<{
4536
+ original: "original";
4504
4537
  jpeg: "jpeg";
4505
4538
  webp: "webp";
4506
- original: "original";
4507
4539
  }>;
4508
4540
  }, z.core.$strip>>;
4509
4541
  video: z.ZodOptional<z.ZodObject<{
@@ -4936,6 +4968,22 @@ declare const OptionsSchema: z.ZodObject<{
4936
4968
  headStyles: z.ZodOptional<z.ZodArray<z.ZodString>>;
4937
4969
  addressSuggestEnabled: z.ZodOptional<z.ZodBoolean>;
4938
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>>>;
4939
4987
  }, z.core.$strip>;
4940
4988
  type Options = z.infer<typeof OptionsSchema>;
4941
4989
 
@@ -5059,9 +5107,9 @@ declare const AddressSuggestionSchema: z.ZodObject<{
5059
5107
  type AddressSuggestion = z.infer<typeof AddressSuggestionSchema>;
5060
5108
 
5061
5109
  declare const PaymentMethodTypeSchema: z.ZodEnum<{
5110
+ custom: "custom";
5062
5111
  cash: "cash";
5063
5112
  card: "card";
5064
- custom: "custom";
5065
5113
  }>;
5066
5114
  type PaymentMethodType = z.infer<typeof PaymentMethodTypeSchema>;
5067
5115
  declare const PaymentMethodSchema: z.ZodObject<{
@@ -5083,9 +5131,9 @@ declare const PaymentMethodSchema: z.ZodObject<{
5083
5131
  value: z.ZodString;
5084
5132
  }, z.core.$strip>>;
5085
5133
  type: z.ZodEnum<{
5134
+ custom: "custom";
5086
5135
  cash: "cash";
5087
5136
  card: "card";
5088
- custom: "custom";
5089
5137
  }>;
5090
5138
  }, z.core.$strip>;
5091
5139
  type PaymentMethod = z.infer<typeof PaymentMethodSchema>;
@@ -5139,17 +5187,17 @@ declare const ProductVariantSchema: z.ZodObject<{
5139
5187
  id: z.ZodString;
5140
5188
  url: z.ZodString;
5141
5189
  size: z.ZodEnum<{
5142
- original: "original";
5143
5190
  xs: "xs";
5144
5191
  sm: "sm";
5145
5192
  md: "md";
5146
5193
  lg: "lg";
5147
5194
  xl: "xl";
5195
+ original: "original";
5148
5196
  }>;
5149
5197
  format: z.ZodEnum<{
5198
+ original: "original";
5150
5199
  jpeg: "jpeg";
5151
5200
  webp: "webp";
5152
- original: "original";
5153
5201
  }>;
5154
5202
  }, z.core.$strip>>;
5155
5203
  video: z.ZodOptional<z.ZodObject<{
@@ -5296,17 +5344,17 @@ declare const ProductSchema: z.ZodObject<{
5296
5344
  id: z.ZodString;
5297
5345
  url: z.ZodString;
5298
5346
  size: z.ZodEnum<{
5299
- original: "original";
5300
5347
  xs: "xs";
5301
5348
  sm: "sm";
5302
5349
  md: "md";
5303
5350
  lg: "lg";
5304
5351
  xl: "xl";
5352
+ original: "original";
5305
5353
  }>;
5306
5354
  format: z.ZodEnum<{
5355
+ original: "original";
5307
5356
  jpeg: "jpeg";
5308
5357
  webp: "webp";
5309
- original: "original";
5310
5358
  }>;
5311
5359
  }, z.core.$strip>>;
5312
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<{
@@ -1366,6 +1366,22 @@ declare const GatewayGetOptionsResponseSchema: z.ZodObject<{
1366
1366
  headStyles: z.ZodOptional<z.ZodArray<z.ZodString>>;
1367
1367
  addressSuggestEnabled: z.ZodOptional<z.ZodBoolean>;
1368
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>>>;
1369
1385
  }, z.core.$strip>;
1370
1386
  }, z.core.$strip>;
1371
1387
  type GatewayGetOptionsResponse = z.infer<typeof GatewayGetOptionsResponseSchema>;
@@ -1481,9 +1497,9 @@ declare const GatewayGetChannelsResponseSchema: z.ZodObject<{
1481
1497
  value: z.ZodString;
1482
1498
  }, z.core.$strip>>;
1483
1499
  type: z.ZodEnum<{
1500
+ custom: "custom";
1484
1501
  cash: "cash";
1485
1502
  card: "card";
1486
- custom: "custom";
1487
1503
  }>;
1488
1504
  }, z.core.$strip>>;
1489
1505
  conditions: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -1557,9 +1573,9 @@ declare const GatewayGetChannelsResponseSchema: z.ZodObject<{
1557
1573
  value: z.ZodString;
1558
1574
  }, z.core.$strip>>;
1559
1575
  type: z.ZodEnum<{
1576
+ custom: "custom";
1560
1577
  cash: "cash";
1561
1578
  card: "card";
1562
- custom: "custom";
1563
1579
  }>;
1564
1580
  }, z.core.$strip>>;
1565
1581
  conditions: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -2416,17 +2432,17 @@ declare const GatewayGetMenuResponseSchema: z.ZodObject<{
2416
2432
  id: z.ZodString;
2417
2433
  url: z.ZodString;
2418
2434
  size: z.ZodEnum<{
2419
- original: "original";
2420
2435
  xs: "xs";
2421
2436
  sm: "sm";
2422
2437
  md: "md";
2423
2438
  lg: "lg";
2424
2439
  xl: "xl";
2440
+ original: "original";
2425
2441
  }>;
2426
2442
  format: z.ZodEnum<{
2443
+ original: "original";
2427
2444
  jpeg: "jpeg";
2428
2445
  webp: "webp";
2429
- original: "original";
2430
2446
  }>;
2431
2447
  }, z.core.$strip>>;
2432
2448
  video: z.ZodOptional<z.ZodObject<{
@@ -3070,6 +3086,22 @@ declare const GatewayResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
3070
3086
  headStyles: z.ZodOptional<z.ZodArray<z.ZodString>>;
3071
3087
  addressSuggestEnabled: z.ZodOptional<z.ZodBoolean>;
3072
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>>>;
3073
3105
  }, z.core.$strip>;
3074
3106
  }, z.core.$strip>, z.ZodObject<{
3075
3107
  ok: z.ZodBoolean;
@@ -3177,9 +3209,9 @@ declare const GatewayResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
3177
3209
  value: z.ZodString;
3178
3210
  }, z.core.$strip>>;
3179
3211
  type: z.ZodEnum<{
3212
+ custom: "custom";
3180
3213
  cash: "cash";
3181
3214
  card: "card";
3182
- custom: "custom";
3183
3215
  }>;
3184
3216
  }, z.core.$strip>>;
3185
3217
  conditions: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -3253,9 +3285,9 @@ declare const GatewayResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
3253
3285
  value: z.ZodString;
3254
3286
  }, z.core.$strip>>;
3255
3287
  type: z.ZodEnum<{
3288
+ custom: "custom";
3256
3289
  cash: "cash";
3257
3290
  card: "card";
3258
- custom: "custom";
3259
3291
  }>;
3260
3292
  }, z.core.$strip>>;
3261
3293
  conditions: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -3929,17 +3961,17 @@ declare const GatewayResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
3929
3961
  id: z.ZodString;
3930
3962
  url: z.ZodString;
3931
3963
  size: z.ZodEnum<{
3932
- original: "original";
3933
3964
  xs: "xs";
3934
3965
  sm: "sm";
3935
3966
  md: "md";
3936
3967
  lg: "lg";
3937
3968
  xl: "xl";
3969
+ original: "original";
3938
3970
  }>;
3939
3971
  format: z.ZodEnum<{
3972
+ original: "original";
3940
3973
  jpeg: "jpeg";
3941
3974
  webp: "webp";
3942
- original: "original";
3943
3975
  }>;
3944
3976
  }, z.core.$strip>>;
3945
3977
  video: z.ZodOptional<z.ZodObject<{
@@ -4182,9 +4214,9 @@ declare const GatewayResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
4182
4214
  type GatewayResponse = z.infer<typeof GatewayResponseSchema>;
4183
4215
 
4184
4216
  declare const ImageFormatSchema: z.ZodEnum<{
4217
+ original: "original";
4185
4218
  jpeg: "jpeg";
4186
4219
  webp: "webp";
4187
- original: "original";
4188
4220
  }>;
4189
4221
  type ImageFormat = z.infer<typeof ImageFormatSchema>;
4190
4222
  /**
@@ -4196,29 +4228,29 @@ type ImageFormat = z.infer<typeof ImageFormatSchema>;
4196
4228
  * - xl - 1920px
4197
4229
  */
4198
4230
  declare const ImageSizeSchema: z.ZodEnum<{
4199
- original: "original";
4200
4231
  xs: "xs";
4201
4232
  sm: "sm";
4202
4233
  md: "md";
4203
4234
  lg: "lg";
4204
4235
  xl: "xl";
4236
+ original: "original";
4205
4237
  }>;
4206
4238
  type ImageSize = z.infer<typeof ImageSizeSchema>;
4207
4239
  declare const ImageSchema: z.ZodObject<{
4208
4240
  id: z.ZodString;
4209
4241
  url: z.ZodString;
4210
4242
  size: z.ZodEnum<{
4211
- original: "original";
4212
4243
  xs: "xs";
4213
4244
  sm: "sm";
4214
4245
  md: "md";
4215
4246
  lg: "lg";
4216
4247
  xl: "xl";
4248
+ original: "original";
4217
4249
  }>;
4218
4250
  format: z.ZodEnum<{
4251
+ original: "original";
4219
4252
  jpeg: "jpeg";
4220
4253
  webp: "webp";
4221
- original: "original";
4222
4254
  }>;
4223
4255
  }, z.core.$strip>;
4224
4256
  type Image = z.infer<typeof ImageSchema>;
@@ -4302,17 +4334,17 @@ declare const MenuCategorySchema: z.ZodObject<{
4302
4334
  id: z.ZodString;
4303
4335
  url: z.ZodString;
4304
4336
  size: z.ZodEnum<{
4305
- original: "original";
4306
4337
  xs: "xs";
4307
4338
  sm: "sm";
4308
4339
  md: "md";
4309
4340
  lg: "lg";
4310
4341
  xl: "xl";
4342
+ original: "original";
4311
4343
  }>;
4312
4344
  format: z.ZodEnum<{
4345
+ original: "original";
4313
4346
  jpeg: "jpeg";
4314
4347
  webp: "webp";
4315
- original: "original";
4316
4348
  }>;
4317
4349
  }, z.core.$strip>>;
4318
4350
  video: z.ZodOptional<z.ZodObject<{
@@ -4493,17 +4525,17 @@ declare const MenuSchema: z.ZodObject<{
4493
4525
  id: z.ZodString;
4494
4526
  url: z.ZodString;
4495
4527
  size: z.ZodEnum<{
4496
- original: "original";
4497
4528
  xs: "xs";
4498
4529
  sm: "sm";
4499
4530
  md: "md";
4500
4531
  lg: "lg";
4501
4532
  xl: "xl";
4533
+ original: "original";
4502
4534
  }>;
4503
4535
  format: z.ZodEnum<{
4536
+ original: "original";
4504
4537
  jpeg: "jpeg";
4505
4538
  webp: "webp";
4506
- original: "original";
4507
4539
  }>;
4508
4540
  }, z.core.$strip>>;
4509
4541
  video: z.ZodOptional<z.ZodObject<{
@@ -4936,6 +4968,22 @@ declare const OptionsSchema: z.ZodObject<{
4936
4968
  headStyles: z.ZodOptional<z.ZodArray<z.ZodString>>;
4937
4969
  addressSuggestEnabled: z.ZodOptional<z.ZodBoolean>;
4938
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>>>;
4939
4987
  }, z.core.$strip>;
4940
4988
  type Options = z.infer<typeof OptionsSchema>;
4941
4989
 
@@ -5059,9 +5107,9 @@ declare const AddressSuggestionSchema: z.ZodObject<{
5059
5107
  type AddressSuggestion = z.infer<typeof AddressSuggestionSchema>;
5060
5108
 
5061
5109
  declare const PaymentMethodTypeSchema: z.ZodEnum<{
5110
+ custom: "custom";
5062
5111
  cash: "cash";
5063
5112
  card: "card";
5064
- custom: "custom";
5065
5113
  }>;
5066
5114
  type PaymentMethodType = z.infer<typeof PaymentMethodTypeSchema>;
5067
5115
  declare const PaymentMethodSchema: z.ZodObject<{
@@ -5083,9 +5131,9 @@ declare const PaymentMethodSchema: z.ZodObject<{
5083
5131
  value: z.ZodString;
5084
5132
  }, z.core.$strip>>;
5085
5133
  type: z.ZodEnum<{
5134
+ custom: "custom";
5086
5135
  cash: "cash";
5087
5136
  card: "card";
5088
- custom: "custom";
5089
5137
  }>;
5090
5138
  }, z.core.$strip>;
5091
5139
  type PaymentMethod = z.infer<typeof PaymentMethodSchema>;
@@ -5139,17 +5187,17 @@ declare const ProductVariantSchema: z.ZodObject<{
5139
5187
  id: z.ZodString;
5140
5188
  url: z.ZodString;
5141
5189
  size: z.ZodEnum<{
5142
- original: "original";
5143
5190
  xs: "xs";
5144
5191
  sm: "sm";
5145
5192
  md: "md";
5146
5193
  lg: "lg";
5147
5194
  xl: "xl";
5195
+ original: "original";
5148
5196
  }>;
5149
5197
  format: z.ZodEnum<{
5198
+ original: "original";
5150
5199
  jpeg: "jpeg";
5151
5200
  webp: "webp";
5152
- original: "original";
5153
5201
  }>;
5154
5202
  }, z.core.$strip>>;
5155
5203
  video: z.ZodOptional<z.ZodObject<{
@@ -5296,17 +5344,17 @@ declare const ProductSchema: z.ZodObject<{
5296
5344
  id: z.ZodString;
5297
5345
  url: z.ZodString;
5298
5346
  size: z.ZodEnum<{
5299
- original: "original";
5300
5347
  xs: "xs";
5301
5348
  sm: "sm";
5302
5349
  md: "md";
5303
5350
  lg: "lg";
5304
5351
  xl: "xl";
5352
+ original: "original";
5305
5353
  }>;
5306
5354
  format: z.ZodEnum<{
5355
+ original: "original";
5307
5356
  jpeg: "jpeg";
5308
5357
  webp: "webp";
5309
- original: "original";
5310
5358
  }>;
5311
5359
  }, z.core.$strip>>;
5312
5360
  video: z.ZodOptional<z.ZodObject<{
package/dist/index.mjs CHANGED
@@ -494,7 +494,8 @@ const OptionsSchema = z.object({
494
494
  headScripts: HeadScriptSchema.array().optional(),
495
495
  headStyles: HeadStyleSchema.array().optional(),
496
496
  addressSuggestEnabled: z.boolean().optional(),
497
- deliveryZonesEnabled: z.boolean().optional()
497
+ deliveryZonesEnabled: z.boolean().optional(),
498
+ deliveryZoneNotFoundMessage: LocaleValueSchema.array().optional()
498
499
  });
499
500
 
500
501
  const DeliveryMethodSchema = z.enum([
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@nextorders/food-schema",
3
3
  "type": "module",
4
- "version": "0.3.3",
4
+ "version": "0.3.4",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },