@bondsports/types 2.4.38 → 2.4.40-a-1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE.md +0 -0
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/dist/types/address/types/index.d.ts +0 -1
- package/dist/types/address/types/index.js +0 -1
- package/dist/types/address/types/index.js.map +1 -1
- package/dist/types/cart/dto/cart.dto.d.ts +3 -0
- package/dist/types/cart/dto/cart.dto.js.map +1 -1
- package/dist/types/cart/entities/cart.entity.d.ts +1 -0
- package/dist/types/cart/entities/cart.entity.js.map +1 -1
- package/dist/types/customers/dto/customer.dto.d.ts +2 -4
- package/dist/types/customers/dto/customer.dto.js.map +1 -1
- package/dist/types/customers-merge/dto/customers-merge.dto.d.ts +9 -8
- package/dist/types/customers-merge/dto/customers-merge.dto.js +5 -5
- package/dist/types/customers-merge/dto/customers-merge.dto.js.map +1 -1
- package/dist/types/customers-merge/types/interfaces.d.ts +11 -6
- package/dist/types/dto/general.dto.d.ts +1 -1
- package/dist/types/dto/index.d.ts +1 -0
- package/dist/types/dto/index.js +1 -0
- package/dist/types/dto/index.js.map +1 -1
- package/dist/types/dto/package.dto.d.ts +3 -0
- package/dist/types/dto/package.dto.js.map +1 -1
- package/dist/types/dto/station.dto.d.ts +6 -0
- package/dist/types/dto/station.dto.js +8 -0
- package/dist/types/dto/station.dto.js.map +1 -0
- package/dist/types/employees/dto/employee.dto.d.ts +3 -8
- package/dist/types/employees/dto/employee.dto.js.map +1 -1
- package/dist/types/employees/types/interfaces.d.ts +2 -4
- package/dist/types/entity/Facility.d.ts +4 -0
- package/dist/types/entity/Facility.js.map +1 -1
- package/dist/types/entity/Invoice.d.ts +2 -0
- package/dist/types/entity/Invoice.js.map +1 -1
- package/dist/types/entity/LineItems.d.ts +1 -0
- package/dist/types/entity/LineItems.js.map +1 -1
- package/dist/types/entity/Station.d.ts +4 -0
- package/dist/types/entity/Station.js.map +1 -1
- package/dist/types/facilities/types/facilities.types.d.ts +20 -1
- package/dist/types/fee/dto/fee.dto.d.ts +7 -4
- package/dist/types/fee/dto/fee.dto.js +11 -0
- package/dist/types/fee/dto/fee.dto.js.map +1 -1
- package/dist/types/fee/entities/Fee.d.ts +3 -2
- package/dist/types/fee/entities/Fee.js.map +1 -1
- package/dist/types/fee/types/enums/fee.enums.d.ts +5 -0
- package/dist/types/fee/types/enums/fee.enums.js +10 -0
- package/dist/types/fee/types/enums/fee.enums.js.map +1 -0
- package/dist/types/fee/types/enums/index.d.ts +1 -0
- package/dist/types/fee/types/enums/index.js +18 -0
- package/dist/types/fee/types/enums/index.js.map +1 -0
- package/dist/types/fee/types/index.d.ts +1 -0
- package/dist/types/fee/types/index.js +1 -0
- package/dist/types/fee/types/index.js.map +1 -1
- package/dist/types/fee/types/interfaces/fee.interfaces.d.ts +1 -0
- package/dist/types/fee/types/interfaces/fee.interfaces.js.map +1 -1
- package/dist/types/folders/types/interfaces/folder-content.interfaces.d.ts +8 -0
- package/dist/types/future-installments/types/future-installments.interfaces.d.ts +10 -0
- package/dist/types/future-installments/types/future-installments.interfaces.js +3 -0
- package/dist/types/future-installments/types/future-installments.interfaces.js.map +1 -0
- package/dist/types/future-installments/types/index.d.ts +1 -0
- package/dist/types/future-installments/types/index.js +1 -0
- package/dist/types/future-installments/types/index.js.map +1 -1
- package/dist/types/index.d.ts +1 -0
- package/dist/types/index.js +1 -0
- package/dist/types/index.js.map +1 -1
- package/dist/types/league-standings/dto/game.dto.d.ts +2 -2
- package/dist/types/league-standings/entities/game.entity.d.ts +4 -4
- package/dist/types/leagues-scheduler/dto/leagues-scheduler.dto.d.ts +43 -3
- package/dist/types/leagues-scheduler/dto/leagues-scheduler.dto.js +28 -1
- package/dist/types/leagues-scheduler/dto/leagues-scheduler.dto.js.map +1 -1
- package/dist/types/leagues-scheduler/types/interfaces.d.ts +54 -1
- package/dist/types/leagues-scheduler/types/interfaces.js +6 -1
- package/dist/types/leagues-scheduler/types/interfaces.js.map +1 -1
- package/dist/types/media/entities/Media.d.ts +2 -0
- package/dist/types/media/entities/Media.js.map +1 -1
- package/dist/types/payment/dto/payment.dto.d.ts +1 -0
- package/dist/types/payment/dto/payment.dto.js.map +1 -1
- package/dist/types/payment/entities/Payment.d.ts +1 -0
- package/dist/types/payment/entities/Payment.js.map +1 -1
- package/dist/types/payment/types/enums/payment.enums.d.ts +5 -0
- package/dist/types/payment/types/enums/payment.enums.js +7 -1
- package/dist/types/payment/types/enums/payment.enums.js.map +1 -1
- package/dist/types/payment/types/interfaces/payment.interfaces.d.ts +1 -0
- package/dist/types/product-pricing/dto/product-categories.dto.d.ts +16 -0
- package/dist/types/product-pricing/dto/product-categories.dto.js +4 -1
- package/dist/types/product-pricing/dto/product-categories.dto.js.map +1 -1
- package/dist/types/product-pricing/dto/product.dto.d.ts +7 -0
- package/dist/types/product-pricing/dto/product.dto.js.map +1 -1
- package/dist/types/product-pricing/entities/index.d.ts +1 -0
- package/dist/types/product-pricing/entities/index.js +1 -0
- package/dist/types/product-pricing/entities/index.js.map +1 -1
- package/dist/types/product-pricing/entities/product-category.entity.d.ts +6 -0
- package/dist/types/product-pricing/entities/product-category.entity.js.map +1 -1
- package/dist/types/product-pricing/entities/product.entity.d.ts +3 -0
- package/dist/types/product-pricing/entities/product.entity.js.map +1 -1
- package/dist/types/product-pricing/entities/station-to-product-category.entity.d.ts +12 -0
- package/dist/types/product-pricing/entities/station-to-product-category.entity.js +8 -0
- package/dist/types/product-pricing/entities/station-to-product-category.entity.js.map +1 -0
- package/dist/types/product-pricing/types/consts/product-category.consts.d.ts +8 -0
- package/dist/types/product-pricing/types/consts/product-category.consts.js +4 -1
- package/dist/types/product-pricing/types/consts/product-category.consts.js.map +1 -1
- package/dist/types/product-pricing/types/interfaces/product-categories.interfaces.d.ts +10 -0
- package/dist/types/purchase/dto/purchase.dto.d.ts +2 -0
- package/dist/types/purchase/dto/purchase.dto.js.map +1 -1
- package/dist/types/services/interfaces.service.d.ts +18 -2
- package/dist/types/session-participants/types/interfaces.d.ts +2 -2
- package/dist/types/tip-configurations/dto/index.d.ts +1 -0
- package/dist/types/tip-configurations/dto/index.js +18 -0
- package/dist/types/tip-configurations/dto/index.js.map +1 -0
- package/dist/types/tip-configurations/dto/tip-configuration.dto.d.ts +43 -0
- package/dist/types/tip-configurations/dto/tip-configuration.dto.js +37 -0
- package/dist/types/tip-configurations/dto/tip-configuration.dto.js.map +1 -0
- package/dist/types/tip-configurations/entities/TipConfiguration.d.ts +11 -0
- package/dist/types/tip-configurations/entities/TipConfiguration.js +8 -0
- package/dist/types/tip-configurations/entities/TipConfiguration.js.map +1 -0
- package/dist/types/tip-configurations/entities/index.d.ts +1 -0
- package/dist/types/tip-configurations/entities/index.js +18 -0
- package/dist/types/tip-configurations/entities/index.js.map +1 -0
- package/dist/types/tip-configurations/index.d.ts +3 -0
- package/dist/types/tip-configurations/index.js +20 -0
- package/dist/types/tip-configurations/index.js.map +1 -0
- package/dist/types/tip-configurations/types/consts/index.d.ts +1 -0
- package/dist/types/tip-configurations/types/consts/index.js +18 -0
- package/dist/types/tip-configurations/types/consts/index.js.map +1 -0
- package/dist/types/tip-configurations/types/consts/tip-configuration.consts.d.ts +4 -0
- package/dist/types/tip-configurations/types/consts/tip-configuration.consts.js +7 -0
- package/dist/types/tip-configurations/types/consts/tip-configuration.consts.js.map +1 -0
- package/dist/types/tip-configurations/types/enums/index.d.ts +1 -0
- package/dist/types/tip-configurations/types/enums/index.js +18 -0
- package/dist/types/tip-configurations/types/enums/index.js.map +1 -0
- package/dist/types/tip-configurations/types/enums/tipping-mode.enum.d.ts +9 -0
- package/dist/types/tip-configurations/types/enums/tipping-mode.enum.js +15 -0
- package/dist/types/tip-configurations/types/enums/tipping-mode.enum.js.map +1 -0
- package/dist/types/tip-configurations/types/index.d.ts +3 -0
- package/dist/types/tip-configurations/types/index.js +20 -0
- package/dist/types/tip-configurations/types/index.js.map +1 -0
- package/dist/types/tip-configurations/types/interfaces/index.d.ts +1 -0
- package/dist/types/tip-configurations/types/interfaces/index.js +18 -0
- package/dist/types/tip-configurations/types/interfaces/index.js.map +1 -0
- package/dist/types/tip-configurations/types/interfaces/tip-configuration.interfaces.d.ts +44 -0
- package/dist/types/tip-configurations/types/interfaces/tip-configuration.interfaces.js +3 -0
- package/dist/types/tip-configurations/types/interfaces/tip-configuration.interfaces.js.map +1 -0
- package/dist/types/user/types/user.interfaces.d.ts +2 -4
- package/package.json +2 -2
- package/dist/types/address/types/address.consts.d.ts +0 -1
- package/dist/types/address/types/address.consts.js +0 -5
- package/dist/types/address/types/address.consts.js.map +0 -1
|
@@ -34,3 +34,11 @@ export interface IGetFolderContentsParams {
|
|
|
34
34
|
export interface IGetPaginatedFolderContentsParams extends IGetFolderContentsParams {
|
|
35
35
|
pagination?: PaginationQuery;
|
|
36
36
|
}
|
|
37
|
+
/**
|
|
38
|
+
* Metadata structure for team folder content (ContentType.USER in team folders).
|
|
39
|
+
* Used to track the specific purchase associated with a user's team membership.
|
|
40
|
+
*/
|
|
41
|
+
export interface ITeamFolderMetadata {
|
|
42
|
+
teamRole?: string;
|
|
43
|
+
productUserId?: number;
|
|
44
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { FuturePaymentStatusEnum } from '../../payment/types/enums/payment.enums';
|
|
2
|
+
export interface IInstallmentsQueryParams {
|
|
3
|
+
organizationId?: number;
|
|
4
|
+
invoiceId?: number;
|
|
5
|
+
excludedIds?: number[];
|
|
6
|
+
includedIds?: number[];
|
|
7
|
+
minimumDate?: Date;
|
|
8
|
+
statuses?: FuturePaymentStatusEnum[];
|
|
9
|
+
userIds?: number[];
|
|
10
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"future-installments.interfaces.js","sourceRoot":"","sources":["../../../../src/types/future-installments/types/future-installments.interfaces.ts"],"names":[],"mappings":""}
|
|
@@ -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("./future-installments.interfaces"), exports);
|
|
17
18
|
__exportStar(require("./future-installments.types"), exports);
|
|
18
19
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/future-installments/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,8DAA4C"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/future-installments/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,mEAAiD;AACjD,8DAA4C"}
|
package/dist/types/index.d.ts
CHANGED
|
@@ -55,6 +55,7 @@ export * from './shifts';
|
|
|
55
55
|
export * from './standings-integration';
|
|
56
56
|
export * from './taxes';
|
|
57
57
|
export * from './teams';
|
|
58
|
+
export * from './tip-configurations';
|
|
58
59
|
export * from './user';
|
|
59
60
|
export * from './user-activities';
|
|
60
61
|
export * from './user-identification';
|
package/dist/types/index.js
CHANGED
|
@@ -71,6 +71,7 @@ __exportStar(require("./shifts"), exports);
|
|
|
71
71
|
__exportStar(require("./standings-integration"), exports);
|
|
72
72
|
__exportStar(require("./taxes"), exports);
|
|
73
73
|
__exportStar(require("./teams"), exports);
|
|
74
|
+
__exportStar(require("./tip-configurations"), exports);
|
|
74
75
|
__exportStar(require("./user"), exports);
|
|
75
76
|
__exportStar(require("./user-activities"), exports);
|
|
76
77
|
__exportStar(require("./user-identification"), exports);
|
package/dist/types/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+CAA6B;AAC7B,+CAA6B;AAC7B,2CAAyB;AACzB,4CAA0B;AAC1B,+CAA6B;AAC7B,yCAAuB;AACvB,yCAAuB;AACvB,8CAA4B;AAC5B,oDAAkC;AAClC,wCAAsB;AACtB,8CAA4B;AAC5B,sDAAoC;AACpC,2CAAyB;AACzB,2CAAyB;AACzB,+CAA6B;AAC7B,kDAAgC;AAChC,wCAAsB;AACtB,4CAA0B;AAC1B,4CAA0B;AAC1B,wDAAsC;AACtC,6CAA2B;AAC3B,2CAAyB;AACzB,iDAA+B;AAC/B,gDAA8B;AAC9B,4CAA0B;AAC1B,4CAA0B;AAC1B,2CAAyB;AACzB,qDAAmC;AACnC,sDAAoC;AACpC,0CAAwB;AACxB,0CAAwB;AACxB,+CAA6B;AAC7B,mDAAiC;AACjC,0CAAwB;AACxB,kDAAgC;AAChC,mDAAiC;AACjC,mDAAiC;AACjC,iDAA+B;AAC/B,4CAA0B;AAC1B,4CAA0B;AAC1B,oDAAkC;AAClC,6CAA2B;AAC3B,qDAAmC;AACnC,+CAA6B;AAC7B,+CAA6B;AAC7B,6CAA2B;AAC3B,mDAAiC;AACjC,iDAA+B;AAC/B,sDAAoC;AACpC,8CAA4B;AAC5B,0CAAwB;AACxB,6CAA2B;AAC3B,yDAAuC;AACvC,2CAAyB;AACzB,0DAAwC;AACxC,0CAAwB;AACxB,0CAAwB;AACxB,yCAAuB;AACvB,oDAAkC;AAClC,wDAAsC;AACtC,yCAAuB;AACvB,4CAA0B;AAC1B,6CAA2B;AAC3B,4CAA0B;AAC1B,6CAA2B"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+CAA6B;AAC7B,+CAA6B;AAC7B,2CAAyB;AACzB,4CAA0B;AAC1B,+CAA6B;AAC7B,yCAAuB;AACvB,yCAAuB;AACvB,8CAA4B;AAC5B,oDAAkC;AAClC,wCAAsB;AACtB,8CAA4B;AAC5B,sDAAoC;AACpC,2CAAyB;AACzB,2CAAyB;AACzB,+CAA6B;AAC7B,kDAAgC;AAChC,wCAAsB;AACtB,4CAA0B;AAC1B,4CAA0B;AAC1B,wDAAsC;AACtC,6CAA2B;AAC3B,2CAAyB;AACzB,iDAA+B;AAC/B,gDAA8B;AAC9B,4CAA0B;AAC1B,4CAA0B;AAC1B,2CAAyB;AACzB,qDAAmC;AACnC,sDAAoC;AACpC,0CAAwB;AACxB,0CAAwB;AACxB,+CAA6B;AAC7B,mDAAiC;AACjC,0CAAwB;AACxB,kDAAgC;AAChC,mDAAiC;AACjC,mDAAiC;AACjC,iDAA+B;AAC/B,4CAA0B;AAC1B,4CAA0B;AAC1B,oDAAkC;AAClC,6CAA2B;AAC3B,qDAAmC;AACnC,+CAA6B;AAC7B,+CAA6B;AAC7B,6CAA2B;AAC3B,mDAAiC;AACjC,iDAA+B;AAC/B,sDAAoC;AACpC,8CAA4B;AAC5B,0CAAwB;AACxB,6CAA2B;AAC3B,yDAAuC;AACvC,2CAAyB;AACzB,0DAAwC;AACxC,0CAAwB;AACxB,0CAAwB;AACxB,uDAAqC;AACrC,yCAAuB;AACvB,oDAAkC;AAClC,wDAAsC;AACtC,yCAAuB;AACvB,4CAA0B;AAC1B,6CAA2B;AAC3B,4CAA0B;AAC1B,6CAA2B"}
|
|
@@ -31,8 +31,8 @@ export declare class UpdateGameDto {
|
|
|
31
31
|
export declare class GameShowDto {
|
|
32
32
|
id: number;
|
|
33
33
|
stageId: number;
|
|
34
|
-
homeTeamId
|
|
35
|
-
awayTeamId
|
|
34
|
+
homeTeamId?: number;
|
|
35
|
+
awayTeamId?: number;
|
|
36
36
|
eventId?: number;
|
|
37
37
|
homeScore?: number;
|
|
38
38
|
awayScore?: number;
|
|
@@ -6,10 +6,10 @@ export declare class Game extends BondBaseEntity {
|
|
|
6
6
|
stageId: number;
|
|
7
7
|
stage: Stage;
|
|
8
8
|
eventId?: number;
|
|
9
|
-
homeTeamId
|
|
10
|
-
homeTeam
|
|
11
|
-
awayTeamId
|
|
12
|
-
awayTeam
|
|
9
|
+
homeTeamId?: number;
|
|
10
|
+
homeTeam?: CompetitionTeam;
|
|
11
|
+
awayTeamId?: number;
|
|
12
|
+
awayTeam?: CompetitionTeam;
|
|
13
13
|
homeScore?: number;
|
|
14
14
|
awayScore?: number;
|
|
15
15
|
status: GameStatusEnum;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { IScheduleConfig, IGameSchedule, ITeamSchedule, IDivisionSchedule, IScheduleConflict, IConflictingEvent, IConflictingResource, IGeneratedSchedule, ByeWeekPolicyEnum, ScheduleConflictTypeEnum, ValidationSeverityEnum } from '../types/interfaces';
|
|
1
|
+
import { IScheduleConfig, IGameSchedule, ITeamSchedule, IDivisionSchedule, IScheduleConflict, IConflictingEvent, IConflictingResource, IGeneratedSchedule, ByeWeekPolicyEnum, ScheduleConflictTypeEnum, ValidationSeverityEnum, InternalConflictTypeEnum } from '../types/interfaces';
|
|
2
2
|
import { MaintenanceEventDto } from './maintenance-event.dto';
|
|
3
|
-
|
|
3
|
+
import { ScheduleQualityScoreDto } from './quality-metrics.dto';
|
|
4
|
+
export { ByeWeekPolicyEnum, ScheduleConflictTypeEnum, ValidationSeverityEnum, InternalConflictTypeEnum, } from '../types/interfaces';
|
|
4
5
|
export { MaintenanceEventDto } from './maintenance-event.dto';
|
|
5
6
|
/**
|
|
6
7
|
* Query parameters for deleting a draft schedule
|
|
@@ -257,10 +258,49 @@ export declare class UpdateDraftScheduleResponseDto {
|
|
|
257
258
|
schedule: GeneratedScheduleDto;
|
|
258
259
|
status?: string;
|
|
259
260
|
publishedAt?: string;
|
|
260
|
-
qualityMetrics?:
|
|
261
|
+
qualityMetrics?: ScheduleQualityScoreDto;
|
|
261
262
|
metadata: {
|
|
262
263
|
updatedAt: string;
|
|
263
264
|
totalGames: number;
|
|
264
265
|
previousVersion?: number;
|
|
265
266
|
};
|
|
266
267
|
}
|
|
268
|
+
/**
|
|
269
|
+
* Request DTO for checking schedule conflicts
|
|
270
|
+
* Accepts a schedule and checks for both internal conflicts (within the schedule)
|
|
271
|
+
* and external conflicts (against other existing events)
|
|
272
|
+
*/
|
|
273
|
+
export declare class CheckConflictsRequestDto {
|
|
274
|
+
seasonFolderId: number;
|
|
275
|
+
schedule: GeneratedScheduleDto;
|
|
276
|
+
}
|
|
277
|
+
/**
|
|
278
|
+
* Internal conflict DTO for conflicts within the schedule itself
|
|
279
|
+
*/
|
|
280
|
+
export declare class InternalConflictDto {
|
|
281
|
+
type: InternalConflictTypeEnum;
|
|
282
|
+
gameId1: string;
|
|
283
|
+
gameId2: string;
|
|
284
|
+
resourceId?: number;
|
|
285
|
+
teamId?: number;
|
|
286
|
+
date: string;
|
|
287
|
+
description: string;
|
|
288
|
+
}
|
|
289
|
+
/**
|
|
290
|
+
* Metadata DTO for conflict check results
|
|
291
|
+
*/
|
|
292
|
+
export declare class ConflictCheckMetadataDto {
|
|
293
|
+
checkedAt: string;
|
|
294
|
+
totalGamesChecked: number;
|
|
295
|
+
internalConflictCount: number;
|
|
296
|
+
externalConflictCount: number;
|
|
297
|
+
}
|
|
298
|
+
/**
|
|
299
|
+
* Response DTO for check conflicts endpoint
|
|
300
|
+
*/
|
|
301
|
+
export declare class CheckConflictsResponseDto {
|
|
302
|
+
internalConflicts: InternalConflictDto[];
|
|
303
|
+
externalConflicts: ScheduleConflictDto[];
|
|
304
|
+
totalConflicts: number;
|
|
305
|
+
metadata: ConflictCheckMetadataDto;
|
|
306
|
+
}
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.UpdateDraftScheduleResponseDto = exports.UpdateDraftScheduleRequestDto = exports.GetScheduleResponseDto = exports.ScheduleConfigResponseDto = exports.ScheduleConfigRequestDto = exports.PublishScheduleResponseDto = exports.PublishMetadataDto = exports.PublishedSlotDetailsDto = exports.PublishedEventDetailsDto = exports.PublishScheduleRequestDto = exports.GenerateScheduleResponseDto = exports.GenerateScheduleRequestDto = exports.GeneratedScheduleDto = exports.ScheduleConflictDto = exports.ConflictingResourceDto = exports.ConflictingEventDto = exports.DivisionScheduleDto = exports.TeamScheduleDto = exports.GameScheduleDto = exports.ScheduleConfigDto = exports.TimeWindowDto = exports.DeleteDraftScheduleResponseDto = exports.DeleteDraftScheduleQueryDto = exports.MaintenanceEventDto = exports.ValidationSeverityEnum = exports.ScheduleConflictTypeEnum = exports.ByeWeekPolicyEnum = void 0;
|
|
3
|
+
exports.CheckConflictsResponseDto = exports.ConflictCheckMetadataDto = exports.InternalConflictDto = exports.CheckConflictsRequestDto = exports.UpdateDraftScheduleResponseDto = exports.UpdateDraftScheduleRequestDto = exports.GetScheduleResponseDto = exports.ScheduleConfigResponseDto = exports.ScheduleConfigRequestDto = exports.PublishScheduleResponseDto = exports.PublishMetadataDto = exports.PublishedSlotDetailsDto = exports.PublishedEventDetailsDto = exports.PublishScheduleRequestDto = exports.GenerateScheduleResponseDto = exports.GenerateScheduleRequestDto = exports.GeneratedScheduleDto = exports.ScheduleConflictDto = exports.ConflictingResourceDto = exports.ConflictingEventDto = exports.DivisionScheduleDto = exports.TeamScheduleDto = exports.GameScheduleDto = exports.ScheduleConfigDto = exports.TimeWindowDto = exports.DeleteDraftScheduleResponseDto = exports.DeleteDraftScheduleQueryDto = exports.MaintenanceEventDto = exports.InternalConflictTypeEnum = exports.ValidationSeverityEnum = exports.ScheduleConflictTypeEnum = exports.ByeWeekPolicyEnum = void 0;
|
|
4
4
|
// Re-export enums for backward compatibility
|
|
5
5
|
var interfaces_1 = require("../types/interfaces");
|
|
6
6
|
Object.defineProperty(exports, "ByeWeekPolicyEnum", { enumerable: true, get: function () { return interfaces_1.ByeWeekPolicyEnum; } });
|
|
7
7
|
Object.defineProperty(exports, "ScheduleConflictTypeEnum", { enumerable: true, get: function () { return interfaces_1.ScheduleConflictTypeEnum; } });
|
|
8
8
|
Object.defineProperty(exports, "ValidationSeverityEnum", { enumerable: true, get: function () { return interfaces_1.ValidationSeverityEnum; } });
|
|
9
|
+
Object.defineProperty(exports, "InternalConflictTypeEnum", { enumerable: true, get: function () { return interfaces_1.InternalConflictTypeEnum; } });
|
|
9
10
|
// Re-export MaintenanceEventDto for backward compatibility
|
|
10
11
|
var maintenance_event_dto_1 = require("./maintenance-event.dto");
|
|
11
12
|
Object.defineProperty(exports, "MaintenanceEventDto", { enumerable: true, get: function () { return maintenance_event_dto_1.MaintenanceEventDto; } });
|
|
@@ -148,4 +149,30 @@ exports.UpdateDraftScheduleRequestDto = UpdateDraftScheduleRequestDto;
|
|
|
148
149
|
class UpdateDraftScheduleResponseDto {
|
|
149
150
|
}
|
|
150
151
|
exports.UpdateDraftScheduleResponseDto = UpdateDraftScheduleResponseDto;
|
|
152
|
+
/**
|
|
153
|
+
* Request DTO for checking schedule conflicts
|
|
154
|
+
* Accepts a schedule and checks for both internal conflicts (within the schedule)
|
|
155
|
+
* and external conflicts (against other existing events)
|
|
156
|
+
*/
|
|
157
|
+
class CheckConflictsRequestDto {
|
|
158
|
+
}
|
|
159
|
+
exports.CheckConflictsRequestDto = CheckConflictsRequestDto;
|
|
160
|
+
/**
|
|
161
|
+
* Internal conflict DTO for conflicts within the schedule itself
|
|
162
|
+
*/
|
|
163
|
+
class InternalConflictDto {
|
|
164
|
+
}
|
|
165
|
+
exports.InternalConflictDto = InternalConflictDto;
|
|
166
|
+
/**
|
|
167
|
+
* Metadata DTO for conflict check results
|
|
168
|
+
*/
|
|
169
|
+
class ConflictCheckMetadataDto {
|
|
170
|
+
}
|
|
171
|
+
exports.ConflictCheckMetadataDto = ConflictCheckMetadataDto;
|
|
172
|
+
/**
|
|
173
|
+
* Response DTO for check conflicts endpoint
|
|
174
|
+
*/
|
|
175
|
+
class CheckConflictsResponseDto {
|
|
176
|
+
}
|
|
177
|
+
exports.CheckConflictsResponseDto = CheckConflictsResponseDto;
|
|
151
178
|
//# sourceMappingURL=leagues-scheduler.dto.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"leagues-scheduler.dto.js","sourceRoot":"","sources":["../../../../src/types/leagues-scheduler/dto/leagues-scheduler.dto.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"leagues-scheduler.dto.js","sourceRoot":"","sources":["../../../../src/types/leagues-scheduler/dto/leagues-scheduler.dto.ts"],"names":[],"mappings":";;;AAmBA,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;CAkC7B;AAlCD,8CAkCC;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;CAgB/B;AAhBD,kDAgBC;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;CAoBtC;AApBD,gEAoBC;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"}
|
|
@@ -98,9 +98,9 @@ export interface IConflictingResource {
|
|
|
98
98
|
name: string;
|
|
99
99
|
}
|
|
100
100
|
export interface IScheduleConflict {
|
|
101
|
+
gameId: string;
|
|
101
102
|
type: ScheduleConflictTypeEnum;
|
|
102
103
|
severity: ValidationSeverityEnum;
|
|
103
|
-
gameId: string;
|
|
104
104
|
conflictingEvent?: IConflictingEvent;
|
|
105
105
|
resource?: IConflictingResource;
|
|
106
106
|
startDate?: string;
|
|
@@ -294,3 +294,56 @@ export interface IRoundRobinStats {
|
|
|
294
294
|
export interface IScheduleCacheInvalidator {
|
|
295
295
|
invalidateOne: (id: number) => Promise<void>;
|
|
296
296
|
}
|
|
297
|
+
export declare enum InternalConflictTypeEnum {
|
|
298
|
+
RESOURCE_OVERLAP = "resource_overlap",
|
|
299
|
+
TEAM_DOUBLE_BOOKING = "team_double_booking"
|
|
300
|
+
}
|
|
301
|
+
export interface IInternalConflict {
|
|
302
|
+
gameId1: string;
|
|
303
|
+
gameId2: string;
|
|
304
|
+
resourceId?: number;
|
|
305
|
+
teamId?: number;
|
|
306
|
+
type: InternalConflictTypeEnum;
|
|
307
|
+
date: string;
|
|
308
|
+
description: string;
|
|
309
|
+
}
|
|
310
|
+
export interface IResourceConflictSlot {
|
|
311
|
+
event?: {
|
|
312
|
+
id: number;
|
|
313
|
+
title?: string;
|
|
314
|
+
};
|
|
315
|
+
space?: {
|
|
316
|
+
id: number;
|
|
317
|
+
name?: string;
|
|
318
|
+
};
|
|
319
|
+
startTime?: string;
|
|
320
|
+
endTime?: string;
|
|
321
|
+
}
|
|
322
|
+
export interface IMapResourceConflictsParams {
|
|
323
|
+
gameId: string;
|
|
324
|
+
slots: IResourceConflictSlot[];
|
|
325
|
+
date: string;
|
|
326
|
+
startTime: string;
|
|
327
|
+
endTime: string;
|
|
328
|
+
}
|
|
329
|
+
export interface IFindTeamOverlapsParams {
|
|
330
|
+
teamId: number;
|
|
331
|
+
teamGames: IGameSchedule[];
|
|
332
|
+
date: string;
|
|
333
|
+
reportedConflicts: Set<string>;
|
|
334
|
+
}
|
|
335
|
+
export interface IValidateWindowTimesParams {
|
|
336
|
+
window: ITimeWindow;
|
|
337
|
+
windowIndex: number;
|
|
338
|
+
timeRegex: RegExp;
|
|
339
|
+
}
|
|
340
|
+
export interface IWeeklyCapacityInfo {
|
|
341
|
+
maxCapacityPerWeek: number;
|
|
342
|
+
slotsPerDay: number;
|
|
343
|
+
preferredDays: number[];
|
|
344
|
+
numResources: number;
|
|
345
|
+
}
|
|
346
|
+
export interface ICheckConflictsResult {
|
|
347
|
+
internalConflicts: IInternalConflict[];
|
|
348
|
+
externalConflicts: IScheduleConflict[];
|
|
349
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.EVENT_SUBTYPE_GAME = exports.GameTypeEnum = exports.ValidationSeverityEnum = exports.ScheduleConflictTypeEnum = exports.ByeWeekPolicyEnum = exports.ScheduleStatusEnum = void 0;
|
|
3
|
+
exports.InternalConflictTypeEnum = exports.EVENT_SUBTYPE_GAME = exports.GameTypeEnum = exports.ValidationSeverityEnum = exports.ScheduleConflictTypeEnum = exports.ByeWeekPolicyEnum = exports.ScheduleStatusEnum = void 0;
|
|
4
4
|
const enums_1 = require("./enums");
|
|
5
5
|
Object.defineProperty(exports, "ScheduleStatusEnum", { enumerable: true, get: function () { return enums_1.ScheduleStatusEnum; } });
|
|
6
6
|
Object.defineProperty(exports, "ByeWeekPolicyEnum", { enumerable: true, get: function () { return enums_1.ByeWeekPolicyEnum; } });
|
|
@@ -9,4 +9,9 @@ Object.defineProperty(exports, "ValidationSeverityEnum", { enumerable: true, get
|
|
|
9
9
|
Object.defineProperty(exports, "GameTypeEnum", { enumerable: true, get: function () { return enums_1.GameTypeEnum; } });
|
|
10
10
|
// Event subtype constants for leagues scheduler
|
|
11
11
|
exports.EVENT_SUBTYPE_GAME = 'game';
|
|
12
|
+
var InternalConflictTypeEnum;
|
|
13
|
+
(function (InternalConflictTypeEnum) {
|
|
14
|
+
InternalConflictTypeEnum["RESOURCE_OVERLAP"] = "resource_overlap";
|
|
15
|
+
InternalConflictTypeEnum["TEAM_DOUBLE_BOOKING"] = "team_double_booking";
|
|
16
|
+
})(InternalConflictTypeEnum = exports.InternalConflictTypeEnum || (exports.InternalConflictTypeEnum = {}));
|
|
12
17
|
//# sourceMappingURL=interfaces.js.map
|
|
@@ -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;AA2UzC,IAAY,wBAGX;AAHD,WAAY,wBAAwB;IACnC,iEAAqC,CAAA;IACrC,uEAA2C,CAAA;AAC5C,CAAC,EAHW,wBAAwB,GAAxB,gCAAwB,KAAxB,gCAAwB,QAGnC"}
|
|
@@ -3,6 +3,7 @@ import { Customer } from '../../entity/Customer';
|
|
|
3
3
|
import { Folder } from '../../folders/entities/folder.entity';
|
|
4
4
|
import { Membership } from '../../membership/entities/membership.entity';
|
|
5
5
|
import { Program } from '../../programs/entities/Program';
|
|
6
|
+
import { Product } from '../../product-pricing/entities/product.entity';
|
|
6
7
|
import { User } from '../../user/entities/User';
|
|
7
8
|
import { MediaTypesEnum } from '../types/media.enums';
|
|
8
9
|
export declare class Media extends BondBaseEntity {
|
|
@@ -25,4 +26,5 @@ export declare class Media extends BondBaseEntity {
|
|
|
25
26
|
programs: Program[];
|
|
26
27
|
memberships: Membership[];
|
|
27
28
|
folders: Folder[];
|
|
29
|
+
products: Product[];
|
|
28
30
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Media.js","sourceRoot":"","sources":["../../../../src/types/media/entities/Media.ts"],"names":[],"mappings":";;;AAEA,gEAA6D;
|
|
1
|
+
{"version":3,"file":"Media.js","sourceRoot":"","sources":["../../../../src/types/media/entities/Media.ts"],"names":[],"mappings":";;;AAEA,gEAA6D;AAS7D,MAAa,KAAM,SAAQ,+BAAc;CAyCxC;AAzCD,sBAyCC"}
|
|
@@ -188,6 +188,7 @@ export declare class PaymentDto extends BasePaymentMethodFieldsDto {
|
|
|
188
188
|
invoices: Invoice[];
|
|
189
189
|
installments?: FutureInstallment[];
|
|
190
190
|
totalFeesAmount?: number;
|
|
191
|
+
tipAmount?: number;
|
|
191
192
|
lineItems: LineItems[];
|
|
192
193
|
invoiceToPayments: InvoiceToPayment[];
|
|
193
194
|
stripePaymentMethodId?: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"payment.dto.js","sourceRoot":"","sources":["../../../../src/types/payment/dto/payment.dto.ts"],"names":[],"mappings":";;;AAEA,uDAAwD;AACxD,2EAAuG;AAOvG,8EAAyG;AAyBzG,MAAa,aAAa;CAEzB;AAFD,sCAEC;AAED,MAAa,YAAY;CAExB;AAFD,oCAEC;AAED,MAAa,uBAAwB,SAAQ,YAAY;CAExD;AAFD,0DAEC;AAED,MAAa,aAAc,SAAQ,YAAY;CAE9C;AAFD,sCAEC;AAED,MAAa,YAAa,SAAQ,sCAAmB;CAEpD;AAFD,oCAEC;AAED,MAAa,mBAAoB,SAAQ,YAAY;CAEpD;AAFD,kDAEC;AAED,MAAa,iCAAkC,SAAQ,YAAY;CAElE;AAFD,8EAEC;AAED,MAAa,YAAY;CAExB;AAFD,oCAEC;AAED,MAAa,YAAa,SAAQ,sCAAmB;CAEpD;AAFD,oCAEC;AAED,MAAa,uBAAwB,SAAQ,YAAY;CAExD;AAFD,0DAEC;AAED,MAAa,qBAAsB,SAAQ,YAAY;CAEtD;AAFD,sDAEC;AAED,MAAa,mBAAmB;CAI/B;AAJD,kDAIC;AAED,MAAa,mBAAmB;CAM/B;AAND,kDAMC;AAED,MAAa,wBAAwB;CAIpC;AAJD,4DAIC;AAED,MAAa,eAAgB,SAAQ,6BAAe;CAoBnD;AApBD,0CAoBC;AAED,MAAa,YAAa,SAAQ,eAAe;CAQhD;AARD,oCAQC;AAED,MAAa,WAAW;CAMvB;AAND,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[],"mappings":";;;AAOA,oGAAiG;AAajG,MAAa,OAAQ,SAAQ,mEAAgC;
|
|
1
|
+
{"version":3,"file":"Payment.js","sourceRoot":"","sources":["../../../../src/types/payment/entities/Payment.ts"],"names":[],"mappings":";;;AAOA,oGAAiG;AAajG,MAAa,OAAQ,SAAQ,mEAAgC;CA+E5D;AA/ED,0BA+EC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.AllowRedisplayEnum = exports.DueDateTypeEnum = exports.PaymentBrandEnum = exports.FlattenViaPropEnum = exports.unpaidInstallmentStatuses = exports.failedInstallmentStatuses = exports.chargeableInstallmentStatuses = exports.scheduledChargeStatusWithTreansactionFee = exports.FuturePaymentStatusEnum = exports.SubPaymentMethodTypeEnum = exports.PaymentProcessorEnum = exports.PaymentMethodTypeEnum = exports.PaymentMethodsEnum = exports.PaymentStatusV1Enum = exports.ReasonTypeEnum = exports.PaymentFilterByEnum = exports.PaymentStatusEnum = void 0;
|
|
3
|
+
exports.TransactionPurposeEnum = exports.AllowRedisplayEnum = exports.DueDateTypeEnum = exports.PaymentBrandEnum = exports.FlattenViaPropEnum = exports.unpaidInstallmentStatuses = exports.failedInstallmentStatuses = exports.chargeableInstallmentStatuses = exports.scheduledChargeStatusWithTreansactionFee = exports.FuturePaymentStatusEnum = exports.SubPaymentMethodTypeEnum = exports.PaymentProcessorEnum = exports.PaymentMethodTypeEnum = exports.PaymentMethodsEnum = exports.PaymentStatusV1Enum = exports.ReasonTypeEnum = exports.PaymentFilterByEnum = exports.PaymentStatusEnum = void 0;
|
|
4
4
|
var PaymentStatusEnum;
|
|
5
5
|
(function (PaymentStatusEnum) {
|
|
6
6
|
PaymentStatusEnum["NOT_PAID"] = "not_paid";
|
|
@@ -136,4 +136,10 @@ var AllowRedisplayEnum;
|
|
|
136
136
|
AllowRedisplayEnum["ALWAYS"] = "always";
|
|
137
137
|
AllowRedisplayEnum["LIMITED"] = "limited";
|
|
138
138
|
})(AllowRedisplayEnum = exports.AllowRedisplayEnum || (exports.AllowRedisplayEnum = {}));
|
|
139
|
+
var TransactionPurposeEnum;
|
|
140
|
+
(function (TransactionPurposeEnum) {
|
|
141
|
+
TransactionPurposeEnum["GOODS"] = "goods";
|
|
142
|
+
TransactionPurposeEnum["SERVICES"] = "services";
|
|
143
|
+
TransactionPurposeEnum["OTHER"] = "other";
|
|
144
|
+
})(TransactionPurposeEnum = exports.TransactionPurposeEnum || (exports.TransactionPurposeEnum = {}));
|
|
139
145
|
//# sourceMappingURL=payment.enums.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"payment.enums.js","sourceRoot":"","sources":["../../../../../src/types/payment/types/enums/payment.enums.ts"],"names":[],"mappings":";;;AAAA,IAAY,iBAWX;AAXD,WAAY,iBAAiB;IAC5B,0CAAqB,CAAA;IACrB,gDAA2B,CAAA;IAC3B,wCAAmB,CAAA;IACnB,0CAAqB,CAAA;IACrB,kCAAa,CAAA;IACb,0CAAqB,CAAA;IACrB,wDAAmC,CAAA;IACnC,sCAAiB,CAAA;IACjB,wCAAmB,CAAA;IACnB,4DAAuC,CAAA;AACxC,CAAC,EAXW,iBAAiB,GAAjB,yBAAiB,KAAjB,yBAAiB,QAW5B;AAED,IAAY,mBAQX;AARD,WAAY,mBAAmB;IAC9B,uDAAgC,CAAA;IAChC,wCAAiB,CAAA;IACjB,gCAAS,CAAA;IACT,+CAAwB,CAAA;IACxB,+CAAwB,CAAA;IACxB,sCAAe,CAAA;IACf,2CAAoB,CAAA;AACrB,CAAC,EARW,mBAAmB,GAAnB,2BAAmB,KAAnB,2BAAmB,QAQ9B;AAED,IAAY,cAKX;AALD,WAAY,cAAc;IACzB,mCAAiB,CAAA;IACjB,uCAAqB,CAAA;IACrB,2CAAyB,CAAA;IACzB,uDAAqC,CAAA;AACtC,CAAC,EALW,cAAc,GAAd,sBAAc,KAAd,sBAAc,QAKzB;AAED,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|
+
{"version":3,"file":"payment.enums.js","sourceRoot":"","sources":["../../../../../src/types/payment/types/enums/payment.enums.ts"],"names":[],"mappings":";;;AAAA,IAAY,iBAWX;AAXD,WAAY,iBAAiB;IAC5B,0CAAqB,CAAA;IACrB,gDAA2B,CAAA;IAC3B,wCAAmB,CAAA;IACnB,0CAAqB,CAAA;IACrB,kCAAa,CAAA;IACb,0CAAqB,CAAA;IACrB,wDAAmC,CAAA;IACnC,sCAAiB,CAAA;IACjB,wCAAmB,CAAA;IACnB,4DAAuC,CAAA;AACxC,CAAC,EAXW,iBAAiB,GAAjB,yBAAiB,KAAjB,yBAAiB,QAW5B;AAED,IAAY,mBAQX;AARD,WAAY,mBAAmB;IAC9B,uDAAgC,CAAA;IAChC,wCAAiB,CAAA;IACjB,gCAAS,CAAA;IACT,+CAAwB,CAAA;IACxB,+CAAwB,CAAA;IACxB,sCAAe,CAAA;IACf,2CAAoB,CAAA;AACrB,CAAC,EARW,mBAAmB,GAAnB,2BAAmB,KAAnB,2BAAmB,QAQ9B;AAED,IAAY,cAKX;AALD,WAAY,cAAc;IACzB,mCAAiB,CAAA;IACjB,uCAAqB,CAAA;IACrB,2CAAyB,CAAA;IACzB,uDAAqC,CAAA;AACtC,CAAC,EALW,cAAc,GAAd,sBAAc,KAAd,sBAAc,QAKzB;AAED,IAAY,mBASX;AATD,WAAY,mBAAmB;IAC9B,iFAAkB,CAAA;IAClB,qFAAoB,CAAA;IACpB,qEAAY,CAAA;IACZ,qEAAY,CAAA;IACZ,uEAAa,CAAA;IACb,+DAAS,CAAA;IACT,6EAAgB,CAAA;IAChB,mEAAW,CAAA;AACZ,CAAC,EATW,mBAAmB,GAAnB,2BAAmB,KAAnB,2BAAmB,QAS9B;AAED,IAAY,kBAGX;AAHD,WAAY,kBAAkB;IAC7B,+DAAU,CAAA;IACV,2DAAQ,CAAA;AACT,CAAC,EAHW,kBAAkB,GAAlB,0BAAkB,KAAlB,0BAAkB,QAG7B;AAED,IAAY,qBAeX;AA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,CAAC,uBAAuB,CAAC,MAAM,EAAE,uBAAuB,CAAC,iBAAiB,CAAC,CAAC;AAErH;;GAEG;AACH;;;GAGG;AACU,QAAA,yBAAyB,GAAG;IACxC,uBAAuB,CAAC,MAAM;IAC9B,uBAAuB,CAAC,iBAAiB;IACzC,uBAAuB,CAAC,QAAQ;CAChC,CAAC;AAEF,IAAY,kBAGX;AAHD,WAAY,kBAAkB;IAC7B,2CAAqB,CAAA;IACrB,8CAAwB,CAAA;AACzB,CAAC,EAHW,kBAAkB,GAAlB,0BAAkB,KAAlB,0BAAkB,QAG7B;AAED,IAAY,gBAIX;AAJD,WAAY,gBAAgB;IAC3B,iCAAa,CAAA;IACb,6CAAyB,CAAA;IACzB,uCAAmB,CAAA;AACpB,CAAC,EAJW,gBAAgB,GAAhB,wBAAgB,KAAhB,wBAAgB,QAI3B;AAED,IAAY,eAGX;AAHD,WAAY,eAAe;IAC1B,gDAA6B,CAAA;IAC7B,oCAAiB,CAAA;AAClB,CAAC,EAHW,eAAe,GAAf,uBAAe,KAAf,uBAAe,QAG1B;AAED,IAAY,kBAGX;AAHD,WAAY,kBAAkB;IAC7B,uCAAiB,CAAA;IACjB,yCAAmB,CAAA;AACpB,CAAC,EAHW,kBAAkB,GAAlB,0BAAkB,KAAlB,0BAAkB,QAG7B;AAED,IAAY,sBAIX;AAJD,WAAY,sBAAsB;IACjC,yCAAe,CAAA;IACf,+CAAqB,CAAA;IACrB,yCAAe,CAAA;AAChB,CAAC,EAJW,sBAAsB,GAAtB,8BAAsB,KAAtB,8BAAsB,QAIjC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { PaginationQuery } from '../../dto/general.dto';
|
|
2
|
+
import { StationDto } from '../../dto/station.dto';
|
|
2
3
|
import { ByOrganizationIdDto, OrganizationBaseEntityDto } from '../../organization/dto/organization.dto';
|
|
3
4
|
import { ISettings } from '../../resource-settings/types/resource-settings.interfaces';
|
|
4
5
|
import { OrderByEnum, ProductTypesEnum, ResourceTypeEnum } from '../../services/enums.service';
|
|
@@ -15,10 +16,16 @@ export declare class CreateProductCategoryDto<T extends Record<string, unknown>
|
|
|
15
16
|
settings?: T;
|
|
16
17
|
productType: ProductTypesEnum;
|
|
17
18
|
productsIds?: number[];
|
|
19
|
+
ordinal?: number;
|
|
20
|
+
isTipEligible?: boolean;
|
|
21
|
+
stationIds?: number[];
|
|
18
22
|
}
|
|
19
23
|
export declare class UpdateProductCategoryDto<T extends Record<string, unknown> = ISettings> extends UpdateProductCategoryBaseDto {
|
|
20
24
|
settings?: T;
|
|
21
25
|
productsIds?: number[];
|
|
26
|
+
ordinal?: number;
|
|
27
|
+
isTipEligible?: boolean;
|
|
28
|
+
stationIds?: number[];
|
|
22
29
|
}
|
|
23
30
|
export declare class ProductCategoryDto<T extends Record<string, unknown> = ISettings> extends OrganizationBaseEntityDto {
|
|
24
31
|
name?: string;
|
|
@@ -26,6 +33,9 @@ export declare class ProductCategoryDto<T extends Record<string, unknown> = ISet
|
|
|
26
33
|
productType: ProductTypesEnum;
|
|
27
34
|
settings?: T;
|
|
28
35
|
productsCount?: number;
|
|
36
|
+
ordinal?: number;
|
|
37
|
+
isTipEligible: boolean;
|
|
38
|
+
stations?: StationDto[];
|
|
29
39
|
}
|
|
30
40
|
export declare class GetProductCategoriesDto extends PaginationQuery implements IGetProductCategories {
|
|
31
41
|
order?: OrderByEnum;
|
|
@@ -35,10 +45,16 @@ export declare class GetProductCategoriesDto extends PaginationQuery implements
|
|
|
35
45
|
vipEnabled?: boolean;
|
|
36
46
|
approvalRequired?: boolean;
|
|
37
47
|
resourceTypes?: ResourceTypeEnum[];
|
|
48
|
+
stationIds?: number[];
|
|
49
|
+
isTipEligible?: boolean;
|
|
38
50
|
}
|
|
39
51
|
export declare class ByOrganizationAndCategoryIdDto extends ByOrganizationIdDto {
|
|
40
52
|
categoryId: number;
|
|
41
53
|
}
|
|
54
|
+
export declare class GetStationProductCategoriesDto {
|
|
55
|
+
stationId?: number;
|
|
56
|
+
productType?: ProductTypesEnum;
|
|
57
|
+
}
|
|
42
58
|
export declare class IncludeProductsCountDto {
|
|
43
59
|
includeProductsCount?: boolean;
|
|
44
60
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.IncludeProductsCountDto = exports.ByOrganizationAndCategoryIdDto = exports.GetProductCategoriesDto = exports.ProductCategoryDto = exports.UpdateProductCategoryDto = exports.CreateProductCategoryDto = exports.UpdateProductCategoryBaseDto = exports.UpdateProductCategorySettingsDto = void 0;
|
|
3
|
+
exports.IncludeProductsCountDto = exports.GetStationProductCategoriesDto = exports.ByOrganizationAndCategoryIdDto = exports.GetProductCategoriesDto = exports.ProductCategoryDto = exports.UpdateProductCategoryDto = exports.CreateProductCategoryDto = exports.UpdateProductCategoryBaseDto = exports.UpdateProductCategorySettingsDto = void 0;
|
|
4
4
|
const general_dto_1 = require("../../dto/general.dto");
|
|
5
5
|
const organization_dto_1 = require("../../organization/dto/organization.dto");
|
|
6
6
|
class UpdateProductCategorySettingsDto {
|
|
@@ -24,6 +24,9 @@ exports.GetProductCategoriesDto = GetProductCategoriesDto;
|
|
|
24
24
|
class ByOrganizationAndCategoryIdDto extends organization_dto_1.ByOrganizationIdDto {
|
|
25
25
|
}
|
|
26
26
|
exports.ByOrganizationAndCategoryIdDto = ByOrganizationAndCategoryIdDto;
|
|
27
|
+
class GetStationProductCategoriesDto {
|
|
28
|
+
}
|
|
29
|
+
exports.GetStationProductCategoriesDto = GetStationProductCategoriesDto;
|
|
27
30
|
class IncludeProductsCountDto {
|
|
28
31
|
}
|
|
29
32
|
exports.IncludeProductsCountDto = IncludeProductsCountDto;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"product-categories.dto.js","sourceRoot":"","sources":["../../../../src/types/product-pricing/dto/product-categories.dto.ts"],"names":[],"mappings":";;;AACA,uDAAwD;
|
|
1
|
+
{"version":3,"file":"product-categories.dto.js","sourceRoot":"","sources":["../../../../src/types/product-pricing/dto/product-categories.dto.ts"],"names":[],"mappings":";;;AACA,uDAAwD;AAExD,8EAAyG;AAMzG,MAAa,gCAAgC;CAE5C;AAFD,4EAEC;AAED,MAAa,4BAA4B;CAIxC;AAJD,oEAIC;AAED,MAAa,wBAEX,SAAQ,4BAA4B;CAYrC;AAdD,4DAcC;AAED,MAAa,wBAEX,SAAQ,4BAA4B;CAUrC;AAZD,4DAYC;AAED,MAAa,kBAAkE,SAAQ,4CAAyB;CAgB/G;AAhBD,gDAgBC;AAED,MAAa,uBAAwB,SAAQ,6BAAe;CAkB3D;AAlBD,0DAkBC;AAED,MAAa,8BAA+B,SAAQ,sCAAmB;CAEtE;AAFD,wEAEC;AAED,MAAa,8BAA8B;CAI1C;AAJD,wEAIC;AAED,MAAa,uBAAuB;CAEnC;AAFD,0DAEC"}
|
|
@@ -6,6 +6,7 @@ import { VariantDto, VariantTitleDto } from '../../dto/product-variants.dto';
|
|
|
6
6
|
import { GroupItemsPricing } from '../../entity/GroupItemsPricing';
|
|
7
7
|
import { ProductPackage } from '../../entity/ProductPackage';
|
|
8
8
|
import { ResourceGlDto } from '../../gl-codes/dto/resource-to-gl.dto';
|
|
9
|
+
import { MediaDto } from '../../media/dto/media.dto';
|
|
9
10
|
import { SimpleMembershipDto } from '../../membership/dto/membership.dto';
|
|
10
11
|
import { ByOrganizationIdDto } from '../../organization/dto/organization.dto';
|
|
11
12
|
import { EntitlementDiscountDto } from '../../payment/dto/discount.dto';
|
|
@@ -82,7 +83,9 @@ export declare class GetProductsDto extends PaginationQuery {
|
|
|
82
83
|
resourceIds?: number[];
|
|
83
84
|
sports?: number[];
|
|
84
85
|
facilitiesIds?: number[];
|
|
86
|
+
categoriesIds?: number[];
|
|
85
87
|
statuses?: ActivityEnum[];
|
|
88
|
+
stationId?: number;
|
|
86
89
|
}
|
|
87
90
|
export declare class ProductFieldsDto {
|
|
88
91
|
id: number;
|
|
@@ -96,6 +99,7 @@ export declare class ProductFieldsDto {
|
|
|
96
99
|
productType?: ProductTypesEnum;
|
|
97
100
|
downpayment?: number;
|
|
98
101
|
description?: string;
|
|
102
|
+
mainMedia?: MediaDto;
|
|
99
103
|
currPrice: PriceDto;
|
|
100
104
|
productSubType?: ProductSubTypesEnum;
|
|
101
105
|
punchCard: boolean;
|
|
@@ -131,6 +135,7 @@ export declare class GetOrganizationProductsDto extends PaginationQuery {
|
|
|
131
135
|
export declare class SimpleProductDto extends IdAndNameDto {
|
|
132
136
|
productType?: ProductTypesEnum;
|
|
133
137
|
productSubType?: ProductSubTypesEnum;
|
|
138
|
+
productCategoryName?: string;
|
|
134
139
|
resource?: ProductResourceDto;
|
|
135
140
|
productPaymentPlans?: PaymentPlanDto[];
|
|
136
141
|
}
|
|
@@ -151,6 +156,8 @@ export declare class BaseProductDto {
|
|
|
151
156
|
glCodes?: ResourceGlDto[];
|
|
152
157
|
downpayment?: number;
|
|
153
158
|
description?: string;
|
|
159
|
+
mainMediaId?: number;
|
|
160
|
+
mainMedia?: MediaDto;
|
|
154
161
|
prices: PriceDto[];
|
|
155
162
|
currPrice: PriceDto;
|
|
156
163
|
productSubType?: ProductSubTypesEnum;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"product.dto.js","sourceRoot":"","sources":["../../../../src/types/product-pricing/dto/product.dto.ts"],"names":[],"mappings":";;;AAKA,uDAAsE;
|
|
1
|
+
{"version":3,"file":"product.dto.js","sourceRoot":"","sources":["../../../../src/types/product-pricing/dto/product.dto.ts"],"names":[],"mappings":";;;AAKA,uDAAsE;AAOtE,8EAA8E;AAsB9E,MAAa,kBAAkB;CAE9B;AAFD,gDAEC;AAED,MAAa,iCAAiC;CAU7C;AAVD,8EAUC;AAED,MAAa,kBAAmB,SAAQ,sCAAmB;CAE1D;AAFD,gDAEC;AAED,MAAa,2BAA2B;CAYvC;AAZD,kEAYC;AAED,MAAa,yBAAyB;CAMrC;AAND,8DAMC;AAED,MAAa,yBAAyB;CAMrC;AAND,8DAMC;AAED,MAAa,wBAAwB;CAMpC;AAND,4DAMC;AAED,MAAa,oCAAoC;CAMhD;AAND,oFAMC;AAED,MAAa,sBAAsB;CAIlC;AAJD,wDAIC;AAED,MAAa,cAAe,SAAQ,6BAAe;CAQlD;AARD,wCAQC;AAED,MAAa,cAAe,SAAQ,6BAAe;CA4BlD;AA5BD,wCA4BC;AAED,MAAa,gBAAgB;CAwD5B;AAxDD,4CAwDC;AAED,MAAa,sBAAsB;CAgBlC;AAhBD,wDAgBC;AAED,MAAa,0BAA2B,SAAQ,6BAAe;CAM9D;AAND,gEAMC;AAED,MAAa,gBAAiB,SAAQ,0BAAY;CAUjD;AAVD,4CAUC;AAED,MAAa,cAAc;CAgH1B;AAhHD,wCAgHC;AAED,MAAa,oBAAqB,SAAQ,cAAc;CAEvD;AAFD,oDAEC;AAED,MAAa,UAAW,SAAQ,cAAc;CAkB7C;AAlBD,gCAkBC;AAED,MAAa,kBAAkB;CAU9B;AAVD,gDAUC;AAED,MAAa,kBAAmB,SAAQ,UAAU;CAMjD;AAND,gDAMC;AAED,MAAa,8BAA8B;CAI1C;AAJD,wEAIC;AAED,MAAa,uBAAuB;CAInC;AAJD,0DAIC"}
|
|
@@ -17,4 +17,5 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
17
17
|
__exportStar(require("./product-category.entity"), exports);
|
|
18
18
|
__exportStar(require("./product-to-facility.entity"), exports);
|
|
19
19
|
__exportStar(require("./product.entity"), exports);
|
|
20
|
+
__exportStar(require("./station-to-product-category.entity"), exports);
|
|
20
21
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/product-pricing/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4DAA0C;AAC1C,+DAA6C;AAC7C,mDAAiC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/product-pricing/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4DAA0C;AAC1C,+DAA6C;AAC7C,mDAAiC;AACjC,uEAAqD"}
|
|
@@ -1,12 +1,18 @@
|
|
|
1
1
|
import { OrganizationConnectionBaseEntity } from '../../entity/OrganizationConnectionBaseEntity';
|
|
2
2
|
import { ProductTypesEnum } from '../../services/enums.service';
|
|
3
3
|
import { Product } from './product.entity';
|
|
4
|
+
import { Station } from '../../entity/Station';
|
|
5
|
+
import { StationToProductCategory } from './station-to-product-category.entity';
|
|
4
6
|
export declare class ProductCategory extends OrganizationConnectionBaseEntity {
|
|
5
7
|
name: string;
|
|
6
8
|
description?: string;
|
|
7
9
|
productType: ProductTypesEnum;
|
|
8
10
|
settings?: unknown;
|
|
11
|
+
ordinal?: number;
|
|
12
|
+
isTipEligible: boolean;
|
|
9
13
|
deletedAt?: Date;
|
|
10
14
|
products?: Product[];
|
|
15
|
+
stationToProductCategories?: StationToProductCategory[];
|
|
16
|
+
stations?: Station[];
|
|
11
17
|
productsCount?: number;
|
|
12
18
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"product-category.entity.js","sourceRoot":"","sources":["../../../../src/types/product-pricing/entities/product-category.entity.ts"],"names":[],"mappings":";;;AAEA,oGAAiG;
|
|
1
|
+
{"version":3,"file":"product-category.entity.js","sourceRoot":"","sources":["../../../../src/types/product-pricing/entities/product-category.entity.ts"],"names":[],"mappings":";;;AAEA,oGAAiG;AAOjG,MAAa,eAAgB,SAAQ,mEAAgC;CAsBpE;AAtBD,0CAsBC"}
|
|
@@ -11,6 +11,7 @@ import { PurchasedResource } from '../../entity/PurchasedResources';
|
|
|
11
11
|
import { Variant } from '../../entity/Variants';
|
|
12
12
|
import { VariantTitle } from '../../entity/VariantTitles';
|
|
13
13
|
import { ResourceGlDto } from '../../gl-codes/dto/resource-to-gl.dto';
|
|
14
|
+
import { Media } from '../../media/entities/Media';
|
|
14
15
|
import { Membership } from '../../membership/entities/membership.entity';
|
|
15
16
|
import { Discount } from '../../payment/entities/Discount';
|
|
16
17
|
import { ProductPaymentPlan } from '../../payment/entities/ProductPaymentPlan';
|
|
@@ -38,6 +39,8 @@ export declare class Product extends OrganizationConnectionBaseEntity {
|
|
|
38
39
|
glCodes?: ResourceGlDto[];
|
|
39
40
|
downpayment?: number;
|
|
40
41
|
description?: string;
|
|
42
|
+
mainMediaId?: number;
|
|
43
|
+
mainMedia?: Media;
|
|
41
44
|
prices: Price[];
|
|
42
45
|
currPrice: Price;
|
|
43
46
|
productSubType?: ProductSubTypesEnum;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"product.entity.js","sourceRoot":"","sources":["../../../../src/types/product-pricing/entities/product.entity.ts"],"names":[],"mappings":";;;AAkBA,oGAAiG;
|
|
1
|
+
{"version":3,"file":"product.entity.js","sourceRoot":"","sources":["../../../../src/types/product-pricing/entities/product.entity.ts"],"names":[],"mappings":";;;AAkBA,oGAAiG;AA0BjG,MAAa,OAAQ,SAAQ,mEAAgC;CA2J5D;AA3JD,0BA2JC"}
|