@bondsports/types 2.2.284-a-8 → 2.2.284-a-9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/dist/types/dto/application.dto.d.ts +0 -8
- package/dist/types/dto/application.dto.js +1 -4
- package/dist/types/dto/application.dto.js.map +1 -1
- package/dist/types/dto/events.dto.d.ts +1 -2
- package/dist/types/dto/events.dto.js.map +1 -1
- package/dist/types/dto/general.dto.d.ts +7 -0
- package/dist/types/dto/general.dto.js +7 -1
- package/dist/types/dto/general.dto.js.map +1 -1
- package/dist/types/dto/package.dto.d.ts +56 -2
- package/dist/types/dto/package.dto.js +7 -1
- package/dist/types/dto/package.dto.js.map +1 -1
- package/dist/types/employees/dto/employee.dto.d.ts +1 -0
- package/dist/types/employees/dto/employee.dto.js.map +1 -1
- package/dist/types/entity/Events.js.map +1 -1
- package/dist/types/index.d.ts +0 -2
- package/dist/types/index.js +0 -2
- package/dist/types/index.js.map +1 -1
- package/dist/types/pricing/dto/pricing.dto.d.ts +1 -1
- package/dist/types/product-pricing/dto/product-pricing.dto.d.ts +3 -2
- package/dist/types/product-pricing/dto/product-pricing.dto.js.map +1 -1
- package/dist/types/product-pricing/dto/product.dto.d.ts +3 -52
- package/dist/types/product-pricing/dto/product.dto.js +1 -7
- package/dist/types/product-pricing/dto/product.dto.js.map +1 -1
- package/dist/types/product-pricing/types/interfaces/product-pricing.interfaces.d.ts +10 -0
- package/dist/types/programs/dto/program.dto.d.ts +1 -2
- package/dist/types/programs/dto/program.dto.js.map +1 -1
- package/dist/types/programs-seasons/dto/index.d.ts +0 -1
- package/dist/types/programs-seasons/dto/index.js +0 -1
- package/dist/types/programs-seasons/dto/index.js.map +1 -1
- package/dist/types/programs-seasons/dto/program-seasons.dto.d.ts +23 -37
- package/dist/types/programs-seasons/dto/program-seasons.dto.js +10 -16
- package/dist/types/programs-seasons/dto/program-seasons.dto.js.map +1 -1
- package/dist/types/programs-seasons/entities/ProgramSeason.d.ts +5 -6
- package/dist/types/programs-seasons/types/classes/index.d.ts +1 -0
- package/dist/types/{folders/dto → programs-seasons/types/classes}/index.js +1 -1
- package/dist/types/programs-seasons/types/classes/index.js.map +1 -0
- package/dist/types/programs-seasons/types/classes/program-season.classes.d.ts +6 -0
- package/dist/types/programs-seasons/types/classes/program-season.classes.js +7 -0
- package/dist/types/programs-seasons/types/classes/program-season.classes.js.map +1 -0
- package/dist/types/programs-seasons/types/enums/program-season.enums.d.ts +7 -6
- package/dist/types/programs-seasons/types/enums/program-season.enums.js +12 -11
- package/dist/types/programs-seasons/types/enums/program-season.enums.js.map +1 -1
- package/dist/types/programs-seasons/types/index.d.ts +1 -0
- package/dist/types/programs-seasons/types/index.js +1 -0
- package/dist/types/programs-seasons/types/index.js.map +1 -1
- package/dist/types/programs-seasons/types/interfaces/program-season.interfaces.d.ts +1 -18
- package/dist/types/punch-pass/dto/punch-pass.dto.d.ts +3 -4
- package/dist/types/punch-pass/dto/punch-pass.dto.js +1 -1
- package/dist/types/punch-pass/dto/punch-pass.dto.js.map +1 -1
- package/dist/types/reservations/dto/addon.dto.d.ts +4 -3
- package/dist/types/reservations/dto/addon.dto.js +6 -2
- package/dist/types/reservations/dto/addon.dto.js.map +1 -1
- package/dist/types/reservations/dto/calendar-slot.dto.d.ts +44 -0
- package/dist/types/reservations/dto/calendar-slot.dto.js +13 -0
- package/dist/types/reservations/dto/calendar-slot.dto.js.map +1 -0
- package/dist/types/reservations/dto/index.d.ts +1 -0
- package/dist/types/reservations/dto/index.js +1 -0
- package/dist/types/reservations/dto/index.js.map +1 -1
- package/dist/types/reservations/dto/reservation.dto.d.ts +53 -59
- package/dist/types/reservations/dto/reservation.dto.js +11 -41
- package/dist/types/reservations/dto/reservation.dto.js.map +1 -1
- package/dist/types/reservations/dto/slot.dto.d.ts +78 -17
- package/dist/types/reservations/dto/slot.dto.js +12 -5
- package/dist/types/reservations/dto/slot.dto.js.map +1 -1
- package/dist/types/reservations/entities/reservation.entity.d.ts +3 -0
- package/dist/types/reservations/entities/reservation.entity.js.map +1 -1
- package/dist/types/reservations/entities/segment.entity.d.ts +2 -1
- package/dist/types/reservations/entities/segment.entity.js.map +1 -1
- package/dist/types/reservations/entities/slot.entity.d.ts +2 -0
- package/dist/types/reservations/entities/slot.entity.js.map +1 -1
- package/dist/types/reservations/types/classes/addon.classes.d.ts +1 -0
- package/dist/types/reservations/types/classes/addon.classes.js.map +1 -1
- package/dist/types/reservations/types/consts/reservation.consts.d.ts +3 -1
- package/dist/types/reservations/types/consts/reservation.consts.js +12 -1
- package/dist/types/reservations/types/consts/reservation.consts.js.map +1 -1
- package/dist/types/reservations/types/enums/reservation.enums.d.ts +14 -0
- package/dist/types/reservations/types/enums/reservation.enums.js +23 -4
- package/dist/types/reservations/types/enums/reservation.enums.js.map +1 -1
- package/dist/types/reservations/types/interfaces/reservation.interfaces.d.ts +51 -22
- package/dist/types/reservations/types/interfaces/reservation.interfaces.js.map +1 -1
- package/dist/types/reservations/types/interfaces/slot.interfaces.d.ts +26 -1
- package/dist/types/resources/dto/instructor.dto.d.ts +1 -0
- package/dist/types/resources/dto/instructor.dto.js.map +1 -1
- package/dist/types/resources/dto/resource.dto.d.ts +11 -2
- package/dist/types/resources/dto/resource.dto.js +6 -3
- package/dist/types/resources/dto/resource.dto.js.map +1 -1
- package/dist/types/resources/dto/space.dto.d.ts +1 -0
- package/dist/types/resources/dto/space.dto.js.map +1 -1
- package/dist/types/resources/entities/Resource.d.ts +2 -0
- package/dist/types/resources/entities/Resource.js.map +1 -1
- package/dist/types/resources/types/interfaces/resource.interfaces.d.ts +9 -10
- package/dist/types/services/enums.service.d.ts +0 -4
- package/dist/types/services/enums.service.js +1 -6
- package/dist/types/services/enums.service.js.map +1 -1
- package/dist/types/services/interfaces.service.d.ts +0 -6
- package/dist/types/services/interfaces.service.js.map +1 -1
- package/dist/types/user/dto/userPass.dto.d.ts +6 -7
- package/dist/types/user/dto/userPass.dto.js.map +1 -1
- package/package.json +1 -1
- package/dist/types/folders/dto/folder.dto.d.ts +0 -58
- package/dist/types/folders/dto/folder.dto.js +0 -34
- package/dist/types/folders/dto/folder.dto.js.map +0 -1
- package/dist/types/folders/dto/index.d.ts +0 -1
- package/dist/types/folders/dto/index.js.map +0 -1
- package/dist/types/folders/entities/folder-content.entity.d.ts +0 -12
- package/dist/types/folders/entities/folder-content.entity.js +0 -14
- package/dist/types/folders/entities/folder-content.entity.js.map +0 -1
- package/dist/types/folders/entities/folder-invite.entity.d.ts +0 -8
- package/dist/types/folders/entities/folder-invite.entity.js +0 -8
- package/dist/types/folders/entities/folder-invite.entity.js.map +0 -1
- package/dist/types/folders/entities/folder.entity.d.ts +0 -21
- package/dist/types/folders/entities/folder.entity.js +0 -12
- package/dist/types/folders/entities/folder.entity.js.map +0 -1
- package/dist/types/folders/entities/index.d.ts +0 -3
- package/dist/types/folders/entities/index.js +0 -20
- package/dist/types/folders/entities/index.js.map +0 -1
- package/dist/types/folders/index.d.ts +0 -2
- package/dist/types/folders/index.js +0 -19
- package/dist/types/folders/index.js.map +0 -1
- package/dist/types/programs-seasons/dto/program-season-participant.dto.d.ts +0 -8
- package/dist/types/programs-seasons/dto/program-season-participant.dto.js +0 -7
- package/dist/types/programs-seasons/dto/program-season-participant.dto.js.map +0 -1
- package/dist/types/session-participants/dto/get.session.participant.dto.d.ts +0 -22
- package/dist/types/session-participants/dto/get.session.participant.dto.js +0 -18
- package/dist/types/session-participants/dto/get.session.participant.dto.js.map +0 -1
- package/dist/types/session-participants/dto/index.d.ts +0 -2
- package/dist/types/session-participants/dto/index.js +0 -19
- package/dist/types/session-participants/dto/index.js.map +0 -1
- package/dist/types/session-participants/dto/session.participant.dto.d.ts +0 -45
- package/dist/types/session-participants/dto/session.participant.dto.js +0 -10
- package/dist/types/session-participants/dto/session.participant.dto.js.map +0 -1
- package/dist/types/session-participants/index.d.ts +0 -2
- package/dist/types/session-participants/index.js +0 -19
- package/dist/types/session-participants/index.js.map +0 -1
- package/dist/types/session-participants/types/consts.d.ts +0 -3
- package/dist/types/session-participants/types/consts.js +0 -7
- package/dist/types/session-participants/types/consts.js.map +0 -1
- package/dist/types/session-participants/types/enums.d.ts +0 -17
- package/dist/types/session-participants/types/enums.js +0 -24
- package/dist/types/session-participants/types/enums.js.map +0 -1
- package/dist/types/session-participants/types/index.d.ts +0 -3
- package/dist/types/session-participants/types/index.js +0 -20
- package/dist/types/session-participants/types/index.js.map +0 -1
- package/dist/types/session-participants/types/interfaces.d.ts +0 -46
- package/dist/types/session-participants/types/interfaces.js +0 -3
- package/dist/types/session-participants/types/interfaces.js.map +0 -1
@@ -1,6 +1,6 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.
|
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;
|
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");
|
@@ -44,7 +44,13 @@ exports.FindRegisteredUsersOptionsDto = FindRegisteredUsersOptionsDto;
|
|
44
44
|
class BlockedDatesDto {
|
45
45
|
}
|
46
46
|
exports.BlockedDatesDto = BlockedDatesDto;
|
47
|
-
class
|
47
|
+
class RegistrationDatesDto {
|
48
|
+
}
|
49
|
+
exports.RegistrationDatesDto = RegistrationDatesDto;
|
50
|
+
class RegistrationSettingsDto extends RegistrationDatesDto {
|
51
|
+
}
|
52
|
+
exports.RegistrationSettingsDto = RegistrationSettingsDto;
|
53
|
+
class BaseProgramSeasonDto extends RegistrationSettingsDto {
|
48
54
|
}
|
49
55
|
exports.BaseProgramSeasonDto = BaseProgramSeasonDto;
|
50
56
|
class CreateSessionScheduleDto {
|
@@ -92,12 +98,6 @@ exports.MoveAttendeeDto = MoveAttendeeDto;
|
|
92
98
|
class UpdateSeasonRegistrationDatesDto {
|
93
99
|
}
|
94
100
|
exports.UpdateSeasonRegistrationDatesDto = UpdateSeasonRegistrationDatesDto;
|
95
|
-
class RegistrationDatesDto {
|
96
|
-
}
|
97
|
-
exports.RegistrationDatesDto = RegistrationDatesDto;
|
98
|
-
class RegistrationSettingsDto extends RegistrationDatesDto {
|
99
|
-
}
|
100
|
-
exports.RegistrationSettingsDto = RegistrationSettingsDto;
|
101
101
|
class MoveParticipantDto {
|
102
102
|
}
|
103
103
|
exports.MoveParticipantDto = MoveParticipantDto;
|
@@ -131,13 +131,7 @@ exports.RelatedSessionsDto = RelatedSessionsDto;
|
|
131
131
|
class GetRelatedProgramSessionsDto {
|
132
132
|
}
|
133
133
|
exports.GetRelatedProgramSessionsDto = GetRelatedProgramSessionsDto;
|
134
|
-
class
|
135
|
-
}
|
136
|
-
exports.GetPaginatedSessionQueryDto = GetPaginatedSessionQueryDto;
|
137
|
-
class GetPaginatedSegmentsQueryDto extends GetPaginatedSessionQueryDto {
|
138
|
-
}
|
139
|
-
exports.GetPaginatedSegmentsQueryDto = GetPaginatedSegmentsQueryDto;
|
140
|
-
class GetPaginatedEventsQueryDto extends GetPaginatedSessionQueryDto {
|
134
|
+
class SeasonWithProduct {
|
141
135
|
}
|
142
|
-
exports.
|
136
|
+
exports.SeasonWithProduct = SeasonWithProduct;
|
143
137
|
//# sourceMappingURL=program-seasons.dto.js.map
|
@@ -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;
|
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,5 +1,5 @@
|
|
1
|
-
import { ActivityTimes } from '../../entity/ActivityTimes';
|
2
1
|
import { Address } from '../../address/entities/Address';
|
2
|
+
import { ActivityTimes } from '../../entity/ActivityTimes';
|
3
3
|
import { BlockedDate } from '../../entity/BlockedDate';
|
4
4
|
import { ColorCode } from '../../entity/ColorCode';
|
5
5
|
import { Event } from '../../entity/Events';
|
@@ -14,9 +14,8 @@ 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
16
|
import { GenderEnum, LevelOfPlayEnum, ProgramSeasonTypesEnum, PublishingStatusEnum, SportsEnum } from '../../services/enums.service';
|
17
|
-
import { EventAsSeasonSegment, SeasonAsSeasonSegment } from '../../services/interfaces.service';
|
18
|
-
import {
|
19
|
-
import { SimpleResourceDto } from '../../resources/dto/resource.dto';
|
17
|
+
import { EventAsSeasonSegment, IBasicSpaceAndSlotCreator, SeasonAsSeasonSegment } from '../../services/interfaces.service';
|
18
|
+
import { SegmentsMetadata } from '../types/classes/program-season.classes';
|
20
19
|
export declare class ProgramSeason extends OrganizationConnectionBaseEntity {
|
21
20
|
programId: number;
|
22
21
|
name: string;
|
@@ -56,8 +55,7 @@ export declare class ProgramSeason extends OrganizationConnectionBaseEntity {
|
|
56
55
|
deletedAt?: Date;
|
57
56
|
segments?: (SeasonAsSeasonSegment | EventAsSeasonSegment)[];
|
58
57
|
program: Program;
|
59
|
-
spaces?:
|
60
|
-
resources?: SimpleResourceDto[];
|
58
|
+
spaces?: IBasicSpaceAndSlotCreator[];
|
61
59
|
reservationId?: number;
|
62
60
|
earlyRegistrationStartDate?: Date;
|
63
61
|
earlyRegistrationEndDate?: Date;
|
@@ -71,6 +69,7 @@ export declare class ProgramSeason extends OrganizationConnectionBaseEntity {
|
|
71
69
|
ordinal: number;
|
72
70
|
colorCodeId?: number;
|
73
71
|
colorCode?: ColorCode;
|
72
|
+
segmentsMetadata?: SegmentsMetadata;
|
74
73
|
isSegmented?: boolean;
|
75
74
|
/**
|
76
75
|
* After create + update, update the ageCalcDate column with the value
|
@@ -0,0 +1 @@
|
|
1
|
+
export * from './program-season.classes';
|
@@ -14,5 +14,5 @@ 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("./
|
17
|
+
__exportStar(require("./program-season.classes"), exports);
|
18
18
|
//# sourceMappingURL=index.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/types/programs-seasons/types/classes/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2DAAyC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"program-season.classes.js","sourceRoot":"","sources":["../../../../../src/types/programs-seasons/types/classes/program-season.classes.ts"],"names":[],"mappings":";;;AAEA,MAAa,gBAAgB;CAM5B;AAND,4CAMC"}
|
@@ -1,8 +1,9 @@
|
|
1
|
-
export declare enum
|
2
|
-
|
3
|
-
DATE = "
|
1
|
+
export declare enum SegmentTypeEnum {
|
2
|
+
SLOT = "slot",
|
3
|
+
DATE = "date",
|
4
|
+
CUSTOM = "custom"
|
4
5
|
}
|
5
|
-
export declare enum
|
6
|
-
|
7
|
-
|
6
|
+
export declare enum SegmentOccurrenceTypeEnum {
|
7
|
+
WEEK = "week",
|
8
|
+
MONTH = "month"
|
8
9
|
}
|
@@ -1,14 +1,15 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.
|
4
|
-
var
|
5
|
-
(function (
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
3
|
+
exports.SegmentOccurrenceTypeEnum = exports.SegmentTypeEnum = void 0;
|
4
|
+
var SegmentTypeEnum;
|
5
|
+
(function (SegmentTypeEnum) {
|
6
|
+
SegmentTypeEnum["SLOT"] = "slot";
|
7
|
+
SegmentTypeEnum["DATE"] = "date";
|
8
|
+
SegmentTypeEnum["CUSTOM"] = "custom";
|
9
|
+
})(SegmentTypeEnum = exports.SegmentTypeEnum || (exports.SegmentTypeEnum = {}));
|
10
|
+
var SegmentOccurrenceTypeEnum;
|
11
|
+
(function (SegmentOccurrenceTypeEnum) {
|
12
|
+
SegmentOccurrenceTypeEnum["WEEK"] = "week";
|
13
|
+
SegmentOccurrenceTypeEnum["MONTH"] = "month";
|
14
|
+
})(SegmentOccurrenceTypeEnum = exports.SegmentOccurrenceTypeEnum || (exports.SegmentOccurrenceTypeEnum = {}));
|
14
15
|
//# sourceMappingURL=program-season.enums.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"program-season.enums.js","sourceRoot":"","sources":["../../../../../src/types/programs-seasons/types/enums/program-season.enums.ts"],"names":[],"mappings":";;;AAAA,IAAY,
|
1
|
+
{"version":3,"file":"program-season.enums.js","sourceRoot":"","sources":["../../../../../src/types/programs-seasons/types/enums/program-season.enums.ts"],"names":[],"mappings":";;;AAAA,IAAY,eAIX;AAJD,WAAY,eAAe;IAC1B,gCAAa,CAAA;IACb,gCAAa,CAAA;IACb,oCAAiB,CAAA;AAClB,CAAC,EAJW,eAAe,GAAf,uBAAe,KAAf,uBAAe,QAI1B;AAED,IAAY,yBAGX;AAHD,WAAY,yBAAyB;IACpC,0CAAa,CAAA;IACb,4CAAe,CAAA;AAChB,CAAC,EAHW,yBAAyB,GAAzB,iCAAyB,KAAzB,iCAAyB,QAGpC"}
|
@@ -14,6 +14,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
15
15
|
};
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
17
|
+
__exportStar(require("./classes"), exports);
|
17
18
|
__exportStar(require("./enums"), exports);
|
18
19
|
__exportStar(require("./interfaces"), exports);
|
19
20
|
//# sourceMappingURL=index.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/programs-seasons/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0CAAwB;AACxB,+CAA6B"}
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/programs-seasons/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4CAA0B;AAC1B,0CAAwB;AACxB,+CAA6B"}
|
@@ -1,8 +1,6 @@
|
|
1
1
|
import { Event } from '../../../entity/Events';
|
2
2
|
import { SeasonAttendee } from '../../../entity/SeasonAttendees';
|
3
|
-
import {
|
4
|
-
import { IPagination } from '../../../util/models/interfaces/general.interfaces';
|
5
|
-
import { BondBaseEntity } from '../../../entity/BondBaseEntity';
|
3
|
+
import { PlatformsEnum } from '../../../services/enums.service';
|
6
4
|
export interface IGetProgramSeasonsByIdProps {
|
7
5
|
seasonsIds: number[];
|
8
6
|
fullFetch?: boolean;
|
@@ -20,10 +18,6 @@ export type EventsFilter = {
|
|
20
18
|
segmentsIds?: number[];
|
21
19
|
unselectedIds?: number[];
|
22
20
|
sessionId?: number;
|
23
|
-
resourcesIds?: number[];
|
24
|
-
attendeeId?: number;
|
25
|
-
orderBy?: keyof Event;
|
26
|
-
order?: OrderByEnum;
|
27
21
|
};
|
28
22
|
export type ProgramSeasonsSegmentsFilter = {
|
29
23
|
futureResources?: boolean;
|
@@ -39,14 +33,3 @@ export type NotifyEventsAttendees = {
|
|
39
33
|
oldStartDate: string;
|
40
34
|
oldEndDate: string;
|
41
35
|
};
|
42
|
-
export interface IGetProgramSeasonChildrenFilters<T extends BondBaseEntity> {
|
43
|
-
resourcesIds?: number[];
|
44
|
-
attendeeId?: number;
|
45
|
-
startDate?: string;
|
46
|
-
endDate?: string;
|
47
|
-
orderBy?: keyof T;
|
48
|
-
order?: OrderByEnum;
|
49
|
-
}
|
50
|
-
export interface IGetProgramSeasonsChildrenOptions extends IPagination {
|
51
|
-
includeResources?: boolean;
|
52
|
-
}
|
@@ -1,16 +1,15 @@
|
|
1
1
|
import { SimpleEventDto } from '../../dto/events.dto';
|
2
2
|
import { SimpleFacilityDto } from '../../dto/facilities.dto';
|
3
|
-
import { PaginationQuery } from '../../dto/general.dto';
|
4
|
-
import {
|
3
|
+
import { PaginationQuery, SimpleResourceDto } from '../../dto/general.dto';
|
4
|
+
import { SimpleProductUserDto } from '../../dto/product-user';
|
5
5
|
import { PaymentIdDto } from '../../payment/dto/payment.dto';
|
6
6
|
import { PaymentStatusEnum } from '../../payment/types/enums/payment.enums';
|
7
|
+
import { SimpleProductDto } from '../../product-pricing/dto/product.dto';
|
7
8
|
import { SimpleSessionDto } from '../../programs-seasons/dto/program-seasons.dto';
|
8
9
|
import { SimpleProgramDto } from '../../programs/dto/program.dto';
|
9
10
|
import { OrderByEnum } from '../../services/enums.service';
|
10
|
-
import { SimpleResourceDto } from '../../resources/dto/resource.dto';
|
11
11
|
import { ByOrganizationAndUserDto, SimpleUserDto } from '../../user/dto/user.dto';
|
12
12
|
import { PunchPassFilterByEnum, PunchPassOrderByEnum, PunchPassSearchByEnum } from '../types/enums';
|
13
|
-
import { SimpleProductUserDto } from '../../dto/product-user';
|
14
13
|
export declare class PunchPassFinancialInfoDto {
|
15
14
|
price: number;
|
16
15
|
invoiceId: number;
|
@@ -3,8 +3,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.PunchPassUserProductInfoDto = exports.ByPassIdOrganizationIdUserIdDto = exports.GetPassEventsDto = exports.GetPassesOptionsDto = exports.PunchPassEventDto = exports.PunchPassInfoDto = exports.PunchPassFinancialInfoDto = void 0;
|
4
4
|
const events_dto_1 = require("../../dto/events.dto");
|
5
5
|
const general_dto_1 = require("../../dto/general.dto");
|
6
|
-
const user_dto_1 = require("../../user/dto/user.dto");
|
7
6
|
const product_user_1 = require("../../dto/product-user");
|
7
|
+
const user_dto_1 = require("../../user/dto/user.dto");
|
8
8
|
class PunchPassFinancialInfoDto {
|
9
9
|
}
|
10
10
|
exports.PunchPassFinancialInfoDto = PunchPassFinancialInfoDto;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"punch-pass.dto.js","sourceRoot":"","sources":["../../../../src/types/punch-pass/dto/punch-pass.dto.ts"],"names":[],"mappings":";;;AAAA,qDAAsD;AAEtD,
|
1
|
+
{"version":3,"file":"punch-pass.dto.js","sourceRoot":"","sources":["../../../../src/types/punch-pass/dto/punch-pass.dto.ts"],"names":[],"mappings":";;;AAAA,qDAAsD;AAEtD,uDAA2E;AAC3E,yDAA8D;AAO9D,sDAAkF;AAGlF,MAAa,yBAAyB;CAcrC;AAdD,8DAcC;AAED,MAAa,gBAAgB;CA0B5B;AA1BD,4CA0BC;AAED,MAAa,iBAAkB,SAAQ,2BAAc;CAQpD;AARD,8CAQC;AAED,MAAa,mBAAoB,SAAQ,6BAAe;CAcvD;AAdD,kDAcC;AAED,MAAa,gBAAgB;CAY5B;AAZD,4CAYC;AAED,MAAa,+BAAgC,SAAQ,mCAAwB;CAE5E;AAFD,0EAEC;AAED,MAAa,2BAA4B,SAAQ,mCAAoB;CAcpE;AAdD,kEAcC"}
|
@@ -4,10 +4,12 @@ import { ProductPackageLevelEnum } from '../../services/enums.service';
|
|
4
4
|
import { IAddon, IBaseAddon, IDraftAddon } from '../types/interfaces/addon.interfaces';
|
5
5
|
import { EditItemsRefundMetaDto } from './reservation.dto';
|
6
6
|
import { SimpleProductUserDto } from '../../dto/product-user';
|
7
|
-
declare class
|
7
|
+
export declare class SelectAddonDto {
|
8
8
|
productId: number;
|
9
|
-
unitPrice?: number;
|
10
9
|
quantity?: number;
|
10
|
+
}
|
11
|
+
export declare class BaseAddonDto extends SelectAddonDto implements IBaseAddon {
|
12
|
+
unitPrice?: number;
|
11
13
|
totalPrice?: number;
|
12
14
|
}
|
13
15
|
export declare class AddonDto extends BaseAddonDto implements IAddon {
|
@@ -42,4 +44,3 @@ export declare class DraftAddonDto extends BaseAddonDto implements IDraftAddon {
|
|
42
44
|
product?: SimpleProductDto;
|
43
45
|
level?: ProductPackageLevelEnum;
|
44
46
|
}
|
45
|
-
export {};
|
@@ -1,8 +1,12 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.DraftAddonDto = exports.CreateDraftAddonDto = exports.EditAddonDto = exports.EditReservationAddonsDto = exports.EditAddonsDto = exports.AddAddonsDto = exports.AddonDto = void 0;
|
4
|
-
class
|
3
|
+
exports.DraftAddonDto = exports.CreateDraftAddonDto = exports.EditAddonDto = exports.EditReservationAddonsDto = exports.EditAddonsDto = exports.AddAddonsDto = exports.AddonDto = exports.BaseAddonDto = exports.SelectAddonDto = void 0;
|
4
|
+
class SelectAddonDto {
|
5
5
|
}
|
6
|
+
exports.SelectAddonDto = SelectAddonDto;
|
7
|
+
class BaseAddonDto extends SelectAddonDto {
|
8
|
+
}
|
9
|
+
exports.BaseAddonDto = BaseAddonDto;
|
6
10
|
class AddonDto extends BaseAddonDto {
|
7
11
|
}
|
8
12
|
exports.AddonDto = AddonDto;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"addon.dto.js","sourceRoot":"","sources":["../../../../src/types/reservations/dto/addon.dto.ts"],"names":[],"mappings":";;;AAOA,
|
1
|
+
{"version":3,"file":"addon.dto.js","sourceRoot":"","sources":["../../../../src/types/reservations/dto/addon.dto.ts"],"names":[],"mappings":";;;AAOA,MAAa,cAAc;CAI1B;AAJD,wCAIC;AAED,MAAa,YAAa,SAAQ,cAAc;CAI/C;AAJD,oCAIC;AAED,MAAa,QAAS,SAAQ,YAAY;CAczC;AAdD,4BAcC;AAED,MAAa,YAAY;CAExB;AAFD,oCAEC;AAED,MAAa,aAAa;CAEzB;AAFD,sCAEC;AAED,MAAa,wBAAyB,SAAQ,aAAa;CAE1D;AAFD,4DAEC;AAED,MAAa,YAAY;CAQxB;AARD,oCAQC;AAED,MAAa,mBAAoB,SAAQ,YAAY;CAEpD;AAFD,kDAEC;AAED,MAAa,aAAc,SAAQ,YAAY;CAM9C;AAND,sCAMC"}
|
@@ -0,0 +1,44 @@
|
|
1
|
+
import { SimpleResourceDto } from '../../dto/general.dto';
|
2
|
+
import { Event } from '../../entity/Events';
|
3
|
+
import { ResourceSubTypeEnum, ResourceTypeEnum, SportsEnum } from '../../services/enums.service';
|
4
|
+
import { Reservation } from '../entities/reservation.entity';
|
5
|
+
import { Series } from '../entities/series.entity';
|
6
|
+
import { MaintenanceTimingEnum, ReservationPaymentStatusEnum, ReservationStatusEnum, SlotTypeEnum } from '../types/enums/reservation.enums';
|
7
|
+
export declare class CalendarSlotDto {
|
8
|
+
id: number;
|
9
|
+
reservationId: number;
|
10
|
+
parentSlotId?: number;
|
11
|
+
eventId: number;
|
12
|
+
title: string;
|
13
|
+
slotType: SlotTypeEnum;
|
14
|
+
paymentStatus: ReservationPaymentStatusEnum;
|
15
|
+
approvalStatus: ReservationStatusEnum;
|
16
|
+
startDate: string;
|
17
|
+
startTime: string;
|
18
|
+
endDate: string;
|
19
|
+
endTime: string;
|
20
|
+
timezone: string;
|
21
|
+
spaceId: number;
|
22
|
+
instructorsIds?: number[];
|
23
|
+
sportId: SportsEnum;
|
24
|
+
colorCodeId?: number;
|
25
|
+
children?: CalendarMaintenanceSlotDto[];
|
26
|
+
conflictsCount?: number;
|
27
|
+
sportIds: SportsEnum[];
|
28
|
+
event: Event;
|
29
|
+
reservation: Reservation;
|
30
|
+
series?: Series;
|
31
|
+
}
|
32
|
+
export declare class CalendarMaintenanceSlotDto extends CalendarSlotDto {
|
33
|
+
maintenanceTiming: MaintenanceTimingEnum;
|
34
|
+
}
|
35
|
+
export declare class CalendarFiltersOptionsDto {
|
36
|
+
resourcesTypes: ResourceTypeEnum[];
|
37
|
+
spaces: SimpleResourceDto[];
|
38
|
+
instructors: SimpleResourceDto[];
|
39
|
+
spaceSubTypes: ResourceSubTypeEnum[];
|
40
|
+
sports: SportsEnum[];
|
41
|
+
slotTypes: SlotTypeEnum[];
|
42
|
+
paymentStatuses: ReservationPaymentStatusEnum[];
|
43
|
+
approvalStatuses: ReservationStatusEnum[];
|
44
|
+
}
|
@@ -0,0 +1,13 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.CalendarFiltersOptionsDto = exports.CalendarMaintenanceSlotDto = exports.CalendarSlotDto = void 0;
|
4
|
+
class CalendarSlotDto {
|
5
|
+
}
|
6
|
+
exports.CalendarSlotDto = CalendarSlotDto;
|
7
|
+
class CalendarMaintenanceSlotDto extends CalendarSlotDto {
|
8
|
+
}
|
9
|
+
exports.CalendarMaintenanceSlotDto = CalendarMaintenanceSlotDto;
|
10
|
+
class CalendarFiltersOptionsDto {
|
11
|
+
}
|
12
|
+
exports.CalendarFiltersOptionsDto = CalendarFiltersOptionsDto;
|
13
|
+
//# sourceMappingURL=calendar-slot.dto.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"calendar-slot.dto.js","sourceRoot":"","sources":["../../../../src/types/reservations/dto/calendar-slot.dto.ts"],"names":[],"mappings":";;;AAaA,MAAa,eAAe;CA8C3B;AA9CD,0CA8CC;AAED,MAAa,0BAA2B,SAAQ,eAAe;CAE9D;AAFD,gEAEC;AAED,MAAa,yBAAyB;CAgBrC;AAhBD,8DAgBC"}
|
@@ -15,6 +15,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
15
15
|
};
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
17
17
|
__exportStar(require("./addon.dto"), exports);
|
18
|
+
__exportStar(require("./calendar-slot.dto"), exports);
|
18
19
|
__exportStar(require("./maintenance.dto"), exports);
|
19
20
|
__exportStar(require("./purcased-resource.dto"), exports);
|
20
21
|
__exportStar(require("./reservation.dto"), exports);
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/reservations/dto/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,8CAA4B;AAC5B,oDAAkC;AAClC,0DAAwC;AACxC,oDAAkC;AAClC,gDAA8B;AAC9B,+CAA6B;AAC7B,6CAA2B;AAC3B,uDAAqC"}
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/reservations/dto/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,8CAA4B;AAC5B,sDAAoC;AACpC,oDAAkC;AAClC,0DAAwC;AACxC,oDAAkC;AAClC,gDAA8B;AAC9B,+CAA6B;AAC7B,6CAA2B;AAC3B,uDAAqC"}
|