@bondsports/types 2.2.171 → 2.2.173

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,10 +1,11 @@
1
1
  import { MembershipMemberRenewal } from '../membership/entities/MembershipMemberRenewal';
2
2
  import { PaymentMethodTypeEnum } from '../payment/types/enums/payment.enums';
3
- import { CancellationStatusEnum, MembershipStatusEnum, MembershipTypeEnum } from './../services/enums.service';
3
+ import { CancellationStatusEnum, MembershipStatusEnum, MembershipTypeEnum, TimeUnitsEnum } from './../services/enums.service';
4
4
  import { Customer } from './Customer';
5
5
  import { Membership } from './Membership';
6
6
  import { OrganizationConnectionBaseEntity } from './OrganizationConnectionBaseEntity';
7
7
  import { ProductsUsers } from './ProductsUsers';
8
+ import { Reason } from '../organization/entities/Reason';
8
9
  export declare class MembershipMember extends OrganizationConnectionBaseEntity {
9
10
  membership: Membership;
10
11
  membershipId: number;
@@ -23,6 +24,12 @@ export declare class MembershipMember extends OrganizationConnectionBaseEntity {
23
24
  cancelledAt?: Date | null;
24
25
  cancellationReason?: string;
25
26
  cancellationStatus?: CancellationStatusEnum;
27
+ pauseStartDate?: Date;
28
+ pauseEndDate?: Date;
29
+ pauseDurationType?: TimeUnitsEnum;
30
+ pauseDurationValue?: number;
31
+ pauseReasonId?: number;
32
+ pauseReason?: Reason;
26
33
  isImported?: boolean;
27
34
  deletedAt?: Date;
28
35
  renewals?: MembershipMemberRenewal[];
@@ -1 +1 @@
1
- {"version":3,"file":"MembershipMember.js","sourceRoot":"","sources":["../../../src/types/entity/MembershipMember.ts"],"names":[],"mappings":";;;AAMA,yFAAsF;AAGtF,MAAa,gBAAiB,SAAQ,mEAAgC;CA8CrE;AA9CD,4CA8CC"}
1
+ {"version":3,"file":"MembershipMember.js","sourceRoot":"","sources":["../../../src/types/entity/MembershipMember.ts"],"names":[],"mappings":";;;AAMA,yFAAsF;AAItF,MAAa,gBAAiB,SAAQ,mEAAgC;CA0DrE;AA1DD,4CA0DC"}
@@ -2,7 +2,8 @@ import { MembershipMember } from '../../entity/MembershipMember';
2
2
  import { OrganizationConnectionBaseEntity } from '../../entity/OrganizationConnectionBaseEntity';
3
3
  import { ProductsUsers } from '../../entity/ProductsUsers';
4
4
  import { PaymentMethodTypeEnum } from '../../payment/types/enums/payment.enums';
5
- import { CancellationStatusEnum, MembershipStatusEnum } from '../../services/enums.service';
5
+ import { CancellationStatusEnum, MembershipStatusEnum, TimeUnitsEnum } from '../../services/enums.service';
6
+ import { Reason } from '../../organization/entities/Reason';
6
7
  export declare class MembershipMemberRenewal extends OrganizationConnectionBaseEntity {
7
8
  userId: number;
8
9
  startDate?: string;
@@ -18,6 +19,12 @@ export declare class MembershipMemberRenewal extends OrganizationConnectionBaseE
18
19
  answerTitleIds?: number[];
19
20
  paymentMethodId?: string;
20
21
  paymentMethodType?: PaymentMethodTypeEnum;
22
+ pauseStartDate?: Date;
23
+ pauseEndDate?: Date;
24
+ pauseDurationType?: TimeUnitsEnum;
25
+ pauseDurationValue?: number;
26
+ pauseReasonId?: number;
27
+ pauseReason?: Reason;
21
28
  member?: MembershipMember;
22
29
  productUser?: ProductsUsers;
23
30
  membershipStatus?: MembershipStatusEnum;
@@ -1 +1 @@
1
- {"version":3,"file":"MembershipMemberRenewal.js","sourceRoot":"","sources":["../../../../src/types/membership/entities/MembershipMemberRenewal.ts"],"names":[],"mappings":";;;AAEA,oGAAiG;AAKjG,MAAa,uBAAwB,SAAQ,mEAAgC;CAmC5E;AAnCD,0DAmCC"}
1
+ {"version":3,"file":"MembershipMemberRenewal.js","sourceRoot":"","sources":["../../../../src/types/membership/entities/MembershipMemberRenewal.ts"],"names":[],"mappings":";;;AAEA,oGAAiG;AAMjG,MAAa,uBAAwB,SAAQ,mEAAgC;CA+C5E;AA/CD,0DA+CC"}
@@ -48,10 +48,12 @@ declare class BaseReservationDto implements IBaseReservation {
48
48
  colorCodeId?: number;
49
49
  customerId?: number;
50
50
  }
51
- export declare class ReservationDto extends BaseReservationDto {
51
+ export declare class SimpleReservationDto extends BaseReservationDto {
52
52
  id?: number;
53
53
  status?: ReservationStatusEnum;
54
54
  paymentStatus?: ReservationPaymentStatusEnum;
55
+ }
56
+ export declare class ReservationDto extends SimpleReservationDto {
55
57
  segments: SegmentDto[];
56
58
  addons?: AddonDto[];
57
59
  targetGlobalPrice?: number;
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- 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.SaveReservationOptionsDto = exports.ReservationInvoiceDto = exports.DraftReservationDto = exports.SimpleDraftReservationDto = exports.CreateDraftReservationDto = exports.SegmentsAddonsDto = exports.CreateSegmentsAddonsDto = exports.ReservationDto = exports.ProductPricesDto = void 0;
4
- exports.CreateReservationCartDto = exports.ProblematicProductDto = exports.CreateReservationAddonsDto = exports.ReservationAddonsDto = exports.SegmentsAddonsGroupDto = exports.UpdateDraftSlotsDto = exports.GenerateReservationDto = exports.ByDraftSlotIdDto = void 0;
3
+ 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.SaveReservationOptionsDto = exports.ReservationInvoiceDto = exports.DraftReservationDto = exports.SimpleDraftReservationDto = exports.CreateDraftReservationDto = exports.SegmentsAddonsDto = exports.CreateSegmentsAddonsDto = exports.ReservationDto = exports.SimpleReservationDto = exports.ProductPricesDto = void 0;
4
+ exports.CreateReservationCartDto = exports.ProblematicProductDto = exports.CreateReservationAddonsDto = exports.ReservationAddonsDto = exports.SegmentsAddonsGroupDto = exports.UpdateDraftSlotsDto = exports.GenerateReservationDto = exports.ByDraftSlotIdDto = exports.DraftIdsDto = void 0;
5
5
  const general_dto_1 = require("../../dto/general.dto");
6
6
  const invoice_dto_1 = require("../../invoice/dto/invoice.dto");
7
7
  const organization_dto_1 = require("../../organization/dto/organization.dto");
@@ -12,7 +12,10 @@ class ProductPricesDto {
12
12
  exports.ProductPricesDto = ProductPricesDto;
13
13
  class BaseReservationDto {
14
14
  }
15
- class ReservationDto extends BaseReservationDto {
15
+ class SimpleReservationDto extends BaseReservationDto {
16
+ }
17
+ exports.SimpleReservationDto = SimpleReservationDto;
18
+ class ReservationDto extends SimpleReservationDto {
16
19
  }
17
20
  exports.ReservationDto = ReservationDto;
18
21
  class BaseSegmentsAddonsGroupDto {
@@ -1 +1 @@
1
- {"version":3,"file":"reservation.dto.js","sourceRoot":"","sources":["../../../../src/types/reservations/dto/reservation.dto.ts"],"names":[],"mappings":";;;;AAGA,uDAAwD;AACxD,+DAAsG;AAEtG,8EAA8E;AAK9E,kEAAwF;AA4CxF,MAAM,uBAAuB,GAAG,IAAI,CAAC;AAErC,MAAa,gBAAgB;CAc5B;AAdD,4CAcC;AAED,MAAM,kBAAkB;CA8BvB;AAED,MAAa,cAAe,SAAQ,kBAAkB;CAerD;AAfD,wCAeC;AAED,MAAM,0BAA0B;CAM/B;AAED,MAAa,uBAAwB,SAAQ,0BAA0B;CAEtE;AAFD,0DAEC;AAED,MAAa,iBAAkB,SAAQ,uBAAuB;CAE7D;AAFD,8CAEC;AAED,MAAa,yBAA0B,SAAQ,kBAAkB;CAEhE;AAFD,8DAEC;AAED,MAAa,yBAA0B,SAAQ,yBAAyB;CAIvE;AAJD,8DAIC;AAED,MAAa,mBAAoB,SAAQ,yBAAyB;CAkBjE;AAlBD,kDAkBC;AAED,MAAa,qBAAqB;CAMjC;AAND,sDAMC;AAED,MAAa,yBAAyB;CAIrC;AAJD,8DAIC;AAED,MAAa,kBAAmB,SAAQ,yBAAyB;CAIhE;AAJD,gDAIC;AAED,MAAa,4BAA4B;CAcxC;AAdD,oEAcC;AAED,MAAa,iBAAiB;CAI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gCAAiB;CAIhE;AAJD,gEAIC;AAED,MAAa,wBAAwB;CAQpC;AARD,4DAQC;AACD,MAAa,yBAA0B,SAAQ,wBAAwB;CAEtE;AAFD,8DAEC;AAED,MAAa,0BAA2B,SAAQ,qCAAuB;CAMtE;AAND,gEAMC;AAED,MAAa,WAAY,SAAQ,8BAAgB;CAEhD;AAFD,kCAEC;AAED,MAAa,cAAe,SAAQ,8BAAgB;CAEnD;AAFD,wCAEC;AAED,MAAa,kCACZ,SAAQ,6BAAe;CAuBvB;AAxBD,gFAwBC;AAED,MAAa,uBAAwB,SAAQ,sCAAmB;CAE/D;AAFD,0DAEC;AAED,MAAa,qBAAqB;CAIjC;AAJD,sDAIC;AAED,MAAa,yBAAyB;CAYrC;AAZD,8DAYC;AAED,MAAa,iCAAkC,SAAQ,6BAAe;CAIrE;AAJD,8EAIC;AAED,MAAa,6BAA6B;CAkBzC;AAlBD,sEAkBC;AAED,MAAa,oBAAoB;CAQhC;AARD,oDAQC;AAED,MAAa,WAAY,SAAQ,oBAAoB;CAEpD;AAFD,kCAEC;AAED,MAAa,gBAAiB,SAAQ,uBAAuB;CAE5D;AAFD,4CAEC;AAED,MAAa,sBAAsB;CAMlC;AAND,wDAMC;AAED,MAAa,mBAAmB;CAI/B;AAJD,kDAIC;AAED,MAAa,sBAAuB,SAAQ,0BAA0B;CAErE;AAFD,wDAEC;AAED,MAAa,oBAAoB;CAIhC;AAJD,oDAIC;AAED,MAAa,0BAA0B;CAUtC;AAVD,gEAUC;AAED,MAAa,qBAAqB;CAQjC;AARD,sDAQC;AAED,MAAa,wBAAwB;CAEpC;AAFD,4DAEC"}
1
+ {"version":3,"file":"reservation.dto.js","sourceRoot":"","sources":["../../../../src/types/reservations/dto/reservation.dto.ts"],"names":[],"mappings":";;;;AAGA,uDAAwD;AACxD,+DAAsG;AAEtG,8EAA8E;AAK9E,kEAAwF;AA4CxF,MAAM,uBAAuB,GAAG,IAAI,CAAC;AAErC,MAAa,gBAAgB;CAc5B;A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AoB;CAQhC;AARD,oDAQC;AAED,MAAa,WAAY,SAAQ,oBAAoB;CAEpD;AAFD,kCAEC;AAED,MAAa,gBAAiB,SAAQ,uBAAuB;CAE5D;AAFD,4CAEC;AAED,MAAa,sBAAsB;CAMlC;AAND,wDAMC;AAED,MAAa,mBAAmB;CAI/B;AAJD,kDAIC;AAED,MAAa,sBAAuB,SAAQ,0BAA0B;CAErE;AAFD,wDAEC;AAED,MAAa,oBAAoB;CAIhC;AAJD,oDAIC;AAED,MAAa,0BAA0B;CAUtC;AAVD,gEAUC;AAED,MAAa,qBAAqB;CAQjC;AARD,sDAQC;AAED,MAAa,wBAAwB;CAEpC;AAFD,4DAEC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bondsports/types",
3
- "version": "2.2.171",
3
+ "version": "2.2.173",
4
4
  "description": "backend types module for Bond-Sports",
5
5
  "main": "./dist/index.js",
6
6
  "scripts": {