@nextorders/food-schema 0.3.0 → 0.3.2

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
@@ -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.ZodString>;
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.ZodString>;
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.ZodString>;
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.ZodString>;
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.ZodString>;
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.ZodString>;
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.ZodString>;
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,8 @@ declare const GatewayActionTypeSchema: z.ZodEnum<{
951
986
  getDeliveryByCourierStatus: "getDeliveryByCourierStatus";
952
987
  getSelfPickupStatus: "getSelfPickupStatus";
953
988
  getTimeSlots: "getTimeSlots";
989
+ suggestAddresses: "suggestAddresses";
990
+ checkDeliveryZone: "checkDeliveryZone";
954
991
  }>;
955
992
  type GatewayActionType = z.infer<typeof GatewayActionTypeSchema>;
956
993
  /**
@@ -971,6 +1008,8 @@ declare const GatewayRequestSchema: z.ZodObject<{
971
1008
  getDeliveryByCourierStatus: "getDeliveryByCourierStatus";
972
1009
  getSelfPickupStatus: "getSelfPickupStatus";
973
1010
  getTimeSlots: "getTimeSlots";
1011
+ suggestAddresses: "suggestAddresses";
1012
+ checkDeliveryZone: "checkDeliveryZone";
974
1013
  }>;
975
1014
  params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
976
1015
  body: z.ZodOptional<z.ZodUnknown>;
@@ -1325,6 +1364,7 @@ declare const GatewayGetOptionsResponseSchema: z.ZodObject<{
1325
1364
  textContent: z.ZodOptional<z.ZodString>;
1326
1365
  }, z.core.$strip>>>;
1327
1366
  headStyles: z.ZodOptional<z.ZodArray<z.ZodString>>;
1367
+ addressSuggestEnabled: z.ZodOptional<z.ZodBoolean>;
1328
1368
  }, z.core.$strip>;
1329
1369
  }, z.core.$strip>;
1330
1370
  type GatewayGetOptionsResponse = z.infer<typeof GatewayGetOptionsResponseSchema>;
@@ -1643,7 +1683,12 @@ declare const GatewayGetChannelsResponseSchema: z.ZodObject<{
1643
1683
  value: z.ZodString;
1644
1684
  }, z.core.$strip>>>;
1645
1685
  icon: z.ZodOptional<z.ZodString>;
1646
- target: z.ZodOptional<z.ZodString>;
1686
+ target: z.ZodOptional<z.ZodEnum<{
1687
+ _blank: "_blank";
1688
+ _self: "_self";
1689
+ _parent: "_parent";
1690
+ _top: "_top";
1691
+ }>>;
1647
1692
  }, z.core.$strip>>;
1648
1693
  footer: z.ZodArray<z.ZodObject<{
1649
1694
  to: z.ZodString;
@@ -1664,7 +1709,12 @@ declare const GatewayGetChannelsResponseSchema: z.ZodObject<{
1664
1709
  value: z.ZodString;
1665
1710
  }, z.core.$strip>>>;
1666
1711
  icon: z.ZodOptional<z.ZodString>;
1667
- target: z.ZodOptional<z.ZodString>;
1712
+ target: z.ZodOptional<z.ZodEnum<{
1713
+ _blank: "_blank";
1714
+ _self: "_self";
1715
+ _parent: "_parent";
1716
+ _top: "_top";
1717
+ }>>;
1668
1718
  }, z.core.$strip>>;
1669
1719
  social: z.ZodArray<z.ZodObject<{
1670
1720
  to: z.ZodString;
@@ -1685,7 +1735,12 @@ declare const GatewayGetChannelsResponseSchema: z.ZodObject<{
1685
1735
  value: z.ZodString;
1686
1736
  }, z.core.$strip>>>;
1687
1737
  icon: z.ZodOptional<z.ZodString>;
1688
- target: z.ZodOptional<z.ZodString>;
1738
+ target: z.ZodOptional<z.ZodEnum<{
1739
+ _blank: "_blank";
1740
+ _self: "_self";
1741
+ _parent: "_parent";
1742
+ _top: "_top";
1743
+ }>>;
1689
1744
  }, z.core.$strip>>;
1690
1745
  }, z.core.$strip>>;
1691
1746
  }, z.core.$strip>>;
@@ -1729,6 +1784,8 @@ declare const GatewayGetOrderResponseSchema: z.ZodObject<{
1729
1784
  entrance: z.ZodOptional<z.ZodString>;
1730
1785
  floor: z.ZodOptional<z.ZodString>;
1731
1786
  addressNote: z.ZodOptional<z.ZodString>;
1787
+ lat: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1788
+ lon: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1732
1789
  }, z.core.$strip>, z.ZodObject<{
1733
1790
  type: z.ZodLiteral<"warehouseAddress">;
1734
1791
  id: z.ZodString;
@@ -1790,6 +1847,8 @@ declare const GatewayCreateOrderResponseSchema: z.ZodObject<{
1790
1847
  entrance: z.ZodOptional<z.ZodString>;
1791
1848
  floor: z.ZodOptional<z.ZodString>;
1792
1849
  addressNote: z.ZodOptional<z.ZodString>;
1850
+ lat: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1851
+ lon: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1793
1852
  }, z.core.$strip>, z.ZodObject<{
1794
1853
  type: z.ZodLiteral<"warehouseAddress">;
1795
1854
  id: z.ZodString;
@@ -1844,6 +1903,8 @@ declare const GatewayUpdateOrderRequestSchema: z.ZodObject<{
1844
1903
  entrance: z.ZodOptional<z.ZodString>;
1845
1904
  floor: z.ZodOptional<z.ZodString>;
1846
1905
  addressNote: z.ZodOptional<z.ZodString>;
1906
+ lat: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1907
+ lon: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1847
1908
  }, z.core.$strip>, z.ZodObject<{
1848
1909
  type: z.ZodLiteral<"warehouseAddress">;
1849
1910
  id: z.ZodString;
@@ -1899,6 +1960,8 @@ declare const GatewayUpdateOrderResponseSchema: z.ZodObject<{
1899
1960
  entrance: z.ZodOptional<z.ZodString>;
1900
1961
  floor: z.ZodOptional<z.ZodString>;
1901
1962
  addressNote: z.ZodOptional<z.ZodString>;
1963
+ lat: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1964
+ lon: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1902
1965
  }, z.core.$strip>, z.ZodObject<{
1903
1966
  type: z.ZodLiteral<"warehouseAddress">;
1904
1967
  id: z.ZodString;
@@ -1953,6 +2016,8 @@ declare const GatewayCompleteOrderRequestSchema: z.ZodObject<{
1953
2016
  entrance: z.ZodOptional<z.ZodString>;
1954
2017
  floor: z.ZodOptional<z.ZodString>;
1955
2018
  addressNote: z.ZodOptional<z.ZodString>;
2019
+ lat: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2020
+ lon: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1956
2021
  }, z.core.$strip>, z.ZodObject<{
1957
2022
  type: z.ZodLiteral<"warehouseAddress">;
1958
2023
  id: z.ZodString;
@@ -2008,6 +2073,8 @@ declare const GatewayCompleteOrderResponseSchema: z.ZodObject<{
2008
2073
  entrance: z.ZodOptional<z.ZodString>;
2009
2074
  floor: z.ZodOptional<z.ZodString>;
2010
2075
  addressNote: z.ZodOptional<z.ZodString>;
2076
+ lat: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2077
+ lon: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2011
2078
  }, z.core.$strip>, z.ZodObject<{
2012
2079
  type: z.ZodLiteral<"warehouseAddress">;
2013
2080
  id: z.ZodString;
@@ -2072,6 +2139,8 @@ declare const GatewayAddOrderItemResponseSchema: z.ZodObject<{
2072
2139
  entrance: z.ZodOptional<z.ZodString>;
2073
2140
  floor: z.ZodOptional<z.ZodString>;
2074
2141
  addressNote: z.ZodOptional<z.ZodString>;
2142
+ lat: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2143
+ lon: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2075
2144
  }, z.core.$strip>, z.ZodObject<{
2076
2145
  type: z.ZodLiteral<"warehouseAddress">;
2077
2146
  id: z.ZodString;
@@ -2140,6 +2209,8 @@ declare const GatewayIncrementOrderItemQuantityResponseSchema: z.ZodObject<{
2140
2209
  entrance: z.ZodOptional<z.ZodString>;
2141
2210
  floor: z.ZodOptional<z.ZodString>;
2142
2211
  addressNote: z.ZodOptional<z.ZodString>;
2212
+ lat: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2213
+ lon: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2143
2214
  }, z.core.$strip>, z.ZodObject<{
2144
2215
  type: z.ZodLiteral<"warehouseAddress">;
2145
2216
  id: z.ZodString;
@@ -2208,6 +2279,8 @@ declare const GatewayDecrementOrderItemQuantityResponseSchema: z.ZodObject<{
2208
2279
  entrance: z.ZodOptional<z.ZodString>;
2209
2280
  floor: z.ZodOptional<z.ZodString>;
2210
2281
  addressNote: z.ZodOptional<z.ZodString>;
2282
+ lat: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2283
+ lon: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2211
2284
  }, z.core.$strip>, z.ZodObject<{
2212
2285
  type: z.ZodLiteral<"warehouseAddress">;
2213
2286
  id: z.ZodString;
@@ -2342,17 +2415,17 @@ declare const GatewayGetMenuResponseSchema: z.ZodObject<{
2342
2415
  id: z.ZodString;
2343
2416
  url: z.ZodString;
2344
2417
  size: z.ZodEnum<{
2418
+ original: "original";
2345
2419
  xs: "xs";
2346
2420
  sm: "sm";
2347
2421
  md: "md";
2348
2422
  lg: "lg";
2349
2423
  xl: "xl";
2350
- original: "original";
2351
2424
  }>;
2352
2425
  format: z.ZodEnum<{
2353
- original: "original";
2354
2426
  jpeg: "jpeg";
2355
2427
  webp: "webp";
2428
+ original: "original";
2356
2429
  }>;
2357
2430
  }, z.core.$strip>>;
2358
2431
  video: z.ZodOptional<z.ZodObject<{
@@ -2608,6 +2681,53 @@ declare const GatewayGetTimeSlotsResponseSchema: z.ZodObject<{
2608
2681
  }, z.core.$strip>>;
2609
2682
  }, z.core.$strip>;
2610
2683
  type GatewayGetTimeSlotsResponse = z.infer<typeof GatewayGetTimeSlotsResponseSchema>;
2684
+ declare const GatewaySuggestAddressesRequestSchema: z.ZodObject<{
2685
+ params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2686
+ type: z.ZodLiteral<"suggestAddresses">;
2687
+ body: z.ZodObject<{
2688
+ query: z.ZodString;
2689
+ limit: z.ZodOptional<z.ZodNumber>;
2690
+ }, z.core.$strip>;
2691
+ }, z.core.$strip>;
2692
+ type GatewaySuggestAddressesRequest = z.infer<typeof GatewaySuggestAddressesRequestSchema>;
2693
+ declare const GatewaySuggestAddressesResponseSchema: z.ZodObject<{
2694
+ ok: z.ZodBoolean;
2695
+ error: z.ZodOptional<z.ZodString>;
2696
+ type: z.ZodLiteral<"suggestAddresses">;
2697
+ result: z.ZodArray<z.ZodObject<{
2698
+ value: z.ZodString;
2699
+ lat: z.ZodNullable<z.ZodNumber>;
2700
+ lon: z.ZodNullable<z.ZodNumber>;
2701
+ data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2702
+ }, z.core.$strip>>;
2703
+ }, z.core.$strip>;
2704
+ type GatewaySuggestAddressesResponse = z.infer<typeof GatewaySuggestAddressesResponseSchema>;
2705
+ declare const DeliveryZoneInfoSchema: z.ZodObject<{
2706
+ name: z.ZodString;
2707
+ deliveryPrice: z.ZodNumber;
2708
+ minOrderAmount: z.ZodNullable<z.ZodNumber>;
2709
+ }, z.core.$strip>;
2710
+ type DeliveryZoneInfo = z.infer<typeof DeliveryZoneInfoSchema>;
2711
+ declare const GatewayCheckDeliveryZoneRequestSchema: z.ZodObject<{
2712
+ params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2713
+ type: z.ZodLiteral<"checkDeliveryZone">;
2714
+ body: z.ZodObject<{
2715
+ lat: z.ZodNumber;
2716
+ lon: z.ZodNumber;
2717
+ }, z.core.$strip>;
2718
+ }, z.core.$strip>;
2719
+ type GatewayCheckDeliveryZoneRequest = z.infer<typeof GatewayCheckDeliveryZoneRequestSchema>;
2720
+ declare const GatewayCheckDeliveryZoneResponseSchema: z.ZodObject<{
2721
+ ok: z.ZodBoolean;
2722
+ error: z.ZodOptional<z.ZodString>;
2723
+ type: z.ZodLiteral<"checkDeliveryZone">;
2724
+ result: z.ZodNullable<z.ZodObject<{
2725
+ name: z.ZodString;
2726
+ deliveryPrice: z.ZodNumber;
2727
+ minOrderAmount: z.ZodNullable<z.ZodNumber>;
2728
+ }, z.core.$strip>>;
2729
+ }, z.core.$strip>;
2730
+ type GatewayCheckDeliveryZoneResponse = z.infer<typeof GatewayCheckDeliveryZoneResponseSchema>;
2611
2731
  /**
2612
2732
  * Combined Gateway Response
2613
2733
  */
@@ -2947,6 +3067,7 @@ declare const GatewayResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
2947
3067
  textContent: z.ZodOptional<z.ZodString>;
2948
3068
  }, z.core.$strip>>>;
2949
3069
  headStyles: z.ZodOptional<z.ZodArray<z.ZodString>>;
3070
+ addressSuggestEnabled: z.ZodOptional<z.ZodBoolean>;
2950
3071
  }, z.core.$strip>;
2951
3072
  }, z.core.$strip>, z.ZodObject<{
2952
3073
  ok: z.ZodBoolean;
@@ -3257,7 +3378,12 @@ declare const GatewayResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
3257
3378
  value: z.ZodString;
3258
3379
  }, z.core.$strip>>>;
3259
3380
  icon: z.ZodOptional<z.ZodString>;
3260
- target: z.ZodOptional<z.ZodString>;
3381
+ target: z.ZodOptional<z.ZodEnum<{
3382
+ _blank: "_blank";
3383
+ _self: "_self";
3384
+ _parent: "_parent";
3385
+ _top: "_top";
3386
+ }>>;
3261
3387
  }, z.core.$strip>>;
3262
3388
  footer: z.ZodArray<z.ZodObject<{
3263
3389
  to: z.ZodString;
@@ -3278,7 +3404,12 @@ declare const GatewayResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
3278
3404
  value: z.ZodString;
3279
3405
  }, z.core.$strip>>>;
3280
3406
  icon: z.ZodOptional<z.ZodString>;
3281
- target: z.ZodOptional<z.ZodString>;
3407
+ target: z.ZodOptional<z.ZodEnum<{
3408
+ _blank: "_blank";
3409
+ _self: "_self";
3410
+ _parent: "_parent";
3411
+ _top: "_top";
3412
+ }>>;
3282
3413
  }, z.core.$strip>>;
3283
3414
  social: z.ZodArray<z.ZodObject<{
3284
3415
  to: z.ZodString;
@@ -3299,7 +3430,12 @@ declare const GatewayResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
3299
3430
  value: z.ZodString;
3300
3431
  }, z.core.$strip>>>;
3301
3432
  icon: z.ZodOptional<z.ZodString>;
3302
- target: z.ZodOptional<z.ZodString>;
3433
+ target: z.ZodOptional<z.ZodEnum<{
3434
+ _blank: "_blank";
3435
+ _self: "_self";
3436
+ _parent: "_parent";
3437
+ _top: "_top";
3438
+ }>>;
3303
3439
  }, z.core.$strip>>;
3304
3440
  }, z.core.$strip>>;
3305
3441
  }, z.core.$strip>>;
@@ -3333,6 +3469,8 @@ declare const GatewayResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
3333
3469
  entrance: z.ZodOptional<z.ZodString>;
3334
3470
  floor: z.ZodOptional<z.ZodString>;
3335
3471
  addressNote: z.ZodOptional<z.ZodString>;
3472
+ lat: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
3473
+ lon: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
3336
3474
  }, z.core.$strip>, z.ZodObject<{
3337
3475
  type: z.ZodLiteral<"warehouseAddress">;
3338
3476
  id: z.ZodString;
@@ -3386,6 +3524,8 @@ declare const GatewayResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
3386
3524
  entrance: z.ZodOptional<z.ZodString>;
3387
3525
  floor: z.ZodOptional<z.ZodString>;
3388
3526
  addressNote: z.ZodOptional<z.ZodString>;
3527
+ lat: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
3528
+ lon: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
3389
3529
  }, z.core.$strip>, z.ZodObject<{
3390
3530
  type: z.ZodLiteral<"warehouseAddress">;
3391
3531
  id: z.ZodString;
@@ -3439,6 +3579,8 @@ declare const GatewayResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
3439
3579
  entrance: z.ZodOptional<z.ZodString>;
3440
3580
  floor: z.ZodOptional<z.ZodString>;
3441
3581
  addressNote: z.ZodOptional<z.ZodString>;
3582
+ lat: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
3583
+ lon: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
3442
3584
  }, z.core.$strip>, z.ZodObject<{
3443
3585
  type: z.ZodLiteral<"warehouseAddress">;
3444
3586
  id: z.ZodString;
@@ -3492,6 +3634,8 @@ declare const GatewayResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
3492
3634
  entrance: z.ZodOptional<z.ZodString>;
3493
3635
  floor: z.ZodOptional<z.ZodString>;
3494
3636
  addressNote: z.ZodOptional<z.ZodString>;
3637
+ lat: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
3638
+ lon: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
3495
3639
  }, z.core.$strip>, z.ZodObject<{
3496
3640
  type: z.ZodLiteral<"warehouseAddress">;
3497
3641
  id: z.ZodString;
@@ -3545,6 +3689,8 @@ declare const GatewayResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
3545
3689
  entrance: z.ZodOptional<z.ZodString>;
3546
3690
  floor: z.ZodOptional<z.ZodString>;
3547
3691
  addressNote: z.ZodOptional<z.ZodString>;
3692
+ lat: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
3693
+ lon: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
3548
3694
  }, z.core.$strip>, z.ZodObject<{
3549
3695
  type: z.ZodLiteral<"warehouseAddress">;
3550
3696
  id: z.ZodString;
@@ -3598,6 +3744,8 @@ declare const GatewayResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
3598
3744
  entrance: z.ZodOptional<z.ZodString>;
3599
3745
  floor: z.ZodOptional<z.ZodString>;
3600
3746
  addressNote: z.ZodOptional<z.ZodString>;
3747
+ lat: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
3748
+ lon: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
3601
3749
  }, z.core.$strip>, z.ZodObject<{
3602
3750
  type: z.ZodLiteral<"warehouseAddress">;
3603
3751
  id: z.ZodString;
@@ -3651,6 +3799,8 @@ declare const GatewayResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
3651
3799
  entrance: z.ZodOptional<z.ZodString>;
3652
3800
  floor: z.ZodOptional<z.ZodString>;
3653
3801
  addressNote: z.ZodOptional<z.ZodString>;
3802
+ lat: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
3803
+ lon: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
3654
3804
  }, z.core.$strip>, z.ZodObject<{
3655
3805
  type: z.ZodLiteral<"warehouseAddress">;
3656
3806
  id: z.ZodString;
@@ -3777,17 +3927,17 @@ declare const GatewayResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
3777
3927
  id: z.ZodString;
3778
3928
  url: z.ZodString;
3779
3929
  size: z.ZodEnum<{
3930
+ original: "original";
3780
3931
  xs: "xs";
3781
3932
  sm: "sm";
3782
3933
  md: "md";
3783
3934
  lg: "lg";
3784
3935
  xl: "xl";
3785
- original: "original";
3786
3936
  }>;
3787
3937
  format: z.ZodEnum<{
3788
- original: "original";
3789
3938
  jpeg: "jpeg";
3790
3939
  webp: "webp";
3940
+ original: "original";
3791
3941
  }>;
3792
3942
  }, z.core.$strip>>;
3793
3943
  video: z.ZodOptional<z.ZodObject<{
@@ -4007,13 +4157,32 @@ declare const GatewayResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
4007
4157
  start: z.ZodString;
4008
4158
  end: z.ZodString;
4009
4159
  }, z.core.$strip>>;
4160
+ }, z.core.$strip>, z.ZodObject<{
4161
+ ok: z.ZodBoolean;
4162
+ error: z.ZodOptional<z.ZodString>;
4163
+ type: z.ZodLiteral<"suggestAddresses">;
4164
+ result: z.ZodArray<z.ZodObject<{
4165
+ value: z.ZodString;
4166
+ lat: z.ZodNullable<z.ZodNumber>;
4167
+ lon: z.ZodNullable<z.ZodNumber>;
4168
+ data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
4169
+ }, z.core.$strip>>;
4170
+ }, z.core.$strip>, z.ZodObject<{
4171
+ ok: z.ZodBoolean;
4172
+ error: z.ZodOptional<z.ZodString>;
4173
+ type: z.ZodLiteral<"checkDeliveryZone">;
4174
+ result: z.ZodNullable<z.ZodObject<{
4175
+ name: z.ZodString;
4176
+ deliveryPrice: z.ZodNumber;
4177
+ minOrderAmount: z.ZodNullable<z.ZodNumber>;
4178
+ }, z.core.$strip>>;
4010
4179
  }, z.core.$strip>], "type">;
4011
4180
  type GatewayResponse = z.infer<typeof GatewayResponseSchema>;
4012
4181
 
4013
4182
  declare const ImageFormatSchema: z.ZodEnum<{
4014
- original: "original";
4015
4183
  jpeg: "jpeg";
4016
4184
  webp: "webp";
4185
+ original: "original";
4017
4186
  }>;
4018
4187
  type ImageFormat = z.infer<typeof ImageFormatSchema>;
4019
4188
  /**
@@ -4025,29 +4194,29 @@ type ImageFormat = z.infer<typeof ImageFormatSchema>;
4025
4194
  * - xl - 1920px
4026
4195
  */
4027
4196
  declare const ImageSizeSchema: z.ZodEnum<{
4197
+ original: "original";
4028
4198
  xs: "xs";
4029
4199
  sm: "sm";
4030
4200
  md: "md";
4031
4201
  lg: "lg";
4032
4202
  xl: "xl";
4033
- original: "original";
4034
4203
  }>;
4035
4204
  type ImageSize = z.infer<typeof ImageSizeSchema>;
4036
4205
  declare const ImageSchema: z.ZodObject<{
4037
4206
  id: z.ZodString;
4038
4207
  url: z.ZodString;
4039
4208
  size: z.ZodEnum<{
4209
+ original: "original";
4040
4210
  xs: "xs";
4041
4211
  sm: "sm";
4042
4212
  md: "md";
4043
4213
  lg: "lg";
4044
4214
  xl: "xl";
4045
- original: "original";
4046
4215
  }>;
4047
4216
  format: z.ZodEnum<{
4048
- original: "original";
4049
4217
  jpeg: "jpeg";
4050
4218
  webp: "webp";
4219
+ original: "original";
4051
4220
  }>;
4052
4221
  }, z.core.$strip>;
4053
4222
  type Image = z.infer<typeof ImageSchema>;
@@ -4131,17 +4300,17 @@ declare const MenuCategorySchema: z.ZodObject<{
4131
4300
  id: z.ZodString;
4132
4301
  url: z.ZodString;
4133
4302
  size: z.ZodEnum<{
4303
+ original: "original";
4134
4304
  xs: "xs";
4135
4305
  sm: "sm";
4136
4306
  md: "md";
4137
4307
  lg: "lg";
4138
4308
  xl: "xl";
4139
- original: "original";
4140
4309
  }>;
4141
4310
  format: z.ZodEnum<{
4142
- original: "original";
4143
4311
  jpeg: "jpeg";
4144
4312
  webp: "webp";
4313
+ original: "original";
4145
4314
  }>;
4146
4315
  }, z.core.$strip>>;
4147
4316
  video: z.ZodOptional<z.ZodObject<{
@@ -4322,17 +4491,17 @@ declare const MenuSchema: z.ZodObject<{
4322
4491
  id: z.ZodString;
4323
4492
  url: z.ZodString;
4324
4493
  size: z.ZodEnum<{
4494
+ original: "original";
4325
4495
  xs: "xs";
4326
4496
  sm: "sm";
4327
4497
  md: "md";
4328
4498
  lg: "lg";
4329
4499
  xl: "xl";
4330
- original: "original";
4331
4500
  }>;
4332
4501
  format: z.ZodEnum<{
4333
- original: "original";
4334
4502
  jpeg: "jpeg";
4335
4503
  webp: "webp";
4504
+ original: "original";
4336
4505
  }>;
4337
4506
  }, z.core.$strip>>;
4338
4507
  video: z.ZodOptional<z.ZodObject<{
@@ -4763,6 +4932,7 @@ declare const OptionsSchema: z.ZodObject<{
4763
4932
  textContent: z.ZodOptional<z.ZodString>;
4764
4933
  }, z.core.$strip>>>;
4765
4934
  headStyles: z.ZodOptional<z.ZodArray<z.ZodString>>;
4935
+ addressSuggestEnabled: z.ZodOptional<z.ZodBoolean>;
4766
4936
  }, z.core.$strip>;
4767
4937
  type Options = z.infer<typeof OptionsSchema>;
4768
4938
 
@@ -4813,6 +4983,8 @@ declare const OrderDeliveryAddressSchema: z.ZodObject<{
4813
4983
  entrance: z.ZodOptional<z.ZodString>;
4814
4984
  floor: z.ZodOptional<z.ZodString>;
4815
4985
  addressNote: z.ZodOptional<z.ZodString>;
4986
+ lat: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
4987
+ lon: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
4816
4988
  }, z.core.$strip>;
4817
4989
  type OrderDeliveryAddress = z.infer<typeof OrderDeliveryAddressSchema>;
4818
4990
  declare const OrderWarehouseAddressSchema: z.ZodObject<{
@@ -4846,6 +5018,8 @@ declare const OrderSchema: z.ZodObject<{
4846
5018
  entrance: z.ZodOptional<z.ZodString>;
4847
5019
  floor: z.ZodOptional<z.ZodString>;
4848
5020
  addressNote: z.ZodOptional<z.ZodString>;
5021
+ lat: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
5022
+ lon: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
4849
5023
  }, z.core.$strip>, z.ZodObject<{
4850
5024
  type: z.ZodLiteral<"warehouseAddress">;
4851
5025
  id: z.ZodString;
@@ -4870,6 +5044,16 @@ declare const OrderSchema: z.ZodObject<{
4870
5044
  }, z.core.$strip>>;
4871
5045
  }, z.core.$strip>;
4872
5046
  type Order = z.infer<typeof OrderSchema>;
5047
+ /**
5048
+ * Address Suggestion
5049
+ */
5050
+ declare const AddressSuggestionSchema: z.ZodObject<{
5051
+ value: z.ZodString;
5052
+ lat: z.ZodNullable<z.ZodNumber>;
5053
+ lon: z.ZodNullable<z.ZodNumber>;
5054
+ data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
5055
+ }, z.core.$strip>;
5056
+ type AddressSuggestion = z.infer<typeof AddressSuggestionSchema>;
4873
5057
 
4874
5058
  declare const PaymentMethodTypeSchema: z.ZodEnum<{
4875
5059
  cash: "cash";
@@ -4952,17 +5136,17 @@ declare const ProductVariantSchema: z.ZodObject<{
4952
5136
  id: z.ZodString;
4953
5137
  url: z.ZodString;
4954
5138
  size: z.ZodEnum<{
5139
+ original: "original";
4955
5140
  xs: "xs";
4956
5141
  sm: "sm";
4957
5142
  md: "md";
4958
5143
  lg: "lg";
4959
5144
  xl: "xl";
4960
- original: "original";
4961
5145
  }>;
4962
5146
  format: z.ZodEnum<{
4963
- original: "original";
4964
5147
  jpeg: "jpeg";
4965
5148
  webp: "webp";
5149
+ original: "original";
4966
5150
  }>;
4967
5151
  }, z.core.$strip>>;
4968
5152
  video: z.ZodOptional<z.ZodObject<{
@@ -5109,17 +5293,17 @@ declare const ProductSchema: z.ZodObject<{
5109
5293
  id: z.ZodString;
5110
5294
  url: z.ZodString;
5111
5295
  size: z.ZodEnum<{
5296
+ original: "original";
5112
5297
  xs: "xs";
5113
5298
  sm: "sm";
5114
5299
  md: "md";
5115
5300
  lg: "lg";
5116
5301
  xl: "xl";
5117
- original: "original";
5118
5302
  }>;
5119
5303
  format: z.ZodEnum<{
5120
- original: "original";
5121
5304
  jpeg: "jpeg";
5122
5305
  webp: "webp";
5306
+ original: "original";
5123
5307
  }>;
5124
5308
  }, z.core.$strip>>;
5125
5309
  video: z.ZodOptional<z.ZodObject<{
@@ -5463,5 +5647,5 @@ declare const WarehouseSchema: z.ZodObject<{
5463
5647
  }, z.core.$strip>;
5464
5648
  type Warehouse = z.infer<typeof WarehouseSchema>;
5465
5649
 
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 };
5650
+ export { AddressSuggestionSchema, BaseResponseSchema, ChannelSchema, CompositionIngredientSchema, CompositionProductSchema, CountryCodeSchema, CurrencyCodeSchema, DayScheduleSchema, DeliveryByCourierSchema, DeliveryMethodSchema, DeliveryZoneInfoSchema, GatewayActionTypeSchema, GatewayAddOrderItemRequestSchema, GatewayAddOrderItemResponseSchema, GatewayCheckDeliveryZoneRequestSchema, GatewayCheckDeliveryZoneResponseSchema, 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 };
5651
+ export type { AddressSuggestion, Channel, CompositionIngredient, CompositionProductItem, CountryCode, CurrencyCode, DaySchedule, DeliveryByCourier, DeliveryMethod, DeliveryZoneInfo, GatewayActionType, GatewayAddOrderItemRequest, GatewayAddOrderItemResponse, GatewayCheckDeliveryZoneRequest, GatewayCheckDeliveryZoneResponse, 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 };