@bondsports/types 2.2.284-a-5 → 2.2.284-a-6
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/programs-seasons/entities/ProgramSeason.d.ts +2 -3
- package/dist/types/reservations/dto/reservation.dto.d.ts +3 -2
- package/dist/types/reservations/dto/reservation.dto.js.map +1 -1
- package/dist/types/reservations/dto/slot.dto.d.ts +1 -1
- package/dist/types/reservations/entities/segment.entity.d.ts +2 -1
- package/dist/types/reservations/entities/segment.entity.js.map +1 -1
- package/dist/types/reservations/types/interfaces/slot.interfaces.d.ts +1 -1
- package/dist/types/resources/types/interfaces/resource.interfaces.d.ts +4 -3
- package/package.json +1 -1
@@ -13,9 +13,8 @@ import { ResourceGlDto } from '../../gl-codes/dto/resource-to-gl.dto';
|
|
13
13
|
import { Product } from '../../product-pricing/entities/Product';
|
14
14
|
import { Program } from '../../programs/entities/Program';
|
15
15
|
import { ResourceSetting } from '../../resource-settings/entities/resource-setting.entity';
|
16
|
-
import { Resource } from '../../resources/entities/Resource';
|
17
16
|
import { GenderEnum, LevelOfPlayEnum, ProgramSeasonTypesEnum, PublishingStatusEnum, SportsEnum } from '../../services/enums.service';
|
18
|
-
import { EventAsSeasonSegment, SeasonAsSeasonSegment } from '../../services/interfaces.service';
|
17
|
+
import { EventAsSeasonSegment, IBasicSpaceAndSlotCreator, SeasonAsSeasonSegment } from '../../services/interfaces.service';
|
19
18
|
import { SegmentsMetadata } from '../types/classes/program-season.classes';
|
20
19
|
export declare class ProgramSeason extends OrganizationConnectionBaseEntity {
|
21
20
|
programId: number;
|
@@ -56,7 +55,7 @@ export declare class ProgramSeason extends OrganizationConnectionBaseEntity {
|
|
56
55
|
deletedAt?: Date;
|
57
56
|
segments?: (SeasonAsSeasonSegment | EventAsSeasonSegment)[];
|
58
57
|
program: Program;
|
59
|
-
spaces?:
|
58
|
+
spaces?: IBasicSpaceAndSlotCreator[];
|
60
59
|
reservationId?: number;
|
61
60
|
earlyRegistrationStartDate?: Date;
|
62
61
|
earlyRegistrationEndDate?: Date;
|
@@ -15,7 +15,7 @@ import { Product } from '../../product-pricing/entities/Product';
|
|
15
15
|
import { PurchasePaymentDto, PurchaseResultDto } from '../../purchase/dto/purchase.dto';
|
16
16
|
import { InstructorResourceDto } from '../../resources/dto/instructor.dto';
|
17
17
|
import { SpaceResourceDto } from '../../resources/dto/space.dto';
|
18
|
-
import { AddonParentTypeEnum, FinancialStepEnum, NotifyMethodEnum, OrderByEnum, PlatformsEnum, ProductPackageLevelEnum, ProgramTypesEnum, ResourceNameTypeEnum, ResourceTypeEnum, SportsEnum, UpdatePricesTypeEnum } from '../../services/enums.service';
|
18
|
+
import { AddonParentTypeEnum, FinancialStepEnum, NotifyMethodEnum, OrderByEnum, PlatformsEnum, ProductPackageLevelEnum, ProgramTypesEnum, ResourceNameTypeEnum, ResourceSubTypeEnum, ResourceTypeEnum, SportsEnum, UpdatePricesTypeEnum } from '../../services/enums.service';
|
19
19
|
import { Reservation } from '../entities/reservation.entity';
|
20
20
|
import { PrivacySettingsEnum, ReservationPaymentStatusEnum, ReservationStatusEnum, ReservationTypeEnum, SlotTypeEnum } from '../types/enums/reservation.enums';
|
21
21
|
import { ISegmentsAddons } from '../types/interfaces/addon.interfaces';
|
@@ -170,12 +170,13 @@ export declare class FindSlotsByFacilityIdFiltersDto {
|
|
170
170
|
startDate: string;
|
171
171
|
endDate: string;
|
172
172
|
limit: number;
|
173
|
-
|
173
|
+
slotTypes?: SlotTypeEnum[];
|
174
174
|
includeBlocking?: boolean;
|
175
175
|
onlyActiveSessions?: boolean;
|
176
176
|
checkConflicts?: boolean;
|
177
177
|
resourcesIds?: number[];
|
178
178
|
resourcesTypes?: ResourceTypeEnum[];
|
179
|
+
spaceSubtypes: ResourceSubTypeEnum[];
|
179
180
|
programTypes?: ProgramTypesEnum[];
|
180
181
|
paymentStatuses?: ReservationPaymentStatusEnum[];
|
181
182
|
reservationStatuses?: ReservationStatusEnum[];
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"reservation.dto.js","sourceRoot":"","sources":["../../../../src/types/reservations/dto/reservation.dto.ts"],"names":[],"mappings":";;;;AAKA,uDAA2E;AAE3E,+DAAmG;AAEnG,8EAA8E;AAO9E,kEAAwF;AAiDxF,MAAM,uBAAuB,GAAG,IAAI,CAAC;AAErC,MAAM,gBAAgB,GAAG,CAAC,CAAC;AAC3B,MAAM,iBAAiB,GAAG,EAAE,CAAC;AAE7B,MAAa,gBAAgB;CAc5B;AAdD,4CAcC;AAED,MAAM,kBAAkB;CAgCvB;AAED,MAAa,oBAAqB,SAAQ,kBAAkB;CAM3D;AAND,oDAMC;AAED,MAAa,oBAAoB;CAQhC;AARD,oDAQC;AAED,MAAa,cAAe,SAAQ,oBAAoB;CAWvD;AAXD,wCAWC;AAED,MAAa,kCAAkC;CAc9C;AAdD,gFAcC;AAED,MAAM,oBAAqB,SAAQ,kCAAkC;CAEpE;AAED,MAAM,0BAA0B;CAM/B;AAED,MAAa,uBAAwB,SAAQ,0BAA0B;CAEtE;AAFD,0DAEC;AAED,MAAa,iBAAkB,SAAQ,uBAAuB;CAE7D;AAFD,8CAEC;AAED,MAAa,yBAA0B,SAAQ,kBAAkB;CAEhE;AAFD,8DAEC;AAED,MAAa,yBAA0B,SAAQ,yBAAyB;CAIvE;AAJD,8DAIC;AAED,MAAa,mBAAoB,SAAQ,yBAAyB;CAsBjE;AAtBD,kDAsBC;AAED,MAAa,wBAAwB;CAQpC;AARD,4DAQC;AAED,MAAa,4BAA4B;CAcxC;AAdD,oEAcC;AAED,MAAa,iBAAiB;CAI7B;AAJD,8CAIC;AAED,MAAM,cAAc;CAQnB;AAED,MAAa,yBAA0B,SAAQ,cAAc;CAE5D;AAFD,8DAEC;AAED,MAAa,WAAW;CAUvB;AAVD,kCAUC;AAED,MAAa,UAAW,SAAQ,WAAW;CAI1C;AAJD,gCAIC;AAED,MAAa,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AAED,MAAa,yBAAyB;CAYrC;AAZD,8DAYC;AAED,MAAa,iCAAkC,SAAQ,6BAAe;CAIrE;AAJD,8EAIC;AAED,MAAa,6BAA6B;CAoBzC;AApBD,sEAoBC;AAED,MAAa,oBAAoB;CAUhC;AAVD,oDAUC;AAED,MAAa,WAAY,SAAQ,oBAAoB;CAEpD;AAFD,kCAEC;AAED,MAAa,gBAAiB,SAAQ,uBAAuB;CAE5D;AAFD,4CAEC;AAED,MAAa,sBAAsB;CAMlC;AAND,wDAMC;AAED,MAAa,mBAAmB;CAM/B;AAND,kDAMC;AAED,MAAa,sBAAuB,SAAQ,0BAA0B;CAErE;AAFD,wDAEC;AAED,MAAa,oBAAoB;CAIhC;AAJD,oDAIC;AAED,MAAa,0BAA0B;CAUtC;AAVD,gEAUC;AAED,MAAa,qBAAqB;CAMjC;AAND,sDAMC;AAED,MAAa,uBAAuB;CAEnC;AAFD,0DAEC;AAED,MAAa,uBAAuB;CAEnC;AAFD,0DAEC;AAED,MAAa,4BAA6B,SAAQ,uBAAuB;CAUxE;AAVD,oEAUC;AAED,MAAa,sBAAsB;CAkBlC;AAlBD,wDAkBC;AAED,MAAa,0BAA0B;CAItC;AAJD,gEAIC;AAED,MAAa,4BAA4B;CAkBxC;AAlBD,oEAkBC;AAED,MAAa,0BAA0B;CAEtC;AAFD,gEAEC;AAED,MAAa,6BAA6B;CAIzC;AAJD,sEAIC"}
|
@@ -8,9 +8,10 @@ export declare class Segment extends OrganizationConnectionBaseEntity {
|
|
8
8
|
reservation?: Reservation;
|
9
9
|
title: string;
|
10
10
|
sportId: number;
|
11
|
+
resourceIds?: number[];
|
12
|
+
instructorsIds?: number[];
|
11
13
|
series?: Series[];
|
12
14
|
slots?: Slot[];
|
13
|
-
resourceIds?: number[];
|
14
15
|
addonIds?: number[];
|
15
16
|
isPrivate: boolean;
|
16
17
|
publicNotesForSlots?: string;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"segment.entity.js","sourceRoot":"","sources":["../../../../src/types/reservations/entities/segment.entity.ts"],"names":[],"mappings":";;;AACA,oGAAiG;AAKjG,MAAa,OAAQ,SAAQ,mEAAgC;
|
1
|
+
{"version":3,"file":"segment.entity.js","sourceRoot":"","sources":["../../../../src/types/reservations/entities/segment.entity.ts"],"names":[],"mappings":";;;AACA,oGAAiG;AAKjG,MAAa,OAAQ,SAAQ,mEAAgC;CAwB5D;AAxBD,0BAwBC"}
|
@@ -1,18 +1,19 @@
|
|
1
1
|
import { SimpleResourceDto } from '../../../dto/general.dto';
|
2
2
|
import { PackageV1 } from '../../../entity/PackageV1';
|
3
|
-
import { ActivityEnum, OrderByEnum, ResourceNameTypeEnum, ResourceTypeEnum, SportsEnum } from '../../../services/enums.service';
|
3
|
+
import { ActivityEnum, OrderByEnum, ResourceNameTypeEnum, ResourceSubTypeEnum, ResourceTypeEnum, SportsEnum } from '../../../services/enums.service';
|
4
4
|
import { OrderByResourceEnum } from '../enums/resources.enums';
|
5
5
|
export interface ParentResources extends SimpleResourceDto {
|
6
6
|
parentId: number;
|
7
7
|
parentType?: ResourceNameTypeEnum;
|
8
8
|
}
|
9
9
|
export interface IGetResourcesOptions {
|
10
|
-
nameSearch?: string;
|
11
|
-
resourceTypes?: ResourceTypeEnum[];
|
12
10
|
facilitiesIds?: number[];
|
13
11
|
resourcesIds?: number[];
|
12
|
+
resourceTypes?: ResourceTypeEnum[];
|
13
|
+
spaceSubtypes?: ResourceSubTypeEnum[];
|
14
14
|
sports?: SportsEnum[];
|
15
15
|
statuses?: ActivityEnum[];
|
16
|
+
nameSearch?: string;
|
16
17
|
order?: OrderByEnum;
|
17
18
|
sortBy?: OrderByResourceEnum;
|
18
19
|
includeActivityTimes?: boolean;
|