@bondsports/types 2.2.284-a-4 → 2.2.284-b-2

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 (108) hide show
  1. package/README.md +71 -71
  2. package/dist/tsconfig.build.tsbuildinfo +1 -1
  3. package/dist/types/dto/application.dto.d.ts +8 -0
  4. package/dist/types/dto/application.dto.js +4 -1
  5. package/dist/types/dto/application.dto.js.map +1 -1
  6. package/dist/types/dto/events.dto.d.ts +2 -1
  7. package/dist/types/dto/events.dto.js.map +1 -1
  8. package/dist/types/dto/general.dto.d.ts +0 -2
  9. package/dist/types/dto/general.dto.js +1 -4
  10. package/dist/types/dto/general.dto.js.map +1 -1
  11. package/dist/types/entity/Events.js.map +1 -1
  12. package/dist/types/folders/dto/folder.dto.d.ts +58 -0
  13. package/dist/types/folders/dto/folder.dto.js +34 -0
  14. package/dist/types/folders/dto/folder.dto.js.map +1 -0
  15. package/dist/types/folders/dto/index.d.ts +1 -0
  16. package/dist/types/folders/dto/index.js +18 -0
  17. package/dist/types/folders/dto/index.js.map +1 -0
  18. package/dist/types/folders/entities/folder-content.entity.d.ts +12 -0
  19. package/dist/types/folders/entities/folder-content.entity.js +14 -0
  20. package/dist/types/folders/entities/folder-content.entity.js.map +1 -0
  21. package/dist/types/folders/entities/folder-invite.entity.d.ts +8 -0
  22. package/dist/types/folders/entities/folder-invite.entity.js +8 -0
  23. package/dist/types/folders/entities/folder-invite.entity.js.map +1 -0
  24. package/dist/types/folders/entities/folder.entity.d.ts +21 -0
  25. package/dist/types/folders/entities/folder.entity.js +12 -0
  26. package/dist/types/folders/entities/folder.entity.js.map +1 -0
  27. package/dist/types/folders/entities/index.d.ts +3 -0
  28. package/dist/types/folders/entities/index.js +20 -0
  29. package/dist/types/folders/entities/index.js.map +1 -0
  30. package/dist/types/folders/index.d.ts +2 -0
  31. package/dist/types/folders/index.js +19 -0
  32. package/dist/types/folders/index.js.map +1 -0
  33. package/dist/types/index.d.ts +2 -0
  34. package/dist/types/index.js +2 -0
  35. package/dist/types/index.js.map +1 -1
  36. package/dist/types/programs/dto/program.dto.d.ts +2 -1
  37. package/dist/types/programs/dto/program.dto.js.map +1 -1
  38. package/dist/types/programs-seasons/dto/index.d.ts +1 -0
  39. package/dist/types/programs-seasons/dto/index.js +1 -0
  40. package/dist/types/programs-seasons/dto/index.js.map +1 -1
  41. package/dist/types/programs-seasons/dto/program-season-participant.dto.d.ts +8 -0
  42. package/dist/types/programs-seasons/dto/program-season-participant.dto.js +7 -0
  43. package/dist/types/programs-seasons/dto/program-season-participant.dto.js.map +1 -0
  44. package/dist/types/programs-seasons/dto/program-seasons.dto.d.ts +20 -0
  45. package/dist/types/programs-seasons/dto/program-seasons.dto.js +10 -1
  46. package/dist/types/programs-seasons/dto/program-seasons.dto.js.map +1 -1
  47. package/dist/types/programs-seasons/entities/ProgramSeason.d.ts +3 -1
  48. package/dist/types/programs-seasons/entities/ProgramSeason.js.map +1 -1
  49. package/dist/types/programs-seasons/types/enums/program-season.enums.d.ts +8 -0
  50. package/dist/types/programs-seasons/types/enums/program-season.enums.js +11 -1
  51. package/dist/types/programs-seasons/types/enums/program-season.enums.js.map +1 -1
  52. package/dist/types/programs-seasons/types/interfaces/program-season.interfaces.d.ts +18 -1
  53. package/dist/types/punch-pass/dto/punch-pass.dto.d.ts +4 -3
  54. package/dist/types/punch-pass/dto/punch-pass.dto.js +1 -1
  55. package/dist/types/punch-pass/dto/punch-pass.dto.js.map +1 -1
  56. package/dist/types/reservations/dto/index.d.ts +0 -1
  57. package/dist/types/reservations/dto/index.js +0 -1
  58. package/dist/types/reservations/dto/index.js.map +1 -1
  59. package/dist/types/reservations/dto/reservation.dto.d.ts +55 -4
  60. package/dist/types/reservations/dto/reservation.dto.js +41 -2
  61. package/dist/types/reservations/dto/reservation.dto.js.map +1 -1
  62. package/dist/types/reservations/dto/slot.dto.d.ts +1 -1
  63. package/dist/types/reservations/dto/slot.dto.js.map +1 -1
  64. package/dist/types/reservations/entities/slot.entity.d.ts +0 -1
  65. package/dist/types/reservations/entities/slot.entity.js.map +1 -1
  66. package/dist/types/reservations/types/consts/reservation.consts.d.ts +1 -2
  67. package/dist/types/reservations/types/consts/reservation.consts.js +1 -5
  68. package/dist/types/reservations/types/consts/reservation.consts.js.map +1 -1
  69. package/dist/types/reservations/types/interfaces/reservation.interfaces.d.ts +22 -14
  70. package/dist/types/resources/dto/resource.dto.d.ts +2 -8
  71. package/dist/types/resources/dto/resource.dto.js +3 -3
  72. package/dist/types/resources/dto/resource.dto.js.map +1 -1
  73. package/dist/types/resources/types/interfaces/resource.interfaces.d.ts +7 -3
  74. package/dist/types/services/enums.service.d.ts +4 -0
  75. package/dist/types/services/enums.service.js +6 -1
  76. package/dist/types/services/enums.service.js.map +1 -1
  77. package/dist/types/services/interfaces.service.d.ts +6 -0
  78. package/dist/types/services/interfaces.service.js.map +1 -1
  79. package/dist/types/session-participants/dto/get.session.participant.dto.d.ts +22 -0
  80. package/dist/types/session-participants/dto/get.session.participant.dto.js +18 -0
  81. package/dist/types/session-participants/dto/get.session.participant.dto.js.map +1 -0
  82. package/dist/types/session-participants/dto/index.d.ts +2 -0
  83. package/dist/types/session-participants/dto/index.js +19 -0
  84. package/dist/types/session-participants/dto/index.js.map +1 -0
  85. package/dist/types/session-participants/dto/session.participant.dto.d.ts +45 -0
  86. package/dist/types/session-participants/dto/session.participant.dto.js +10 -0
  87. package/dist/types/session-participants/dto/session.participant.dto.js.map +1 -0
  88. package/dist/types/session-participants/index.d.ts +2 -0
  89. package/dist/types/session-participants/index.js +19 -0
  90. package/dist/types/session-participants/index.js.map +1 -0
  91. package/dist/types/session-participants/types/consts.d.ts +3 -0
  92. package/dist/types/session-participants/types/consts.js +7 -0
  93. package/dist/types/session-participants/types/consts.js.map +1 -0
  94. package/dist/types/session-participants/types/enums.d.ts +17 -0
  95. package/dist/types/session-participants/types/enums.js +24 -0
  96. package/dist/types/session-participants/types/enums.js.map +1 -0
  97. package/dist/types/session-participants/types/index.d.ts +3 -0
  98. package/dist/types/session-participants/types/index.js +20 -0
  99. package/dist/types/session-participants/types/index.js.map +1 -0
  100. package/dist/types/session-participants/types/interfaces.d.ts +46 -0
  101. package/dist/types/session-participants/types/interfaces.js +3 -0
  102. package/dist/types/session-participants/types/interfaces.js.map +1 -0
  103. package/dist/types/user/dto/userPass.dto.d.ts +7 -6
  104. package/dist/types/user/dto/userPass.dto.js.map +1 -1
  105. package/package.json +54 -54
  106. package/dist/types/reservations/dto/calendar-slot.dto.d.ts +0 -33
  107. package/dist/types/reservations/dto/calendar-slot.dto.js +0 -10
  108. package/dist/types/reservations/dto/calendar-slot.dto.js.map +0 -1
@@ -37,3 +37,11 @@ export declare class AnswerTemplateDataDto {
37
37
  questions: QuestionDto[];
38
38
  media?: MediaDto;
39
39
  }
40
+ export declare class QuestionAndAnswerDto {
41
+ questionId: number;
42
+ question: string;
43
+ questionType?: string;
44
+ ordinal?: number;
45
+ answerId: number;
46
+ answerValue: any;
47
+ }
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.AnswerTemplateDataDto = exports.AnswerTemplateCustomerDto = exports.GetByQuestionnaireIdsDto = exports.UserAnswersDto = exports.QuestionAnswersDto = exports.QuestionDto = exports.AnswerDto = void 0;
3
+ exports.QuestionAndAnswerDto = exports.AnswerTemplateDataDto = exports.AnswerTemplateCustomerDto = exports.GetByQuestionnaireIdsDto = exports.UserAnswersDto = exports.QuestionAnswersDto = exports.QuestionDto = exports.AnswerDto = void 0;
4
4
  class AnswerDto {
5
5
  }
6
6
  exports.AnswerDto = AnswerDto;
@@ -22,4 +22,7 @@ exports.AnswerTemplateCustomerDto = AnswerTemplateCustomerDto;
22
22
  class AnswerTemplateDataDto {
23
23
  }
24
24
  exports.AnswerTemplateDataDto = AnswerTemplateDataDto;
25
+ class QuestionAndAnswerDto {
26
+ }
27
+ exports.QuestionAndAnswerDto = QuestionAndAnswerDto;
25
28
  //# sourceMappingURL=application.dto.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"application.dto.js","sourceRoot":"","sources":["../../../src/types/dto/application.dto.ts"],"names":[],"mappings":";;;AAEA,MAAa,SAAS;CAQrB;AARD,8BAQC;AAED,MAAa,WAAW;CAUvB;AAVD,kCAUC;AAED,MAAa,kBAAkB;CAI9B;AAJD,gDAIC;AAED,MAAa,cAAc;CAI1B;AAJD,wCAIC;AAED,MAAa,wBAAwB;CAEpC;AAFD,4DAEC;AAED,MAAa,yBAAyB;CAUrC;AAVD,8DAUC;AAED,MAAa,qBAAqB;CAUjC;AAVD,sDAUC"}
1
+ {"version":3,"file":"application.dto.js","sourceRoot":"","sources":["../../../src/types/dto/application.dto.ts"],"names":[],"mappings":";;;AAEA,MAAa,SAAS;CAQrB;AARD,8BAQC;AAED,MAAa,WAAW;CAUvB;AAVD,kCAUC;AAED,MAAa,kBAAkB;CAI9B;AAJD,gDAIC;AAED,MAAa,cAAc;CAI1B;AAJD,wCAIC;AAED,MAAa,wBAAwB;CAEpC;AAFD,4DAEC;AAED,MAAa,yBAAyB;CAUrC;AAVD,8DAUC;AAED,MAAa,qBAAqB;CAUjC;AAVD,sDAUC;AAED,MAAa,oBAAoB;CAYhC;AAZD,oDAYC"}
@@ -2,9 +2,10 @@ import { AttendanceDto } from '../attendance/dto/attendance.dto';
2
2
  import { PaymentStatusEnum } from '../payment/types/enums/payment.enums';
3
3
  import { MaintenanceDto } from '../reservations/dto/maintenance.dto';
4
4
  import { Slot } from '../reservations/entities/slot.entity';
5
+ import { SimpleResourceDto } from '../resources/dto/resource.dto';
5
6
  import { EntryStatusEnum, OrderByEnum, ProgramTypesEnum, RegistrationValidationStatusEnum } from '../services/enums.service';
6
7
  import { IBasicSpaceAndSlotCreator } from '../services/interfaces.service';
7
- import { IdDto, PaginationQuery, PaginationRangeQuery, SimpleResourceDto } from './general.dto';
8
+ import { IdDto, PaginationQuery, PaginationRangeQuery } from './general.dto';
8
9
  export declare class FindEventByIdDto {
9
10
  eventId: number;
10
11
  organizationId: number;
@@ -1 +1 @@
1
- {"version":3,"file":"events.dto.js","sourceRoot":"","sources":["../../../src/types/dto/events.dto.ts"],"names":[],"mappings":";;;AAYA,+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;AAuCD,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":";;;AAaA,+CAA6E;AAE7E,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;AAuCD,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"}
@@ -53,8 +53,6 @@ export declare class IdDto implements IId {
53
53
  export declare class IdAndNameDto extends IdDto {
54
54
  name: string;
55
55
  }
56
- export declare class SimpleResourceDto extends IdAndNameDto {
57
- }
58
56
  export declare class AuthenticatedRequestDto {
59
57
  user: IdDto;
60
58
  }
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.Base64EnabledDto = exports.PaginatedSearchDto = exports.IncludeAdditionalDataDto = exports.CronQueryParamsDto = exports.GenericResponseDto = exports.IdsQueryDto = exports.IdsOptionalDto = exports.IdsDto = exports.AuthenticatedRequestDto = exports.SimpleResourceDto = exports.IdAndNameDto = exports.IdDto = 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_PAGE = exports.DEFAULT_MINIMUM_ITEMS_PER_PAGE = exports.DEFAULT_MAXIMUM_ITEMS_PER_PAGE = exports.FindOneParams = void 0;
3
+ exports.Base64EnabledDto = exports.PaginatedSearchDto = exports.IncludeAdditionalDataDto = exports.CronQueryParamsDto = exports.GenericResponseDto = exports.IdsQueryDto = exports.IdsOptionalDto = exports.IdsDto = exports.AuthenticatedRequestDto = exports.IdAndNameDto = exports.IdDto = 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_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;
@@ -52,9 +52,6 @@ exports.IdDto = IdDto;
52
52
  class IdAndNameDto extends IdDto {
53
53
  }
54
54
  exports.IdAndNameDto = IdAndNameDto;
55
- class SimpleResourceDto extends IdAndNameDto {
56
- }
57
- exports.SimpleResourceDto = SimpleResourceDto;
58
55
  class AuthenticatedRequestDto {
59
56
  }
60
57
  exports.AuthenticatedRequestDto = AuthenticatedRequestDto;
@@ -1 +1 @@
1
- {"version":3,"file":"general.dto.js","sourceRoot":"","sources":["../../../src/types/dto/general.dto.ts"],"names":[],"mappings":";;;AAIA,MAAa,aAAa;CAEzB;AAFD,sCAEC;AAEY,QAAA,8BAA8B,GAAG,GAAG,CAAC;AACrC,QAAA,8BAA8B,GAAG,EAAE,CAAC;AACpC,QAAA,YAAY,GAAG,CAAC,CAAC;AAEjB,QAAA,qBAAqB,GAAG,GAAG,CAAC;AAC5B,QAAA,0BAA0B,GAAG,IAAI,CAAC;AAClC,QAAA,eAAe,GA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,uBAAL,KAAK,CAAE,IAAI,KAAI,oBAAY,CAAC;SACxC;IACF,CAAC;CAOD;AAlBD,0CAkBC;AAED,MAAa,KAAK;CAEjB;AAFD,sBAEC;AAED,MAAa,oBAAoB;IAAjC;QACC,cAAS,GAAG,CAAC,CAAC;QAEd,YAAO,GAAG,CAAC,CAAC;QAEZ,iBAAY,GAAG,GAAG,CAAC;IACpB,CAAC;CAAA;AAND,oDAMC;AAED,MAAa,iBAAiB;CAc7B;AAdD,8CAcC;AAED,MAAa,mBAAmB;IAK/B,YAAY,IAAS,EAAE,IAAuB;QAC7C,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;IAClB,CAAC;CACD;AATD,kDASC;AAED,MAAa,wBAA+B,SAAQ,mBAAsB;CAEzE;AAFD,4DAEC;AAED,MAAa,KAAK;CAEjB;AAFD,sBAEC;AAED,MAAa,YAAa,SAAQ,KAAK;CAEtC;AAFD,oCAEC;AAED,MAAa,uBAAuB;CAEnC;AAFD,0DAEC;AAED,MAAa,MAAM;CAElB;AAFD,wBAEC;AAED,MAAa,cAAc;CAE1B;AAFD,wCAEC;AAED,MAAa,WAAW;CAEvB;AAFD,kCAEC;AAED,MAAa,kBAAkB;CAM9B;AAND,gDAMC;AAED,MAAa,kBAAkB;CAE9B;AAFD,gDAEC;AAED,MAAa,wBAAwB;CAEpC;AAFD,4DAEC;AAED,MAAa,kBAAmB,SAAQ,eAAe;CAMtD;AAND,gDAMC;AAED,MAAa,gBAAgB;CAE5B;AAFD,4CAEC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Events.js","sourceRoot":"","sources":["../../../src/types/entity/Events.ts"],"names":[],"mappings":";;;AAEA,yFAAsF;AAYtF,MAAa,KAAM,SAAQ,mEAAgC;CAkH1D;AAlHD,sBAkHC"}
1
+ {"version":3,"file":"Events.js","sourceRoot":"","sources":["../../../src/types/entity/Events.ts"],"names":[],"mappings":";;;AAEA,yFAAsF;AAYtF,MAAa,KAAM,SAAQ,mEAAgC;CAqH1D;AArHD,sBAqHC"}
@@ -0,0 +1,58 @@
1
+ import { ContentType } from '../entities/folder-content.entity';
2
+ import { ReferableType } from '../entities/folder.entity';
3
+ export declare class CreateFolderDto {
4
+ parentFolderId: number;
5
+ name: string;
6
+ category?: string;
7
+ organizationId?: number;
8
+ facilityId?: number;
9
+ referableType?: ReferableType;
10
+ referableId?: number;
11
+ }
12
+ export declare class UpdateFolderDto {
13
+ name?: string;
14
+ category?: string;
15
+ organizationId?: number;
16
+ }
17
+ export declare class MoveFolderDto {
18
+ newParentFolderId?: number;
19
+ }
20
+ export declare class AddContentDto {
21
+ contentType: ContentType;
22
+ contentId: number;
23
+ }
24
+ export declare class GetFolderContentsDto {
25
+ folderIds: number[];
26
+ contentTypes?: ContentType[];
27
+ }
28
+ export declare class CreateFolderInviteDto {
29
+ }
30
+ export declare class FolderInviteResponseDto {
31
+ id: number;
32
+ folderId: number;
33
+ uuid: string;
34
+ createdAt: Date;
35
+ updatedAt: Date;
36
+ }
37
+ export declare class MoveFolderContentDto {
38
+ targetFolderId: number;
39
+ }
40
+ export declare class GetFolderHierarchyDto {
41
+ referableType: ReferableType;
42
+ referableId: number;
43
+ depthLimit?: number;
44
+ }
45
+ export declare class FolderHierarchyResponseDto {
46
+ id: number;
47
+ name: string;
48
+ category?: string;
49
+ organizationId: number;
50
+ facilityId?: number;
51
+ referableType: ReferableType;
52
+ referableId: number;
53
+ createdAt: Date;
54
+ updatedAt: Date;
55
+ parent_id?: number;
56
+ depth: number;
57
+ path: number[];
58
+ }
@@ -0,0 +1,34 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.FolderHierarchyResponseDto = exports.GetFolderHierarchyDto = exports.MoveFolderContentDto = exports.FolderInviteResponseDto = exports.CreateFolderInviteDto = exports.GetFolderContentsDto = exports.AddContentDto = exports.MoveFolderDto = exports.UpdateFolderDto = exports.CreateFolderDto = void 0;
4
+ class CreateFolderDto {
5
+ }
6
+ exports.CreateFolderDto = CreateFolderDto;
7
+ class UpdateFolderDto {
8
+ }
9
+ exports.UpdateFolderDto = UpdateFolderDto;
10
+ class MoveFolderDto {
11
+ }
12
+ exports.MoveFolderDto = MoveFolderDto;
13
+ class AddContentDto {
14
+ }
15
+ exports.AddContentDto = AddContentDto;
16
+ class GetFolderContentsDto {
17
+ }
18
+ exports.GetFolderContentsDto = GetFolderContentsDto;
19
+ class CreateFolderInviteDto {
20
+ }
21
+ exports.CreateFolderInviteDto = CreateFolderInviteDto;
22
+ class FolderInviteResponseDto {
23
+ }
24
+ exports.FolderInviteResponseDto = FolderInviteResponseDto;
25
+ class MoveFolderContentDto {
26
+ }
27
+ exports.MoveFolderContentDto = MoveFolderContentDto;
28
+ class GetFolderHierarchyDto {
29
+ }
30
+ exports.GetFolderHierarchyDto = GetFolderHierarchyDto;
31
+ class FolderHierarchyResponseDto {
32
+ }
33
+ exports.FolderHierarchyResponseDto = FolderHierarchyResponseDto;
34
+ //# sourceMappingURL=folder.dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"folder.dto.js","sourceRoot":"","sources":["../../../../src/types/folders/dto/folder.dto.ts"],"names":[],"mappings":";;;AAGA,MAAa,eAAe;CAc3B;AAdD,0CAcC;AAED,MAAa,eAAe;CAM3B;AAND,0CAMC;AAED,MAAa,aAAa;CAEzB;AAFD,sCAEC;AAED,MAAa,aAAa;CAIzB;AAJD,sCAIC;AAED,MAAa,oBAAoB;CAIhC;AAJD,oDAIC;AAED,MAAa,qBAAqB;CAEjC;AAFD,sDAEC;AAED,MAAa,uBAAuB;CAUnC;AAVD,0DAUC;AAED,MAAa,oBAAoB;CAEhC;AAFD,oDAEC;AAED,MAAa,qBAAqB;CAMjC;AAND,sDAMC;AAED,MAAa,0BAA0B;CAwBtC;AAxBD,gEAwBC"}
@@ -0,0 +1 @@
1
+ export * from './folder.dto';
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./folder.dto"), exports);
18
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/folders/dto/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+CAA6B"}
@@ -0,0 +1,12 @@
1
+ import { Folder } from './folder.entity';
2
+ import { BondBaseEntity } from '../../entity/BondBaseEntity';
3
+ export declare enum ContentType {
4
+ FOLDER = 10,
5
+ USER = 20
6
+ }
7
+ export declare class FolderContent extends BondBaseEntity {
8
+ contentType: ContentType;
9
+ contentId: number;
10
+ folder: Folder;
11
+ deletedAt: Date;
12
+ }
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.FolderContent = exports.ContentType = void 0;
4
+ const BondBaseEntity_1 = require("../../entity/BondBaseEntity");
5
+ var ContentType;
6
+ (function (ContentType) {
7
+ ContentType[ContentType["FOLDER"] = 10] = "FOLDER";
8
+ ContentType[ContentType["USER"] = 20] = "USER";
9
+ // Add other content types as needed
10
+ })(ContentType = exports.ContentType || (exports.ContentType = {}));
11
+ class FolderContent extends BondBaseEntity_1.BondBaseEntity {
12
+ }
13
+ exports.FolderContent = FolderContent;
14
+ //# sourceMappingURL=folder-content.entity.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"folder-content.entity.js","sourceRoot":"","sources":["../../../../src/types/folders/entities/folder-content.entity.ts"],"names":[],"mappings":";;;AAUA,gEAA6D;AAE7D,IAAY,WAIX;AAJD,WAAY,WAAW;IACtB,kDAAW,CAAA;IACX,8CAAS,CAAA;IACT,oCAAoC;AACrC,CAAC,EAJW,WAAW,GAAX,mBAAW,KAAX,mBAAW,QAItB;AAED,MAAa,aAAc,SAAQ,+BAAc;CAQhD;AARD,sCAQC"}
@@ -0,0 +1,8 @@
1
+ import { Folder } from './folder.entity';
2
+ import { BondBaseEntity } from '../../entity/BondBaseEntity';
3
+ export declare class FolderInvite extends BondBaseEntity {
4
+ folderId: number;
5
+ folder: Folder;
6
+ uuid: string;
7
+ deletedAt: Date;
8
+ }
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.FolderInvite = void 0;
4
+ const BondBaseEntity_1 = require("../../entity/BondBaseEntity");
5
+ class FolderInvite extends BondBaseEntity_1.BondBaseEntity {
6
+ }
7
+ exports.FolderInvite = FolderInvite;
8
+ //# sourceMappingURL=folder-invite.entity.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"folder-invite.entity.js","sourceRoot":"","sources":["../../../../src/types/folders/entities/folder-invite.entity.ts"],"names":[],"mappings":";;;AAEA,gEAA6D;AAE7D,MAAa,YAAa,SAAQ,+BAAc;CAQ/C;AARD,oCAQC"}
@@ -0,0 +1,21 @@
1
+ import { FolderContent } from './folder-content.entity';
2
+ import { FolderInvite } from './folder-invite.entity';
3
+ import { Organization } from '../../organization/entities/Organization';
4
+ import { Facility } from '../../entity/Facility';
5
+ import { BondBaseEntity } from '../../entity/BondBaseEntity';
6
+ export declare enum ReferableType {
7
+ PROGRAM_SEASON = 10
8
+ }
9
+ export declare class Folder extends BondBaseEntity {
10
+ organizationId: number;
11
+ organization: Organization;
12
+ facilityId: number;
13
+ facility: Facility;
14
+ referableType: ReferableType;
15
+ referableId: number;
16
+ name: string;
17
+ category: string;
18
+ contents: FolderContent[];
19
+ invites: FolderInvite[];
20
+ deletedAt: Date;
21
+ }
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Folder = exports.ReferableType = void 0;
4
+ const BondBaseEntity_1 = require("../../entity/BondBaseEntity");
5
+ var ReferableType;
6
+ (function (ReferableType) {
7
+ ReferableType[ReferableType["PROGRAM_SEASON"] = 10] = "PROGRAM_SEASON";
8
+ })(ReferableType = exports.ReferableType || (exports.ReferableType = {}));
9
+ class Folder extends BondBaseEntity_1.BondBaseEntity {
10
+ }
11
+ exports.Folder = Folder;
12
+ //# sourceMappingURL=folder.entity.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"folder.entity.js","sourceRoot":"","sources":["../../../../src/types/folders/entities/folder.entity.ts"],"names":[],"mappings":";;;AAKA,gEAA6D;AAE7D,IAAY,aAEX;AAFD,WAAY,aAAa;IACxB,sEAAmB,CAAA;AACpB,CAAC,EAFW,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAExB;AAED,MAAa,MAAO,SAAQ,+BAAc;CAwBzC;AAxBD,wBAwBC"}
@@ -0,0 +1,3 @@
1
+ export * from './folder-content.entity';
2
+ export * from './folder-invite.entity';
3
+ export * from './folder.entity';
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./folder-content.entity"), exports);
18
+ __exportStar(require("./folder-invite.entity"), exports);
19
+ __exportStar(require("./folder.entity"), exports);
20
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/folders/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0DAAwC;AACxC,yDAAuC;AACvC,kDAAgC"}
@@ -0,0 +1,2 @@
1
+ export * from './dto';
2
+ export * from './entities';
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./dto"), exports);
18
+ __exportStar(require("./entities"), exports);
19
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/types/folders/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wCAAsB;AACtB,6CAA2B"}
@@ -12,6 +12,7 @@ export * from './errors';
12
12
  export * from './facilities';
13
13
  export * from './familyAccount';
14
14
  export * from './fee';
15
+ export * from './folders';
15
16
  export * from './future-installments';
16
17
  export * from './gl-codes';
17
18
  export * from './import';
@@ -39,6 +40,7 @@ export * from './resource-settings';
39
40
  export * from './resources';
40
41
  export * from './roles';
41
42
  export * from './services';
43
+ export * from './session-participants';
42
44
  export * from './shifts';
43
45
  export * from './user';
44
46
  export * from './user-activities';
@@ -28,6 +28,7 @@ __exportStar(require("./errors"), exports);
28
28
  __exportStar(require("./facilities"), exports);
29
29
  __exportStar(require("./familyAccount"), exports);
30
30
  __exportStar(require("./fee"), exports);
31
+ __exportStar(require("./folders"), exports);
31
32
  __exportStar(require("./future-installments"), exports);
32
33
  __exportStar(require("./gl-codes"), exports);
33
34
  __exportStar(require("./import"), exports);
@@ -55,6 +56,7 @@ __exportStar(require("./resource-settings"), exports);
55
56
  __exportStar(require("./resources"), exports);
56
57
  __exportStar(require("./roles"), exports);
57
58
  __exportStar(require("./services"), exports);
59
+ __exportStar(require("./session-participants"), exports);
58
60
  __exportStar(require("./shifts"), exports);
59
61
  __exportStar(require("./user"), exports);
60
62
  __exportStar(require("./user-activities"), exports);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+CAA6B;AAC7B,+CAA6B;AAC7B,2CAAyB;AACzB,4CAA0B;AAC1B,+CAA6B;AAC7B,yCAAuB;AACvB,8CAA4B;AAC5B,wCAAsB;AACtB,8CAA4B;AAC5B,2CAAyB;AACzB,2CAAyB;AACzB,+CAA6B;AAC7B,kDAAgC;AAChC,wCAAsB;AACtB,wDAAsC;AACtC,6CAA2B;AAC3B,2CAAyB;AACzB,gDAA8B;AAC9B,4CAA0B;AAC1B,2CAAyB;AACzB,0CAAwB;AACxB,0CAAwB;AACxB,+CAA6B;AAC7B,mDAAiC;AACjC,0CAAwB;AACxB,kDAAgC;AAChC,mDAAiC;AACjC,iDAA+B;AAC/B,4CAA0B;AAC1B,4CAA0B;AAC1B,oDAAkC;AAClC,6CAA2B;AAC3B,qDAAmC;AACnC,+CAA6B;AAC7B,6CAA2B;AAC3B,mDAAiC;AACjC,iDAA+B;AAC/B,sDAAoC;AACpC,8CAA4B;AAC5B,0CAAwB;AACxB,6CAA2B;AAC3B,2CAAyB;AACzB,yCAAuB;AACvB,oDAAkC;AAClC,wDAAsC;AACtC,yCAAuB;AACvB,4CAA0B;AAC1B,4CAA0B;AAC1B,6CAA2B"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+CAA6B;AAC7B,+CAA6B;AAC7B,2CAAyB;AACzB,4CAA0B;AAC1B,+CAA6B;AAC7B,yCAAuB;AACvB,8CAA4B;AAC5B,wCAAsB;AACtB,8CAA4B;AAC5B,2CAAyB;AACzB,2CAAyB;AACzB,+CAA6B;AAC7B,kDAAgC;AAChC,wCAAsB;AACtB,4CAA0B;AAC1B,wDAAsC;AACtC,6CAA2B;AAC3B,2CAAyB;AACzB,gDAA8B;AAC9B,4CAA0B;AAC1B,2CAAyB;AACzB,0CAAwB;AACxB,0CAAwB;AACxB,+CAA6B;AAC7B,mDAAiC;AACjC,0CAAwB;AACxB,kDAAgC;AAChC,mDAAiC;AACjC,iDAA+B;AAC/B,4CAA0B;AAC1B,4CAA0B;AAC1B,oDAAkC;AAClC,6CAA2B;AAC3B,qDAAmC;AACnC,+CAA6B;AAC7B,6CAA2B;AAC3B,mDAAiC;AACjC,iDAA+B;AAC/B,sDAAoC;AACpC,8CAA4B;AAC5B,0CAAwB;AACxB,6CAA2B;AAC3B,yDAAuC;AACvC,2CAAyB;AACzB,yCAAuB;AACvB,oDAAkC;AAClC,wDAAsC;AACtC,yCAAuB;AACvB,4CAA0B;AAC1B,4CAA0B;AAC1B,6CAA2B"}
@@ -1,10 +1,11 @@
1
1
  import { SimpleFacilityDto } from '../../dto/facilities.dto';
2
- import { IdAndNameDto, PaginationQuery, SimpleResourceDto } from '../../dto/general.dto';
2
+ import { IdAndNameDto, PaginationQuery } from '../../dto/general.dto';
3
3
  import { ProductUserFinancialInfoDto, SimpleProductUserDto } from '../../dto/product-user';
4
4
  import { ByOrganizationIdDto, OptionalOrganizationIdDto } from '../../organization/dto/organization.dto';
5
5
  import { SimpleProductDto } from '../../product-pricing/dto/product.dto';
6
6
  import { SimpleSessionDto } from '../../programs-seasons/dto/program-seasons.dto';
7
7
  import { GenderEnum, LevelOfPlayEnum, OrderByEnum, PlatformsEnum, ProgramHighlightTypeEnum, ProgramTypesEnum, PublishingStatusEnum, SportsEnum } from '../../services/enums.service';
8
+ import { SimpleResourceDto } from '../../resources/dto/resource.dto';
8
9
  import { SimpleUserDto } from '../../user/dto/user.dto';
9
10
  export declare class FindOrganizationProgramsDto {
10
11
  programType?: ProgramTypesEnum;
@@ -1 +1 @@
1
- {"version":3,"file":"program.dto.js","sourceRoot":"","sources":["../../../../src/types/programs/dto/program.dto.ts"],"names":[],"mappings":";;;AACA,uDAAyF;AAEzF,8EAAyG;AAezG,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,4CAAyB;CAE5D;AAFD,wCAEC;AAED,MAAa,YAAa,SAAQ,cAAc;CAE/C;AAFD,oCAEC;AAED,MAAa,qBAAqB;CAEjC;AAFD,sDAEC;AAED,MAAa,sBAAuB,SAAQ,cAAc;CAEzD;AAFD,wDAEC;AAED,MAAa,mBAAmB;CAY/B;AAZD,kDAYC;AAED,MAAa,cAAc;CA8C1B;AA9CD,wCA8CC;AAED,MAAa,gBAAiB,SAAQ,cAAc;CAAG;AA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,6BAAe;CAQ5D;AARD,4DAQC;AAED,MAAa,cAAc;CA4B1B;AA5BD,wCA4BC"}
@@ -1 +1,2 @@
1
+ export * from './program-season-participant.dto';
1
2
  export * from './program-seasons.dto';
@@ -14,5 +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("./program-season-participant.dto"), exports);
17
18
  __exportStar(require("./program-seasons.dto"), exports);
18
19
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/programs-seasons/dto/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wDAAsC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/programs-seasons/dto/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,mEAAiD;AACjD,wDAAsC"}
@@ -0,0 +1,8 @@
1
+ import { ScheduleDto } from '../../dto/activityTimes.dto';
2
+ import { SimpleInvoiceDto } from '../../invoice/dto/invoice.dto';
3
+ import { QuestionAndAnswerDto } from '../../dto/application.dto';
4
+ export declare class ProgramSeasonParticipantDto {
5
+ applicationAnswers: QuestionAndAnswerDto[];
6
+ invoices: SimpleInvoiceDto[];
7
+ schedule: ScheduleDto[];
8
+ }
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ProgramSeasonParticipantDto = void 0;
4
+ class ProgramSeasonParticipantDto {
5
+ }
6
+ exports.ProgramSeasonParticipantDto = ProgramSeasonParticipantDto;
7
+ //# sourceMappingURL=program-season-participant.dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"program-season-participant.dto.js","sourceRoot":"","sources":["../../../../src/types/programs-seasons/dto/program-season-participant.dto.ts"],"names":[],"mappings":";;;AAIA,MAAa,2BAA2B;CAMvC;AAND,kEAMC"}
@@ -10,6 +10,10 @@ import { SlotTypeEnum } from '../../reservations/types/enums/reservation.enums';
10
10
  import { ITimeSlotConflicts } from '../../reservations/types/interfaces/reservation.interfaces';
11
11
  import { CreateOrUpdateResourceSettingDto } from '../../resource-settings/dto/create-or-update-resource-setting.dto';
12
12
  import { GenderEnum, LevelOfPlayEnum, OrderByEnum, ProgramSeasonTypesEnum, ProgramTypesEnum, PublishingStatusEnum, RegistrationConstraintPeriodTypeEnum, ResourceNameTypeEnum, SportsEnum } from '../../services/enums.service';
13
+ import { SimpleResourceDto } from '../../resources/dto/resource.dto';
14
+ import { IGetProgramSeasonChildrenFilters, IGetProgramSeasonsChildrenOptions } from '../types/interfaces/program-season.interfaces';
15
+ import { EventSortByFieldsEnum, SegmentSortByFieldsEnum } from '../types/enums/program-season.enums';
16
+ import { BondBaseEntity } from '../../entity/BondBaseEntity';
13
17
  import { ProgramSeason } from '../entities/ProgramSeason';
14
18
  export declare class FindSessionsFiltersDto {
15
19
  status?: PublishingStatusEnum;
@@ -175,6 +179,7 @@ export declare class SimpleSessionDto extends IdAndNameDto {
175
179
  endDate: Date;
176
180
  programType?: ProgramTypesEnum;
177
181
  productCount?: number;
182
+ resources?: SimpleResourceDto[];
178
183
  }
179
184
  export declare class SpaceResourcePairDto {
180
185
  resourceType: ResourceNameTypeEnum;
@@ -256,6 +261,21 @@ export declare class GetRelatedProgramSessionsDto {
256
261
  statuses?: PublishingStatusEnum[];
257
262
  includeProductsCount?: boolean;
258
263
  }
264
+ export declare class GetPaginatedSessionQueryDto<T extends BondBaseEntity> extends PaginationQuery implements IGetProgramSeasonsChildrenOptions, IGetProgramSeasonChildrenFilters<T> {
265
+ includeResources?: boolean;
266
+ resourcesIds?: number[];
267
+ attendeeId?: number;
268
+ startDate?: string;
269
+ endDate?: string;
270
+ }
271
+ export declare class GetPaginatedSegmentsQueryDto extends GetPaginatedSessionQueryDto<ProgramSeason> {
272
+ orderBy?: SegmentSortByFieldsEnum;
273
+ order?: OrderByEnum;
274
+ }
275
+ export declare class GetPaginatedEventsQueryDto extends GetPaginatedSessionQueryDto<Event> {
276
+ orderBy?: EventSortByFieldsEnum;
277
+ order?: OrderByEnum;
278
+ }
259
279
  export declare class SeasonWithProduct {
260
280
  season: ProgramSeason;
261
281
  product: Product;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.SeasonWithProduct = exports.GetRelatedProgramSessionsDto = exports.RelatedSessionsDto = exports.GetOrganizationProgramSessionsDto = exports.NotifySessionAttendeesDto = exports.NotifyEventAttendeesDto = exports.EventsAndConflictsDto = exports.UpdateProgramSeasonOptionsDto = exports.UpdateProgramSeasonColorsDto = exports.MoveParticipantDto = exports.UpdateSeasonRegistrationDatesDto = exports.MoveAttendeeDto = exports.UpdateSeasonDatesDto = exports.SpaceAllocationsByTimesDto = exports.SingleSpaceAllocationByTimesDto = exports.BulkSpaceResourceAllocationDto = exports.SpaceResourcePairDto = exports.SimpleSessionDto = exports.ShallowUpdateSubSeasonDto = exports.ShallowUpdateProgramSeasonDto = exports.UpdateProgramSeasonStatusDto = exports.UpdateProgramSeasonDto = exports.CreateProgramSeasonDto = exports.SubSeasonBasicInfo = exports.CreateSessionScheduleDto = exports.BaseProgramSeasonDto = exports.RegistrationSettingsDto = exports.RegistrationDatesDto = exports.BlockedDatesDto = exports.FindRegisteredUsersOptionsDto = exports.FindRegisteredUserDto = exports.DeleteProductDto = exports.FindSessionEventByIdDto = exports.ByOrganizationIdAndProgramSeasonIdDto = exports.FindSeasonEventsQueryDto = exports.SegmentsBySessionQueryDto = exports.FindProgramSeasonByIdDto = exports.FindProgramSeasonByIdQueryDto = exports.DeleteEventAttendeesDto = exports.BySeasonDto = exports.FindSessionsFiltersDto = void 0;
3
+ exports.SeasonWithProduct = exports.GetPaginatedEventsQueryDto = exports.GetPaginatedSegmentsQueryDto = exports.GetPaginatedSessionQueryDto = exports.GetRelatedProgramSessionsDto = exports.RelatedSessionsDto = exports.GetOrganizationProgramSessionsDto = exports.NotifySessionAttendeesDto = exports.NotifyEventAttendeesDto = exports.EventsAndConflictsDto = exports.UpdateProgramSeasonOptionsDto = exports.UpdateProgramSeasonColorsDto = exports.MoveParticipantDto = exports.UpdateSeasonRegistrationDatesDto = exports.MoveAttendeeDto = exports.UpdateSeasonDatesDto = exports.SpaceAllocationsByTimesDto = exports.SingleSpaceAllocationByTimesDto = exports.BulkSpaceResourceAllocationDto = exports.SpaceResourcePairDto = exports.SimpleSessionDto = exports.ShallowUpdateSubSeasonDto = exports.ShallowUpdateProgramSeasonDto = exports.UpdateProgramSeasonStatusDto = exports.UpdateProgramSeasonDto = exports.CreateProgramSeasonDto = exports.SubSeasonBasicInfo = exports.CreateSessionScheduleDto = exports.BaseProgramSeasonDto = exports.RegistrationSettingsDto = exports.RegistrationDatesDto = exports.BlockedDatesDto = exports.FindRegisteredUsersOptionsDto = exports.FindRegisteredUserDto = exports.DeleteProductDto = exports.FindSessionEventByIdDto = exports.ByOrganizationIdAndProgramSeasonIdDto = exports.FindSeasonEventsQueryDto = exports.SegmentsBySessionQueryDto = exports.FindProgramSeasonByIdDto = exports.FindProgramSeasonByIdQueryDto = exports.DeleteEventAttendeesDto = exports.BySeasonDto = exports.FindSessionsFiltersDto = void 0;
4
4
  const general_dto_1 = require("../../dto/general.dto");
5
5
  const backoffice_notify_dto_1 = require("../../notifications/dto/backoffice.notify.dto");
6
6
  const organization_dto_1 = require("../../organization/dto/organization.dto");
@@ -131,6 +131,15 @@ exports.RelatedSessionsDto = RelatedSessionsDto;
131
131
  class GetRelatedProgramSessionsDto {
132
132
  }
133
133
  exports.GetRelatedProgramSessionsDto = GetRelatedProgramSessionsDto;
134
+ class GetPaginatedSessionQueryDto extends general_dto_1.PaginationQuery {
135
+ }
136
+ exports.GetPaginatedSessionQueryDto = GetPaginatedSessionQueryDto;
137
+ class GetPaginatedSegmentsQueryDto extends GetPaginatedSessionQueryDto {
138
+ }
139
+ exports.GetPaginatedSegmentsQueryDto = GetPaginatedSegmentsQueryDto;
140
+ class GetPaginatedEventsQueryDto extends GetPaginatedSessionQueryDto {
141
+ }
142
+ exports.GetPaginatedEventsQueryDto = GetPaginatedEventsQueryDto;
134
143
  class SeasonWithProduct {
135
144
  }
136
145
  exports.SeasonWithProduct = SeasonWithProduct;
@@ -1 +1 @@
1
- {"version":3,"file":"program-seasons.dto.js","sourceRoot":"","sources":["../../../../src/types/programs-seasons/dto/program-seasons.dto.ts"],"names":[],"mappings":";;;AAEA,uDAAyF;AAEzF,yFAAoF;AACpF,8EAAyG;AAEzG,gEAAuF;AAkBvF,MAAa,sBAAsB;CAIlC;AAJD,wDAIC;AAED,MAAa,WAAY,SAAQ,0BAAY;CAE5C;AAFD,kCAEC;AAED,MAAa,uBAAuB;CAEnC;AAFD,0DAEC;AAED,MAAa,6BAA6B;CAEzC;AAFD,sEAEC;AAED,MAAa,wBAAyB,SAAQ,4CAAyB;CAEtE;AAFD,4DAEC;AAED,MAAa,yBAAyB;CAUrC;AAVD,8DAUC;AACD,MAAa,wBAAyB,SAAQ,6BAAe;CAU5D;AAVD,4DAUC;AAED,MAAa,qCAAsC,SAAQ,sCAAmB;CAE7E;AAFD,sFAEC;AAED,MAAa,uBAAuB;CAGnC;AAHD,0DAGC;AAED,MAAa,gBAAgB;CAE5B;AAFD,4CAEC;AAED,MAAa,qBAAsB,SAAQ,wBAAwB;CAElE;AAFD,sDAEC;AAED,MAAa,6BAA8B,SAAQ,6BAAe;CAMjE;AAND,sEAMC;AAED,MAAa,eAAe;CAM3B;AAND,0CAMC;AAED,MAAa,oBAAoB;CAShC;AATD,oDASC;AAED,MAAa,uBAAwB,SAAQ,oBAAoB;CAUhE;AAVD,0DAUC;AAED,MAAa,oBAAqB,SAAQ,uBAAuB;CA8EhE;AA9ED,oDA8EC;AAED,MAAa,wBAAwB;CAMpC;AAND,4DAMC;AAED,MAAa,kBAAkB;CAQ9B;AARD,gDAQC;AAED,MAAa,sBAAuB,SAAQ,oBAAoB;CAI/D;AAJD,wDAIC;AAED,MAAa,sBAAuB,SAAQ,oBAAoB;CAE/D;AAFD,wDAEC;AAED,MAAa,4BAA4B;CAGxC;AAHD,oEAGC;AAED,MAAa,6BAA6B;CAwDzC;AAxDD,sEAwDC;AAED,MAAa,yBAA0B,SAAQ,0BAAY;CAAG;AAA9D,8DAA8D;AAE9D,MAAa,gBAAiB,SAAQ,0BAAY;CAYjD;AAZD,4CAYC;AAED,MAAa,oBAAoB;CAWhC;AAXD,oDAWC;AAED,MAAa,8BAA8B;CAI1C;AAJD,wEAIC;AAED,MAAa,+BAA+B;CAO3C;AAPD,0EAOC;AAED,MAAa,0BAA0B;CAEtC;AAFD,gEAEC;AAED,MAAa,oBAAoB;CAIhC;AAJD,oDAIC;AAED,MAAa,eAAe;CAK3B;AALD,0CAKC;AAED,MAAa,gCAAgC;CAE5C;AAFD,4EAEC;AAED,MAAa,kBAAkB;CAY9B;AAZD,gDAYC;AAED,MAAa,4BAA4B;CAExC;AAFD,oEAEC;AAED,MAAa,6BAA8B,SAAQ,qCAAuB;CAAG;AAA7E,sEAA6E;AAE7E,MAAa,qBAAqB;CAMjC;AAND,sDAMC;AAED;;GAEG;AACH,MAAa,uBAAwB,SAAQ,2CAAmB;CAY/D;AAZD,0DAYC;AAED;;GAEG;AACH,MAAa,yBAA0B,SAAQ,2CAAmB;CAajE;AAbD,8DAaC;AAED,MAAa,iCAAkC,SAAQ,6BAAe;CAMrE;AAND,8EAMC;AAED,MAAa,kBAAkB;CAI9B;AAJD,gDAIC;AAED,MAAa,4BAA4B;CAMxC;AAND,oEAMC;AAED,MAAa,iBAAiB;CAI7B;AAJD,8CAIC"}
1
+ {"version":3,"file":"program-seasons.dto.js","sourceRoot":"","sources":["../../../../src/types/programs-seasons/dto/program-seasons.dto.ts"],"names":[],"mappings":";;;AAEA,uDAAyF;AAEzF,yFAAoF;AACpF,8EAAyG;AAEzG,gEAA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AA+B;CAO3C;AAPD,0EAOC;AAED,MAAa,0BAA0B;CAEtC;AAFD,gEAEC;AAED,MAAa,oBAAoB;CAIhC;AAJD,oDAIC;AAED,MAAa,eAAe;CAK3B;AALD,0CAKC;AAED,MAAa,gCAAgC;CAE5C;AAFD,4EAEC;AAED,MAAa,kBAAkB;CAY9B;AAZD,gDAYC;AAED,MAAa,4BAA4B;CAExC;AAFD,oEAEC;AAED,MAAa,6BAA8B,SAAQ,qCAAuB;CAAG;AAA7E,sEAA6E;AAE7E,MAAa,qBAAqB;CAMjC;AAND,sDAMC;AAED;;GAEG;AACH,MAAa,uBAAwB,SAAQ,2CAAmB;CAY/D;AAZD,0DAYC;AAED;;GAEG;AACH,MAAa,yBAA0B,SAAQ,2CAAmB;CAajE;AAbD,8DAaC;AAED,MAAa,iCAAkC,SAAQ,6BAAe;CAMrE;AAND,8EAMC;AAED,MAAa,kBAAkB;CAI9B;AAJD,gDAIC;AAED,MAAa,4BAA4B;CAMxC;AAND,oEAMC;AAED,MAAa,2BACZ,SAAQ,6BAAe;CAWvB;AAZD,kEAYC;AAED,MAAa,4BAA6B,SAAQ,2BAA0C;CAI3F;AAJD,oEAIC;AAED,MAAa,0BAA2B,SAAQ,2BAAkC;CAIjF;AAJD,gEAIC;AACD,MAAa,iBAAiB;CAI7B;AAJD,8CAIC"}
@@ -13,9 +13,10 @@ import { ResourceGlDto } from '../../gl-codes/dto/resource-to-gl.dto';
13
13
  import { Product } from '../../product-pricing/entities/Product';
14
14
  import { Program } from '../../programs/entities/Program';
15
15
  import { ResourceSetting } from '../../resource-settings/entities/resource-setting.entity';
16
- import { Resource } from '../../resources/entities/Resource';
17
16
  import { GenderEnum, LevelOfPlayEnum, ProgramSeasonTypesEnum, PublishingStatusEnum, SportsEnum } from '../../services/enums.service';
18
17
  import { EventAsSeasonSegment, SeasonAsSeasonSegment } from '../../services/interfaces.service';
18
+ import { Resource } from '../../resources/entities/Resource';
19
+ import { SimpleResourceDto } from '../../resources/dto/resource.dto';
19
20
  import { SegmentsMetadata } from '../types/classes/program-season.classes';
20
21
  export declare class ProgramSeason extends OrganizationConnectionBaseEntity {
21
22
  programId: number;
@@ -57,6 +58,7 @@ export declare class ProgramSeason extends OrganizationConnectionBaseEntity {
57
58
  segments?: (SeasonAsSeasonSegment | EventAsSeasonSegment)[];
58
59
  program: Program;
59
60
  spaces?: Resource[];
61
+ resources?: SimpleResourceDto[];
60
62
  reservationId?: number;
61
63
  earlyRegistrationStartDate?: Date;
62
64
  earlyRegistrationEndDate?: Date;
@@ -1 +1 @@
1
- {"version":3,"file":"ProgramSeason.js","sourceRoot":"","sources":["../../../../src/types/programs-seasons/entities/ProgramSeason.ts"],"names":[],"mappings":";;;AAkBA,oGAAiG;AAoBjG,MAAa,aAAc,SAAQ,mEAAgC;CAmIlE;AAnID,sCAmIC"}
1
+ {"version":3,"file":"ProgramSeason.js","sourceRoot":"","sources":["../../../../src/types/programs-seasons/entities/ProgramSeason.ts"],"names":[],"mappings":";;;AAkBA,oGAAiG;AAqBjG,MAAa,aAAc,SAAQ,mEAAgC;CAqIlE;AArID,sCAqIC"}
@@ -1,3 +1,11 @@
1
+ export declare enum SegmentSortByFieldsEnum {
2
+ NAME = "name",
3
+ DATE = "startDate"
4
+ }
5
+ export declare enum EventSortByFieldsEnum {
6
+ DATE = "startDate",
7
+ TIME = "startTime"
8
+ }
1
9
  export declare enum SegmentTypeEnum {
2
10
  SLOT = "slot",
3
11
  DATE = "date",