@bondsports/types 2.3.8-c-6 → 2.3.9

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 (53) hide show
  1. package/dist/tsconfig.build.tsbuildinfo +1 -1
  2. package/dist/types/entity/LineItems.js.map +1 -1
  3. package/dist/types/folders/dto/folder.dto.d.ts +79 -6
  4. package/dist/types/folders/dto/folder.dto.js +17 -5
  5. package/dist/types/folders/dto/folder.dto.js.map +1 -1
  6. package/dist/types/folders/entities/folder.entity.d.ts +5 -0
  7. package/dist/types/folders/entities/folder.entity.js +12 -1
  8. package/dist/types/folders/entities/folder.entity.js.map +1 -1
  9. package/dist/types/folders/index.d.ts +1 -0
  10. package/dist/types/folders/index.js +1 -0
  11. package/dist/types/folders/index.js.map +1 -1
  12. package/dist/types/folders/types/classes.d.ts +26 -0
  13. package/dist/types/folders/types/classes.js +8 -0
  14. package/dist/types/folders/types/classes.js.map +1 -0
  15. package/dist/types/folders/types/consts.d.ts +2 -0
  16. package/dist/types/folders/types/consts.js +6 -0
  17. package/dist/types/folders/types/consts.js.map +1 -0
  18. package/dist/types/folders/types/enums.d.ts +11 -0
  19. package/dist/types/folders/types/enums.js +17 -0
  20. package/dist/types/folders/types/enums.js.map +1 -0
  21. package/dist/types/folders/types/index.d.ts +60 -0
  22. package/dist/types/folders/types/index.js +21 -0
  23. package/dist/types/folders/types/index.js.map +1 -0
  24. package/dist/types/invoice/types/interfaces/line-item.interfaces.d.ts +9 -0
  25. package/dist/types/notifications/dto/backoffice.notify.dto.d.ts +2 -0
  26. package/dist/types/notifications/dto/backoffice.notify.dto.js +2 -2
  27. package/dist/types/notifications/dto/backoffice.notify.dto.js.map +1 -1
  28. package/dist/types/notifications/dto/notification.create.dto.d.ts +2 -2
  29. package/dist/types/notifications/dto/notification.create.dto.js +4 -4
  30. package/dist/types/notifications/dto/notification.create.dto.js.map +1 -1
  31. package/dist/types/payment/types/interfaces/payment.interfaces.d.ts +3 -0
  32. package/dist/types/programs-seasons/types/interfaces/program-season.interfaces.d.ts +4 -0
  33. package/dist/types/session-participants/dto/get.session.participant.dto.d.ts +14 -5
  34. package/dist/types/session-participants/dto/get.session.participant.dto.js +6 -3
  35. package/dist/types/session-participants/dto/get.session.participant.dto.js.map +1 -1
  36. package/dist/types/session-participants/dto/session.participant.dto.d.ts +6 -25
  37. package/dist/types/session-participants/dto/session.participant.dto.js +1 -4
  38. package/dist/types/session-participants/dto/session.participant.dto.js.map +1 -1
  39. package/dist/types/session-participants/types/classes.d.ts +29 -0
  40. package/dist/types/session-participants/types/classes.js +8 -0
  41. package/dist/types/session-participants/types/classes.js.map +1 -0
  42. package/dist/types/session-participants/types/consts.d.ts +4 -1
  43. package/dist/types/session-participants/types/consts.js +9 -2
  44. package/dist/types/session-participants/types/consts.js.map +1 -1
  45. package/dist/types/session-participants/types/enums.d.ts +4 -7
  46. package/dist/types/session-participants/types/enums.js +4 -8
  47. package/dist/types/session-participants/types/enums.js.map +1 -1
  48. package/dist/types/session-participants/types/index.d.ts +1 -0
  49. package/dist/types/session-participants/types/index.js +1 -0
  50. package/dist/types/session-participants/types/index.js.map +1 -1
  51. package/dist/types/session-participants/types/interfaces.d.ts +22 -8
  52. package/package.json +5 -5
  53. package/LICENSE.md +0 -0
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ByFolderDto = exports.BySessionIdAndUserIdDto = exports.BySessionIdDto = exports.FindSessionParticipantsOptionsDto = void 0;
3
+ exports.ByFolderIdsDto = exports.GetGroupsOptionsDto = exports.BySessionIdAndUserIdDto = exports.BySessionIdDto = exports.FindSessionParticipantsOptionsDto = 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 FindSessionParticipantsOptionsDto extends general_dto_1.PaginationQuery {
@@ -12,7 +12,10 @@ exports.BySessionIdDto = BySessionIdDto;
12
12
  class BySessionIdAndUserIdDto extends BySessionIdDto {
13
13
  }
14
14
  exports.BySessionIdAndUserIdDto = BySessionIdAndUserIdDto;
15
- class ByFolderDto extends organization_dto_1.ByOrganizationIdDto {
15
+ class GetGroupsOptionsDto extends general_dto_1.PaginatedSearchDto {
16
16
  }
17
- exports.ByFolderDto = ByFolderDto;
17
+ exports.GetGroupsOptionsDto = GetGroupsOptionsDto;
18
+ class ByFolderIdsDto extends GetGroupsOptionsDto {
19
+ }
20
+ exports.ByFolderIdsDto = ByFolderIdsDto;
18
21
  //# sourceMappingURL=get.session.participant.dto.js.map
@@ -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,uDAAwD;AAExD,8EAA8E;AAE9E,MAAa,iCAAkC,SAAQ,6BAAe;CAgBrE;AAhBD,8EAgBC;AAED,MAAa,cAAe,SAAQ,sCAAmB;CAEtD;AAFD,wCAEC;AAED,MAAa,uBAAwB,SAAQ,cAAc;CAE1D;AAFD,0DAEC;AAED,MAAa,WAAY,SAAQ,sCAAmB;CAEnD;AAFD,kCAEC"}
1
+ {"version":3,"file":"get.session.participant.dto.js","sourceRoot":"","sources":["../../../../src/types/session-participants/dto/get.session.participant.dto.ts"],"names":[],"mappings":";;;AACA,uDAA4E;AAE5E,8EAA8E;AAI9E,MAAa,iCAAkC,SAAQ,6BAAe;CAgBrE;AAhBD,8EAgBC;AAED,MAAa,cAAe,SAAQ,sCAAmB;CAEtD;AAFD,wCAEC;AAED,MAAa,uBAAwB,SAAQ,cAAc;CAE1D;AAFD,0DAEC;AAED,MAAa,mBAAoB,SAAQ,gCAAkB;CAQ1D;AARD,kDAQC;AAED,MAAa,cAAe,SAAQ,mBAAmB;CAEtD;AAFD,wCAEC"}
@@ -1,31 +1,12 @@
1
- import { IRawSessionParticipant, ISessionParticipant } from '../types/interfaces';
1
+ import { ISessionParticipant } from '../types/interfaces';
2
2
  import { GenderEnum, CurrencyEnum } from '../../services/enums.service';
3
- import { SessionParticipantsPaymentStatusEnum } from '../types/enums';
4
3
  import { PaymentStatusEnum } from '../../payment/types/enums/payment.enums';
5
- export declare class RawSessionParticipantDto implements IRawSessionParticipant {
6
- name: string;
7
- folderName: string;
8
- userId: number;
9
- birthDate?: string;
10
- gender: GenderEnum;
11
- currentPaidAmount: number;
12
- currentPaidCurrencies: CurrencyEnum[];
13
- customerId: number;
14
- customerEmail: string;
15
- paymentStatuses: PaymentStatusEnum[];
16
- punchCard: boolean;
17
- pictureUrl?: string;
18
- registrationDate: string;
19
- productIds: number[];
20
- productNames: string[];
21
- fullPrice: number;
22
- waiverSignedDate: string;
23
- profilePictureId?: number;
24
- sessionId: number;
25
- }
26
4
  export declare class SessionParticipantDto implements ISessionParticipant {
27
- name: string;
5
+ id?: number;
6
+ firstName: string;
7
+ lastName: string;
28
8
  folderName: string;
9
+ folderId: number;
29
10
  userId: number;
30
11
  age: number;
31
12
  gender: GenderEnum;
@@ -33,7 +14,7 @@ export declare class SessionParticipantDto implements ISessionParticipant {
33
14
  currentPaidCurrencies: CurrencyEnum[];
34
15
  customerId: number;
35
16
  email: string;
36
- paymentStatus: SessionParticipantsPaymentStatusEnum;
17
+ paymentStatus: PaymentStatusEnum;
37
18
  punchCard: boolean;
38
19
  pictureUrl: string;
39
20
  registrationDate: string;
@@ -1,9 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.SessionParticipantDto = exports.RawSessionParticipantDto = void 0;
4
- class RawSessionParticipantDto {
5
- }
6
- exports.RawSessionParticipantDto = RawSessionParticipantDto;
3
+ exports.SessionParticipantDto = void 0;
7
4
  class SessionParticipantDto {
8
5
  }
9
6
  exports.SessionParticipantDto = SessionParticipantDto;
@@ -1 +1 @@
1
- {"version":3,"file":"session.participant.dto.js","sourceRoot":"","sources":["../../../../src/types/session-participants/dto/session.participant.dto.ts"],"names":[],"mappings":";;;AAKA,MAAa,wBAAwB;CAsCpC;AAtCD,4DAsCC;AAED,MAAa,qBAAqB;CAsCjC;AAtCD,sDAsCC"}
1
+ {"version":3,"file":"session.participant.dto.js","sourceRoot":"","sources":["../../../../src/types/session-participants/dto/session.participant.dto.ts"],"names":[],"mappings":";;;AAIA,MAAa,qBAAqB;CA0CjC;AA1CD,sDA0CC"}
@@ -0,0 +1,29 @@
1
+ import { CurrencyEnum, GenderEnum } from '../../services/enums.service';
2
+ import { PaymentStatusEnum } from '../../payment/types/enums/payment.enums';
3
+ import { FolderContent } from '../../folders/entities/folder-content.entity';
4
+ import { IRawSessionParticipant } from './interfaces';
5
+ export declare class RawSessionParticipant extends FolderContent implements IRawSessionParticipant {
6
+ id: number;
7
+ firstName?: string;
8
+ lastName?: string;
9
+ folderName: string;
10
+ folderId: number;
11
+ userId: number;
12
+ birthDate?: string;
13
+ gender: GenderEnum;
14
+ currentPaidAmount: number;
15
+ currentPaidCurrencies: CurrencyEnum[];
16
+ customerId: number;
17
+ email: string;
18
+ punchCard: boolean;
19
+ pictureUrl?: string;
20
+ registrationDate: string;
21
+ productIds: number[];
22
+ productNames: string[];
23
+ fullPrice: number;
24
+ waiverSignedDate: string;
25
+ profilePictureId?: number;
26
+ sessionId: number;
27
+ lineItemIds?: number[];
28
+ paymentStatuses?: PaymentStatusEnum[];
29
+ }
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.RawSessionParticipant = void 0;
4
+ const folder_content_entity_1 = require("../../folders/entities/folder-content.entity");
5
+ class RawSessionParticipant extends folder_content_entity_1.FolderContent {
6
+ }
7
+ exports.RawSessionParticipant = RawSessionParticipant;
8
+ //# sourceMappingURL=classes.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"classes.js","sourceRoot":"","sources":["../../../../src/types/session-participants/types/classes.ts"],"names":[],"mappings":";;;AAGA,wFAA6E;AAG7E,MAAa,qBAAsB,SAAQ,qCAAa;CA8CvD;AA9CD,sDA8CC"}
@@ -1,3 +1,6 @@
1
+ import { MetaType } from '../../folders/entities/folder.entity';
1
2
  import { PaymentStatusEnum } from '../../payment/types/enums/payment.enums';
2
- export declare const PAID_LOGICAL_STATUSES: PaymentStatusEnum[];
3
3
  export declare const MASS_GET_PARTICIPANTS_CHUNK_SIZE = 100;
4
+ export declare const GROUPS_FOLDER_META_TYPES: MetaType[];
5
+ export declare const FOLDER_PAYMENT_STATUS_OPTIONS: PaymentStatusEnum[];
6
+ export declare const FOLDER_PAYMENT_STATUSES_LENGTH: number;
@@ -1,7 +1,14 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.MASS_GET_PARTICIPANTS_CHUNK_SIZE = exports.PAID_LOGICAL_STATUSES = void 0;
3
+ exports.FOLDER_PAYMENT_STATUSES_LENGTH = exports.FOLDER_PAYMENT_STATUS_OPTIONS = exports.GROUPS_FOLDER_META_TYPES = exports.MASS_GET_PARTICIPANTS_CHUNK_SIZE = void 0;
4
+ const folder_entity_1 = require("../../folders/entities/folder.entity");
4
5
  const payment_enums_1 = require("../../payment/types/enums/payment.enums");
5
- exports.PAID_LOGICAL_STATUSES = [payment_enums_1.PaymentStatusEnum.FULLY_PAID, payment_enums_1.PaymentStatusEnum.REFUNDED, payment_enums_1.PaymentStatusEnum.VOID];
6
6
  exports.MASS_GET_PARTICIPANTS_CHUNK_SIZE = 100;
7
+ exports.GROUPS_FOLDER_META_TYPES = [folder_entity_1.MetaType.GROUP, folder_entity_1.MetaType.UNSPECIFIED];
8
+ exports.FOLDER_PAYMENT_STATUS_OPTIONS = [
9
+ payment_enums_1.PaymentStatusEnum.FULLY_PAID,
10
+ payment_enums_1.PaymentStatusEnum.NOT_PAID,
11
+ payment_enums_1.PaymentStatusEnum.PARTIAL_PAYMENT,
12
+ ];
13
+ exports.FOLDER_PAYMENT_STATUSES_LENGTH = exports.FOLDER_PAYMENT_STATUS_OPTIONS.length;
7
14
  //# sourceMappingURL=consts.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"consts.js","sourceRoot":"","sources":["../../../../src/types/session-participants/types/consts.ts"],"names":[],"mappings":";;;AAAA,2EAA4E;AAE/D,QAAA,qBAAqB,GAAG,CAAC,iCAAiB,CAAC,UAAU,EAAE,iCAAiB,CAAC,QAAQ,EAAE,iCAAiB,CAAC,IAAI,CAAC,CAAC;AAC3G,QAAA,gCAAgC,GAAG,GAAG,CAAC"}
1
+ {"version":3,"file":"consts.js","sourceRoot":"","sources":["../../../../src/types/session-participants/types/consts.ts"],"names":[],"mappings":";;;AAAA,wEAAgE;AAChE,2EAA4E;AAE/D,QAAA,gCAAgC,GAAG,GAAG,CAAC;AACvC,QAAA,wBAAwB,GAAG,CAAC,wBAAQ,CAAC,KAAK,EAAE,wBAAQ,CAAC,WAAW,CAAC,CAAC;AAClE,QAAA,6BAA6B,GAAG;IAC5C,iCAAiB,CAAC,UAAU;IAC5B,iCAAiB,CAAC,QAAQ;IAC1B,iCAAiB,CAAC,eAAe;CACjC,CAAC;AAEW,QAAA,8BAA8B,GAAG,qCAA6B,CAAC,MAAM,CAAC"}
@@ -1,15 +1,12 @@
1
1
  export declare enum SessionParticipantsSortByEnum {
2
- NAME = "name",
2
+ FIRST_NAME = "firstName",
3
+ LAST_NAME = "lastName",
3
4
  AGE = "age",
4
5
  GENDER = "gender",
5
6
  REGISTRATION_DATE = "registrationDate",
6
7
  WAIVER_SIGNED_DATE = "waiverSignedDate",
7
- WAIVER_SIGNED = "waiverSigned"
8
- }
9
- export declare enum SessionParticipantsPaymentStatusEnum {
10
- PAID = "paid",
11
- UNPAID = "unpaid",
12
- PARTIALLY_PAID = "partially_paid"
8
+ WAIVER_SIGNED = "waiverSigned",
9
+ FOLDER_NAME = "folderName"
13
10
  }
14
11
  export declare enum SessionParticipantsSearchFieldEnum {
15
12
  NAME_OR_EMAIL = "nameOrEmail",
@@ -1,21 +1,17 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.SessionParticipantsSearchFieldEnum = exports.SessionParticipantsPaymentStatusEnum = exports.SessionParticipantsSortByEnum = void 0;
3
+ exports.SessionParticipantsSearchFieldEnum = exports.SessionParticipantsSortByEnum = void 0;
4
4
  var SessionParticipantsSortByEnum;
5
5
  (function (SessionParticipantsSortByEnum) {
6
- SessionParticipantsSortByEnum["NAME"] = "name";
6
+ SessionParticipantsSortByEnum["FIRST_NAME"] = "firstName";
7
+ SessionParticipantsSortByEnum["LAST_NAME"] = "lastName";
7
8
  SessionParticipantsSortByEnum["AGE"] = "age";
8
9
  SessionParticipantsSortByEnum["GENDER"] = "gender";
9
10
  SessionParticipantsSortByEnum["REGISTRATION_DATE"] = "registrationDate";
10
11
  SessionParticipantsSortByEnum["WAIVER_SIGNED_DATE"] = "waiverSignedDate";
11
12
  SessionParticipantsSortByEnum["WAIVER_SIGNED"] = "waiverSigned";
13
+ SessionParticipantsSortByEnum["FOLDER_NAME"] = "folderName";
12
14
  })(SessionParticipantsSortByEnum = exports.SessionParticipantsSortByEnum || (exports.SessionParticipantsSortByEnum = {}));
13
- var SessionParticipantsPaymentStatusEnum;
14
- (function (SessionParticipantsPaymentStatusEnum) {
15
- SessionParticipantsPaymentStatusEnum["PAID"] = "paid";
16
- SessionParticipantsPaymentStatusEnum["UNPAID"] = "unpaid";
17
- SessionParticipantsPaymentStatusEnum["PARTIALLY_PAID"] = "partially_paid";
18
- })(SessionParticipantsPaymentStatusEnum = exports.SessionParticipantsPaymentStatusEnum || (exports.SessionParticipantsPaymentStatusEnum = {}));
19
15
  var SessionParticipantsSearchFieldEnum;
20
16
  (function (SessionParticipantsSearchFieldEnum) {
21
17
  SessionParticipantsSearchFieldEnum["NAME_OR_EMAIL"] = "nameOrEmail";
@@ -1 +1 @@
1
- {"version":3,"file":"enums.js","sourceRoot":"","sources":["../../../../src/types/session-participants/types/enums.ts"],"names":[],"mappings":";;;AAAA,IAAY,6BAOX;AAPD,WAAY,6BAA6B;IACxC,8CAAa,CAAA;IACb,4CAAW,CAAA;IACX,kDAAiB,CAAA;IACjB,uEAAsC,CAAA;IACtC,wEAAuC,CAAA;IACvC,+DAA8B,CAAA;AAC/B,CAAC,EAPW,6BAA6B,GAA7B,qCAA6B,KAA7B,qCAA6B,QAOxC;AAED,IAAY,oCAIX;AAJD,WAAY,oCAAoC;IAC/C,qDAAa,CAAA;IACb,yDAAiB,CAAA;IACjB,yEAAiC,CAAA;AAClC,CAAC,EAJW,oCAAoC,GAApC,4CAAoC,KAApC,4CAAoC,QAI/C;AAED,IAAY,kCAGX;AAHD,WAAY,kCAAkC;IAC7C,mEAA6B,CAAA;IAC7B,kEAA4B,CAAA;AAC7B,CAAC,EAHW,kCAAkC,GAAlC,0CAAkC,KAAlC,0CAAkC,QAG7C"}
1
+ {"version":3,"file":"enums.js","sourceRoot":"","sources":["../../../../src/types/session-participants/types/enums.ts"],"names":[],"mappings":";;;AAAA,IAAY,6BASX;AATD,WAAY,6BAA6B;IACxC,yDAAwB,CAAA;IACxB,uDAAsB,CAAA;IACtB,4CAAW,CAAA;IACX,kDAAiB,CAAA;IACjB,uEAAsC,CAAA;IACtC,wEAAuC,CAAA;IACvC,+DAA8B,CAAA;IAC9B,2DAA0B,CAAA;AAC3B,CAAC,EATW,6BAA6B,GAA7B,qCAA6B,KAA7B,qCAA6B,QASxC;AAED,IAAY,kCAGX;AAHD,WAAY,kCAAkC;IAC7C,mEAA6B,CAAA;IAC7B,kEAA4B,CAAA;AAC7B,CAAC,EAHW,kCAAkC,GAAlC,0CAAkC,KAAlC,0CAAkC,QAG7C"}
@@ -1,3 +1,4 @@
1
+ export * from './classes';
1
2
  export * from './consts';
2
3
  export * from './enums';
3
4
  export * from './interfaces';
@@ -14,6 +14,7 @@ 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("./classes"), exports);
17
18
  __exportStar(require("./consts"), exports);
18
19
  __exportStar(require("./enums"), exports);
19
20
  __exportStar(require("./interfaces"), exports);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/session-participants/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2CAAyB;AACzB,0CAAwB;AACxB,+CAA6B"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/session-participants/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4CAA0B;AAC1B,2CAAyB;AACzB,0CAAwB;AACxB,+CAA6B"}
@@ -1,11 +1,14 @@
1
1
  import { PaymentStatusEnum } from '../../payment/types/enums/payment.enums';
2
2
  import { ProductsUsers } from '../../entity/ProductsUsers';
3
3
  import { CurrencyEnum, GenderEnum } from '../../services/enums.service';
4
- import { SessionParticipantsPaymentStatusEnum } from './enums';
4
+ import { MetaType } from '../../folders/entities/folder.entity';
5
5
  export interface ISessionParticipant {
6
+ id?: number;
6
7
  sessionId: number;
7
8
  folderName?: string;
8
- name?: string;
9
+ folderId?: number;
10
+ firstName?: string;
11
+ lastName?: string;
9
12
  userId: number;
10
13
  age?: number;
11
14
  gender: GenderEnum;
@@ -14,7 +17,7 @@ export interface ISessionParticipant {
14
17
  fullPrice?: number;
15
18
  punchCard?: boolean;
16
19
  currentPaidAmount?: number;
17
- paymentStatus?: SessionParticipantsPaymentStatusEnum;
20
+ paymentStatus?: PaymentStatusEnum;
18
21
  waiverSigned?: boolean;
19
22
  registrationDate?: string;
20
23
  pictureUrl: string;
@@ -22,21 +25,32 @@ export interface ISessionParticipant {
22
25
  currentPaidCurrencies?: CurrencyEnum[];
23
26
  productNames?: string[];
24
27
  }
28
+ export interface IGroupFilters {
29
+ paymentStatuses?: PaymentStatusEnum[];
30
+ metaTypes?: MetaType[];
31
+ includeSubFolders?: boolean;
32
+ includeAdditionalGroupFields?: boolean;
33
+ groupCategories?: string[];
34
+ }
25
35
  export interface IRawSessionParticipant {
36
+ id?: number;
26
37
  sessionId: number;
27
38
  folderName?: string;
28
- name: string;
39
+ folderId?: number;
40
+ firstName?: string;
41
+ lastName?: string;
29
42
  userId: number;
30
43
  gender: GenderEnum;
31
44
  profilePictureId?: number;
32
45
  customerId: number;
33
- customerEmail: string;
34
- fullPrice?: number;
46
+ email: string;
35
47
  punchCard?: boolean;
36
- currentPaidAmount?: number;
37
- paymentStatuses?: PaymentStatusEnum[];
38
48
  waiverSignedDate?: string;
39
49
  registrationDate?: string;
50
+ fullPrice?: number;
51
+ currentPaidAmount?: number;
52
+ lineItemIds?: number[];
53
+ paymentStatuses?: PaymentStatusEnum[];
40
54
  productId?: number;
41
55
  currentPaidCurrencies?: CurrencyEnum[];
42
56
  productNames?: string[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bondsports/types",
3
- "version": "2.3.8-c-6",
3
+ "version": "2.3.9",
4
4
  "description": "backend types module for Bond-Sports",
5
5
  "main": "./dist/index.js",
6
6
  "scripts": {
@@ -33,12 +33,12 @@
33
33
  ],
34
34
  "homepage": "https://github.com/Bond-Sports/bondUtils/tree/main/packages/types#readme",
35
35
  "dependencies": {
36
- "@bondsports/date-time": "^2.4.48",
37
- "@bondsports/notifications-sdk": "latest",
38
36
  "moment": "^2.29.1",
39
37
  "rimraf": "^3.0.2",
40
38
  "stripe": "9.1.0",
41
- "typeorm": "^0.2.32"
39
+ "typeorm": "^0.2.32",
40
+ "@bondsports/date-time": "^2.4.48",
41
+ "@bondsports/notifications-sdk": "latest"
42
42
  },
43
43
  "devDependencies": {
44
44
  "@bondsports/eslint-config": "^1.0.2",
@@ -50,5 +50,5 @@
50
50
  "ts-node": "^10.8.0",
51
51
  "typescript": "^4.4.3"
52
52
  },
53
- "gitHead": "e4635a1e2a02d8a38150af763919dc4542160c26"
53
+ "gitHead": "178ca9dc5ea5e94b44d765b6663e7a4ad0d19d98"
54
54
  }
package/LICENSE.md DELETED
File without changes