@jsdev_ninja/core 0.11.5 → 0.11.7

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/core.es.js CHANGED
@@ -3136,7 +3136,7 @@ const Ir = o.object({
3136
3136
  "completed",
3137
3137
  "refunded"
3138
3138
  ]),
3139
- paymentStatus: o.enum(["pending", "pending_j5", "completed", "failed", "refunded"]),
3139
+ paymentStatus: o.enum(["pending", "pending_j5", "external", "completed", "failed", "refunded"]),
3140
3140
  //todo check if hyp support partial refund
3141
3141
  cart: o.object({
3142
3142
  id: o.string(),
@@ -3150,7 +3150,7 @@ const Ir = o.object({
3150
3150
  actualAmount: o.number().positive().optional(),
3151
3151
  // what store charge
3152
3152
  date: o.number(),
3153
- deliveryDate: o.number().optional(),
3153
+ deliveryDate: o.coerce.number().optional(),
3154
3154
  createdAt: o.number().optional(),
3155
3155
  client: mr.required({})
3156
3156
  }), yr = o.enum(["individual", "company"]);
@@ -3165,7 +3165,9 @@ o.object({
3165
3165
  paymentType: o.enum(["external", "j5"]),
3166
3166
  allowAnonymousClients: o.boolean(),
3167
3167
  isVatIncludedInPrice: o.boolean(),
3168
- clientTypes: o.array(yr)
3168
+ clientTypes: o.array(yr),
3169
+ minimumOrder: o.number().optional(),
3170
+ freeOrderPrice: o.number().optional()
3169
3171
  });
3170
3172
  const Ae = o.string().min(1), Ar = o.object({
3171
3173
  type: o.literal("Discount"),