@bondsports/types 2.1.14 → 2.1.16

Sign up to get free protection for your applications and to get access to all the features.
@@ -1 +1,2 @@
1
1
  export declare const ALL_RELATED_SIGN = "*";
2
+ export declare const MAX_ALLOWED_DISCOUNTS = 1;
@@ -1,5 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ALL_RELATED_SIGN = void 0;
3
+ exports.MAX_ALLOWED_DISCOUNTS = exports.ALL_RELATED_SIGN = void 0;
4
4
  exports.ALL_RELATED_SIGN = '*';
5
+ exports.MAX_ALLOWED_DISCOUNTS = 1;
5
6
  //# sourceMappingURL=discount.consts.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"discount.consts.js","sourceRoot":"","sources":["../../../../../src/types/payment/types/consts/discount.consts.ts"],"names":[],"mappings":";;;AAAa,QAAA,gBAAgB,GAAG,GAAG,CAAC"}
1
+ {"version":3,"file":"discount.consts.js","sourceRoot":"","sources":["../../../../../src/types/payment/types/consts/discount.consts.ts"],"names":[],"mappings":";;;AAAa,QAAA,gBAAgB,GAAG,GAAG,CAAC;AAEvB,QAAA,qBAAqB,GAAG,CAAC,CAAC"}
@@ -69,6 +69,7 @@ export interface IFindDiscountsOptions {
69
69
  includeGLCodes?: boolean;
70
70
  includeUses?: boolean;
71
71
  withDeleted?: boolean;
72
+ onlyValid?: boolean;
72
73
  relations?: string[];
73
74
  }
74
75
  export interface IDiscountRelatedResources {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bondsports/types",
3
- "version": "2.1.14",
3
+ "version": "2.1.16",
4
4
  "description": "backend types module for Bond-Sports",
5
5
  "main": "./dist/index.js",
6
6
  "scripts": {