@bondsports/types 2.3.12 → 2.3.14
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/cart/dto/cart-item.dto.d.ts +0 -2
- package/dist/types/cart/dto/cart-item.dto.js +0 -9
- package/dist/types/cart/dto/cart-item.dto.js.map +1 -1
- package/dist/types/cart/dto/cart.dto.d.ts +0 -1
- package/dist/types/cart/dto/cart.dto.js +0 -5
- package/dist/types/cart/dto/cart.dto.js.map +1 -1
- package/dist/types/dto/general.dto.d.ts +0 -8
- package/dist/types/dto/general.dto.js +1 -11
- package/dist/types/dto/general.dto.js.map +1 -1
- package/dist/types/filters/dto/filters.dto.d.ts +63 -0
- package/dist/types/filters/dto/filters.dto.js +45 -0
- package/dist/types/filters/dto/filters.dto.js.map +1 -0
- package/dist/types/filters/dto/index.d.ts +1 -0
- package/dist/types/{notifications/dto/types → filters/dto}/index.js +1 -1
- package/dist/types/filters/dto/index.js.map +1 -0
- package/dist/types/filters/entities/Filter.d.ts +14 -0
- package/dist/types/filters/entities/Filter.js +8 -0
- package/dist/types/filters/entities/Filter.js.map +1 -0
- package/dist/types/filters/entities/UserFavoriteFilter.d.ts +13 -0
- package/dist/types/filters/entities/UserFavoriteFilter.js +8 -0
- package/dist/types/filters/entities/UserFavoriteFilter.js.map +1 -0
- package/dist/types/filters/entities/index.d.ts +2 -0
- package/dist/types/filters/entities/index.js +19 -0
- package/dist/types/filters/entities/index.js.map +1 -0
- package/dist/types/filters/index.d.ts +3 -0
- package/dist/types/filters/index.js +20 -0
- package/dist/types/filters/index.js.map +1 -0
- package/dist/types/filters/types/classes/filter.classes.d.ts +8 -0
- package/dist/types/filters/types/classes/filter.classes.js +7 -0
- package/dist/types/filters/types/classes/filter.classes.js.map +1 -0
- package/dist/types/filters/types/classes/index.d.ts +1 -0
- package/dist/types/filters/types/classes/index.js +18 -0
- package/dist/types/filters/types/classes/index.js.map +1 -0
- package/dist/types/filters/types/consts.d.ts +5 -0
- package/dist/types/filters/types/consts.js +10 -0
- package/dist/types/filters/types/consts.js.map +1 -0
- package/dist/types/filters/types/enums/filter.enums.d.ts +8 -0
- package/dist/types/filters/types/enums/filter.enums.js +14 -0
- package/dist/types/filters/types/enums/filter.enums.js.map +1 -0
- package/dist/types/filters/types/enums/index.d.ts +1 -0
- package/dist/types/filters/types/enums/index.js +18 -0
- package/dist/types/filters/types/enums/index.js.map +1 -0
- package/dist/types/filters/types/index.d.ts +4 -0
- package/dist/types/filters/types/index.js +21 -0
- package/dist/types/filters/types/index.js.map +1 -0
- package/dist/types/filters/types/interfaces/filters.interfaces.d.ts +18 -0
- package/dist/types/filters/types/interfaces/filters.interfaces.js +3 -0
- package/dist/types/filters/types/interfaces/filters.interfaces.js.map +1 -0
- package/dist/types/filters/types/interfaces/index.d.ts +1 -0
- package/dist/types/filters/types/interfaces/index.js +18 -0
- package/dist/types/filters/types/interfaces/index.js.map +1 -0
- package/dist/types/folders/dto/folder.dto.d.ts +2 -6
- package/dist/types/folders/dto/folder.dto.js +0 -31
- package/dist/types/folders/dto/folder.dto.js.map +1 -1
- package/dist/types/index.d.ts +1 -0
- package/dist/types/index.js +1 -0
- package/dist/types/index.js.map +1 -1
- package/dist/types/notifications/dto/index.d.ts +0 -1
- package/dist/types/notifications/dto/index.js +0 -1
- package/dist/types/notifications/dto/index.js.map +1 -1
- package/dist/types/notifications/dto/notification.create.dto.d.ts +1 -17
- package/dist/types/notifications/dto/notification.create.dto.js +9 -66
- package/dist/types/notifications/dto/notification.create.dto.js.map +1 -1
- package/dist/types/notifications/dto/notification.response.dto.d.ts +0 -2
- package/dist/types/notifications/dto/notification.response.dto.js +1 -8
- package/dist/types/notifications/dto/notification.response.dto.js.map +1 -1
- package/dist/types/notifications/index.d.ts +1 -0
- package/dist/types/notifications/index.js +1 -0
- package/dist/types/notifications/index.js.map +1 -1
- package/dist/types/notifications/types/consts/index.d.ts +1 -0
- package/dist/types/notifications/types/consts/index.js +18 -0
- package/dist/types/notifications/types/consts/index.js.map +1 -0
- package/dist/types/notifications/types/consts/notification.consts.d.ts +4 -0
- package/dist/types/notifications/types/consts/notification.consts.js +9 -0
- package/dist/types/notifications/types/consts/notification.consts.js.map +1 -0
- package/dist/types/notifications/types/enums/index.js.map +1 -0
- package/dist/types/notifications/types/enums/notification.enums.js.map +1 -0
- package/dist/types/notifications/types/index.d.ts +4 -0
- package/dist/types/notifications/types/index.js +21 -0
- package/dist/types/notifications/types/index.js.map +1 -0
- package/dist/types/notifications/types/interfaces/index.d.ts +1 -0
- package/dist/types/notifications/types/interfaces/index.js +18 -0
- package/dist/types/notifications/types/interfaces/index.js.map +1 -0
- package/dist/types/notifications/types/interfaces/notification.interfaces.d.ts +23 -0
- package/dist/types/notifications/types/interfaces/notification.interfaces.js +3 -0
- package/dist/types/notifications/types/interfaces/notification.interfaces.js.map +1 -0
- package/dist/types/notifications/types/types/index.d.ts +1 -0
- package/dist/types/notifications/types/types/index.js +18 -0
- package/dist/types/notifications/types/types/index.js.map +1 -0
- package/dist/types/notifications/types/types/notification.types.d.ts +2 -0
- package/dist/types/notifications/types/types/notification.types.js +3 -0
- package/dist/types/notifications/types/types/notification.types.js.map +1 -0
- package/dist/types/payment/types/interfaces/stripe.interfaces.d.ts +0 -1
- package/dist/types/purchase/types/consts/purchase.consts.d.ts +0 -1
- package/dist/types/purchase/types/consts/purchase.consts.js +1 -2
- package/dist/types/purchase/types/consts/purchase.consts.js.map +1 -1
- package/dist/types/purchase/types/interfaces/purchase.interfaces.d.ts +14 -0
- package/dist/types/reservations/dto/reservation.dto.d.ts +2 -1
- package/dist/types/reservations/dto/reservation.dto.js.map +1 -1
- package/dist/types/resources/dto/resource.dto.d.ts +9 -2
- 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 +3 -0
- package/dist/types/resources/dto/space.dto.js.map +1 -1
- package/dist/types/resources/types/interfaces/resource.interfaces.d.ts +1 -0
- package/package.json +1 -1
- package/dist/types/notifications/dto/types/enums/index.js.map +0 -1
- package/dist/types/notifications/dto/types/enums/notification.enums.js.map +0 -1
- package/dist/types/notifications/dto/types/index.d.ts +0 -1
- package/dist/types/notifications/dto/types/index.js.map +0 -1
- /package/dist/types/notifications/{dto/types → types}/enums/index.d.ts +0 -0
- /package/dist/types/notifications/{dto/types → types}/enums/index.js +0 -0
- /package/dist/types/notifications/{dto/types → types}/enums/notification.enums.d.ts +0 -0
- /package/dist/types/notifications/{dto/types → types}/enums/notification.enums.js +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
import { ActivityTimesDto } from '../../dto/activityTimes.dto';
|
2
2
|
import { FacilityDto, SimpleFacilityDto } from '../../dto/facilities.dto';
|
3
|
-
import { IdAndNameDto, IdDto, IncludeAdditionalDataDto } from '../../dto/general.dto';
|
3
|
+
import { IdAndNameDto, IdDto, IncludeAdditionalDataDto, SimpleResourceDto } from '../../dto/general.dto';
|
4
4
|
import { MediaDto } from '../../media/dto/media.dto';
|
5
5
|
import { ByOrganizationIdDto } from '../../organization/dto/organization.dto';
|
6
6
|
import { ResourceProductDto } from '../../product-pricing/dto/product.dto';
|
@@ -9,7 +9,7 @@ import { CalendarSlotDto } from '../../reservations/dto/calendar-slot.dto';
|
|
9
9
|
import { PurchasedResourceDto } from '../../reservations/dto/purcased-resource.dto';
|
10
10
|
import { Addon } from '../../reservations/entities/addon.entity';
|
11
11
|
import { Slot } from '../../reservations/entities/slot.entity';
|
12
|
-
import { ActivityEnum, OrderByEnum, ProgramTypesEnum, ResourceAgesEnum, ResourceNameTypeEnum, ResourceTypeEnum, SportsEnum } from '../../services/enums.service';
|
12
|
+
import { ActivityEnum, OrderByEnum, ProgramTypesEnum, ResourceAgesEnum, ResourceNameTypeEnum, ResourceSubTypeEnum, ResourceTypeEnum, SportsEnum } from '../../services/enums.service';
|
13
13
|
import { InvalidResourceReasonsEnum, OrderByResourceEnum } from '../types/enums/resources.enums';
|
14
14
|
import { IGetResourceByIdsOptions, IGetResourcesOptions } from '../types/interfaces/resource.interfaces';
|
15
15
|
import { InstructorResourceDto } from './instructor.dto';
|
@@ -124,3 +124,10 @@ export declare class SimpleFacilityWithResourcesDto extends SimpleFacilityDto {
|
|
124
124
|
organizationId: number;
|
125
125
|
resources: (SpaceResourceDto | InstructorResourceDto)[];
|
126
126
|
}
|
127
|
+
export declare class SimpleResourceWithChildrenDto extends SimpleResourceDto {
|
128
|
+
resourceType: ResourceTypeEnum;
|
129
|
+
resourceSubType?: ResourceSubTypeEnum;
|
130
|
+
numberOfChildren?: number;
|
131
|
+
sports: SportsEnum[];
|
132
|
+
status?: ActivityEnum;
|
133
|
+
}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.SimpleFacilityWithResourcesDto = exports.UpdateResourceDto = exports.ResourceScheduleDto = exports.ByResourceTypeDto = exports.UpdateResourceDetailsDto = exports.ByOrganizationIdAndResourceId = exports.ByOrganizationIdAndResourceTypeAndIdDto = exports.ByOrganizationFacilityIdDto = exports.ByOrganizationIdAndResourceTypeDto = exports.GetResourceByIdOptionsDto = exports.GetResourcesOfFacilityByTypeDto = exports.ResourceDependenciesDto = exports.BaseResourceDto = exports.CalendarResourceDto = exports.ChildCalendarResourceDto = exports.InvalidResourceDto = exports.ResourceDto = void 0;
|
3
|
+
exports.SimpleResourceWithChildrenDto = exports.SimpleFacilityWithResourcesDto = exports.UpdateResourceDto = exports.ResourceScheduleDto = exports.ByResourceTypeDto = exports.UpdateResourceDetailsDto = exports.ByOrganizationIdAndResourceId = exports.ByOrganizationIdAndResourceTypeAndIdDto = exports.ByOrganizationFacilityIdDto = exports.ByOrganizationIdAndResourceTypeDto = exports.GetResourceByIdOptionsDto = exports.GetResourcesOfFacilityByTypeDto = exports.ResourceDependenciesDto = exports.BaseResourceDto = exports.CalendarResourceDto = exports.ChildCalendarResourceDto = exports.InvalidResourceDto = exports.ResourceDto = void 0;
|
4
4
|
const facilities_dto_1 = require("../../dto/facilities.dto");
|
5
5
|
const general_dto_1 = require("../../dto/general.dto");
|
6
6
|
const organization_dto_1 = require("../../organization/dto/organization.dto");
|
@@ -55,4 +55,7 @@ exports.UpdateResourceDto = UpdateResourceDto;
|
|
55
55
|
class SimpleFacilityWithResourcesDto extends facilities_dto_1.SimpleFacilityDto {
|
56
56
|
}
|
57
57
|
exports.SimpleFacilityWithResourcesDto = SimpleFacilityWithResourcesDto;
|
58
|
+
class SimpleResourceWithChildrenDto extends general_dto_1.SimpleResourceDto {
|
59
|
+
}
|
60
|
+
exports.SimpleResourceWithChildrenDto = SimpleResourceWithChildrenDto;
|
58
61
|
//# 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":";;;AACA,6DAA0E;AAC1E,
|
1
|
+
{"version":3,"file":"resource.dto.js","sourceRoot":"","sources":["../../../../src/types/resources/dto/resource.dto.ts"],"names":[],"mappings":";;;AACA,6DAA0E;AAC1E,uDAAyG;AAEzG,8EAA8E;AAsB9E,MAAa,WAAW;CAUvB;AAVD,kCAUC;AAED,MAAa,kBAAmB,SAAQ,WAAW;CAMlD;AAND,gDAMC;AAED,MAAa,wBAAyB,SAAQ,0BAAY;CAYzD;AAZD,4DAYC;AAED,MAAa,mBAAoB,SAAQ,wBAAwB;CAEhE;AAFD,kDAEC;AAED,MAAa,eAAgB,SAAQ,mBAAK;CAgDzC;AAhDD,0CAgDC;AAED,MAAa,uBAAuB;CAInC;AAJD,0DAIC;AAED,MAAa,+BAA+B;CAY3C;AAZD,0EAYC;AAED,MAAa,yBAA0B,SAAQ,sCAAwB;CAQtE;AARD,8DAQC;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;CAwB7B;AAxBD,8CAwBC;AAED,MAAa,8BAA+B,SAAQ,kCAAiB;CAIpE;AAJD,wEAIC;AAED,MAAa,6BAA8B,SAAQ,+BAAiB;CAUnE;AAVD,sEAUC"}
|
@@ -15,6 +15,7 @@ export declare class SpaceResourceDto extends BaseResourceDto {
|
|
15
15
|
amenities?: AmenitiesEnum[];
|
16
16
|
facilityId: number;
|
17
17
|
facility?: FacilityDto;
|
18
|
+
children?: SpaceResourceDto[];
|
18
19
|
}
|
19
20
|
export declare class SpaceByIdDto {
|
20
21
|
spaceId: number;
|
@@ -72,6 +73,8 @@ export declare class FindResourcesOptionsDto extends PaginationQuery implements
|
|
72
73
|
includeFacilities?: boolean;
|
73
74
|
searchByFacility?: boolean;
|
74
75
|
inclusion?: boolean;
|
76
|
+
includeRelations?: boolean;
|
77
|
+
includeOnlyParents?: boolean;
|
75
78
|
}
|
76
79
|
export declare class UpdateSpaceDto extends UpdateResourceDto {
|
77
80
|
name?: string;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"space.dto.js","sourceRoot":"","sources":["../../../../src/types/resources/dto/space.dto.ts"],"names":[],"mappings":";;;AAEA,uDAAwD;AAcxD,iDAA6F;AAE7F,MAAa,gBAAiB,SAAQ,8BAAe;
|
1
|
+
{"version":3,"file":"space.dto.js","sourceRoot":"","sources":["../../../../src/types/resources/dto/space.dto.ts"],"names":[],"mappings":";;;AAEA,uDAAwD;AAcxD,iDAA6F;AAE7F,MAAa,gBAAiB,SAAQ,8BAAe;CAoBpD;AApBD,4CAoBC;AAED,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;CA8B3D;AA9BD,0DA8BC;AAED,MAAa,cAAe,SAAQ,gCAAiB;CAkBpD;AAlBD,wCAkBC;AAED,MAAa,eAAe;CAE3B;AAFD,0CAEC"}
|
package/package.json
CHANGED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/types/notifications/dto/types/enums/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,uDAAqC"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"notification.enums.js","sourceRoot":"","sources":["../../../../../../src/types/notifications/dto/types/enums/notification.enums.ts"],"names":[],"mappings":";;;AAAA,qEAAuH;AAE9G,2GAFA,8CAA0B,OAEA;AAAE,4GAFA,+CAA2B,OAEA;AAAE,8FAFA,iCAAa,OAEA"}
|
@@ -1 +0,0 @@
|
|
1
|
-
export * from './enums';
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/types/notifications/dto/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0CAAwB"}
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|