@bondsports/types 2.1.12 → 2.1.14

Sign up to get free protection for your applications and to get access to all the features.
@@ -45,8 +45,3 @@ export interface IUpdateCartOptions {
45
45
  updateActiveTime?: boolean;
46
46
  updateFetchedTime?: boolean;
47
47
  }
48
- export interface IDiscountItem {
49
- id: number;
50
- amount: number;
51
- percentage?: number;
52
- }
@@ -59,7 +59,11 @@ export interface IUserItem {
59
59
  productId: number;
60
60
  product?: Product;
61
61
  quantity?: number;
62
+ price?: number;
62
63
  totalPrice?: number;
64
+ isTaxInclusive?: boolean;
65
+ percentage?: number;
66
+ taxItem?: IUserItem;
63
67
  }
64
68
  export interface IFindDiscountsOptions {
65
69
  includeGLCodes?: boolean;
@@ -75,3 +79,8 @@ export interface IProductRelatedResource {
75
79
  program?: IProductRelatedProgram;
76
80
  membership?: IProductRelatedMembership;
77
81
  }
82
+ export interface IDiscountItem {
83
+ id: number;
84
+ amount: number;
85
+ percentage?: number;
86
+ }
@@ -1 +1 @@
1
- {"version":3,"file":"Product.js","sourceRoot":"","sources":["../../../../src/types/product-pricing/entities/Product.ts"],"names":[],"mappings":";;;AAiBA,oGAAiG;AAgBjG,MAAa,OAAQ,SAAQ,mEAAgC;CAgH5D;AAhHD,0BAgHC"}
1
+ {"version":3,"file":"Product.js","sourceRoot":"","sources":["../../../../src/types/product-pricing/entities/Product.ts"],"names":[],"mappings":";;;AAiBA,oGAAiG;AAiBjG,MAAa,OAAQ,SAAQ,mEAAgC;CAgH5D;AAhHD,0BAgHC"}
@@ -6,7 +6,7 @@ import { ByProgramDto, UpdateProgramOptionsDto } from '../../programs/dto/progra
6
6
  import { MaintenanceDto } from '../../reservations/dto/maintenance.dto';
7
7
  import { TimeSlotConflicts } from '../../reservations/interfaces/reservation';
8
8
  import { CreateOrUpdateResourceSettingDto } from '../../resource-settings/dto/create-or-update-resource-setting.dto';
9
- import { GenderEnum, LevelOfPlayEnum, OrderByEnum, ProgramSeasonTypesEnum, ProgramTypesEnum, PublishingStatusEnum, RegistrationConstraintPeriodTypeEnum, ResourceNameTypeEnum, SlotTypeEnum, SportsEnum } from '../../services/enums.service';
9
+ import { GenderEnum, LevelOfPlayEnum, OrderByEnum, ProductTypesEnum, ProgramSeasonTypesEnum, ProgramTypesEnum, PublishingStatusEnum, RegistrationConstraintPeriodTypeEnum, ResourceNameTypeEnum, SlotTypeEnum, SportsEnum } from '../../services/enums.service';
10
10
  export declare class FindSessionsFiltersDto {
11
11
  status?: PublishingStatusEnum;
12
12
  isFullFetch?: boolean;
@@ -64,6 +64,9 @@ export declare class ActivityTimesDto {
64
64
  dayOfWeek: number;
65
65
  open: string;
66
66
  close: string;
67
+ parentId?: number;
68
+ parentType?: ResourceNameTypeEnum | ProductTypesEnum;
69
+ id?: number;
67
70
  }
68
71
  export declare class BaseProgramSeasonDto {
69
72
  programId?: number;
@@ -1 +1 @@
1
- {"version":3,"file":"program-seasons.dto.js","sourceRoot":"","sources":["../../../../src/types/programs-seasons/dto/program-seasons.dto.ts"],"names":[],"mappings":";;;AACA,uDAAyF;AAEzF,yFAAoF;AACpF,8EAAyG;AACzG,gEAAuF;AAiBvF,MAAa,sBAAsB;CAIlC;AAJD,wDAIC;AAED,MAAa,WAAY,SAAQ,0BAAY;CAE5C;AAFD,kCAEC;AAED,MAAa,uBAAuB;CAEnC;AAFD,0DAEC;AAED,MAAa,6BAA6B;CAEzC;AAFD,sEAEC;AAED,MAAa,wBAAyB,SAAQ,4CAAyB;CAEtE;AAFD,4DAEC;AAED,MAAa,yBAAyB;CAUrC;AAVD,8DAUC;AACD,MAAa,wBAAyB,SAAQ,6BAAe;CAU5D;AAVD,4DAUC;AAED,MAAa,qCAAsC,SAAQ,sCAAmB;CAE7E;AAFD,sFAEC;AAED,MAAa,uBAAuB;CAGnC;AAHD,0DAGC;AAED,MAAa,gBAAgB;CAE5B;AAFD,4CAEC;AAED,MAAa,qBAAsB,SAAQ,wBAAwB;CAElE;AAFD,sDAEC;AAED,MAAa,6BAA8B,SAAQ,6BAAe;CAMjE;AAND,sE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C;AAED,MAAa,kBAAkB;CAI9B;AAJD,gDAIC;AAED,MAAa,4BAA4B;CAIxC;AAJD,oEAIC"}
1
+ {"version":3,"file":"program-seasons.dto.js","sourceRoot":"","sources":["../../../../src/types/programs-seasons/dto/program-seasons.dto.ts"],"names":[],"mappings":";;;AACA,uDAAyF;AAEzF,yFAAoF;AACpF,8EAAyG;AACzG,gEAAuF;AAkBvF,MAAa,sBAAsB;CAIlC;AAJD,wDAIC;AAED,MAAa,WAAY,SAAQ,0BAAY;CAE5C;AAFD,kCAEC;AAED,MAAa,uBAAuB;CAEnC;AAFD,0DAEC;AAED,MAAa,6BAA6B;CAEzC;AAFD,sEAEC;AAED,MAAa,wBAAyB,SAAQ,4CAAyB;CAEtE;AAFD,4DAEC;AAED,MAAa,yBAAyB;CAUrC;AAVD,8DAUC;AACD,MAAa,wBAAyB,SAAQ,6BAAe;CAU5D;AAVD,4DAUC;AAED,MAAa,qCAAsC,SAAQ,sCAAmB;CAE7E;AAFD,sFAEC;AAED,MAAa,uBAAuB;CAGnC;AAHD,0DAGC;AAED,MAAa,gBAAgB;CAE5B;AAFD,4CAEC;AAED,MAAa,qBAAsB,SAAQ,wBAAwB;CAElE;AAFD,sDAEC;AAED,MAAa,6BAA8B,SAAQ,6BAAe;CAMjE;AAND,sEAMC;AAED,MAAa,eAAe;CAM3B;AAND,0CAMC;AAED,MAAa,gBAAgB;CAY5B;AAZD,4CAYC;AAED,MAAa,oBAAoB;CA8EhC;AA9ED,oDA8EC;AAED,MAAa,wBAAwB;CAMpC;AAND,4DAMC;AAED,MAAa,kBAAkB;CAQ9B;AARD,gDAQC;AAED,MAAa,sBAAuB,SAAQ,oBAAoB;CAE/D;AAFD,wDAEC;AAED,MAAa,sBAAuB,SAAQ,oBAAoB;CAE/D;AAFD,wDAEC;AAED,MAAa,4BAA4B;CAGxC;AAHD,oEAGC;AAED,MAAa,6BAA6B;CAwDzC;AAxDD,sEAwDC;AAED,MAAa,yBAA0B,SAAQ,0BAAY;CAAG;AAA9D,8DAA8D;AAE9D,MAAa,gBAAiB,SAAQ,0BAAY;CAUjD;AAVD,4CAUC;AAED,MAAa,oBAAoB;CAWhC;AAXD,oDAWC;AAED,MAAa,8BAA8B;CAI1C;AAJD,wEAIC;AAED,MAAa,+BAA+B;CAO3C;AAPD,0EAOC;AAED,MAAa,0BAA0B;CAEtC;AAFD,gEAEC;AAED,MAAa,oBAAoB;CAIhC;AAJD,oDAIC;AAED,MAAa,eAAe;CAK3B;AALD,0CAKC;AAED,MAAa,gCAAgC;CAE5C;AAFD,4EAEC;AAED,MAAa,oBAAoB;CAShC;AATD,oDASC;AAED,MAAa,uBAAwB,SAAQ,oBAAoB;CAUhE;AAVD,0DAUC;AAED,MAAa,kBAAkB;CAY9B;AAZD,gDAYC;AAED,MAAa,4BAA4B;CAExC;AAFD,oEAEC;AAED,MAAa,6BAA8B,SAAQ,qCAAuB;CAAG;AAA7E,sEAA6E;AAE7E,MAAa,qBAAqB;CAMjC;AAND,sDAMC;AAED;;GAEG;AACH,MAAa,uBAAwB,SAAQ,2CAAmB;CAY/D;AAZD,0DAYC;AAED;;GAEG;AACH,MAAa,yBAA0B,SAAQ,2CAAmB;CAajE;AAbD,8DAaC;AAED,MAAa,iCAAkC,SAAQ,6BAAe;CAMrE;AAND,8EAMC;AAED,MAAa,kBAAkB;CAI9B;AAJD,gDAIC;AAED,MAAa,4BAA4B;CAIxC;AAJD,oEAIC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bondsports/types",
3
- "version": "2.1.12",
3
+ "version": "2.1.14",
4
4
  "description": "backend types module for Bond-Sports",
5
5
  "main": "./dist/index.js",
6
6
  "scripts": {