@nextorders/food-schema 0.2.2 → 0.2.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
@@ -86,9 +86,9 @@ declare const ChannelSchema: z.ZodObject<{
86
86
  value: z.ZodString;
87
87
  }, z.core.$strip>>;
88
88
  type: z.ZodEnum<{
89
- custom: "custom";
90
89
  cash: "cash";
91
90
  card: "card";
91
+ custom: "custom";
92
92
  }>;
93
93
  }, z.core.$strip>>;
94
94
  conditions: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -150,9 +150,9 @@ declare const ChannelSchema: z.ZodObject<{
150
150
  value: z.ZodString;
151
151
  }, z.core.$strip>>;
152
152
  type: z.ZodEnum<{
153
- custom: "custom";
154
153
  cash: "cash";
155
154
  card: "card";
155
+ custom: "custom";
156
156
  }>;
157
157
  }, z.core.$strip>>;
158
158
  conditions: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -1058,9 +1058,9 @@ declare const GatewayGetChannelsResponseSchema: z.ZodObject<{
1058
1058
  value: z.ZodString;
1059
1059
  }, z.core.$strip>>;
1060
1060
  type: z.ZodEnum<{
1061
- custom: "custom";
1062
1061
  cash: "cash";
1063
1062
  card: "card";
1063
+ custom: "custom";
1064
1064
  }>;
1065
1065
  }, z.core.$strip>>;
1066
1066
  conditions: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -1122,9 +1122,9 @@ declare const GatewayGetChannelsResponseSchema: z.ZodObject<{
1122
1122
  value: z.ZodString;
1123
1123
  }, z.core.$strip>>;
1124
1124
  type: z.ZodEnum<{
1125
- custom: "custom";
1126
1125
  cash: "cash";
1127
1126
  card: "card";
1127
+ custom: "custom";
1128
1128
  }>;
1129
1129
  }, z.core.$strip>>;
1130
1130
  conditions: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -1815,6 +1815,7 @@ declare const GatewayGetMenuResponseSchema: z.ZodObject<{
1815
1815
  }>;
1816
1816
  weightValue: z.ZodNumber;
1817
1817
  price: z.ZodNumber;
1818
+ originalPrice: z.ZodOptional<z.ZodNumber>;
1818
1819
  sku: z.ZodNullable<z.ZodString>;
1819
1820
  nutritionFacts: z.ZodNullable<z.ZodObject<{
1820
1821
  calories: z.ZodNumber;
@@ -2454,9 +2455,9 @@ declare const GatewayResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
2454
2455
  value: z.ZodString;
2455
2456
  }, z.core.$strip>>;
2456
2457
  type: z.ZodEnum<{
2457
- custom: "custom";
2458
2458
  cash: "cash";
2459
2459
  card: "card";
2460
+ custom: "custom";
2460
2461
  }>;
2461
2462
  }, z.core.$strip>>;
2462
2463
  conditions: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -2518,9 +2519,9 @@ declare const GatewayResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
2518
2519
  value: z.ZodString;
2519
2520
  }, z.core.$strip>>;
2520
2521
  type: z.ZodEnum<{
2521
- custom: "custom";
2522
2522
  cash: "cash";
2523
2523
  card: "card";
2524
+ custom: "custom";
2524
2525
  }>;
2525
2526
  }, z.core.$strip>>;
2526
2527
  conditions: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -3088,6 +3089,7 @@ declare const GatewayResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
3088
3089
  }>;
3089
3090
  weightValue: z.ZodNumber;
3090
3091
  price: z.ZodNumber;
3092
+ originalPrice: z.ZodOptional<z.ZodNumber>;
3091
3093
  sku: z.ZodNullable<z.ZodString>;
3092
3094
  nutritionFacts: z.ZodNullable<z.ZodObject<{
3093
3095
  calories: z.ZodNumber;
@@ -3410,6 +3412,7 @@ declare const MenuCategorySchema: z.ZodObject<{
3410
3412
  }>;
3411
3413
  weightValue: z.ZodNumber;
3412
3414
  price: z.ZodNumber;
3415
+ originalPrice: z.ZodOptional<z.ZodNumber>;
3413
3416
  sku: z.ZodNullable<z.ZodString>;
3414
3417
  nutritionFacts: z.ZodNullable<z.ZodObject<{
3415
3418
  calories: z.ZodNumber;
@@ -3569,6 +3572,7 @@ declare const MenuSchema: z.ZodObject<{
3569
3572
  }>;
3570
3573
  weightValue: z.ZodNumber;
3571
3574
  price: z.ZodNumber;
3575
+ originalPrice: z.ZodOptional<z.ZodNumber>;
3572
3576
  sku: z.ZodNullable<z.ZodString>;
3573
3577
  nutritionFacts: z.ZodNullable<z.ZodObject<{
3574
3578
  calories: z.ZodNumber;
@@ -4047,9 +4051,9 @@ declare const OrderSchema: z.ZodObject<{
4047
4051
  type Order = z.infer<typeof OrderSchema>;
4048
4052
 
4049
4053
  declare const PaymentMethodTypeSchema: z.ZodEnum<{
4050
- custom: "custom";
4051
4054
  cash: "cash";
4052
4055
  card: "card";
4056
+ custom: "custom";
4053
4057
  }>;
4054
4058
  type PaymentMethodType = z.infer<typeof PaymentMethodTypeSchema>;
4055
4059
  declare const PaymentMethodSchema: z.ZodObject<{
@@ -4067,9 +4071,9 @@ declare const PaymentMethodSchema: z.ZodObject<{
4067
4071
  value: z.ZodString;
4068
4072
  }, z.core.$strip>>;
4069
4073
  type: z.ZodEnum<{
4070
- custom: "custom";
4071
4074
  cash: "cash";
4072
4075
  card: "card";
4076
+ custom: "custom";
4073
4077
  }>;
4074
4078
  }, z.core.$strip>;
4075
4079
  type PaymentMethod = z.infer<typeof PaymentMethodSchema>;
@@ -4143,6 +4147,7 @@ declare const ProductVariantSchema: z.ZodObject<{
4143
4147
  }>;
4144
4148
  weightValue: z.ZodNumber;
4145
4149
  price: z.ZodNumber;
4150
+ originalPrice: z.ZodOptional<z.ZodNumber>;
4146
4151
  sku: z.ZodNullable<z.ZodString>;
4147
4152
  nutritionFacts: z.ZodNullable<z.ZodObject<{
4148
4153
  calories: z.ZodNumber;
@@ -4172,6 +4177,7 @@ declare const CompositionIngredientSchema: z.ZodObject<{
4172
4177
  value: z.ZodString;
4173
4178
  }, z.core.$strip>>;
4174
4179
  }, z.core.$strip>;
4180
+ type CompositionIngredient = z.infer<typeof CompositionIngredientSchema>;
4175
4181
  declare const CompositionProductSchema: z.ZodObject<{
4176
4182
  id: z.ZodString;
4177
4183
  productId: z.ZodString;
@@ -4275,6 +4281,7 @@ declare const ProductSchema: z.ZodObject<{
4275
4281
  }>;
4276
4282
  weightValue: z.ZodNumber;
4277
4283
  price: z.ZodNumber;
4284
+ originalPrice: z.ZodOptional<z.ZodNumber>;
4278
4285
  sku: z.ZodNullable<z.ZodString>;
4279
4286
  nutritionFacts: z.ZodNullable<z.ZodObject<{
4280
4287
  calories: z.ZodNumber;
@@ -4568,4 +4575,4 @@ declare const WarehouseSchema: z.ZodObject<{
4568
4575
  type Warehouse = z.infer<typeof WarehouseSchema>;
4569
4576
 
4570
4577
  export { BaseResponseSchema, ChannelSchema, CompositionIngredientSchema, CompositionProductSchema, CountryCodeSchema, CurrencyCodeSchema, DeliveryMethodSchema, GatewayActionTypeSchema, GatewayAddOrderItemRequestSchema, GatewayAddOrderItemResponseSchema, GatewayCreateOrderRequestSchema, GatewayCreateOrderResponseSchema, GatewayDecrementOrderItemQuantityRequestSchema, GatewayDecrementOrderItemQuantityResponseSchema, GatewayGetChannelsRequestSchema, GatewayGetChannelsResponseSchema, GatewayGetDeliveryByCourierStatusRequestSchema, GatewayGetDeliveryByCourierStatusResponseSchema, GatewayGetMenuRequestSchema, GatewayGetMenuResponseSchema, GatewayGetOptionsRequestSchema, GatewayGetOptionsResponseSchema, GatewayGetOrderRequestSchema, GatewayGetOrderResponseSchema, GatewayGetSelfPickupStatusRequestSchema, GatewayGetSelfPickupStatusResponseSchema, GatewayGetTimeSlotsRequestSchema, GatewayGetTimeSlotsResponseSchema, GatewayIncrementOrderItemQuantityRequestSchema, GatewayIncrementOrderItemQuantityResponseSchema, GatewayRequestSchema, GatewayResponseSchema, GatewayUpdateOrderRequestSchema, GatewayUpdateOrderResponseSchema, ImageFormatSchema, ImageSchema, ImageSizeSchema, LocaleSchema, LocaleValueSchema, MenuCategorySchema, MenuSchema, NutritionFactsSchema, OpeningStatusSchema, OptionsSchema, OrderDeliveryAddressSchema, OrderItemChangeSchema, OrderItemSchema, OrderSchema, OrderStatusSchema, OrderWarehouseAddressSchema, PaymentMethodSchema, PaymentMethodTypeSchema, ProductBadgeSchema, ProductCompositionSchema, ProductSchema, ProductVariantSchema, RecommendedProductSchema, ScheduleSchema, TimePeriodSchema, TimeSchema, TimeTypeSchema, TimeZoneSchema, VideoSchema, VideoTypeSchema, WarehouseAddressSchema, WarehouseSchema, WeekDaySchema, WeightUnitSchema };
4571
- export type { Channel, CompositionProductItem, CountryCode, CurrencyCode, DaySchedule, DeliveryMethod, GatewayActionType, GatewayAddOrderItemRequest, GatewayAddOrderItemResponse, GatewayCreateOrderRequest, GatewayCreateOrderResponse, GatewayDecrementOrderItemQuantityRequest, GatewayDecrementOrderItemQuantityResponse, GatewayGetChannelsRequest, GatewayGetChannelsResponse, GatewayGetDeliveryByCourierStatusRequest, GatewayGetDeliveryByCourierStatusResponse, GatewayGetMenuRequest, GatewayGetMenuResponse, GatewayGetOptionsRequest, GatewayGetOptionsResponse, GatewayGetOrderRequest, GatewayGetOrderResponse, GatewayGetSelfPickupStatusRequest, GatewayGetSelfPickupStatusResponse, GatewayGetTimeSlotsRequest, GatewayGetTimeSlotsResponse, GatewayIncrementOrderItemQuantityRequest, GatewayIncrementOrderItemQuantityResponse, GatewayRequest, GatewayResponse, GatewayUpdateOrderRequest, GatewayUpdateOrderResponse, Image, ImageFormat, ImageSize, Locale, LocaleValue, Menu, MenuCategory, NextOpening, NutritionFacts, OpeningStatus, Options, Order, OrderDeliveryAddress, OrderItem, OrderItemChange, OrderStatus, OrderWarehouseAddress, PaymentMethod, PaymentMethodType, Product, ProductBadge, ProductComposition, ProductVariant, RecommendedProduct, Schedule, TimePeriod, TimeType, TimeZone, Video, VideoType, Warehouse, WarehouseAddress, WeekDay, WeightUnit };
4578
+ export type { Channel, CompositionIngredient, CompositionProductItem, CountryCode, CurrencyCode, DaySchedule, DeliveryMethod, GatewayActionType, GatewayAddOrderItemRequest, GatewayAddOrderItemResponse, GatewayCreateOrderRequest, GatewayCreateOrderResponse, GatewayDecrementOrderItemQuantityRequest, GatewayDecrementOrderItemQuantityResponse, GatewayGetChannelsRequest, GatewayGetChannelsResponse, GatewayGetDeliveryByCourierStatusRequest, GatewayGetDeliveryByCourierStatusResponse, GatewayGetMenuRequest, GatewayGetMenuResponse, GatewayGetOptionsRequest, GatewayGetOptionsResponse, GatewayGetOrderRequest, GatewayGetOrderResponse, GatewayGetSelfPickupStatusRequest, GatewayGetSelfPickupStatusResponse, GatewayGetTimeSlotsRequest, GatewayGetTimeSlotsResponse, GatewayIncrementOrderItemQuantityRequest, GatewayIncrementOrderItemQuantityResponse, GatewayRequest, GatewayResponse, GatewayUpdateOrderRequest, GatewayUpdateOrderResponse, Image, ImageFormat, ImageSize, Locale, LocaleValue, Menu, MenuCategory, NextOpening, NutritionFacts, OpeningStatus, Options, Order, OrderDeliveryAddress, OrderItem, OrderItemChange, OrderStatus, OrderWarehouseAddress, PaymentMethod, PaymentMethodType, Product, ProductBadge, ProductComposition, ProductVariant, RecommendedProduct, Schedule, TimePeriod, TimeType, TimeZone, Video, VideoType, Warehouse, WarehouseAddress, WeekDay, WeightUnit };
package/dist/index.d.ts CHANGED
@@ -86,9 +86,9 @@ declare const ChannelSchema: z.ZodObject<{
86
86
  value: z.ZodString;
87
87
  }, z.core.$strip>>;
88
88
  type: z.ZodEnum<{
89
- custom: "custom";
90
89
  cash: "cash";
91
90
  card: "card";
91
+ custom: "custom";
92
92
  }>;
93
93
  }, z.core.$strip>>;
94
94
  conditions: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -150,9 +150,9 @@ declare const ChannelSchema: z.ZodObject<{
150
150
  value: z.ZodString;
151
151
  }, z.core.$strip>>;
152
152
  type: z.ZodEnum<{
153
- custom: "custom";
154
153
  cash: "cash";
155
154
  card: "card";
155
+ custom: "custom";
156
156
  }>;
157
157
  }, z.core.$strip>>;
158
158
  conditions: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -1058,9 +1058,9 @@ declare const GatewayGetChannelsResponseSchema: z.ZodObject<{
1058
1058
  value: z.ZodString;
1059
1059
  }, z.core.$strip>>;
1060
1060
  type: z.ZodEnum<{
1061
- custom: "custom";
1062
1061
  cash: "cash";
1063
1062
  card: "card";
1063
+ custom: "custom";
1064
1064
  }>;
1065
1065
  }, z.core.$strip>>;
1066
1066
  conditions: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -1122,9 +1122,9 @@ declare const GatewayGetChannelsResponseSchema: z.ZodObject<{
1122
1122
  value: z.ZodString;
1123
1123
  }, z.core.$strip>>;
1124
1124
  type: z.ZodEnum<{
1125
- custom: "custom";
1126
1125
  cash: "cash";
1127
1126
  card: "card";
1127
+ custom: "custom";
1128
1128
  }>;
1129
1129
  }, z.core.$strip>>;
1130
1130
  conditions: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -1815,6 +1815,7 @@ declare const GatewayGetMenuResponseSchema: z.ZodObject<{
1815
1815
  }>;
1816
1816
  weightValue: z.ZodNumber;
1817
1817
  price: z.ZodNumber;
1818
+ originalPrice: z.ZodOptional<z.ZodNumber>;
1818
1819
  sku: z.ZodNullable<z.ZodString>;
1819
1820
  nutritionFacts: z.ZodNullable<z.ZodObject<{
1820
1821
  calories: z.ZodNumber;
@@ -2454,9 +2455,9 @@ declare const GatewayResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
2454
2455
  value: z.ZodString;
2455
2456
  }, z.core.$strip>>;
2456
2457
  type: z.ZodEnum<{
2457
- custom: "custom";
2458
2458
  cash: "cash";
2459
2459
  card: "card";
2460
+ custom: "custom";
2460
2461
  }>;
2461
2462
  }, z.core.$strip>>;
2462
2463
  conditions: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -2518,9 +2519,9 @@ declare const GatewayResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
2518
2519
  value: z.ZodString;
2519
2520
  }, z.core.$strip>>;
2520
2521
  type: z.ZodEnum<{
2521
- custom: "custom";
2522
2522
  cash: "cash";
2523
2523
  card: "card";
2524
+ custom: "custom";
2524
2525
  }>;
2525
2526
  }, z.core.$strip>>;
2526
2527
  conditions: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -3088,6 +3089,7 @@ declare const GatewayResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
3088
3089
  }>;
3089
3090
  weightValue: z.ZodNumber;
3090
3091
  price: z.ZodNumber;
3092
+ originalPrice: z.ZodOptional<z.ZodNumber>;
3091
3093
  sku: z.ZodNullable<z.ZodString>;
3092
3094
  nutritionFacts: z.ZodNullable<z.ZodObject<{
3093
3095
  calories: z.ZodNumber;
@@ -3410,6 +3412,7 @@ declare const MenuCategorySchema: z.ZodObject<{
3410
3412
  }>;
3411
3413
  weightValue: z.ZodNumber;
3412
3414
  price: z.ZodNumber;
3415
+ originalPrice: z.ZodOptional<z.ZodNumber>;
3413
3416
  sku: z.ZodNullable<z.ZodString>;
3414
3417
  nutritionFacts: z.ZodNullable<z.ZodObject<{
3415
3418
  calories: z.ZodNumber;
@@ -3569,6 +3572,7 @@ declare const MenuSchema: z.ZodObject<{
3569
3572
  }>;
3570
3573
  weightValue: z.ZodNumber;
3571
3574
  price: z.ZodNumber;
3575
+ originalPrice: z.ZodOptional<z.ZodNumber>;
3572
3576
  sku: z.ZodNullable<z.ZodString>;
3573
3577
  nutritionFacts: z.ZodNullable<z.ZodObject<{
3574
3578
  calories: z.ZodNumber;
@@ -4047,9 +4051,9 @@ declare const OrderSchema: z.ZodObject<{
4047
4051
  type Order = z.infer<typeof OrderSchema>;
4048
4052
 
4049
4053
  declare const PaymentMethodTypeSchema: z.ZodEnum<{
4050
- custom: "custom";
4051
4054
  cash: "cash";
4052
4055
  card: "card";
4056
+ custom: "custom";
4053
4057
  }>;
4054
4058
  type PaymentMethodType = z.infer<typeof PaymentMethodTypeSchema>;
4055
4059
  declare const PaymentMethodSchema: z.ZodObject<{
@@ -4067,9 +4071,9 @@ declare const PaymentMethodSchema: z.ZodObject<{
4067
4071
  value: z.ZodString;
4068
4072
  }, z.core.$strip>>;
4069
4073
  type: z.ZodEnum<{
4070
- custom: "custom";
4071
4074
  cash: "cash";
4072
4075
  card: "card";
4076
+ custom: "custom";
4073
4077
  }>;
4074
4078
  }, z.core.$strip>;
4075
4079
  type PaymentMethod = z.infer<typeof PaymentMethodSchema>;
@@ -4143,6 +4147,7 @@ declare const ProductVariantSchema: z.ZodObject<{
4143
4147
  }>;
4144
4148
  weightValue: z.ZodNumber;
4145
4149
  price: z.ZodNumber;
4150
+ originalPrice: z.ZodOptional<z.ZodNumber>;
4146
4151
  sku: z.ZodNullable<z.ZodString>;
4147
4152
  nutritionFacts: z.ZodNullable<z.ZodObject<{
4148
4153
  calories: z.ZodNumber;
@@ -4172,6 +4177,7 @@ declare const CompositionIngredientSchema: z.ZodObject<{
4172
4177
  value: z.ZodString;
4173
4178
  }, z.core.$strip>>;
4174
4179
  }, z.core.$strip>;
4180
+ type CompositionIngredient = z.infer<typeof CompositionIngredientSchema>;
4175
4181
  declare const CompositionProductSchema: z.ZodObject<{
4176
4182
  id: z.ZodString;
4177
4183
  productId: z.ZodString;
@@ -4275,6 +4281,7 @@ declare const ProductSchema: z.ZodObject<{
4275
4281
  }>;
4276
4282
  weightValue: z.ZodNumber;
4277
4283
  price: z.ZodNumber;
4284
+ originalPrice: z.ZodOptional<z.ZodNumber>;
4278
4285
  sku: z.ZodNullable<z.ZodString>;
4279
4286
  nutritionFacts: z.ZodNullable<z.ZodObject<{
4280
4287
  calories: z.ZodNumber;
@@ -4568,4 +4575,4 @@ declare const WarehouseSchema: z.ZodObject<{
4568
4575
  type Warehouse = z.infer<typeof WarehouseSchema>;
4569
4576
 
4570
4577
  export { BaseResponseSchema, ChannelSchema, CompositionIngredientSchema, CompositionProductSchema, CountryCodeSchema, CurrencyCodeSchema, DeliveryMethodSchema, GatewayActionTypeSchema, GatewayAddOrderItemRequestSchema, GatewayAddOrderItemResponseSchema, GatewayCreateOrderRequestSchema, GatewayCreateOrderResponseSchema, GatewayDecrementOrderItemQuantityRequestSchema, GatewayDecrementOrderItemQuantityResponseSchema, GatewayGetChannelsRequestSchema, GatewayGetChannelsResponseSchema, GatewayGetDeliveryByCourierStatusRequestSchema, GatewayGetDeliveryByCourierStatusResponseSchema, GatewayGetMenuRequestSchema, GatewayGetMenuResponseSchema, GatewayGetOptionsRequestSchema, GatewayGetOptionsResponseSchema, GatewayGetOrderRequestSchema, GatewayGetOrderResponseSchema, GatewayGetSelfPickupStatusRequestSchema, GatewayGetSelfPickupStatusResponseSchema, GatewayGetTimeSlotsRequestSchema, GatewayGetTimeSlotsResponseSchema, GatewayIncrementOrderItemQuantityRequestSchema, GatewayIncrementOrderItemQuantityResponseSchema, GatewayRequestSchema, GatewayResponseSchema, GatewayUpdateOrderRequestSchema, GatewayUpdateOrderResponseSchema, ImageFormatSchema, ImageSchema, ImageSizeSchema, LocaleSchema, LocaleValueSchema, MenuCategorySchema, MenuSchema, NutritionFactsSchema, OpeningStatusSchema, OptionsSchema, OrderDeliveryAddressSchema, OrderItemChangeSchema, OrderItemSchema, OrderSchema, OrderStatusSchema, OrderWarehouseAddressSchema, PaymentMethodSchema, PaymentMethodTypeSchema, ProductBadgeSchema, ProductCompositionSchema, ProductSchema, ProductVariantSchema, RecommendedProductSchema, ScheduleSchema, TimePeriodSchema, TimeSchema, TimeTypeSchema, TimeZoneSchema, VideoSchema, VideoTypeSchema, WarehouseAddressSchema, WarehouseSchema, WeekDaySchema, WeightUnitSchema };
4571
- export type { Channel, CompositionProductItem, CountryCode, CurrencyCode, DaySchedule, DeliveryMethod, GatewayActionType, GatewayAddOrderItemRequest, GatewayAddOrderItemResponse, GatewayCreateOrderRequest, GatewayCreateOrderResponse, GatewayDecrementOrderItemQuantityRequest, GatewayDecrementOrderItemQuantityResponse, GatewayGetChannelsRequest, GatewayGetChannelsResponse, GatewayGetDeliveryByCourierStatusRequest, GatewayGetDeliveryByCourierStatusResponse, GatewayGetMenuRequest, GatewayGetMenuResponse, GatewayGetOptionsRequest, GatewayGetOptionsResponse, GatewayGetOrderRequest, GatewayGetOrderResponse, GatewayGetSelfPickupStatusRequest, GatewayGetSelfPickupStatusResponse, GatewayGetTimeSlotsRequest, GatewayGetTimeSlotsResponse, GatewayIncrementOrderItemQuantityRequest, GatewayIncrementOrderItemQuantityResponse, GatewayRequest, GatewayResponse, GatewayUpdateOrderRequest, GatewayUpdateOrderResponse, Image, ImageFormat, ImageSize, Locale, LocaleValue, Menu, MenuCategory, NextOpening, NutritionFacts, OpeningStatus, Options, Order, OrderDeliveryAddress, OrderItem, OrderItemChange, OrderStatus, OrderWarehouseAddress, PaymentMethod, PaymentMethodType, Product, ProductBadge, ProductComposition, ProductVariant, RecommendedProduct, Schedule, TimePeriod, TimeType, TimeZone, Video, VideoType, Warehouse, WarehouseAddress, WeekDay, WeightUnit };
4578
+ export type { Channel, CompositionIngredient, CompositionProductItem, CountryCode, CurrencyCode, DaySchedule, DeliveryMethod, GatewayActionType, GatewayAddOrderItemRequest, GatewayAddOrderItemResponse, GatewayCreateOrderRequest, GatewayCreateOrderResponse, GatewayDecrementOrderItemQuantityRequest, GatewayDecrementOrderItemQuantityResponse, GatewayGetChannelsRequest, GatewayGetChannelsResponse, GatewayGetDeliveryByCourierStatusRequest, GatewayGetDeliveryByCourierStatusResponse, GatewayGetMenuRequest, GatewayGetMenuResponse, GatewayGetOptionsRequest, GatewayGetOptionsResponse, GatewayGetOrderRequest, GatewayGetOrderResponse, GatewayGetSelfPickupStatusRequest, GatewayGetSelfPickupStatusResponse, GatewayGetTimeSlotsRequest, GatewayGetTimeSlotsResponse, GatewayIncrementOrderItemQuantityRequest, GatewayIncrementOrderItemQuantityResponse, GatewayRequest, GatewayResponse, GatewayUpdateOrderRequest, GatewayUpdateOrderResponse, Image, ImageFormat, ImageSize, Locale, LocaleValue, Menu, MenuCategory, NextOpening, NutritionFacts, OpeningStatus, Options, Order, OrderDeliveryAddress, OrderItem, OrderItemChange, OrderStatus, OrderWarehouseAddress, PaymentMethod, PaymentMethodType, Product, ProductBadge, ProductComposition, ProductVariant, RecommendedProduct, Schedule, TimePeriod, TimeType, TimeZone, Video, VideoType, Warehouse, WarehouseAddress, WeekDay, WeightUnit };
package/dist/index.mjs CHANGED
@@ -420,6 +420,7 @@ const ProductVariantSchema = z.object({
420
420
  weightUnit: WeightUnitSchema,
421
421
  weightValue: z.number(),
422
422
  price: z.number(),
423
+ originalPrice: z.number().optional(),
423
424
  sku: z.string().nullable(),
424
425
  nutritionFacts: NutritionFactsSchema.nullable()
425
426
  });
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@nextorders/food-schema",
3
3
  "type": "module",
4
- "version": "0.2.2",
4
+ "version": "0.2.4",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },