@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.cjs.js +1 -1
- package/dist/core.cjs.js.map +1 -1
- package/dist/core.es.js +6 -3
- package/dist/core.es.js.map +1 -1
- package/dist/core.umd.js +1 -1
- package/dist/core.umd.js.map +1 -1
- package/dist/entities/Discount.d.ts +18 -0
- package/dist/entities/Discount.d.ts.map +1 -1
- package/dist/entities/Discount.js +1 -0
- package/dist/entities/Order.d.ts +3 -3
- package/dist/entities/Order.js +1 -1
- package/dist/entities/Store.d.ts +6 -0
- package/dist/entities/Store.d.ts.map +1 -1
- package/dist/entities/Store.js +2 -0
- package/lib/entities/Discount.ts +1 -0
- package/lib/entities/Order.ts +1 -1
- package/lib/entities/Store.ts +2 -0
- package/package.json +1 -1
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
|
};
|