@bondsports/types 2.1.50 → 2.1.52
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 +6 -0
- package/dist/types/dto/general.dto.js +4 -1
- package/dist/types/dto/general.dto.js.map +1 -1
- package/dist/types/media/types/index.d.ts +1 -0
- package/dist/types/media/types/index.js +1 -0
- package/dist/types/media/types/index.js.map +1 -1
- package/dist/types/media/types/meida.interfaces.d.ts +5 -0
- package/dist/types/media/types/meida.interfaces.js +3 -0
- package/dist/types/media/types/meida.interfaces.js.map +1 -0
- package/dist/types/resources/dto/instructor.dto.d.ts +1 -0
- package/dist/types/resources/dto/instructor.dto.js.map +1 -1
- package/dist/types/resources/dto/resource.dto.d.ts +1 -0
- package/dist/types/resources/dto/resource.dto.js.map +1 -1
- package/dist/types/resources/entities/Resource.d.ts +1 -0
- package/dist/types/resources/entities/Resource.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
|
@@ -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.d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AAG,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"}
|
|
@@ -15,4 +15,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./media.enums"), exports);
|
|
18
|
+
__exportStar(require("./meida.interfaces"), exports);
|
|
18
19
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/media/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,gDAA8B"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/media/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,gDAA8B;AAC9B,qDAAmC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"meida.interfaces.js","sourceRoot":"","sources":["../../../../src/types/media/types/meida.interfaces.ts"],"names":[],"mappings":""}
|
|
@@ -37,6 +37,7 @@ export declare class InstructorResourceDto {
|
|
|
37
37
|
address?: AddressDto;
|
|
38
38
|
programTypes?: ProgramTypesEnum[];
|
|
39
39
|
isBookableOnline?: boolean;
|
|
40
|
+
medias?: MediaDto[];
|
|
40
41
|
}
|
|
41
42
|
export declare class CreateInstructorDto extends ResourceDependenciesDto {
|
|
42
43
|
description?: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"instructor.dto.js","sourceRoot":"","sources":["../../../../src/types/resources/dto/instructor.dto.ts"],"names":[],"mappings":";;;AAeA,iDAAiG;AAEjG,MAAa,qBAAqB;
|
|
1
|
+
{"version":3,"file":"instructor.dto.js","sourceRoot":"","sources":["../../../../src/types/resources/dto/instructor.dto.ts"],"names":[],"mappings":";;;AAeA,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"}
|
|
@@ -46,6 +46,7 @@ export declare class SpaceResourceDto extends IdAndNameDto {
|
|
|
46
46
|
facility?: FacilityDto;
|
|
47
47
|
purchasedResources?: PurchasedResourceDto[];
|
|
48
48
|
linkSEO: string;
|
|
49
|
+
medias?: MediaDto[];
|
|
49
50
|
}
|
|
50
51
|
export declare class ResourceDependenciesDto {
|
|
51
52
|
resourceGroupId?: number;
|
|
@@ -1 +1 @@
|
|
|
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;
|
|
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;CA8DjD;AA9DD,4CA8DC;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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Resource.js","sourceRoot":"","sources":["../../../../src/types/resources/entities/Resource.ts"],"names":[],"mappings":";;;AAuBA,oGAAiG;AAWjG,MAAa,QAAS,SAAQ,mEAAgC;
|
|
1
|
+
{"version":3,"file":"Resource.js","sourceRoot":"","sources":["../../../../src/types/resources/entities/Resource.ts"],"names":[],"mappings":";;;AAuBA,oGAAiG;AAWjG,MAAa,QAAS,SAAQ,mEAAgC;CA2E7D;AA3ED,4BA2EC"}
|
|
@@ -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"}
|