@bondsports/types 2.2.4 → 2.2.6
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/dist/types/dto/activityTimes.dto.d.ts +13 -0
- package/dist/types/dto/activityTimes.dto.js +4 -1
- package/dist/types/dto/activityTimes.dto.js.map +1 -1
- package/dist/types/product-pricing/dto/product.dto.d.ts +1 -1
- package/dist/types/programs-seasons/dto/program-seasons.dto.d.ts +2 -9
- package/dist/types/programs-seasons/dto/program-seasons.dto.js +1 -4
- package/dist/types/programs-seasons/dto/program-seasons.dto.js.map +1 -1
- package/dist/types/purchase/dto/purchase.dto.d.ts +1 -0
- package/dist/types/purchase/dto/purchase.dto.js.map +1 -1
- package/dist/types/resources/dto/instructor.dto.js.map +1 -1
- package/dist/types/resources/dto/resource.dto.d.ts +3 -3
- package/dist/types/resources/dto/resource.dto.js.map +1 -1
- package/dist/types/user-activities/dto/user-activities.dto.d.ts +1 -1
- package/dist/types/user-activities/dto/user-activities.dto.js.map +1 -1
- package/package.json +1 -1
@@ -1,3 +1,4 @@
|
|
1
|
+
import { ProductTypesEnum, ResourceNameTypeEnum } from '../services/enums.service';
|
1
2
|
export declare class BasicActivityTimesDto {
|
2
3
|
dayOfWeek: number;
|
3
4
|
close: string;
|
@@ -8,3 +9,15 @@ export declare class BasicActivityTimesDto {
|
|
8
9
|
groupId?: string;
|
9
10
|
isSameAsFacility?: boolean;
|
10
11
|
}
|
12
|
+
export declare class ActivityTimesDto {
|
13
|
+
parentId?: number;
|
14
|
+
parentType?: ResourceNameTypeEnum | ProductTypesEnum;
|
15
|
+
dayOfWeek: number;
|
16
|
+
close: string;
|
17
|
+
open: string;
|
18
|
+
availabilityStartDate?: string;
|
19
|
+
availabilityEndDate?: string;
|
20
|
+
facilityId?: number;
|
21
|
+
groupId?: string;
|
22
|
+
isSameAsFacility?: boolean;
|
23
|
+
}
|
@@ -1,7 +1,10 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.BasicActivityTimesDto = void 0;
|
3
|
+
exports.ActivityTimesDto = exports.BasicActivityTimesDto = void 0;
|
4
4
|
class BasicActivityTimesDto {
|
5
5
|
}
|
6
6
|
exports.BasicActivityTimesDto = BasicActivityTimesDto;
|
7
|
+
class ActivityTimesDto {
|
8
|
+
}
|
9
|
+
exports.ActivityTimesDto = ActivityTimesDto;
|
7
10
|
//# sourceMappingURL=activityTimes.dto.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"activityTimes.dto.js","sourceRoot":"","sources":["../../../src/types/dto/activityTimes.dto.ts"],"names":[],"mappings":";;;
|
1
|
+
{"version":3,"file":"activityTimes.dto.js","sourceRoot":"","sources":["../../../src/types/dto/activityTimes.dto.ts"],"names":[],"mappings":";;;AAEA,MAAa,qBAAqB;CAgBjC;AAhBD,sDAgBC;AAED,MAAa,gBAAgB;CAoB5B;AApBD,4CAoBC"}
|
@@ -15,12 +15,12 @@ import { ProductsReservedForCustomers } from '../../entity/ProductsReservedForCu
|
|
15
15
|
import { Membership } from '../../entity/Membership';
|
16
16
|
import { ProductsUsers } from '../../entity/ProductsUsers';
|
17
17
|
import { CustomerDto } from '../../dto/customer.dto';
|
18
|
-
import { ActivityTimesDto } from '../../programs-seasons/dto/program-seasons.dto';
|
19
18
|
import { PurchasedResourceDto } from '../../reservations/dto/purcased-resource.dto';
|
20
19
|
import { ResourceSettingDto } from '../../resource-settings/dto/resource-setting.dto';
|
21
20
|
import { LineItemDto } from '../../reservations/dto/lineItem.dto';
|
22
21
|
import { Product } from '../entities/Product';
|
23
22
|
import { IPricingSchedule } from '../types/interfaces/product-pricing.interfaces';
|
23
|
+
import { ActivityTimesDto } from '../../dto/activityTimes.dto';
|
24
24
|
export declare class FindByProductIdDto {
|
25
25
|
productId: number;
|
26
26
|
}
|
@@ -6,7 +6,8 @@ import { ByProgramDto, UpdateProgramOptionsDto } from '../../programs/dto/progra
|
|
6
6
|
import { MaintenanceDto } from '../../reservations/dto/maintenance.dto';
|
7
7
|
import { ITimeSlotConflicts } from '../../reservations/types/interfaces/reservation.interfaces';
|
8
8
|
import { CreateOrUpdateResourceSettingDto } from '../../resource-settings/dto/create-or-update-resource-setting.dto';
|
9
|
-
import { GenderEnum, LevelOfPlayEnum, OrderByEnum,
|
9
|
+
import { GenderEnum, LevelOfPlayEnum, OrderByEnum, ProgramSeasonTypesEnum, ProgramTypesEnum, PublishingStatusEnum, RegistrationConstraintPeriodTypeEnum, ResourceNameTypeEnum, SlotTypeEnum, SportsEnum } from '../../services/enums.service';
|
10
|
+
import { ActivityTimesDto } from '../../dto/activityTimes.dto';
|
10
11
|
export declare class FindSessionsFiltersDto {
|
11
12
|
status?: PublishingStatusEnum;
|
12
13
|
isFullFetch?: boolean;
|
@@ -60,14 +61,6 @@ export declare class BlockedDatesDto {
|
|
60
61
|
startDate: Date;
|
61
62
|
endDate: Date;
|
62
63
|
}
|
63
|
-
export declare class ActivityTimesDto {
|
64
|
-
dayOfWeek: number;
|
65
|
-
open: string;
|
66
|
-
close: string;
|
67
|
-
parentId?: number;
|
68
|
-
parentType?: ResourceNameTypeEnum | ProductTypesEnum;
|
69
|
-
id?: number;
|
70
|
-
}
|
71
64
|
export declare class BaseProgramSeasonDto {
|
72
65
|
programId?: number;
|
73
66
|
name: string;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.GetRelatedProgramSessionsDto = exports.RelatedSessionsDto = exports.GetOrganizationProgramSessionsDto = exports.NotifySessionAttendeesDto = exports.NotifyEventAttendeesDto = exports.EventsAndConflictsDto = exports.UpdateProgramSeasonOptionsDto = exports.UpdateProgramSeasonColorsDto = exports.MoveParticipantDto = exports.RegistrationSettingsDto = exports.RegistrationDatesDto = exports.UpdateSeasonRegistrationDatesDto = exports.MoveAttendeeDto = exports.UpdateSeasonDatesDto = exports.SpaceAllocationsByTimesDto = exports.SingleSpaceAllocationByTimesDto = exports.BulkSpaceResourceAllocationDto = exports.SpaceResourcePairDto = exports.SimpleSessionDto = exports.ShallowUpdateSubSeasonDto = exports.ShallowUpdateProgramSeasonDto = exports.UpdateProgramSeasonStatusDto = exports.UpdateProgramSeasonDto = exports.CreateProgramSeasonDto = exports.SubSeasonBasicInfo = exports.CreateSessionScheduleDto = exports.BaseProgramSeasonDto = exports.
|
3
|
+
exports.GetRelatedProgramSessionsDto = exports.RelatedSessionsDto = exports.GetOrganizationProgramSessionsDto = exports.NotifySessionAttendeesDto = exports.NotifyEventAttendeesDto = exports.EventsAndConflictsDto = exports.UpdateProgramSeasonOptionsDto = exports.UpdateProgramSeasonColorsDto = exports.MoveParticipantDto = exports.RegistrationSettingsDto = exports.RegistrationDatesDto = exports.UpdateSeasonRegistrationDatesDto = exports.MoveAttendeeDto = exports.UpdateSeasonDatesDto = exports.SpaceAllocationsByTimesDto = exports.SingleSpaceAllocationByTimesDto = exports.BulkSpaceResourceAllocationDto = exports.SpaceResourcePairDto = exports.SimpleSessionDto = exports.ShallowUpdateSubSeasonDto = exports.ShallowUpdateProgramSeasonDto = exports.UpdateProgramSeasonStatusDto = exports.UpdateProgramSeasonDto = exports.CreateProgramSeasonDto = exports.SubSeasonBasicInfo = exports.CreateSessionScheduleDto = exports.BaseProgramSeasonDto = exports.BlockedDatesDto = exports.FindRegisteredUsersOptionsDto = exports.FindRegisteredUserDto = exports.DeleteProductDto = exports.FindSessionEventByIdDto = exports.ByOrganizationIdAndProgramSeasonIdDto = exports.FindSeasonEventsQueryDto = exports.SegmentsBySessionQueryDto = exports.FindProgramSeasonByIdDto = exports.FindProgramSeasonByIdQueryDto = exports.DeleteEventAttendeesDto = exports.BySeasonDto = exports.FindSessionsFiltersDto = void 0;
|
4
4
|
const general_dto_1 = require("../../dto/general.dto");
|
5
5
|
const backoffice_notify_dto_1 = require("../../notifications/dto/backoffice.notify.dto");
|
6
6
|
const organization_dto_1 = require("../../organization/dto/organization.dto");
|
@@ -44,9 +44,6 @@ exports.FindRegisteredUsersOptionsDto = FindRegisteredUsersOptionsDto;
|
|
44
44
|
class BlockedDatesDto {
|
45
45
|
}
|
46
46
|
exports.BlockedDatesDto = BlockedDatesDto;
|
47
|
-
class ActivityTimesDto {
|
48
|
-
}
|
49
|
-
exports.ActivityTimesDto = ActivityTimesDto;
|
50
47
|
class BaseProgramSeasonDto {
|
51
48
|
}
|
52
49
|
exports.BaseProgramSeasonDto = BaseProgramSeasonDto;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"program-seasons.dto.js","sourceRoot":"","sources":["../../../../src/types/programs-seasons/dto/program-seasons.dto.ts"],"names":[],"mappings":";;;AACA,uDAAyF;AAEzF,yFAAoF;AACpF,8EAAyG;AACzG,gEAAuF;
|
1
|
+
{"version":3,"file":"program-seasons.dto.js","sourceRoot":"","sources":["../../../../src/types/programs-seasons/dto/program-seasons.dto.ts"],"names":[],"mappings":";;;AACA,uDAAyF;AAEzF,yFAAoF;AACpF,8EAAyG;AACzG,gEAAuF;AAmBvF,MAAa,sBAAsB;CAIlC;AAJD,wDAIC;AAED,MAAa,WAAY,SAAQ,0BAAY;CAE5C;AAFD,kCAEC;AAED,MAAa,uBAAuB;CAEnC;AAFD,0DAEC;AAED,MAAa,6BAA6B;CAEzC;AAFD,sEAEC;AAED,MAAa,wBAAyB,SAAQ,4CAAyB;CAEtE;AAFD,4DAEC;AAED,MAAa,yBAAyB;CAUrC;AAVD,8DAUC;AACD,MAAa,wBAAyB,SAAQ,6BAAe;CAU5D;AAVD,4DAUC;AAED,MAAa,qCAAsC,SAAQ,sCAAmB;CAE7E;AAFD,sFAEC;AAED,MAAa,uBAAuB;CAGnC;AAHD,0DAGC;AAED,MAAa,gBAAgB;CAE5B;AAFD,4CAEC;AAED,MAAa,qBAAsB,SAAQ,wBAAwB;CAElE;AAFD,sDAEC;AAED,MAAa,6BAA8B,SAAQ,6BAAe;CAMjE;AAND,sEAMC;AAED,MAAa,eAAe;CAM3B;AAND,0CAMC;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C"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"purchase.dto.js","sourceRoot":"","sources":["../../../../src/types/purchase/dto/purchase.dto.ts"],"names":[],"mappings":";;;AAIA,8EAA8E;AAQ9E,mEAA+D;AAK/D,MAAa,kBAAkB;CAQ9B;AARD,gDAQC;AAED,MAAa,uBAAuB;CAkBnC;AAlBD,0DAkBC;AAED,MAAa,kBAAkB;
|
1
|
+
{"version":3,"file":"purchase.dto.js","sourceRoot":"","sources":["../../../../src/types/purchase/dto/purchase.dto.ts"],"names":[],"mappings":";;;AAIA,8EAA8E;AAQ9E,mEAA+D;AAK/D,MAAa,kBAAkB;CAQ9B;AARD,gDAQC;AAED,MAAa,uBAAuB;CAkBnC;AAlBD,0DAkBC;AAED,MAAa,kBAAkB;CAiC9B;AAjCD,gDAiCC;AAED,MAAa,mBAAoB,SAAQ,0BAAW;CAInD;AAJD,kDAIC;AAED,MAAa,kBAAkB;CA6B9B;AA7BD,gDA6BC;AAED,MAAa,kCAAkC;CAM9C;AAND,gFAMC;AAED,MAAa,0BAA2B,SAAQ,sCAAmB;CAIlE;AAJD,gEAIC;AAED,MAAa,8BAA8B;CAU1C;AAVD,wEAUC;AAED,MAAa,wBAAwB;CAgBpC;AAhBD,4DAgBC;AAED,MAAa,yBAAyB;CAQrC;AARD,8DAQC;AAED,MAAa,WAAW;IAAxB;QAGC,qBAAgB,GAAG,KAAK,CAAC;QAEzB,aAAQ,GAAG,KAAK,CAAC;IAClB,CAAC;CAAA;AAND,kCAMC;AAED,MAAa,uBAAuB;CAUnC;AAVD,0DAUC;AAED,MAAa,sBAAsB;CAElC;AAFD,wDAEC;AAED,MAAa,iBAAiB;CAU7B;AAVD,8CAUC;AAED,MAAa,eAAe;CAgB3B;AAhBD,0CAgBC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"instructor.dto.js","sourceRoot":"","sources":["../../../../src/types/resources/dto/instructor.dto.ts"],"names":[],"mappings":";;;
|
1
|
+
{"version":3,"file":"instructor.dto.js","sourceRoot":"","sources":["../../../../src/types/resources/dto/instructor.dto.ts"],"names":[],"mappings":";;;AAcA,iDAAiG;AAEjG,MAAa,qBAAqB;CA8DjC;AA9DD,sDA8DC;AAED,MAAa,mBAAoB,SAAQ,sCAAuB;CAsB/D;AAtBD,kDAsBC;AAED,MAAa,mBAAoB,SAAQ,gCAAiB;CAIzD;AAJD,kDAIC;AAED,MAAa,oBAAoB;CAEhC;AAFD,oDAEC;AAED,MAAa,gBAAgB;CAY5B;AAZD,4CAYC"}
|
@@ -8,7 +8,7 @@ import { MediaDto } from '../../media/dto/media.dto';
|
|
8
8
|
import { IGetFacilityResourcesOptions, IGetResourceByIdsOptions } from '../types/interfaces/resource.interfaces';
|
9
9
|
import { ByOrganizationIdDto } from '../../organization/dto/organization.dto';
|
10
10
|
import { OrderByResourceEnum } from '../types/enums/resources.enums';
|
11
|
-
import {
|
11
|
+
import { ActivityTimesDto } from '../../dto/activityTimes.dto';
|
12
12
|
export declare class ResourceDto {
|
13
13
|
id: number;
|
14
14
|
type: ResourceNameTypeEnum;
|
@@ -38,7 +38,7 @@ export declare class SpaceResourceDto extends IdAndNameDto {
|
|
38
38
|
deletedAt?: Date;
|
39
39
|
userId?: number;
|
40
40
|
status?: ActivityEnum;
|
41
|
-
activityTimes?:
|
41
|
+
activityTimes?: ActivityTimesDto[];
|
42
42
|
facilities?: FacilityDto[];
|
43
43
|
slots?: Slot[];
|
44
44
|
addons?: Addon[];
|
@@ -88,7 +88,7 @@ export declare class ByResourceTypeDto {
|
|
88
88
|
resourceType: ResourceTypeEnum;
|
89
89
|
}
|
90
90
|
export declare class ResourceScheduleDto {
|
91
|
-
activityTimes:
|
91
|
+
activityTimes: ActivityTimesDto[];
|
92
92
|
}
|
93
93
|
export declare class UpdateResourceDto {
|
94
94
|
id: number;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"resource.dto.js","sourceRoot":"","sources":["../../../../src/types/resources/dto/resource.dto.ts"],"names":[],"mappings":";;;AAAA,uDAA+E;AAoB/E,8EAA8E;
|
1
|
+
{"version":3,"file":"resource.dto.js","sourceRoot":"","sources":["../../../../src/types/resources/dto/resource.dto.ts"],"names":[],"mappings":";;;AAAA,uDAA+E;AAoB/E,8EAA8E;AAK9E,MAAa,WAAW;CAIvB;AAJD,kCAIC;AAED,MAAa,iBAAkB,SAAQ,0BAAY;CAAG;AAAtD,8CAAsD;AAEtD,MAAa,gBAAiB,SAAQ,0BAAY;CA8DjD;AA9DD,4CA8DC;AAED,MAAa,uBAAuB;CAInC;AAJD,0DAIC;AAED,MAAa,+BAA+B;CAY3C;AAZD,0EAYC;AAED,MAAa,yBAA0B,SAAQ,sCAAwB;CAMtE;AAND,8DAMC;AAED,MAAa,kCAAmC,SAAQ,sCAAmB;CAE1E;AAFD,gFAEC;AAED,MAAa,2BAA4B,SAAQ,sCAAmB;CAEnE;AAFD,kEAEC;AAED,MAAa,uCAAwC,SAAQ,kCAAkC;CAE9F;AAFD,0FAEC;AAED,MAAa,6BAA8B,SAAQ,sCAAmB;CAErE;AAFD,sEAEC;AAED,MAAa,wBAAwB;CAUpC;AAVD,4DAUC;AAED,MAAa,iBAAiB;CAE7B;AAFD,8CAEC;AAED,MAAa,mBAAmB;CAE/B;AAFD,kDAEC;AAED,MAAa,iBAAiB;CAsB7B;AAtBD,8CAsBC"}
|
@@ -1,8 +1,8 @@
|
|
1
|
-
import { ActivityTimesDto } from '../../programs-seasons/dto/program-seasons.dto';
|
2
1
|
import { OrderByEnum } from '../../services/enums.service';
|
3
2
|
import { ByOrganizationAndUserDto } from '../../user/dto/user.dto';
|
4
3
|
import { PaginationQuery } from '../../dto/general.dto';
|
5
4
|
import { UserActivityTypesEnum } from '../types/user-activities.enums';
|
5
|
+
import { ActivityTimesDto } from '../../dto/activityTimes.dto';
|
6
6
|
export declare class UserActivityDto {
|
7
7
|
activityType: UserActivityTypesEnum;
|
8
8
|
activityId: number;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"user-activities.dto.js","sourceRoot":"","sources":["../../../../src/types/user-activities/dto/user-activities.dto.ts"],"names":[],"mappings":";;;
|
1
|
+
{"version":3,"file":"user-activities.dto.js","sourceRoot":"","sources":["../../../../src/types/user-activities/dto/user-activities.dto.ts"],"names":[],"mappings":";;;AAEA,sDAAmE;AACnE,uDAAwD;AAIxD,MAAa,eAAe;CAM3B;AAND,0CAMC;AAED,MAAa,sBAAsB;CAYlC;AAZD,wDAYC;AAED,MAAa,wBAAyB,SAAQ,sBAAsB;CAAG;AAAvE,4DAAuE;AAEvE,MAAa,eAAe;CAoB3B;AApBD,0CAoBC;AAED,MAAa,iBAAiB;CAgB7B;AAhBD,8CAgBC;AAED,MAAa,qCAAsC,SAAQ,mCAAwB;CAElF;AAFD,sFAEC;AAED,MAAa,kBAAmB,SAAQ,6BAAe;CAEtD;AAFD,gDAEC;AAED,MAAa,mCAAoC,SAAQ,mCAAwB;CAEhF;AAFD,kFAEC;AAED,MAAa,qCAAsC,SAAQ,mCAAwB;CAElF;AAFD,sFAEC"}
|