@bondsports/types 2.2.163 → 2.2.165

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"}
@@ -56,6 +56,12 @@ export declare class ReservationDto extends BaseReservationDto {
56
56
  userId?: number;
57
57
  purchasingUserId?: number;
58
58
  }
59
+ export declare class SegmentsAddonsDto {
60
+ ids: string[];
61
+ addonIds: number[];
62
+ addons: DraftAddonDto[];
63
+ quantity: number;
64
+ }
59
65
  export declare class CreateDraftReservationDto extends BaseReservationDto {
60
66
  id?: string;
61
67
  }
@@ -72,6 +78,7 @@ export declare class DraftReservationDto extends SimpleDraftReservationDto {
72
78
  spaces?: SpaceResourceDto[];
73
79
  instructors?: InstructorResourceDto[];
74
80
  facilities: FacilityDto[];
81
+ segmentsAddons?: SegmentsAddonsDto[];
75
82
  }
76
83
  export declare class ReservationInvoiceDto {
77
84
  reservation: ReservationDto;
@@ -299,4 +306,8 @@ export declare class UpdateDraftSlotsDto {
299
306
  slots: UpdateDraftSlotDto[];
300
307
  overrideProducts?: boolean;
301
308
  }
309
+ export declare class ReservationAddonsDto {
310
+ reservation: DraftAddonDto[];
311
+ segments: SegmentsAddonsDto[];
312
+ }
302
313
  export {};
@@ -1,6 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.UpdateDraftSlotsDto = exports.GenerateReservationDto = exports.ByDraftSlotIdDto = exports.DraftIdsDto = exports.GetDraftSlotsOptions = exports.GetDraftReservationOptionsDto = exports.GetDraftReservationAddonsQueryDto = exports.DraftSlotsFilterResultDto = exports.SimpleDraftSegmentDto = exports.ByDraftReservationIdDto = exports.GetDraftReservationSlotsFiltersDto = exports.AddSegmentsDto = exports.AddSlotsDto = exports.InvoiceReservationItemsDto = exports.SaveSlotToSegmenResultDto = exports.AddSlotToSegmenResultDto = exports.ChargeReservationResultDto = exports.UpdateCustomerSlotsColorsDto = exports.UpdateReservationSlotsColorsDto = exports.UpdateReservationInvoiceDto = exports.ReservationNotifyDto = exports.ValidateEditSlotsDto = exports.EditReservationDetailsDto = exports.EditSlotsDto = exports.EditItemsRefundMetaDto = exports.UpdateSlotsDto = exports.AddSlotToSegmentDto = exports.FindBySlotDto = exports.UpdateReservationStatusDto = exports.FindBySegmentDto = exports.FindByFacilityDto = exports.FindByReservationDto = exports.getSlotFQueryParamsDto = exports.getSlotsSlotCardDto = exports.FindSlotsByFacilityIdFiltersDto = exports.FindReservationsByUserIdFiltersDto = exports.FindReservationsByOrganizationIdFiltersDto = exports.BookingDto = exports.BookingData = exports.UpdateSlotsPricesDto = exports.UpdateReservationPriceDto = exports.CategoryPricesDto = exports.SingleReservationIncludesDto = exports.SaveReservationDto = exports.ReservationInvoiceDto = exports.DraftReservationDto = exports.SimpleDraftReservationDto = exports.CreateDraftReservationDto = exports.ReservationDto = exports.ProductPricesDto = void 0;
3
+ exports.GenerateReservationDto = exports.ByDraftSlotIdDto = exports.DraftIdsDto = exports.GetDraftSlotsOptions = exports.GetDraftReservationOptionsDto = exports.GetDraftReservationAddonsQueryDto = exports.DraftSlotsFilterResultDto = exports.SimpleDraftSegmentDto = exports.ByDraftReservationIdDto = exports.GetDraftReservationSlotsFiltersDto = exports.AddSegmentsDto = exports.AddSlotsDto = exports.InvoiceReservationItemsDto = exports.SaveSlotToSegmenResultDto = exports.AddSlotToSegmenResultDto = exports.ChargeReservationResultDto = exports.UpdateCustomerSlotsColorsDto = exports.UpdateReservationSlotsColorsDto = exports.UpdateReservationInvoiceDto = exports.ReservationNotifyDto = exports.ValidateEditSlotsDto = exports.EditReservationDetailsDto = exports.EditSlotsDto = exports.EditItemsRefundMetaDto = exports.UpdateSlotsDto = exports.AddSlotToSegmentDto = exports.FindBySlotDto = exports.UpdateReservationStatusDto = exports.FindBySegmentDto = exports.FindByFacilityDto = exports.FindByReservationDto = exports.getSlotFQueryParamsDto = exports.getSlotsSlotCardDto = exports.FindSlotsByFacilityIdFiltersDto = exports.FindReservationsByUserIdFiltersDto = exports.FindReservationsByOrganizationIdFiltersDto = exports.BookingDto = exports.BookingData = exports.UpdateSlotsPricesDto = exports.UpdateReservationPriceDto = exports.CategoryPricesDto = exports.SingleReservationIncludesDto = exports.SaveReservationDto = exports.ReservationInvoiceDto = exports.DraftReservationDto = exports.SimpleDraftReservationDto = exports.CreateDraftReservationDto = exports.SegmentsAddonsDto = exports.ReservationDto = exports.ProductPricesDto = void 0;
4
+ exports.ReservationAddonsDto = exports.UpdateDraftSlotsDto = void 0;
4
5
  const general_dto_1 = require("../../dto/general.dto");
5
6
  const invoice_dto_1 = require("../../invoice/dto/invoice.dto");
6
7
  const organization_dto_1 = require("../../organization/dto/organization.dto");
@@ -14,6 +15,9 @@ class BaseReservationDto {
14
15
  class ReservationDto extends BaseReservationDto {
15
16
  }
16
17
  exports.ReservationDto = ReservationDto;
18
+ class SegmentsAddonsDto {
19
+ }
20
+ exports.SegmentsAddonsDto = SegmentsAddonsDto;
17
21
  class CreateDraftReservationDto extends BaseReservationDto {
18
22
  }
19
23
  exports.CreateDraftReservationDto = CreateDraftReservationDto;
@@ -163,4 +167,7 @@ exports.GenerateReservationDto = GenerateReservationDto;
163
167
  class UpdateDraftSlotsDto {
164
168
  }
165
169
  exports.UpdateDraftSlotsDto = UpdateDraftSlotsDto;
170
+ class ReservationAddonsDto {
171
+ }
172
+ exports.ReservationAddonsDto = ReservationAddonsDto;
166
173
  //# sourceMappingURL=reservation.dto.js.map
@@ -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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t?: 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.165",
4
4
  "description": "backend types module for Bond-Sports",
5
5
  "main": "./dist/index.js",
6
6
  "scripts": {