@bondsports/types 2.2.163 → 2.2.164

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,6 +1,6 @@
1
1
  import { ActivityTimesDto } from '../../dto/activityTimes.dto';
2
2
  import { OrganizationBaseEntityDto } from '../../organization/dto/organization.dto';
3
- import { CurrencyEnum } from '../../services/enums.service';
3
+ import { CurrencyEnum, DiscountMethodsEnum } from '../../services/enums.service';
4
4
  export declare class PriceDto extends OrganizationBaseEntityDto {
5
5
  createdAt: Date;
6
6
  updatedAt: Date;
@@ -16,4 +16,6 @@ export declare class PriceDto extends OrganizationBaseEntityDto {
16
16
  taxIncludedPrice?: number;
17
17
  activityTimes?: ActivityTimesDto[];
18
18
  isDefault?: boolean;
19
+ discountMethod?: DiscountMethodsEnum;
20
+ discountValue?: number;
19
21
  }
@@ -1 +1 @@
1
- {"version":3,"file":"price.dto.js","sourceRoot":"","sources":["../../../../src/types/pricing/dto/price.dto.ts"],"names":[],"mappings":";;;AACA,8EAAoF;AAGpF,MAAa,QAAS,SAAQ,4CAAyB;CA4BtD;AA5BD,4BA4BC"}
1
+ {"version":3,"file":"price.dto.js","sourceRoot":"","sources":["../../../../src/types/pricing/dto/price.dto.ts"],"names":[],"mappings":";;;AACA,8EAAoF;AAGpF,MAAa,QAAS,SAAQ,4CAAyB;CAgCtD;AAhCD,4BAgCC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Price.js","sourceRoot":"","sources":["../../../../src/types/pricing/entities/Price.ts"],"names":[],"mappings":";;;AAEA,oGAAiG;AAKjG,MAAa,KAAM,SAAQ,mEAAgC;CAwC1D;AAxCD,sBAwCC"}
1
+ {"version":3,"file":"Price.js","sourceRoot":"","sources":["../../../../src/types/pricing/entities/Price.ts"],"names":[],"mappings":";;;AAEA,oGAAiG;AAKjG,MAAa,KAAM,SAAQ,mEAAgC;CAyC1D;AAzCD,sBAyCC"}
@@ -38,6 +38,7 @@ export declare class GetRolesFiltersDto extends PaginatedSearchDto {
38
38
  deletedAt?: Date;
39
39
  isEditable?: boolean;
40
40
  type: RoleTypesEnum;
41
+ includeBondy?: boolean;
41
42
  }
42
43
  export declare class ByOrganizationIdAndRole extends ByOrganizationIdDto {
43
44
  role: string;
@@ -21,6 +21,10 @@ class SimpleRoleDto extends facilities_dto_1.OptionalFacilityIdDto {
21
21
  }
22
22
  exports.SimpleRoleDto = SimpleRoleDto;
23
23
  class GetRolesFiltersDto extends general_dto_1.PaginatedSearchDto {
24
+ constructor() {
25
+ super(...arguments);
26
+ this.includeBondy = false;
27
+ }
24
28
  }
25
29
  exports.GetRolesFiltersDto = GetRolesFiltersDto;
26
30
  class ByOrganizationIdAndRole extends organization_dto_1.ByOrganizationIdDto {
@@ -1 +1 @@
1
- {"version":3,"file":"role.dto.js","sourceRoot":"","sources":["../../../../src/types/roles/dto/role.dto.ts"],"names":[],"mappings":";;;AAAA,6DAAiE;AACjE,uDAA2D;AAC3D,8EAA8E;AAO9E,MAAa,WAAY,SAAQ,sCAAqB;CAErD;AAFD,kCAEC;AAED,MAAa,aAAc,SAAQ,sCAAqB;CAUvD;AAVD,sCAUC;AAED,MAAa,OAAQ,SAAQ,sCAAqB;IAAlD;;QAWC,qBAAgB,GAAyB,EAAE,CAAC;IAG7C,CAAC;CAAA;AAdD,0BAcC;AAED,MAAa,aAAc,SAAQ,sCAAqB;CAQvD;AARD,sCAQC;AAED,MAAa,kBAAmB,SAAQ,gCAAkB;CAYzD;AAZD,gDAYC;AAED,MAAa,uBAAwB,SAAQ,sCAAmB;CAE/D;AAFD,0DAEC;AAED,MAAa,kBAAkB;CAE9B;AAFD,gDAEC;AAED,MAAa,UAAU;CAEtB;AAFD,gCAEC;AAED,MAAa,mBAAmB;CAI/B;AAJD,kDAIC;AAED,MAAa,aAAc,SAAQ,sCAAqB;CAMvD;AAND,sCAMC;AAED,MAAa,kBAAkB;IAA/B;QACC,uBAAkB,GAAI,KAAK,CAAC;QAE5B,4BAAuB,GAAI,KAAK,CAAC;QAEjC,6BAAwB,GAAI,KAAK,CAAC;QAElC,qBAAgB,GAAI,KAAK,CAAC;IAC3B,CAAC;CAAA;AARD,gDAQC;AAED,MAAa,iBAAkB,SAAQ,OAAO;CAE7C;AAFD,8CAEC"}
1
+ {"version":3,"file":"role.dto.js","sourceRoot":"","sources":["../../../../src/types/roles/dto/role.dto.ts"],"names":[],"mappings":";;;AAAA,6DAAiE;AACjE,uDAA2D;AAC3D,8EAA8E;AAO9E,MAAa,WAAY,SAAQ,sCAAqB;CAErD;AAFD,kCAEC;AAED,MAAa,aAAc,SAAQ,sCAAqB;CAUvD;AAVD,sCAUC;AAED,MAAa,OAAQ,SAAQ,sCAAqB;IAAlD;;QAWC,qBAAgB,GAAyB,EAAE,CAAC;IAG7C,CAAC;CAAA;AAdD,0BAcC;AAED,MAAa,aAAc,SAAQ,sCAAqB;CAQvD;AARD,sCAQC;AAED,MAAa,kBAAmB,SAAQ,gCAAkB;IAA1D;;QAaC,iBAAY,GAAI,KAAK,CAAC;IACvB,CAAC;CAAA;AAdD,gDAcC;AAED,MAAa,uBAAwB,SAAQ,sCAAmB;CAE/D;AAFD,0DAEC;AAED,MAAa,kBAAkB;CAE9B;AAFD,gDAEC;AAED,MAAa,UAAU;CAEtB;AAFD,gCAEC;AAED,MAAa,mBAAmB;CAI/B;AAJD,kDAIC;AAED,MAAa,aAAc,SAAQ,sCAAqB;CAMvD;AAND,sCAMC;AAED,MAAa,kBAAkB;IAA/B;QACC,uBAAkB,GAAI,KAAK,CAAC;QAE5B,4BAAuB,GAAI,KAAK,CAAC;QAEjC,6BAAwB,GAAI,KAAK,CAAC;QAElC,qBAAgB,GAAI,KAAK,CAAC;IAC3B,CAAC;CAAA;AARD,gDAQC;AAED,MAAa,iBAAkB,SAAQ,OAAO;CAE7C;AAFD,8CAEC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bondsports/types",
3
- "version": "2.2.163",
3
+ "version": "2.2.164",
4
4
  "description": "backend types module for Bond-Sports",
5
5
  "main": "./dist/index.js",
6
6
  "scripts": {