@bondsports/types 2.2.130 → 2.2.132
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/dist/types/product-pricing/entities/Product.d.ts +2 -0
- package/dist/types/product-pricing/entities/Product.js.map +1 -1
- package/dist/types/product-pricing/entities/ProductToFacility.d.ts +2 -0
- package/dist/types/product-pricing/entities/ProductToFacility.js.map +1 -1
- package/dist/types/roles/dto/role.dto.d.ts +0 -3
- package/dist/types/roles/dto/role.dto.js +1 -4
- package/dist/types/roles/dto/role.dto.js.map +1 -1
- package/package.json +1 -1
@@ -21,6 +21,7 @@ import { IChildProduct, IResourcesAvailability } from '../../services/interfaces
|
|
21
21
|
import { ProductResourceDto } from '../dto/product-resource.dto';
|
22
22
|
import { ProductStateEnum } from '../types/enums/product.enums';
|
23
23
|
import { IPricingSchedule } from '../types/interfaces/product-pricing.interfaces';
|
24
|
+
import { ProductToFacility } from './ProductToFacility';
|
24
25
|
export declare class Product extends OrganizationConnectionBaseEntity {
|
25
26
|
name: string;
|
26
27
|
quantity: number;
|
@@ -77,6 +78,7 @@ export declare class Product extends OrganizationConnectionBaseEntity {
|
|
77
78
|
productsUsers: ProductsUsers[];
|
78
79
|
purchasedResources: PurchasedResource[];
|
79
80
|
facilities: Facility[];
|
81
|
+
productToFacilities: ProductToFacility[];
|
80
82
|
pricingSchedules?: IPricingSchedule[];
|
81
83
|
timezone?: string;
|
82
84
|
spacesIds?: number[];
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Product.js","sourceRoot":"","sources":["../../../../src/types/product-pricing/entities/Product.ts"],"names":[],"mappings":";;;AAkBA,oGAAiG;
|
1
|
+
{"version":3,"file":"Product.js","sourceRoot":"","sources":["../../../../src/types/product-pricing/entities/Product.ts"],"names":[],"mappings":";;;AAkBA,oGAAiG;AAoBjG,MAAa,OAAQ,SAAQ,mEAAgC;CAgI5D;AAhID,0BAgIC"}
|
@@ -1,8 +1,10 @@
|
|
1
1
|
import { BondBaseEntity } from '../../entity/BondBaseEntity';
|
2
2
|
import { Facility } from '../../entity/Facility';
|
3
|
+
import { Product } from './Product';
|
3
4
|
export declare class ProductToFacility extends BondBaseEntity {
|
4
5
|
productId: number;
|
5
6
|
facilityId: number;
|
6
7
|
deletedAt?: Date;
|
7
8
|
facility: Facility;
|
9
|
+
product: Product;
|
8
10
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"ProductToFacility.js","sourceRoot":"","sources":["../../../../src/types/product-pricing/entities/ProductToFacility.ts"],"names":[],"mappings":";;;AAAA,gEAA6D;
|
1
|
+
{"version":3,"file":"ProductToFacility.js","sourceRoot":"","sources":["../../../../src/types/product-pricing/entities/ProductToFacility.ts"],"names":[],"mappings":";;;AAAA,gEAA6D;AAK7D,MAAa,iBAAkB,SAAQ,+BAAc;CAUpD;AAVD,8CAUC"}
|
@@ -9,9 +9,6 @@ import { UserRoleDto } from './user-role.dto';
|
|
9
9
|
export declare class ByRoleIdDto extends OptionalFacilityIdDto {
|
10
10
|
roleId: number;
|
11
11
|
}
|
12
|
-
export declare class ByRolesDto {
|
13
|
-
rolesIds?: number[];
|
14
|
-
}
|
15
12
|
export declare class CreateRoleDto extends OptionalFacilityIdDto {
|
16
13
|
name: string;
|
17
14
|
isEditable?: boolean;
|
@@ -1,15 +1,12 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.DeprecatedRoleDto = exports.GetRolesOptionsDto = exports.UpdateRoleDto = exports.RoleIdsAndUserIdDto = exports.RoleIdsDto = exports.ByOrganizationIdAndRole = exports.GetRolesFiltersDto = exports.SimpleRoleDto = exports.RoleDto = exports.CreateRoleDto = exports.
|
3
|
+
exports.DeprecatedRoleDto = exports.GetRolesOptionsDto = exports.UpdateRoleDto = exports.RoleIdsAndUserIdDto = exports.RoleIdsDto = exports.ByOrganizationIdAndRole = exports.GetRolesFiltersDto = exports.SimpleRoleDto = exports.RoleDto = exports.CreateRoleDto = exports.ByRoleIdDto = void 0;
|
4
4
|
const facilities_dto_1 = require("../../dto/facilities.dto");
|
5
5
|
const general_dto_1 = require("../../dto/general.dto");
|
6
6
|
const organization_dto_1 = require("../../organization/dto/organization.dto");
|
7
7
|
class ByRoleIdDto extends facilities_dto_1.OptionalFacilityIdDto {
|
8
8
|
}
|
9
9
|
exports.ByRoleIdDto = ByRoleIdDto;
|
10
|
-
class ByRolesDto {
|
11
|
-
}
|
12
|
-
exports.ByRolesDto = ByRolesDto;
|
13
10
|
class CreateRoleDto extends facilities_dto_1.OptionalFacilityIdDto {
|
14
11
|
}
|
15
12
|
exports.CreateRoleDto = CreateRoleDto;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"role.dto.js","sourceRoot":"","sources":["../../../../src/types/roles/dto/role.dto.ts"],"names":[],"mappings":";;;AAAA,6DAAiE;AACjE,uDAA2D;AAC3D,8EAA8E;AAO9E,MAAa,WAAY,SAAQ,sCAAqB;CAErD;AAFD,kCAEC;AAED,MAAa,
|
1
|
+
{"version":3,"file":"role.dto.js","sourceRoot":"","sources":["../../../../src/types/roles/dto/role.dto.ts"],"names":[],"mappings":";;;AAAA,6DAAiE;AACjE,uDAA2D;AAC3D,8EAA8E;AAO9E,MAAa,WAAY,SAAQ,sCAAqB;CAErD;AAFD,kCAEC;AAED,MAAa,aAAc,SAAQ,sCAAqB;CAUvD;AAVD,sCAUC;AAED,MAAa,OAAQ,SAAQ,sCAAqB;IAAlD;;QAWC,qBAAgB,GAAyB,EAAE,CAAC;IAG7C,CAAC;CAAA;AAdD,0BAcC;AAED,MAAa,aAAc,SAAQ,sCAAqB;CAQvD;AARD,sCAQC;AAED,MAAa,kBAAmB,SAAQ,gCAAkB;CAYzD;AAZD,gDAYC;AAED,MAAa,uBAAwB,SAAQ,sCAAmB;CAE/D;AAFD,0DAEC;AAED,MAAa,UAAU;CAEtB;AAFD,gCAEC;AAED,MAAa,mBAAmB;CAI/B;AAJD,kDAIC;AAED,MAAa,aAAc,SAAQ,sCAAqB;CAMvD;AAND,sCAMC;AAED,MAAa,kBAAkB;IAA/B;QACC,uBAAkB,GAAI,KAAK,CAAC;QAE5B,4BAAuB,GAAI,KAAK,CAAC;QAEjC,6BAAwB,GAAI,KAAK,CAAC;QAElC,qBAAgB,GAAI,KAAK,CAAC;IAC3B,CAAC;CAAA;AARD,gDAQC;AAED,MAAa,iBAAkB,SAAQ,OAAO;CAE7C;AAFD,8CAEC"}
|