@bondsports/types 2.4.38 → 2.4.40
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/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/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 +2 -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/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/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/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/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 +6 -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 +15 -0
- 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/package.json +1 -1
|
@@ -6,6 +6,7 @@ import { ByOrganizationIdDto, OrganizationBaseEntityDto } from '../../organizati
|
|
|
6
6
|
import { ISetDiscount, ISetDiscounts } from '../../payment/types/interfaces/discount.interfaces';
|
|
7
7
|
import { DurationUnitTypesEnum } from '../../reservations/types/enums/reservation.enums';
|
|
8
8
|
import { CurrencyEnum, PlatformsEnum, ProductPackageLevelEnum, UpdatePricesTypeEnum } from '../../services/enums.service';
|
|
9
|
+
import { TaxDto } from '../../taxes/dto/tax.dto';
|
|
9
10
|
import { ByOrganizationAndUserDto, SimpleUserDto } from '../../user/dto/user.dto';
|
|
10
11
|
import { CartStateEnum, CartStatusEnum } from '../types/enums/cart.enums';
|
|
11
12
|
import { IUpdateCartCategoriesPrices, IUpdateCartPrices, IUpdateCartProductPrices, IUpdateProductPrice } from '../types/interfaces/cart.interfaces';
|
|
@@ -34,6 +35,7 @@ export declare class CartDto extends SimpleCartDto {
|
|
|
34
35
|
discounts?: CartDiscountDto[];
|
|
35
36
|
discountSubtotal?: number;
|
|
36
37
|
subtotal?: number;
|
|
38
|
+
tippableAmount?: number;
|
|
37
39
|
downpayment?: number;
|
|
38
40
|
}
|
|
39
41
|
export declare class OrganizationCartDto extends CartDto {
|
|
@@ -98,6 +100,7 @@ export declare class ProductPriceResultDto {
|
|
|
98
100
|
name: string;
|
|
99
101
|
isTaxInclusive?: boolean;
|
|
100
102
|
tax: number;
|
|
103
|
+
taxes: TaxDto[];
|
|
101
104
|
durationType: DurationUnitTypesEnum;
|
|
102
105
|
durationValue?: number;
|
|
103
106
|
subtotal: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cart.dto.js","sourceRoot":"","sources":["../../../../src/types/cart/dto/cart.dto.ts"],"names":[],"mappings":";;;AAIA,uDAAwD;AACxD,8EAAyG;
|
|
1
|
+
{"version":3,"file":"cart.dto.js","sourceRoot":"","sources":["../../../../src/types/cart/dto/cart.dto.ts"],"names":[],"mappings":";;;AAIA,uDAAwD;AACxD,8EAAyG;AAUzG,sDAAkF;AAWlF,MAAa,aAAc,SAAQ,4CAAyB;CAQ3D;AARD,sCAQC;AAED,MAAa,OAAQ,SAAQ,aAAa;CAsCzC;AAtCD,0BAsCC;AAED,MAAa,mBAAoB,SAAQ,OAAO;CAAG;AAAnD,kDAAmD;AAEnD,MAAa,aAAa;CASzB;AATD,sCASC;AAED,MAAa,aAAc,SAAQ,aAAa;CAM/C;AAND,sCAMC;AAED,MAAa,YAAY;CAIxB;AAJD,oCAIC;AAED,MAAa,eAAe;CAE3B;AAFD,0CAEC;AAED,MAAa,kBAAkB;CAE9B;AAFD,gDAEC;AAED,MAAa,aAAc,SAAQ,mCAAwB;CAE1D;AAFD,sCAEC;AAED,MAAa,qBAAsB,SAAQ,sCAAmB;CAE7D;AAFD,sDAEC;AAED,MAAa,kBAAmB,SAAQ,6BAAe;CAQtD;AARD,gDAQC;AAED,MAAa,kBAAkB;CAQ9B;AARD,gDAQC;AAED,MAAa,mBAAmB;CAE/B;AAFD,kDAEC;AAED,MAAa,0BAA0B;CAEtC;AAFD,gEAEC;AAED,MAAa,sBAAsB;CAElC;AAFD,wDAEC;AAED,MAAa,kBAAkB;CAE9B;AAFD,gDAEC;AAED,MAAa,qBAAqB;CAgCjC;AAhCD,sDAgCC;AAED,MAAa,mBAAmB;CAQ/B;AARD,kDAQC;AAED,MAAa,qBAAqB;CAIjC;AAJD,sDAIC;AAED,MAAa,oBAAoB;CAkBhC;AAlBD,oDAkBC;AAED,MAAa,qBAAqB;CAQjC;AARD,sDAQC;AAED,MAAa,yBAAyB;CAIrC;AAJD,8DAIC;AAED,MAAa,2BAA2B;CAIvC;AAJD,kEAIC;AAED,MAAa,mBAAmB;CAQ/B;AARD,kDAQC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cart.entity.js","sourceRoot":"","sources":["../../../../src/types/cart/entities/cart.entity.ts"],"names":[],"mappings":";;;AAKA,oGAAiG;AASjG,MAAa,IAAK,SAAQ,mEAAgC;
|
|
1
|
+
{"version":3,"file":"cart.entity.js","sourceRoot":"","sources":["../../../../src/types/cart/entities/cart.entity.ts"],"names":[],"mappings":";;;AAKA,oGAAiG;AASjG,MAAa,IAAK,SAAQ,mEAAgC;CAwDzD;AAxDD,oBAwDC"}
|
|
@@ -81,7 +81,7 @@ export declare class GenericResponseDto<T = any, E = string> {
|
|
|
81
81
|
message?: E;
|
|
82
82
|
}
|
|
83
83
|
export declare class CronQueryParamsDto {
|
|
84
|
-
dontWait
|
|
84
|
+
dontWait?: boolean;
|
|
85
85
|
}
|
|
86
86
|
export declare class IncludeAdditionalDataDto {
|
|
87
87
|
includeAdditionalData?: boolean;
|
package/dist/types/dto/index.js
CHANGED
|
@@ -33,6 +33,7 @@ __exportStar(require("./registration.dto"), exports);
|
|
|
33
33
|
__exportStar(require("./rental.dto"), exports);
|
|
34
34
|
__exportStar(require("./response.dto"), exports);
|
|
35
35
|
__exportStar(require("./slots.dto"), exports);
|
|
36
|
+
__exportStar(require("./station.dto"), exports);
|
|
36
37
|
__exportStar(require("./stripe.dto"), exports);
|
|
37
38
|
__exportStar(require("./userPaymentMethod.dto"), exports);
|
|
38
39
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/types/dto/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,sDAAoC;AACpC,oDAAkC;AAClC,0DAAwC;AACxC,oDAAkC;AAClC,2DAAyC;AACzC,sDAAoC;AACpC,iDAA+B;AAC/B,+CAA6B;AAC7B,+CAA6B;AAC7B,mDAAiC;AACjC,gDAA8B;AAC9B,wDAAsC;AACtC,gDAA8B;AAC9B,iDAA+B;AAC/B,yDAAuC;AACvC,qDAAmC;AACnC,+CAA6B;AAC7B,iDAA+B;AAC/B,8CAA4B;AAC5B,+CAA6B;AAC7B,0DAAwC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/types/dto/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,sDAAoC;AACpC,oDAAkC;AAClC,0DAAwC;AACxC,oDAAkC;AAClC,2DAAyC;AACzC,sDAAoC;AACpC,iDAA+B;AAC/B,+CAA6B;AAC7B,+CAA6B;AAC7B,mDAAiC;AACjC,gDAA8B;AAC9B,wDAAsC;AACtC,gDAA8B;AAC9B,iDAA+B;AAC/B,yDAAuC;AACvC,qDAAmC;AACnC,+CAA6B;AAC7B,iDAA+B;AAC/B,8CAA4B;AAC5B,gDAA8B;AAC9B,+CAA6B;AAC7B,0DAAwC"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { MediaDto } from '../media/dto/media.dto';
|
|
1
2
|
import { CreatePaymentPlanDto } from '../payment/dto/payment-plan.dto';
|
|
2
3
|
import { CreateGroupPricingWithProduct, CreatePriceDto } from '../pricing/dto/pricing.dto';
|
|
3
4
|
import { CreateProductAvailabilityTimesDto, CreateRentalProductAddonDto } from '../product-pricing/dto/product.dto';
|
|
@@ -14,6 +15,7 @@ export declare class CreateProductDto {
|
|
|
14
15
|
startDate?: Date;
|
|
15
16
|
endDate?: Date;
|
|
16
17
|
description?: string;
|
|
18
|
+
mainMedia?: MediaDto;
|
|
17
19
|
resourcesType?: ResourceNameTypeEnum;
|
|
18
20
|
resourcesIdsToApplyOn?: number[];
|
|
19
21
|
requiredProductIds?: number[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"package.dto.js","sourceRoot":"","sources":["../../../src/types/dto/package.dto.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"package.dto.js","sourceRoot":"","sources":["../../../src/types/dto/package.dto.ts"],"names":[],"mappings":";;;AAiBA,MAAa,gBAAgB;CAyF5B;AAzFD,4CAyFC;AAED,MAAa,gBAAiB,SAAQ,gBAAgB;CAMrD;AAND,4CAMC;AAED,MAAa,2BAA2B;CAQvC;AARD,kEAQC;AAED,MAAa,gBAAgB;CAM5B;AAND,4CAMC;AAED,MAAa,wBAAwB;CAIpC;AAJD,4DAIC;AAED,MAAa,uCAAwC,SAAQ,wBAAwB;CAEpF;AAFD,0FAEC;AAED,MAAa,0BAA0B;CAMtC;AAND,gEAMC;AAED,MAAa,iBAAiB;CAM7B;AAND,8CAMC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.StationDto = void 0;
|
|
4
|
+
const organization_dto_1 = require("../organization/dto/organization.dto");
|
|
5
|
+
class StationDto extends organization_dto_1.OrganizationBaseEntityDto {
|
|
6
|
+
}
|
|
7
|
+
exports.StationDto = StationDto;
|
|
8
|
+
//# sourceMappingURL=station.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"station.dto.js","sourceRoot":"","sources":["../../../src/types/dto/station.dto.ts"],"names":[],"mappings":";;;AACA,2EAAiF;AAEjF,MAAa,UAAW,SAAQ,4CAAyB;CAMxD;AAND,gCAMC"}
|
|
@@ -3,6 +3,7 @@ import { Media } from '../media/entities/Media';
|
|
|
3
3
|
import { Product } from '../product-pricing/entities/product.entity';
|
|
4
4
|
import { ProgramSeason } from '../programs-seasons/entities/ProgramSeason';
|
|
5
5
|
import { Resource } from '../resources/entities/Resource';
|
|
6
|
+
import { TipConfiguration } from '../tip-configurations/entities/TipConfiguration';
|
|
6
7
|
import { OpeningTime } from './OpeningTime';
|
|
7
8
|
import { OrganizationConnectionBaseEntity } from './OrganizationConnectionBaseEntity';
|
|
8
9
|
export declare class Facility extends OrganizationConnectionBaseEntity {
|
|
@@ -30,5 +31,8 @@ export declare class Facility extends OrganizationConnectionBaseEntity {
|
|
|
30
31
|
ordinal: number;
|
|
31
32
|
locationId?: string;
|
|
32
33
|
linkSEO: string;
|
|
34
|
+
tipConfigId: number;
|
|
35
|
+
tipConfiguration?: TipConfiguration;
|
|
36
|
+
stripeConfigurationId?: string;
|
|
33
37
|
products: Product[];
|
|
34
38
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Facility.js","sourceRoot":"","sources":["../../../src/types/entity/Facility.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"Facility.js","sourceRoot":"","sources":["../../../src/types/entity/Facility.ts"],"names":[],"mappings":";;;AAqBA,yFAAsF;AAEtF,MAAa,QAAS,SAAQ,mEAAgC;CAyD7D;AAzDD,4BAyDC"}
|
|
@@ -53,10 +53,12 @@ export declare class Invoice extends BondBaseEntity {
|
|
|
53
53
|
installments?: FutureInstallment[];
|
|
54
54
|
itemsAmount?: number;
|
|
55
55
|
totalFeesAmount?: number;
|
|
56
|
+
totalTipsAmount?: number;
|
|
56
57
|
discountAmount?: number;
|
|
57
58
|
discountSubtotal?: number;
|
|
58
59
|
subtotal?: number;
|
|
59
60
|
subtotalBalance?: number;
|
|
61
|
+
tippableAmount?: number;
|
|
60
62
|
customer?: Customer;
|
|
61
63
|
obfuscatedCustomer?: ObfuscatedCustomerDto;
|
|
62
64
|
hasFailedPayments?: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Invoice.js","sourceRoot":"","sources":["../../../src/types/entity/Invoice.ts"],"names":[],"mappings":";;;AAoBA,qDAAkD;AAQlD,MAAa,OAAQ,SAAQ,+BAAc;
|
|
1
|
+
{"version":3,"file":"Invoice.js","sourceRoot":"","sources":["../../../src/types/entity/Invoice.ts"],"names":[],"mappings":";;;AAoBA,qDAAkD;AAQlD,MAAa,OAAQ,SAAQ,+BAAc;CA2G1C;AA3GD,0BA2GC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { ProductCategory } from '../product-pricing/entities/product-category.entity';
|
|
2
|
+
import { StationToProductCategory } from '../product-pricing/entities/station-to-product-category.entity';
|
|
1
3
|
import { Shift } from '../shifts/entities/shift.entity';
|
|
2
4
|
import { Facility } from './Facility';
|
|
3
5
|
import { OrganizationConnectionBaseEntity } from './OrganizationConnectionBaseEntity';
|
|
@@ -13,5 +15,7 @@ export declare class Station extends OrganizationConnectionBaseEntity {
|
|
|
13
15
|
currentOpenShift?: Shift;
|
|
14
16
|
stationToSubcategories: StationToSubcategory[];
|
|
15
17
|
subcategories: Subcategory[];
|
|
18
|
+
stationToProductCategories: StationToProductCategory[];
|
|
19
|
+
productCategories: ProductCategory[];
|
|
16
20
|
shifts?: Shift[];
|
|
17
21
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Station.js","sourceRoot":"","sources":["../../../src/types/entity/Station.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"Station.js","sourceRoot":"","sources":["../../../src/types/entity/Station.ts"],"names":[],"mappings":";;;AAOA,yFAAsF;AAItF,MAAa,OAAQ,SAAQ,mEAAgC;CAwB5D;AAxBD,0BAwBC"}
|
|
@@ -1,4 +1,23 @@
|
|
|
1
|
-
|
|
1
|
+
import { IAddressMandatoryFields } from '../../address/types/address.interfaces';
|
|
2
|
+
export interface IUpdateFacilityDetails {
|
|
3
|
+
stripeConfigurationId?: string | null;
|
|
4
|
+
tipConfigId?: number | null;
|
|
5
|
+
address?: IAddressMandatoryFields;
|
|
6
|
+
description?: string;
|
|
7
|
+
info?: string;
|
|
8
|
+
longDescription?: string;
|
|
9
|
+
name?: string;
|
|
10
|
+
timezone?: string;
|
|
11
|
+
}
|
|
12
|
+
export interface IFacilityNameAndCoordinates {
|
|
2
13
|
coordinates: number[];
|
|
3
14
|
facilityName: string;
|
|
4
15
|
}
|
|
16
|
+
export type FacilityRelation = 'address' | 'mainMedia' | 'openingTimes' | 'spaces' | 'resources' | 'programSeasons' | 'tipConfiguration' | 'products';
|
|
17
|
+
export interface IGetOrganizationFacilitiesOptions {
|
|
18
|
+
facilityIds?: number[];
|
|
19
|
+
hasLocation?: boolean;
|
|
20
|
+
hasStripeConfig?: boolean;
|
|
21
|
+
isTipConfigured?: boolean;
|
|
22
|
+
relations?: FacilityRelation[];
|
|
23
|
+
}
|
|
@@ -1,17 +1,20 @@
|
|
|
1
1
|
import { Organization } from '../../organization/entities/Organization';
|
|
2
2
|
import { PaymentMethodTypeEnum, SubPaymentMethodTypeEnum } from '../../payment/types/enums/payment.enums';
|
|
3
3
|
import { ActivityEnum, PlatformsEnum } from '../../services/enums.service';
|
|
4
|
+
import { FeeTypeEnum } from '../types/enums/fee.enums';
|
|
4
5
|
export declare class FindFeesFiltersDto {
|
|
5
6
|
platforms?: PlatformsEnum[];
|
|
6
7
|
paymentMethodTypes?: PaymentMethodTypeEnum[];
|
|
7
8
|
subPaymentMethodTypes?: SubPaymentMethodTypeEnum[];
|
|
9
|
+
types?: FeeTypeEnum[];
|
|
8
10
|
includeInactive?: boolean;
|
|
9
11
|
isBondFee?: boolean;
|
|
10
12
|
}
|
|
11
13
|
export declare class FeeFiltersFieldsDto {
|
|
12
14
|
platform: PlatformsEnum;
|
|
13
|
-
paymentMethodType
|
|
15
|
+
paymentMethodType?: PaymentMethodTypeEnum;
|
|
14
16
|
subPaymentMethodType?: SubPaymentMethodTypeEnum;
|
|
17
|
+
type?: FeeTypeEnum;
|
|
15
18
|
}
|
|
16
19
|
export declare class FindFeeFiltersDto extends FeeFiltersFieldsDto {
|
|
17
20
|
isBondFee?: boolean;
|
|
@@ -37,14 +40,14 @@ export declare class FeeFieldsDto {
|
|
|
37
40
|
name: string;
|
|
38
41
|
glCode?: string;
|
|
39
42
|
platform: PlatformsEnum;
|
|
40
|
-
paymentMethodType
|
|
43
|
+
paymentMethodType?: PaymentMethodTypeEnum;
|
|
41
44
|
subPaymentMethodType?: SubPaymentMethodTypeEnum;
|
|
42
45
|
max?: number;
|
|
43
46
|
}
|
|
44
47
|
export declare class CreateFeeDto extends FeeFieldsDto {
|
|
45
48
|
organizationId?: number;
|
|
46
49
|
status?: ActivityEnum;
|
|
47
|
-
|
|
50
|
+
type?: FeeTypeEnum;
|
|
48
51
|
percentageValue?: number;
|
|
49
52
|
fixValue?: number;
|
|
50
53
|
min?: number;
|
|
@@ -53,7 +56,7 @@ export declare class FeeDto extends FeeFieldsDto {
|
|
|
53
56
|
id: number;
|
|
54
57
|
organizationId: number;
|
|
55
58
|
status: ActivityEnum;
|
|
56
|
-
|
|
59
|
+
type: FeeTypeEnum;
|
|
57
60
|
percentageValue: number;
|
|
58
61
|
fixValue: number;
|
|
59
62
|
min: number;
|
|
@@ -1,10 +1,17 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.UpdateFeesDto = exports.CreateFeesDto = exports.FeeDto = exports.CreateFeeDto = exports.FeeFieldsDto = exports.UpdateFeeDto = exports.FeesIdsDto = exports.CalculateFeesDto = exports.CalculateFeeDto = exports.FindFeeFiltersDto = exports.FeeFiltersFieldsDto = exports.FindFeesFiltersDto = void 0;
|
|
4
|
+
const fee_enums_1 = require("../types/enums/fee.enums");
|
|
4
5
|
class FindFeesFiltersDto {
|
|
6
|
+
constructor() {
|
|
7
|
+
this.types = [fee_enums_1.FeeTypeEnum.TRANSACTION];
|
|
8
|
+
}
|
|
5
9
|
}
|
|
6
10
|
exports.FindFeesFiltersDto = FindFeesFiltersDto;
|
|
7
11
|
class FeeFiltersFieldsDto {
|
|
12
|
+
constructor() {
|
|
13
|
+
this.type = fee_enums_1.FeeTypeEnum.TRANSACTION;
|
|
14
|
+
}
|
|
8
15
|
}
|
|
9
16
|
exports.FeeFiltersFieldsDto = FeeFiltersFieldsDto;
|
|
10
17
|
class FindFeeFiltersDto extends FeeFiltersFieldsDto {
|
|
@@ -26,6 +33,10 @@ class FeeFieldsDto {
|
|
|
26
33
|
}
|
|
27
34
|
exports.FeeFieldsDto = FeeFieldsDto;
|
|
28
35
|
class CreateFeeDto extends FeeFieldsDto {
|
|
36
|
+
constructor() {
|
|
37
|
+
super(...arguments);
|
|
38
|
+
this.type = fee_enums_1.FeeTypeEnum.TRANSACTION;
|
|
39
|
+
}
|
|
29
40
|
}
|
|
30
41
|
exports.CreateFeeDto = CreateFeeDto;
|
|
31
42
|
class FeeDto extends FeeFieldsDto {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fee.dto.js","sourceRoot":"","sources":["../../../../src/types/fee/dto/fee.dto.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"fee.dto.js","sourceRoot":"","sources":["../../../../src/types/fee/dto/fee.dto.ts"],"names":[],"mappings":";;;AAIA,wDAAuD;AAEvD,MAAa,kBAAkB;IAA/B;QAOC,UAAK,GAAmB,CAAC,uBAAW,CAAC,WAAW,CAAC,CAAC;IAKnD,CAAC;CAAA;AAZD,gDAYC;AAED,MAAa,mBAAmB;IAAhC;QAOC,SAAI,GAAiB,uBAAW,CAAC,WAAW,CAAC;IAC9C,CAAC;CAAA;AARD,kDAQC;AAED,MAAa,iBAAkB,SAAQ,mBAAmB;CAEzD;AAFD,8CAEC;AAED,MAAa,eAAgB,SAAQ,mBAAmB;CAEvD;AAFD,0CAEC;AAED,MAAa,gBAAiB,SAAQ,mBAAmB;CAMxD;AAND,4CAMC;AAED,MAAa,UAAU;CAEtB;AAFD,gCAEC;AAED,MAAa,YAAY;CAQxB;AARD,oCAQC;AAED,MAAa,YAAY;CAYxB;AAZD,oCAYC;AAED,MAAa,YAAa,SAAQ,YAAY;IAA9C;;QAKC,SAAI,GAAiB,uBAAW,CAAC,WAAW,CAAC;IAO9C,CAAC;CAAA;AAZD,oCAYC;AAED,MAAa,MAAO,SAAQ,YAAY;CAgBvC;AAhBD,wBAgBC;AAED,MAAa,aAAa;CAEzB;AAFD,sCAEC;AAED,MAAa,aAAa;CAEzB;AAFD,sCAEC"}
|
|
@@ -2,15 +2,16 @@ import { OrganizationConnectionBaseEntity } from '../../entity/OrganizationConne
|
|
|
2
2
|
import { Organization } from '../../organization/entities/Organization';
|
|
3
3
|
import { PaymentMethodTypeEnum, SubPaymentMethodTypeEnum } from '../../payment/types/enums/payment.enums';
|
|
4
4
|
import { ActivityEnum, PlatformsEnum } from '../../services/enums.service';
|
|
5
|
+
import { FeeTypeEnum } from '../types/enums/fee.enums';
|
|
5
6
|
export declare class Fee extends OrganizationConnectionBaseEntity {
|
|
6
7
|
deletedAt?: Date;
|
|
8
|
+
type: FeeTypeEnum;
|
|
7
9
|
name: string;
|
|
8
10
|
glCode?: string;
|
|
9
11
|
status: ActivityEnum;
|
|
10
12
|
platform: PlatformsEnum;
|
|
11
|
-
paymentMethodType
|
|
13
|
+
paymentMethodType?: PaymentMethodTypeEnum;
|
|
12
14
|
subPaymentMethodType?: SubPaymentMethodTypeEnum;
|
|
13
|
-
isBondFee: boolean;
|
|
14
15
|
percentageValue: number;
|
|
15
16
|
fixValue: number;
|
|
16
17
|
min: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Fee.js","sourceRoot":"","sources":["../../../../src/types/fee/entities/Fee.ts"],"names":[],"mappings":";;;AAEA,oGAAiG;
|
|
1
|
+
{"version":3,"file":"Fee.js","sourceRoot":"","sources":["../../../../src/types/fee/entities/Fee.ts"],"names":[],"mappings":";;;AAEA,oGAAiG;AAOjG,MAAa,GAAI,SAAQ,mEAAgC;CA0BxD;AA1BD,kBA0BC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.FeeTypeEnum = void 0;
|
|
4
|
+
var FeeTypeEnum;
|
|
5
|
+
(function (FeeTypeEnum) {
|
|
6
|
+
FeeTypeEnum["TRANSACTION"] = "Transaction";
|
|
7
|
+
FeeTypeEnum["BOND"] = "Bond";
|
|
8
|
+
FeeTypeEnum["TIP"] = "Tip";
|
|
9
|
+
})(FeeTypeEnum = exports.FeeTypeEnum || (exports.FeeTypeEnum = {}));
|
|
10
|
+
//# sourceMappingURL=fee.enums.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fee.enums.js","sourceRoot":"","sources":["../../../../../src/types/fee/types/enums/fee.enums.ts"],"names":[],"mappings":";;;AAAA,IAAY,WAIX;AAJD,WAAY,WAAW;IACtB,0CAA2B,CAAA;IAC3B,4BAAa,CAAA;IACb,0BAAW,CAAA;AACZ,CAAC,EAJW,WAAW,GAAX,mBAAW,KAAX,mBAAW,QAItB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './fee.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("./fee.enums"), exports);
|
|
18
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/types/fee/types/enums/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,8CAA4B"}
|
|
@@ -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("./consts"), exports);
|
|
18
|
+
__exportStar(require("./enums"), exports);
|
|
18
19
|
__exportStar(require("./interfaces"), exports);
|
|
19
20
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/fee/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2CAAyB;AACzB,+CAA6B"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/fee/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2CAAyB;AACzB,0CAAwB;AACxB,+CAA6B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fee.interfaces.js","sourceRoot":"","sources":["../../../../../src/types/fee/types/interfaces/fee.interfaces.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"fee.interfaces.js","sourceRoot":"","sources":["../../../../../src/types/fee/types/interfaces/fee.interfaces.ts"],"names":[],"mappings":";;;AAqBA,MAAa,kBAAkB;CAQ9B;AARD,gDAQC"}
|
|
@@ -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
|
+
}
|
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"}
|