@bondsports/types 2.1.49 → 2.1.51
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/general.dto.d.ts +6 -0
- package/dist/types/dto/general.dto.js +4 -1
- package/dist/types/dto/general.dto.js.map +1 -1
- package/dist/types/resources/dto/instructor.dto.d.ts +17 -3
- package/dist/types/resources/dto/instructor.dto.js +10 -1
- package/dist/types/resources/dto/instructor.dto.js.map +1 -1
- package/dist/types/resources/dto/resource.dto.d.ts +14 -1
- package/dist/types/resources/dto/resource.dto.js +4 -1
- package/dist/types/resources/dto/resource.dto.js.map +1 -1
- package/dist/types/resources/dto/space.dto.d.ts +15 -1
- package/dist/types/resources/dto/space.dto.js +7 -1
- package/dist/types/resources/dto/space.dto.js.map +1 -1
- package/dist/types/resources/entities/ResourcesDependency.d.ts +5 -0
- package/dist/types/resources/entities/ResourcesDependency.js +8 -0
- package/dist/types/resources/entities/ResourcesDependency.js.map +1 -0
- package/dist/types/resources/entities/index.d.ts +1 -1
- package/dist/types/resources/entities/index.js +1 -1
- package/dist/types/resources/entities/index.js.map +1 -1
- package/dist/types/user/dto/user.dto.d.ts +9 -1
- package/dist/types/user/dto/user.dto.js +7 -1
- package/dist/types/user/dto/user.dto.js.map +1 -1
- package/package.json +1 -1
- package/dist/types/resources/entities/SpacesDependency.d.ts +0 -5
- package/dist/types/resources/entities/SpacesDependency.js +0 -8
- package/dist/types/resources/entities/SpacesDependency.js.map +0 -1
@@ -1,3 +1,4 @@
|
|
1
|
+
import { OrderByEnum } from '../services/enums.service';
|
1
2
|
export declare class FindOneParams {
|
2
3
|
id: number;
|
3
4
|
}
|
@@ -65,3 +66,8 @@ export declare class CronQueryParamsDto {
|
|
65
66
|
export declare class IncludeAdditionalDataDto {
|
66
67
|
includeAdditionalData?: boolean;
|
67
68
|
}
|
69
|
+
export declare class PaginatedSearchDto extends PaginationQuery {
|
70
|
+
search?: string;
|
71
|
+
orderBy?: string;
|
72
|
+
order?: OrderByEnum;
|
73
|
+
}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.IncludeAdditionalDataDto = exports.CronQueryParamsDto = exports.GenericResponseDto = exports.IdsQueryDto = exports.IdsOptionalDto = exports.IdsDto = exports.AuthenticatedRequestDto = exports.IdAndNameDto = exports.IdDto = exports.PaginationResultDto = exports.PaginationMetaDto = exports.PaginationRangeQuery = exports.IData = exports.PaginationQuery = exports.HUNDRED_PERCENT = exports.MINIMUM_ALLOWED_PERCENTAGE = exports.MINIMUM_ALLOWED_PRICE = exports.DEFAULT_PAGE = exports.DEFAULT_MINIMUM_ITEMS_PER_PAGE = exports.DEFAULT_MAXIMUM_ITEMS_PER_PAGE = exports.FindOneParams = void 0;
|
3
|
+
exports.PaginatedSearchDto = exports.IncludeAdditionalDataDto = exports.CronQueryParamsDto = exports.GenericResponseDto = exports.IdsQueryDto = exports.IdsOptionalDto = exports.IdsDto = exports.AuthenticatedRequestDto = exports.IdAndNameDto = exports.IdDto = exports.PaginationResultDto = exports.PaginationMetaDto = exports.PaginationRangeQuery = exports.IData = exports.PaginationQuery = exports.HUNDRED_PERCENT = exports.MINIMUM_ALLOWED_PERCENTAGE = exports.MINIMUM_ALLOWED_PRICE = exports.DEFAULT_PAGE = exports.DEFAULT_MINIMUM_ITEMS_PER_PAGE = exports.DEFAULT_MAXIMUM_ITEMS_PER_PAGE = exports.FindOneParams = void 0;
|
4
4
|
class FindOneParams {
|
5
5
|
}
|
6
6
|
exports.FindOneParams = FindOneParams;
|
@@ -68,4 +68,7 @@ exports.CronQueryParamsDto = CronQueryParamsDto;
|
|
68
68
|
class IncludeAdditionalDataDto {
|
69
69
|
}
|
70
70
|
exports.IncludeAdditionalDataDto = IncludeAdditionalDataDto;
|
71
|
+
class PaginatedSearchDto extends PaginationQuery {
|
72
|
+
}
|
73
|
+
exports.PaginatedSearchDto = PaginatedSearchDto;
|
71
74
|
//# sourceMappingURL=general.dto.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"general.dto.js","sourceRoot":"","sources":["../../../src/types/dto/general.dto.ts"],"names":[],"mappings":";;;
|
1
|
+
{"version":3,"file":"general.dto.js","sourceRoot":"","sources":["../../../src/types/dto/general.dto.ts"],"names":[],"mappings":";;;AAEA,MAAa,aAAa;CAEzB;AAFD,sCAEC;AAEY,QAAA,8BAA8B,GAAG,GAAG,CAAC;AACrC,QAAA,8BAA8B,GAAG,EAAE,CAAC;AACpC,QAAA,YAAY,GAAG,CAAC,CAAC;AAEjB,QAAA,qBAAqB,GAAG,GAAG,CAAC;AAC5B,QAAA,0BAA0B,GAAG,IAAI,CAAC;AAClC,QAAA,eAAe,GAAG,GAAG,CAAC;AAEnC,MAAa,eAAe;IAC3B,YAAY,KAA4E;;QAQxF,SAAI,GAAI,oBAAY,CAAC;QAErB,iBAAY,GAAI,sCAA8B,CAAC;QAT9C,IAAI,CAAC,IAAI,GAAG,CAAA,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,IAAI,KAAI,oBAAY,CAAC;QACxC,IAAI,CAAC,YAAY,GAAG,IAAI,CAAC,GAAG,CAC3B,MAAA,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,GAAG,mCAAI,sCAA8B,EAC5C,CAAA,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,YAAY,KAAI,CAAC,MAAA,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,GAAG,mCAAI,sCAA8B,CAAC,CACrE,CAAC;IACH,CAAC;CAKD;AAZD,0CAYC;AAED,MAAa,KAAK;CAEjB;AAFD,sBAEC;AAED,MAAa,oBAAoB;IAAjC;QACC,cAAS,GAAG,CAAC,CAAC;QAEd,YAAO,GAAG,CAAC,CAAC;QAEZ,iBAAY,GAAG,GAAG,CAAC;IACpB,CAAC;CAAA;AAND,oDAMC;AAED,MAAa,iBAAiB;CAQ7B;AARD,8CAQC;AAED,MAAa,mBAAmB;IAK/B,YAAY,IAAS,EAAE,IAAuB;QAC7C,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;IAClB,CAAC;CACD;AATD,kDASC;AAED,MAAa,KAAK;CAEjB;AAFD,sBAEC;AAED,MAAa,YAAa,SAAQ,KAAK;CAEtC;AAFD,oCAEC;AAED,MAAa,uBAAuB;CAEnC;AAFD,0DAEC;AAED,MAAa,MAAM;CAElB;AAFD,wBAEC;AAED,MAAa,cAAc;CAE1B;AAFD,wCAEC;AAED,MAAa,WAAW;CAEvB;AAFD,kCAEC;AAED,MAAa,kBAAkB;CAM9B;AAND,gDAMC;AAED,MAAa,kBAAkB;CAE9B;AAFD,gDAEC;AAED,MAAa,wBAAwB;CAEpC;AAFD,4DAEC;AAED,MAAa,kBAAmB,SAAQ,eAAe;CAMtD;AAND,gDAMC"}
|
@@ -5,7 +5,7 @@ import { Addon } from '../../reservations/entities/Addon';
|
|
5
5
|
import { PurchasedResourceDto } from '../../reservations/dto/purcased-resource.dto';
|
6
6
|
import { AddressDto, FacilityDto } from '../../dto/facilities.dto';
|
7
7
|
import { BasicActivityTimesDto } from '../../dto/activityTimes.dto';
|
8
|
-
import { ResourceDependenciesDto, ResourceScheduleDto } from './resource.dto';
|
8
|
+
import { ResourceDependenciesDto, ResourceScheduleDto, UpdateResourceDto } from './resource.dto';
|
9
9
|
export declare class InstructorResourceDto {
|
10
10
|
id: number;
|
11
11
|
organizationId: number;
|
@@ -41,8 +41,6 @@ export declare class InstructorResourceDto {
|
|
41
41
|
export declare class CreateInstructorDto extends ResourceDependenciesDto {
|
42
42
|
description?: string;
|
43
43
|
longDescription?: string;
|
44
|
-
activityTimes: BasicActivityTimesDto[];
|
45
|
-
facilitiesIds: number[];
|
46
44
|
resourceGroupId?: number;
|
47
45
|
programTypes?: ProgramTypesEnum[];
|
48
46
|
ages?: ResourceAgesEnum;
|
@@ -51,4 +49,20 @@ export declare class CreateInstructorDto extends ResourceDependenciesDto {
|
|
51
49
|
status?: ActivityEnum;
|
52
50
|
sports?: SportsEnum[];
|
53
51
|
isBookableOnline?: boolean;
|
52
|
+
schedule: FacilitySchedule[];
|
53
|
+
}
|
54
|
+
export declare class UpdateInstructorDto extends UpdateResourceDto {
|
55
|
+
programTypes?: ProgramTypesEnum[];
|
56
|
+
schedule?: FacilitySchedule[];
|
57
|
+
}
|
58
|
+
export declare class UpdateInstructorsDto {
|
59
|
+
data: UpdateInstructorDto[];
|
60
|
+
}
|
61
|
+
export declare class FacilitySchedule {
|
62
|
+
isAllFacilities?: boolean;
|
63
|
+
excludedFacilities?: number[];
|
64
|
+
includedFacilities?: number[];
|
65
|
+
sameAsFacility?: boolean;
|
66
|
+
groupId?: string;
|
67
|
+
activityTimes: BasicActivityTimesDto[];
|
54
68
|
}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.CreateInstructorDto = exports.InstructorResourceDto = void 0;
|
3
|
+
exports.FacilitySchedule = exports.UpdateInstructorsDto = exports.UpdateInstructorDto = exports.CreateInstructorDto = exports.InstructorResourceDto = void 0;
|
4
4
|
const resource_dto_1 = require("./resource.dto");
|
5
5
|
class InstructorResourceDto {
|
6
6
|
}
|
@@ -8,4 +8,13 @@ exports.InstructorResourceDto = InstructorResourceDto;
|
|
8
8
|
class CreateInstructorDto extends resource_dto_1.ResourceDependenciesDto {
|
9
9
|
}
|
10
10
|
exports.CreateInstructorDto = CreateInstructorDto;
|
11
|
+
class UpdateInstructorDto extends resource_dto_1.UpdateResourceDto {
|
12
|
+
}
|
13
|
+
exports.UpdateInstructorDto = UpdateInstructorDto;
|
14
|
+
class UpdateInstructorsDto {
|
15
|
+
}
|
16
|
+
exports.UpdateInstructorsDto = UpdateInstructorsDto;
|
17
|
+
class FacilitySchedule {
|
18
|
+
}
|
19
|
+
exports.FacilitySchedule = FacilitySchedule;
|
11
20
|
//# sourceMappingURL=instructor.dto.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"instructor.dto.js","sourceRoot":"","sources":["../../../../src/types/resources/dto/instructor.dto.ts"],"names":[],"mappings":";;;AAeA,
|
1
|
+
{"version":3,"file":"instructor.dto.js","sourceRoot":"","sources":["../../../../src/types/resources/dto/instructor.dto.ts"],"names":[],"mappings":";;;AAeA,iDAAiG;AAEjG,MAAa,qBAAqB;CA4DjC;AA5DD,sDA4DC;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"}
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { IdAndNameDto, IncludeAdditionalDataDto } from '../../dto/general.dto';
|
2
|
-
import { ActivityEnum, AmenitiesEnum, OrderByEnum, ResourceAgesEnum, ResourceNameTypeEnum, ResourceSubTypeEnum, ResourceTypeEnum, SpacePropertiesEnum, SportsEnum, SurfacesEnum } from '../../services/enums.service';
|
2
|
+
import { ActivityEnum, AmenitiesEnum, OrderByEnum, ProgramTypesEnum, ResourceAgesEnum, ResourceNameTypeEnum, ResourceSubTypeEnum, ResourceTypeEnum, SpacePropertiesEnum, SportsEnum, SurfacesEnum } from '../../services/enums.service';
|
3
3
|
import { Slot } from '../../reservations/entities/Slots';
|
4
4
|
import { ActivityTimesDto } from '../../programs-seasons/dto/program-seasons.dto';
|
5
5
|
import { Addon } from '../../reservations/entities/Addon';
|
@@ -87,3 +87,16 @@ export declare class ByResourceTypeDto {
|
|
87
87
|
export declare class ResourceScheduleDto {
|
88
88
|
activityTimes: ActivityTimesDto[];
|
89
89
|
}
|
90
|
+
export declare class UpdateResourceDto {
|
91
|
+
id: number;
|
92
|
+
description?: string;
|
93
|
+
longDescription?: string;
|
94
|
+
resourceGroupId?: number;
|
95
|
+
programTypes?: ProgramTypesEnum[];
|
96
|
+
ages?: ResourceAgesEnum;
|
97
|
+
isAddon?: boolean;
|
98
|
+
userId?: number;
|
99
|
+
status?: ActivityEnum;
|
100
|
+
sports?: SportsEnum[];
|
101
|
+
isBookableOnline?: boolean;
|
102
|
+
}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.ResourceScheduleDto = exports.ByResourceTypeDto = exports.UpdateResourceDetailsDto = exports.ByOrganizationIdAndResourceId = exports.ByOrganizationIdAndResourceTypeAndIdDto = exports.ByOrganizationFacilityIdDto = exports.ByOrganizationIdAndResourceTypeDto = exports.GetResourceByIdOptionsDto = exports.GetResourcesOfFacilityByTypeDto = exports.ResourceDependenciesDto = exports.SpaceResourceDto = exports.SimpleResourceDto = exports.ResourceDto = void 0;
|
3
|
+
exports.UpdateResourceDto = exports.ResourceScheduleDto = exports.ByResourceTypeDto = exports.UpdateResourceDetailsDto = exports.ByOrganizationIdAndResourceId = exports.ByOrganizationIdAndResourceTypeAndIdDto = exports.ByOrganizationFacilityIdDto = exports.ByOrganizationIdAndResourceTypeDto = exports.GetResourceByIdOptionsDto = exports.GetResourcesOfFacilityByTypeDto = exports.ResourceDependenciesDto = exports.SpaceResourceDto = exports.SimpleResourceDto = exports.ResourceDto = void 0;
|
4
4
|
const general_dto_1 = require("../../dto/general.dto");
|
5
5
|
const organization_dto_1 = require("../../organization/dto/organization.dto");
|
6
6
|
class ResourceDto {
|
@@ -42,4 +42,7 @@ exports.ByResourceTypeDto = ByResourceTypeDto;
|
|
42
42
|
class ResourceScheduleDto {
|
43
43
|
}
|
44
44
|
exports.ResourceScheduleDto = ResourceScheduleDto;
|
45
|
+
class UpdateResourceDto {
|
46
|
+
}
|
47
|
+
exports.UpdateResourceDto = UpdateResourceDto;
|
45
48
|
//# sourceMappingURL=resource.dto.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"resource.dto.js","sourceRoot":"","sources":["../../../../src/types/resources/dto/resource.dto.ts"],"names":[],"mappings":";;;AAAA,uDAA+E;
|
1
|
+
{"version":3,"file":"resource.dto.js","sourceRoot":"","sources":["../../../../src/types/resources/dto/resource.dto.ts"],"names":[],"mappings":";;;AAAA,uDAA+E;AAqB/E,8EAA8E;AAG9E,MAAa,WAAW;CAIvB;AAJD,kCAIC;AAED,MAAa,iBAAkB,SAAQ,0BAAY;CAAG;AAAtD,8CAAsD;AAEtD,MAAa,gBAAiB,SAAQ,0BAAY;CA4DjD;AA5DD,4CA4DC;AAED,MAAa,uBAAuB;CAInC;AAJD,0DAIC;AAED,MAAa,+BAA+B;CAU3C;AAVD,0EAUC;AAED,MAAa,yBAA0B,SAAQ,sCAAwB;CAItE;AAJD,8DAIC;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,7 +1,7 @@
|
|
1
1
|
import { BasicActivityTimesDto } from '../../dto/activityTimes.dto';
|
2
2
|
import { PaginationQuery } from '../../dto/general.dto';
|
3
3
|
import { ActivityEnum, ResourceAgesEnum, ResourceSubTypeEnum, ResourceTypeEnum, SpacePropertiesEnum, SurfacesEnum } from '../../services/enums.service';
|
4
|
-
import { ResourceDependenciesDto } from './resource.dto';
|
4
|
+
import { ResourceDependenciesDto, UpdateResourceDto } from './resource.dto';
|
5
5
|
export declare class SpaceByIdDto {
|
6
6
|
spaceId: number;
|
7
7
|
}
|
@@ -50,3 +50,17 @@ export declare class FindResourcesOptionsDto extends PaginationQuery {
|
|
50
50
|
types?: ResourceTypeEnum[];
|
51
51
|
resourcesIds?: number[];
|
52
52
|
}
|
53
|
+
export declare class UpdateSpaceDto extends UpdateResourceDto {
|
54
|
+
name?: string;
|
55
|
+
amenities?: number[];
|
56
|
+
properties?: SpacePropertiesEnum;
|
57
|
+
width?: number;
|
58
|
+
length?: number;
|
59
|
+
surface?: SurfacesEnum;
|
60
|
+
spaceType?: ResourceSubTypeEnum;
|
61
|
+
activityTimes?: BasicActivityTimesDto[];
|
62
|
+
facilitiesIds?: number[];
|
63
|
+
}
|
64
|
+
export declare class UpdateSpacesDto {
|
65
|
+
data: UpdateSpaceDto[];
|
66
|
+
}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.FindResourcesOptionsDto = exports.FacilitySlotsScheduleQueryParams = exports.SaveSpaceDependenciesDto = exports.UpdateSpaceRelationshipsDto = exports.UpdateSpaceTimesDto = exports.UpdateSpacePropertiesDto = exports.CreateSpaceDto = exports.SpaceByIdDto = void 0;
|
3
|
+
exports.UpdateSpacesDto = exports.UpdateSpaceDto = exports.FindResourcesOptionsDto = exports.FacilitySlotsScheduleQueryParams = exports.SaveSpaceDependenciesDto = exports.UpdateSpaceRelationshipsDto = exports.UpdateSpaceTimesDto = exports.UpdateSpacePropertiesDto = exports.CreateSpaceDto = exports.SpaceByIdDto = void 0;
|
4
4
|
const general_dto_1 = require("../../dto/general.dto");
|
5
5
|
const resource_dto_1 = require("./resource.dto");
|
6
6
|
class SpaceByIdDto {
|
@@ -27,4 +27,10 @@ exports.FacilitySlotsScheduleQueryParams = FacilitySlotsScheduleQueryParams;
|
|
27
27
|
class FindResourcesOptionsDto extends general_dto_1.PaginationQuery {
|
28
28
|
}
|
29
29
|
exports.FindResourcesOptionsDto = FindResourcesOptionsDto;
|
30
|
+
class UpdateSpaceDto extends resource_dto_1.UpdateResourceDto {
|
31
|
+
}
|
32
|
+
exports.UpdateSpaceDto = UpdateSpaceDto;
|
33
|
+
class UpdateSpacesDto {
|
34
|
+
}
|
35
|
+
exports.UpdateSpacesDto = UpdateSpacesDto;
|
30
36
|
//# sourceMappingURL=space.dto.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"space.dto.js","sourceRoot":"","sources":["../../../../src/types/resources/dto/space.dto.ts"],"names":[],"mappings":";;;AACA,uDAA+D;AAS/D,
|
1
|
+
{"version":3,"file":"space.dto.js","sourceRoot":"","sources":["../../../../src/types/resources/dto/space.dto.ts"],"names":[],"mappings":";;;AACA,uDAA+D;AAS/D,iDAAsG;AAEtG,MAAa,YAAY;CAExB;AAFD,oCAEC;AAED,MAAa,cAAe,SAAQ,sCAAuB;CA8B1D;AA9BD,wCA8BC;AAED,MAAa,wBAAwB;CAUpC;AAVD,4DAUC;AACD,MAAa,mBAAmB;CAE/B;AAFD,kDAEC;AAED,MAAa,2BAA2B;CAIvC;AAJD,kEAIC;AAED,MAAa,wBAAwB;CAIpC;AAJD,4DAIC;AAED,MAAa,gCAAgC;CAI5C;AAJD,4EAIC;AAED,MAAa,uBAAwB,SAAQ,6BAAe;CAQ3D;AARD,0DAQC;AAED,MAAa,cAAe,SAAQ,gCAAiB;CAkBpD;AAlBD,wCAkBC;AAED,MAAa,eAAe;CAE3B;AAFD,0CAEC"}
|
@@ -0,0 +1,8 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.ResourcesDependency = void 0;
|
4
|
+
const BondBaseEntity_1 = require("../../entity/BondBaseEntity");
|
5
|
+
class ResourcesDependency extends BondBaseEntity_1.BondBaseEntity {
|
6
|
+
}
|
7
|
+
exports.ResourcesDependency = ResourcesDependency;
|
8
|
+
//# sourceMappingURL=ResourcesDependency.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"ResourcesDependency.js","sourceRoot":"","sources":["../../../../src/types/resources/entities/ResourcesDependency.ts"],"names":[],"mappings":";;;AACA,gEAA6D;AAE7D,MAAa,mBAAoB,SAAQ,+BAAc;CAItD;AAJD,kDAIC"}
|
@@ -16,6 +16,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
17
17
|
__exportStar(require("./Instructor"), exports);
|
18
18
|
__exportStar(require("./Resource"), exports);
|
19
|
+
__exportStar(require("./ResourcesDependency"), exports);
|
19
20
|
__exportStar(require("./Space"), exports);
|
20
|
-
__exportStar(require("./SpacesDependency"), exports);
|
21
21
|
//# sourceMappingURL=index.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/resources/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+CAA6B;AAC7B,6CAA2B;AAC3B,
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/resources/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+CAA6B;AAC7B,6CAA2B;AAC3B,wDAAsC;AACtC,0CAAwB"}
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { SimpleEventDto } from '../../dto/events.dto';
|
2
|
-
import { SimpleFacilityDto } from '../../dto/facilities.dto';
|
2
|
+
import { AddressDto, SimpleFacilityDto } from '../../dto/facilities.dto';
|
3
3
|
import { IdDto, PaginationResultDto } from '../../dto/general.dto';
|
4
4
|
import { SimpleProductDto } from '../../product-pricing/dto/product.dto';
|
5
5
|
import { SimpleSessionDto } from '../../programs-seasons/dto/program-seasons.dto';
|
@@ -21,6 +21,11 @@ export declare class SimpleUserDto extends IdDto {
|
|
21
21
|
firstName: string;
|
22
22
|
lastName: string;
|
23
23
|
}
|
24
|
+
export declare class UserWithContactInfoDto extends SimpleUserDto {
|
25
|
+
phoneNumber: string;
|
26
|
+
email: string;
|
27
|
+
address?: AddressDto;
|
28
|
+
}
|
24
29
|
export declare class UserPassDto {
|
25
30
|
id: number;
|
26
31
|
organizationId: number;
|
@@ -37,3 +42,6 @@ export declare class UserPassDto {
|
|
37
42
|
export declare class UsersPassesResultDto extends PaginationResultDto {
|
38
43
|
data: UserPassDto[];
|
39
44
|
}
|
45
|
+
export declare class InstructorUserDto extends UserWithContactInfoDto {
|
46
|
+
isAssigned: boolean;
|
47
|
+
}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.UsersPassesResultDto = exports.UserPassDto = exports.SimpleUserDto = exports.ByOrganizationAndUserDto = exports.FindUserRegistrationsDto = exports.FindByFamilyAccountIdDto = exports.UserIdDto = void 0;
|
3
|
+
exports.InstructorUserDto = exports.UsersPassesResultDto = exports.UserPassDto = exports.UserWithContactInfoDto = exports.SimpleUserDto = exports.ByOrganizationAndUserDto = exports.FindUserRegistrationsDto = exports.FindByFamilyAccountIdDto = exports.UserIdDto = void 0;
|
4
4
|
const general_dto_1 = require("../../dto/general.dto");
|
5
5
|
class UserIdDto {
|
6
6
|
}
|
@@ -17,10 +17,16 @@ exports.ByOrganizationAndUserDto = ByOrganizationAndUserDto;
|
|
17
17
|
class SimpleUserDto extends general_dto_1.IdDto {
|
18
18
|
}
|
19
19
|
exports.SimpleUserDto = SimpleUserDto;
|
20
|
+
class UserWithContactInfoDto extends SimpleUserDto {
|
21
|
+
}
|
22
|
+
exports.UserWithContactInfoDto = UserWithContactInfoDto;
|
20
23
|
class UserPassDto {
|
21
24
|
}
|
22
25
|
exports.UserPassDto = UserPassDto;
|
23
26
|
class UsersPassesResultDto extends general_dto_1.PaginationResultDto {
|
24
27
|
}
|
25
28
|
exports.UsersPassesResultDto = UsersPassesResultDto;
|
29
|
+
class InstructorUserDto extends UserWithContactInfoDto {
|
30
|
+
}
|
31
|
+
exports.InstructorUserDto = InstructorUserDto;
|
26
32
|
//# sourceMappingURL=user.dto.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"user.dto.js","sourceRoot":"","sources":["../../../../src/types/user/dto/user.dto.ts"],"names":[],"mappings":";;;AAEA,uDAAmE;AAMnE,MAAa,SAAS;CAErB;AAFD,8BAEC;AAED,MAAa,wBAAwB;CAEpC;AAFD,4DAEC;AAED,MAAa,wBAAyB,SAAQ,wBAAwB;CAErE;AAFD,4DAEC;AAED,MAAa,wBAAyB,SAAQ,SAAS;CAEtD;AAFD,4DAEC;AAED,MAAa,aAAc,SAAQ,mBAAK;CAIvC;AAJD,sCAIC;AAED,MAAa,WAAW;CAsBvB;AAtBD,kCAsBC;AAED,MAAa,oBAAqB,SAAQ,iCAAmB;CAE5D;AAFD,oDAEC"}
|
1
|
+
{"version":3,"file":"user.dto.js","sourceRoot":"","sources":["../../../../src/types/user/dto/user.dto.ts"],"names":[],"mappings":";;;AAEA,uDAAmE;AAMnE,MAAa,SAAS;CAErB;AAFD,8BAEC;AAED,MAAa,wBAAwB;CAEpC;AAFD,4DAEC;AAED,MAAa,wBAAyB,SAAQ,wBAAwB;CAErE;AAFD,4DAEC;AAED,MAAa,wBAAyB,SAAQ,SAAS;CAEtD;AAFD,4DAEC;AAED,MAAa,aAAc,SAAQ,mBAAK;CAIvC;AAJD,sCAIC;AAED,MAAa,sBAAuB,SAAQ,aAAa;CAMxD;AAND,wDAMC;AAED,MAAa,WAAW;CAsBvB;AAtBD,kCAsBC;AAED,MAAa,oBAAqB,SAAQ,iCAAmB;CAE5D;AAFD,oDAEC;AAED,MAAa,iBAAkB,SAAQ,sBAAsB;CAE5D;AAFD,8CAEC"}
|
package/package.json
CHANGED
@@ -1,8 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.SpacesDependency = void 0;
|
4
|
-
const BondBaseEntity_1 = require("../../entity/BondBaseEntity");
|
5
|
-
class SpacesDependency extends BondBaseEntity_1.BondBaseEntity {
|
6
|
-
}
|
7
|
-
exports.SpacesDependency = SpacesDependency;
|
8
|
-
//# sourceMappingURL=SpacesDependency.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"SpacesDependency.js","sourceRoot":"","sources":["../../../../src/types/resources/entities/SpacesDependency.ts"],"names":[],"mappings":";;;AACA,gEAA6D;AAE7D,MAAa,gBAAiB,SAAQ,+BAAc;CAInD;AAJD,4CAIC"}
|