@bondsports/types 2.4.38-a-2 → 2.4.39
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/dist/types/dto/general.dto.d.ts +1 -1
- package/dist/types/entity/Facility.d.ts +0 -4
- package/dist/types/entity/Facility.js.map +1 -1
- package/dist/types/entity/Invoice.d.ts +0 -1
- package/dist/types/entity/Invoice.js.map +1 -1
- package/dist/types/facilities/types/facilities.types.d.ts +1 -20
- package/dist/types/fee/dto/fee.dto.d.ts +4 -7
- package/dist/types/fee/dto/fee.dto.js +0 -11
- package/dist/types/fee/dto/fee.dto.js.map +1 -1
- package/dist/types/fee/entities/Fee.d.ts +2 -3
- package/dist/types/fee/entities/Fee.js.map +1 -1
- package/dist/types/fee/types/index.d.ts +0 -1
- package/dist/types/fee/types/index.js +0 -1
- package/dist/types/fee/types/index.js.map +1 -1
- package/dist/types/fee/types/interfaces/fee.interfaces.d.ts +0 -1
- 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 -1
- package/dist/types/index.js +1 -1
- 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/payment/dto/payment.dto.d.ts +0 -1
- package/dist/types/payment/dto/payment.dto.js.map +1 -1
- package/dist/types/payment/entities/Payment.d.ts +0 -1
- package/dist/types/payment/entities/Payment.js.map +1 -1
- package/dist/types/payment/types/interfaces/payment.interfaces.d.ts +0 -1
- package/dist/types/public-api/dto/UsagePlanDto.d.ts +4 -0
- package/dist/types/public-api/dto/UsagePlanDto.js +11 -0
- package/dist/types/public-api/dto/UsagePlanDto.js.map +1 -0
- package/dist/types/public-api/dto/index.d.ts +1 -0
- package/dist/types/{tip-configurations/entities → public-api/dto}/index.js +1 -1
- package/dist/types/public-api/dto/index.js.map +1 -0
- package/dist/types/{tip-configurations → public-api}/index.d.ts +0 -1
- package/dist/types/{tip-configurations → public-api}/index.js +0 -1
- package/dist/types/public-api/index.js.map +1 -0
- package/dist/types/public-api/types/enums.d.ts +5 -0
- package/dist/types/public-api/types/enums.js +10 -0
- package/dist/types/public-api/types/enums.js.map +1 -0
- package/dist/types/public-api/types/index.d.ts +1 -0
- package/dist/types/{fee/types/enums → public-api/types}/index.js +1 -1
- package/dist/types/public-api/types/index.js.map +1 -0
- package/dist/types/purchase/dto/purchase.dto.d.ts +0 -2
- 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/package.json +2 -2
- package/LICENSE.md +0 -0
- package/dist/types/fee/types/enums/fee.enums.d.ts +0 -5
- package/dist/types/fee/types/enums/fee.enums.js +0 -10
- package/dist/types/fee/types/enums/fee.enums.js.map +0 -1
- package/dist/types/fee/types/enums/index.d.ts +0 -1
- package/dist/types/fee/types/enums/index.js.map +0 -1
- package/dist/types/tip-configurations/dto/index.d.ts +0 -1
- package/dist/types/tip-configurations/dto/index.js +0 -18
- package/dist/types/tip-configurations/dto/index.js.map +0 -1
- package/dist/types/tip-configurations/dto/tip-configuration.dto.d.ts +0 -43
- package/dist/types/tip-configurations/dto/tip-configuration.dto.js +0 -37
- package/dist/types/tip-configurations/dto/tip-configuration.dto.js.map +0 -1
- package/dist/types/tip-configurations/entities/TipConfiguration.d.ts +0 -11
- package/dist/types/tip-configurations/entities/TipConfiguration.js +0 -8
- package/dist/types/tip-configurations/entities/TipConfiguration.js.map +0 -1
- package/dist/types/tip-configurations/entities/index.d.ts +0 -1
- package/dist/types/tip-configurations/entities/index.js.map +0 -1
- package/dist/types/tip-configurations/index.js.map +0 -1
- package/dist/types/tip-configurations/types/consts/index.d.ts +0 -1
- package/dist/types/tip-configurations/types/consts/index.js +0 -18
- package/dist/types/tip-configurations/types/consts/index.js.map +0 -1
- package/dist/types/tip-configurations/types/consts/tip-configuration.consts.d.ts +0 -4
- package/dist/types/tip-configurations/types/consts/tip-configuration.consts.js +0 -7
- package/dist/types/tip-configurations/types/consts/tip-configuration.consts.js.map +0 -1
- package/dist/types/tip-configurations/types/enums/index.d.ts +0 -1
- package/dist/types/tip-configurations/types/enums/index.js +0 -18
- package/dist/types/tip-configurations/types/enums/index.js.map +0 -1
- package/dist/types/tip-configurations/types/enums/tipping-mode.enum.d.ts +0 -9
- package/dist/types/tip-configurations/types/enums/tipping-mode.enum.js +0 -15
- package/dist/types/tip-configurations/types/enums/tipping-mode.enum.js.map +0 -1
- package/dist/types/tip-configurations/types/index.d.ts +0 -3
- package/dist/types/tip-configurations/types/index.js +0 -20
- package/dist/types/tip-configurations/types/index.js.map +0 -1
- package/dist/types/tip-configurations/types/interfaces/index.d.ts +0 -1
- package/dist/types/tip-configurations/types/interfaces/index.js +0 -18
- package/dist/types/tip-configurations/types/interfaces/index.js.map +0 -1
- package/dist/types/tip-configurations/types/interfaces/tip-configuration.interfaces.d.ts +0 -39
- package/dist/types/tip-configurations/types/interfaces/tip-configuration.interfaces.js +0 -3
- package/dist/types/tip-configurations/types/interfaces/tip-configuration.interfaces.js.map +0 -1
|
@@ -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;
|
|
@@ -3,7 +3,6 @@ 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';
|
|
7
6
|
import { OpeningTime } from './OpeningTime';
|
|
8
7
|
import { OrganizationConnectionBaseEntity } from './OrganizationConnectionBaseEntity';
|
|
9
8
|
export declare class Facility extends OrganizationConnectionBaseEntity {
|
|
@@ -31,8 +30,5 @@ export declare class Facility extends OrganizationConnectionBaseEntity {
|
|
|
31
30
|
ordinal: number;
|
|
32
31
|
locationId?: string;
|
|
33
32
|
linkSEO: string;
|
|
34
|
-
tipConfigId: number;
|
|
35
|
-
tipConfiguration?: TipConfiguration;
|
|
36
|
-
stripeConfigurationId?: string;
|
|
37
33
|
products: Product[];
|
|
38
34
|
}
|
|
@@ -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":";;;AAmBA,yFAAsF;AAEtF,MAAa,QAAS,SAAQ,mEAAgC;CAmD7D;AAnDD,4BAmDC"}
|
|
@@ -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;CAuG1C;AAvGD,0BAuGC"}
|
|
@@ -1,23 +1,4 @@
|
|
|
1
|
-
|
|
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 {
|
|
1
|
+
export interface FacilityNameAndCoordinates {
|
|
13
2
|
coordinates: number[];
|
|
14
3
|
facilityName: string;
|
|
15
4
|
}
|
|
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,20 +1,17 @@
|
|
|
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';
|
|
5
4
|
export declare class FindFeesFiltersDto {
|
|
6
5
|
platforms?: PlatformsEnum[];
|
|
7
6
|
paymentMethodTypes?: PaymentMethodTypeEnum[];
|
|
8
7
|
subPaymentMethodTypes?: SubPaymentMethodTypeEnum[];
|
|
9
|
-
types?: FeeTypeEnum[];
|
|
10
8
|
includeInactive?: boolean;
|
|
11
9
|
isBondFee?: boolean;
|
|
12
10
|
}
|
|
13
11
|
export declare class FeeFiltersFieldsDto {
|
|
14
12
|
platform: PlatformsEnum;
|
|
15
|
-
paymentMethodType
|
|
13
|
+
paymentMethodType: PaymentMethodTypeEnum;
|
|
16
14
|
subPaymentMethodType?: SubPaymentMethodTypeEnum;
|
|
17
|
-
type?: FeeTypeEnum;
|
|
18
15
|
}
|
|
19
16
|
export declare class FindFeeFiltersDto extends FeeFiltersFieldsDto {
|
|
20
17
|
isBondFee?: boolean;
|
|
@@ -40,14 +37,14 @@ export declare class FeeFieldsDto {
|
|
|
40
37
|
name: string;
|
|
41
38
|
glCode?: string;
|
|
42
39
|
platform: PlatformsEnum;
|
|
43
|
-
paymentMethodType
|
|
40
|
+
paymentMethodType: PaymentMethodTypeEnum;
|
|
44
41
|
subPaymentMethodType?: SubPaymentMethodTypeEnum;
|
|
45
42
|
max?: number;
|
|
46
43
|
}
|
|
47
44
|
export declare class CreateFeeDto extends FeeFieldsDto {
|
|
48
45
|
organizationId?: number;
|
|
49
46
|
status?: ActivityEnum;
|
|
50
|
-
|
|
47
|
+
isBondFee?: boolean;
|
|
51
48
|
percentageValue?: number;
|
|
52
49
|
fixValue?: number;
|
|
53
50
|
min?: number;
|
|
@@ -56,7 +53,7 @@ export declare class FeeDto extends FeeFieldsDto {
|
|
|
56
53
|
id: number;
|
|
57
54
|
organizationId: number;
|
|
58
55
|
status: ActivityEnum;
|
|
59
|
-
|
|
56
|
+
isBondFee: boolean;
|
|
60
57
|
percentageValue: number;
|
|
61
58
|
fixValue: number;
|
|
62
59
|
min: number;
|
|
@@ -1,17 +1,10 @@
|
|
|
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");
|
|
5
4
|
class FindFeesFiltersDto {
|
|
6
|
-
constructor() {
|
|
7
|
-
this.types = [fee_enums_1.FeeTypeEnum.TRANSACTION];
|
|
8
|
-
}
|
|
9
5
|
}
|
|
10
6
|
exports.FindFeesFiltersDto = FindFeesFiltersDto;
|
|
11
7
|
class FeeFiltersFieldsDto {
|
|
12
|
-
constructor() {
|
|
13
|
-
this.type = fee_enums_1.FeeTypeEnum.TRANSACTION;
|
|
14
|
-
}
|
|
15
8
|
}
|
|
16
9
|
exports.FeeFiltersFieldsDto = FeeFiltersFieldsDto;
|
|
17
10
|
class FindFeeFiltersDto extends FeeFiltersFieldsDto {
|
|
@@ -33,10 +26,6 @@ class FeeFieldsDto {
|
|
|
33
26
|
}
|
|
34
27
|
exports.FeeFieldsDto = FeeFieldsDto;
|
|
35
28
|
class CreateFeeDto extends FeeFieldsDto {
|
|
36
|
-
constructor() {
|
|
37
|
-
super(...arguments);
|
|
38
|
-
this.type = fee_enums_1.FeeTypeEnum.TRANSACTION;
|
|
39
|
-
}
|
|
40
29
|
}
|
|
41
30
|
exports.CreateFeeDto = CreateFeeDto;
|
|
42
31
|
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":";;;AAKA,MAAa,kBAAkB;CAU9B;AAVD,gDAUC;AAED,MAAa,mBAAmB;CAM/B;AAND,kDAMC;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;CAY7C;AAZD,oCAYC;AAED,MAAa,MAAO,SAAQ,YAAY;CAgBvC;AAhBD,wBAgBC;AAED,MAAa,aAAa;CAEzB;AAFD,sCAEC;AAED,MAAa,aAAa;CAEzB;AAFD,sCAEC"}
|
|
@@ -2,16 +2,15 @@ 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';
|
|
6
5
|
export declare class Fee extends OrganizationConnectionBaseEntity {
|
|
7
6
|
deletedAt?: Date;
|
|
8
|
-
type: FeeTypeEnum;
|
|
9
7
|
name: string;
|
|
10
8
|
glCode?: string;
|
|
11
9
|
status: ActivityEnum;
|
|
12
10
|
platform: PlatformsEnum;
|
|
13
|
-
paymentMethodType
|
|
11
|
+
paymentMethodType: PaymentMethodTypeEnum;
|
|
14
12
|
subPaymentMethodType?: SubPaymentMethodTypeEnum;
|
|
13
|
+
isBondFee: boolean;
|
|
15
14
|
percentageValue: number;
|
|
16
15
|
fixValue: number;
|
|
17
16
|
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;AAMjG,MAAa,GAAI,SAAQ,mEAAgC;CA0BxD;AA1BD,kBA0BC"}
|
|
@@ -15,6 +15,5 @@ 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);
|
|
19
18
|
__exportStar(require("./interfaces"), exports);
|
|
20
19
|
//# 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
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/fee/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2CAAyB;AACzB,+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":";;;AAoBA,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
|
@@ -41,6 +41,7 @@ export * from './pricing';
|
|
|
41
41
|
export * from './product-pricing';
|
|
42
42
|
export * from './programs';
|
|
43
43
|
export * from './programs-seasons';
|
|
44
|
+
export * from './public-api';
|
|
44
45
|
export * from './punch-pass';
|
|
45
46
|
export * from './purchase';
|
|
46
47
|
export * from './questionnaires';
|
|
@@ -54,7 +55,6 @@ export * from './shifts';
|
|
|
54
55
|
export * from './standings-integration';
|
|
55
56
|
export * from './taxes';
|
|
56
57
|
export * from './teams';
|
|
57
|
-
export * from './tip-configurations';
|
|
58
58
|
export * from './user';
|
|
59
59
|
export * from './user-activities';
|
|
60
60
|
export * from './user-identification';
|
package/dist/types/index.js
CHANGED
|
@@ -57,6 +57,7 @@ __exportStar(require("./pricing"), exports);
|
|
|
57
57
|
__exportStar(require("./product-pricing"), exports);
|
|
58
58
|
__exportStar(require("./programs"), exports);
|
|
59
59
|
__exportStar(require("./programs-seasons"), exports);
|
|
60
|
+
__exportStar(require("./public-api"), exports);
|
|
60
61
|
__exportStar(require("./punch-pass"), exports);
|
|
61
62
|
__exportStar(require("./purchase"), exports);
|
|
62
63
|
__exportStar(require("./questionnaires"), exports);
|
|
@@ -70,7 +71,6 @@ __exportStar(require("./shifts"), exports);
|
|
|
70
71
|
__exportStar(require("./standings-integration"), exports);
|
|
71
72
|
__exportStar(require("./taxes"), exports);
|
|
72
73
|
__exportStar(require("./teams"), exports);
|
|
73
|
-
__exportStar(require("./tip-configurations"), exports);
|
|
74
74
|
__exportStar(require("./user"), exports);
|
|
75
75
|
__exportStar(require("./user-activities"), exports);
|
|
76
76
|
__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,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,
|
|
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"}
|
|
@@ -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,iBA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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"}
|
|
@@ -188,7 +188,6 @@ export declare class PaymentDto extends BasePaymentMethodFieldsDto {
|
|
|
188
188
|
invoices: Invoice[];
|
|
189
189
|
installments?: FutureInstallment[];
|
|
190
190
|
totalFeesAmount?: number;
|
|
191
|
-
tipAmount?: number;
|
|
192
191
|
lineItems: LineItems[];
|
|
193
192
|
invoiceToPayments: InvoiceToPayment[];
|
|
194
193
|
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,MAA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CA0EzD;AA1ED,gCA0EC;AAED,MAAa,kBAAkB;CAI9B;AAJD,gDAIC;AAED,MAAa,sBAAsB;CAYlC;AAZD,wDAYC;AAED,MAAa,sBAAsB;CAElC;AAFD,wDAEC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Payment.js","sourceRoot":"","sources":["../../../../src/types/payment/entities/Payment.ts"],"names":[],"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;CA6E5D;AA7ED,0BA6EC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UsagePlanDto = void 0;
|
|
4
|
+
const enums_1 = require("../types/enums");
|
|
5
|
+
class UsagePlanDto {
|
|
6
|
+
constructor() {
|
|
7
|
+
this.usagePlan = enums_1.ApiGatewayUsagePlanName.Enterprise;
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
exports.UsagePlanDto = UsagePlanDto;
|
|
11
|
+
//# sourceMappingURL=UsagePlanDto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"UsagePlanDto.js","sourceRoot":"","sources":["../../../../src/types/public-api/dto/UsagePlanDto.ts"],"names":[],"mappings":";;;AAAA,0CAAyD;AAEzD,MAAa,YAAY;IAAzB;QACC,cAAS,GAA4B,+BAAuB,CAAC,UAAU,CAAC;IACzE,CAAC;CAAA;AAFD,oCAEC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './UsagePlanDto';
|
|
@@ -14,5 +14,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./
|
|
17
|
+
__exportStar(require("./UsagePlanDto"), exports);
|
|
18
18
|
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/public-api/dto/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,iDAA+B"}
|
|
@@ -15,6 +15,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./dto"), exports);
|
|
18
|
-
__exportStar(require("./entities"), exports);
|
|
19
18
|
__exportStar(require("./types"), exports);
|
|
20
19
|
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/types/public-api/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wCAAsB;AACtB,0CAAwB"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ApiGatewayUsagePlanName = void 0;
|
|
4
|
+
var ApiGatewayUsagePlanName;
|
|
5
|
+
(function (ApiGatewayUsagePlanName) {
|
|
6
|
+
ApiGatewayUsagePlanName["Enterprise"] = "enterprise";
|
|
7
|
+
ApiGatewayUsagePlanName["Pro"] = "pro";
|
|
8
|
+
ApiGatewayUsagePlanName["Free"] = "free";
|
|
9
|
+
})(ApiGatewayUsagePlanName = exports.ApiGatewayUsagePlanName || (exports.ApiGatewayUsagePlanName = {}));
|
|
10
|
+
//# sourceMappingURL=enums.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"enums.js","sourceRoot":"","sources":["../../../../src/types/public-api/types/enums.ts"],"names":[],"mappings":";;;AAAA,IAAY,uBAIX;AAJD,WAAY,uBAAuB;IAClC,oDAAyB,CAAA;IACzB,sCAAW,CAAA;IACX,wCAAa,CAAA;AACd,CAAC,EAJW,uBAAuB,GAAvB,+BAAuB,KAAvB,+BAAuB,QAIlC"}
|