@bondsports/types 2.1.73 → 2.1.75

Sign up to get free protection for your applications and to get access to all the features.
@@ -48,6 +48,11 @@ export interface IDiscountRelatedProducts {
48
48
  memberships?: IDiscountRelatedMemberships;
49
49
  leagues?: IDiscountRelatedProductIds;
50
50
  goods?: IDiscountRelatedProductIds;
51
+ entitlement?: IDiscountRelatedEntitlements;
52
+ }
53
+ export interface IDiscountRelatedEntitlements {
54
+ groupId: number;
55
+ productIds: number[];
51
56
  }
52
57
  export interface IUsesPerUser {
53
58
  id: number;
@@ -1 +1 @@
1
- {"version":3,"file":"discount.interfaces.js","sourceRoot":"","sources":["../../../../../src/types/payment/types/interfaces/discount.interfaces.ts"],"names":[],"mappings":";;;AAGA,mEAAuF;AA8DvF,MAAa,SAAS;CAoBrB;AApBD,8BAoBC"}
1
+ {"version":3,"file":"discount.interfaces.js","sourceRoot":"","sources":["../../../../../src/types/payment/types/interfaces/discount.interfaces.ts"],"names":[],"mappings":";;;AAGA,mEAAuF;AAoEvF,MAAa,SAAS;CAoBrB;AApBD,8BAoBC"}
@@ -2,13 +2,14 @@ import { UserAnswersDto } from '../../dto/application.dto';
2
2
  import { Customer } from '../../entity/Customer';
3
3
  import { Invoice } from '../../entity/Invoice';
4
4
  import { ProductsUsers } from '../../entity/ProductsUsers';
5
+ import { ByOrganizationIdDto } from '../../organization/dto/organization.dto';
5
6
  import { ScheduledPaymentDto } from '../../payment/dto/payment-plan.dto';
6
7
  import { Payment } from '../../payment/entities/Payment';
7
8
  import { FuturePaymentStatusEnum, PaymentMethodTypeEnum, PaymentStatusEnum } from '../../payment/types/enums/payment.enums';
8
- import { PlatformsEnum, ResourceNameTypeEnum } from '../../services/enums.service';
9
9
  import { ResourceDto } from '../../resources/dto/resource.dto';
10
- import { ByOrganizationIdDto } from '../../organization/dto/organization.dto';
11
- export declare class PurchasePaymentDto {
10
+ import { PlatformsEnum, ResourceNameTypeEnum } from '../../services/enums.service';
11
+ import { IPurchasePayment } from '../types/interfaces/purchase.interfaces';
12
+ export declare class PurchasePaymentDto implements IPurchasePayment {
12
13
  type: PaymentMethodTypeEnum;
13
14
  token?: string;
14
15
  paymentMethodId?: number;
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.PurchaseCartDto = exports.PurchaseResultDto = exports.ValidateParticipantDto = exports.PartialPaymentAsUserDto = exports.AddItemsDto = exports.RedeemPunchCardRequestDto = exports.PartialPaymentRequestDto = exports.ScheduledPaymentRequestBodyDto = exports.ScheduledPaymentRequestDto = exports.ScheduledPaymentConsumerRequestDto = exports.PurchaseProductDto = exports.PurchaseResourceDto = exports.PurchaseRequestDto = exports.ChargeRentalsReuqestDto = exports.PurchasePaymentDto = void 0;
4
- const resource_dto_1 = require("../../resources/dto/resource.dto");
5
4
  const organization_dto_1 = require("../../organization/dto/organization.dto");
5
+ const resource_dto_1 = require("../../resources/dto/resource.dto");
6
6
  class PurchasePaymentDto {
7
7
  }
8
8
  exports.PurchasePaymentDto = PurchasePaymentDto;
@@ -1 +1 @@
1
- {"version":3,"file":"purchase.dto.js","sourceRoot":"","sources":["../../../../src/types/purchase/dto/purchase.dto.ts"],"names":[],"mappings":";;;AAYA,mEAA+D;AAE/D,8EAA8E;AAE9E,MAAa,kBAAkB;CAQ9B;AARD,gDAQC;AAED,MAAa,uBAAuB;CAkBnC;AAlBD,0DAkBC;AAED,MAAa,kBAAkB;CA8B9B;AA9BD,gDA8BC;AAED,MAAa,mBAAoB,SAAQ,0BAAW;CAInD;AAJD,kDAIC;AAED,MAAa,kBAAkB;CA6B9B;AA7BD,gDA6BC;AAED,MAAa,kCAAkC;CAM9C;AAND,gFAMC;AAED,MAAa,0BAA2B,SAAQ,sCAAmB;CAIlE;AAJD,gEAIC;AAED,MAAa,8BAA8B;CAU1C;AAVD,wEAUC;AAED,MAAa,wBAAwB;CAgBpC;AAhBD,4DAgBC;AAED,MAAa,yBAAyB;CAQrC;AARD,8DAQC;AAED,MAAa,WAAW;IAAxB;QAGC,qBAAgB,GAAG,KAAK,CAAC;QAEzB,aAAQ,GAAG,KAAK,CAAC;IAClB,CAAC;CAAA;AAND,kCAMC;AAED,MAAa,uBAAuB;CAUnC;AAVD,0DAUC;AAED,MAAa,sBAAsB;CAElC;AAFD,wDAEC;AAED,MAAa,iBAAiB;CAU7B;AAVD,8CAUC;AAED,MAAa,eAAe;CAgB3B;AAhBD,0CAgBC"}
1
+ {"version":3,"file":"purchase.dto.js","sourceRoot":"","sources":["../../../../src/types/purchase/dto/purchase.dto.ts"],"names":[],"mappings":";;;AAIA,8EAA8E;AAQ9E,mEAA+D;AAK/D,MAAa,kBAAkB;CAQ9B;AARD,gDAQC;AAED,MAAa,uBAAuB;CAkBnC;AAlBD,0DAkBC;AAED,MAAa,kBAAkB;CA8B9B;AA9BD,gDA8BC;AAED,MAAa,mBAAoB,SAAQ,0BAAW;CAInD;AAJD,kDAIC;AAED,MAAa,kBAAkB;CA6B9B;AA7BD,gDA6BC;AAED,MAAa,kCAAkC;CAM9C;AAND,gFAMC;AAED,MAAa,0BAA2B,SAAQ,sCAAmB;CAIlE;AAJD,gEAIC;AAED,MAAa,8BAA8B;CAU1C;AAVD,wEAUC;AAED,MAAa,wBAAwB;CAgBpC;AAhBD,4DAgBC;AAED,MAAa,yBAAyB;CAQrC;AARD,8DAQC;AAED,MAAa,WAAW;IAAxB;QAGC,qBAAgB,GAAG,KAAK,CAAC;QAEzB,aAAQ,GAAG,KAAK,CAAC;IAClB,CAAC;CAAA;AAND,kCAMC;AAED,MAAa,uBAAuB;CAUnC;AAVD,0DAUC;AAED,MAAa,sBAAsB;CAElC;AAFD,wDAEC;AAED,MAAa,iBAAiB;CAU7B;AAVD,8CAUC;AAED,MAAa,eAAe;CAgB3B;AAhBD,0CAgBC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bondsports/types",
3
- "version": "2.1.73",
3
+ "version": "2.1.75",
4
4
  "description": "backend types module for Bond-Sports",
5
5
  "main": "./dist/index.js",
6
6
  "scripts": {