@bondsports/types 2.4.40 → 2.4.41
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/events.dto.d.ts +12 -1
- package/dist/types/dto/events.dto.js.map +1 -1
- package/dist/types/leagues-scheduler/dto/leagues-scheduler-param.dto.d.ts +3 -3
- package/dist/types/leagues-scheduler/dto/leagues-scheduler-param.dto.js +4 -4
- package/dist/types/leagues-scheduler/dto/leagues-scheduler-param.dto.js.map +1 -1
- package/dist/types/leagues-scheduler/dto/quality-metrics.dto.d.ts +44 -0
- package/dist/types/leagues-scheduler/dto/quality-metrics.dto.js +25 -1
- package/dist/types/leagues-scheduler/dto/quality-metrics.dto.js.map +1 -1
- package/dist/types/leagues-scheduler/types/interfaces.d.ts +1 -0
- package/dist/types/leagues-scheduler/types/interfaces.js.map +1 -1
- package/dist/types/leagues-scheduler/types/quality-types.d.ts +1 -0
- package/dist/types/leagues-scheduler/types/quality-types.js.map +1 -1
- package/dist/types/programs-seasons/dto/program-session.dto.d.ts +9 -1
- package/dist/types/programs-seasons/dto/program-session.dto.js +7 -2
- package/dist/types/programs-seasons/dto/program-session.dto.js.map +1 -1
- package/dist/types/programs-seasons/types/consts/program-season.consts.d.ts +2 -0
- package/dist/types/programs-seasons/types/consts/program-season.consts.js +3 -1
- package/dist/types/programs-seasons/types/consts/program-season.consts.js.map +1 -1
- package/dist/types/programs-seasons/types/interfaces/program-session.interfaces.d.ts +9 -0
- package/package.json +1 -1
|
@@ -94,9 +94,13 @@ export interface IEventOfSessionDetails {
|
|
|
94
94
|
startDate: Date;
|
|
95
95
|
startTime: string;
|
|
96
96
|
}
|
|
97
|
-
export interface
|
|
97
|
+
export interface IEventAttendeeBase {
|
|
98
98
|
eventId: number;
|
|
99
99
|
userId: number;
|
|
100
|
+
firstName: string | null;
|
|
101
|
+
lastName: string | null;
|
|
102
|
+
}
|
|
103
|
+
export interface IAttendeeOfEvent extends IEventAttendeeBase {
|
|
100
104
|
addonProductUserIds: number[];
|
|
101
105
|
addOns: {
|
|
102
106
|
productId: number;
|
|
@@ -112,6 +116,13 @@ export interface IAttendeeOfEvent {
|
|
|
112
116
|
signedWaiver: string;
|
|
113
117
|
totalPasses?: number;
|
|
114
118
|
}
|
|
119
|
+
export interface INotifyEventAttendee extends IEventAttendeeBase {
|
|
120
|
+
email: string | null;
|
|
121
|
+
sessionName: string;
|
|
122
|
+
parentSessionName: string | null;
|
|
123
|
+
organizationName: string;
|
|
124
|
+
programName: string;
|
|
125
|
+
}
|
|
115
126
|
export declare class FindEventAttendeeOptionsDto extends PaginationRangeQuery {
|
|
116
127
|
nameSearch?: string;
|
|
117
128
|
isCheckedIn?: string;
|
|
@@ -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;CA0B1B;AA1BD,wCA0BC;AAED,MAAa,gBAAgB;CAc5B;AAdD,4CAcC;AAED,MAAa,oBAAoB;CAEhC;AAFD,oDAEC;AAED,MAAa,iBAAiB;CAoB7B;AApBD,8CAoBC;AAED,MAAa,mBAAmB;CAE/B;AAFD,kDAEC;AAED,MAAa,oCAAqC,SAAQ,mBAAmB;CAE5E;AAFD,oFAEC;AAED,MAAa,iCAAiC;CAM7C;AAND,8EAMC;AAED,MAAa,qBAAqB;CAEjC;AAFD,sDAEC;AAED,MAAa,0BAA0B;CAEtC;AAFD,gEAEC;AAED,MAAa,4BAA4B;CAIxC;AAJD,oEAIC;
|
|
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;CA0B1B;AA1BD,wCA0BC;AAED,MAAa,gBAAgB;CAc5B;AAdD,4CAcC;AAED,MAAa,oBAAoB;CAEhC;AAFD,oDAEC;AAED,MAAa,iBAAiB;CAoB7B;AApBD,8CAoBC;AAED,MAAa,mBAAmB;CAE/B;AAFD,kDAEC;AAED,MAAa,oCAAqC,SAAQ,mBAAmB;CAE5E;AAFD,oFAEC;AAED,MAAa,iCAAiC;CAM7C;AAND,8EAMC;AAED,MAAa,qBAAqB;CAEjC;AAFD,sDAEC;AAED,MAAa,0BAA0B;CAEtC;AAFD,gEAEC;AAED,MAAa,4BAA4B;CAIxC;AAJD,oEAIC;AAuDD,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"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Parameter DTO for endpoints that require a season ID
|
|
2
|
+
* Parameter DTO for endpoints that require a season folder ID
|
|
3
3
|
*/
|
|
4
|
-
export declare class
|
|
5
|
-
|
|
4
|
+
export declare class BySeasonFolderIdDto {
|
|
5
|
+
seasonFolderId: number;
|
|
6
6
|
}
|
|
7
7
|
/**
|
|
8
8
|
* Query parameters for getting schedule config
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ByOrganizationAndScheduleDto = exports.ByDraftIdDto = exports.PublishScheduleDto = exports.GetScheduleQueryDto = exports.GetScheduleConfigQueryDto = exports.
|
|
3
|
+
exports.ByOrganizationAndScheduleDto = exports.ByDraftIdDto = exports.PublishScheduleDto = exports.GetScheduleQueryDto = exports.GetScheduleConfigQueryDto = exports.BySeasonFolderIdDto = void 0;
|
|
4
4
|
/**
|
|
5
|
-
* Parameter DTO for endpoints that require a season ID
|
|
5
|
+
* Parameter DTO for endpoints that require a season folder ID
|
|
6
6
|
*/
|
|
7
|
-
class
|
|
7
|
+
class BySeasonFolderIdDto {
|
|
8
8
|
}
|
|
9
|
-
exports.
|
|
9
|
+
exports.BySeasonFolderIdDto = BySeasonFolderIdDto;
|
|
10
10
|
/**
|
|
11
11
|
* Query parameters for getting schedule config
|
|
12
12
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"leagues-scheduler-param.dto.js","sourceRoot":"","sources":["../../../../src/types/leagues-scheduler/dto/leagues-scheduler-param.dto.ts"],"names":[],"mappings":";;;AACA;;GAEG;AACH,MAAa,
|
|
1
|
+
{"version":3,"file":"leagues-scheduler-param.dto.js","sourceRoot":"","sources":["../../../../src/types/leagues-scheduler/dto/leagues-scheduler-param.dto.ts"],"names":[],"mappings":";;;AACA;;GAEG;AACH,MAAa,mBAAmB;CAE/B;AAFD,kDAEC;AAED;;GAEG;AACH,MAAa,yBAAyB;CAErC;AAFD,8DAEC;AAED;;GAEG;AACH,MAAa,mBAAmB;CAM/B;AAND,kDAMC;AAED;;GAEG;AACH,MAAa,kBAAkB;CAE9B;AAFD,gDAEC;AAED;;GAEG;AACH,MAAa,YAAY;CAExB;AAFD,oCAEC;AAED;;GAEG;AACH,MAAa,4BAA4B;CAIxC;AAJD,oEAIC"}
|
|
@@ -5,6 +5,12 @@ export declare class GetScheduleQualityQueryDto {
|
|
|
5
5
|
seasonFolderId: number;
|
|
6
6
|
draftId?: number;
|
|
7
7
|
}
|
|
8
|
+
/**
|
|
9
|
+
* Query DTO for schedule analysis report
|
|
10
|
+
*/
|
|
11
|
+
export declare class GetScheduleAnalysisReportQueryDto {
|
|
12
|
+
scopeFolderId?: number;
|
|
13
|
+
}
|
|
8
14
|
/**
|
|
9
15
|
* Constraint satisfaction details DTO
|
|
10
16
|
*/
|
|
@@ -23,6 +29,7 @@ export declare class ConstraintSatisfactionDto {
|
|
|
23
29
|
roundRobinCompleteness: number;
|
|
24
30
|
regularSeasonCompleteness: number;
|
|
25
31
|
playoffCompleteness: number;
|
|
32
|
+
gamesPerTeamBalance: number;
|
|
26
33
|
roundLengthAdherence: number;
|
|
27
34
|
venueUtilization: number;
|
|
28
35
|
details: ConstraintDetailsDto;
|
|
@@ -94,3 +101,40 @@ export declare class ScheduleQualityScoreDto {
|
|
|
94
101
|
validity: ValidityChecksDto;
|
|
95
102
|
additional: AdditionalMetricsDto;
|
|
96
103
|
}
|
|
104
|
+
export declare class ScheduleAnalysisReportMetadataDto {
|
|
105
|
+
seasonFolderId: number;
|
|
106
|
+
scopeFolderId?: number;
|
|
107
|
+
totalGamesAnalyzed: number;
|
|
108
|
+
totalTeamsAnalyzed: number;
|
|
109
|
+
totalTeamsInOverview: number;
|
|
110
|
+
}
|
|
111
|
+
export declare class MatchupsAnalysisSectionDto {
|
|
112
|
+
score: number;
|
|
113
|
+
matrix: Record<string, Record<string, number>>;
|
|
114
|
+
}
|
|
115
|
+
export declare class TimeSlotsAnalysisSectionDto {
|
|
116
|
+
score: number;
|
|
117
|
+
distribution: Record<string, Record<string, number>>;
|
|
118
|
+
}
|
|
119
|
+
export declare class ByeWeeksAnalysisSectionDto {
|
|
120
|
+
score: number;
|
|
121
|
+
byTeam: Record<string, {
|
|
122
|
+
total: number;
|
|
123
|
+
rounds: number[];
|
|
124
|
+
}>;
|
|
125
|
+
}
|
|
126
|
+
export declare class DaysAnalysisSectionDto {
|
|
127
|
+
score: number;
|
|
128
|
+
distributionByTeam: Record<string, Record<string, number>>;
|
|
129
|
+
totalByDay: Record<string, number>;
|
|
130
|
+
}
|
|
131
|
+
export declare class ScheduleAnalysisReportDto {
|
|
132
|
+
isSuccess: boolean;
|
|
133
|
+
message?: string;
|
|
134
|
+
metadata: ScheduleAnalysisReportMetadataDto;
|
|
135
|
+
overview: ScheduleQualityScoreDto;
|
|
136
|
+
matchups: MatchupsAnalysisSectionDto;
|
|
137
|
+
timeSlots: TimeSlotsAnalysisSectionDto;
|
|
138
|
+
byeWeeks: ByeWeeksAnalysisSectionDto;
|
|
139
|
+
days: DaysAnalysisSectionDto;
|
|
140
|
+
}
|
|
@@ -1,12 +1,18 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ScheduleQualityScoreDto = exports.AdditionalMetricsDto = exports.ValidityChecksDto = exports.ValidityDetailsDto = exports.FairnessMetricsDto = exports.FairnessDetailsDto = exports.ConstraintSatisfactionDto = exports.ConstraintDetailsDto = exports.GetScheduleQualityQueryDto = void 0;
|
|
3
|
+
exports.ScheduleAnalysisReportDto = exports.DaysAnalysisSectionDto = exports.ByeWeeksAnalysisSectionDto = exports.TimeSlotsAnalysisSectionDto = exports.MatchupsAnalysisSectionDto = exports.ScheduleAnalysisReportMetadataDto = exports.ScheduleQualityScoreDto = exports.AdditionalMetricsDto = exports.ValidityChecksDto = exports.ValidityDetailsDto = exports.FairnessMetricsDto = exports.FairnessDetailsDto = exports.ConstraintSatisfactionDto = exports.ConstraintDetailsDto = exports.GetScheduleAnalysisReportQueryDto = exports.GetScheduleQualityQueryDto = void 0;
|
|
4
4
|
/**
|
|
5
5
|
* Query DTO for getting schedule quality
|
|
6
6
|
*/
|
|
7
7
|
class GetScheduleQualityQueryDto {
|
|
8
8
|
}
|
|
9
9
|
exports.GetScheduleQualityQueryDto = GetScheduleQualityQueryDto;
|
|
10
|
+
/**
|
|
11
|
+
* Query DTO for schedule analysis report
|
|
12
|
+
*/
|
|
13
|
+
class GetScheduleAnalysisReportQueryDto {
|
|
14
|
+
}
|
|
15
|
+
exports.GetScheduleAnalysisReportQueryDto = GetScheduleAnalysisReportQueryDto;
|
|
10
16
|
/**
|
|
11
17
|
* Constraint satisfaction details DTO
|
|
12
18
|
*/
|
|
@@ -55,4 +61,22 @@ exports.AdditionalMetricsDto = AdditionalMetricsDto;
|
|
|
55
61
|
class ScheduleQualityScoreDto {
|
|
56
62
|
}
|
|
57
63
|
exports.ScheduleQualityScoreDto = ScheduleQualityScoreDto;
|
|
64
|
+
class ScheduleAnalysisReportMetadataDto {
|
|
65
|
+
}
|
|
66
|
+
exports.ScheduleAnalysisReportMetadataDto = ScheduleAnalysisReportMetadataDto;
|
|
67
|
+
class MatchupsAnalysisSectionDto {
|
|
68
|
+
}
|
|
69
|
+
exports.MatchupsAnalysisSectionDto = MatchupsAnalysisSectionDto;
|
|
70
|
+
class TimeSlotsAnalysisSectionDto {
|
|
71
|
+
}
|
|
72
|
+
exports.TimeSlotsAnalysisSectionDto = TimeSlotsAnalysisSectionDto;
|
|
73
|
+
class ByeWeeksAnalysisSectionDto {
|
|
74
|
+
}
|
|
75
|
+
exports.ByeWeeksAnalysisSectionDto = ByeWeeksAnalysisSectionDto;
|
|
76
|
+
class DaysAnalysisSectionDto {
|
|
77
|
+
}
|
|
78
|
+
exports.DaysAnalysisSectionDto = DaysAnalysisSectionDto;
|
|
79
|
+
class ScheduleAnalysisReportDto {
|
|
80
|
+
}
|
|
81
|
+
exports.ScheduleAnalysisReportDto = ScheduleAnalysisReportDto;
|
|
58
82
|
//# sourceMappingURL=quality-metrics.dto.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"quality-metrics.dto.js","sourceRoot":"","sources":["../../../../src/types/leagues-scheduler/dto/quality-metrics.dto.ts"],"names":[],"mappings":";;;AACA;;GAEG;AACH,MAAa,0BAA0B;CAItC;AAJD,gEAIC;AAED;;GAEG;AACH,MAAa,oBAAoB;CAUhC;AAVD,oDAUC;AAED;;GAEG;AACH,MAAa,yBAAyB;
|
|
1
|
+
{"version":3,"file":"quality-metrics.dto.js","sourceRoot":"","sources":["../../../../src/types/leagues-scheduler/dto/quality-metrics.dto.ts"],"names":[],"mappings":";;;AACA;;GAEG;AACH,MAAa,0BAA0B;CAItC;AAJD,gEAIC;AAED;;GAEG;AACH,MAAa,iCAAiC;CAE7C;AAFD,8EAEC;AAED;;GAEG;AACH,MAAa,oBAAoB;CAUhC;AAVD,oDAUC;AAED;;GAEG;AACH,MAAa,yBAAyB;CAgBrC;AAhBD,8DAgBC;AAED;;GAEG;AACH,MAAa,kBAAkB;CAQ9B;AARD,gDAQC;AAED;;GAEG;AACH,MAAa,kBAAkB;CAY9B;AAZD,gDAYC;AAED;;GAEG;AACH,MAAa,kBAAkB;CAQ9B;AARD,gDAQC;AAED;;GAEG;AACH,MAAa,iBAAiB;CAY7B;AAZD,8CAYC;AAED;;GAEG;AACH,MAAa,oBAAoB;CAUhC;AAVD,oDAUC;AAED;;GAEG;AACH,MAAa,uBAAuB;CAUnC;AAVD,0DAUC;AAED,MAAa,iCAAiC;CAU7C;AAVD,8EAUC;AAED,MAAa,0BAA0B;CAItC;AAJD,gEAIC;AAED,MAAa,2BAA2B;CAIvC;AAJD,kEAIC;AAED,MAAa,0BAA0B;CAItC;AAJD,gEAIC;AAED,MAAa,sBAAsB;CAMlC;AAND,wDAMC;AAED,MAAa,yBAAyB;CAgBrC;AAhBD,8DAgBC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../../../../src/types/leagues-scheduler/types/interfaces.ts"],"names":[],"mappings":";;;AAIA,mCAMiB;AAER,mGAPR,0BAAkB,OAOQ;AAAE,kGAN5B,yBAAiB,OAM4B;AAAE,yGAL/C,gCAAwB,OAK+C;AAAE,uGAJzE,8BAAsB,OAIyE;AAAE,6FAHjG,oBAAY,OAGiG;AAE9G,gDAAgD;AACnC,QAAA,kBAAkB,GAAG,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../../../../src/types/leagues-scheduler/types/interfaces.ts"],"names":[],"mappings":";;;AAIA,mCAMiB;AAER,mGAPR,0BAAkB,OAOQ;AAAE,kGAN5B,yBAAiB,OAM4B;AAAE,yGAL/C,gCAAwB,OAK+C;AAAE,uGAJzE,8BAAsB,OAIyE;AAAE,6FAHjG,oBAAY,OAGiG;AAE9G,gDAAgD;AACnC,QAAA,kBAAkB,GAAG,MAAM,CAAC;AA4UzC,IAAY,wBAGX;AAHD,WAAY,wBAAwB;IACnC,iEAAqC,CAAA;IACrC,uEAA2C,CAAA;AAC5C,CAAC,EAHW,wBAAwB,GAAxB,gCAAwB,KAAxB,gCAAwB,QAGnC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"quality-types.js","sourceRoot":"","sources":["../../../../src/types/leagues-scheduler/types/quality-types.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"quality-types.js","sourceRoot":"","sources":["../../../../src/types/leagues-scheduler/types/quality-types.ts"],"names":[],"mappings":";;;AA6GA;;GAEG;AACU,QAAA,qBAAqB,GAAG;IACpC,QAAQ,EAAE,GAAG;IACb,WAAW,EAAE,GAAG;IAChB,QAAQ,EAAE,GAAG;IACb,UAAU,EAAE,GAAG,EAAE,wCAAwC;CACzD,CAAC"}
|
|
@@ -132,10 +132,17 @@ export declare class BaseProgramSeasonDto extends RegistrationSettingsDto {
|
|
|
132
132
|
colorCodeId?: number;
|
|
133
133
|
resourceSettings?: CreateOrUpdateResourceSettingDto[];
|
|
134
134
|
}
|
|
135
|
-
|
|
135
|
+
declare class SessionScheduleCoreDto {
|
|
136
136
|
startDate: Date;
|
|
137
137
|
endDate: Date;
|
|
138
138
|
activityTimes: ActivityTimesDto[];
|
|
139
|
+
}
|
|
140
|
+
export declare class UpdateSessionScheduleDto {
|
|
141
|
+
startDate?: Date;
|
|
142
|
+
endDate?: Date;
|
|
143
|
+
activityTimes?: ActivityTimesDto[];
|
|
144
|
+
}
|
|
145
|
+
export declare class CreateSessionScheduleDto extends SessionScheduleCoreDto {
|
|
139
146
|
blockedDated?: BlockedDatesDto[];
|
|
140
147
|
subSeasons?: SubSeasonBasicInfo[];
|
|
141
148
|
}
|
|
@@ -309,3 +316,4 @@ export declare class UnregisterFromEventsDto extends UnregisterDto {
|
|
|
309
316
|
export declare class SeasonRegistrationValidationOptionsDto {
|
|
310
317
|
skipOptionalValidations?: boolean;
|
|
311
318
|
}
|
|
319
|
+
export {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.SeasonRegistrationValidationOptionsDto = exports.UnregisterFromEventsDto = exports.UnregisterFromSegmentsDto = exports.UnregisterDto = exports.SeasonWithProduct = exports.GetPaginatedEventsQueryDto = 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.DuplicateProductOfSeasonByIdDto = exports.FindProgramSeasonByIdDto = exports.FindProgramSeasonByIdQueryDto = exports.DeleteEventAttendeesDto = exports.BySessionDto = exports.BySeasonDto = exports.FindSessionsFiltersDto = void 0;
|
|
3
|
+
exports.SeasonRegistrationValidationOptionsDto = exports.UnregisterFromEventsDto = exports.UnregisterFromSegmentsDto = exports.UnregisterDto = exports.SeasonWithProduct = exports.GetPaginatedEventsQueryDto = 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.UpdateSessionScheduleDto = exports.BaseProgramSeasonDto = exports.RegistrationSettingsDto = exports.RegistrationDatesDto = exports.BlockedDatesDto = exports.FindRegisteredUsersOptionsDto = exports.FindRegisteredUserDto = exports.DeleteProductDto = exports.FindSessionEventByIdDto = exports.ByOrganizationIdAndProgramSeasonIdDto = exports.FindSeasonEventsQueryDto = exports.DuplicateProductOfSeasonByIdDto = exports.FindProgramSeasonByIdDto = exports.FindProgramSeasonByIdQueryDto = exports.DeleteEventAttendeesDto = exports.BySessionDto = 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");
|
|
@@ -56,7 +56,12 @@ exports.RegistrationSettingsDto = RegistrationSettingsDto;
|
|
|
56
56
|
class BaseProgramSeasonDto extends RegistrationSettingsDto {
|
|
57
57
|
}
|
|
58
58
|
exports.BaseProgramSeasonDto = BaseProgramSeasonDto;
|
|
59
|
-
class
|
|
59
|
+
class SessionScheduleCoreDto {
|
|
60
|
+
}
|
|
61
|
+
class UpdateSessionScheduleDto {
|
|
62
|
+
}
|
|
63
|
+
exports.UpdateSessionScheduleDto = UpdateSessionScheduleDto;
|
|
64
|
+
class CreateSessionScheduleDto extends SessionScheduleCoreDto {
|
|
60
65
|
}
|
|
61
66
|
exports.CreateSessionScheduleDto = CreateSessionScheduleDto;
|
|
62
67
|
class SubSeasonBasicInfo {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"program-session.dto.js","sourceRoot":"","sources":["../../../../src/types/programs-seasons/dto/program-session.dto.ts"],"names":[],"mappings":";;;AAGA,uDAA4G;AAG5G,yFAAoF;AACpF,8EAAyG;AAEzG,gEAAuF;AA2BvF,MAAa,sBAAsB;CAIlC;AAJD,wDAIC;AAED,MAAa,WAAY,SAAQ,0BAAY;CAE5C;AAFD,kCAEC;AAED,MAAa,YAAa,SAAQ,0BAAY;CAE7C;AAFD,oCAEC;AAED,MAAa,uBAAuB;CAEnC;AAFD,0DAEC;AAED,MAAa,6BAA6B;CAEzC;AAFD,sEAEC;AAED,MAAa,wBAAyB,SAAQ,4CAAyB;CAEtE;AAFD,4DAEC;AAED,MAAa,+BAAgC,SAAQ,wBAAwB;CAE5E;AAFD,0EAEC;AAED,MAAa,wBAAyB,SAAQ,6BAAe;CA4B5D;AA5BD,4DA4BC;AAED,MAAa,qCAAsC,SAAQ,sCAAmB;CAE7E;AAFD,sFAEC;AAED,MAAa,uBAAuB;CAInC;AAJD,0DAIC;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;CAYhC;AAZD,oDAYC;AAED,MAAa,uBAAwB,SAAQ,oBAAoB;CAchE;AAdD,0DAcC;AAED,MAAa,oBAAqB,SAAQ,uBAAuB;CA8EhE;AA9ED,oDA8EC;AAED,MAAa,wBAAwB;
|
|
1
|
+
{"version":3,"file":"program-session.dto.js","sourceRoot":"","sources":["../../../../src/types/programs-seasons/dto/program-session.dto.ts"],"names":[],"mappings":"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"}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
+
import { ProgramTypesEnum } from '../../../programs/types/enums/program.enums';
|
|
1
2
|
export declare const OVERRIDE_NO_MAX_PARTICIPANTS = -1;
|
|
2
3
|
export declare const DEFAULT_INVITED_PLAYER_PRODUCT_QUANTITY = 1;
|
|
3
4
|
export declare const DEFAULT_INVITED_PLAYER_PRODUCT_IS_ALL = false;
|
|
4
5
|
export declare const DEFAULT_INVITED_PLAYER_PRODUCT_IS_PUBLIC = false;
|
|
5
6
|
export declare const DEFAULT_INVITED_PLAYER_PRODUCT_PRICE = 0;
|
|
7
|
+
export declare const LEAGUE_V2_PROGRAM_TYPES: ProgramTypesEnum[];
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.DEFAULT_INVITED_PLAYER_PRODUCT_PRICE = exports.DEFAULT_INVITED_PLAYER_PRODUCT_IS_PUBLIC = exports.DEFAULT_INVITED_PLAYER_PRODUCT_IS_ALL = exports.DEFAULT_INVITED_PLAYER_PRODUCT_QUANTITY = exports.OVERRIDE_NO_MAX_PARTICIPANTS = void 0;
|
|
3
|
+
exports.LEAGUE_V2_PROGRAM_TYPES = exports.DEFAULT_INVITED_PLAYER_PRODUCT_PRICE = exports.DEFAULT_INVITED_PLAYER_PRODUCT_IS_PUBLIC = exports.DEFAULT_INVITED_PLAYER_PRODUCT_IS_ALL = exports.DEFAULT_INVITED_PLAYER_PRODUCT_QUANTITY = exports.OVERRIDE_NO_MAX_PARTICIPANTS = void 0;
|
|
4
|
+
const program_enums_1 = require("../../../programs/types/enums/program.enums");
|
|
4
5
|
exports.OVERRIDE_NO_MAX_PARTICIPANTS = -1;
|
|
5
6
|
// Default values for invited player product (Leagues 2.0/Tournaments 2.0)
|
|
6
7
|
exports.DEFAULT_INVITED_PLAYER_PRODUCT_QUANTITY = 1;
|
|
7
8
|
exports.DEFAULT_INVITED_PLAYER_PRODUCT_IS_ALL = false;
|
|
8
9
|
exports.DEFAULT_INVITED_PLAYER_PRODUCT_IS_PUBLIC = false;
|
|
9
10
|
exports.DEFAULT_INVITED_PLAYER_PRODUCT_PRICE = 0;
|
|
11
|
+
exports.LEAGUE_V2_PROGRAM_TYPES = [program_enums_1.ProgramTypesEnum.LEAGUE_V2, program_enums_1.ProgramTypesEnum.TOURNAMENT_V2];
|
|
10
12
|
//# sourceMappingURL=program-season.consts.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"program-season.consts.js","sourceRoot":"","sources":["../../../../../src/types/programs-seasons/types/consts/program-season.consts.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"program-season.consts.js","sourceRoot":"","sources":["../../../../../src/types/programs-seasons/types/consts/program-season.consts.ts"],"names":[],"mappings":";;;AAAA,+EAA+E;AAElE,QAAA,4BAA4B,GAAG,CAAC,CAAC,CAAC;AAE/C,0EAA0E;AAC7D,QAAA,uCAAuC,GAAG,CAAC,CAAC;AAE5C,QAAA,qCAAqC,GAAG,KAAK,CAAC;AAE9C,QAAA,wCAAwC,GAAG,KAAK,CAAC;AAEjD,QAAA,oCAAoC,GAAG,CAAC,CAAC;AAEzC,QAAA,uBAAuB,GAAG,CAAC,gCAAgB,CAAC,SAAS,EAAE,gCAAgB,CAAC,aAAa,CAAC,CAAC"}
|
|
@@ -71,6 +71,15 @@ export interface IGetProgramSeasonsChildrenOptions extends IPagination {
|
|
|
71
71
|
export interface ISeasonWaitlistSettings {
|
|
72
72
|
enabled: boolean;
|
|
73
73
|
}
|
|
74
|
+
export interface ISeasonEventsDateRange {
|
|
75
|
+
eventRangeEndDate: Date;
|
|
76
|
+
eventRangeStartDate: Date;
|
|
77
|
+
timezone: string;
|
|
78
|
+
}
|
|
79
|
+
export interface ISeasonDateStringRange {
|
|
80
|
+
endDate: string;
|
|
81
|
+
startDate: string;
|
|
82
|
+
}
|
|
74
83
|
export interface IGetSessionOptions {
|
|
75
84
|
organizationId?: number;
|
|
76
85
|
fullFetch?: boolean;
|