@bondsports/types 2.2.43 → 2.2.45

Sign up to get free protection for your applications and to get access to all the features.
@@ -76,6 +76,7 @@ export declare class GetProductsByTypeQueryDto extends PaginationQuery implement
76
76
  includeCurrentPrice?: boolean;
77
77
  includePricesSchedule?: boolean;
78
78
  includeEntitlementDiscounts?: boolean;
79
+ includeReservedCustomers?: boolean;
79
80
  facilitiesIds?: number[];
80
81
  resourcesIds?: number[];
81
82
  excludeResourceIds?: number[];
@@ -1 +1 @@
1
- {"version":3,"file":"product-pricing.dto.js","sourceRoot":"","sources":["../../../../src/types/product-pricing/dto/product-pricing.dto.ts"],"names":[],"mappings":";;;AACA,uDAAwD;AACxD,8EAA8E;AAY9E,MAAa,qBAAqB;CAUjC;AAVD,sDAUC;AAED,MAAa,kBAAkB;CAQ9B;AARD,gDAQC;AAED,MAAa,uBAAuB;CAInC;AAJD,0DAIC;AAED,MAAa,uBAAuB;CAInC;AAJD,0DAIC;AAED,MAAa,sBAAuB,SAAQ,sCAAmB;CAE9D;AAFD,wDAEC;AAED,MAAa,2BAA4B,SAAQ,sCAAmB;CAAG;AAAvE,kEAAuE;AAEvE,MAAa,kBAAmB,SAAQ,6BAAe;CAEtD;AAFD,gDAEC;AAED,MAAa,gBAAgB;CAE5B;AAFD,4CAEC;AAED,MAAa,oBAAoB;CAQhC;AARD,oDAQC;AAED,MAAa,sBAAsB;CAElC;AAFD,wDAEC;AAED,MAAa,oBAAoB;CAUhC;AAVD,oDAUC;AAED,MAAa,iBAAiB;CAE7B;AAFD,8CAEC;AAED,MAAa,0BAA0B;CAMtC;AAND,gEAMC;AAED,MAAa,UAAU;CAEtB;AAFD,gCAEC;AAED,MAAa,oBAAqB,SAAQ,sCAAmB;CAE5D;AAFD,oDAEC;AAED,MAAa,yBAA0B,SAAQ,6BAAe;CAkC7D;AAlCD,8DAkCC"}
1
+ {"version":3,"file":"product-pricing.dto.js","sourceRoot":"","sources":["../../../../src/types/product-pricing/dto/product-pricing.dto.ts"],"names":[],"mappings":";;;AACA,uDAAwD;AACxD,8EAA8E;AAY9E,MAAa,qBAAqB;CAUjC;AAVD,sDAUC;AAED,MAAa,kBAAkB;CAQ9B;AARD,gDAQC;AAED,MAAa,uBAAuB;CAInC;AAJD,0DAIC;AAED,MAAa,uBAAuB;CAInC;AAJD,0DAIC;AAED,MAAa,sBAAuB,SAAQ,sCAAmB;CAE9D;AAFD,wDAEC;AAED,MAAa,2BAA4B,SAAQ,sCAAmB;CAAG;AAAvE,kEAAuE;AAEvE,MAAa,kBAAmB,SAAQ,6BAAe;CAEtD;AAFD,gDAEC;AAED,MAAa,gBAAgB;CAE5B;AAFD,4CAEC;AAED,MAAa,oBAAoB;CAQhC;AARD,oDAQC;AAED,MAAa,sBAAsB;CAElC;AAFD,wDAEC;AAED,MAAa,oBAAoB;CAUhC;AAVD,oDAUC;AAED,MAAa,iBAAiB;CAE7B;AAFD,8CAEC;AAED,MAAa,0BAA0B;CAMtC;AAND,gEAMC;AAED,MAAa,UAAU;CAEtB;AAFD,gCAEC;AAED,MAAa,oBAAqB,SAAQ,sCAAmB;CAE5D;AAFD,oDAEC;AAED,MAAa,yBAA0B,SAAQ,6BAAe;CAoC7D;AApCD,8DAoCC"}
@@ -23,6 +23,7 @@ export declare class CreateRentalProductDto {
23
23
  status?: ActivityEnum;
24
24
  level?: ProductPackageLevelEnum;
25
25
  productSubType?: ProductSubTypesEnum;
26
+ customersAvailableFor?: number[];
26
27
  }
27
28
  export declare class CreatePricingWithScheduleDto {
28
29
  prices: CreatePriceDto[];
@@ -1 +1 @@
1
- {"version":3,"file":"rental-product.dto.js","sourceRoot":"","sources":["../../../../src/types/product-pricing/dto/rental-product.dto.ts"],"names":[],"mappings":";;;AAQA,MAAa,sBAAsB;CAkClC;AAlCD,wDAkCC;AAED,MAAa,4BAA4B;CAIxC;AAJD,oEAIC;AAED,MAAa,qBAAqB;CAMjC;AAND,sDAMC;AAED,MAAa,6BAA6B;CAczC;AAdD,sEAcC"}
1
+ {"version":3,"file":"rental-product.dto.js","sourceRoot":"","sources":["../../../../src/types/product-pricing/dto/rental-product.dto.ts"],"names":[],"mappings":";;;AAQA,MAAa,sBAAsB;CAoClC;AApCD,wDAoCC;AAED,MAAa,4BAA4B;CAIxC;AAJD,oEAIC;AAED,MAAa,qBAAqB;CAMjC;AAND,sDAMC;AAED,MAAa,6BAA6B;CAczC;AAdD,sEAcC"}
@@ -24,6 +24,7 @@ export interface IGetProductsByTypeOptions extends IPagination {
24
24
  excludeResourceIds?: number[];
25
25
  excludeProductIds?: number[];
26
26
  includeEntitlementDiscounts?: boolean;
27
+ includeReservedCustomers?: boolean;
27
28
  statuses?: ActivityEnum[];
28
29
  sports?: SportsEnum[];
29
30
  search?: string;
@@ -45,10 +45,13 @@ export declare class PurchaseRequestDto {
45
45
  isAutoRenewal?: boolean;
46
46
  }
47
47
  export declare class PurchaseResourceDto {
48
- id: number;
48
+ id?: number;
49
49
  type: ResourceNameTypeEnum;
50
50
  startDate?: Date;
51
51
  resourceIdToRenew?: number;
52
+ isAll?: boolean;
53
+ includedIds?: number[];
54
+ excludedIds?: number[];
52
55
  }
53
56
  export declare class PurchaseProductDto {
54
57
  id: number;
@@ -1 +1 @@
1
- {"version":3,"file":"purchase.dto.js","sourceRoot":"","sources":["../../../../src/types/purchase/dto/purchase.dto.ts"],"names":[],"mappings":";;;AAIA,+DAA+D;AAC/D,8EAA8E;AAY9E,MAAa,kBAAkB;CAQ9B;AARD,gDAQC;AAED,MAAa,uBAAuB;CAkBnC;AAlBD,0DAkBC;AAED,MAAa,kBAAkB;CAiC9B;AAjCD,gDAiCC;AAED,MAAa,mBAAmB;CAQ/B;AARD,kDAQC;AAED,MAAa,kBAAkB;CA6B9B;AA7BD,gDA6BC;AAED,MAAa,kCAAkC;CAM9C;AAND,gFAMC;AAED,MAAa,0BAA2B,SAAQ,sCAAmB;CAIlE;AAJD,gEAIC;AAED,MAAa,8BAA8B;CAU1C;AAVD,wEAUC;AAED,MAAa,wBAAwB;CAgBpC;AAhBD,4DAgBC;AAED,MAAa,yBAAyB;CAQrC;AARD,8DAQC;AAED,MAAa,WAAW;IAAxB;QAGC,qBAAgB,GAAG,KAAK,CAAC;QAEzB,aAAQ,GAAG,KAAK,CAAC;IAClB,CAAC;CAAA;AAND,kCAMC;AAED,MAAa,uBAAuB;CAUnC;AAVD,0DAUC;AAED,MAAa,sBAAsB;CAElC;AAFD,wDAEC;AAED,MAAa,iBAAiB;CAU7B;AAVD,8CAUC;AAED,MAAa,eAAgB,SAAQ,4BAAc;CAUlD;AAVD,0CAUC"}
1
+ {"version":3,"file":"purchase.dto.js","sourceRoot":"","sources":["../../../../src/types/purchase/dto/purchase.dto.ts"],"names":[],"mappings":";;;AAIA,+DAA+D;AAC/D,8EAA8E;AAY9E,MAAa,kBAAkB;CAQ9B;AARD,gDAQC;AAED,MAAa,uBAAuB;CAkBnC;AAlBD,0DAkBC;AAED,MAAa,kBAAkB;CAiC9B;AAjCD,gDAiCC;AAED,MAAa,mBAAmB;CAc/B;AAdD,kDAcC;AAED,MAAa,kBAAkB;CA6B9B;AA7BD,gDA6BC;AAED,MAAa,kCAAkC;CAM9C;AAND,gFAMC;AAED,MAAa,0BAA2B,SAAQ,sCAAmB;CAIlE;AAJD,gEAIC;AAED,MAAa,8BAA8B;CAU1C;AAVD,wEAUC;AAED,MAAa,wBAAwB;CAgBpC;AAhBD,4DAgBC;AAED,MAAa,yBAAyB;CAQrC;AARD,8DAQC;AAED,MAAa,WAAW;IAAxB;QAGC,qBAAgB,GAAG,KAAK,CAAC;QAEzB,aAAQ,GAAG,KAAK,CAAC;IAClB,CAAC;CAAA;AAND,kCAMC;AAED,MAAa,uBAAuB;CAUnC;AAVD,0DAUC;AAED,MAAa,sBAAsB;CAElC;AAFD,wDAEC;AAED,MAAa,iBAAiB;CAU7B;AAVD,8CAUC;AAED,MAAa,eAAgB,SAAQ,4BAAc;CAUlD;AAVD,0CAUC"}
@@ -11,8 +11,11 @@ import { ActivityEnum, OrderByEnum, ProgramTypesEnum, ResourceAgesEnum, Resource
11
11
  import { OrderByResourceEnum } from '../types/enums/resources.enums';
12
12
  import { IGetResourcesOptions, IGetResourceByIdsOptions } from '../types/interfaces/resource.interfaces';
13
13
  export declare class ResourceDto {
14
- id: number;
14
+ id?: number;
15
15
  type: ResourceNameTypeEnum;
16
+ isAll?: boolean;
17
+ includedIds?: number[];
18
+ excludedIds?: number[];
16
19
  }
17
20
  export declare class SimpleResourceDto extends IdAndNameDto {
18
21
  }
@@ -1 +1 @@
1
- {"version":3,"file":"resource.dto.js","sourceRoot":"","sources":["../../../../src/types/resources/dto/resource.dto.ts"],"names":[],"mappings":";;;AAEA,uDAAsF;AAEtF,8EAA8E;AAiB9E,MAAa,WAAW;CAIvB;AAJD,kCAIC;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":";;;AAEA,uDAAsF;AAEtF,8EAA8E;AAiB9E,MAAa,WAAW;CAUvB;AAVD,kCAUC;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"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bondsports/types",
3
- "version": "2.2.43",
3
+ "version": "2.2.45",
4
4
  "description": "backend types module for Bond-Sports",
5
5
  "main": "./dist/index.js",
6
6
  "scripts": {