@bondsports/types 2.2.162 → 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/reservations/dto/reservation.dto.d.ts +2 -0
- package/dist/types/reservations/dto/reservation.dto.js.map +1 -1
- package/dist/types/reservations/dto/slot.dto.d.ts +1 -0
- package/dist/types/reservations/dto/slot.dto.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"}
|
@@ -275,6 +275,8 @@ export declare class GetDraftReservationOptionsDto implements IGetDraftReservati
|
|
275
275
|
includeParticipants?: boolean;
|
276
276
|
includeSegments?: boolean;
|
277
277
|
includeMaintenanceSlots?: boolean;
|
278
|
+
includeSlots?: boolean;
|
279
|
+
includeFacilities?: boolean;
|
278
280
|
}
|
279
281
|
export declare class GetDraftSlotsOptions implements IExtendDraftSlotsOptions {
|
280
282
|
includeResources?: boolean;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"reservation.dto.js","sourceRoot":"","sources":["../../../../src/types/reservations/dto/reservation.dto.ts"],"names":[],"mappings":";;;AAEA,uDAAwD;AACxD,+DAAsG;AAEtG,8EAA8E;AAK9E,kEAAwF;AAuCxF,MAAM,uBAAuB,GAAG,IAAI,CAAC;AAErC,MAAa,gBAAgB;CAc5B;AAdD,4CAcC;AAED,MAAM,kBAAkB;CA8BvB;AAED,MAAa,cAAe,SAAQ,kBAAkB;CAerD;AAfD,wCAeC;AAED,MAAa,yBAA0B,SAAQ,kBAAkB;CAEhE;AAFD,8DAEC;AAED,MAAa,yBAA0B,SAAQ,yBAAyB;CAIvE;AAJD,8DAIC;AAED,MAAa,mBAAoB,SAAQ,yBAAyB;CAgBjE;AAhBD,kDAgBC;AAED,MAAa,qBAAqB;CAMjC;AAND,sDAMC;AACD,MAAa,kBAAkB;CAQ9B;AARD,gDAQC;AAED,MAAa,4BAA4B;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AAJD,oDAIC;AAED,MAAa,kBAAmB,SAAQ,WAAW;CAgBlD;AAhBD,gDAgBC;AAED,MAAa,YAAa,SAAQ,kBAAkB;CAgBnD;AAhBD,oCAgBC;AAED,MAAa,oBAAoB;CAKhC;AALD,oDAKC;AAED,MAAa,gBAAgB;CAc5B;AAdD,4CAcC;AAED,MAAa,kBAAkB;
|
1
|
+
{"version":3,"file":"slot.dto.js","sourceRoot":"","sources":["../../../../src/types/reservations/dto/slot.dto.ts"],"names":[],"mappings":";;;AAsBA,MAAa,sBAAsB;CAIlC;AAJD,wDAIC;AAED,MAAa,uBAAuB;CAYnC;AAZD,0DAYC;AAED,MAAa,WAAY,SAAQ,uBAAuB;CA8CvD;AA9CD,kCA8CC;AAED,MAAa,OAAQ,SAAQ,WAAW;CAiCvC;AAjCD,0BAiCC;AAED,MAAa,WAAW;CAsBvB;AAtBD,kCAsBC;AAED,MAAa,YAAY;CAExB;AAFD,oCAEC;AAED,MAAa,WAAW;CAEvB;AAFD,kCAEC;AAED,MAAa,oBAAoB;CAIhC;AAJD,oDAIC;AAED,MAAa,kBAAmB,SAAQ,WAAW;CAgBlD;AAhBD,gDAgBC;AAED,MAAa,YAAa,SAAQ,kBAAkB;CAgBnD;AAhBD,oCAgBC;AAED,MAAa,oBAAoB;CAKhC;AALD,oDAKC;AAED,MAAa,gBAAgB;CAc5B;AAdD,4CAcC;AAED,MAAa,kBAAkB;CAc9B;AAdD,gDAcC"}
|
@@ -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;
|
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,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