@bondsports/types 2.2.65 → 2.2.67
Sign up to get free protection for your applications and to get access to all the features.
@@ -1,15 +1,15 @@
|
|
1
1
|
import { QuestionAnswersDto } from '../../../dto/application.dto';
|
2
2
|
import { ActivityTimes } from '../../../entity/ActivityTimes';
|
3
3
|
import { Price } from '../../../pricing/entities/Price';
|
4
|
-
import { PurchaseResourceDto } from '../../../purchase/dto/purchase.dto';
|
5
4
|
import { ActivityEnum, OrderByEnum, SportsEnum } from '../../../services/enums.service';
|
6
5
|
import { IPagination } from '../../../util/models/interfaces/general.interfaces';
|
7
6
|
import { OrderByProductEnum } from '../enums/product.enums';
|
7
|
+
import { IProductResource } from './porduct-resource.interfaces';
|
8
8
|
export interface IGetCurrentPricesOptions {
|
9
9
|
userId?: number;
|
10
10
|
answers?: QuestionAnswersDto[];
|
11
11
|
prefetchedPrices?: Price[];
|
12
|
-
resources?:
|
12
|
+
resources?: IProductResource[];
|
13
13
|
}
|
14
14
|
export interface IGetProductsByTypeOptions extends IPagination {
|
15
15
|
productIds?: number[];
|
@@ -7,6 +7,7 @@ import { ByOrganizationIdDto } from '../../organization/dto/organization.dto';
|
|
7
7
|
import { ScheduledPaymentDto } from '../../payment/dto/payment-plan.dto';
|
8
8
|
import { Payment } from '../../payment/entities/Payment';
|
9
9
|
import { FuturePaymentStatusEnum, PaymentMethodTypeEnum, PaymentStatusEnum } from '../../payment/types/enums/payment.enums';
|
10
|
+
import { IProductResource } from '../../product-pricing/types/interfaces/porduct-resource.interfaces';
|
10
11
|
import { PlatformsEnum, ResourceNameTypeEnum } from '../../services/enums.service';
|
11
12
|
import { IPurchaseCart, IPurchasePayment } from '../types/interfaces/purchase.interfaces';
|
12
13
|
export declare class PurchasePaymentDto implements IPurchasePayment {
|
@@ -44,7 +45,7 @@ export declare class PurchaseRequestDto {
|
|
44
45
|
installmentId?: number;
|
45
46
|
isAutoRenewal?: boolean;
|
46
47
|
}
|
47
|
-
export declare class PurchaseResourceDto {
|
48
|
+
export declare class PurchaseResourceDto implements IProductResource {
|
48
49
|
id?: number;
|
49
50
|
type: ResourceNameTypeEnum;
|
50
51
|
startDate?: Date;
|
@@ -52,6 +53,7 @@ export declare class PurchaseResourceDto {
|
|
52
53
|
isAll?: boolean;
|
53
54
|
includedIds?: number[];
|
54
55
|
excludedIds?: number[];
|
56
|
+
productId?: number;
|
55
57
|
}
|
56
58
|
export declare class PurchaseProductDto {
|
57
59
|
id: number;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"purchase.dto.js","sourceRoot":"","sources":["../../../../src/types/purchase/dto/purchase.dto.ts"],"names":[],"mappings":";;;AAIA,+DAA+D;AAC/D,8EAA8E;
|
1
|
+
{"version":3,"file":"purchase.dto.js","sourceRoot":"","sources":["../../../../src/types/purchase/dto/purchase.dto.ts"],"names":[],"mappings":";;;AAIA,+DAA+D;AAC/D,8EAA8E;AAa9E,MAAa,kBAAkB;CAQ9B;AARD,gDAQC;AAED,MAAa,uBAAuB;CAkBnC;AAlBD,0DAkBC;AAED,MAAa,kBAAkB;CAiC9B;AAjCD,gDAiCC;AAED,MAAa,mBAAmB;CAgB/B;AAhBD,kDAgBC;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,eAAgB,SAAQ,4BAAc;CAUlD;AAVD,0CAUC"}
|