@bondsports/types 2.2.89 → 2.2.91

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,5 +1,5 @@
1
- import { PaymentStatusEnum } from '../payment/types/enums/payment.enums';
2
- import { CustomerInMembershipTypeEnum, GenderEnum, MembershipFilterByPropertyEnum, MembershipOrderByPropertyEnum, MembershipStatusEnum, MembershipTypeEnum, OrderByEnum, SportsEnum } from '../services/enums.service';
1
+ import { PaymentMethodTypeEnum, PaymentStatusEnum } from '../payment/types/enums/payment.enums';
2
+ import { CancellationStatusEnum, CustomerInMembershipTypeEnum, GenderEnum, MembershipFilterByPropertyEnum, MembershipOrderByPropertyEnum, MembershipStatusEnum, MembershipTypeEnum, OrderByEnum, SportsEnum } from '../services/enums.service';
3
3
  import { IdAndNameDto, PaginationQuery } from './general.dto';
4
4
  import { ImportResponseDto } from '../import/dto/import.dto';
5
5
  export declare class CreateMembershipDto {
@@ -95,6 +95,24 @@ export declare class MembershipMemberDto {
95
95
  userId: number;
96
96
  productId: number;
97
97
  membershipId: number;
98
+ productUserId?: number;
99
+ membershipType?: MembershipTypeEnum;
100
+ durationMonths?: number;
101
+ startDate?: string;
102
+ endDate?: string;
103
+ renewalOfMemberId?: number;
104
+ isAutoRenew?: boolean;
105
+ nextPaymentMethodId?: string;
106
+ nextPaymentType?: PaymentMethodTypeEnum;
107
+ answerTitleIds?: number[];
108
+ cancelledAt?: Date;
109
+ cancellationReason?: string;
110
+ cancellationStatus?: CancellationStatusEnum;
111
+ membershipStatus?: MembershipStatusEnum;
98
112
  }
99
113
  export declare class MembershipMemberImportResponseDto extends ImportResponseDto<MembershipMemberDto> {
100
114
  }
115
+ export declare class AddFamilyMemberToMembershipDto {
116
+ membershipIds: number[];
117
+ userIds: number[];
118
+ }
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.MembershipMemberImportResponseDto = exports.MembershipMemberDto = exports.MembershipImportResponseDto = exports.DateAndUserIdsDto = exports.SimpleMembershipDto = exports.GetMembershipDataQueryDto = exports.CancelMembershipDto = exports.FindMembersOptionsDto = exports.MemberIdDto = exports.MembershipIdsDto = exports.SetMembersStartDateByOrganization = exports.FindMembershipsByUserIdDto = exports.FindMembershipByFiltersDto = exports.FindMembershipsByOrganizationIdDto = exports.FindMembershipByIdDto = exports.UpdateMembershipMediaDto = exports.UpdateMembrshipDto = exports.CreateMembershipDto = void 0;
3
+ exports.AddFamilyMemberToMembershipDto = exports.MembershipMemberImportResponseDto = exports.MembershipMemberDto = exports.MembershipImportResponseDto = exports.DateAndUserIdsDto = exports.SimpleMembershipDto = exports.GetMembershipDataQueryDto = exports.CancelMembershipDto = exports.FindMembersOptionsDto = exports.MemberIdDto = exports.MembershipIdsDto = exports.SetMembersStartDateByOrganization = exports.FindMembershipsByUserIdDto = exports.FindMembershipByFiltersDto = exports.FindMembershipsByOrganizationIdDto = exports.FindMembershipByIdDto = exports.UpdateMembershipMediaDto = exports.UpdateMembrshipDto = exports.CreateMembershipDto = void 0;
4
4
  const general_dto_1 = require("./general.dto");
5
5
  const import_dto_1 = require("../import/dto/import.dto");
6
6
  class CreateMembershipDto {
@@ -57,4 +57,7 @@ exports.MembershipMemberDto = MembershipMemberDto;
57
57
  class MembershipMemberImportResponseDto extends import_dto_1.ImportResponseDto {
58
58
  }
59
59
  exports.MembershipMemberImportResponseDto = MembershipMemberImportResponseDto;
60
+ class AddFamilyMemberToMembershipDto {
61
+ }
62
+ exports.AddFamilyMemberToMembershipDto = AddFamilyMemberToMembershipDto;
60
63
  //# sourceMappingURL=membership.dto.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"membership.dto.js","sourceRoot":"","sources":["../../../src/types/dto/membership.dto.ts"],"names":[],"mappings":";;;AAWA,+CAAqE;AAGrE,yDAA6D;AAE7D,MAAa,mBAAmB;CA0C/B;AA1CD,kDA0CC;AAED,MAAa,kBAAmB,SAAQ,mBAAmB;CAE1D;AAFD,gDAEC;AAED,MAAa,wBAAwB;CAGpC;AAHD,4DA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AED,MAAa,WAAW;CAEvB;AAFD,kCAEC;AAED,MAAa,qBAAsB,SAAQ,6BAAe;CAGzD;AAHD,sDAGC;AAED,MAAa,mBAAmB;CAG/B;AAHD,kDAGC;AAED,MAAa,yBAA0B,SAAQ,6BAAe;CAU7D;AAVD,8DAUC;AAED,MAAa,mBAAoB,SAAQ,0BAAY;CAYpD;AAZD,kDAYC;AAED,MAAa,iBAAiB;CAI7B;AAJD,8CAIC;AAED,MAAa,2BAA4B,SAAQ,8BAAsC;CAAG;AAA1F,kEAA0F;AAE1F,MAAa,mBAAmB;CAkC/B;AAlCD,kDAkCC;AAED,MAAa,iCAAkC,SAAQ,8BAAsC;CAAG;AAAhG,8EAAgG;AAEhG,MAAa,8BAA8B;CAI1C;AAJD,wEAIC"}
@@ -119,3 +119,8 @@ export interface IProductRelatedMembership {
119
119
  membershipId: number;
120
120
  productId: number;
121
121
  }
122
+ export interface IValidateMembershipRegistrationOptions {
123
+ isAutoRenewal?: boolean;
124
+ skipRegistrationDates?: boolean;
125
+ membership?: Membership;
126
+ }
@@ -8,7 +8,7 @@ import { PurchasePaymentDto, PurchaseResultDto } from '../../purchase/dto/purcha
8
8
  import { AddonParentTypeEnum, NotifyMethodEnum, PlatformsEnum, ProgramTypesEnum, ResourceNameTypeEnum, ResourceTypeEnum, SportsEnum, UpdatePricesTypeEnum } from '../../services/enums.service';
9
9
  import { Reservation } from '../entities/reservation.entity';
10
10
  import { PrivacySettingsEnum, ReservationPaymentStatusEnum, ReservationStatusEnum, ReservationTypeEnum, SlotTypeEnum } from '../types/enums/reservation.enums';
11
- import { IGetDraftReservationAddonsQuery, IGetDraftReservationOptions, IGetDraftReservationSlotsFilter, ISaveReservationOptions } from '../types/interfaces/reservation.interfaces';
11
+ import { IGetDraftReservationAddonsQuery, IGetDraftReservationOptions, IGetDraftReservationSlotsFilter, IGetDraftReservationSlotsOptions, ISaveReservationOptions } from '../types/interfaces/reservation.interfaces';
12
12
  import { AddonDto, DraftAddonDto } from './addon.dto';
13
13
  import { CreateDraftSegmentDto, DraftSegmentDto, SegmentDto } from './segment.dto';
14
14
  import { SeriesDto } from './series.dto';
@@ -225,7 +225,7 @@ export declare class AddSlotsDto extends UpdateInvoiceDto {
225
225
  export declare class AddSegmentsDto extends UpdateInvoiceDto {
226
226
  segments: SegmentDto[];
227
227
  }
228
- export declare class GetDraftReservationSlotsFilters extends PaginationQuery implements IGetDraftReservationSlotsFilter {
228
+ export declare class GetDraftReservationSlotsFilters extends PaginationQuery implements IGetDraftReservationSlotsFilter, IGetDraftReservationSlotsOptions {
229
229
  segmentsIds: string[];
230
230
  days?: number[];
231
231
  months?: number[];
@@ -235,6 +235,7 @@ export declare class GetDraftReservationSlotsFilters extends PaginationQuery imp
235
235
  includeConflicts: boolean;
236
236
  startDate: Date;
237
237
  endDate: Date;
238
+ includeResources?: boolean;
238
239
  }
239
240
  export declare class ByDraftReservationId extends ByOrganizationIdDto {
240
241
  reservationId: string;
@@ -1 +1 @@
1
- {"version":3,"file":"reservation.dto.js","sourceRoot":"","sources":["../../../../src/types/reservations/dto/reservation.dto.ts"],"names":[],"mappings":";;;AACA,uDAAwD;AACxD,+DAAsG;AACtG,8EAA8E;AAI9E,kEAAwF;AAsCxF,MAAM,uBAAuB,GAAG,IAAI,CAAC;AAErC,MAAa,gBAAgB;CAU5B;AAVD,4CAUC;AAED,MAAM,kBAAkB;CAiCvB;AAED,MAAa,cAAe,SAAQ,kBAAkB;CAcrD;AAdD,wCAcC;AAED,MAAa,yBAA0B,SAAQ,kBAAkB;CAQhE;AARD,8DAQC;AAED,MAAa,mBAAoB,SAAQ,yBAAyB;CAYjE;AAZD,kDAYC;AAED,MAAa,qBAAqB;CAMjC;AAND,sDAMC;AACD,MAAa,kBAAkB;CAQ9B;AARD,gDAQC;AAED,MAAa,4BAA4B;CAcxC;AAdD,oEAcC;AAED,MAAa,iBAAiB;CAI7B;AAJD,8CAIC;AAED,MAAM,cAAc;CAQnB;AAED,MAAa,yBAA0B,SAAQ,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ND,gEAMC;AAED,MAAa,WAAY,SAAQ,8BAAgB;CAEhD;AAFD,kCAEC;AAED,MAAa,cAAe,SAAQ,8BAAgB;CAEnD;AAFD,wCAEC;AAED,MAAa,+BACZ,SAAQ,6BAAe;CAqBvB;AAtBD,0EAsBC;AAED,MAAa,oBAAqB,SAAQ,sCAAmB;CAE5D;AAFD,oDAEC;AAED,MAAa,qBAAqB;CAIjC;AAJD,sDAIC;AAED,MAAa,yBAAyB;CAYrC;AAZD,8DAYC;AAED,MAAa,iCAAkC,SAAQ,6BAAe;CAIrE;AAJD,8EAIC;AAED,MAAa,6BAA6B;CAYzC;AAZD,sEAYC"}
@@ -5,6 +5,7 @@ import { IOverridePriceMeta } from '../types/interfaces/reservation.interfaces';
5
5
  import { ISlotProductMetadata } from '../types/interfaces/slot.interfaces';
6
6
  import { AddonDto, DraftAddonDto } from './addon.dto';
7
7
  import { MaintenanceDto } from './maintenance.dto';
8
+ import { SimpleResourceDto } from '../../resources/dto/resource.dto';
8
9
  export declare class DateTimeAndResourcesDto {
9
10
  startDate: string;
10
11
  startTime?: string;
@@ -37,6 +38,7 @@ declare class BaseSlotDto extends DateTimeAndResourcesDto {
37
38
  colorCodeId?: number;
38
39
  participantsNumber?: number;
39
40
  conflictsIds?: number[];
41
+ occurrence?: number;
40
42
  }
41
43
  export declare class SlotDto extends BaseSlotDto {
42
44
  id?: number;
@@ -48,7 +50,6 @@ export declare class SlotDto extends BaseSlotDto {
48
50
  invoicId?: number;
49
51
  paymentStatus: ReservationPaymentStatusEnum;
50
52
  approvalStatus: ReservationStatusEnum;
51
- occurrence?: number;
52
53
  product?: Product;
53
54
  priceOverrideMeta?: IOverridePriceMeta;
54
55
  addonPriceOverrideMeta?: {
@@ -92,5 +93,8 @@ export declare class DraftSlotDto extends BaseSlotDto {
92
93
  maintenanceSlots?: DraftSlotDto[];
93
94
  addons?: DraftAddonDto[];
94
95
  participantsIds?: number[];
96
+ space?: SimpleResourceDto;
97
+ instructors?: SimpleResourceDto[];
98
+ totalSlotsInSeries?: number;
95
99
  }
96
100
  export {};
@@ -1 +1 @@
1
- {"version":3,"file":"slot.dto.js","sourceRoot":"","sources":["../../../../src/types/reservations/dto/slot.dto.ts"],"names":[],"mappings":";;;AAkBA,MAAa,uBAAuB;CAYnC;AAZD,0DAYC;AAED,MAAM,WAAY,SAAQ,uBAAuB;CA8ChD;AAED,MAAa,OAAQ,SAAQ,WAAW;CAkCvC;AAlCD,0BAkCC;AAED,MAAa,sBAAsB;CAMlC;AAND,wDAMC;AAED,MAAa,WAAW;CAevB;AAfD,kCAeC;AAED,MAAa,YAAY;CAExB;AAFD,oCAEC;AAED,MAAa,WAAW;CAEvB;AAFD,kCAEC;AAED,MAAa,oBAAoB;CAIhC;AAJD,oDAIC;AAED,MAAa,YAAa,SAAQ,WAAW;CAc5C;AAdD,oCAcC"}
1
+ {"version":3,"file":"slot.dto.js","sourceRoot":"","sources":["../../../../src/types/reservations/dto/slot.dto.ts"],"names":[],"mappings":";;;AAmBA,MAAa,uBAAuB;CAYnC;AAZD,0DAYC;AAED,MAAM,WAAY,SAAQ,uBAAuB;CAgDhD;AAED,MAAa,OAAQ,SAAQ,WAAW;CA+BvC;AA/BD,0BA+BC;AAED,MAAa,sBAAsB;CAMlC;AAND,wDAMC;AAED,MAAa,WAAW;CAevB;AAfD,kCAeC;AAED,MAAa,YAAY;CAExB;AAFD,oCAEC;AAED,MAAa,WAAW;CAEvB;AAFD,kCAEC;AAED,MAAa,oBAAoB;CAIhC;AAJD,oDAIC;AAED,MAAa,YAAa,SAAQ,WAAW;CAoB5C;AApBD,oCAoBC"}
@@ -23,6 +23,7 @@ import { Segment } from '../../entities/segment.entity';
23
23
  import { Series } from '../../entities/series.entity';
24
24
  import { Slot } from '../../entities/slot.entity';
25
25
  import { ReservationStatusEnum, ReservationTypeEnum, SlotTypeEnum } from '../enums/reservation.enums';
26
+ import { IPagination } from '../../../util/models/interfaces/general.interfaces';
26
27
  export type TDtoResource = ReservationDto | SegmentDto | SeriesDto | SlotDto | AddonDto;
27
28
  export type TResource = Reservation | Segment | Series | Slot | Addon;
28
29
  export type TSlotAndType = {
@@ -297,6 +298,9 @@ export interface IGetDraftReservationSlotsFilter {
297
298
  startDate?: Date;
298
299
  endDate?: Date;
299
300
  }
301
+ export interface IGetDraftReservationSlotsOptions extends IPagination {
302
+ includeResources?: boolean;
303
+ }
300
304
  export interface IGetDraftReservationAddonsQuery {
301
305
  addonType: AddonParentTypeEnum;
302
306
  segmentsIds?: string[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bondsports/types",
3
- "version": "2.2.89",
3
+ "version": "2.2.91",
4
4
  "description": "backend types module for Bond-Sports",
5
5
  "main": "./dist/index.js",
6
6
  "scripts": {