@bondsports/types 2.2.45 → 2.2.47

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,15 +1,15 @@
1
- import { ActivityEnum, ProductPackageLevelEnum, ProductSubTypesEnum, SportsEnum } from '../../services/enums.service';
2
- import { ResourceDto } from '../../resources/dto/resource.dto';
3
- import { CreatePriceDto } from '../../pricing/dto/pricing.dto';
4
- import { CreateRentalProductAddonDto } from './product.dto';
5
1
  import { BasicActivityTimesDto } from '../../dto/activityTimes.dto';
6
- import { PriceTypeEnum } from '../../pricing/types/pricing.enums';
7
2
  import { CreateEntitlementDiscountDto } from '../../payment/dto/discount.dto';
3
+ import { CreatePriceDto } from '../../pricing/dto/pricing.dto';
4
+ import { PriceTypeEnum } from '../../pricing/types/pricing.enums';
5
+ import { ResourceDto } from '../../resources/dto/resource.dto';
6
+ import { ActivityEnum, ProductPackageLevelEnum, ProductSubTypesEnum, SportsEnum } from '../../services/enums.service';
7
+ import { CreateRentalProductAddonDto } from './product.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,7 +23,7 @@ export declare class CreateRentalProductDto {
23
23
  status?: ActivityEnum;
24
24
  level?: ProductPackageLevelEnum;
25
25
  productSubType?: ProductSubTypesEnum;
26
- customersAvailableFor?: number[];
26
+ onlyForCustomersIds?: number[];
27
27
  }
28
28
  export declare class CreatePricingWithScheduleDto {
29
29
  prices: CreatePriceDto[];
@@ -36,7 +36,7 @@ export declare class CreateRentalPricesDto {
36
36
  }
37
37
  export declare class CreateRentalProductPackageDto {
38
38
  product: CreateRentalProductDto;
39
- facilitiesIds: number[];
39
+ facilitiesIds?: number[];
40
40
  pricing?: CreateRentalPricesDto;
41
41
  resources?: ResourceDto[];
42
42
  addons?: CreateRentalProductAddonDto[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bondsports/types",
3
- "version": "2.2.45",
3
+ "version": "2.2.47",
4
4
  "description": "backend types module for Bond-Sports",
5
5
  "main": "./dist/index.js",
6
6
  "scripts": {