@bondsports/types 2.2.137 → 2.2.139

Sign up to get free protection for your applications and to get access to all the features.
@@ -1 +1 @@
1
- {"version":3,"file":"events.dto.js","sourceRoot":"","sources":["../../../src/types/dto/events.dto.ts"],"names":[],"mappings":";;;AAYA,+CAA6E;AAE7E,MAAa,gBAAgB;CAM5B;AAND,4CAMC;AAED,MAAa,cAAc;CAsB1B;AAtBD,wCAsBC;AAED,MAAa,oBAAoB;CAEhC;AAFD,oDAEC;AAED,MAAa,iBAAiB;CAU7B;AAVD,8CAUC;AAED,MAAa,mBAAmB;CAE/B;AAFD,kDAEC;AAED,MAAa,oCAAqC,SAAQ,mBAAmB;CAE5E;AAFD,oFAEC;AAED,MAAa,iCAAiC;CAM7C;AAND,8EAMC;AACD,MAAa,qBAAqB;CAEjC;AAFD,sDAEC;AAED,MAAa,0BAA0B;CAEtC;AAFD,gEAEC;AAED,MAAa,4BAA4B;CAIxC;AAJD,oEAIC;AAuCD,MAAa,2BAA4B,SAAQ,kCAAoB;CAYpE;AAZD,kEAYC;AAED,MAAa,cAAe,SAAQ,mBAAK;CAuBxC;AAvBD,wCAuBC;AAED,MAAa,iBAAkB,SAAQ,mBAAK;CAE3C;AAFD,8CAEC;AAED,MAAa,QAAQ;CAIpB;AAJD,4BAIC;AAED,MAAa,kBAAkB;CA4B9B;AA5BD,gDA4BC;AAED,MAAa,gBAAiB,SAAQ,mBAAK;CAI1C;AAJD,4CAIC;AAED,MAAa,sBAAuB,SAAQ,cAAc;CAKzD;AALD,wDAKC;AACD,MAAa,sBAAuB,SAAQ,6BAAe;CAgB1D;AAhBD,wDAgBC"}
1
+ {"version":3,"file":"events.dto.js","sourceRoot":"","sources":["../../../src/types/dto/events.dto.ts"],"names":[],"mappings":";;;AAYA,+CAA6E;AAE7E,MAAa,gBAAgB;CAM5B;AAND,4CAMC;AAED,MAAa,cAAc;CAsB1B;AAtBD,wCAsBC;AAED,MAAa,oBAAoB;CAEhC;AAFD,oDAEC;AAED,MAAa,iBAAiB;CAU7B;AAVD,8CAUC;AAED,MAAa,mBAAmB;CAE/B;AAFD,kDAEC;AAED,MAAa,oCAAqC,SAAQ,mBAAmB;CAE5E;AAFD,oFAEC;AAED,MAAa,iCAAiC;CAM7C;AAND,8EAMC;AACD,MAAa,qBAAqB;CAEjC;AAFD,sDAEC;AAED,MAAa,0BAA0B;CAEtC;AAFD,gEAEC;AAED,MAAa,4BAA4B;CAIxC;AAJD,oEAIC;AAuCD,MAAa,2BAA4B,SAAQ,kCAAoB;CAYpE;AAZD,kEAYC;AAED,MAAa,cAAe,SAAQ,mBAAK;CAsBxC;AAtBD,wCAsBC;AAED,MAAa,iBAAkB,SAAQ,mBAAK;CAE3C;AAFD,8CAEC;AAED,MAAa,QAAQ;CAIpB;AAJD,4BAIC;AAED,MAAa,kBAAkB;CA4B9B;AA5BD,gDA4BC;AAED,MAAa,gBAAiB,SAAQ,mBAAK;CAI1C;AAJD,4CAIC;AAED,MAAa,sBAAuB,SAAQ,cAAc;CAIzD;AAJD,wDAIC;AACD,MAAa,sBAAuB,SAAQ,6BAAe;CAgB1D;AAhBD,wDAgBC"}
@@ -1 +1 @@
1
- {"version":3,"file":"employee.dto.js","sourceRoot":"","sources":["../../../../src/types/employees/dto/employee.dto.ts"],"names":[],"mappings":";;;AAIA,uDAAwD;AAIxD,MAAa,eAAe;CAE3B;AAFD,0CAEC;AAED,MAAa,WAAW;CAsBvB;AAtBD,kCAsBC;AAGD,MAAa,iBAAkB,SAAQ,WAAW;CAGjD;AAHD,8CAGC;AAED,MAAa,mBAAoB,SAAQ,iBAAiB;CAGzD;AAHD,kDAGC;AAED,MAAa,aAAa;CAMzB;AAND,sCAMC;AAED,MAAa,iBAAiB;CAoD7B;AApDD,8CAoDC;AAED,uCAAuC;AACvC,MAAa,iBAAiB;CAoD7B;AApDD,8CAoDC;AAED,MAAa,2BAA4B,SAAQ,6BAAe;CAY/D;AAZD,kEAYC"}
1
+ {"version":3,"file":"employee.dto.js","sourceRoot":"","sources":["../../../../src/types/employees/dto/employee.dto.ts"],"names":[],"mappings":";;;AAIA,uDAAwD;AAIxD,MAAa,eAAe;CAE3B;AAFD,0CAEC;AAED,MAAa,WAAW;CAsBvB;AAtBD,kCAsBC;AAED,MAAa,iBAAkB,SAAQ,WAAW;CAEjD;AAFD,8CAEC;AAED,MAAa,mBAAoB,SAAQ,iBAAiB;CAEzD;AAFD,kDAEC;AAED,MAAa,aAAa;CAMzB;AAND,sCAMC;AAED,MAAa,iBAAiB;CAoD7B;AApDD,8CAoDC;AAED,uCAAuC;AACvC,MAAa,iBAAiB;CAoD7B;AApDD,8CAoDC;AAED,MAAa,2BAA4B,SAAQ,6BAAe;CAU/D;AAVD,kEAUC"}
@@ -1 +1 @@
1
- {"version":3,"file":"OrganizationUsers.js","sourceRoot":"","sources":["../../../../src/types/organization/entities/OrganizationUsers.ts"],"names":[],"mappings":";;;AACA,gEAA6D;AAI7D,MAAa,iBAAkB,SAAQ,+BAAc;CAkBpD;AAlBD,8CAkBC"}
1
+ {"version":3,"file":"OrganizationUsers.js","sourceRoot":"","sources":["../../../../src/types/organization/entities/OrganizationUsers.ts"],"names":[],"mappings":";;;AACA,gEAA6D;AAI7D,MAAa,iBAAkB,SAAQ,+BAAc;CAiBpD;AAjBD,8CAiBC"}
@@ -1,5 +1,5 @@
1
1
  import { ActivityTimesDto } from '../../dto/activityTimes.dto';
2
- import { FacilityDto } from '../../dto/facilities.dto';
2
+ import { FacilityDto, SimpleFacilityDto } from '../../dto/facilities.dto';
3
3
  import { IdAndNameDto, IdDto, IncludeAdditionalDataDto } from '../../dto/general.dto';
4
4
  import { MediaDto } from '../../media/dto/media.dto';
5
5
  import { ByOrganizationIdDto } from '../../organization/dto/organization.dto';
@@ -11,6 +11,8 @@ import { Slot } from '../../reservations/entities/slot.entity';
11
11
  import { ActivityEnum, OrderByEnum, ProgramTypesEnum, ResourceAgesEnum, ResourceNameTypeEnum, ResourceTypeEnum, SportsEnum } from '../../services/enums.service';
12
12
  import { InvalidResourceReasonsEnum, OrderByResourceEnum } from '../types/enums/resources.enums';
13
13
  import { IGetResourceByIdsOptions, IGetResourcesOptions } from '../types/interfaces/resource.interfaces';
14
+ import { SpaceResourceDto } from './space.dto';
15
+ import { InstructorResourceDto } from './instructor.dto';
14
16
  export declare class ResourceDto implements IResource {
15
17
  id?: number;
16
18
  type: ResourceNameTypeEnum;
@@ -108,3 +110,7 @@ export declare class UpdateResourceDto {
108
110
  isBookableOnline?: boolean;
109
111
  relatedProductsIds?: number[];
110
112
  }
113
+ export declare class SimpleFacilityWithResourcesDto extends SimpleFacilityDto {
114
+ organizationId: number;
115
+ resources: (SpaceResourceDto | InstructorResourceDto)[];
116
+ }
@@ -1,6 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- 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.SimpleResourceDto = exports.InvalidResourceDto = exports.ResourceDto = void 0;
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.SimpleResourceDto = exports.InvalidResourceDto = exports.ResourceDto = void 0;
4
+ const facilities_dto_1 = require("../../dto/facilities.dto");
4
5
  const general_dto_1 = require("../../dto/general.dto");
5
6
  const organization_dto_1 = require("../../organization/dto/organization.dto");
6
7
  class ResourceDto {
@@ -48,4 +49,7 @@ exports.ResourceScheduleDto = ResourceScheduleDto;
48
49
  class UpdateResourceDto {
49
50
  }
50
51
  exports.UpdateResourceDto = UpdateResourceDto;
52
+ class SimpleFacilityWithResourcesDto extends facilities_dto_1.SimpleFacilityDto {
53
+ }
54
+ exports.SimpleFacilityWithResourcesDto = SimpleFacilityWithResourcesDto;
51
55
  //# 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":";;;AAEA,uDAAsF;AAEtF,8EAA8E;AAkB9E,MAAa,WAAW;CAUvB;AAVD,kCAUC;AAED,MAAa,kBAAmB,SAAQ,WAAW;CAMlD;AAND,gDAMC;AAED,MAAa,iBAAkB,SAAQ,0BAAY;CAAG;AAAtD,8CAAsD;AAEtD,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"}
1
+ {"version":3,"file":"resource.dto.js","sourceRoot":"","sources":["../../../../src/types/resources/dto/resource.dto.ts"],"names":[],"mappings":";;;AACA,6DAA0E;AAC1E,uDAAsF;AAEtF,8EAA8E;AAoB9E,MAAa,WAAW;CAUvB;AAVD,kCAUC;AAED,MAAa,kBAAmB,SAAQ,WAAW;CAMlD;AAND,gDAMC;AAED,MAAa,iBAAkB,SAAQ,0BAAY;CAAG;AAAtD,8CAAsD;AAEtD,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"}
@@ -1 +1 @@
1
- {"version":3,"file":"Permission.js","sourceRoot":"","sources":["../../../../src/types/roles/entities/Permission.ts"],"names":[],"mappings":";;;AAAA,qCAA0I;AAG1I,MAAa,UAAW,SAAQ,oBAAU;CAUzC;AAVD,gCAUC"}
1
+ {"version":3,"file":"Permission.js","sourceRoot":"","sources":["../../../../src/types/roles/entities/Permission.ts"],"names":[],"mappings":";;;AAAA,qCAUiB;AAGjB,MAAa,UAAW,SAAQ,oBAAU;CAUzC;AAVD,gCAUC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bondsports/types",
3
- "version": "2.2.137",
3
+ "version": "2.2.139",
4
4
  "description": "backend types module for Bond-Sports",
5
5
  "main": "./dist/index.js",
6
6
  "scripts": {