@nextorders/food-schema 0.2.3 → 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
@@ -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;
@@ -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;
@@ -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;
@@ -4276,6 +4281,7 @@ declare const ProductSchema: z.ZodObject<{
4276
4281
  }>;
4277
4282
  weightValue: z.ZodNumber;
4278
4283
  price: z.ZodNumber;
4284
+ originalPrice: z.ZodOptional<z.ZodNumber>;
4279
4285
  sku: z.ZodNullable<z.ZodString>;
4280
4286
  nutritionFacts: z.ZodNullable<z.ZodObject<{
4281
4287
  calories: z.ZodNumber;
package/dist/index.d.ts CHANGED
@@ -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;
@@ -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;
@@ -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;
@@ -4276,6 +4281,7 @@ declare const ProductSchema: z.ZodObject<{
4276
4281
  }>;
4277
4282
  weightValue: z.ZodNumber;
4278
4283
  price: z.ZodNumber;
4284
+ originalPrice: z.ZodOptional<z.ZodNumber>;
4279
4285
  sku: z.ZodNullable<z.ZodString>;
4280
4286
  nutritionFacts: z.ZodNullable<z.ZodObject<{
4281
4287
  calories: z.ZodNumber;
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.3",
4
+ "version": "0.2.4",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },