@bondsports/types 2.2.44 → 2.2.46

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"}
@@ -7,9 +7,9 @@ import { PriceTypeEnum } from '../../pricing/types/pricing.enums';
7
7
  import { CreateEntitlementDiscountDto } from '../../payment/dto/discount.dto';
8
8
  export declare class CreateRentalProductDto {
9
9
  id?: number;
10
- name: string;
10
+ name?: string;
11
11
  glCodes?: number[];
12
- sports: SportsEnum[];
12
+ sports?: SportsEnum[];
13
13
  isPublic?: boolean;
14
14
  description?: string;
15
15
  quantity?: number;
@@ -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[];
@@ -35,7 +36,7 @@ export declare class CreateRentalPricesDto {
35
36
  }
36
37
  export declare class CreateRentalProductPackageDto {
37
38
  product: CreateRentalProductDto;
38
- facilitiesIds: number[];
39
+ facilitiesIds?: number[];
39
40
  pricing?: CreateRentalPricesDto;
40
41
  resources?: ResourceDto[];
41
42
  addons?: CreateRentalProductAddonDto[];
@@ -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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bondsports/types",
3
- "version": "2.2.44",
3
+ "version": "2.2.46",
4
4
  "description": "backend types module for Bond-Sports",
5
5
  "main": "./dist/index.js",
6
6
  "scripts": {