@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.
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/dist/types/pricing/dto/price.dto.d.ts +3 -1
- package/dist/types/pricing/dto/price.dto.js.map +1 -1
- package/dist/types/pricing/entities/Price.js.map +1 -1
- package/dist/types/roles/dto/role.dto.d.ts +1 -0
- package/dist/types/roles/dto/role.dto.js +4 -0
- package/dist/types/roles/dto/role.dto.js.map +1 -1
- package/package.json +1 -1
@@ -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;
|
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;
|
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,gCAA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