@bondsports/types 2.2.156 → 2.2.158

Sign up to get free protection for your applications and to get access to all the features.
@@ -41,9 +41,22 @@ export declare class SaveUserAsGroupCaptain {
41
41
  groupId: number;
42
42
  userId: number;
43
43
  }
44
- export declare class CreateTeamInviteDto {
44
+ export declare class InviteeDto {
45
+ source: string;
46
+ data: any;
47
+ name: string;
45
48
  emails: string[];
46
- userCreatorId: number;
49
+ phoneNumbers: string[];
50
+ }
51
+ export declare class CreateInviteToTeamDto {
52
+ inviterId: number;
53
+ inviterType: string;
54
+ invitees: InviteeDto[];
55
+ generateUrl: boolean;
56
+ feature: string;
57
+ bulk: boolean;
58
+ origin: number;
59
+ tokend: boolean;
47
60
  }
48
61
  export declare class TeamByIdDto {
49
62
  teamId: number;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.MoveTeamOrMembersByCsvDTO = exports.MoveTeamOrMemberDto = exports.UserTeamFutureSeasons = exports.JoinTeamDto = exports.JoinSuccessResponseDto = exports.CustomerJoinTeam = exports.GetInviteDto = exports.TeamByIdDto = exports.CreateTeamInviteDto = exports.SaveUserAsGroupCaptain = exports.MoveUserInGroups = exports.ConnectGroupToDivision = exports.CreateGroupDto = exports.CreateDivisionDto = exports.CreateBulkDivisionsDto = exports.FindByProgramSeasonIdDto = void 0;
3
+ exports.MoveTeamOrMembersByCsvDTO = exports.MoveTeamOrMemberDto = exports.UserTeamFutureSeasons = exports.JoinTeamDto = exports.JoinSuccessResponseDto = exports.CustomerJoinTeam = exports.GetInviteDto = exports.TeamByIdDto = exports.CreateInviteToTeamDto = exports.InviteeDto = exports.SaveUserAsGroupCaptain = exports.MoveUserInGroups = exports.ConnectGroupToDivision = exports.CreateGroupDto = exports.CreateDivisionDto = exports.CreateBulkDivisionsDto = exports.FindByProgramSeasonIdDto = void 0;
4
4
  class FindByProgramSeasonIdDto {
5
5
  }
6
6
  exports.FindByProgramSeasonIdDto = FindByProgramSeasonIdDto;
@@ -22,9 +22,12 @@ exports.MoveUserInGroups = MoveUserInGroups;
22
22
  class SaveUserAsGroupCaptain {
23
23
  }
24
24
  exports.SaveUserAsGroupCaptain = SaveUserAsGroupCaptain;
25
- class CreateTeamInviteDto {
25
+ class InviteeDto {
26
26
  }
27
- exports.CreateTeamInviteDto = CreateTeamInviteDto;
27
+ exports.InviteeDto = InviteeDto;
28
+ class CreateInviteToTeamDto {
29
+ }
30
+ exports.CreateInviteToTeamDto = CreateInviteToTeamDto;
28
31
  class TeamByIdDto {
29
32
  }
30
33
  exports.TeamByIdDto = TeamByIdDto;
@@ -1 +1 @@
1
- {"version":3,"file":"groupsDivisions.dto.js","sourceRoot":"","sources":["../../../src/types/dto/groupsDivisions.dto.ts"],"names":[],"mappings":";;;AAEA,MAAa,wBAAwB;CAEpC;AAFD,4DAEC;AAED,MAAa,sBAAsB;CAElC;AAFD,wDAEC;AAED,MAAa,iBAAiB;CAM7B;AAND,8CAMC;AAED,MAAa,cAAc;CAc1B;AAdD,wCAcC;AAED,MAAa,sBAAsB;CAIlC;AAJD,wDAIC;AACD,MAAa,gBAAgB;CAI5B;AAJD,4CAIC;AAED,MAAa,sBAAsB;CAGlC;AAHD,wDAGC;AAED,MAAa,mBAAmB;CAI/B;AAJD,kDAIC;AAED,MAAa,WAAW;CAEvB;AAFD,kCAEC;AAED,MAAa,YAAa,SAAQ,WAAW;CAE5C;AAFD,oCAEC;AAED,MAAa,gBAAgB;CAE5B;AAFD,4CAEC;AAED,MAAa,sBAAsB;CAElC;AAFD,wDAEC;AAED,MAAa,WAAW;CAMvB;AAND,kCAMC;AAED,MAAa,qBAAsB,SAAQ,WAAW;CAErD;AAFD,sDAEC;AAOD,MAAa,mBAAmB;CAU/B;AAVD,kDAUC;AAED,MAAa,yBAAyB;CAErC;AAFD,8DAEC"}
1
+ {"version":3,"file":"groupsDivisions.dto.js","sourceRoot":"","sources":["../../../src/types/dto/groupsDivisions.dto.ts"],"names":[],"mappings":";;;AAEA,MAAa,wBAAwB;CAEpC;AAFD,4DAEC;AAED,MAAa,sBAAsB;CAElC;AAFD,wDAEC;AAED,MAAa,iBAAiB;CAM7B;AAND,8CAMC;AAED,MAAa,cAAc;CAc1B;AAdD,wCAcC;AAED,MAAa,sBAAsB;CAIlC;AAJD,wDAIC;AACD,MAAa,gBAAgB;CAI5B;AAJD,4CAIC;AAED,MAAa,sBAAsB;CAGlC;AAHD,wDAGC;AAED,MAAa,UAAU;CAUpB;AAVH,gCAUG;AAED,MAAa,qBAAqB;CAgBjC;AAhBD,sDAgBC;AAEH,MAAa,WAAW;CAEvB;AAFD,kCAEC;AAED,MAAa,YAAa,SAAQ,WAAW;CAE5C;AAFD,oCAEC;AAED,MAAa,gBAAgB;CAE5B;AAFD,4CAEC;AAED,MAAa,sBAAsB;CAElC;AAFD,wDAEC;AAED,MAAa,WAAW;CAMvB;AAND,kCAMC;AAED,MAAa,qBAAsB,SAAQ,WAAW;CAErD;AAFD,sDAEC;AAOD,MAAa,mBAAmB;CAU/B;AAVD,kDAUC;AAED,MAAa,yBAAyB;CAErC;AAFD,8DAEC"}
@@ -19,6 +19,7 @@ import { AddonDto, DraftAddonDto } from './addon.dto';
19
19
  import { CreateDraftSegmentDto, DraftSegmentDto, SegmentDto } from './segment.dto';
20
20
  import { SeriesDto } from './series.dto';
21
21
  import { SlotDto, UpdateDraftSlotDto, UpdateSlotsColorsDto } from './slot.dto';
22
+ import { SimpleFacilityDto } from '../../dto/facilities.dto';
22
23
  export declare class ProductPricesDto {
23
24
  productId: number;
24
25
  product?: Product;
@@ -70,6 +71,7 @@ export declare class DraftReservationDto extends SimpleDraftReservationDto {
70
71
  products?: SimpleProductDto[];
71
72
  spaces?: SpaceResourceDto[];
72
73
  instructors?: InstructorResourceDto[];
74
+ facilities: SimpleFacilityDto[];
73
75
  }
74
76
  export declare class ReservationInvoiceDto {
75
77
  reservation: ReservationDto;
@@ -1 +1 @@
1
- {"version":3,"file":"reservation.dto.js","sourceRoot":"","sources":["../../../../src/types/reservations/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CAAkC,SAAQ,6BAAe;CAIrE;AAJD,8EAIC;AAED,MAAa,6BAA6B;CAYzC;AAZD,sEAYC;AAED,MAAa,oBAAoB;CAMhC;AAND,oDAMC;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"}
@@ -310,6 +310,7 @@ export interface IGetDraftReservationOptions {
310
310
  includeParticipants?: boolean;
311
311
  includeSegments?: boolean;
312
312
  includeSlots?: boolean;
313
+ includeFacilities?: boolean;
313
314
  }
314
315
  export interface IGetDraftReservationSlotsOptions extends IPagination, IExtendDraftSlotsOptions {
315
316
  segmentsIds?: string[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bondsports/types",
3
- "version": "2.2.156",
3
+ "version": "2.2.158",
4
4
  "description": "backend types module for Bond-Sports",
5
5
  "main": "./dist/index.js",
6
6
  "scripts": {