@bondsports/types 2.1.54 → 2.1.56

Sign up to get free protection for your applications and to get access to all the features.
@@ -4,6 +4,7 @@ import { Address } from './Address';
4
4
  import { Media } from '../media/entities/Media';
5
5
  import { OpeningTime } from './OpeningTime';
6
6
  import { OrganizationConnectionBaseEntity } from './OrganizationConnectionBaseEntity';
7
+ import { Product } from '../product-pricing/entities/Product';
7
8
  export declare class Facility extends OrganizationConnectionBaseEntity {
8
9
  name: string;
9
10
  description?: string;
@@ -29,4 +30,5 @@ export declare class Facility extends OrganizationConnectionBaseEntity {
29
30
  ordinal: number;
30
31
  locationId?: string;
31
32
  linkSEO: string;
33
+ products: Product[];
32
34
  }
@@ -1 +1 @@
1
- {"version":3,"file":"Facility.js","sourceRoot":"","sources":["../../../src/types/entity/Facility.ts"],"names":[],"mappings":";;;AAgBA,yFAAsF;AAEtF,MAAa,QAAS,SAAQ,mEAAgC;CAiD7D;AAjDD,4BAiDC"}
1
+ {"version":3,"file":"Facility.js","sourceRoot":"","sources":["../../../src/types/entity/Facility.ts"],"names":[],"mappings":";;;AAgBA,yFAAsF;AAGtF,MAAa,QAAS,SAAQ,mEAAgC;CAmD7D;AAnDD,4BAmDC"}
@@ -2,6 +2,9 @@ import { IdDto, PaginationQuery } from '../../dto/general.dto';
2
2
  export declare class ByOrganizationIdDto {
3
3
  organizationId: number;
4
4
  }
5
+ export declare class ByOrganizationIdOptionalDto {
6
+ organizationId?: number;
7
+ }
5
8
  export declare class OptionalOrganizationIdDto {
6
9
  organizationId?: number;
7
10
  }
@@ -1,10 +1,13 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.FindUnallocatedEventsFiltersDto = exports.FindUnallocatedEventsIdsFiltersDto = exports.OrganizationBaseEntityDto = exports.OptionalOrganizationIdDto = exports.ByOrganizationIdDto = void 0;
3
+ exports.FindUnallocatedEventsFiltersDto = exports.FindUnallocatedEventsIdsFiltersDto = exports.OrganizationBaseEntityDto = exports.OptionalOrganizationIdDto = exports.ByOrganizationIdOptionalDto = exports.ByOrganizationIdDto = void 0;
4
4
  const general_dto_1 = require("../../dto/general.dto");
5
5
  class ByOrganizationIdDto {
6
6
  }
7
7
  exports.ByOrganizationIdDto = ByOrganizationIdDto;
8
+ class ByOrganizationIdOptionalDto {
9
+ }
10
+ exports.ByOrganizationIdOptionalDto = ByOrganizationIdOptionalDto;
8
11
  class OptionalOrganizationIdDto {
9
12
  }
10
13
  exports.OptionalOrganizationIdDto = OptionalOrganizationIdDto;
@@ -1 +1 @@
1
- {"version":3,"file":"organization.dto.js","sourceRoot":"","sources":["../../../../src/types/organization/dto/organization.dto.ts"],"names":[],"mappings":";;;AAAA,uDAA+D;AAE/D,MAAa,mBAAmB;CAE/B;AAFD,kDAEC;AAED,MAAa,yBAAyB;CAErC;AAFD,8DAEC;AAED,MAAa,yBAA0B,SAAQ,mBAAK;CAEnD;AAFD,8DAEC;AAED,MAAa,kCAAkC;CAc9C;AAdD,gFAcC;AAED,MAAa,+BAAgC,SAAQ,6BAAe;CAcnE;AAdD,0EAcC"}
1
+ {"version":3,"file":"organization.dto.js","sourceRoot":"","sources":["../../../../src/types/organization/dto/organization.dto.ts"],"names":[],"mappings":";;;AAAA,uDAA+D;AAE/D,MAAa,mBAAmB;CAE/B;AAFD,kDAEC;AACD,MAAa,2BAA2B;CAEvC;AAFD,kEAEC;AAED,MAAa,yBAAyB;CAErC;AAFD,8DAEC;AAED,MAAa,yBAA0B,SAAQ,mBAAK;CAEnD;AAFD,8DAEC;AAED,MAAa,kCAAkC;CAc9C;AAdD,gFAcC;AAED,MAAa,+BAAgC,SAAQ,6BAAe;CAcnE;AAdD,0EAcC"}
@@ -18,6 +18,7 @@ import { ResourceSetting } from '../../resource-settings/entities/resource-setti
18
18
  import { AddonTimePeriodEnum, ProductSubTypesEnum, ProductTypesEnum } from '../../services/enums.service';
19
19
  import { IChildProduct, IResourcesAvailability } from '../../services/interfaces.service';
20
20
  import { ProductResourceDto } from '../dto/product-resource.dto';
21
+ import { Facility } from '../../entity/Facility';
21
22
  export declare class Product extends OrganizationConnectionBaseEntity {
22
23
  name: string;
23
24
  quantity: number;
@@ -71,4 +72,5 @@ export declare class Product extends OrganizationConnectionBaseEntity {
71
72
  lineItems: LineItems[];
72
73
  productsUsers: ProductsUsers[];
73
74
  purchasedResources: PurchasedResource[];
75
+ facilities: Facility[];
74
76
  }
@@ -1 +1 @@
1
- {"version":3,"file":"Product.js","sourceRoot":"","sources":["../../../../src/types/product-pricing/entities/Product.ts"],"names":[],"mappings":";;;AAiBA,oGAAiG;AAiBjG,MAAa,OAAQ,SAAQ,mEAAgC;CAgH5D;AAhHD,0BAgHC"}
1
+ {"version":3,"file":"Product.js","sourceRoot":"","sources":["../../../../src/types/product-pricing/entities/Product.ts"],"names":[],"mappings":";;;AAiBA,oGAAiG;AAkBjG,MAAa,OAAQ,SAAQ,mEAAgC;CAkH5D;AAlHD,0BAkHC"}
@@ -0,0 +1,6 @@
1
+ import { BondBaseEntity } from '../../entity/BondBaseEntity';
2
+ export declare class ProductToFacility extends BondBaseEntity {
3
+ productId: number;
4
+ facilityId: number;
5
+ deletedAt?: Date;
6
+ }
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ProductToFacility = void 0;
4
+ const BondBaseEntity_1 = require("../../entity/BondBaseEntity");
5
+ class ProductToFacility extends BondBaseEntity_1.BondBaseEntity {
6
+ }
7
+ exports.ProductToFacility = ProductToFacility;
8
+ //# sourceMappingURL=ProductToFacility.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ProductToFacility.js","sourceRoot":"","sources":["../../../../src/types/product-pricing/entities/ProductToFacility.ts"],"names":[],"mappings":";;;AAAA,gEAA6D;AAG7D,MAAa,iBAAkB,SAAQ,+BAAc;CAMpD;AAND,8CAMC"}
@@ -1 +1,2 @@
1
1
  export * from './Product';
2
+ export * from './ProductToFacility';
@@ -15,4 +15,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./Product"), exports);
18
+ __exportStar(require("./ProductToFacility"), exports);
18
19
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/product-pricing/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4CAA0B"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/product-pricing/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4CAA0B;AAC1B,sDAAoC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bondsports/types",
3
- "version": "2.1.54",
3
+ "version": "2.1.56",
4
4
  "description": "backend types module for Bond-Sports",
5
5
  "main": "./dist/index.js",
6
6
  "scripts": {