@bondsports/types 2.1.17 → 2.1.18

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;
@@ -88,3 +88,6 @@ export interface IDiscountItem {
88
88
  export interface IValidateDiscountOptions {
89
89
  overrideItems?: boolean;
90
90
  }
91
+ export interface ICalculateDiscountOptions {
92
+ maxAmount?: number;
93
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bondsports/types",
3
- "version": "2.1.17",
3
+ "version": "2.1.18",
4
4
  "description": "backend types module for Bond-Sports",
5
5
  "main": "./dist/index.js",
6
6
  "scripts": {