@bondsports/types 2.3.38 → 2.3.40-team-c-1

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 (93) hide show
  1. package/dist/tsconfig.build.tsbuildinfo +1 -1
  2. package/dist/types/cart/dto/cart-item.dto.js.map +1 -1
  3. package/dist/types/dto/events.dto.d.ts +1 -0
  4. package/dist/types/dto/events.dto.js.map +1 -1
  5. package/dist/types/dto/facilities.dto.d.ts +1 -1
  6. package/dist/types/dto/facilities.dto.js +1 -1
  7. package/dist/types/dto/facilities.dto.js.map +1 -1
  8. package/dist/types/dto/general.dto.d.ts +3 -0
  9. package/dist/types/dto/general.dto.js +4 -1
  10. package/dist/types/dto/general.dto.js.map +1 -1
  11. package/dist/types/import/dto/{punch-pass.dto.d.ts → import-punch-pass.dto.d.ts} +1 -1
  12. package/dist/types/import/dto/import-punch-pass.dto.js +7 -0
  13. package/dist/types/import/dto/import-punch-pass.dto.js.map +1 -0
  14. package/dist/types/import/dto/index.d.ts +1 -1
  15. package/dist/types/import/dto/index.js +1 -1
  16. package/dist/types/import/dto/index.js.map +1 -1
  17. package/dist/types/membership/dto/membership.dto.d.ts +2 -0
  18. package/dist/types/membership/dto/membership.dto.js.map +1 -1
  19. package/dist/types/organization/entities/Organization.d.ts +2 -0
  20. package/dist/types/organization/entities/Organization.js.map +1 -1
  21. package/dist/types/payment/types/interfaces/discount.interfaces.d.ts +2 -2
  22. package/dist/types/product-pricing/dto/product-pricing.dto.d.ts +18 -1
  23. package/dist/types/product-pricing/dto/product-pricing.dto.js +4 -1
  24. package/dist/types/product-pricing/dto/product-pricing.dto.js.map +1 -1
  25. package/dist/types/product-pricing/dto/product-resource.dto.d.ts +12 -1
  26. package/dist/types/product-pricing/dto/product-resource.dto.js +9 -1
  27. package/dist/types/product-pricing/dto/product-resource.dto.js.map +1 -1
  28. package/dist/types/product-pricing/dto/product.dto.d.ts +2 -1
  29. package/dist/types/product-pricing/dto/product.dto.js.map +1 -1
  30. package/dist/types/product-pricing/entities/product.entity.js.map +1 -1
  31. package/dist/types/product-pricing/types/consts/product-resource.consts.d.ts +10 -0
  32. package/dist/types/product-pricing/types/consts/product-resource.consts.js +18 -1
  33. package/dist/types/product-pricing/types/consts/product-resource.consts.js.map +1 -1
  34. package/dist/types/product-pricing/types/enums/product.enums.d.ts +2 -1
  35. package/dist/types/product-pricing/types/enums/product.enums.js +1 -0
  36. package/dist/types/product-pricing/types/enums/product.enums.js.map +1 -1
  37. package/dist/types/product-pricing/types/interfaces/product-pricing.interfaces.d.ts +16 -0
  38. package/dist/types/product-pricing/types/interfaces/product-resource.interfaces.d.ts +15 -1
  39. package/dist/types/product-pricing/types/interfaces/validate-resources.interfaces.d.ts +1 -0
  40. package/dist/types/programs/dto/program.dto.d.ts +4 -0
  41. package/dist/types/programs/dto/program.dto.js.map +1 -1
  42. package/dist/types/programs/dto/session-public.dto.d.ts +6 -2
  43. package/dist/types/programs/dto/session-public.dto.js.map +1 -1
  44. package/dist/types/programs/types/interfaces/program.interfaces.d.ts +6 -3
  45. package/dist/types/programs-seasons/dto/program-season-participant.dto.d.ts +26 -0
  46. package/dist/types/programs-seasons/dto/program-season-participant.dto.js +18 -1
  47. package/dist/types/programs-seasons/dto/program-season-participant.dto.js.map +1 -1
  48. package/dist/types/programs-seasons/dto/program-seasons.dto.d.ts +7 -0
  49. package/dist/types/programs-seasons/dto/program-seasons.dto.js.map +1 -1
  50. package/dist/types/programs-seasons/types/classes/program-season.classes.js.map +1 -1
  51. package/dist/types/programs-seasons/types/enums/program-season.enums.d.ts +11 -0
  52. package/dist/types/programs-seasons/types/enums/program-season.enums.js +14 -1
  53. package/dist/types/programs-seasons/types/enums/program-season.enums.js.map +1 -1
  54. package/dist/types/punch-pass/dto/index.d.ts +0 -1
  55. package/dist/types/punch-pass/dto/index.js +0 -1
  56. package/dist/types/punch-pass/dto/index.js.map +1 -1
  57. package/dist/types/punch-pass/dto/punch-pass.dto.d.ts +117 -1
  58. package/dist/types/punch-pass/dto/punch-pass.dto.deprecated.d.ts +0 -71
  59. package/dist/types/punch-pass/dto/punch-pass.dto.deprecated.js +0 -28
  60. package/dist/types/punch-pass/dto/punch-pass.dto.deprecated.js.map +1 -1
  61. package/dist/types/punch-pass/dto/punch-pass.dto.js +44 -1
  62. package/dist/types/punch-pass/dto/punch-pass.dto.js.map +1 -1
  63. package/dist/types/punch-pass/entities/punch-pass.entity.d.ts +1 -0
  64. package/dist/types/punch-pass/entities/punch-pass.entity.js.map +1 -1
  65. package/dist/types/punch-pass/entities/user-punch-pass.entity.d.ts +1 -0
  66. package/dist/types/punch-pass/entities/user-punch-pass.entity.js.map +1 -1
  67. package/dist/types/punch-pass/entities/user-redemption.entity.d.ts +3 -3
  68. package/dist/types/punch-pass/entities/user-redemption.entity.js +2 -2
  69. package/dist/types/punch-pass/entities/user-redemption.entity.js.map +1 -1
  70. package/dist/types/punch-pass/types/consts.d.ts +2 -0
  71. package/dist/types/punch-pass/types/consts.js +13 -0
  72. package/dist/types/punch-pass/types/consts.js.map +1 -0
  73. package/dist/types/punch-pass/types/enums.d.ts +7 -2
  74. package/dist/types/punch-pass/types/enums.js +5 -0
  75. package/dist/types/punch-pass/types/enums.js.map +1 -1
  76. package/dist/types/punch-pass/types/index.d.ts +2 -0
  77. package/dist/types/punch-pass/types/index.js +2 -0
  78. package/dist/types/punch-pass/types/index.js.map +1 -1
  79. package/dist/types/punch-pass/types/interfaces.d.ts +84 -0
  80. package/dist/types/punch-pass/types/interfaces.js +3 -0
  81. package/dist/types/punch-pass/types/interfaces.js.map +1 -0
  82. package/dist/types/purchase/dto/purchase.dto.d.ts +2 -0
  83. package/dist/types/purchase/dto/purchase.dto.js.map +1 -1
  84. package/dist/types/purchase/types/interfaces/purchase.interfaces.d.ts +10 -0
  85. package/dist/types/services/interfaces.service.d.ts +7 -0
  86. package/dist/types/session-participants/dto/get.session.participant.dto.d.ts +3 -0
  87. package/dist/types/session-participants/dto/get.session.participant.dto.js +4 -1
  88. package/dist/types/session-participants/dto/get.session.participant.dto.js.map +1 -1
  89. package/dist/types/user/dto/user.dto.d.ts +3 -0
  90. package/dist/types/user/dto/user.dto.js.map +1 -1
  91. package/package.json +1 -1
  92. package/dist/types/import/dto/punch-pass.dto.js +0 -8
  93. package/dist/types/import/dto/punch-pass.dto.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"cart-item.dto.js","sourceRoot":"","sources":["../../../../src/types/cart/dto/cart-item.dto.ts"],"names":[],"mappings":";;;AACA,8EAAoF;AAWpF,MAAa,UAAW,SAAQ,4CAAyB;CAUxD;AAVD,gCAUC;AAED,MAAa,eAAgB,SAAQ,4CAAyB;CA0B7D;AA1BD,0CA0BC;AAED,MAAa,iBAAiB;CAM7B;AAND,8CAMC;AAED,MAAa,mBAAmB;CAI/B;AAJD,kDAIC;AAED,MAAa,iBAAkB,SAAQ,4CAAyB;CAI/D;AAJD,8CAIC;AAED,MAAa,WAAY,SAAQ,iBAAiB;CAwCjD;AAxCD,kCAwCC;AAED,MAAa,eAAe;CAO3B;AAPD,0CAOC;AAED,MAAa,iBAAkB,SAAQ,eAAe;CAGrD;AAHD,8CAGC;AAED,MAAa,cAAe,SAAQ,eAAe;CAMlD;AAND,wCAMC"}
1
+ {"version":3,"file":"cart-item.dto.js","sourceRoot":"","sources":["../../../../src/types/cart/dto/cart-item.dto.ts"],"names":[],"mappings":";;;AACA,8EAAoF;AAYpF,MAAa,UAAW,SAAQ,4CAAyB;CAUxD;AAVD,gCAUC;AAED,MAAa,eAAgB,SAAQ,4CAAyB;CA0B7D;AA1BD,0CA0BC;AAED,MAAa,iBAAiB;CAM7B;AAND,8CAMC;AAED,MAAa,mBAAmB;CAI/B;AAJD,kDAIC;AAED,MAAa,iBAAkB,SAAQ,4CAAyB;CAI/D;AAJD,8CAIC;AAED,MAAa,WAAY,SAAQ,iBAAiB;CAwCjD;AAxCD,kCAwCC;AAED,MAAa,eAAe;CAO3B;AAPD,0CAOC;AAED,MAAa,iBAAkB,SAAQ,eAAe;CAGrD;AAHD,8CAGC;AAED,MAAa,cAAe,SAAQ,eAAe;CAMlD;AAND,wCAMC"}
@@ -115,6 +115,7 @@ export declare class SimpleEventDto extends IdDto {
115
115
  resources?: SimpleResourceDto[];
116
116
  parentId?: number;
117
117
  parentType?: string;
118
+ parentSessionName?: string;
118
119
  }
119
120
  export declare class SimpleAttendeeDto extends IdDto {
120
121
  createdAt: Date;
@@ -1 +1 @@
1
- {"version":3,"file":"events.dto.js","sourceRoot":"","sources":["../../../src/types/dto/events.dto.ts"],"names":[],"mappings":";;;AAUA,+CAAgG;AAEhG,MAAa,gBAAgB;CAM5B;AAND,4CAMC;AAED,MAAa,cAAc;CAsB1B;AAtBD,wCAsBC;AAED,MAAa,oBAAoB;CAEhC;AAFD,oDAEC;AAED,MAAa,iBAAiB;CAU7B;AAVD,8CAUC;AAED,MAAa,mBAAmB;CAE/B;AAFD,kDAEC;AAED,MAAa,oCAAqC,SAAQ,mBAAmB;CAE5E;AAFD,oFAEC;AAED,MAAa,iCAAiC;CAM7C;AAND,8EAMC;AACD,MAAa,qBAAqB;CAEjC;AAFD,sDAEC;AAED,MAAa,0BAA0B;CAEtC;AAFD,gEAEC;AAED,MAAa,4BAA4B;CAIxC;AAJD,oEAIC;AAyCD,MAAa,2BAA4B,SAAQ,kCAAoB;CAYpE;AAZD,kEAYC;AAED,MAAa,cAAe,SAAQ,mBAAK;CAsBxC;AAtBD,wCAsBC;AAED,MAAa,iBAAkB,SAAQ,mBAAK;CAE3C;AAFD,8CAEC;AAED,MAAa,QAAQ;CAIpB;AAJD,4BAIC;AAED,MAAa,kBAAkB;CA4B9B;AA5BD,gDA4BC;AAED,MAAa,gBAAiB,SAAQ,mBAAK;CAM1C;AAND,4CAMC;AAED,MAAa,sBAAuB,SAAQ,cAAc;CAIzD;AAJD,wDAIC;AAED,MAAa,sBAAuB,SAAQ,6BAAe;CAgB1D;AAhBD,wDAgBC"}
1
+ {"version":3,"file":"events.dto.js","sourceRoot":"","sources":["../../../src/types/dto/events.dto.ts"],"names":[],"mappings":";;;AAUA,+CAAgG;AAEhG,MAAa,gBAAgB;CAM5B;AAND,4CAMC;AAED,MAAa,cAAc;CAsB1B;AAtBD,wCAsBC;AAED,MAAa,oBAAoB;CAEhC;AAFD,oDAEC;AAED,MAAa,iBAAiB;CAU7B;AAVD,8CAUC;AAED,MAAa,mBAAmB;CAE/B;AAFD,kDAEC;AAED,MAAa,oCAAqC,SAAQ,mBAAmB;CAE5E;AAFD,oFAEC;AAED,MAAa,iCAAiC;CAM7C;AAND,8EAMC;AACD,MAAa,qBAAqB;CAEjC;AAFD,sDAEC;AAED,MAAa,0BAA0B;CAEtC;AAFD,gEAEC;AAED,MAAa,4BAA4B;CAIxC;AAJD,oEAIC;AAyCD,MAAa,2BAA4B,SAAQ,kCAAoB;CAYpE;AAZD,kEAYC;AAED,MAAa,cAAe,SAAQ,mBAAK;CAwBxC;AAxBD,wCAwBC;AAED,MAAa,iBAAkB,SAAQ,mBAAK;CAE3C;AAFD,8CAEC;AAED,MAAa,QAAQ;CAIpB;AAJD,4BAIC;AAED,MAAa,kBAAkB;CA4B9B;AA5BD,gDA4BC;AAED,MAAa,gBAAiB,SAAQ,mBAAK;CAM1C;AAND,4CAMC;AAED,MAAa,sBAAuB,SAAQ,cAAc;CAIzD;AAJD,wDAIC;AAED,MAAa,sBAAuB,SAAQ,6BAAe;CAgB1D;AAhBD,wDAgBC"}
@@ -67,6 +67,6 @@ export declare class FindFacilitiesOptionsDto extends PaginationQuery {
67
67
  export declare class BasicFacilityDto extends IdAndNameDto {
68
68
  timezone?: string;
69
69
  }
70
- export declare class SimpleFacilityDto extends BasicFacilityDto {
70
+ export declare class SimpleFacilityDto extends IdAndNameDto {
71
71
  sports?: number[];
72
72
  }
@@ -33,7 +33,7 @@ exports.FindFacilitiesOptionsDto = FindFacilitiesOptionsDto;
33
33
  class BasicFacilityDto extends general_dto_1.IdAndNameDto {
34
34
  }
35
35
  exports.BasicFacilityDto = BasicFacilityDto;
36
- class SimpleFacilityDto extends BasicFacilityDto {
36
+ class SimpleFacilityDto extends general_dto_1.IdAndNameDto {
37
37
  }
38
38
  exports.SimpleFacilityDto = SimpleFacilityDto;
39
39
  //# sourceMappingURL=facilities.dto.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"facilities.dto.js","sourceRoot":"","sources":["../../../src/types/dto/facilities.dto.ts"],"names":[],"mappings":";;;AAEA,2EAAiF;AAEjF,+CAA8D;AAE9D,MAAa,qBAAsB,SAAQ,4CAAyB;CAEnE;AAFD,sDAEC;AAED,MAAa,cAAc;CAM1B;AAND,wCAMC;AAED,MAAa,iBAAiB;CAoB7B;AApBD,8CAoBC;AAED,MAAa,WAAW;CA0CvB;AA1CD,kCA0CC;AAED,MAAa,wBAAwB;CAYpC;AAZD,4DAYC;AAED,MAAa,6BAA6B;CAEzC;AAFD,sEAEC;AAED,MAAa,uBAAuB;CAEnC;AAFD,0DAEC;AAED,MAAa,0BAA0B;CAEtC;AAFD,gEAEC;AAED,MAAa,wBAAyB,SAAQ,6BAAe;CAE5D;AAFD,4DAEC;AAED,MAAa,gBAAiB,SAAQ,0BAAY;CAEjD;AAFD,4CAEC;AAED,MAAa,iBAAkB,SAAQ,gBAAgB;CAEtD;AAFD,8CAEC"}
1
+ {"version":3,"file":"facilities.dto.js","sourceRoot":"","sources":["../../../src/types/dto/facilities.dto.ts"],"names":[],"mappings":";;;AAEA,2EAAiF;AAEjF,+CAA8D;AAE9D,MAAa,qBAAsB,SAAQ,4CAAyB;CAEnE;AAFD,sDAEC;AAED,MAAa,cAAc;CAM1B;AAND,wCAMC;AAED,MAAa,iBAAiB;CAoB7B;AApBD,8CAoBC;AAED,MAAa,WAAW;CA0CvB;AA1CD,kCA0CC;AAED,MAAa,wBAAwB;CAYpC;AAZD,4DAYC;AAED,MAAa,6BAA6B;CAEzC;AAFD,sEAEC;AAED,MAAa,uBAAuB;CAEnC;AAFD,0DAEC;AAED,MAAa,0BAA0B;CAEtC;AAFD,gEAEC;AAED,MAAa,wBAAyB,SAAQ,6BAAe;CAE5D;AAFD,4DAEC;AAED,MAAa,gBAAiB,SAAQ,0BAAY;CAEjD;AAFD,4CAEC;AAED,MAAa,iBAAkB,SAAQ,0BAAY;CAElD;AAFD,8CAEC"}
@@ -51,6 +51,9 @@ export declare class IdDto implements IId {
51
51
  export declare class IdAndNameDto extends IdDto {
52
52
  name: string;
53
53
  }
54
+ export declare class ResourceIdAndTypeDto extends IdDto {
55
+ type: ResourceNameTypeEnum;
56
+ }
54
57
  export declare class SimpleResourceDto extends IdAndNameDto {
55
58
  }
56
59
  export declare class ResourceScheduleDetailsDto extends IdDto {
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.MassActionFilterDto = exports.Base64EnabledDto = exports.SelectOptionsDto = exports.PaginatedSearchDto = exports.IncludeAdditionalDataDto = exports.CronQueryParamsDto = exports.GenericResponseDto = exports.IdsQueryDto = exports.IdsOptionalDto = exports.IdsDto = exports.AuthenticatedRequestDto = exports.ResourceScheduleDetailsDto = exports.SimpleResourceDto = exports.IdAndNameDto = exports.IdDto = exports.PaginationSearchQuery = exports.SharedPaginatedResultDto = exports.PaginationResultDto = exports.PaginationMetaDto = exports.PaginationRangeQuery = exports.IData = exports.PaginationQuery = exports.HUNDRED_PERCENT = exports.MINIMUM_ALLOWED_PERCENTAGE = exports.MINIMUM_ALLOWED_PRICE = exports.DEFAULT_OFFSET = exports.DEFAULT_PAGE = exports.DEFAULT_MINIMUM_ITEMS_PER_PAGE = exports.DEFAULT_MAXIMUM_ITEMS_PER_PAGE = exports.FindOneParams = void 0;
3
+ exports.MassActionFilterDto = exports.Base64EnabledDto = exports.SelectOptionsDto = exports.PaginatedSearchDto = exports.IncludeAdditionalDataDto = exports.CronQueryParamsDto = exports.GenericResponseDto = exports.IdsQueryDto = exports.IdsOptionalDto = exports.IdsDto = exports.AuthenticatedRequestDto = exports.ResourceScheduleDetailsDto = exports.SimpleResourceDto = exports.ResourceIdAndTypeDto = exports.IdAndNameDto = exports.IdDto = exports.PaginationSearchQuery = exports.SharedPaginatedResultDto = exports.PaginationResultDto = exports.PaginationMetaDto = exports.PaginationRangeQuery = exports.IData = exports.PaginationQuery = exports.HUNDRED_PERCENT = exports.MINIMUM_ALLOWED_PERCENTAGE = exports.MINIMUM_ALLOWED_PRICE = exports.DEFAULT_OFFSET = exports.DEFAULT_PAGE = exports.DEFAULT_MINIMUM_ITEMS_PER_PAGE = exports.DEFAULT_MAXIMUM_ITEMS_PER_PAGE = exports.FindOneParams = void 0;
4
4
  class FindOneParams {
5
5
  }
6
6
  exports.FindOneParams = FindOneParams;
@@ -46,6 +46,9 @@ exports.IdDto = IdDto;
46
46
  class IdAndNameDto extends IdDto {
47
47
  }
48
48
  exports.IdAndNameDto = IdAndNameDto;
49
+ class ResourceIdAndTypeDto extends IdDto {
50
+ }
51
+ exports.ResourceIdAndTypeDto = ResourceIdAndTypeDto;
49
52
  class SimpleResourceDto extends IdAndNameDto {
50
53
  }
51
54
  exports.SimpleResourceDto = SimpleResourceDto;
@@ -1 +1 @@
1
- {"version":3,"file":"general.dto.js","sourceRoot":"","sources":["../../../src/types/dto/general.dto.ts"],"names":[],"mappings":";;;AAKA,MAAa,aAAa;CAEzB;AAFD,sCAEC;AAEY,QAAA,8BAA8B,GAAG,GAAG,CAAC;AACrC,QAAA,8BAA8B,GAAG,EAAE,CAAC;AACpC,QAAA,YAAY,GAAG,CAAC,CAAC;AACjB,QAAA,cAAc,GAAG,CAAC,CAAC;AAEnB,QAAA,qBAAqB,GAAG,GAAG,CAAC;AAC5B,QAAA,0BAA0B,GAAG,IAAI,CAAC;AAClC,QAAA,eAAe,GAAG,GAAG,CAAC;AAEnC,MAAa,eAAe;IAA5B;QAMC,iBAAY,GAAI,sCAA8B,CAAC;IAChD,CAAC;CAAA;AAPD,0CAOC;AAED,MAAa,KAAK;CAEjB;AAFD,sBAEC;AAED,MAAa,o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mBAAmB;CAM/B;AAND,kDAMC"}
@@ -1,4 +1,4 @@
1
- export declare class PunchPassImportDto {
1
+ export declare class ImportPunchPassDto {
2
2
  CustomerID: string;
3
3
  QuantityLeft: number;
4
4
  BondProgramID: number;
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ImportPunchPassDto = void 0;
4
+ class ImportPunchPassDto {
5
+ }
6
+ exports.ImportPunchPassDto = ImportPunchPassDto;
7
+ //# sourceMappingURL=import-punch-pass.dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"import-punch-pass.dto.js","sourceRoot":"","sources":["../../../../src/types/import/dto/import-punch-pass.dto.ts"],"names":[],"mappings":";;;AACA,MAAa,kBAAkB;CAU9B;AAVD,gDAUC"}
@@ -1,9 +1,9 @@
1
1
  export * from './customer.dto';
2
+ export * from './import-punch-pass.dto';
2
3
  export * from './import.dto';
3
4
  export * from './installment.dto';
4
5
  export * from './invoices.dto';
5
6
  export * from './membership.dto';
6
7
  export * from './product.dto';
7
- export * from './punch-pass.dto';
8
8
  export * from './reservation.dto';
9
9
  export * from './user-payment-method.dto';
@@ -15,12 +15,12 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./customer.dto"), exports);
18
+ __exportStar(require("./import-punch-pass.dto"), exports);
18
19
  __exportStar(require("./import.dto"), exports);
19
20
  __exportStar(require("./installment.dto"), exports);
20
21
  __exportStar(require("./invoices.dto"), exports);
21
22
  __exportStar(require("./membership.dto"), exports);
22
23
  __exportStar(require("./product.dto"), exports);
23
- __exportStar(require("./punch-pass.dto"), exports);
24
24
  __exportStar(require("./reservation.dto"), exports);
25
25
  __exportStar(require("./user-payment-method.dto"), exports);
26
26
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/import/dto/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,iDAA+B;AAC/B,+CAA6B;AAC7B,oDAAkC;AAClC,iDAA+B;AAC/B,mDAAiC;AACjC,gDAA8B;AAC9B,mDAAiC;AACjC,oDAAkC;AAClC,4DAA0C"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/import/dto/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,iDAA+B;AAC/B,0DAAwC;AACxC,+CAA6B;AAC7B,oDAAkC;AAClC,iDAA+B;AAC/B,mDAAiC;AACjC,gDAA8B;AAC9B,oDAAkC;AAClC,4DAA0C"}
@@ -58,6 +58,8 @@ export declare class FindMembershipByFiltersDto extends PaginationQuery {
58
58
  includePast?: boolean;
59
59
  orderBy?: MembershipSortByEnum;
60
60
  order?: OrderByEnum;
61
+ membershipsIds?: number[];
62
+ productsIds?: number[];
61
63
  }
62
64
  export declare class FindMembershipsByUserIdDto {
63
65
  userId: number;
@@ -1 +1 @@
1
- {"version":3,"file":"membership.dto.js","sourceRoot":"","sources":["../../../../src/types/membership/dto/membership.dto.ts"],"names":[],"mappings":";;;AAGA,uDAAsE;AACtE,uDAAmE;AAEnE,4DAAgE;AAGhE,gEASsC;AAGtC,MAAa,mBAAmB;CA0C/B;AA1CD,kDA0CC;AAED,MAAa,kBAAmB,SAAQ,mBAAmB;CAE1D;AAFD,gDAEC;AAED,MAAa,wBAAwB;CAIpC;AAJD,4DAIC;AAED,MAAa,qBAAqB;CAEjC;AAFD,sDAEC;AAED,MAAa,kCAAkC;CAE9C;AAFD,gFAEC;AAED,MAAa,0BAA2B,SAAQ,6BAAe;IAA/D;;QAuBC,YAAO,GAA0B,4BAAoB,CAAC,IAAI,CAAC;QAE3D,UAAK,GAAiB,2BAAW,CAAC,IAAI,CAAC;IACxC,CAAC;CAAA;AA1BD,gEA0BC;AAED,MAAa,0BAA0B;CAEtC;AAFD,gEAEC;AAED,MAAa,iCAAkC,SAAQ,kCAAkC;CAExF;AAF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CAEC;AAED,MAAa,qBAAsB,SAAQ,6BAAe;CAIzD;AAJD,sDAIC;AAED,MAAa,mBAAmB;CAI/B;AAJD,kDAIC;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;CA0D/B;AA1DD,kDA0DC;AAED,MAAa,iCAAkC,SAAQ,8BAAsC;CAAG;AAAhG,8EAAgG;AAEhG,MAAa,8BAA8B;CAI1C;AAJD,wEAIC"}
@@ -48,4 +48,6 @@ export declare class Organization extends BondBaseEntity {
48
48
  paymentMethods: OrganizationPaymentMethod[];
49
49
  colorCodes: ColorCode[];
50
50
  timezone?: string;
51
+ GA4MeasurementId?: string;
52
+ GTMContainerId?: string;
51
53
  }
@@ -1 +1 @@
1
- {"version":3,"file":"Organization.js","sourceRoot":"","sources":["../../../../src/types/organization/entities/Organization.ts"],"names":[],"mappings":";;;AAGA,gEAA6D;AAU7D,MAAa,YAAa,SAAQ,+BAAc;CAyF/C;AAzFD,oCAyFC"}
1
+ {"version":3,"file":"Organization.js","sourceRoot":"","sources":["../../../../src/types/organization/entities/Organization.ts"],"names":[],"mappings":";;;AAGA,gEAA6D;AAU7D,MAAa,YAAa,SAAQ,+BAAc;CA6F/C;AA7FD,oCA6FC"}
@@ -80,11 +80,11 @@ export interface IFindDiscountsOptions {
80
80
  }
81
81
  export interface IDiscountRelatedResources {
82
82
  memberships?: Record<number, IProductRelatedMembership>;
83
- programs?: Record<number, IProductRelatedProgram>;
83
+ programs?: Record<number, IProductRelatedProgram[]>;
84
84
  }
85
85
  export interface IProductRelatedResource {
86
86
  membership?: IProductRelatedMembership;
87
- program?: IProductRelatedProgram;
87
+ programs?: IProductRelatedProgram[];
88
88
  }
89
89
  export interface IDiscountItem {
90
90
  id: number;
@@ -2,10 +2,11 @@ import { SportsEnum } from '../../activities/types/activities.enums';
2
2
  import { UserAnswersDto } from '../../dto/application.dto';
3
3
  import { PaginationQuery } from '../../dto/general.dto';
4
4
  import { ByOrganizationIdDto } from '../../organization/dto/organization.dto';
5
+ import { ProgramTypesEnum } from '../../programs/types/enums/program.enums';
5
6
  import { ResourceDto } from '../../resources/dto/resource.dto';
6
7
  import { ActivityEnum, OrderByEnum, ProductTypesEnum, ResourceNameTypeEnum } from '../../services/enums.service';
7
8
  import { OrderByProductEnum } from '../types/enums/product.enums';
8
- import { IFindPriceOfProduct, IGetProductsByTypeOptions } from '../types/interfaces/product-pricing.interfaces';
9
+ import { IFindPriceOfProduct, IGetProductsByTypeOptions, IGetPunchPassProductsOptions } from '../types/interfaces/product-pricing.interfaces';
9
10
  export declare class FindPriceOfProductDto implements IFindPriceOfProduct {
10
11
  id?: number;
11
12
  productId: number;
@@ -98,4 +99,20 @@ export declare class GetProductsByTypeQueryDto extends PaginationQuery implement
98
99
  sortBy?: OrderByProductEnum;
99
100
  order?: OrderByEnum;
100
101
  inclusion?: boolean;
102
+ includePunchPass?: boolean;
103
+ punchPassOnly?: boolean;
104
+ includePaymentPlan?: boolean;
105
+ includeResourceSettings?: boolean;
106
+ }
107
+ export declare class GetPunchPassProductsByTypeQueryDto extends PaginationQuery implements IGetPunchPassProductsOptions {
108
+ search?: string;
109
+ includeArchived?: boolean;
110
+ statuses?: ActivityEnum[];
111
+ programsIds?: number[];
112
+ programTypes?: ProgramTypesEnum[];
113
+ sessionsIds?: number[];
114
+ resourcesIds?: number[];
115
+ sortBy?: OrderByProductEnum;
116
+ order?: OrderByEnum;
117
+ includeResourceSettings?: boolean;
101
118
  }
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.GetProductsByTypeQueryDto = exports.GetProductsByTypeDto = exports.ArchiveMultipleProductsDto = exports.ArchiveDto = exports.SetStationSubcategoriesDto = exports.GetSubcategoryDto = exports.UpdateSubcategoryDto = exports.CreateSubcategoriesDto = exports.CreateSubcategoryDto = exports.GetBySessionType = exports.GetByCustomerIdDto = exports.GetAllOrganizationAddonsOptionsDto = exports.GetByOrgIdInvoiceIdDto = exports.FindByProductUserIdsDto = exports.FindPricesOfProductsDto = exports.SharedResourceInfo = exports.FindPriceOfProductDto = void 0;
3
+ exports.GetPunchPassProductsByTypeQueryDto = exports.GetProductsByTypeQueryDto = exports.GetProductsByTypeDto = exports.ArchiveMultipleProductsDto = exports.ArchiveDto = exports.SetStationSubcategoriesDto = exports.GetSubcategoryDto = exports.UpdateSubcategoryDto = exports.CreateSubcategoriesDto = exports.CreateSubcategoryDto = exports.GetBySessionType = exports.GetByCustomerIdDto = exports.GetAllOrganizationAddonsOptionsDto = exports.GetByOrgIdInvoiceIdDto = exports.FindByProductUserIdsDto = exports.FindPricesOfProductsDto = exports.SharedResourceInfo = exports.FindPriceOfProductDto = 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 FindPriceOfProductDto {
@@ -54,4 +54,7 @@ exports.GetProductsByTypeDto = GetProductsByTypeDto;
54
54
  class GetProductsByTypeQueryDto extends general_dto_1.PaginationQuery {
55
55
  }
56
56
  exports.GetProductsByTypeQueryDto = GetProductsByTypeQueryDto;
57
+ class GetPunchPassProductsByTypeQueryDto extends general_dto_1.PaginationQuery {
58
+ }
59
+ exports.GetPunchPassProductsByTypeQueryDto = GetPunchPassProductsByTypeQueryDto;
57
60
  //# sourceMappingURL=product-pricing.dto.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"product-pricing.dto.js","sourceRoot":"","sources":["../../../../src/types/product-pricing/dto/product-pricing.dto.ts"],"names":[],"mappings":";;;AAGA,uDAAwD;AACxD,8EAA8E;AAM9E,MAAa,qBAAqB;CAUjC;AAVD,sDAUC;AAED,MAAa,kBAAkB;CAQ9B;AARD,gDAQC;AAED,MAAa,uBAAuB;CAInC;AAJD,0DAIC;AAED,MAAa,uBAAuB;CAInC;AAJD,0DAIC;AAED,MAAa,sBAAuB,SAAQ,sCAAmB;CAE9D;AAFD,wDAEC;AAED,MAAa,kCAAkC;CAE9C;AAFD,gFAEC;AACD,MAAa,kBAAmB,SAAQ,6BAAe;CAEtD;AAFD,gDAEC;AAED,MAAa,gBAAgB;CAE5B;AAFD,4CAEC;AAED,MAAa,oBAAoB;CAQhC;AARD,oDAQC;AAED,MAAa,sBAAsB;CAElC;AAFD,wDAEC;AAED,MAAa,oBAAoB;CAUhC;AAVD,oDAUC;AAED,MAAa,iBAAiB;CAE7B;AAFD,8CAEC;AAED,MAAa,0BAA0B;CAMtC;AAND,gEAMC;AAED,MAAa,UAAU;CAEtB;AAFD,gCAEC;AAED,MAAa,0BAA2B,SAAQ,UAAU;CAEzD;AAFD,gEAEC;AAED,MAAa,oBAAqB,SAAQ,sCAAmB;CAE5D;AAFD,oDAEC;AAED,MAAa,yBAA0B,SAAQ,6BAAe;CAkD7D;AAlDD,8DAkDC"}
1
+ {"version":3,"file":"product-pricing.dto.js","sourceRoot":"","sources":["../../../../src/types/product-pricing/dto/product-pricing.dto.ts"],"names":[],"mappings":";;;AAGA,uDAAwD;AACxD,8EAA8E;AAW9E,MAAa,qBAAqB;CAUjC;AAVD,sDAUC;AAED,MAAa,kBAAkB;CAQ9B;AARD,gDAQC;AAED,MAAa,uBAAuB;CAInC;AAJD,0DAIC;AAED,MAAa,uBAAuB;CAInC;AAJD,0DAIC;AAED,MAAa,sBAAuB,SAAQ,sCAAmB;CAE9D;AAFD,wDAEC;AAED,MAAa,kCAAkC;CAE9C;AAFD,gFAEC;AACD,MAAa,kBAAmB,SAAQ,6BAAe;CAEtD;AAFD,gDAEC;AAED,MAAa,gBAAgB;CAE5B;AAFD,4CAEC;AAED,MAAa,oBAAoB;CAQhC;AARD,oDAQC;AAED,MAAa,sBAAsB;CAElC;AAFD,wDAEC;AAED,MAAa,oBAAoB;CAUhC;AAVD,oDAUC;AAED,MAAa,iBAAiB;CAE7B;AAFD,8CAEC;AAED,MAAa,0BAA0B;CAMtC;AAND,gEAMC;AAED,MAAa,UAAU;CAEtB;AAFD,gCAEC;AAED,MAAa,0BAA2B,SAAQ,UAAU;CAEzD;AAFD,gEAEC;AAED,MAAa,oBAAqB,SAAQ,sCAAmB;CAE5D;AAFD,oDAEC;AAED,MAAa,yBAA0B,SAAQ,6BAAe;CA0D7D;AA1DD,8DA0DC;AAED,MAAa,kCAAmC,SAAQ,6BAAe;CAoBtE;AApBD,gFAoBC"}
@@ -1,7 +1,8 @@
1
1
  import { IdAndNameDto, PaginationQuery } from '../../dto/general.dto';
2
2
  import { SimpleSessionDto } from '../../programs-seasons/dto/program-seasons.dto';
3
3
  import { SimpleProgramDto } from '../../programs/dto/program.dto';
4
- import { ResourceNameTypeEnum } from '../../services/enums.service';
4
+ import { OrderByEnum, PlatformsEnum, ResourceNameTypeEnum } from '../../services/enums.service';
5
+ import { IPaginationProductResourcesFilters } from '../types/interfaces/product-resource.interfaces';
5
6
  export declare class ProductResourceDto extends IdAndNameDto {
6
7
  type: ResourceNameTypeEnum;
7
8
  program?: SimpleProgramDto;
@@ -11,10 +12,20 @@ export declare class PaginatedResourcesForProductQueryDto extends PaginationQuer
11
12
  futureResources?: boolean;
12
13
  startDate?: string;
13
14
  endDate?: string;
15
+ resourcesIds?: number[];
16
+ resourceType?: ResourceNameTypeEnum;
14
17
  }
15
18
  export declare class ResourcesForProductQueryDto {
16
19
  includeResources?: boolean;
17
20
  futureResources?: boolean;
18
21
  startDate?: string;
19
22
  endDate?: string;
23
+ resourcesIds?: number[];
24
+ resourceType?: ResourceNameTypeEnum;
25
+ }
26
+ export declare class GetPaginationProductResourcesFiltersDto extends PaginationQuery implements IPaginationProductResourcesFilters {
27
+ resourceFilters?: Record<ResourceNameTypeEnum, number[]>;
28
+ platform: PlatformsEnum;
29
+ order?: OrderByEnum;
30
+ search?: string;
20
31
  }
@@ -1,7 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ResourcesForProductQueryDto = exports.PaginatedResourcesForProductQueryDto = exports.ProductResourceDto = void 0;
3
+ exports.GetPaginationProductResourcesFiltersDto = exports.ResourcesForProductQueryDto = exports.PaginatedResourcesForProductQueryDto = exports.ProductResourceDto = void 0;
4
4
  const general_dto_1 = require("../../dto/general.dto");
5
+ const enums_service_1 = require("../../services/enums.service");
5
6
  class ProductResourceDto extends general_dto_1.IdAndNameDto {
6
7
  }
7
8
  exports.ProductResourceDto = ProductResourceDto;
@@ -11,4 +12,11 @@ exports.PaginatedResourcesForProductQueryDto = PaginatedResourcesForProductQuery
11
12
  class ResourcesForProductQueryDto {
12
13
  }
13
14
  exports.ResourcesForProductQueryDto = ResourcesForProductQueryDto;
15
+ class GetPaginationProductResourcesFiltersDto extends general_dto_1.PaginationQuery {
16
+ constructor() {
17
+ super(...arguments);
18
+ this.order = enums_service_1.OrderByEnum.ASC;
19
+ }
20
+ }
21
+ exports.GetPaginationProductResourcesFiltersDto = GetPaginationProductResourcesFiltersDto;
14
22
  //# sourceMappingURL=product-resource.dto.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"product-resource.dto.js","sourceRoot":"","sources":["../../../../src/types/product-pricing/dto/product-resource.dto.ts"],"names":[],"mappings":";;;AAEA,uDAAsE;AAKtE,MAAa,kBAAmB,SAAQ,0BAAY;CAMnD;AAND,gDAMC;AAED,MAAa,oCAAqC,SAAQ,6BAAe;CAMxE;AAND,oFAMC;AAED,MAAa,2BAA2B;CAQvC;AARD,kEAQC"}
1
+ {"version":3,"file":"product-resource.dto.js","sourceRoot":"","sources":["../../../../src/types/product-pricing/dto/product-resource.dto.ts"],"names":[],"mappings":";;;AAEA,uDAAsE;AAGtE,gEAAgG;AAGhG,MAAa,kBAAmB,SAAQ,0BAAY;CAMnD;AAND,gDAMC;AAED,MAAa,oCAAqC,SAAQ,6BAAe;CAUxE;AAVD,oFAUC;AAED,MAAa,2BAA2B;CAYvC;AAZD,kEAYC;AAED,MAAa,uCACZ,SAAQ,6BAAe;IADxB;;QAOC,UAAK,GAAiB,2BAAW,CAAC,GAAG,CAAC;IAGvC,CAAC;CAAA;AAVD,0FAUC"}
@@ -35,7 +35,8 @@ export declare class CreateRentalProductAddonDto {
35
35
  price: number;
36
36
  isFlatPrice?: boolean;
37
37
  isMandatory?: boolean;
38
- level: ProductPackageLevelEnum;
38
+ level?: ProductPackageLevelEnum;
39
+ timePeriod?: AddonTimePeriodEnum;
39
40
  }
40
41
  export declare class ConnectProductResourceDto {
41
42
  productId: number;
@@ -1 +1 @@
1
- {"version":3,"file":"product.dto.js","sourceRoot":"","sources":["../../../../src/types/product-pricing/dto/product.dto.ts"],"names":[],"mappings":";;;AAKA,uDAAsE;AAMtE,8EAA8E;AAoB9E,MAAa,kBAAkB;CAE9B;AAFD,gDAEC;AAED,MAAa,iCAAiC;CAU7C;AAVD,8EAUC;AAED,MAAa,kBAAmB,SAAQ,sCAAmB;CAE1D;AAFD,gDAEC;AAED,MAAa,2BAA2B;CAUvC;AAVD,kEAUC;AAED,MAAa,yBAAyB;CAMrC;AAND,8DAMC;AAED,MAAa,yBAAyB;CAMrC;AAND,8DAMC;AAED,MAAa,sBAAsB;CAIlC;AAJD,wDAIC;AAED,MAAa,cAAe,SAAQ,6BAAe;CAQlD;AARD,wCAQC;AAED,MAAa,cAAe,SAAQ,6BAAe;CAwBlD;AAxBD,wCAwBC;AAED,MAAa,gBAAgB;CAsD5B;AAtDD,4CAsDC;AAED,MAAa,sBAAsB;CAgBlC;AAhBD,wDAgBC;AAED,MAAa,0BAA2B,SAAQ,6BAAe;CAM9D;AAND,gEAMC;AAED,MAAa,gBAAiB,SAAQ,0BAAY;CAQjD;AARD,4CAQC;AAED,MAAa,cAAc;CA0G1B;AA1GD,wCA0GC;AAED,MAAa,oBAAqB,SAAQ,cAAc;CAEvD;AAFD,oDAEC;AAED,MAAa,UAAW,SAAQ,cAAc;CAY7C;AAZD,gCAYC;AAED,MAAa,kBAAkB;CAU9B;AAVD,gDAUC"}
1
+ {"version":3,"file":"product.dto.js","sourceRoot":"","sources":["../../../../src/types/product-pricing/dto/product.dto.ts"],"names":[],"mappings":";;;AAKA,uDAAsE;AAMtE,8EAA8E;AAoB9E,MAAa,kBAAkB;CAE9B;AAFD,gDAEC;AAED,MAAa,iCAAiC;CAU7C;AAVD,8EAUC;AAED,MAAa,kBAAmB,SAAQ,sCAAmB;CAE1D;AAFD,gDAEC;AAED,MAAa,2BAA2B;CAYvC;AAZD,kEAYC;AAED,MAAa,yBAAyB;CAMrC;AAND,8DAMC;AAED,MAAa,yBAAyB;CAMrC;AAND,8DAMC;AAED,MAAa,sBAAsB;CAIlC;AAJD,wDAIC;AAED,MAAa,cAAe,SAAQ,6BAAe;CAQlD;AARD,wCAQC;AAED,MAAa,cAAe,SAAQ,6BAAe;CAwBlD;AAxBD,wCAwBC;AAED,MAAa,gBAAgB;CAsD5B;AAtDD,4CAsDC;AAED,MAAa,sBAAsB;CAgBlC;AAhBD,wDAgBC;AAED,MAAa,0BAA2B,SAAQ,6BAAe;CAM9D;AAND,gEAMC;AAED,MAAa,gBAAiB,SAAQ,0BAAY;CAQjD;AARD,4CAQC;AAED,MAAa,cAAc;CA0G1B;AA1GD,wCA0GC;AAED,MAAa,oBAAqB,SAAQ,cAAc;CAEvD;AAFD,oDAEC;AAED,MAAa,UAAW,SAAQ,cAAc;CAY7C;AAZD,gCAYC;AAED,MAAa,kBAAkB;CAU9B;AAVD,gDAUC"}
@@ -1 +1 @@
1
- {"version":3,"file":"product.entity.js","sourceRoot":"","sources":["../../../../src/types/product-pricing/entities/product.entity.ts"],"names":[],"mappings":";;;AAkBA,oGAAiG;AAuBjG,MAAa,OAAQ,SAAQ,mEAAgC;CA0I5D;AA1ID,0BA0IC"}
1
+ {"version":3,"file":"product.entity.js","sourceRoot":"","sources":["../../../../src/types/product-pricing/entities/product.entity.ts"],"names":[],"mappings":";;;AAkBA,oGAAiG;AAyBjG,MAAa,OAAQ,SAAQ,mEAAgC;CA0I5D;AA1ID,0BA0IC"}
@@ -1,3 +1,13 @@
1
+ import { ResourceNameTypeEnum } from '../../../services/enums.service';
1
2
  import { IProductResource, IResource } from '../interfaces/product-resource.interfaces';
2
3
  export declare const uniqueByProductResource: (resource: IProductResource) => string;
3
4
  export declare const getUniqueByResource: (resource: IResource) => string;
5
+ export declare const PRODUCT_RESOURCE_PARENT_TYPES: ResourceNameTypeEnum[];
6
+ /**
7
+ * Returns a query that checks if a product resource is a program season
8
+ */
9
+ export declare const productResourceToProgramSeasonQuery: (alias?: string, sessionAlias?: string) => string;
10
+ /**
11
+ * Returns a query that checks if a product resource is a program
12
+ */
13
+ export declare const productResourceToProgramQuery: (alias?: string, programAlias?: string) => string;
@@ -1,10 +1,27 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.getUniqueByResource = exports.uniqueByProductResource = void 0;
3
+ exports.productResourceToProgramQuery = exports.productResourceToProgramSeasonQuery = exports.PRODUCT_RESOURCE_PARENT_TYPES = exports.getUniqueByResource = exports.uniqueByProductResource = void 0;
4
+ const enums_service_1 = require("../../../services/enums.service");
4
5
  const uniqueByProductResource = (resource) => {
5
6
  return `${resource.productId}_${resource.type}_${resource.id}`;
6
7
  };
7
8
  exports.uniqueByProductResource = uniqueByProductResource;
8
9
  const getUniqueByResource = (resource) => `${resource.type}_${resource.id}`;
9
10
  exports.getUniqueByResource = getUniqueByResource;
11
+ exports.PRODUCT_RESOURCE_PARENT_TYPES = [
12
+ enums_service_1.ResourceNameTypeEnum.RESERVATION,
13
+ enums_service_1.ResourceNameTypeEnum.PROGRAM_SEASON,
14
+ enums_service_1.ResourceNameTypeEnum.PROGRAM,
15
+ enums_service_1.ResourceNameTypeEnum.MEMBERSHIP,
16
+ ];
17
+ /**
18
+ * Returns a query that checks if a product resource is a program season
19
+ */
20
+ const productResourceToProgramSeasonQuery = (alias = 'pr', sessionAlias = 'session') => `${sessionAlias}.organizationId = ${alias}.organizationId AND ((${alias}.resourceId = ${sessionAlias}.id AND ${alias}.resourceType = '${enums_service_1.ResourceNameTypeEnum.PROGRAM_SEASON}') OR (${alias}.resourceId = ${sessionAlias}.programId AND ${alias}.resourceType = '${enums_service_1.ResourceNameTypeEnum.PROGRAM}') OR (${alias}.resourceId = ${sessionAlias}.programType AND ${alias}.resourceType = '${enums_service_1.ResourceNameTypeEnum.PROGRAM_TYPE}'))`;
21
+ exports.productResourceToProgramSeasonQuery = productResourceToProgramSeasonQuery;
22
+ /**
23
+ * Returns a query that checks if a product resource is a program
24
+ */
25
+ const productResourceToProgramQuery = (alias = 'pr', programAlias = 'program') => `${alias}.organizationId = ${programAlias}.organizationId AND ((${alias}.resourceId = ${programAlias}.id AND ${alias}.resourceType = '${enums_service_1.ResourceNameTypeEnum.PROGRAM}') OR (${programAlias}.type = ${alias}.resourceId AND ${alias}.resourceType = '${enums_service_1.ResourceNameTypeEnum.PROGRAM_TYPE}'))`;
26
+ exports.productResourceToProgramQuery = productResourceToProgramQuery;
10
27
  //# sourceMappingURL=product-resource.consts.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"product-resource.consts.js","sourceRoot":"","sources":["../../../../../src/types/product-pricing/types/consts/product-resource.consts.ts"],"names":[],"mappings":";;;AAEO,MAAM,uBAAuB,GAAG,CAAC,QAA0B,EAAU,EAAE;IAC7E,OAAO,GAAG,QAAQ,CAAC,SAAS,IAAI,QAAQ,CAAC,IAAI,IAAI,QAAQ,CAAC,EAAE,EAAE,CAAC;AAChE,CAAC,CAAC;AAFW,QAAA,uBAAuB,2BAElC;AAEK,MAAM,mBAAmB,GAAG,CAAC,QAAmB,EAAU,EAAE,CAAC,GAAG,QAAQ,CAAC,IAAI,IAAI,QAAQ,CAAC,EAAE,EAAE,CAAC;AAAzF,QAAA,mBAAmB,uBAAsE"}
1
+ {"version":3,"file":"product-resource.consts.js","sourceRoot":"","sources":["../../../../../src/types/product-pricing/types/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7 +8,8 @@ export declare enum OrderByProductEnum {
8
8
  PRICE = "price",
9
9
  DURATION = "duration",
10
10
  PRODUCT_SUB_TYPE = "productSubType",
11
- STATUS = "status"
11
+ STATUS = "status",
12
+ PRODUCT_STATUS = "productStatus"
12
13
  }
13
14
  export declare enum ProductBuilderTypeEnum {
14
15
  RENTAL = "rental",
@@ -14,6 +14,7 @@ var OrderByProductEnum;
14
14
  OrderByProductEnum["DURATION"] = "duration";
15
15
  OrderByProductEnum["PRODUCT_SUB_TYPE"] = "productSubType";
16
16
  OrderByProductEnum["STATUS"] = "status";
17
+ OrderByProductEnum["PRODUCT_STATUS"] = "productStatus";
17
18
  })(OrderByProductEnum = exports.OrderByProductEnum || (exports.OrderByProductEnum = {}));
18
19
  var ProductBuilderTypeEnum;
19
20
  (function (ProductBuilderTypeEnum) {
@@ -1 +1 @@
1
- {"version":3,"file":"product.enums.js","sourceRoot":"","sources":["../../../../../src/types/product-pricing/types/enums/product.enums.ts"],"names":[],"mappings":";;;AAAA,IAAY,gBAGX;AAHD,WAAY,gBAAgB;IAC3B,mCAAe,CAAA;IACf,+CAA2B,CAAA;AAC5B,CAAC,EAHW,gBAAgB,GAAhB,wBAAgB,KAAhB,wBAAgB,QAG3B;AAED,IAAY,kBAOX;AAPD,WAAY,kBAAkB;IAC7B,+BAAS,CAAA;IACT,mCAAa,CAAA;IACb,qCAAe,CAAA;IACf,2CAAqB,CAAA;IACrB,yDAAmC,CAAA;IACnC,uCAAiB,CAAA;AAClB,CAAC,EAPW,kBAAkB,GAAlB,0BAAkB,KAAlB,0BAAkB,QAO7B;AAED,IAAY,sBAIX;AAJD,WAAY,sBAAsB;IACjC,2CAAiB,CAAA;IACjB,mEAAyC,CAAA;IACzC,iEAAuC,CAAA;AACxC,CAAC,EAJW,sBAAsB,GAAtB,8BAAsB,KAAtB,8BAAsB,QAIjC;AAED,IAAY,iBAIX;AAJD,WAAY,iBAAiB;IAC5B,sCAAiB,CAAA;IACjB,2DAAsC,CAAA;IACtC,mEAA8C,CAAA;AAC/C,CAAC,EAJW,iBAAiB,GAAjB,yBAAiB,KAAjB,yBAAiB,QAI5B"}
1
+ {"version":3,"file":"product.enums.js","sourceRoot":"","sources":["../../../../../src/types/product-pricing/types/enums/product.enums.ts"],"names":[],"mappings":";;;AAAA,IAAY,gBAGX;AAHD,WAAY,gBAAgB;IAC3B,mCAAe,CAAA;IACf,+CAA2B,CAAA;AAC5B,CAAC,EAHW,gBAAgB,GAAhB,wBAAgB,KAAhB,wBAAgB,QAG3B;AAED,IAAY,kBAQX;AARD,WAAY,kBAAkB;IAC7B,+BAAS,CAAA;IACT,mCAAa,CAAA;IACb,qCAAe,CAAA;IACf,2CAAqB,CAAA;IACrB,yDAAmC,CAAA;IACnC,uCAAiB,CAAA;IACjB,sDAAgC,CAAA;AACjC,CAAC,EARW,kBAAkB,GAAlB,0BAAkB,KAAlB,0BAAkB,QAQ7B;AAED,IAAY,sBAIX;AAJD,WAAY,sBAAsB;IACjC,2CAAiB,CAAA;IACjB,mEAAyC,CAAA;IACzC,iEAAuC,CAAA;AACxC,CAAC,EAJW,sBAAsB,GAAtB,8BAAsB,KAAtB,8BAAsB,QAIjC;AAED,IAAY,iBAIX;AAJD,WAAY,iBAAiB;IAC5B,sCAAiB,CAAA;IACjB,2DAAsC,CAAA;IACtC,mEAA8C,CAAA;AAC/C,CAAC,EAJW,iBAAiB,GAAjB,yBAAiB,KAAjB,yBAAiB,QAI5B"}
@@ -2,6 +2,7 @@ import { SportsEnum } from '../../../activities/types/activities.enums';
2
2
  import { QuestionAnswersDto } from '../../../dto/application.dto';
3
3
  import { ActivityTimes } from '../../../entity/ActivityTimes';
4
4
  import { Price } from '../../../pricing/entities/Price';
5
+ import { ProgramTypesEnum } from '../../../programs/types/enums/program.enums';
5
6
  import { ResourceDto } from '../../../resources/dto/resource.dto';
6
7
  import { ActivityEnum, OrderByEnum } from '../../../services/enums.service';
7
8
  import { IPagination } from '../../../util/models/interfaces/general.interfaces';
@@ -24,16 +25,19 @@ export interface IGetProductsByTypeOptions extends IPagination {
24
25
  includeEntitlementDiscounts?: boolean;
25
26
  includeFacilities?: boolean;
26
27
  includeGlCodes?: boolean;
28
+ includePaymentPlan?: boolean;
27
29
  includePricesSchedule?: boolean;
28
30
  includeProductResources?: boolean;
29
31
  includePunchPass?: boolean;
30
32
  includeResources?: boolean;
33
+ includeResourceSettings?: boolean;
31
34
  inclusion?: boolean;
32
35
  instructorsIds?: number[];
33
36
  mustIncludeAllResourcesIds?: number[];
34
37
  onlyValid?: boolean;
35
38
  order?: OrderByEnum;
36
39
  productIds?: number[];
40
+ punchPassOnly?: boolean;
37
41
  resourcesIds?: number[];
38
42
  search?: string;
39
43
  sortBy?: OrderByProductEnum;
@@ -41,6 +45,18 @@ export interface IGetProductsByTypeOptions extends IPagination {
41
45
  sports?: SportsEnum[];
42
46
  statuses?: ActivityEnum[];
43
47
  }
48
+ export interface IGetPunchPassProductsOptions extends IPagination {
49
+ includeArchived?: boolean;
50
+ includeResourceSettings?: boolean;
51
+ order?: OrderByEnum;
52
+ programsIds?: number[];
53
+ programTypes?: ProgramTypesEnum[];
54
+ resourcesIds?: number[];
55
+ search?: string;
56
+ sessionsIds?: number[];
57
+ sortBy?: OrderByProductEnum;
58
+ statuses?: ActivityEnum[];
59
+ }
44
60
  export interface IPricingSchedule {
45
61
  groupId: string;
46
62
  activityTimes: ActivityTimes[];
@@ -1,10 +1,13 @@
1
1
  import { FindOrCreateFolderDto } from '../../../folders/dto/folder.dto';
2
- import { ResourceNameTypeEnum } from '../../../services/enums.service';
2
+ import { UserPunchPass } from '../../../punch-pass/entities';
3
+ import { OrderByEnum, PlatformsEnum, ResourceNameTypeEnum } from '../../../services/enums.service';
4
+ import { IPagination } from '../../../util/models/interfaces/general.interfaces';
3
5
  export interface IResource {
4
6
  id?: number;
5
7
  excludedIds?: number[];
6
8
  includedIds?: number[];
7
9
  isAll?: boolean;
10
+ quantity?: number;
8
11
  type: ResourceNameTypeEnum;
9
12
  }
10
13
  export interface IProductResources {
@@ -22,6 +25,17 @@ export interface IUserProductResources {
22
25
  isAll?: boolean;
23
26
  quantity?: number;
24
27
  resources?: IResource[];
28
+ userPunchPass?: UserPunchPass;
29
+ }
30
+ export interface IPaginationProductResourcesFilters extends IPagination {
31
+ order?: OrderByEnum;
32
+ platform: PlatformsEnum;
33
+ resourceFilters?: Record<ResourceNameTypeEnum, number[]>;
34
+ search?: string;
35
+ }
36
+ export interface IProductToResource {
37
+ productId: number;
38
+ resourceId: number;
25
39
  }
26
40
  export interface IProductToResource {
27
41
  productId: number;
@@ -9,6 +9,7 @@ export interface IValidateResourcesDict {
9
9
  }
10
10
  export interface IValidateResourcesOptions {
11
11
  onErrorCallback?: (error: Error, ...args: unknown[]) => void;
12
+ skipExistingRegistrationValidations?: boolean;
12
13
  skipOptionalValidations?: boolean;
13
14
  validateWaitlist?: boolean;
14
15
  }
@@ -86,6 +86,10 @@ export declare class SimpleProgramDto extends IdAndNameDto {
86
86
  sport?: SportsEnum;
87
87
  type?: ProgramTypesEnum;
88
88
  status?: PublishingStatusEnum;
89
+ gender?: GenderEnum;
90
+ level?: LevelOfPlayEnum[];
91
+ minAge?: string;
92
+ maxAge?: string;
89
93
  }
90
94
  export declare class ByPlatformDto {
91
95
  platform?: PlatformsEnum;
@@ -1 +1 @@
1
- {"version":3,"file":"program.dto.js","sourceRoot":"","sources":["../../../../src/types/programs/dto/program.dto.ts"],"names":[],"mappings":";;;AAGA,uDAAyF;AAEzF,8EAAyG;AAazG,MAAa,2BAA2B;CAIvC;AAJD,kEAIC;AAED,MAAa,0BAA2B,SAAQ,6BAAe;CAM9D;AAND,gEAMC;AAED,MAAa,kBAAkB;CAI9B;AAJD,gDAIC;AAED,MAAa,iCAAiC;CAM7C;AAND,8EAMC;AAED,MAAa,+BAAgC,SAAQ,sCAAmB;CAEvE;AAFD,0EAEC;AAED,MAAa,6CAA8C,SAAQ,sCAAmB;CAErF;AAFD,sGAEC;AAED,MAAa,cAAe,SAAQ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MAAa,cAAc;CA8C1B;AA9CD,wCA8CC;AAED,MAAa,gBAAiB,SAAQ,cAAc;CAAG;AAAvD,4CAAuD;AAEvD,MAAa,gBAAiB,SAAQ,cAAc;CAInD;AAJD,4CAIC;AAED,MAAa,uBAAuB;CAEnC;AAFD,0DAEC;AAED,MAAa,gBAAiB,SAAQ,0BAAY;CAcjD;AAdD,4CAcC;AAED,MAAa,aAAa;CAEzB;AAFD,sCAEC;AAED,MAAa,wBAAyB,SAAQ,6BAAe;CAQ5D;AARD,4DAQC;AAED,MAAa,cAAc;CA4B1B;AA5BD,wCA4BC"}
@@ -5,8 +5,8 @@ import { OrganizationBaseEntityDto } from '../../organization/dto/organization.d
5
5
  import { SimpleProductDto } from '../../product-pricing/dto/product.dto';
6
6
  import { BasicProductDto } from '../../product-pricing/dto/public-product.dto';
7
7
  import { ProductExpandEnum } from '../../product-pricing/types/enums/product.enums';
8
- import { SessionExpandEnum } from '../../programs-seasons/types/enums/program-season.enums';
9
- import { AvailabilityStatusEnum, GenderEnum, GenderNameEnum } from '../../services/enums.service';
8
+ import { OrderBySessionEnum, SessionExpandEnum } from '../../programs-seasons/types/enums/program-season.enums';
9
+ import { AvailabilityStatusEnum, GenderEnum, GenderNameEnum, OrderByEnum } from '../../services/enums.service';
10
10
  import { LevelOfPlayEnum, LevelOfPlayNameEnum, PublishingStatusEnum, ProgramSeasonTypesEnum } from '../types/enums/program.enums';
11
11
  import { ISessionsFilters } from '../types/interfaces/program.interfaces';
12
12
  export declare class GetSessionsFiltersDto extends PaginationQuery implements ISessionsFilters {
@@ -56,10 +56,14 @@ export declare class PaginatedSessionsDto extends PaginationResultDto<SessionDto
56
56
  data: SessionDto[];
57
57
  }
58
58
  export declare class GetSessionsFiltersExtendedDto extends GetSessionsFiltersDto {
59
+ facilitiesIds?: number[];
59
60
  statuses?: PublishingStatusEnum[];
61
+ orderBy?: OrderBySessionEnum;
62
+ order?: OrderByEnum;
60
63
  }
61
64
  export declare class SessionExtendedDto extends SessionDto {
62
65
  sessionType: ProgramSeasonTypesEnum;
66
+ publishingStatus: PublishingStatusEnum;
63
67
  }
64
68
  export declare class PaginatedSessionsExtendedDto extends PaginationResultDto<SessionExtendedDto> {
65
69
  data: SessionExtendedDto[];
@@ -1 +1 @@
1
- {"version":3,"file":"session-public.dto.js","sourceRoot":"","sources":["../../../../src/types/programs/dto/session-public.dto.ts"],"names":[],"mappings":";;;AAGA,uDAA6E;AAC7E,8EAAoF;AAepF,MAAa,qBAAsB,SAAQ,6BAAe;CAgBzD;AAhBD,sDAgBC;AAED,MAAa,4BAA6B,SAAQ,6BAAe;CAEhE;AAFD,oEAEC;AAED,MAAa,UAAW,SAAQ,4CAAyB;CAwDxD;AAxDD,gCAwDC;AAED,MAAa,oBAAqB,SAAQ,iCAA+B;CAExE;AAFD,oDAEC;AAED,2CAA2C;AAC3C,MAAa,6BAA8B,SAAQ,qBAAqB;CAEvE;AAFD,sEAEC;AAED,MAAa,kBAAmB,SAAQ,UAAU;CAEjD;AAFD,gDAEC;AAED,MAAa,4BAA6B,SAAQ,iCAAuC;CAExF;AAFD,oEAEC"}
1
+ {"version":3,"file":"session-public.dto.js","sourceRoot":"","sources":["../../../../src/types/programs/dto/session-public.dto.ts"],"names":[],"mappings":";;;AAGA,uDAA6E;AAC7E,8EAAoF;AAepF,MAAa,qBAAsB,SAAQ,6BAAe;CAgBzD;AAhBD,sDAgBC;AAED,MAAa,4BAA6B,SAAQ,6BAAe;CAEhE;AAFD,oEAEC;AAED,MAAa,UAAW,SAAQ,4CAAyB;CAwDxD;AAxDD,gCAwDC;AAED,MAAa,oBAAqB,SAAQ,iCAA+B;CAExE;AAFD,oDAEC;AAED,2CAA2C;AAC3C,MAAa,6BAA8B,SAAQ,qBAAqB;CAQvE;AARD,sEAQC;AAED,MAAa,kBAAmB,SAAQ,UAAU;CAIjD;AAJD,gDAIC;AAED,MAAa,4BAA6B,SAAQ,iCAAuC;CAExF;AAFD,oEAEC"}
@@ -20,12 +20,12 @@ export interface RawUserProgramInfo extends UserProgramInfo {
20
20
  }
21
21
  export interface IProductRelatedProgram {
22
22
  productId: number;
23
- programId: number;
24
- sessionId: number;
23
+ programId?: number;
24
+ sessionId?: number;
25
25
  programType: ProgramTypesEnum;
26
26
  }
27
27
  export interface IProductRelatedProgramQuery extends IProductRelatedProgram {
28
- parentSessionId: number;
28
+ parentSessionId?: number;
29
29
  resourceId: number;
30
30
  }
31
31
  export interface IBaseSegmentsFilters {
@@ -41,6 +41,7 @@ export interface ISegmentsFilters extends IBaseSegmentsFilters {
41
41
  resourcesIds?: number[];
42
42
  }
43
43
  interface IBaseSessionsFilters extends IBaseSegmentsFilters {
44
+ facilitiesIds?: number[];
44
45
  gender?: GenderEnum;
45
46
  levels?: LevelOfPlayEnum[];
46
47
  search?: string;
@@ -49,6 +50,8 @@ interface IBaseSessionsFilters extends IBaseSegmentsFilters {
49
50
  }
50
51
  export interface ISessionsFilters extends IBaseSessionsFilters {
51
52
  expand?: SessionExpandEnum[];
53
+ order?: OrderByEnum;
54
+ orderBy?: string;
52
55
  }
53
56
  export interface IProgramFilters extends IBaseSessionsFilters, IPagination {
54
57
  expand?: ProgramExpandEnum[];