@bondsports/types 2.2.109 → 2.2.111

Sign up to get free protection for your applications and to get access to all the features.
@@ -61,7 +61,6 @@ export declare class SlotDto extends BaseSlotDto {
61
61
  [addonProductId: number]: IOverridePriceMeta;
62
62
  };
63
63
  addonProducts?: Product[];
64
- relevantProducts?: Product[];
65
64
  maintenance?: MaintenanceDto[];
66
65
  isPrivate: boolean;
67
66
  addonsIds?: number[];
@@ -1 +1 @@
1
- {"version":3,"file":"slot.dto.js","sourceRoot":"","sources":["../../../../src/types/reservations/dto/slot.dto.ts"],"names":[],"mappings":";;;AAoBA,MAAa,sBAAsB;CAIlC;AAJD,wDAIC;AAED,MAAa,uBAAuB;CAYnC;AAZD,0DAYC;AAED,MAAa,WAAY,SAAQ,uBAAuB;CA8CvD;AA9CD,kCA8CC;AAED,MAAa,OAAQ,SAAQ,WAAW;CAmCvC;AAnCD,0BAmCC;AAED,MAAa,WAAW;CAsBvB;AAtBD,kCAsBC;AAED,MAAa,YAAY;CAExB;AAFD,oCAEC;AAED,MAAa,WAAW;CAEvB;AAFD,kCAEC;AAED,MAAa,oBAAoB;CAIhC;AAJD,oDAIC;AAED,MAAa,YAAa,SAAQ,WAAW;CAsB5C;AAtBD,oCAsBC;AAED,MAAa,oBAAoB;CAKhC;AALD,oDAKC;AAED,MAAa,gBAAgB;CAc5B;AAdD,4CAcC"}
1
+ {"version":3,"file":"slot.dto.js","sourceRoot":"","sources":["../../../../src/types/reservations/dto/slot.dto.ts"],"names":[],"mappings":";;;AAoBA,MAAa,sBAAsB;CAIlC;AAJD,wDAIC;AAED,MAAa,uBAAuB;CAYnC;AAZD,0DAYC;AAED,MAAa,WAAY,SAAQ,uBAAuB;CA8CvD;AA9CD,kCA8CC;AAED,MAAa,OAAQ,SAAQ,WAAW;CAkCvC;AAlCD,0BAkCC;AAED,MAAa,WAAW;CAsBvB;AAtBD,kCAsBC;AAED,MAAa,YAAY;CAExB;AAFD,oCAEC;AAED,MAAa,WAAW;CAEvB;AAFD,kCAEC;AAED,MAAa,oBAAoB;CAIhC;AAJD,oDAIC;AAED,MAAa,YAAa,SAAQ,WAAW;CAsB5C;AAtBD,oCAsBC;AAED,MAAa,oBAAoB;CAKhC;AALD,oDAKC;AAED,MAAa,gBAAgB;CAc5B;AAdD,4CAcC"}
@@ -9,7 +9,7 @@ import { PurchasedResourceDto } from '../../reservations/dto/purcased-resource.d
9
9
  import { Addon } from '../../reservations/entities/addon.entity';
10
10
  import { Slot } from '../../reservations/entities/slot.entity';
11
11
  import { ActivityEnum, OrderByEnum, ProgramTypesEnum, ResourceAgesEnum, ResourceNameTypeEnum, ResourceTypeEnum, SportsEnum } from '../../services/enums.service';
12
- import { OrderByResourceEnum } from '../types/enums/resources.enums';
12
+ import { InvalidResourceReasonsEnum, OrderByResourceEnum } from '../types/enums/resources.enums';
13
13
  import { IGetResourceByIdsOptions, IGetResourcesOptions } from '../types/interfaces/resource.interfaces';
14
14
  export declare class ResourceDto implements IResource {
15
15
  id?: number;
@@ -20,6 +20,8 @@ export declare class ResourceDto implements IResource {
20
20
  }
21
21
  export declare class InvalidResourceDto extends ResourceDto {
22
22
  name?: string;
23
+ reasonType: InvalidResourceReasonsEnum;
24
+ reasons?: IdAndNameDto[];
23
25
  }
24
26
  export declare class SimpleResourceDto extends IdAndNameDto {
25
27
  }
@@ -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;CAElD;AAFD,gDAEC;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,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B;CAwB7B;AAxBD,8CAwBC"}
@@ -8,3 +8,7 @@ export declare enum OrderByResourceEnum {
8
8
  EMAIL = "email",
9
9
  STATUS = "status"
10
10
  }
11
+ export declare enum InvalidResourceReasonsEnum {
12
+ FACILITY = "facility",
13
+ SPORT = "sport"
14
+ }
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.OrderByResourceEnum = void 0;
3
+ exports.InvalidResourceReasonsEnum = exports.OrderByResourceEnum = void 0;
4
4
  var OrderByResourceEnum;
5
5
  (function (OrderByResourceEnum) {
6
6
  OrderByResourceEnum["ID"] = "id";
@@ -12,4 +12,9 @@ var OrderByResourceEnum;
12
12
  OrderByResourceEnum["EMAIL"] = "email";
13
13
  OrderByResourceEnum["STATUS"] = "status";
14
14
  })(OrderByResourceEnum = exports.OrderByResourceEnum || (exports.OrderByResourceEnum = {}));
15
+ var InvalidResourceReasonsEnum;
16
+ (function (InvalidResourceReasonsEnum) {
17
+ InvalidResourceReasonsEnum["FACILITY"] = "facility";
18
+ InvalidResourceReasonsEnum["SPORT"] = "sport";
19
+ })(InvalidResourceReasonsEnum = exports.InvalidResourceReasonsEnum || (exports.InvalidResourceReasonsEnum = {}));
15
20
  //# sourceMappingURL=resources.enums.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"resources.enums.js","sourceRoot":"","sources":["../../../../../src/types/resources/types/enums/resources.enums.ts"],"names":[],"mappings":";;;AAAA,IAAY,mBASX;AATD,WAAY,mBAAmB;IAC9B,gCAAS,CAAA;IACT,oCAAa,CAAA;IACb,+CAAwB,CAAA;IACxB,qDAA8B,CAAA;IAC9B,+CAAwB,CAAA;IACxB,6CAAsB,CAAA;IACtB,sCAAe,CAAA;IACf,wCAAiB,CAAA;AAClB,CAAC,EATW,mBAAmB,GAAnB,2BAAmB,KAAnB,2BAAmB,QAS9B"}
1
+ {"version":3,"file":"resources.enums.js","sourceRoot":"","sources":["../../../../../src/types/resources/types/enums/resources.enums.ts"],"names":[],"mappings":";;;AAAA,IAAY,mBASX;AATD,WAAY,mBAAmB;IAC9B,gCAAS,CAAA;IACT,oCAAa,CAAA;IACb,+CAAwB,CAAA;IACxB,qDAA8B,CAAA;IAC9B,+CAAwB,CAAA;IACxB,6CAAsB,CAAA;IACtB,sCAAe,CAAA;IACf,wCAAiB,CAAA;AAClB,CAAC,EATW,mBAAmB,GAAnB,2BAAmB,KAAnB,2BAAmB,QAS9B;AAED,IAAY,0BAGX;AAHD,WAAY,0BAA0B;IACrC,mDAAqB,CAAA;IACrB,6CAAe,CAAA;AAChB,CAAC,EAHW,0BAA0B,GAA1B,kCAA0B,KAA1B,kCAA0B,QAGrC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bondsports/types",
3
- "version": "2.2.109",
3
+ "version": "2.2.111",
4
4
  "description": "backend types module for Bond-Sports",
5
5
  "main": "./dist/index.js",
6
6
  "scripts": {