@bondsports/types 2.2.53 → 2.2.55

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,7 +1,9 @@
1
1
  import { BondBaseEntity } from './BondBaseEntity';
2
2
  import { Facility } from './Facility';
3
+ import { Resource } from '../resources/entities/Resource';
3
4
  export declare class FacilityToResource extends BondBaseEntity {
4
5
  facilityId: number;
5
6
  resourceId: number;
6
7
  facility: Facility;
8
+ resource: Resource;
7
9
  }
@@ -1 +1 @@
1
- {"version":3,"file":"FacilityToResource.js","sourceRoot":"","sources":["../../../src/types/entity/FacilityToResource.ts"],"names":[],"mappings":";;;AACA,qDAAkD;AAGlD,MAAa,kBAAmB,SAAQ,+BAAc;CAMrD;AAND,gDAMC"}
1
+ {"version":3,"file":"FacilityToResource.js","sourceRoot":"","sources":["../../../src/types/entity/FacilityToResource.ts"],"names":[],"mappings":";;;AACA,qDAAkD;AAIlD,MAAa,kBAAmB,SAAQ,+BAAc;CAQrD;AARD,gDAQC"}
@@ -1,21 +1,18 @@
1
+ import { SimpleCustomerDto } from '../../customers/dto/customerResponseDto';
1
2
  import { ActivityTimesDto } from '../../dto/activityTimes.dto';
2
- import { CustomerDto } from '../../dto/customer.dto';
3
3
  import { FacilityDto, SimpleFacilityDto } from '../../dto/facilities.dto';
4
4
  import { IdAndNameDto, PaginationQuery } from '../../dto/general.dto';
5
+ import { SimpleMembershipDto } from '../../dto/membership.dto';
5
6
  import { VariantDto, VariantTitleDto, VariantWithPrice } from '../../dto/product-variants.dto';
6
7
  import { GroupItemsPricing } from '../../entity/GroupItemsPricing';
7
- import { Membership } from '../../entity/Membership';
8
8
  import { ProductPackage } from '../../entity/ProductPackage';
9
- import { ProductsReservedForCustomers } from '../../entity/ProductsReservedForCustomers';
10
- import { ProductsUsers } from '../../entity/ProductsUsers';
11
9
  import { ResourceGlDto } from '../../gl-codes/dto/resource-to-gl.dto';
10
+ import { ByOrganizationIdDto } from '../../organization/dto/organization.dto';
12
11
  import { EntitlementDiscountDto } from '../../payment/dto/discount.dto';
13
12
  import { CreatePaymentPlanDto, PaymentPlanDto } from '../../payment/dto/payment-plan.dto';
14
13
  import { ProductPaymentPlan } from '../../payment/entities/ProductPaymentPlan';
15
14
  import { CreateGroupPricingWithProduct, CreatePriceDto } from '../../pricing/dto/pricing.dto';
16
15
  import { Price } from '../../pricing/entities/Price';
17
- import { LineItemDto } from '../../reservations/dto/lineItem.dto';
18
- import { PurchasedResourceDto } from '../../reservations/dto/purcased-resource.dto';
19
16
  import { CreateOrUpdateResourceSettingDto } from '../../resource-settings/dto/create-or-update-resource-setting.dto';
20
17
  import { ResourceSettingDto } from '../../resource-settings/dto/resource-setting.dto';
21
18
  import { ActivityEnum, AddonTimePeriodEnum, PackageProductsRelationTypeEnum, PlatformsEnum, ProductPackageLevelEnum, ProductSubTypesEnum, ProductTypesEnum, ResourceNameTypeEnum } from '../../services/enums.service';
@@ -23,7 +20,6 @@ import { IChildProduct, IResourcesAvailability } from '../../services/interfaces
23
20
  import { Product } from '../entities/Product';
24
21
  import { IPricingSchedule } from '../types/interfaces/product-pricing.interfaces';
25
22
  import { ProductResourceDto } from './product-resource.dto';
26
- import { ByOrganizationIdDto } from '../../organization/dto/organization.dto';
27
23
  export declare class FindByProductIdDto {
28
24
  productId: number;
29
25
  }
@@ -220,15 +216,11 @@ export declare class BaseProductDto {
220
216
  durationDays?: number;
221
217
  forms?: number[];
222
218
  isForAllCustomers?: boolean;
223
- productsReservedForCustomers?: ProductsReservedForCustomers[];
224
- reservedForCustomers?: CustomerDto[];
219
+ reservedForCustomers?: SimpleCustomerDto[];
225
220
  reservedForCustomersIds?: number[];
226
- reservedForMemberships?: Membership[];
221
+ reservedForMemberships?: SimpleMembershipDto[];
227
222
  activityTimes?: ActivityTimesDto[];
228
223
  resourceSettings: ResourceSettingDto[];
229
- lineItems?: LineItemDto[];
230
- productsUsers?: ProductsUsers[];
231
- purchasedResources?: PurchasedResourceDto[];
232
224
  timezone?: string;
233
225
  }
234
226
  export declare class DeprecatedProductDto extends BaseProductDto {
@@ -1 +1 @@
1
- {"version":3,"file":"product.dto.js","sourceRoot":"","sources":["../../../../src/types/product-pricing/dto/product.dto.ts"],"names":[],"mappings":";;;AAGA,uDAAsE;AAgCtE,8EAA8E;AAE9E,MAAa,kBAAkB;CAE9B;AAFD,gDAEC;AAED,MAAa,iCAAiC;CAU7C;AAVD,8EAUC;AAED,MAAa,kBAAmB,SAAQ,sCAAmB;CAE1D;AAFD,gDAEC;AAED,MAAa,2BAA2B;CAUvC;AAVD,kEAUC;AAED,MAAa,gBAAgB;CAgF5B;AAhFD,4CAgFC;AAED,MAAa,gBAAiB,SAAQ,gBAAgB;CAMrD;AAND,4CAMC;AAED,MAAa,yBAAyB;CAIrC;AAJD,8DAIC;AAED,MAAa,yBAAyB;CAKrC;AALD,8DAKC;AAED,MAAa,sBAAsB;CAGlC;AAHD,wDAGC;AAED,MAAa,cAAe,SAAQ,6BAAe;CAQlD;AARD,wCAQC;AAED,MAAa,cAAe,SAAQ,6BAAe;CAwBlD;AAxBD,wCAwBC;AAED,MAAa,gBAAgB;CAsD5B;AAtDD,4CAsDC;AAED,MAAa,sBAAsB;CASlC;AATD,wDASC;AAED,MAAa,0BAA2B,SAAQ,6BAAe;CAM9D;AAND,gEAMC;AAED,MAAa,gBAAiB,SAAQ,0BAAY;CAIjD;AAJD,4CAIC;AAED,MAAa,cAAc;CAkH1B;AAlHD,wCAkHC;AAED,MAAa,oBAAqB,SAAQ,cAAc;CAEvD;AAFD,oDAEC;AAED,MAAa,UAAW,SAAQ,cAAc;CAU7C;AAVD,gCAUC;AAED,MAAa,kBAAkB;CAU9B;AAVD,gDAUC"}
1
+ {"version":3,"file":"product.dto.js","sourceRoot":"","sources":["../../../../src/types/product-pricing/dto/product.dto.ts"],"names":[],"mappings":";;;AAGA,uDAAsE;AAMtE,8EAA8E;AAwB9E,MAAa,kBAAkB;CAE9B;AAFD,gDAEC;AAED,MAAa,iCAAiC;CAU7C;AAVD,8EAUC;AAED,MAAa,kBAAmB,SAAQ,sCAAmB;CAE1D;AAFD,gDAEC;AAED,MAAa,2BAA2B;CAUvC;AAVD,kEAUC;AAED,MAAa,gBAAgB;CAgF5B;AAhFD,4CAgFC;AAED,MAAa,gBAAiB,SAAQ,gBAAgB;CAMrD;AAND,4CAMC;AAED,MAAa,yBAAyB;CAIrC;AAJD,8DAIC;AAED,MAAa,yBAAyB;CAKrC;AALD,8DAKC;AAED,MAAa,sBAAsB;CAGlC;AAHD,wDAGC;AAED,MAAa,cAAe,SAAQ,6BAAe;CAQlD;AARD,wCAQC;AAED,MAAa,cAAe,SAAQ,6BAAe;CAwBlD;AAxBD,wCAwBC;AAED,MAAa,gBAAgB;CAsD5B;AAtDD,4CAsDC;AAED,MAAa,sBAAsB;CASlC;AATD,wDASC;AAED,MAAa,0BAA2B,SAAQ,6BAAe;CAM9D;AAND,gEAMC;AAED,MAAa,gBAAiB,SAAQ,0BAAY;CAIjD;AAJD,4CAIC;AAED,MAAa,cAAc;CA0G1B;AA1GD,wCA0GC;AAED,MAAa,oBAAqB,SAAQ,cAAc;CAEvD;AAFD,oDAEC;AAED,MAAa,UAAW,SAAQ,cAAc;CAU7C;AAVD,gCAUC;AAED,MAAa,kBAAkB;CAU9B;AAVD,gDAUC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bondsports/types",
3
- "version": "2.2.53",
3
+ "version": "2.2.55",
4
4
  "description": "backend types module for Bond-Sports",
5
5
  "main": "./dist/index.js",
6
6
  "scripts": {