@bondsports/types 2.1.17 → 2.1.19

Sign up to get free protection for your applications and to get access to all the features.
@@ -59,7 +59,7 @@ export declare class IUserItem {
59
59
  productId: number;
60
60
  product?: Product;
61
61
  totalQuantity?: number;
62
- price?: number;
62
+ totalPriceWithoutTax?: number;
63
63
  totalPrice?: number;
64
64
  isTaxInclusive?: boolean;
65
65
  percentage?: number;
@@ -85,6 +85,7 @@ export interface IDiscountItem {
85
85
  amount: number;
86
86
  percentage?: number;
87
87
  }
88
- export interface IValidateDiscountOptions {
88
+ export interface ISetDiscountOptions {
89
89
  overrideItems?: boolean;
90
+ maxAmount?: number;
90
91
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bondsports/types",
3
- "version": "2.1.17",
3
+ "version": "2.1.19",
4
4
  "description": "backend types module for Bond-Sports",
5
5
  "main": "./dist/index.js",
6
6
  "scripts": {