@bondsports/types 2.4.50 → 2.4.52
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/accounting/entities/index.d.ts +1 -0
- package/dist/types/accounting/entities/index.js +1 -0
- package/dist/types/accounting/entities/index.js.map +1 -1
- package/dist/types/accounting/entities/revenue-recognition-schedule-history.entity.d.ts +17 -0
- package/dist/types/accounting/entities/revenue-recognition-schedule-history.entity.js +8 -0
- package/dist/types/accounting/entities/revenue-recognition-schedule-history.entity.js.map +1 -0
- package/dist/types/employees/dto/employee-facilities.dto.d.ts +11 -0
- package/dist/types/employees/dto/employee-facilities.dto.js +14 -0
- package/dist/types/employees/dto/employee-facilities.dto.js.map +1 -0
- package/dist/types/employees/dto/index.d.ts +1 -0
- package/dist/types/employees/dto/index.js +1 -0
- package/dist/types/employees/dto/index.js.map +1 -1
- package/dist/types/employees/types/enums.d.ts +4 -0
- package/dist/types/employees/types/enums.js +6 -1
- package/dist/types/employees/types/enums.js.map +1 -1
- package/dist/types/employees/types/interfaces/employee-facility-access.interfaces.d.ts +8 -1
- package/dist/types/leagues-scheduler/dto/leagues-scheduler-metadata.dto.d.ts +1 -0
- package/dist/types/leagues-scheduler/dto/leagues-scheduler-metadata.dto.js.map +1 -1
- package/dist/types/leagues-scheduler/dto/leagues-scheduler.dto.d.ts +4 -0
- package/dist/types/leagues-scheduler/dto/leagues-scheduler.dto.js.map +1 -1
- package/dist/types/leagues-scheduler/types/enums.d.ts +2 -1
- package/dist/types/leagues-scheduler/types/enums.js +1 -0
- package/dist/types/leagues-scheduler/types/enums.js.map +1 -1
- package/dist/types/leagues-scheduler/types/interfaces.d.ts +18 -0
- package/dist/types/leagues-scheduler/types/interfaces.js.map +1 -1
- package/dist/types/organization/entities/Organization.d.ts +2 -0
- package/dist/types/organization/entities/Organization.js.map +1 -1
- package/dist/types/organization/index.d.ts +1 -0
- package/dist/types/organization/index.js +1 -0
- package/dist/types/organization/index.js.map +1 -1
- package/dist/types/organization/types/enums/index.d.ts +1 -0
- package/dist/types/organization/types/enums/index.js +18 -0
- package/dist/types/organization/types/enums/index.js.map +1 -0
- package/dist/types/organization/types/enums/organization-accounting-style.enum.d.ts +5 -0
- package/dist/types/organization/types/enums/organization-accounting-style.enum.js +10 -0
- package/dist/types/organization/types/enums/organization-accounting-style.enum.js.map +1 -0
- package/dist/types/organization/types/index.d.ts +1 -0
- package/dist/types/organization/types/index.js +18 -0
- package/dist/types/organization/types/index.js.map +1 -0
- package/dist/types/programs/dto/program-public.dto.js.map +1 -1
- package/dist/types/programs/types/consts/program.consts.d.ts +2 -0
- package/dist/types/programs/types/consts/program.consts.js +17 -2
- package/dist/types/programs/types/consts/program.consts.js.map +1 -1
- package/dist/types/programs/types/enums/program.enums.d.ts +2 -1
- package/dist/types/programs/types/enums/program.enums.js +1 -0
- package/dist/types/programs/types/enums/program.enums.js.map +1 -1
- package/dist/types/programs-seasons/entities/index.d.ts +1 -0
- package/dist/types/programs-seasons/entities/index.js +1 -0
- package/dist/types/programs-seasons/entities/index.js.map +1 -1
- package/dist/types/programs-seasons/entities/program-season-history.entity.d.ts +54 -0
- package/dist/types/programs-seasons/entities/program-season-history.entity.js +8 -0
- package/dist/types/programs-seasons/entities/program-season-history.entity.js.map +1 -0
- package/dist/types/programs-seasons/types/consts/program-season.consts.d.ts +0 -2
- package/dist/types/programs-seasons/types/consts/program-season.consts.js +1 -3
- package/dist/types/programs-seasons/types/consts/program-season.consts.js.map +1 -1
- package/dist/types/shifts/dto/find-shifts-filters.dto.d.ts +7 -12
- package/dist/types/shifts/dto/find-shifts-filters.dto.js +3 -5
- package/dist/types/shifts/dto/find-shifts-filters.dto.js.map +1 -1
- package/dist/types/shifts/dto/index.d.ts +1 -0
- package/dist/types/shifts/dto/index.js +1 -0
- package/dist/types/shifts/dto/index.js.map +1 -1
- package/dist/types/shifts/dto/shift.dto.d.ts +29 -0
- package/dist/types/shifts/dto/shift.dto.js +10 -0
- package/dist/types/shifts/dto/shift.dto.js.map +1 -0
- package/dist/types/shifts/entities/shift.entity.js.map +1 -1
- package/dist/types/shifts/index.d.ts +1 -0
- package/dist/types/shifts/index.js +1 -0
- package/dist/types/shifts/index.js.map +1 -1
- package/dist/types/shifts/types/enums/index.d.ts +1 -0
- package/dist/types/shifts/types/enums/index.js +18 -0
- package/dist/types/shifts/types/enums/index.js.map +1 -0
- package/dist/types/shifts/types/enums/shift.enums.d.ts +5 -0
- package/dist/types/shifts/types/enums/shift.enums.js +10 -0
- package/dist/types/shifts/types/enums/shift.enums.js.map +1 -0
- package/dist/types/shifts/types/index.d.ts +1 -0
- package/dist/types/shifts/types/index.js +18 -0
- package/dist/types/shifts/types/index.js.map +1 -0
- package/package.json +1 -1
|
@@ -15,5 +15,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./revenue-recognition-milestone.entity"), exports);
|
|
18
|
+
__exportStar(require("./revenue-recognition-schedule-history.entity"), exports);
|
|
18
19
|
__exportStar(require("./revenue-recognition-schedule.entity"), exports);
|
|
19
20
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/accounting/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yEAAuD;AACvD,wEAAsD"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/accounting/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yEAAuD;AACvD,gFAA8D;AAC9D,wEAAsD"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { BondBaseEntity } from '../../entity/BondBaseEntity';
|
|
2
|
+
import { RevenueRecognitionMethodEnum, RevenueRecognitionResourceTypeEnum } from '../types/enums/accounting.enums';
|
|
3
|
+
import { RevenueRecognitionSchedule } from './revenue-recognition-schedule.entity';
|
|
4
|
+
export declare class RevenueRecognitionScheduleHistory extends BondBaseEntity {
|
|
5
|
+
revenueRecognitionScheduleId: number;
|
|
6
|
+
schedule?: RevenueRecognitionSchedule;
|
|
7
|
+
organizationId?: number;
|
|
8
|
+
resourceId?: number;
|
|
9
|
+
resourceType?: RevenueRecognitionResourceTypeEnum;
|
|
10
|
+
recognitionMethod?: RevenueRecognitionMethodEnum;
|
|
11
|
+
startDate?: Date;
|
|
12
|
+
endDate?: Date;
|
|
13
|
+
numberOfMonths?: number;
|
|
14
|
+
deletedAt?: Date;
|
|
15
|
+
previousHistoryId?: number;
|
|
16
|
+
actionId?: string;
|
|
17
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.RevenueRecognitionScheduleHistory = void 0;
|
|
4
|
+
const BondBaseEntity_1 = require("../../entity/BondBaseEntity");
|
|
5
|
+
class RevenueRecognitionScheduleHistory extends BondBaseEntity_1.BondBaseEntity {
|
|
6
|
+
}
|
|
7
|
+
exports.RevenueRecognitionScheduleHistory = RevenueRecognitionScheduleHistory;
|
|
8
|
+
//# sourceMappingURL=revenue-recognition-schedule-history.entity.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"revenue-recognition-schedule-history.entity.js","sourceRoot":"","sources":["../../../../src/types/accounting/entities/revenue-recognition-schedule-history.entity.ts"],"names":[],"mappings":";;;AAEA,gEAA6D;AAK7D,MAAa,iCAAkC,SAAQ,+BAAc;CAwBpE;AAxBD,8EAwBC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { FacilityDto, SimpleFacilityDto } from '../../facilities/dto/facilities.dto';
|
|
2
|
+
import { EmployeeFacilitiesViewEnum } from '../types/enums';
|
|
3
|
+
export declare class EmployeeFacilitiesDto {
|
|
4
|
+
employeeId: number;
|
|
5
|
+
defaultFacilityId: number | null;
|
|
6
|
+
facilityIds: number[];
|
|
7
|
+
accessibleFacilities: SimpleFacilityDto[] | FacilityDto[];
|
|
8
|
+
}
|
|
9
|
+
export declare class GetEmployeeFacilitiesQueryDto {
|
|
10
|
+
view?: EmployeeFacilitiesViewEnum;
|
|
11
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GetEmployeeFacilitiesQueryDto = exports.EmployeeFacilitiesDto = void 0;
|
|
4
|
+
const enums_1 = require("../types/enums");
|
|
5
|
+
class EmployeeFacilitiesDto {
|
|
6
|
+
}
|
|
7
|
+
exports.EmployeeFacilitiesDto = EmployeeFacilitiesDto;
|
|
8
|
+
class GetEmployeeFacilitiesQueryDto {
|
|
9
|
+
constructor() {
|
|
10
|
+
this.view = enums_1.EmployeeFacilitiesViewEnum.SUMMARY;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
exports.GetEmployeeFacilitiesQueryDto = GetEmployeeFacilitiesQueryDto;
|
|
14
|
+
//# sourceMappingURL=employee-facilities.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"employee-facilities.dto.js","sourceRoot":"","sources":["../../../../src/types/employees/dto/employee-facilities.dto.ts"],"names":[],"mappings":";;;AAEA,0CAA4D;AAE5D,MAAa,qBAAqB;CAQjC;AARD,sDAQC;AAED,MAAa,6BAA6B;IAA1C;QACC,SAAI,GAAgC,kCAA0B,CAAC,OAAO,CAAC;IACxE,CAAC;CAAA;AAFD,sEAEC"}
|
|
@@ -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("./employee-facilities.dto"), exports);
|
|
17
18
|
__exportStar(require("./employee.dto"), exports);
|
|
18
19
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/employees/dto/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,iDAA+B"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/employees/dto/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4DAA0C;AAC1C,iDAA+B"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.MembershipSortByEnum = exports.OrganizationUserOrderBy = exports.UserOrderBy = exports.EmployeeStatus = void 0;
|
|
3
|
+
exports.EmployeeFacilitiesViewEnum = exports.MembershipSortByEnum = exports.OrganizationUserOrderBy = exports.UserOrderBy = exports.EmployeeStatus = void 0;
|
|
4
4
|
var EmployeeStatus;
|
|
5
5
|
(function (EmployeeStatus) {
|
|
6
6
|
EmployeeStatus["ACTIVE"] = "active";
|
|
@@ -30,4 +30,9 @@ var MembershipSortByEnum;
|
|
|
30
30
|
MembershipSortByEnum["ACTIVITIES"] = "activities";
|
|
31
31
|
MembershipSortByEnum["MEMEMBERSHIP_TYPE"] = "membershipType";
|
|
32
32
|
})(MembershipSortByEnum = exports.MembershipSortByEnum || (exports.MembershipSortByEnum = {}));
|
|
33
|
+
var EmployeeFacilitiesViewEnum;
|
|
34
|
+
(function (EmployeeFacilitiesViewEnum) {
|
|
35
|
+
EmployeeFacilitiesViewEnum["SUMMARY"] = "SUMMARY";
|
|
36
|
+
EmployeeFacilitiesViewEnum["FULL"] = "FULL";
|
|
37
|
+
})(EmployeeFacilitiesViewEnum = exports.EmployeeFacilitiesViewEnum || (exports.EmployeeFacilitiesViewEnum = {}));
|
|
33
38
|
//# sourceMappingURL=enums.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"enums.js","sourceRoot":"","sources":["../../../../src/types/employees/types/enums.ts"],"names":[],"mappings":";;;AAAA,IAAY,cAIX;AAJD,WAAY,cAAc;IACzB,mCAAiB,CAAA;IACjB,uCAAqB,CAAA;IACrB,qCAAmB,CAAA;AACpB,CAAC,EAJW,cAAc,GAAd,sBAAc,KAAd,sBAAc,QAIzB;AAED,IAAY,WAKX;AALD,WAAY,WAAW;IACtB,8BAAe,CAAA;IACf,uCAAwB,CAAA;IACxB,qCAAsB,CAAA;IACtB,uCAAwB,CAAA;AACzB,CAAC,EALW,WAAW,GAAX,mBAAW,KAAX,mBAAW,QAKtB;AAED,IAAY,uBAKX;AALD,WAAY,uBAAuB;IAClC,4CAAiB,CAAA;IACjB,wEAA6C,CAAA;IAC7C,oEAAyC,CAAA;IACzC,uDAA4B,CAAA;AAC7B,CAAC,EALW,uBAAuB,GAAvB,+BAAuB,KAAvB,+BAAuB,QAKlC;AAED,IAAY,oBAOX;AAPD,WAAY,oBAAoB;IAC/B,qCAAa,CAAA;IACb,wDAAgC,CAAA;IAChC,0CAAkB,CAAA;IAClB,yCAAiB,CAAA;IACjB,iDAAyB,CAAA;IACzB,4DAAoC,CAAA;AACrC,CAAC,EAPW,oBAAoB,GAApB,4BAAoB,KAApB,4BAAoB,QAO/B"}
|
|
1
|
+
{"version":3,"file":"enums.js","sourceRoot":"","sources":["../../../../src/types/employees/types/enums.ts"],"names":[],"mappings":";;;AAAA,IAAY,cAIX;AAJD,WAAY,cAAc;IACzB,mCAAiB,CAAA;IACjB,uCAAqB,CAAA;IACrB,qCAAmB,CAAA;AACpB,CAAC,EAJW,cAAc,GAAd,sBAAc,KAAd,sBAAc,QAIzB;AAED,IAAY,WAKX;AALD,WAAY,WAAW;IACtB,8BAAe,CAAA;IACf,uCAAwB,CAAA;IACxB,qCAAsB,CAAA;IACtB,uCAAwB,CAAA;AACzB,CAAC,EALW,WAAW,GAAX,mBAAW,KAAX,mBAAW,QAKtB;AAED,IAAY,uBAKX;AALD,WAAY,uBAAuB;IAClC,4CAAiB,CAAA;IACjB,wEAA6C,CAAA;IAC7C,oEAAyC,CAAA;IACzC,uDAA4B,CAAA;AAC7B,CAAC,EALW,uBAAuB,GAAvB,+BAAuB,KAAvB,+BAAuB,QAKlC;AAED,IAAY,oBAOX;AAPD,WAAY,oBAAoB;IAC/B,qCAAa,CAAA;IACb,wDAAgC,CAAA;IAChC,0CAAkB,CAAA;IAClB,yCAAiB,CAAA;IACjB,iDAAyB,CAAA;IACzB,4DAAoC,CAAA;AACrC,CAAC,EAPW,oBAAoB,GAApB,4BAAoB,KAApB,4BAAoB,QAO/B;AAED,IAAY,0BAGX;AAHD,WAAY,0BAA0B;IACrC,iDAAmB,CAAA;IACnB,2CAAa,CAAA;AACd,CAAC,EAHW,0BAA0B,GAA1B,kCAA0B,KAA1B,kCAA0B,QAGrC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
import { Facility } from '../../../facilities/entities/Facility';
|
|
2
|
+
export interface ICreateEmployeeFacilityAccessInput {
|
|
2
3
|
organizationId: number;
|
|
3
4
|
userId: number;
|
|
4
5
|
facilityIds: number[];
|
|
@@ -7,6 +8,12 @@ export interface IEmployeeFacilityAccessState {
|
|
|
7
8
|
defaultFacilityId: number | null;
|
|
8
9
|
facilityIds: number[];
|
|
9
10
|
}
|
|
11
|
+
export interface IEmployeeFacilities {
|
|
12
|
+
defaultFacilityId: number | null;
|
|
13
|
+
employeeId: number;
|
|
14
|
+
accessibleFacilities: Facility[];
|
|
15
|
+
facilityIds: number[];
|
|
16
|
+
}
|
|
10
17
|
export interface IFindFacilityAccessFilter {
|
|
11
18
|
organizationId: number;
|
|
12
19
|
facilityIds?: number[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"leagues-scheduler-metadata.dto.js","sourceRoot":"","sources":["../../../../src/types/leagues-scheduler/dto/leagues-scheduler-metadata.dto.ts"],"names":[],"mappings":";;;AAMA,6CAA6C;AAC7C,kDAAyF;AAAhF,0GAAA,YAAY,OAAA;AAAE,gHAAA,kBAAkB,OAAA;AAAE,8GAAA,gBAAgB,OAAA;AAE3D;;;;;;;;;;;;GAYG;AACH,MAAa,qBAAqB;
|
|
1
|
+
{"version":3,"file":"leagues-scheduler-metadata.dto.js","sourceRoot":"","sources":["../../../../src/types/leagues-scheduler/dto/leagues-scheduler-metadata.dto.ts"],"names":[],"mappings":";;;AAMA,6CAA6C;AAC7C,kDAAyF;AAAhF,0GAAA,YAAY,OAAA;AAAE,gHAAA,kBAAkB,OAAA;AAAE,8GAAA,gBAAgB,OAAA;AAE3D;;;;;;;;;;;;GAYG;AACH,MAAa,qBAAqB;CAkBjC;AAlBD,sDAkBC;AAED,gDAAgD;AAEhD;;;;GAIG;AACH,MAAa,gBAAgB;CAY5B;AAZD,4CAYC;AAED;;;;;GAKG;AACH,MAAa,qBAAqB;CAUjC;AAVD,sDAUC"}
|
|
@@ -51,6 +51,7 @@ export declare class ScheduleConfigDto implements IScheduleConfig {
|
|
|
51
51
|
rounds?: number;
|
|
52
52
|
maintenanceEvents?: MaintenanceEventDto[];
|
|
53
53
|
isCreateSlots?: boolean;
|
|
54
|
+
respectDivisionBoundaries?: boolean;
|
|
54
55
|
}
|
|
55
56
|
/**
|
|
56
57
|
* Game Schedule DTO (Controller use only)
|
|
@@ -126,6 +127,9 @@ export declare class ScheduleConflictDto implements IScheduleConflict {
|
|
|
126
127
|
startDate?: string;
|
|
127
128
|
startTime?: string;
|
|
128
129
|
endTime?: string;
|
|
130
|
+
description?: string;
|
|
131
|
+
divisionId?: number;
|
|
132
|
+
divisionName?: string;
|
|
129
133
|
}
|
|
130
134
|
/**
|
|
131
135
|
* Generated Schedule DTO (Controller use only)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"leagues-scheduler.dto.js","sourceRoot":"","sources":["../../../../src/types/leagues-scheduler/dto/leagues-scheduler.dto.ts"],"names":[],"mappings":";;;AAoBA,6CAA6C;AAC7C,kDAK6B;AAJ5B,+GAAA,iBAAiB,OAAA;AACjB,sHAAA,wBAAwB,OAAA;AACxB,oHAAA,sBAAsB,OAAA;AACtB,sHAAA,wBAAwB,OAAA;AAGzB,2DAA2D;AAC3D,iEAA8D;AAArD,4HAAA,mBAAmB,OAAA;AAE5B,+EAA+E;AAC/E,wBAAwB;AACxB,+EAA+E;AAE/E;;GAEG;AACH,MAAa,2BAA2B;CAEvC;AAFD,kEAEC;AAED;;GAEG;AACH,MAAa,8BAA8B;CAM1C;AAND,wEAMC;AAED,+EAA+E;AAC/E,yBAAyB;AACzB,+EAA+E;AAE/E;;;GAGG;AACH,MAAa,aAAa;CAUzB;AAVD,sCAUC;AAED;;;GAGG;AACH,MAAa,iBAAiB;
|
|
1
|
+
{"version":3,"file":"leagues-scheduler.dto.js","sourceRoot":"","sources":["../../../../src/types/leagues-scheduler/dto/leagues-scheduler.dto.ts"],"names":[],"mappings":";;;AAoBA,6CAA6C;AAC7C,kDAK6B;AAJ5B,+GAAA,iBAAiB,OAAA;AACjB,sHAAA,wBAAwB,OAAA;AACxB,oHAAA,sBAAsB,OAAA;AACtB,sHAAA,wBAAwB,OAAA;AAGzB,2DAA2D;AAC3D,iEAA8D;AAArD,4HAAA,mBAAmB,OAAA;AAE5B,+EAA+E;AAC/E,wBAAwB;AACxB,+EAA+E;AAE/E;;GAEG;AACH,MAAa,2BAA2B;CAEvC;AAFD,kEAEC;AAED;;GAEG;AACH,MAAa,8BAA8B;CAM1C;AAND,wEAMC;AAED,+EAA+E;AAC/E,yBAAyB;AACzB,+EAA+E;AAE/E;;;GAGG;AACH,MAAa,aAAa;CAUzB;AAVD,sCAUC;AAED;;;GAGG;AACH,MAAa,iBAAiB;CAoC7B;AApCD,8CAoCC;AAED,+EAA+E;AAC/E,yBAAyB;AACzB,+EAA+E;AAE/E;;;GAGG;AACH,MAAa,eAAe;CAsC3B;AAtCD,0CAsCC;AAED;;;GAGG;AACH,MAAa,eAAe;CAY3B;AAZD,0CAYC;AAED;;;GAGG;AACH,MAAa,mBAAmB;CAQ/B;AARD,kDAQC;AAED;;GAEG;AACH,MAAa,mBAAmB;CAI/B;AAJD,kDAIC;AAED;;GAEG;AACH,MAAa,sBAAsB;CAIlC;AAJD,wDAIC;AAED;;;GAGG;AACH,MAAa,mBAAmB;CAsB/B;AAtBD,kDAsBC;AAED;;;GAGG;AACH,MAAa,oBAAoB;CAgBhC;AAhBD,oDAgBC;AAED,wBAAwB;AACxB,MAAa,0BAA0B;CAUtC;AAVD,gEAUC;AAED,MAAa,2BAA2B;CAwBvC;AAxBD,kEAwBC;AAED,MAAa,yBAAyB;CAMrC;AAND,8DAMC;AAED;;;GAGG;AACH,MAAa,wBAAwB;CAUpC;AAVD,4DAUC;AAED;;;GAGG;AACH,MAAa,uBAAuB;CAUnC;AAVD,0DAUC;AAED;;;GAGG;AACH,MAAa,kBAAkB;CAQ9B;AARD,gDAQC;AAED,MAAa,0BAA0B;CAsBtC;AAtBD,gEAsBC;AAED,MAAa,wBAAwB;CAIpC;AAJD,4DAIC;AAED,MAAa,yBAAyB;CAUrC;AAVD,8DAUC;AAED,MAAa,sBAAsB;CAclC;AAdD,wDAcC;AAED;;;GAGG;AACH,MAAa,6BAA6B;CAMzC;AAND,sEAMC;AAED;;;GAGG;AACH,MAAa,8BAA8B;CAkB1C;AAlBD,wEAkBC;AAED;;;;GAIG;AACH,MAAa,wBAAwB;CAIpC;AAJD,4DAIC;AAED;;GAEG;AACH,MAAa,mBAAmB;CAc/B;AAdD,kDAcC;AAED;;GAEG;AACH,MAAa,wBAAwB;CAQpC;AARD,4DAQC;AAED;;GAEG;AACH,MAAa,yBAAyB;CAQrC;AARD,8DAQC"}
|
|
@@ -13,7 +13,8 @@ export declare enum ScheduleConflictTypeEnum {
|
|
|
13
13
|
TEAM_DOUBLE_BOOKING = "team_double_booking",
|
|
14
14
|
TIME_CONFLICT = "time_conflict",
|
|
15
15
|
BLACKOUT_DATE = "blackout_date",
|
|
16
|
-
TEAM_BLACKOUT = "team_blackout"
|
|
16
|
+
TEAM_BLACKOUT = "team_blackout",
|
|
17
|
+
INSUFFICIENT_TEAMS = "insufficient_teams"
|
|
17
18
|
}
|
|
18
19
|
export declare enum ValidationSeverityEnum {
|
|
19
20
|
WARNING = "warning",
|
|
@@ -20,6 +20,7 @@ var ScheduleConflictTypeEnum;
|
|
|
20
20
|
ScheduleConflictTypeEnum["TIME_CONFLICT"] = "time_conflict";
|
|
21
21
|
ScheduleConflictTypeEnum["BLACKOUT_DATE"] = "blackout_date";
|
|
22
22
|
ScheduleConflictTypeEnum["TEAM_BLACKOUT"] = "team_blackout";
|
|
23
|
+
ScheduleConflictTypeEnum["INSUFFICIENT_TEAMS"] = "insufficient_teams";
|
|
23
24
|
})(ScheduleConflictTypeEnum = exports.ScheduleConflictTypeEnum || (exports.ScheduleConflictTypeEnum = {}));
|
|
24
25
|
var ValidationSeverityEnum;
|
|
25
26
|
(function (ValidationSeverityEnum) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"enums.js","sourceRoot":"","sources":["../../../../src/types/leagues-scheduler/types/enums.ts"],"names":[],"mappings":";;;AAAA,+EAA6E;AAE7E,IAAY,kBAGX;AAHD,WAAY,kBAAkB;IAC7B,qCAAe,CAAA;IACf,6CAAuB,CAAA;AACxB,CAAC,EAHW,kBAAkB,GAAlB,0BAAkB,KAAlB,0BAAkB,QAG7B;AAED,IAAY,iBAIX;AAJD,WAAY,iBAAiB;IAC5B,kCAAa,CAAA;IACb,sCAAiB,CAAA;IACjB,sCAAiB,CAAA;AAClB,CAAC,EAJW,iBAAiB,GAAjB,yBAAiB,KAAjB,yBAAiB,QAI5B;AAED,IAAY,
|
|
1
|
+
{"version":3,"file":"enums.js","sourceRoot":"","sources":["../../../../src/types/leagues-scheduler/types/enums.ts"],"names":[],"mappings":";;;AAAA,+EAA6E;AAE7E,IAAY,kBAGX;AAHD,WAAY,kBA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AAC;AAEtF,QAAA,8BAA8B,GAAG;IAC7C,gBAAgB,CAAC,IAAI;IACrB,gBAAgB,CAAC,UAAU;IAC3B,gBAAgB,CAAC,QAAQ;IACzB,gBAAgB,CAAC,SAAS;CACjB,CAAC;AAEX,MAAM,wBAAwB,GAAuD;IACpF,CAAC,4BAAa,CAAC,QAAQ,CAAC,EAAE,+BAAuB;IACjD,CAAC,4BAAa,CAAC,cAAc,CAAC,EAAE,sCAA8B;CAC9D,CAAC;AAEF;;GAEG;AACH,SAAgB,wBAAwB,CAAC,SAAwB;IAChE,OAAO,CAAC,GAAG,CAAC,wBAAwB,CAAC,SAAS,CAAC,IAAI,sCAA8B,CAAC,CAAC,CAAC;AACrF,CAAC;AAFD,4DAEC"}
|
|
@@ -35,6 +35,7 @@ export interface IScheduleConfig {
|
|
|
35
35
|
blackoutDates?: string[];
|
|
36
36
|
breakBetweenGames?: number;
|
|
37
37
|
byeWeekPolicy: ByeWeekPolicyEnum;
|
|
38
|
+
respectDivisionBoundaries?: boolean;
|
|
38
39
|
gameDuration: number;
|
|
39
40
|
gamesPerTeam?: number;
|
|
40
41
|
gamesPerWeek: number;
|
|
@@ -106,6 +107,15 @@ export interface IScheduleConflict {
|
|
|
106
107
|
startDate?: string;
|
|
107
108
|
startTime?: string;
|
|
108
109
|
type: ScheduleConflictTypeEnum;
|
|
110
|
+
/**
|
|
111
|
+
* Human-readable description used by the FE when type-specific fields
|
|
112
|
+
* (resource, event, date) don't apply — e.g. division-level warnings.
|
|
113
|
+
*/
|
|
114
|
+
description?: string;
|
|
115
|
+
/** Division this conflict pertains to (for division-level warnings). */
|
|
116
|
+
divisionId?: number;
|
|
117
|
+
/** Display name of the division for FE rendering. */
|
|
118
|
+
divisionName?: string;
|
|
109
119
|
}
|
|
110
120
|
export interface IGenerateScheduleOptions {
|
|
111
121
|
isGenerateOptimized?: boolean;
|
|
@@ -273,9 +283,17 @@ export interface ICreateEventsParams {
|
|
|
273
283
|
}
|
|
274
284
|
export interface IScheduleTeam {
|
|
275
285
|
id: number;
|
|
286
|
+
divisionId?: number;
|
|
287
|
+
divisionName?: string;
|
|
276
288
|
ancestors?: number[];
|
|
277
289
|
name: string;
|
|
278
290
|
}
|
|
291
|
+
export interface ITeamDivisionIndex {
|
|
292
|
+
teamDivisionMap: Map<number, number>;
|
|
293
|
+
teamNameMap: Map<number, string>;
|
|
294
|
+
teamsByDivision: Map<number, IScheduleTeam[]>;
|
|
295
|
+
divisionNameMap: Map<number, string>;
|
|
296
|
+
}
|
|
279
297
|
export interface ITeamPairing {
|
|
280
298
|
awayTeam: IScheduleTeam;
|
|
281
299
|
homeTeam: IScheduleTeam;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../../../../src/types/leagues-scheduler/types/interfaces.ts"],"names":[],"mappings":";;;AAIA,mCAUiB;AAGhB,mGAZA,0BAAkB,OAYA;AAClB,kGAZA,yBAAiB,OAYA;AACjB,yGAZA,gCAAwB,OAYA;AACxB,uGAZA,8BAAsB,OAYA;AACtB,6FAZA,oBAAY,OAYA;AACZ,iGAZA,wBAAgB,OAYA;AAChB,wGAZA,+BAAuB,OAYA;AACvB,+GAZA,sCAA8B,OAYA;AAC9B,yGAZA,gCAAwB,OAYA;
|
|
1
|
+
{"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../../../../src/types/leagues-scheduler/types/interfaces.ts"],"names":[],"mappings":";;;AAIA,mCAUiB;AAGhB,mGAZA,0BAAkB,OAYA;AAClB,kGAZA,yBAAiB,OAYA;AACjB,yGAZA,gCAAwB,OAYA;AACxB,uGAZA,8BAAsB,OAYA;AACtB,6FAZA,oBAAY,OAYA;AACZ,iGAZA,wBAAgB,OAYA;AAChB,wGAZA,+BAAuB,OAYA;AACvB,+GAZA,sCAA8B,OAYA;AAC9B,yGAZA,gCAAwB,OAYA;AAgWzB,IAAY,wBAGX;AAHD,WAAY,wBAAwB;IACnC,iEAAqC,CAAA;IACrC,uEAA2C,CAAA;AAC5C,CAAC,EAHW,wBAAwB,GAAxB,gCAAwB,KAAxB,gCAAwB,QAGnC"}
|
|
@@ -5,6 +5,7 @@ import { UberOrganization } from '../../entity/UberOrganization';
|
|
|
5
5
|
import { Fee } from '../../fee/entities/Fee';
|
|
6
6
|
import { Media } from '../../media/entities/Media';
|
|
7
7
|
import { CurrencyEnum } from '../../services/enums.service';
|
|
8
|
+
import { OrganizationAccountingStyleEnum } from '../types/enums/organization-accounting-style.enum';
|
|
8
9
|
import { OrganizationBranding } from './OrganizationBranding';
|
|
9
10
|
import { OrganizationPaymentMethod } from './OrganizationPaymentMethod';
|
|
10
11
|
export declare class Organization extends BondBaseEntity {
|
|
@@ -40,6 +41,7 @@ export declare class Organization extends BondBaseEntity {
|
|
|
40
41
|
membershipQuestionnaireId?: number;
|
|
41
42
|
currency: CurrencyEnum;
|
|
42
43
|
anonymousCustomerId?: number;
|
|
44
|
+
accountingStyles?: OrganizationAccountingStyleEnum | null;
|
|
43
45
|
mainMedia: Media;
|
|
44
46
|
brandings: OrganizationBranding[];
|
|
45
47
|
brandingsV2?: OrganizationBranding[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Organization.js","sourceRoot":"","sources":["../../../../src/types/organization/entities/Organization.ts"],"names":[],"mappings":";;;AAGA,gEAA6D;
|
|
1
|
+
{"version":3,"file":"Organization.js","sourceRoot":"","sources":["../../../../src/types/organization/entities/Organization.ts"],"names":[],"mappings":";;;AAGA,gEAA6D;AAW7D,MAAa,YAAa,SAAQ,+BAAc;CA+F/C;AA/FD,oCA+FC"}
|
|
@@ -17,4 +17,5 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
17
17
|
__exportStar(require("./dto"), exports);
|
|
18
18
|
__exportStar(require("./entities"), exports);
|
|
19
19
|
__exportStar(require("./interfaces"), exports);
|
|
20
|
+
__exportStar(require("./types"), exports);
|
|
20
21
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/types/organization/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wCAAsB;AACtB,6CAA2B;AAC3B,+CAA6B"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/types/organization/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wCAAsB;AACtB,6CAA2B;AAC3B,+CAA6B;AAC7B,0CAAwB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './organization-accounting-style.enum';
|
|
@@ -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("./organization-accounting-style.enum"), exports);
|
|
18
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/types/organization/types/enums/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,uEAAqD"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.OrganizationAccountingStyleEnum = void 0;
|
|
4
|
+
var OrganizationAccountingStyleEnum;
|
|
5
|
+
(function (OrganizationAccountingStyleEnum) {
|
|
6
|
+
OrganizationAccountingStyleEnum["CASH"] = "cash";
|
|
7
|
+
OrganizationAccountingStyleEnum["GROSSUP"] = "grossup";
|
|
8
|
+
OrganizationAccountingStyleEnum["GAAP"] = "gaap";
|
|
9
|
+
})(OrganizationAccountingStyleEnum = exports.OrganizationAccountingStyleEnum || (exports.OrganizationAccountingStyleEnum = {}));
|
|
10
|
+
//# sourceMappingURL=organization-accounting-style.enum.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"organization-accounting-style.enum.js","sourceRoot":"","sources":["../../../../../src/types/organization/types/enums/organization-accounting-style.enum.ts"],"names":[],"mappings":";;;AAAA,IAAY,+BAIX;AAJD,WAAY,+BAA+B;IAC1C,gDAAa,CAAA;IACb,sDAAmB,CAAA;IACnB,gDAAa,CAAA;AACd,CAAC,EAJW,+BAA+B,GAA/B,uCAA+B,KAA/B,uCAA+B,QAI1C"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './enums';
|
|
@@ -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("./enums"), exports);
|
|
18
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/organization/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0CAAwB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"program-public.dto.js","sourceRoot":"","sources":["../../../../src/types/programs/dto/program-public.dto.ts"],"names":[],"mappings":";;;AAGA,uDAA6E;AAG7E,8EAAoF;
|
|
1
|
+
{"version":3,"file":"program-public.dto.js","sourceRoot":"","sources":["../../../../src/types/programs/dto/program-public.dto.ts"],"names":[],"mappings":";;;AAGA,uDAA6E;AAG7E,8EAAoF;AAqBpF,MAAa,8BAA+B,SAAQ,6BAAe;CAwBlE;AAxBD,wEAwBC;AAED,MAAa,UAAW,SAAQ,4CAAyB;CA4BxD;AA5BD,gCA4BC"}
|
|
@@ -11,11 +11,13 @@ export declare const PROGRAM_TYPE_NAMES_MAPPER: {
|
|
|
11
11
|
0: ProgramTypeNamesEnum;
|
|
12
12
|
10: ProgramTypeNamesEnum;
|
|
13
13
|
11: ProgramTypeNamesEnum;
|
|
14
|
+
12: ProgramTypeNamesEnum;
|
|
14
15
|
};
|
|
15
16
|
export declare const FOLDERED_REGISTRATION_PROGRAM_TYPES: ProgramTypesEnum[];
|
|
16
17
|
export declare const SKIP_EVENT_PRECREATION_PROGRAM_TYPES: ProgramTypesEnum[];
|
|
17
18
|
export declare const getProgramTypeName: (id: ProgramTypesEnum) => ProgramTypeNameEnum;
|
|
18
19
|
export declare const getProgramTypeId: (name: ProgramTypeNameEnum) => ProgramTypesEnum;
|
|
20
|
+
export declare const getProgramTypeFilterIds: (name: ProgramTypeNameEnum) => ProgramTypesEnum[];
|
|
19
21
|
export declare const getGenderName: (id: GenderEnum) => GenderNameEnum;
|
|
20
22
|
export declare const getGenderId: (name: GenderNameEnum) => GenderEnum;
|
|
21
23
|
export declare const getLevelOfPlayName: (id: LevelOfPlayEnum) => LevelOfPlayNameEnum;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.getPublishingStatusId = exports.getPublishingStatusName = exports.getLevelOfPlayId = exports.getLevelOfPlayName = exports.getGenderId = exports.getGenderName = exports.getProgramTypeId = exports.getProgramTypeName = exports.SKIP_EVENT_PRECREATION_PROGRAM_TYPES = exports.FOLDERED_REGISTRATION_PROGRAM_TYPES = exports.PROGRAM_TYPE_NAMES_MAPPER = exports.PROGRAM_TYPE_MAPPER = void 0;
|
|
3
|
+
exports.getPublishingStatusId = exports.getPublishingStatusName = exports.getLevelOfPlayId = exports.getLevelOfPlayName = exports.getGenderId = exports.getGenderName = exports.getProgramTypeFilterIds = exports.getProgramTypeId = exports.getProgramTypeName = exports.SKIP_EVENT_PRECREATION_PROGRAM_TYPES = exports.FOLDERED_REGISTRATION_PROGRAM_TYPES = exports.PROGRAM_TYPE_NAMES_MAPPER = exports.PROGRAM_TYPE_MAPPER = void 0;
|
|
4
4
|
const enums_service_1 = require("../../../services/enums.service");
|
|
5
5
|
const program_enums_1 = require("../enums/program.enums");
|
|
6
6
|
exports.PROGRAM_TYPE_MAPPER = {
|
|
@@ -13,6 +13,7 @@ exports.PROGRAM_TYPE_MAPPER = {
|
|
|
13
13
|
[program_enums_1.ProgramTypesEnum.LEAGUE]: program_enums_1.ProgramTypeNameEnum.LEAGUE,
|
|
14
14
|
[program_enums_1.ProgramTypesEnum.LEAGUE_V2]: program_enums_1.ProgramTypeNameEnum.LEAGUE,
|
|
15
15
|
[program_enums_1.ProgramTypesEnum.TOURNAMENT_V2]: program_enums_1.ProgramTypeNameEnum.TOURNAMENT,
|
|
16
|
+
[program_enums_1.ProgramTypesEnum.CLUB_TEAM_V2]: program_enums_1.ProgramTypeNameEnum.CLUB_TEAM,
|
|
16
17
|
};
|
|
17
18
|
exports.PROGRAM_TYPE_NAMES_MAPPER = {
|
|
18
19
|
[program_enums_1.ProgramTypesEnum.CLASS]: program_enums_1.ProgramTypeNamesEnum.CLASS,
|
|
@@ -24,8 +25,12 @@ exports.PROGRAM_TYPE_NAMES_MAPPER = {
|
|
|
24
25
|
[program_enums_1.ProgramTypesEnum.LEAGUE]: program_enums_1.ProgramTypeNamesEnum.LEAGUE,
|
|
25
26
|
[program_enums_1.ProgramTypesEnum.LEAGUE_V2]: program_enums_1.ProgramTypeNamesEnum.LEAGUE,
|
|
26
27
|
[program_enums_1.ProgramTypesEnum.TOURNAMENT_V2]: program_enums_1.ProgramTypeNamesEnum.TOURNAMENT,
|
|
28
|
+
[program_enums_1.ProgramTypesEnum.CLUB_TEAM_V2]: program_enums_1.ProgramTypeNamesEnum.CLUB_TEAM,
|
|
27
29
|
};
|
|
28
30
|
const PROGRAM_TYPE_ID_MAPPER = Object.fromEntries(Object.entries(exports.PROGRAM_TYPE_MAPPER).map(([id, name]) => [name, +id]));
|
|
31
|
+
const PROGRAM_TYPE_FILTER_ID_MAPPER = {
|
|
32
|
+
[program_enums_1.ProgramTypeNameEnum.CLUB_TEAM]: [program_enums_1.ProgramTypesEnum.CLUB_TEAM, program_enums_1.ProgramTypesEnum.CLUB_TEAM_V2],
|
|
33
|
+
};
|
|
29
34
|
const GENDER_MAPPER = {
|
|
30
35
|
[enums_service_1.GenderEnum.OTHER]: enums_service_1.GenderNameEnum.EVERYONE,
|
|
31
36
|
[enums_service_1.GenderEnum.MALE]: enums_service_1.GenderNameEnum.MALE,
|
|
@@ -39,13 +44,23 @@ const LEVEL_OF_PLAY_MAPPER = {
|
|
|
39
44
|
[program_enums_1.LevelOfPlayEnum.SEMIPRO]: program_enums_1.LevelOfPlayNameEnum.SEMIPRO,
|
|
40
45
|
[program_enums_1.LevelOfPlayEnum.SPECTATOR]: program_enums_1.LevelOfPlayNameEnum.SPECTATOR,
|
|
41
46
|
};
|
|
42
|
-
exports.FOLDERED_REGISTRATION_PROGRAM_TYPES = [
|
|
47
|
+
exports.FOLDERED_REGISTRATION_PROGRAM_TYPES = [
|
|
48
|
+
program_enums_1.ProgramTypesEnum.LEAGUE_V2,
|
|
49
|
+
program_enums_1.ProgramTypesEnum.TOURNAMENT_V2,
|
|
50
|
+
program_enums_1.ProgramTypesEnum.CLUB_TEAM_V2,
|
|
51
|
+
];
|
|
43
52
|
exports.SKIP_EVENT_PRECREATION_PROGRAM_TYPES = exports.FOLDERED_REGISTRATION_PROGRAM_TYPES;
|
|
44
53
|
const LEVEL_OF_PLAY_ID_MAPPER = Object.fromEntries(Object.entries(LEVEL_OF_PLAY_MAPPER).map(([id, name]) => [name, +id]));
|
|
45
54
|
const getProgramTypeName = (id) => exports.PROGRAM_TYPE_MAPPER[id];
|
|
46
55
|
exports.getProgramTypeName = getProgramTypeName;
|
|
47
56
|
const getProgramTypeId = (name) => name ? (PROGRAM_TYPE_ID_MAPPER[name] ?? +name) : undefined;
|
|
48
57
|
exports.getProgramTypeId = getProgramTypeId;
|
|
58
|
+
const getProgramTypeFilterIds = (name) => {
|
|
59
|
+
if (!name)
|
|
60
|
+
return [];
|
|
61
|
+
return PROGRAM_TYPE_FILTER_ID_MAPPER[name] ?? [(0, exports.getProgramTypeId)(name)];
|
|
62
|
+
};
|
|
63
|
+
exports.getProgramTypeFilterIds = getProgramTypeFilterIds;
|
|
49
64
|
const getGenderName = (id) => GENDER_MAPPER[id];
|
|
50
65
|
exports.getGenderName = getGenderName;
|
|
51
66
|
const getGenderId = (name) => (name ? (GENDER_ID_MAPPER[name] ?? +name) : undefined);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"program.consts.js","sourceRoot":"","sources":["../../../../../src/types/programs/types/consts/program.consts.ts"],"names":[],"mappings":";;;AAAA,mEAA6E;AAC7E,0DAOgC;AAEnB,QAAA,mBAAmB,GAAkD;IACjF,CAAC,gCAAgB,CAAC,KAAK,CAAC,EAAE,mCAAmB,CAAC,KAAK;IACnD,CAAC,gCAAgB,CAAC,MAAM,CAAC,EAAE,mCAAmB,CAAC,MAAM;IACrD,CAAC,gCAAgB,CAAC,IAAI,CAAC,EAAE,mCAAmB,CAAC,IAAI;IACjD,CAAC,gCAAgB,CAAC,SAAS,CAAC,EAAE,mCAAmB,CAAC,SAAS;IAC3D,CAAC,gCAAgB,CAAC,MAAM,CAAC,EAAE,mCAAmB,CAAC,MAAM;IACrD,CAAC,gCAAgB,CAAC,UAAU,CAAC,EAAE,mCAAmB,CAAC,UAAU;IAC7D,CAAC,gCAAgB,CAAC,MAAM,CAAC,EAAE,mCAAmB,CAAC,MAAM;IACrD,CAAC,gCAAgB,CAAC,SAAS,CAAC,EAAE,mCAAmB,CAAC,MAAM;IACxD,CAAC,gCAAgB,CAAC,aAAa,CAAC,EAAE,mCAAmB,CAAC,UAAU;
|
|
1
|
+
{"version":3,"file":"program.consts.js","sourceRoot":"","sources":["../../../../../src/types/programs/types/consts/program.consts.ts"],"names":[],"mappings":";;;AAAA,mEAA6E;AAC7E,0DAOgC;AAEnB,QAAA,mBAAmB,GAAkD;IACjF,CAAC,gCAAgB,CAAC,KAAK,CAAC,EAAE,mCAAmB,CAAC,KAAK;IACnD,CAAC,gCAAgB,CAAC,MAAM,CAAC,EAAE,mCAAmB,CAAC,MAAM;IACrD,CAAC,gCAAgB,CAAC,IAAI,CAAC,EAAE,mCAAmB,CAAC,IAAI;IACjD,CAAC,gCAAgB,CAAC,SAAS,CAAC,EAAE,mCAAmB,CAAC,SAAS;IAC3D,CAAC,gCAAgB,CAAC,MAAM,CAAC,EAAE,mCAAmB,CAAC,MAAM;IACrD,CAAC,gCAAgB,CAAC,UAAU,CAAC,EAAE,mCAAmB,CAAC,UAAU;IAC7D,CAAC,gCAAg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
51
52
|
})(ProgramTypesEnum = exports.ProgramTypesEnum || (exports.ProgramTypesEnum = {}));
|
|
52
53
|
var ProgramSeasonTypesEnum;
|
|
53
54
|
(function (ProgramSeasonTypesEnum) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"program.enums.js","sourceRoot":"","sources":["../../../../../src/types/programs/types/enums/program.enums.ts"],"names":[],"mappings":";;;AAAA,IAAY,mBAQX;AARD,WAAY,mBAAmB;IAC9B,wCAAiB,CAAA;IACjB,gDAAyB,CAAA;IACzB,sCAAe,CAAA;IACf,wCAAiB,CAAA;IACjB,oCAAa,CAAA;IACb,wCAAiB,CAAA;IACjB,8CAAuB,CAAA;AACxB,CAAC,EARW,mBAAmB,GAAnB,2BAAmB,KAAnB,2BAAmB,QAQ9B;AAED,IAAY,oBAQX;AARD,WAAY,oBAAoB;IAC/B,0CAAkB,CAAA;IAClB,kDAA0B,CAAA;IAC1B,yCAAiB,CAAA;IACjB,0CAAkB,CAAA;IAClB,sCAAc,CAAA;IACd,0CAAkB,CAAA;IAClB,8CAAsB,CAAA;AACvB,CAAC,EARW,oBAAoB,GAApB,4BAAoB,KAApB,4BAAoB,QAQ/B;AAED,IAAY,mBAMX;AAND,WAAY,mBAAmB;IAC9B,4CAAqB,CAAA;IACrB,oDAA6B,CAAA;IAC7B,4CAAqB,CAAA;IACrB,0CAAmB,CAAA;IACnB,8CAAuB,CAAA;AACxB,CAAC,EANW,mBAAmB,GAAnB,2BAAmB,KAAnB,2BAAmB,QAM9B;AAED,IAAY,eAMX;AAND,WAAY,eAAe;IAC1B,6DAAY,CAAA;IACZ,qEAAgB,CAAA;IAChB,6DAAY,CAAA;IACZ,2DAAW,CAAA;IACX,+DAAa,CAAA;AACd,CAAC,EANW,eAAe,GAAf,uBAAe,KAAf,uBAAe,QAM1B;AAED,IAAY,
|
|
1
|
+
{"version":3,"file":"program.enums.js","sourceRoot":"","sources":["../../../../../src/types/programs/types/enums/program.enums.ts"],"names":[],"mappings":";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f,2EAAY,CAAA;IACZ,6FAAqB,CAAA;AACtB,CAAC,EAJW,sBAAsB,GAAtB,8BAAsB,KAAtB,8BAAsB,QAIjC;AAED,IAAY,oBAOX;AAPD,WAAY,oBAAoB;IAC/B,iEAAS,CAAA;IACT,yEAAa,CAAA;IACb,mEAAU,CAAA;IACV,yEAAa,CAAA;IACb,qEAAW,CAAA;IACX,6EAAe,CAAA;AAChB,CAAC,EAPW,oBAAoB,GAApB,4BAAoB,KAApB,4BAAoB,QAO/B;AAED,IAAY,wBAYX;AAZD,WAAY,wBAAwB;IACnC,yEAAS,CAAA;IACT,2EAAU,CAAA;IACV,2EAAU,CAAA;IACV,2EAAU,CAAA;IACV,qFAAe,CAAA;IACf,qFAAe,CAAA;IACf,6EAAW,CAAA;IACX,6EAAW,CAAA;IACX,2EAAU,CAAA;IACV,gGAAqB,CAAA;IACrB,wFAAiB,CAAA;AAClB,CAAC,EAZW,wBAAwB,GAAxB,gCAAwB,KAAxB,gCAAwB,QAYnC;AAED,IAAY,iBAUX;AAVD,WAAY,iBAAiB;IAC5B,yDAAoC,CAAA;IACpC,0CAAqB,CAAA;IACrB,2EAAsD,CAAA;IACtD,6EAAwD,CAAA;IACxD,4DAAuC,CAAA;IACvC,0EAAqD,CAAA;IACrD,+FAA0E,CAAA;IAC1E,uGAAkF,CAAA;IAClF,6FAAwE,CAAA;AACzE,CAAC,EAVW,iBAAiB,GAAjB,yBAAiB,KAAjB,yBAAiB,QAU5B;AAED,IAAY,kBAMX;AAND,WAAY,kBAAkB;IAC7B,mCAAa,CAAA;IACb,mCAAa,CAAA;IACb,qCAAe,CAAA;IACf,8CAAwB,CAAA;IACxB,8CAAwB,CAAA;AACzB,CAAC,EANW,kBAAkB,GAAlB,0BAAkB,KAAlB,0BAAkB,QAM7B"}
|
|
@@ -15,4 +15,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./ProgramSeason"), exports);
|
|
18
|
+
__exportStar(require("./program-season-history.entity"), exports);
|
|
18
19
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/programs-seasons/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,kDAAgC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/programs-seasons/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,kDAAgC;AAChC,kEAAgD"}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { SportsEnum } from '../../activities/types/activities.enums';
|
|
2
|
+
import { BondBaseEntity } from '../../entity/BondBaseEntity';
|
|
3
|
+
import { LevelOfPlayEnum, ProgramSeasonTypesEnum, ProgramTypesEnum, PublishingStatusEnum } from '../../programs/types/enums/program.enums';
|
|
4
|
+
import { GenderEnum } from '../../services/enums.service';
|
|
5
|
+
import { SegmentsMetadata } from '../types/classes/program-season.classes';
|
|
6
|
+
import { ProgramSeason } from './ProgramSeason';
|
|
7
|
+
export declare class ProgramSeasonHistory extends BondBaseEntity {
|
|
8
|
+
programSeasonId: number;
|
|
9
|
+
programSeason?: ProgramSeason;
|
|
10
|
+
organizationId?: number;
|
|
11
|
+
programId?: number;
|
|
12
|
+
name?: string;
|
|
13
|
+
description?: string | null;
|
|
14
|
+
GL?: string | null;
|
|
15
|
+
status?: PublishingStatusEnum;
|
|
16
|
+
startDate?: Date;
|
|
17
|
+
endDate?: Date;
|
|
18
|
+
registrationStartDate?: Date | null;
|
|
19
|
+
registrationEndDate?: Date | null;
|
|
20
|
+
questionnaires?: number[];
|
|
21
|
+
seasonType?: ProgramSeasonTypesEnum;
|
|
22
|
+
parentSeasonId?: number | null;
|
|
23
|
+
maxParticipants?: number | null;
|
|
24
|
+
maxMaleParticipants?: number | null;
|
|
25
|
+
maxFemaleParticipants?: number | null;
|
|
26
|
+
maxWaitlist?: number | null;
|
|
27
|
+
maxMaleWaitlist?: number | null;
|
|
28
|
+
maxFemaleWaitlist?: number | null;
|
|
29
|
+
facilityId?: number | null;
|
|
30
|
+
addressId?: number | null;
|
|
31
|
+
sport?: SportsEnum;
|
|
32
|
+
minAge?: string;
|
|
33
|
+
maxAge?: string;
|
|
34
|
+
gender?: GenderEnum;
|
|
35
|
+
level?: LevelOfPlayEnum[];
|
|
36
|
+
defaultProductId?: number;
|
|
37
|
+
longDescription?: string;
|
|
38
|
+
isPunchCard?: boolean;
|
|
39
|
+
deletedAt?: Date;
|
|
40
|
+
earlyRegistrationStartDate?: Date;
|
|
41
|
+
earlyRegistrationEndDate?: Date;
|
|
42
|
+
lateRegistrationStartDate?: Date;
|
|
43
|
+
lateRegistrationEndDate?: Date;
|
|
44
|
+
requiredProductIds?: number[];
|
|
45
|
+
ageCalcDate?: string;
|
|
46
|
+
ordinal?: number;
|
|
47
|
+
colorCodeId?: number;
|
|
48
|
+
segmentsMetadata?: SegmentsMetadata;
|
|
49
|
+
competitionId?: number;
|
|
50
|
+
programType?: ProgramTypesEnum;
|
|
51
|
+
isSegmented?: boolean;
|
|
52
|
+
previousHistoryId?: number;
|
|
53
|
+
actionId?: string;
|
|
54
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ProgramSeasonHistory = void 0;
|
|
4
|
+
const BondBaseEntity_1 = require("../../entity/BondBaseEntity");
|
|
5
|
+
class ProgramSeasonHistory extends BondBaseEntity_1.BondBaseEntity {
|
|
6
|
+
}
|
|
7
|
+
exports.ProgramSeasonHistory = ProgramSeasonHistory;
|
|
8
|
+
//# sourceMappingURL=program-season-history.entity.js.map
|