@bondsports/types 2.4.57 → 2.4.59

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.
@@ -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"}
@@ -36,6 +36,14 @@ export declare class GroupParticipantDto {
36
36
  email: string;
37
37
  birthDate?: string;
38
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;
39
47
  folderContentMetadata?: Record<string, unknown>;
40
48
  }
41
49
  export declare class GroupParticipantsDto {
@@ -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;AAED,MAAa,mBAAmB;CAkB/B;AAlBD,kDAkBC;AAED,MAAa,oBAAoB;CAQhC;AARD,oDAQC"}
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"}
@@ -43,6 +43,12 @@ export declare class RawGroupParticipant extends FolderContent implements IRawGr
43
43
  lastName: string;
44
44
  gender?: GenderEnum;
45
45
  birthDate?: string;
46
+ currentPaidAmount?: number;
47
+ currentPaidCurrencies?: CurrencyEnum[];
48
+ fullPrice?: number;
49
+ lineItemIds?: number[];
50
+ pictureUrl?: string;
51
+ productNames?: string[];
46
52
  registrationDate?: string;
47
53
  waiverSignedDate?: string;
48
54
  }
@@ -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;AAED,MAAa,mBAAoB,SAAQ,qCAAa;CA4BrD;AA5BD,kDA4BC"}
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;
@@ -70,8 +71,11 @@ export interface IRawSessionParticipant {
70
71
  export interface IRawGroupParticipant {
71
72
  birthDate?: string;
72
73
  customerId: number;
74
+ currentPaidAmount?: number;
75
+ currentPaidCurrencies?: CurrencyEnum[];
73
76
  email: string;
74
77
  firstName: string;
78
+ fullPrice?: number;
75
79
  folderContentId: number;
76
80
  folderContentMetadata?: Record<string, unknown>;
77
81
  gender?: GenderEnum;
@@ -79,6 +83,9 @@ export interface IRawGroupParticipant {
79
83
  groupMetaType?: MetaTypeEnum;
80
84
  groupName: string;
81
85
  lastName: string;
86
+ lineItemIds?: number[];
87
+ pictureUrl?: string;
88
+ productNames?: string[];
82
89
  registrationDate?: string;
83
90
  userId: number;
84
91
  waiverSignedDate?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bondsports/types",
3
- "version": "2.4.57",
3
+ "version": "2.4.59",
4
4
  "description": "backend types module for Bond-Sports",
5
5
  "main": "./dist/index.js",
6
6
  "scripts": {