@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.
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/dist/types/payment/types/interfaces/discount.interfaces.d.ts +5 -0
- package/dist/types/payment/types/interfaces/discount.interfaces.js.map +1 -1
- package/dist/types/purchase/dto/purchase.dto.d.ts +4 -3
- package/dist/types/purchase/dto/purchase.dto.js +1 -1
- package/dist/types/purchase/dto/purchase.dto.js.map +1 -1
- package/package.json +1 -1
@@ -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;
|
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 {
|
11
|
-
|
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":";;;
|
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"}
|