@jsdev_ninja/core 0.11.4 → 0.11.6

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(),
@@ -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"),
@@ -3181,7 +3183,8 @@ const Ae = o.string().min(1), Ar = o.object({
3181
3183
  requiredQuantity: o.number().positive(),
3182
3184
  discountPrice: o.number().positive()
3183
3185
  })
3184
- ])
3186
+ ]),
3187
+ image: o.object({ url: o.string().url(), id: o.string() }).optional()
3185
3188
  }), ve = {
3186
3189
  VAT: 18
3187
3190
  };