@nextorders/food-schema 0.3.1 → 0.3.3

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";
25
24
  cash: "cash";
26
25
  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";
102
101
  cash: "cash";
103
102
  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";
404
403
  cash: "cash";
405
404
  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";
480
479
  cash: "cash";
481
480
  card: "card";
481
+ custom: "custom";
482
482
  }>;
483
483
  }, z.core.$strip>>;
484
484
  conditions: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -987,6 +987,7 @@ declare const GatewayActionTypeSchema: z.ZodEnum<{
987
987
  getSelfPickupStatus: "getSelfPickupStatus";
988
988
  getTimeSlots: "getTimeSlots";
989
989
  suggestAddresses: "suggestAddresses";
990
+ checkDeliveryZone: "checkDeliveryZone";
990
991
  }>;
991
992
  type GatewayActionType = z.infer<typeof GatewayActionTypeSchema>;
992
993
  /**
@@ -1008,6 +1009,7 @@ declare const GatewayRequestSchema: z.ZodObject<{
1008
1009
  getSelfPickupStatus: "getSelfPickupStatus";
1009
1010
  getTimeSlots: "getTimeSlots";
1010
1011
  suggestAddresses: "suggestAddresses";
1012
+ checkDeliveryZone: "checkDeliveryZone";
1011
1013
  }>;
1012
1014
  params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1013
1015
  body: z.ZodOptional<z.ZodUnknown>;
@@ -1363,6 +1365,7 @@ declare const GatewayGetOptionsResponseSchema: z.ZodObject<{
1363
1365
  }, z.core.$strip>>>;
1364
1366
  headStyles: z.ZodOptional<z.ZodArray<z.ZodString>>;
1365
1367
  addressSuggestEnabled: z.ZodOptional<z.ZodBoolean>;
1368
+ deliveryZonesEnabled: z.ZodOptional<z.ZodBoolean>;
1366
1369
  }, z.core.$strip>;
1367
1370
  }, z.core.$strip>;
1368
1371
  type GatewayGetOptionsResponse = z.infer<typeof GatewayGetOptionsResponseSchema>;
@@ -1478,9 +1481,9 @@ declare const GatewayGetChannelsResponseSchema: z.ZodObject<{
1478
1481
  value: z.ZodString;
1479
1482
  }, z.core.$strip>>;
1480
1483
  type: z.ZodEnum<{
1481
- custom: "custom";
1482
1484
  cash: "cash";
1483
1485
  card: "card";
1486
+ custom: "custom";
1484
1487
  }>;
1485
1488
  }, z.core.$strip>>;
1486
1489
  conditions: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -1554,9 +1557,9 @@ declare const GatewayGetChannelsResponseSchema: z.ZodObject<{
1554
1557
  value: z.ZodString;
1555
1558
  }, z.core.$strip>>;
1556
1559
  type: z.ZodEnum<{
1557
- custom: "custom";
1558
1560
  cash: "cash";
1559
1561
  card: "card";
1562
+ custom: "custom";
1560
1563
  }>;
1561
1564
  }, z.core.$strip>>;
1562
1565
  conditions: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -1782,6 +1785,8 @@ declare const GatewayGetOrderResponseSchema: z.ZodObject<{
1782
1785
  entrance: z.ZodOptional<z.ZodString>;
1783
1786
  floor: z.ZodOptional<z.ZodString>;
1784
1787
  addressNote: z.ZodOptional<z.ZodString>;
1788
+ lat: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1789
+ lon: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1785
1790
  }, z.core.$strip>, z.ZodObject<{
1786
1791
  type: z.ZodLiteral<"warehouseAddress">;
1787
1792
  id: z.ZodString;
@@ -1843,6 +1848,8 @@ declare const GatewayCreateOrderResponseSchema: z.ZodObject<{
1843
1848
  entrance: z.ZodOptional<z.ZodString>;
1844
1849
  floor: z.ZodOptional<z.ZodString>;
1845
1850
  addressNote: z.ZodOptional<z.ZodString>;
1851
+ lat: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1852
+ lon: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1846
1853
  }, z.core.$strip>, z.ZodObject<{
1847
1854
  type: z.ZodLiteral<"warehouseAddress">;
1848
1855
  id: z.ZodString;
@@ -1897,6 +1904,8 @@ declare const GatewayUpdateOrderRequestSchema: z.ZodObject<{
1897
1904
  entrance: z.ZodOptional<z.ZodString>;
1898
1905
  floor: z.ZodOptional<z.ZodString>;
1899
1906
  addressNote: z.ZodOptional<z.ZodString>;
1907
+ lat: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1908
+ lon: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1900
1909
  }, z.core.$strip>, z.ZodObject<{
1901
1910
  type: z.ZodLiteral<"warehouseAddress">;
1902
1911
  id: z.ZodString;
@@ -1952,6 +1961,8 @@ declare const GatewayUpdateOrderResponseSchema: z.ZodObject<{
1952
1961
  entrance: z.ZodOptional<z.ZodString>;
1953
1962
  floor: z.ZodOptional<z.ZodString>;
1954
1963
  addressNote: z.ZodOptional<z.ZodString>;
1964
+ lat: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1965
+ lon: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1955
1966
  }, z.core.$strip>, z.ZodObject<{
1956
1967
  type: z.ZodLiteral<"warehouseAddress">;
1957
1968
  id: z.ZodString;
@@ -2006,6 +2017,8 @@ declare const GatewayCompleteOrderRequestSchema: z.ZodObject<{
2006
2017
  entrance: z.ZodOptional<z.ZodString>;
2007
2018
  floor: z.ZodOptional<z.ZodString>;
2008
2019
  addressNote: z.ZodOptional<z.ZodString>;
2020
+ lat: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2021
+ lon: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2009
2022
  }, z.core.$strip>, z.ZodObject<{
2010
2023
  type: z.ZodLiteral<"warehouseAddress">;
2011
2024
  id: z.ZodString;
@@ -2061,6 +2074,8 @@ declare const GatewayCompleteOrderResponseSchema: z.ZodObject<{
2061
2074
  entrance: z.ZodOptional<z.ZodString>;
2062
2075
  floor: z.ZodOptional<z.ZodString>;
2063
2076
  addressNote: z.ZodOptional<z.ZodString>;
2077
+ lat: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2078
+ lon: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2064
2079
  }, z.core.$strip>, z.ZodObject<{
2065
2080
  type: z.ZodLiteral<"warehouseAddress">;
2066
2081
  id: z.ZodString;
@@ -2125,6 +2140,8 @@ declare const GatewayAddOrderItemResponseSchema: z.ZodObject<{
2125
2140
  entrance: z.ZodOptional<z.ZodString>;
2126
2141
  floor: z.ZodOptional<z.ZodString>;
2127
2142
  addressNote: z.ZodOptional<z.ZodString>;
2143
+ lat: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2144
+ lon: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2128
2145
  }, z.core.$strip>, z.ZodObject<{
2129
2146
  type: z.ZodLiteral<"warehouseAddress">;
2130
2147
  id: z.ZodString;
@@ -2193,6 +2210,8 @@ declare const GatewayIncrementOrderItemQuantityResponseSchema: z.ZodObject<{
2193
2210
  entrance: z.ZodOptional<z.ZodString>;
2194
2211
  floor: z.ZodOptional<z.ZodString>;
2195
2212
  addressNote: z.ZodOptional<z.ZodString>;
2213
+ lat: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2214
+ lon: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2196
2215
  }, z.core.$strip>, z.ZodObject<{
2197
2216
  type: z.ZodLiteral<"warehouseAddress">;
2198
2217
  id: z.ZodString;
@@ -2261,6 +2280,8 @@ declare const GatewayDecrementOrderItemQuantityResponseSchema: z.ZodObject<{
2261
2280
  entrance: z.ZodOptional<z.ZodString>;
2262
2281
  floor: z.ZodOptional<z.ZodString>;
2263
2282
  addressNote: z.ZodOptional<z.ZodString>;
2283
+ lat: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2284
+ lon: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2264
2285
  }, z.core.$strip>, z.ZodObject<{
2265
2286
  type: z.ZodLiteral<"warehouseAddress">;
2266
2287
  id: z.ZodString;
@@ -2682,6 +2703,32 @@ declare const GatewaySuggestAddressesResponseSchema: z.ZodObject<{
2682
2703
  }, z.core.$strip>>;
2683
2704
  }, z.core.$strip>;
2684
2705
  type GatewaySuggestAddressesResponse = z.infer<typeof GatewaySuggestAddressesResponseSchema>;
2706
+ declare const DeliveryZoneInfoSchema: z.ZodObject<{
2707
+ name: z.ZodString;
2708
+ deliveryPrice: z.ZodNumber;
2709
+ minOrderAmount: z.ZodNullable<z.ZodNumber>;
2710
+ }, z.core.$strip>;
2711
+ type DeliveryZoneInfo = z.infer<typeof DeliveryZoneInfoSchema>;
2712
+ declare const GatewayCheckDeliveryZoneRequestSchema: z.ZodObject<{
2713
+ params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2714
+ type: z.ZodLiteral<"checkDeliveryZone">;
2715
+ body: z.ZodObject<{
2716
+ lat: z.ZodNumber;
2717
+ lon: z.ZodNumber;
2718
+ }, z.core.$strip>;
2719
+ }, z.core.$strip>;
2720
+ type GatewayCheckDeliveryZoneRequest = z.infer<typeof GatewayCheckDeliveryZoneRequestSchema>;
2721
+ declare const GatewayCheckDeliveryZoneResponseSchema: z.ZodObject<{
2722
+ ok: z.ZodBoolean;
2723
+ error: z.ZodOptional<z.ZodString>;
2724
+ type: z.ZodLiteral<"checkDeliveryZone">;
2725
+ result: z.ZodNullable<z.ZodObject<{
2726
+ name: z.ZodString;
2727
+ deliveryPrice: z.ZodNumber;
2728
+ minOrderAmount: z.ZodNullable<z.ZodNumber>;
2729
+ }, z.core.$strip>>;
2730
+ }, z.core.$strip>;
2731
+ type GatewayCheckDeliveryZoneResponse = z.infer<typeof GatewayCheckDeliveryZoneResponseSchema>;
2685
2732
  /**
2686
2733
  * Combined Gateway Response
2687
2734
  */
@@ -3022,6 +3069,7 @@ declare const GatewayResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
3022
3069
  }, z.core.$strip>>>;
3023
3070
  headStyles: z.ZodOptional<z.ZodArray<z.ZodString>>;
3024
3071
  addressSuggestEnabled: z.ZodOptional<z.ZodBoolean>;
3072
+ deliveryZonesEnabled: z.ZodOptional<z.ZodBoolean>;
3025
3073
  }, z.core.$strip>;
3026
3074
  }, z.core.$strip>, z.ZodObject<{
3027
3075
  ok: z.ZodBoolean;
@@ -3129,9 +3177,9 @@ declare const GatewayResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
3129
3177
  value: z.ZodString;
3130
3178
  }, z.core.$strip>>;
3131
3179
  type: z.ZodEnum<{
3132
- custom: "custom";
3133
3180
  cash: "cash";
3134
3181
  card: "card";
3182
+ custom: "custom";
3135
3183
  }>;
3136
3184
  }, z.core.$strip>>;
3137
3185
  conditions: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -3205,9 +3253,9 @@ declare const GatewayResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
3205
3253
  value: z.ZodString;
3206
3254
  }, z.core.$strip>>;
3207
3255
  type: z.ZodEnum<{
3208
- custom: "custom";
3209
3256
  cash: "cash";
3210
3257
  card: "card";
3258
+ custom: "custom";
3211
3259
  }>;
3212
3260
  }, z.core.$strip>>;
3213
3261
  conditions: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -3423,6 +3471,8 @@ declare const GatewayResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
3423
3471
  entrance: z.ZodOptional<z.ZodString>;
3424
3472
  floor: z.ZodOptional<z.ZodString>;
3425
3473
  addressNote: z.ZodOptional<z.ZodString>;
3474
+ lat: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
3475
+ lon: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
3426
3476
  }, z.core.$strip>, z.ZodObject<{
3427
3477
  type: z.ZodLiteral<"warehouseAddress">;
3428
3478
  id: z.ZodString;
@@ -3476,6 +3526,8 @@ declare const GatewayResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
3476
3526
  entrance: z.ZodOptional<z.ZodString>;
3477
3527
  floor: z.ZodOptional<z.ZodString>;
3478
3528
  addressNote: z.ZodOptional<z.ZodString>;
3529
+ lat: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
3530
+ lon: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
3479
3531
  }, z.core.$strip>, z.ZodObject<{
3480
3532
  type: z.ZodLiteral<"warehouseAddress">;
3481
3533
  id: z.ZodString;
@@ -3529,6 +3581,8 @@ declare const GatewayResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
3529
3581
  entrance: z.ZodOptional<z.ZodString>;
3530
3582
  floor: z.ZodOptional<z.ZodString>;
3531
3583
  addressNote: z.ZodOptional<z.ZodString>;
3584
+ lat: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
3585
+ lon: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
3532
3586
  }, z.core.$strip>, z.ZodObject<{
3533
3587
  type: z.ZodLiteral<"warehouseAddress">;
3534
3588
  id: z.ZodString;
@@ -3582,6 +3636,8 @@ declare const GatewayResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
3582
3636
  entrance: z.ZodOptional<z.ZodString>;
3583
3637
  floor: z.ZodOptional<z.ZodString>;
3584
3638
  addressNote: z.ZodOptional<z.ZodString>;
3639
+ lat: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
3640
+ lon: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
3585
3641
  }, z.core.$strip>, z.ZodObject<{
3586
3642
  type: z.ZodLiteral<"warehouseAddress">;
3587
3643
  id: z.ZodString;
@@ -3635,6 +3691,8 @@ declare const GatewayResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
3635
3691
  entrance: z.ZodOptional<z.ZodString>;
3636
3692
  floor: z.ZodOptional<z.ZodString>;
3637
3693
  addressNote: z.ZodOptional<z.ZodString>;
3694
+ lat: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
3695
+ lon: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
3638
3696
  }, z.core.$strip>, z.ZodObject<{
3639
3697
  type: z.ZodLiteral<"warehouseAddress">;
3640
3698
  id: z.ZodString;
@@ -3688,6 +3746,8 @@ declare const GatewayResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
3688
3746
  entrance: z.ZodOptional<z.ZodString>;
3689
3747
  floor: z.ZodOptional<z.ZodString>;
3690
3748
  addressNote: z.ZodOptional<z.ZodString>;
3749
+ lat: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
3750
+ lon: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
3691
3751
  }, z.core.$strip>, z.ZodObject<{
3692
3752
  type: z.ZodLiteral<"warehouseAddress">;
3693
3753
  id: z.ZodString;
@@ -3741,6 +3801,8 @@ declare const GatewayResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
3741
3801
  entrance: z.ZodOptional<z.ZodString>;
3742
3802
  floor: z.ZodOptional<z.ZodString>;
3743
3803
  addressNote: z.ZodOptional<z.ZodString>;
3804
+ lat: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
3805
+ lon: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
3744
3806
  }, z.core.$strip>, z.ZodObject<{
3745
3807
  type: z.ZodLiteral<"warehouseAddress">;
3746
3808
  id: z.ZodString;
@@ -4107,6 +4169,15 @@ declare const GatewayResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
4107
4169
  lon: z.ZodNullable<z.ZodNumber>;
4108
4170
  data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
4109
4171
  }, z.core.$strip>>;
4172
+ }, z.core.$strip>, z.ZodObject<{
4173
+ ok: z.ZodBoolean;
4174
+ error: z.ZodOptional<z.ZodString>;
4175
+ type: z.ZodLiteral<"checkDeliveryZone">;
4176
+ result: z.ZodNullable<z.ZodObject<{
4177
+ name: z.ZodString;
4178
+ deliveryPrice: z.ZodNumber;
4179
+ minOrderAmount: z.ZodNullable<z.ZodNumber>;
4180
+ }, z.core.$strip>>;
4110
4181
  }, z.core.$strip>], "type">;
4111
4182
  type GatewayResponse = z.infer<typeof GatewayResponseSchema>;
4112
4183
 
@@ -4864,6 +4935,7 @@ declare const OptionsSchema: z.ZodObject<{
4864
4935
  }, z.core.$strip>>>;
4865
4936
  headStyles: z.ZodOptional<z.ZodArray<z.ZodString>>;
4866
4937
  addressSuggestEnabled: z.ZodOptional<z.ZodBoolean>;
4938
+ deliveryZonesEnabled: z.ZodOptional<z.ZodBoolean>;
4867
4939
  }, z.core.$strip>;
4868
4940
  type Options = z.infer<typeof OptionsSchema>;
4869
4941
 
@@ -4914,6 +4986,8 @@ declare const OrderDeliveryAddressSchema: z.ZodObject<{
4914
4986
  entrance: z.ZodOptional<z.ZodString>;
4915
4987
  floor: z.ZodOptional<z.ZodString>;
4916
4988
  addressNote: z.ZodOptional<z.ZodString>;
4989
+ lat: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
4990
+ lon: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
4917
4991
  }, z.core.$strip>;
4918
4992
  type OrderDeliveryAddress = z.infer<typeof OrderDeliveryAddressSchema>;
4919
4993
  declare const OrderWarehouseAddressSchema: z.ZodObject<{
@@ -4947,6 +5021,8 @@ declare const OrderSchema: z.ZodObject<{
4947
5021
  entrance: z.ZodOptional<z.ZodString>;
4948
5022
  floor: z.ZodOptional<z.ZodString>;
4949
5023
  addressNote: z.ZodOptional<z.ZodString>;
5024
+ lat: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
5025
+ lon: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
4950
5026
  }, z.core.$strip>, z.ZodObject<{
4951
5027
  type: z.ZodLiteral<"warehouseAddress">;
4952
5028
  id: z.ZodString;
@@ -4983,9 +5059,9 @@ declare const AddressSuggestionSchema: z.ZodObject<{
4983
5059
  type AddressSuggestion = z.infer<typeof AddressSuggestionSchema>;
4984
5060
 
4985
5061
  declare const PaymentMethodTypeSchema: z.ZodEnum<{
4986
- custom: "custom";
4987
5062
  cash: "cash";
4988
5063
  card: "card";
5064
+ custom: "custom";
4989
5065
  }>;
4990
5066
  type PaymentMethodType = z.infer<typeof PaymentMethodTypeSchema>;
4991
5067
  declare const PaymentMethodSchema: z.ZodObject<{
@@ -5007,9 +5083,9 @@ declare const PaymentMethodSchema: z.ZodObject<{
5007
5083
  value: z.ZodString;
5008
5084
  }, z.core.$strip>>;
5009
5085
  type: z.ZodEnum<{
5010
- custom: "custom";
5011
5086
  cash: "cash";
5012
5087
  card: "card";
5088
+ custom: "custom";
5013
5089
  }>;
5014
5090
  }, z.core.$strip>;
5015
5091
  type PaymentMethod = z.infer<typeof PaymentMethodSchema>;
@@ -5574,5 +5650,5 @@ declare const WarehouseSchema: z.ZodObject<{
5574
5650
  }, z.core.$strip>;
5575
5651
  type Warehouse = z.infer<typeof WarehouseSchema>;
5576
5652
 
5577
- export { AddressSuggestionSchema, BaseResponseSchema, ChannelSchema, CompositionIngredientSchema, CompositionProductSchema, CountryCodeSchema, CurrencyCodeSchema, DayScheduleSchema, DeliveryByCourierSchema, DeliveryMethodSchema, GatewayActionTypeSchema, GatewayAddOrderItemRequestSchema, GatewayAddOrderItemResponseSchema, GatewayCompleteOrderRequestSchema, GatewayCompleteOrderResponseSchema, GatewayCreateOrderRequestSchema, GatewayCreateOrderResponseSchema, GatewayDecrementOrderItemQuantityRequestSchema, GatewayDecrementOrderItemQuantityResponseSchema, GatewayGetChannelsRequestSchema, GatewayGetChannelsResponseSchema, GatewayGetDeliveryByCourierStatusRequestSchema, GatewayGetDeliveryByCourierStatusResponseSchema, GatewayGetMenuRequestSchema, GatewayGetMenuResponseSchema, GatewayGetOptionsRequestSchema, GatewayGetOptionsResponseSchema, GatewayGetOrderRequestSchema, GatewayGetOrderResponseSchema, GatewayGetSelfPickupStatusRequestSchema, GatewayGetSelfPickupStatusResponseSchema, GatewayGetTimeSlotsRequestSchema, GatewayGetTimeSlotsResponseSchema, GatewayIncrementOrderItemQuantityRequestSchema, GatewayIncrementOrderItemQuantityResponseSchema, GatewayRequestSchema, GatewayResponseSchema, GatewaySuggestAddressesRequestSchema, GatewaySuggestAddressesResponseSchema, GatewayUpdateOrderRequestSchema, GatewayUpdateOrderResponseSchema, HeadLinkSchema, HeadScriptSchema, HeadStyleSchema, ImageFormatSchema, ImageSchema, ImageSizeSchema, LinkSchema, LinksSchema, LocaleSchema, LocaleValueSchema, MenuCategorySchema, MenuSchema, NextOpeningSchema, NutritionFactsSchema, OpeningStatusSchema, OptionsSchema, OrderDeliveryAddressSchema, OrderItemChangeSchema, OrderItemSchema, OrderSchema, OrderStatusSchema, OrderWarehouseAddressSchema, PaymentMethodSchema, PaymentMethodTypeSchema, ProductBadgeSchema, ProductCompositionSchema, ProductSchema, ProductVariantSchema, RecommendedProductSchema, ScheduleSchema, SelfPickupSchema, TimePeriodSchema, TimeSchema, TimeTypeSchema, TimeZoneSchema, VideoSchema, VideoTypeSchema, WarehouseAddressSchema, WarehouseSchema, WeekDaySchema, WeightUnitSchema };
5578
- export type { AddressSuggestion, Channel, CompositionIngredient, CompositionProductItem, CountryCode, CurrencyCode, DaySchedule, DeliveryByCourier, DeliveryMethod, GatewayActionType, GatewayAddOrderItemRequest, GatewayAddOrderItemResponse, GatewayCompleteOrderRequest, GatewayCompleteOrderResponse, GatewayCreateOrderRequest, GatewayCreateOrderResponse, GatewayDecrementOrderItemQuantityRequest, GatewayDecrementOrderItemQuantityResponse, GatewayGetChannelsRequest, GatewayGetChannelsResponse, GatewayGetDeliveryByCourierStatusRequest, GatewayGetDeliveryByCourierStatusResponse, GatewayGetMenuRequest, GatewayGetMenuResponse, GatewayGetOptionsRequest, GatewayGetOptionsResponse, GatewayGetOrderRequest, GatewayGetOrderResponse, GatewayGetSelfPickupStatusRequest, GatewayGetSelfPickupStatusResponse, GatewayGetTimeSlotsRequest, GatewayGetTimeSlotsResponse, GatewayIncrementOrderItemQuantityRequest, GatewayIncrementOrderItemQuantityResponse, GatewayRequest, GatewayResponse, GatewaySuggestAddressesRequest, GatewaySuggestAddressesResponse, GatewayUpdateOrderRequest, GatewayUpdateOrderResponse, HeadLink, HeadScript, HeadStyle, Image, ImageFormat, ImageSize, Link, Links, Locale, LocaleValue, Menu, MenuCategory, NextOpening, NutritionFacts, OpeningStatus, Options, Order, OrderDeliveryAddress, OrderItem, OrderItemChange, OrderStatus, OrderWarehouseAddress, PaymentMethod, PaymentMethodType, Product, ProductBadge, ProductComposition, ProductVariant, RecommendedProduct, Schedule, SelfPickup, TimePeriod, TimeType, TimeZone, Video, VideoType, Warehouse, WarehouseAddress, WeekDay, WeightUnit };
5653
+ 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 };
5654
+ 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 };
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";
25
24
  cash: "cash";
26
25
  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";
102
101
  cash: "cash";
103
102
  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";
404
403
  cash: "cash";
405
404
  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";
480
479
  cash: "cash";
481
480
  card: "card";
481
+ custom: "custom";
482
482
  }>;
483
483
  }, z.core.$strip>>;
484
484
  conditions: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -987,6 +987,7 @@ declare const GatewayActionTypeSchema: z.ZodEnum<{
987
987
  getSelfPickupStatus: "getSelfPickupStatus";
988
988
  getTimeSlots: "getTimeSlots";
989
989
  suggestAddresses: "suggestAddresses";
990
+ checkDeliveryZone: "checkDeliveryZone";
990
991
  }>;
991
992
  type GatewayActionType = z.infer<typeof GatewayActionTypeSchema>;
992
993
  /**
@@ -1008,6 +1009,7 @@ declare const GatewayRequestSchema: z.ZodObject<{
1008
1009
  getSelfPickupStatus: "getSelfPickupStatus";
1009
1010
  getTimeSlots: "getTimeSlots";
1010
1011
  suggestAddresses: "suggestAddresses";
1012
+ checkDeliveryZone: "checkDeliveryZone";
1011
1013
  }>;
1012
1014
  params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1013
1015
  body: z.ZodOptional<z.ZodUnknown>;
@@ -1363,6 +1365,7 @@ declare const GatewayGetOptionsResponseSchema: z.ZodObject<{
1363
1365
  }, z.core.$strip>>>;
1364
1366
  headStyles: z.ZodOptional<z.ZodArray<z.ZodString>>;
1365
1367
  addressSuggestEnabled: z.ZodOptional<z.ZodBoolean>;
1368
+ deliveryZonesEnabled: z.ZodOptional<z.ZodBoolean>;
1366
1369
  }, z.core.$strip>;
1367
1370
  }, z.core.$strip>;
1368
1371
  type GatewayGetOptionsResponse = z.infer<typeof GatewayGetOptionsResponseSchema>;
@@ -1478,9 +1481,9 @@ declare const GatewayGetChannelsResponseSchema: z.ZodObject<{
1478
1481
  value: z.ZodString;
1479
1482
  }, z.core.$strip>>;
1480
1483
  type: z.ZodEnum<{
1481
- custom: "custom";
1482
1484
  cash: "cash";
1483
1485
  card: "card";
1486
+ custom: "custom";
1484
1487
  }>;
1485
1488
  }, z.core.$strip>>;
1486
1489
  conditions: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -1554,9 +1557,9 @@ declare const GatewayGetChannelsResponseSchema: z.ZodObject<{
1554
1557
  value: z.ZodString;
1555
1558
  }, z.core.$strip>>;
1556
1559
  type: z.ZodEnum<{
1557
- custom: "custom";
1558
1560
  cash: "cash";
1559
1561
  card: "card";
1562
+ custom: "custom";
1560
1563
  }>;
1561
1564
  }, z.core.$strip>>;
1562
1565
  conditions: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -1782,6 +1785,8 @@ declare const GatewayGetOrderResponseSchema: z.ZodObject<{
1782
1785
  entrance: z.ZodOptional<z.ZodString>;
1783
1786
  floor: z.ZodOptional<z.ZodString>;
1784
1787
  addressNote: z.ZodOptional<z.ZodString>;
1788
+ lat: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1789
+ lon: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1785
1790
  }, z.core.$strip>, z.ZodObject<{
1786
1791
  type: z.ZodLiteral<"warehouseAddress">;
1787
1792
  id: z.ZodString;
@@ -1843,6 +1848,8 @@ declare const GatewayCreateOrderResponseSchema: z.ZodObject<{
1843
1848
  entrance: z.ZodOptional<z.ZodString>;
1844
1849
  floor: z.ZodOptional<z.ZodString>;
1845
1850
  addressNote: z.ZodOptional<z.ZodString>;
1851
+ lat: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1852
+ lon: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1846
1853
  }, z.core.$strip>, z.ZodObject<{
1847
1854
  type: z.ZodLiteral<"warehouseAddress">;
1848
1855
  id: z.ZodString;
@@ -1897,6 +1904,8 @@ declare const GatewayUpdateOrderRequestSchema: z.ZodObject<{
1897
1904
  entrance: z.ZodOptional<z.ZodString>;
1898
1905
  floor: z.ZodOptional<z.ZodString>;
1899
1906
  addressNote: z.ZodOptional<z.ZodString>;
1907
+ lat: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1908
+ lon: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1900
1909
  }, z.core.$strip>, z.ZodObject<{
1901
1910
  type: z.ZodLiteral<"warehouseAddress">;
1902
1911
  id: z.ZodString;
@@ -1952,6 +1961,8 @@ declare const GatewayUpdateOrderResponseSchema: z.ZodObject<{
1952
1961
  entrance: z.ZodOptional<z.ZodString>;
1953
1962
  floor: z.ZodOptional<z.ZodString>;
1954
1963
  addressNote: z.ZodOptional<z.ZodString>;
1964
+ lat: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1965
+ lon: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1955
1966
  }, z.core.$strip>, z.ZodObject<{
1956
1967
  type: z.ZodLiteral<"warehouseAddress">;
1957
1968
  id: z.ZodString;
@@ -2006,6 +2017,8 @@ declare const GatewayCompleteOrderRequestSchema: z.ZodObject<{
2006
2017
  entrance: z.ZodOptional<z.ZodString>;
2007
2018
  floor: z.ZodOptional<z.ZodString>;
2008
2019
  addressNote: z.ZodOptional<z.ZodString>;
2020
+ lat: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2021
+ lon: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2009
2022
  }, z.core.$strip>, z.ZodObject<{
2010
2023
  type: z.ZodLiteral<"warehouseAddress">;
2011
2024
  id: z.ZodString;
@@ -2061,6 +2074,8 @@ declare const GatewayCompleteOrderResponseSchema: z.ZodObject<{
2061
2074
  entrance: z.ZodOptional<z.ZodString>;
2062
2075
  floor: z.ZodOptional<z.ZodString>;
2063
2076
  addressNote: z.ZodOptional<z.ZodString>;
2077
+ lat: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2078
+ lon: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2064
2079
  }, z.core.$strip>, z.ZodObject<{
2065
2080
  type: z.ZodLiteral<"warehouseAddress">;
2066
2081
  id: z.ZodString;
@@ -2125,6 +2140,8 @@ declare const GatewayAddOrderItemResponseSchema: z.ZodObject<{
2125
2140
  entrance: z.ZodOptional<z.ZodString>;
2126
2141
  floor: z.ZodOptional<z.ZodString>;
2127
2142
  addressNote: z.ZodOptional<z.ZodString>;
2143
+ lat: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2144
+ lon: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2128
2145
  }, z.core.$strip>, z.ZodObject<{
2129
2146
  type: z.ZodLiteral<"warehouseAddress">;
2130
2147
  id: z.ZodString;
@@ -2193,6 +2210,8 @@ declare const GatewayIncrementOrderItemQuantityResponseSchema: z.ZodObject<{
2193
2210
  entrance: z.ZodOptional<z.ZodString>;
2194
2211
  floor: z.ZodOptional<z.ZodString>;
2195
2212
  addressNote: z.ZodOptional<z.ZodString>;
2213
+ lat: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2214
+ lon: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2196
2215
  }, z.core.$strip>, z.ZodObject<{
2197
2216
  type: z.ZodLiteral<"warehouseAddress">;
2198
2217
  id: z.ZodString;
@@ -2261,6 +2280,8 @@ declare const GatewayDecrementOrderItemQuantityResponseSchema: z.ZodObject<{
2261
2280
  entrance: z.ZodOptional<z.ZodString>;
2262
2281
  floor: z.ZodOptional<z.ZodString>;
2263
2282
  addressNote: z.ZodOptional<z.ZodString>;
2283
+ lat: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2284
+ lon: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2264
2285
  }, z.core.$strip>, z.ZodObject<{
2265
2286
  type: z.ZodLiteral<"warehouseAddress">;
2266
2287
  id: z.ZodString;
@@ -2682,6 +2703,32 @@ declare const GatewaySuggestAddressesResponseSchema: z.ZodObject<{
2682
2703
  }, z.core.$strip>>;
2683
2704
  }, z.core.$strip>;
2684
2705
  type GatewaySuggestAddressesResponse = z.infer<typeof GatewaySuggestAddressesResponseSchema>;
2706
+ declare const DeliveryZoneInfoSchema: z.ZodObject<{
2707
+ name: z.ZodString;
2708
+ deliveryPrice: z.ZodNumber;
2709
+ minOrderAmount: z.ZodNullable<z.ZodNumber>;
2710
+ }, z.core.$strip>;
2711
+ type DeliveryZoneInfo = z.infer<typeof DeliveryZoneInfoSchema>;
2712
+ declare const GatewayCheckDeliveryZoneRequestSchema: z.ZodObject<{
2713
+ params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2714
+ type: z.ZodLiteral<"checkDeliveryZone">;
2715
+ body: z.ZodObject<{
2716
+ lat: z.ZodNumber;
2717
+ lon: z.ZodNumber;
2718
+ }, z.core.$strip>;
2719
+ }, z.core.$strip>;
2720
+ type GatewayCheckDeliveryZoneRequest = z.infer<typeof GatewayCheckDeliveryZoneRequestSchema>;
2721
+ declare const GatewayCheckDeliveryZoneResponseSchema: z.ZodObject<{
2722
+ ok: z.ZodBoolean;
2723
+ error: z.ZodOptional<z.ZodString>;
2724
+ type: z.ZodLiteral<"checkDeliveryZone">;
2725
+ result: z.ZodNullable<z.ZodObject<{
2726
+ name: z.ZodString;
2727
+ deliveryPrice: z.ZodNumber;
2728
+ minOrderAmount: z.ZodNullable<z.ZodNumber>;
2729
+ }, z.core.$strip>>;
2730
+ }, z.core.$strip>;
2731
+ type GatewayCheckDeliveryZoneResponse = z.infer<typeof GatewayCheckDeliveryZoneResponseSchema>;
2685
2732
  /**
2686
2733
  * Combined Gateway Response
2687
2734
  */
@@ -3022,6 +3069,7 @@ declare const GatewayResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
3022
3069
  }, z.core.$strip>>>;
3023
3070
  headStyles: z.ZodOptional<z.ZodArray<z.ZodString>>;
3024
3071
  addressSuggestEnabled: z.ZodOptional<z.ZodBoolean>;
3072
+ deliveryZonesEnabled: z.ZodOptional<z.ZodBoolean>;
3025
3073
  }, z.core.$strip>;
3026
3074
  }, z.core.$strip>, z.ZodObject<{
3027
3075
  ok: z.ZodBoolean;
@@ -3129,9 +3177,9 @@ declare const GatewayResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
3129
3177
  value: z.ZodString;
3130
3178
  }, z.core.$strip>>;
3131
3179
  type: z.ZodEnum<{
3132
- custom: "custom";
3133
3180
  cash: "cash";
3134
3181
  card: "card";
3182
+ custom: "custom";
3135
3183
  }>;
3136
3184
  }, z.core.$strip>>;
3137
3185
  conditions: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -3205,9 +3253,9 @@ declare const GatewayResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
3205
3253
  value: z.ZodString;
3206
3254
  }, z.core.$strip>>;
3207
3255
  type: z.ZodEnum<{
3208
- custom: "custom";
3209
3256
  cash: "cash";
3210
3257
  card: "card";
3258
+ custom: "custom";
3211
3259
  }>;
3212
3260
  }, z.core.$strip>>;
3213
3261
  conditions: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -3423,6 +3471,8 @@ declare const GatewayResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
3423
3471
  entrance: z.ZodOptional<z.ZodString>;
3424
3472
  floor: z.ZodOptional<z.ZodString>;
3425
3473
  addressNote: z.ZodOptional<z.ZodString>;
3474
+ lat: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
3475
+ lon: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
3426
3476
  }, z.core.$strip>, z.ZodObject<{
3427
3477
  type: z.ZodLiteral<"warehouseAddress">;
3428
3478
  id: z.ZodString;
@@ -3476,6 +3526,8 @@ declare const GatewayResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
3476
3526
  entrance: z.ZodOptional<z.ZodString>;
3477
3527
  floor: z.ZodOptional<z.ZodString>;
3478
3528
  addressNote: z.ZodOptional<z.ZodString>;
3529
+ lat: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
3530
+ lon: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
3479
3531
  }, z.core.$strip>, z.ZodObject<{
3480
3532
  type: z.ZodLiteral<"warehouseAddress">;
3481
3533
  id: z.ZodString;
@@ -3529,6 +3581,8 @@ declare const GatewayResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
3529
3581
  entrance: z.ZodOptional<z.ZodString>;
3530
3582
  floor: z.ZodOptional<z.ZodString>;
3531
3583
  addressNote: z.ZodOptional<z.ZodString>;
3584
+ lat: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
3585
+ lon: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
3532
3586
  }, z.core.$strip>, z.ZodObject<{
3533
3587
  type: z.ZodLiteral<"warehouseAddress">;
3534
3588
  id: z.ZodString;
@@ -3582,6 +3636,8 @@ declare const GatewayResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
3582
3636
  entrance: z.ZodOptional<z.ZodString>;
3583
3637
  floor: z.ZodOptional<z.ZodString>;
3584
3638
  addressNote: z.ZodOptional<z.ZodString>;
3639
+ lat: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
3640
+ lon: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
3585
3641
  }, z.core.$strip>, z.ZodObject<{
3586
3642
  type: z.ZodLiteral<"warehouseAddress">;
3587
3643
  id: z.ZodString;
@@ -3635,6 +3691,8 @@ declare const GatewayResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
3635
3691
  entrance: z.ZodOptional<z.ZodString>;
3636
3692
  floor: z.ZodOptional<z.ZodString>;
3637
3693
  addressNote: z.ZodOptional<z.ZodString>;
3694
+ lat: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
3695
+ lon: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
3638
3696
  }, z.core.$strip>, z.ZodObject<{
3639
3697
  type: z.ZodLiteral<"warehouseAddress">;
3640
3698
  id: z.ZodString;
@@ -3688,6 +3746,8 @@ declare const GatewayResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
3688
3746
  entrance: z.ZodOptional<z.ZodString>;
3689
3747
  floor: z.ZodOptional<z.ZodString>;
3690
3748
  addressNote: z.ZodOptional<z.ZodString>;
3749
+ lat: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
3750
+ lon: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
3691
3751
  }, z.core.$strip>, z.ZodObject<{
3692
3752
  type: z.ZodLiteral<"warehouseAddress">;
3693
3753
  id: z.ZodString;
@@ -3741,6 +3801,8 @@ declare const GatewayResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
3741
3801
  entrance: z.ZodOptional<z.ZodString>;
3742
3802
  floor: z.ZodOptional<z.ZodString>;
3743
3803
  addressNote: z.ZodOptional<z.ZodString>;
3804
+ lat: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
3805
+ lon: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
3744
3806
  }, z.core.$strip>, z.ZodObject<{
3745
3807
  type: z.ZodLiteral<"warehouseAddress">;
3746
3808
  id: z.ZodString;
@@ -4107,6 +4169,15 @@ declare const GatewayResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
4107
4169
  lon: z.ZodNullable<z.ZodNumber>;
4108
4170
  data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
4109
4171
  }, z.core.$strip>>;
4172
+ }, z.core.$strip>, z.ZodObject<{
4173
+ ok: z.ZodBoolean;
4174
+ error: z.ZodOptional<z.ZodString>;
4175
+ type: z.ZodLiteral<"checkDeliveryZone">;
4176
+ result: z.ZodNullable<z.ZodObject<{
4177
+ name: z.ZodString;
4178
+ deliveryPrice: z.ZodNumber;
4179
+ minOrderAmount: z.ZodNullable<z.ZodNumber>;
4180
+ }, z.core.$strip>>;
4110
4181
  }, z.core.$strip>], "type">;
4111
4182
  type GatewayResponse = z.infer<typeof GatewayResponseSchema>;
4112
4183
 
@@ -4864,6 +4935,7 @@ declare const OptionsSchema: z.ZodObject<{
4864
4935
  }, z.core.$strip>>>;
4865
4936
  headStyles: z.ZodOptional<z.ZodArray<z.ZodString>>;
4866
4937
  addressSuggestEnabled: z.ZodOptional<z.ZodBoolean>;
4938
+ deliveryZonesEnabled: z.ZodOptional<z.ZodBoolean>;
4867
4939
  }, z.core.$strip>;
4868
4940
  type Options = z.infer<typeof OptionsSchema>;
4869
4941
 
@@ -4914,6 +4986,8 @@ declare const OrderDeliveryAddressSchema: z.ZodObject<{
4914
4986
  entrance: z.ZodOptional<z.ZodString>;
4915
4987
  floor: z.ZodOptional<z.ZodString>;
4916
4988
  addressNote: z.ZodOptional<z.ZodString>;
4989
+ lat: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
4990
+ lon: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
4917
4991
  }, z.core.$strip>;
4918
4992
  type OrderDeliveryAddress = z.infer<typeof OrderDeliveryAddressSchema>;
4919
4993
  declare const OrderWarehouseAddressSchema: z.ZodObject<{
@@ -4947,6 +5021,8 @@ declare const OrderSchema: z.ZodObject<{
4947
5021
  entrance: z.ZodOptional<z.ZodString>;
4948
5022
  floor: z.ZodOptional<z.ZodString>;
4949
5023
  addressNote: z.ZodOptional<z.ZodString>;
5024
+ lat: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
5025
+ lon: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
4950
5026
  }, z.core.$strip>, z.ZodObject<{
4951
5027
  type: z.ZodLiteral<"warehouseAddress">;
4952
5028
  id: z.ZodString;
@@ -4983,9 +5059,9 @@ declare const AddressSuggestionSchema: z.ZodObject<{
4983
5059
  type AddressSuggestion = z.infer<typeof AddressSuggestionSchema>;
4984
5060
 
4985
5061
  declare const PaymentMethodTypeSchema: z.ZodEnum<{
4986
- custom: "custom";
4987
5062
  cash: "cash";
4988
5063
  card: "card";
5064
+ custom: "custom";
4989
5065
  }>;
4990
5066
  type PaymentMethodType = z.infer<typeof PaymentMethodTypeSchema>;
4991
5067
  declare const PaymentMethodSchema: z.ZodObject<{
@@ -5007,9 +5083,9 @@ declare const PaymentMethodSchema: z.ZodObject<{
5007
5083
  value: z.ZodString;
5008
5084
  }, z.core.$strip>>;
5009
5085
  type: z.ZodEnum<{
5010
- custom: "custom";
5011
5086
  cash: "cash";
5012
5087
  card: "card";
5088
+ custom: "custom";
5013
5089
  }>;
5014
5090
  }, z.core.$strip>;
5015
5091
  type PaymentMethod = z.infer<typeof PaymentMethodSchema>;
@@ -5574,5 +5650,5 @@ declare const WarehouseSchema: z.ZodObject<{
5574
5650
  }, z.core.$strip>;
5575
5651
  type Warehouse = z.infer<typeof WarehouseSchema>;
5576
5652
 
5577
- export { AddressSuggestionSchema, BaseResponseSchema, ChannelSchema, CompositionIngredientSchema, CompositionProductSchema, CountryCodeSchema, CurrencyCodeSchema, DayScheduleSchema, DeliveryByCourierSchema, DeliveryMethodSchema, GatewayActionTypeSchema, GatewayAddOrderItemRequestSchema, GatewayAddOrderItemResponseSchema, GatewayCompleteOrderRequestSchema, GatewayCompleteOrderResponseSchema, GatewayCreateOrderRequestSchema, GatewayCreateOrderResponseSchema, GatewayDecrementOrderItemQuantityRequestSchema, GatewayDecrementOrderItemQuantityResponseSchema, GatewayGetChannelsRequestSchema, GatewayGetChannelsResponseSchema, GatewayGetDeliveryByCourierStatusRequestSchema, GatewayGetDeliveryByCourierStatusResponseSchema, GatewayGetMenuRequestSchema, GatewayGetMenuResponseSchema, GatewayGetOptionsRequestSchema, GatewayGetOptionsResponseSchema, GatewayGetOrderRequestSchema, GatewayGetOrderResponseSchema, GatewayGetSelfPickupStatusRequestSchema, GatewayGetSelfPickupStatusResponseSchema, GatewayGetTimeSlotsRequestSchema, GatewayGetTimeSlotsResponseSchema, GatewayIncrementOrderItemQuantityRequestSchema, GatewayIncrementOrderItemQuantityResponseSchema, GatewayRequestSchema, GatewayResponseSchema, GatewaySuggestAddressesRequestSchema, GatewaySuggestAddressesResponseSchema, GatewayUpdateOrderRequestSchema, GatewayUpdateOrderResponseSchema, HeadLinkSchema, HeadScriptSchema, HeadStyleSchema, ImageFormatSchema, ImageSchema, ImageSizeSchema, LinkSchema, LinksSchema, LocaleSchema, LocaleValueSchema, MenuCategorySchema, MenuSchema, NextOpeningSchema, NutritionFactsSchema, OpeningStatusSchema, OptionsSchema, OrderDeliveryAddressSchema, OrderItemChangeSchema, OrderItemSchema, OrderSchema, OrderStatusSchema, OrderWarehouseAddressSchema, PaymentMethodSchema, PaymentMethodTypeSchema, ProductBadgeSchema, ProductCompositionSchema, ProductSchema, ProductVariantSchema, RecommendedProductSchema, ScheduleSchema, SelfPickupSchema, TimePeriodSchema, TimeSchema, TimeTypeSchema, TimeZoneSchema, VideoSchema, VideoTypeSchema, WarehouseAddressSchema, WarehouseSchema, WeekDaySchema, WeightUnitSchema };
5578
- export type { AddressSuggestion, Channel, CompositionIngredient, CompositionProductItem, CountryCode, CurrencyCode, DaySchedule, DeliveryByCourier, DeliveryMethod, GatewayActionType, GatewayAddOrderItemRequest, GatewayAddOrderItemResponse, GatewayCompleteOrderRequest, GatewayCompleteOrderResponse, GatewayCreateOrderRequest, GatewayCreateOrderResponse, GatewayDecrementOrderItemQuantityRequest, GatewayDecrementOrderItemQuantityResponse, GatewayGetChannelsRequest, GatewayGetChannelsResponse, GatewayGetDeliveryByCourierStatusRequest, GatewayGetDeliveryByCourierStatusResponse, GatewayGetMenuRequest, GatewayGetMenuResponse, GatewayGetOptionsRequest, GatewayGetOptionsResponse, GatewayGetOrderRequest, GatewayGetOrderResponse, GatewayGetSelfPickupStatusRequest, GatewayGetSelfPickupStatusResponse, GatewayGetTimeSlotsRequest, GatewayGetTimeSlotsResponse, GatewayIncrementOrderItemQuantityRequest, GatewayIncrementOrderItemQuantityResponse, GatewayRequest, GatewayResponse, GatewaySuggestAddressesRequest, GatewaySuggestAddressesResponse, GatewayUpdateOrderRequest, GatewayUpdateOrderResponse, HeadLink, HeadScript, HeadStyle, Image, ImageFormat, ImageSize, Link, Links, Locale, LocaleValue, Menu, MenuCategory, NextOpening, NutritionFacts, OpeningStatus, Options, Order, OrderDeliveryAddress, OrderItem, OrderItemChange, OrderStatus, OrderWarehouseAddress, PaymentMethod, PaymentMethodType, Product, ProductBadge, ProductComposition, ProductVariant, RecommendedProduct, Schedule, SelfPickup, TimePeriod, TimeType, TimeZone, Video, VideoType, Warehouse, WarehouseAddress, WeekDay, WeightUnit };
5653
+ 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 };
5654
+ 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 };
package/dist/index.mjs CHANGED
@@ -493,7 +493,8 @@ 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()
497
498
  });
498
499
 
499
500
  const DeliveryMethodSchema = z.enum([
@@ -527,7 +528,9 @@ const OrderDeliveryAddressSchema = z.object({
527
528
  intercom: z.string().optional(),
528
529
  entrance: z.string().optional(),
529
530
  floor: z.string().optional(),
530
- addressNote: z.string().optional()
531
+ addressNote: z.string().optional(),
532
+ lat: z.number().nullable().optional(),
533
+ lon: z.number().nullable().optional()
531
534
  });
532
535
  const OrderWarehouseAddressSchema = z.object({
533
536
  type: z.literal("warehouseAddress"),
@@ -580,7 +583,8 @@ const GatewayActionTypeSchema = z.enum([
580
583
  "getDeliveryByCourierStatus",
581
584
  "getSelfPickupStatus",
582
585
  "getTimeSlots",
583
- "suggestAddresses"
586
+ "suggestAddresses",
587
+ "checkDeliveryZone"
584
588
  ]);
585
589
  const GatewayRequestSchema = z.object({
586
590
  type: GatewayActionTypeSchema,
@@ -714,6 +718,22 @@ const GatewaySuggestAddressesResponseSchema = BaseResponseSchema.extend({
714
718
  type: z.literal("suggestAddresses"),
715
719
  result: z.array(AddressSuggestionSchema)
716
720
  });
721
+ const DeliveryZoneInfoSchema = z.object({
722
+ name: z.string(),
723
+ deliveryPrice: z.number(),
724
+ minOrderAmount: z.number().nullable()
725
+ });
726
+ const GatewayCheckDeliveryZoneRequestSchema = GatewayRequestSchema.extend({
727
+ type: z.literal("checkDeliveryZone"),
728
+ body: z.object({
729
+ lat: z.number(),
730
+ lon: z.number()
731
+ })
732
+ });
733
+ const GatewayCheckDeliveryZoneResponseSchema = BaseResponseSchema.extend({
734
+ type: z.literal("checkDeliveryZone"),
735
+ result: DeliveryZoneInfoSchema.nullable()
736
+ });
717
737
  const GatewayResponseSchema = z.discriminatedUnion("type", [
718
738
  GatewayGetOptionsResponseSchema,
719
739
  GatewayGetChannelsResponseSchema,
@@ -728,7 +748,8 @@ const GatewayResponseSchema = z.discriminatedUnion("type", [
728
748
  GatewayGetDeliveryByCourierStatusResponseSchema,
729
749
  GatewayGetSelfPickupStatusResponseSchema,
730
750
  GatewayGetTimeSlotsResponseSchema,
731
- GatewaySuggestAddressesResponseSchema
751
+ GatewaySuggestAddressesResponseSchema,
752
+ GatewayCheckDeliveryZoneResponseSchema
732
753
  ]);
733
754
 
734
- export { AddressSuggestionSchema, BaseResponseSchema, ChannelSchema, CompositionIngredientSchema, CompositionProductSchema, CountryCodeSchema, CurrencyCodeSchema, DayScheduleSchema, DeliveryByCourierSchema, DeliveryMethodSchema, GatewayActionTypeSchema, GatewayAddOrderItemRequestSchema, GatewayAddOrderItemResponseSchema, GatewayCompleteOrderRequestSchema, GatewayCompleteOrderResponseSchema, GatewayCreateOrderRequestSchema, GatewayCreateOrderResponseSchema, GatewayDecrementOrderItemQuantityRequestSchema, GatewayDecrementOrderItemQuantityResponseSchema, GatewayGetChannelsRequestSchema, GatewayGetChannelsResponseSchema, GatewayGetDeliveryByCourierStatusRequestSchema, GatewayGetDeliveryByCourierStatusResponseSchema, GatewayGetMenuRequestSchema, GatewayGetMenuResponseSchema, GatewayGetOptionsRequestSchema, GatewayGetOptionsResponseSchema, GatewayGetOrderRequestSchema, GatewayGetOrderResponseSchema, GatewayGetSelfPickupStatusRequestSchema, GatewayGetSelfPickupStatusResponseSchema, GatewayGetTimeSlotsRequestSchema, GatewayGetTimeSlotsResponseSchema, GatewayIncrementOrderItemQuantityRequestSchema, GatewayIncrementOrderItemQuantityResponseSchema, GatewayRequestSchema, GatewayResponseSchema, GatewaySuggestAddressesRequestSchema, GatewaySuggestAddressesResponseSchema, GatewayUpdateOrderRequestSchema, GatewayUpdateOrderResponseSchema, HeadLinkSchema, HeadScriptSchema, HeadStyleSchema, ImageFormatSchema, ImageSchema, ImageSizeSchema, LinkSchema, LinksSchema, LocaleSchema, LocaleValueSchema, MenuCategorySchema, MenuSchema, NextOpeningSchema, NutritionFactsSchema, OpeningStatusSchema, OptionsSchema, OrderDeliveryAddressSchema, OrderItemChangeSchema, OrderItemSchema, OrderSchema, OrderStatusSchema, OrderWarehouseAddressSchema, PaymentMethodSchema, PaymentMethodTypeSchema, ProductBadgeSchema, ProductCompositionSchema, ProductSchema, ProductVariantSchema, RecommendedProductSchema, ScheduleSchema, SelfPickupSchema, TimePeriodSchema, TimeSchema, TimeTypeSchema, TimeZoneSchema, VideoSchema, VideoTypeSchema, WarehouseAddressSchema, WarehouseSchema, WeekDaySchema, WeightUnitSchema };
755
+ 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 };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@nextorders/food-schema",
3
3
  "type": "module",
4
- "version": "0.3.1",
4
+ "version": "0.3.3",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },