@bondsports/types 2.4.60-a-1 → 2.4.61

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (23) hide show
  1. package/dist/tsconfig.build.tsbuildinfo +1 -1
  2. package/dist/types/employees/types/index.d.ts +0 -1
  3. package/dist/types/employees/types/index.js +0 -1
  4. package/dist/types/employees/types/index.js.map +1 -1
  5. package/dist/types/invoice/types/consts/invoice.consts.d.ts +2 -0
  6. package/dist/types/invoice/types/consts/invoice.consts.js +7 -1
  7. package/dist/types/invoice/types/consts/invoice.consts.js.map +1 -1
  8. package/dist/types/leagues-scheduler/types/interfaces.d.ts +11 -11
  9. package/dist/types/leagues-scheduler/types/interfaces.js.map +1 -1
  10. package/dist/types/purchase/types/interfaces/purchase.interfaces.d.ts +1 -1
  11. package/dist/types/reservations/types/interfaces/reservation.interfaces.d.ts +1 -1
  12. package/dist/types/session-participants/dto/get.session.participant.dto.d.ts +12 -0
  13. package/dist/types/session-participants/dto/get.session.participant.dto.js +13 -1
  14. package/dist/types/session-participants/dto/get.session.participant.dto.js.map +1 -1
  15. package/dist/types/session-participants/dto/session.participant.dto.d.ts +25 -0
  16. package/dist/types/session-participants/dto/session.participant.dto.js +7 -1
  17. package/dist/types/session-participants/dto/session.participant.dto.js.map +1 -1
  18. package/dist/types/session-participants/types/classes.d.ts +23 -1
  19. package/dist/types/session-participants/types/classes.js +4 -1
  20. package/dist/types/session-participants/types/classes.js.map +1 -1
  21. package/dist/types/session-participants/types/interfaces.d.ts +23 -0
  22. package/dist/types/templates/types/event-roster.types.d.ts +13 -13
  23. package/package.json +1 -1
@@ -1,4 +1,3 @@
1
- export * from './';
2
1
  export * from './consts';
3
2
  export * from './enums';
4
3
  export * from './interfaces';
@@ -14,7 +14,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./"), exports);
18
17
  __exportStar(require("./consts"), exports);
19
18
  __exportStar(require("./enums"), exports);
20
19
  __exportStar(require("./interfaces"), exports);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/employees/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,qCAAmB;AACnB,2CAAyB;AACzB,0CAAwB;AACxB,+CAA6B;AAC7B,+CAA6B"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/employees/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2CAAyB;AACzB,0CAAwB;AACxB,+CAA6B;AAC7B,+CAA6B"}
@@ -1,7 +1,9 @@
1
1
  import { InvoiceDiscountOnEnum } from '../../../payment/types/enums/discount.enums';
2
+ import { PaymentStatusEnum } from '../../../payment/types/enums/payment.enums';
2
3
  export declare const discountOnMapper: {
3
4
  [key: string]: InvoiceDiscountOnEnum;
4
5
  };
6
+ export declare const ORGANIZATION_INVOICE_SETTLED_PAYMENT_STATUSES: PaymentStatusEnum[];
5
7
  type HasIdOrUnique = {
6
8
  id?: number | string;
7
9
  unique?: string;
@@ -1,11 +1,17 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.getUniqueKey = exports.discountOnMapper = void 0;
3
+ exports.getUniqueKey = exports.ORGANIZATION_INVOICE_SETTLED_PAYMENT_STATUSES = exports.discountOnMapper = void 0;
4
4
  const discount_enums_1 = require("../../../payment/types/enums/discount.enums");
5
+ const payment_enums_1 = require("../../../payment/types/enums/payment.enums");
5
6
  exports.discountOnMapper = {
6
7
  [discount_enums_1.DiscountOnEnum.ITEM]: discount_enums_1.InvoiceDiscountOnEnum.LINE_ITEM,
7
8
  [discount_enums_1.DiscountOnEnum.ALL]: discount_enums_1.InvoiceDiscountOnEnum.INVOICE,
8
9
  };
10
+ exports.ORGANIZATION_INVOICE_SETTLED_PAYMENT_STATUSES = [
11
+ payment_enums_1.PaymentStatusEnum.FULLY_PAID,
12
+ payment_enums_1.PaymentStatusEnum.VOID,
13
+ payment_enums_1.PaymentStatusEnum.REFUNDED,
14
+ ];
9
15
  /**
10
16
  * Generates a unique key for a given cart item.
11
17
  */
@@ -1 +1 @@
1
- {"version":3,"file":"invoice.consts.js","sourceRoot":"","sources":["../../../../../src/types/invoice/types/consts/invoice.consts.ts"],"names":[],"mappings":";;;AAAA,gFAAoG;AAEvF,QAAA,gBAAgB,GAA6C;IACzE,CAAC,+BAAc,CAAC,IAAI,CAAC,EAAE,sCAAqB,CAAC,SAAS;IACtD,CAAC,+BAAc,CAAC,GAAG,CAAC,EAAE,sCAAqB,CAAC,OAAO;CACnD,CAAC;AAOF;;GAEG;AACI,MAAM,YAAY,GAAsC,CAAC,MAAqB,EAAU,EAAE;IAChG,OAAO,MAAM,CAAC,EAAE,EAAE,QAAQ,EAAE,IAAI,MAAM,CAAC,MAAM,CAAC;AAC/C,CAAC,CAAC;AAFW,QAAA,YAAY,gBAEvB"}
1
+ {"version":3,"file":"invoice.consts.js","sourceRoot":"","sources":["../../../../../src/types/invoice/types/consts/invoice.consts.ts"],"names":[],"mappings":";;;AAAA,gFAAoG;AACpG,8EAA+E;AAElE,QAAA,gBAAgB,GAA6C;IACzE,CAAC,+BAAc,CAAC,IAAI,CAAC,EAAE,sCAAqB,CAAC,SAAS;IACtD,CAAC,+BAAc,CAAC,GAAG,CAAC,EAAE,sCAAqB,CAAC,OAAO;CACnD,CAAC;AAEW,QAAA,6CAA6C,GAAwB;IACjF,iCAAiB,CAAC,UAAU;IAC5B,iCAAiB,CAAC,IAAI;IACtB,iCAAiB,CAAC,QAAQ;CAC1B,CAAC;AAOF;;GAEG;AACI,MAAM,YAAY,GAAsC,CAAC,MAAqB,EAAU,EAAE;IAChG,OAAO,MAAM,CAAC,EAAE,EAAE,QAAQ,EAAE,IAAI,MAAM,CAAC,MAAM,CAAC;AAC/C,CAAC,CAAC;AAFW,QAAA,YAAY,gBAEvB"}
@@ -35,7 +35,6 @@ export interface IScheduleConfig {
35
35
  blackoutDates?: string[];
36
36
  breakBetweenGames?: number;
37
37
  byeWeekPolicy: ByeWeekPolicyEnum;
38
- respectDivisionBoundaries?: boolean;
39
38
  gameDuration: number;
40
39
  gamesPerTeam?: number;
41
40
  gamesPerWeek: number;
@@ -47,6 +46,7 @@ export interface IScheduleConfig {
47
46
  preferredTimes?: string[];
48
47
  resourceIds?: number[];
49
48
  resourcePriorities?: Record<number, number>;
49
+ respectDivisionBoundaries?: boolean;
50
50
  rounds?: number;
51
51
  seasonEndDate?: string;
52
52
  seasonStartDate: string;
@@ -99,23 +99,23 @@ export interface IConflictingResource {
99
99
  name: string;
100
100
  }
101
101
  export interface IScheduleConflict {
102
+ /** Division this conflict pertains to (for division-level warnings). */
103
+ divisionId?: number;
102
104
  gameId: string;
103
105
  conflictingEvent?: IConflictingEvent;
104
- endTime?: string;
105
- resource?: IConflictingResource;
106
- severity: ValidationSeverityEnum;
107
- startDate?: string;
108
- startTime?: string;
109
- type: ScheduleConflictTypeEnum;
110
106
  /**
111
107
  * Human-readable description used by the FE when type-specific fields
112
108
  * (resource, event, date) don't apply — e.g. division-level warnings.
113
109
  */
114
110
  description?: string;
115
- /** Division this conflict pertains to (for division-level warnings). */
116
- divisionId?: number;
117
111
  /** Display name of the division for FE rendering. */
118
112
  divisionName?: string;
113
+ endTime?: string;
114
+ resource?: IConflictingResource;
115
+ severity: ValidationSeverityEnum;
116
+ startDate?: string;
117
+ startTime?: string;
118
+ type: ScheduleConflictTypeEnum;
119
119
  }
120
120
  export interface IGenerateScheduleOptions {
121
121
  isGenerateOptimized?: boolean;
@@ -284,15 +284,15 @@ export interface ICreateEventsParams {
284
284
  export interface IScheduleTeam {
285
285
  id: number;
286
286
  divisionId?: number;
287
- divisionName?: string;
288
287
  ancestors?: number[];
288
+ divisionName?: string;
289
289
  name: string;
290
290
  }
291
291
  export interface ITeamDivisionIndex {
292
+ divisionNameMap: Map<number, string>;
292
293
  teamDivisionMap: Map<number, number>;
293
294
  teamNameMap: Map<number, string>;
294
295
  teamsByDivision: Map<number, IScheduleTeam[]>;
295
- divisionNameMap: Map<number, string>;
296
296
  }
297
297
  export interface ITeamPairing {
298
298
  awayTeam: IScheduleTeam;
@@ -1 +1 @@
1
- {"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../../../../src/types/leagues-scheduler/types/interfaces.ts"],"names":[],"mappings":";;;AAIA,mCAUiB;AAGhB,mGAZA,0BAAkB,OAYA;AAClB,kGAZA,yBAAiB,OAYA;AACjB,yGAZA,gCAAwB,OAYA;AACxB,uGAZA,8BAAsB,OAYA;AACtB,6FAZA,oBAAY,OAYA;AACZ,iGAZA,wBAAgB,OAYA;AAChB,wGAZA,+BAAuB,OAYA;AACvB,+GAZA,sCAA8B,OAYA;AAC9B,yGAZA,gCAAwB,OAYA;AAgWzB,IAAY,wBAGX;AAHD,WAAY,wBAAwB;IACnC,iEAAqC,CAAA;IACrC,uEAA2C,CAAA;AAC5C,CAAC,EAHW,wBAAwB,GAAxB,gCAAwB,KAAxB,gCAAwB,QAGnC"}
1
+ {"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../../../../src/types/leagues-scheduler/types/interfaces.ts"],"names":[],"mappings":";;;AAIA,mCAUiB;AAGhB,mGAZA,0BAAkB,OAYA;AAClB,kGAZA,yBAAiB,OAYA;AACjB,yGAZA,gCAAwB,OAYA;AACxB,uGAZA,8BAAsB,OAYA;AACtB,6FAZA,oBAAY,OAYA;AACZ,iGAZA,wBAAgB,OAYA;AAChB,wGAZA,+BAAuB,OAYA;AACvB,+GAZA,sCAA8B,OAYA;AAC9B,yGAZA,gCAAwB,OAYA;AAkWzB,IAAY,wBAGX;AAHD,WAAY,wBAAwB;IACnC,iEAAqC,CAAA;IACrC,uEAA2C,CAAA;AAC5C,CAAC,EAHW,wBAAwB,GAAxB,gCAAwB,KAAxB,gCAAwB,QAGnC"}
@@ -36,8 +36,8 @@ export interface ILineItem {
36
36
  organizationId: number;
37
37
  entitlementGroupId?: number;
38
38
  invoiceId?: number;
39
- parentLineItemId?: number;
40
39
  parentGroupId?: string;
40
+ parentLineItemId?: number;
41
41
  productId: number;
42
42
  userId?: number;
43
43
  currency: CurrencyEnum;
@@ -279,8 +279,8 @@ export interface ICartReservationOptions extends ICreateCartOptions {
279
279
  includeResources?: boolean;
280
280
  platform?: PlatformsEnum;
281
281
  reservation?: DraftReservation;
282
- targetGlobalPrice?: number;
283
282
  skipUpdatePrices?: boolean;
283
+ targetGlobalPrice?: number;
284
284
  updatePrices?: IUpdateCartPrices;
285
285
  }
286
286
  export interface IProductItems {
@@ -37,6 +37,18 @@ export declare class GetGroupsOptionsDto extends PaginatedSearchDto {
37
37
  export declare class ByFolderIdsDto extends GetGroupsOptionsDto {
38
38
  folderIds: number[];
39
39
  }
40
+ /**
41
+ * Options for the session-groups endpoints. Adds an optional `folderIds` filter
42
+ * so callers can restrict the returned groups to a specific set of folder IDs
43
+ * (e.g. to surface an invited team that would otherwise be paginated out).
44
+ *
45
+ * Defined as a separate class — not a property on `GetGroupsOptionsDto` —
46
+ * because `class-validator` merges decorator metadata down the prototype
47
+ * weaken `ByFolderIdsDto.folderIds` (which must remain required).
48
+ */
49
+ export declare class GetSessionGroupsOptionsDto extends GetGroupsOptionsDto {
50
+ folderIds?: number[];
51
+ }
40
52
  export declare class UsersIdsQueryDto {
41
53
  userIds: number[];
42
54
  }
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.UsersIdsQueryDto = exports.ByFolderIdsDto = exports.GetGroupsOptionsDto = exports.BySessionIdAndUserIdDto = exports.BySessionIdDto = exports.FindSessionParticipantsOptionsDto = exports.SessionParticipantsOptionsDto = void 0;
3
+ exports.UsersIdsQueryDto = exports.GetSessionGroupsOptionsDto = exports.ByFolderIdsDto = exports.GetGroupsOptionsDto = exports.BySessionIdAndUserIdDto = exports.BySessionIdDto = exports.FindSessionParticipantsOptionsDto = exports.SessionParticipantsOptionsDto = void 0;
4
4
  const general_dto_1 = require("../../dto/general.dto");
5
5
  const organization_dto_1 = require("../../organization/dto/organization.dto");
6
6
  class SessionParticipantsOptionsDto {
@@ -21,6 +21,18 @@ exports.GetGroupsOptionsDto = GetGroupsOptionsDto;
21
21
  class ByFolderIdsDto extends GetGroupsOptionsDto {
22
22
  }
23
23
  exports.ByFolderIdsDto = ByFolderIdsDto;
24
+ /**
25
+ * Options for the session-groups endpoints. Adds an optional `folderIds` filter
26
+ * so callers can restrict the returned groups to a specific set of folder IDs
27
+ * (e.g. to surface an invited team that would otherwise be paginated out).
28
+ *
29
+ * Defined as a separate class — not a property on `GetGroupsOptionsDto` —
30
+ * because `class-validator` merges decorator metadata down the prototype
31
+ * weaken `ByFolderIdsDto.folderIds` (which must remain required).
32
+ */
33
+ class GetSessionGroupsOptionsDto extends GetGroupsOptionsDto {
34
+ }
35
+ exports.GetSessionGroupsOptionsDto = GetSessionGroupsOptionsDto;
24
36
  class UsersIdsQueryDto {
25
37
  }
26
38
  exports.UsersIdsQueryDto = UsersIdsQueryDto;
@@ -1 +1 @@
1
- {"version":3,"file":"get.session.participant.dto.js","sourceRoot":"","sources":["../../../../src/types/session-participants/dto/get.session.participant.dto.ts"],"names":[],"mappings":";;;AACA,uDAAyG;AAEzG,8EAA8E;AAW9E,MAAa,6BAA6B;CAkBzC;AAlBD,sEAkBC;AAED,MAAa,iCAAkC,SAAQ,6BAA6B;CAOnF;AAPD,8EAOC;AAED,MAAa,cAAe,SAAQ,sCAAmB;CAEtD;AAFD,wCAEC;AAED,MAAa,uBAAwB,SAAQ,cAAc;CAE1D;AAFD,0DAEC;AAED,MAAa,mBAAoB,SAAQ,gCAAkB;CAY1D;AAZD,kDAYC;AAED,MAAa,cAAe,SAAQ,mBAAmB;CAEtD;AAFD,wCAEC;AAED,MAAa,gBAAgB;CAE5B;AAFD,4CAEC"}
1
+ {"version":3,"file":"get.session.participant.dto.js","sourceRoot":"","sources":["../../../../src/types/session-participants/dto/get.session.participant.dto.ts"],"names":[],"mappings":";;;AACA,uDAAyG;AAEzG,8EAA8E;AAW9E,MAAa,6BAA6B;CAkBzC;AAlBD,sEAkBC;AAED,MAAa,iCAAkC,SAAQ,6BAA6B;CAOnF;AAPD,8EAOC;AAED,MAAa,cAAe,SAAQ,sCAAmB;CAEtD;AAFD,wCAEC;AAED,MAAa,uBAAwB,SAAQ,cAAc;CAE1D;AAFD,0DAEC;AAED,MAAa,mBAAoB,SAAQ,gCAAkB;CAY1D;AAZD,kDAYC;AAED,MAAa,cAAe,SAAQ,mBAAmB;CAEtD;AAFD,wCAEC;AAED;;;;;;;;GAQG;AACH,MAAa,0BAA2B,SAAQ,mBAAmB;CAElE;AAFD,gEAEC;AAED,MAAa,gBAAgB;CAE5B;AAFD,4CAEC"}
@@ -27,3 +27,28 @@ export declare class SessionParticipantDto implements ISessionParticipant {
27
27
  waiverSigned: boolean;
28
28
  sessionId: number;
29
29
  }
30
+ export declare class GroupParticipantDto {
31
+ folderContentId: number;
32
+ userId: number;
33
+ customerId: number;
34
+ firstName: string;
35
+ lastName: string;
36
+ email: string;
37
+ birthDate?: string;
38
+ gender?: GenderEnum;
39
+ paymentStatus: PaymentStatusEnum;
40
+ currentPaidAmount: number;
41
+ currentPaidCurrencies: CurrencyEnum[];
42
+ fullPrice: number;
43
+ waiverSigned: boolean;
44
+ registrationDate: string;
45
+ productNames: string[];
46
+ pictureUrl: string;
47
+ folderContentMetadata?: Record<string, unknown>;
48
+ }
49
+ export declare class GroupParticipantsDto {
50
+ groupId: number;
51
+ groupName: string;
52
+ groupMetaType?: MetaTypeEnum;
53
+ participants: GroupParticipantDto[];
54
+ }
@@ -1,7 +1,13 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.SessionParticipantDto = void 0;
3
+ exports.GroupParticipantsDto = exports.GroupParticipantDto = exports.SessionParticipantDto = void 0;
4
4
  class SessionParticipantDto {
5
5
  }
6
6
  exports.SessionParticipantDto = SessionParticipantDto;
7
+ class GroupParticipantDto {
8
+ }
9
+ exports.GroupParticipantDto = GroupParticipantDto;
10
+ class GroupParticipantsDto {
11
+ }
12
+ exports.GroupParticipantsDto = GroupParticipantsDto;
7
13
  //# sourceMappingURL=session.participant.dto.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"session.participant.dto.js","sourceRoot":"","sources":["../../../../src/types/session-participants/dto/session.participant.dto.ts"],"names":[],"mappings":";;;AAMA,MAAa,qBAAqB;CA8CjC;AA9CD,sDA8CC"}
1
+ {"version":3,"file":"session.participant.dto.js","sourceRoot":"","sources":["../../../../src/types/session-participants/dto/session.participant.dto.ts"],"names":[],"mappings":";;;AAMA,MAAa,qBAAqB;CA8CjC;AA9CD,sDA8CC;AAED,MAAa,mBAAmB;CAkC/B;AAlCD,kDAkCC;AAED,MAAa,oBAAoB;CAQhC;AARD,oDAQC"}
@@ -2,7 +2,7 @@ import { FolderContent } from '../../folders/entities/folder-content.entity';
2
2
  import { MetaTypeEnum } from '../../folders/types/folders.enums';
3
3
  import { PaymentStatusEnum } from '../../payment/types/enums/payment.enums';
4
4
  import { CurrencyEnum, GenderEnum } from '../../services/enums.service';
5
- import { IRawSessionParticipant } from './interfaces';
5
+ import { IRawGroupParticipant, IRawSessionParticipant } from './interfaces';
6
6
  export declare class RawSessionParticipant extends FolderContent implements IRawSessionParticipant {
7
7
  id: number;
8
8
  firstName?: string;
@@ -30,3 +30,25 @@ export declare class RawSessionParticipant extends FolderContent implements IRaw
30
30
  lineItemIds?: number[];
31
31
  paymentStatuses?: PaymentStatusEnum[];
32
32
  }
33
+ export declare class RawGroupParticipant extends FolderContent implements IRawGroupParticipant {
34
+ folderContentId: number;
35
+ groupId: number;
36
+ groupName: string;
37
+ groupMetaType?: MetaTypeEnum;
38
+ folderContentMetadata?: Record<string, unknown>;
39
+ userId: number;
40
+ customerId: number;
41
+ email: string;
42
+ firstName: string;
43
+ lastName: string;
44
+ gender?: GenderEnum;
45
+ birthDate?: string;
46
+ currentPaidAmount?: number;
47
+ currentPaidCurrencies?: CurrencyEnum[];
48
+ fullPrice?: number;
49
+ lineItemIds?: number[];
50
+ pictureUrl?: string;
51
+ productNames?: string[];
52
+ registrationDate?: string;
53
+ waiverSignedDate?: string;
54
+ }
@@ -1,8 +1,11 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.RawSessionParticipant = void 0;
3
+ exports.RawGroupParticipant = exports.RawSessionParticipant = void 0;
4
4
  const folder_content_entity_1 = require("../../folders/entities/folder-content.entity");
5
5
  class RawSessionParticipant extends folder_content_entity_1.FolderContent {
6
6
  }
7
7
  exports.RawSessionParticipant = RawSessionParticipant;
8
+ class RawGroupParticipant extends folder_content_entity_1.FolderContent {
9
+ }
10
+ exports.RawGroupParticipant = RawGroupParticipant;
8
11
  //# sourceMappingURL=classes.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"classes.js","sourceRoot":"","sources":["../../../../src/types/session-participants/types/classes.ts"],"names":[],"mappings":";;;AAEA,wFAA6E;AAO7E,MAAa,qBAAsB,SAAQ,qCAAa;CAkDvD;AAlDD,sDAkDC"}
1
+ {"version":3,"file":"classes.js","sourceRoot":"","sources":["../../../../src/types/session-participants/types/classes.ts"],"names":[],"mappings":";;;AAEA,wFAA6E;AAO7E,MAAa,qBAAsB,SAAQ,qCAAa;CAkDvD;AAlDD,sDAkDC;AAED,MAAa,mBAAoB,SAAQ,qCAAa;CAwCrD;AAxCD,kDAwCC"}
@@ -35,6 +35,7 @@ export interface ISessionParticipant {
35
35
  waiverSigned?: boolean;
36
36
  }
37
37
  export interface IGroupFilters {
38
+ folderIds?: number[];
38
39
  groupCategories?: string[];
39
40
  includeAdditionalGroupFields?: boolean;
40
41
  includeSubFolders?: boolean;
@@ -67,6 +68,28 @@ export interface IRawSessionParticipant {
67
68
  registrationDate?: string;
68
69
  waiverSignedDate?: string;
69
70
  }
71
+ export interface IRawGroupParticipant {
72
+ customerId: number;
73
+ folderContentId: number;
74
+ groupId: number;
75
+ userId: number;
76
+ birthDate?: string;
77
+ currentPaidAmount?: number;
78
+ currentPaidCurrencies?: CurrencyEnum[];
79
+ email: string;
80
+ firstName: string;
81
+ folderContentMetadata?: Record<string, unknown>;
82
+ fullPrice?: number;
83
+ gender?: GenderEnum;
84
+ groupMetaType?: MetaTypeEnum;
85
+ groupName: string;
86
+ lastName: string;
87
+ lineItemIds?: number[];
88
+ pictureUrl?: string;
89
+ productNames?: string[];
90
+ registrationDate?: string;
91
+ waiverSignedDate?: string;
92
+ }
70
93
  export interface ICreateSessionParticipant {
71
94
  productUser?: ProductsUsers;
72
95
  }
@@ -6,35 +6,35 @@ export interface IEventRosterRawAddon {
6
6
  }
7
7
  export interface IEventRosterAttendee {
8
8
  userId: number;
9
- firstName: string | null;
10
- lastName: string | null;
9
+ addOns: IEventRosterRawAddon[];
11
10
  birthDate: string | null;
12
- signedWaiver: string | null;
13
11
  entryStatus: EntryStatusEnum | null;
12
+ firstName: string | null;
13
+ lastName: string | null;
14
+ leftPasses: number | null;
14
15
  paymentStatus: PaymentStatusEnum | null;
15
- addOns: IEventRosterRawAddon[];
16
+ signedWaiver: string | null;
16
17
  teamName: string | null;
17
- leftPasses: number | null;
18
18
  totalPasses: number | null;
19
19
  }
20
20
  export interface IEventRosterOrganization {
21
21
  name: string;
22
22
  }
23
23
  export interface IEventRosterEventInfo {
24
- title: string;
25
- startDate: Date | string;
26
24
  endDate: Date | string;
27
- startTime: string;
28
25
  endTime: string;
29
26
  resourceNames: string[];
27
+ startDate: Date | string;
28
+ startTime: string;
29
+ title: string;
30
30
  }
31
31
  export interface IEventRosterTemplateData {
32
- organization: IEventRosterOrganization;
33
- event: IEventRosterEventInfo;
34
32
  attendees: IEventRosterAttendee[];
35
- totalAttendees: number;
36
- showTeamColumn: boolean;
37
- showPassesLeftColumn: boolean;
33
+ event: IEventRosterEventInfo;
38
34
  generatedAt: string;
39
35
  generatedAtTimezone: string | null;
36
+ organization: IEventRosterOrganization;
37
+ showPassesLeftColumn: boolean;
38
+ showTeamColumn: boolean;
39
+ totalAttendees: number;
40
40
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bondsports/types",
3
- "version": "2.4.60-a-1",
3
+ "version": "2.4.61",
4
4
  "description": "backend types module for Bond-Sports",
5
5
  "main": "./dist/index.js",
6
6
  "scripts": {