@bondsports/types 2.1.21 → 2.1.23
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/payment/dto/void.dto.d.ts +4 -2
- package/dist/types/payment/dto/void.dto.js.map +1 -1
- package/dist/types/resources/dto/resource.dto.d.ts +2 -1
- package/dist/types/resources/dto/resource.dto.js +3 -3
- package/dist/types/resources/dto/resource.dto.js.map +1 -1
- package/dist/types/resources/types/consts/index.d.ts +1 -0
- package/dist/types/resources/types/consts/index.js +18 -0
- package/dist/types/resources/types/consts/index.js.map +1 -0
- package/dist/types/resources/types/consts/resource.consts.d.ts +2 -0
- package/dist/types/resources/types/consts/resource.consts.js +6 -0
- package/dist/types/resources/types/consts/resource.consts.js.map +1 -0
- package/dist/types/resources/types/index.d.ts +1 -0
- package/dist/types/resources/types/index.js +1 -0
- package/dist/types/resources/types/index.js.map +1 -1
- package/dist/types/resources/types/interfaces/resource.interfaces.d.ts +2 -1
- package/package.json +1 -1
@@ -1,10 +1,12 @@
|
|
1
|
+
import { IVoid, IVoidLineItem } from '../types/interfaces/void.interfaces';
|
1
2
|
import { CreateNoteDto, RevertMetaDto } from './payment.dto';
|
2
|
-
export declare class VoidLineItemDto {
|
3
|
+
export declare class VoidLineItemDto implements IVoidLineItem {
|
3
4
|
id: number;
|
4
5
|
quantity?: number;
|
6
|
+
amount?: number;
|
5
7
|
isEdit?: boolean;
|
6
8
|
}
|
7
|
-
export declare class VoidDto {
|
9
|
+
export declare class VoidDto implements IVoid {
|
8
10
|
lineItems: VoidLineItemDto[];
|
9
11
|
shiftId?: number;
|
10
12
|
reasonId?: number;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"void.dto.js","sourceRoot":"","sources":["../../../../src/types/payment/dto/void.dto.ts"],"names":[],"mappings":";;;
|
1
|
+
{"version":3,"file":"void.dto.js","sourceRoot":"","sources":["../../../../src/types/payment/dto/void.dto.ts"],"names":[],"mappings":";;;AAGA,MAAa,eAAe;CAQ3B;AARD,0CAQC;AAED,MAAa,OAAO;CAUnB;AAVD,0BAUC"}
|
@@ -56,6 +56,7 @@ export declare class GetResourcesOfFacilityByTypeDto implements IGetFacilityReso
|
|
56
56
|
includeResourceMetadata: boolean;
|
57
57
|
order?: OrderByEnum;
|
58
58
|
orderBy: OrderByResourceEnum;
|
59
|
+
resourceTypes?: ResourceTypeEnum[];
|
59
60
|
}
|
60
61
|
export declare class GetResourceByIdOptionsDto extends IncludeAdditionalDataDto implements IGetResourceByIdsOptions {
|
61
62
|
order?: OrderByEnum;
|
@@ -64,7 +65,7 @@ export declare class GetResourceByIdOptionsDto extends IncludeAdditionalDataDto
|
|
64
65
|
export declare class ByOrganizationIdAndResourceTypeDto extends ByOrganizationIdDto {
|
65
66
|
resourceType: ResourceTypeEnum;
|
66
67
|
}
|
67
|
-
export declare class
|
68
|
+
export declare class ByOrganizationFacilityIdDto extends ByOrganizationIdDto {
|
68
69
|
facilityId: number;
|
69
70
|
}
|
70
71
|
export declare class ByOrganizationIdAndResourceTypeAndIdDto extends ByOrganizationIdAndResourceTypeDto {
|
@@ -1,6 +1,6 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.ByResourceTypeDto = exports.UpdateResourceDetailsDto = exports.ByOrganizationIdAndResourceId = exports.ByOrganizationIdAndResourceTypeAndIdDto = exports.
|
3
|
+
exports.ByResourceTypeDto = exports.UpdateResourceDetailsDto = exports.ByOrganizationIdAndResourceId = exports.ByOrganizationIdAndResourceTypeAndIdDto = exports.ByOrganizationFacilityIdDto = exports.ByOrganizationIdAndResourceTypeDto = exports.GetResourceByIdOptionsDto = exports.GetResourcesOfFacilityByTypeDto = exports.ResourceDependenciesDto = exports.SpaceResourceDto = exports.SimpleResourceDto = exports.ResourceDto = void 0;
|
4
4
|
const general_dto_1 = require("../../dto/general.dto");
|
5
5
|
const organization_dto_1 = require("../../organization/dto/organization.dto");
|
6
6
|
class ResourceDto {
|
@@ -24,9 +24,9 @@ exports.GetResourceByIdOptionsDto = GetResourceByIdOptionsDto;
|
|
24
24
|
class ByOrganizationIdAndResourceTypeDto extends organization_dto_1.ByOrganizationIdDto {
|
25
25
|
}
|
26
26
|
exports.ByOrganizationIdAndResourceTypeDto = ByOrganizationIdAndResourceTypeDto;
|
27
|
-
class
|
27
|
+
class ByOrganizationFacilityIdDto extends organization_dto_1.ByOrganizationIdDto {
|
28
28
|
}
|
29
|
-
exports.
|
29
|
+
exports.ByOrganizationFacilityIdDto = ByOrganizationFacilityIdDto;
|
30
30
|
class ByOrganizationIdAndResourceTypeAndIdDto extends ByOrganizationIdAndResourceTypeDto {
|
31
31
|
}
|
32
32
|
exports.ByOrganizationIdAndResourceTypeAndIdDto = ByOrganizationIdAndResourceTypeAndIdDto;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"resource.dto.js","sourceRoot":"","sources":["../../../../src/types/resources/dto/resource.dto.ts"],"names":[],"mappings":";;;AAAA,uDAA+E;AAoB/E,8EAA8E;AAG9E,MAAa,WAAW;CAIvB;AAJD,kCAIC;AAED,MAAa,iBAAkB,SAAQ,0BAAY;CAAG;AAAtD,8CAAsD;AAEtD,MAAa,gBAAiB,SAAQ,0BAAY;CA4DjD;AA5DD,4CA4DC;AAED,MAAa,uBAAuB;CAInC;AAJD,0DAIC;AAED,MAAa,+BAA+B;
|
1
|
+
{"version":3,"file":"resource.dto.js","sourceRoot":"","sources":["../../../../src/types/resources/dto/resource.dto.ts"],"names":[],"mappings":";;;AAAA,uDAA+E;AAoB/E,8EAA8E;AAG9E,MAAa,WAAW;CAIvB;AAJD,kCAIC;AAED,MAAa,iBAAkB,SAAQ,0BAAY;CAAG;AAAtD,8CAAsD;AAEtD,MAAa,gBAAiB,SAAQ,0BAAY;CA4DjD;AA5DD,4CA4DC;AAED,MAAa,uBAAuB;CAInC;AAJD,0DAIC;AAED,MAAa,+BAA+B;CAU3C;AAVD,0EAUC;AAED,MAAa,yBAA0B,SAAQ,sCAAwB;CAItE;AAJD,8DAIC;AAED,MAAa,kCAAmC,SAAQ,sCAAmB;CAE1E;AAFD,gFAEC;AAED,MAAa,2BAA4B,SAAQ,sCAAmB;CAEnE;AAFD,kEAEC;AAED,MAAa,uCAAwC,SAAQ,kCAAkC;CAE9F;AAFD,0FAEC;AAED,MAAa,6BAA8B,SAAQ,sCAAmB;CAErE;AAFD,sEAEC;AAED,MAAa,wBAAwB;CAUpC;AAVD,4DAUC;AAED,MAAa,iBAAiB;CAE7B;AAFD,8CAEC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
export * from './resource.consts';
|
@@ -0,0 +1,18 @@
|
|
1
|
+
"use strict";
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
3
|
+
if (k2 === undefined) k2 = k;
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
7
|
+
}
|
8
|
+
Object.defineProperty(o, k2, desc);
|
9
|
+
}) : (function(o, m, k, k2) {
|
10
|
+
if (k2 === undefined) k2 = k;
|
11
|
+
o[k2] = m[k];
|
12
|
+
}));
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
15
|
+
};
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
17
|
+
__exportStar(require("./resource.consts"), exports);
|
18
|
+
//# sourceMappingURL=index.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/types/resources/types/consts/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oDAAkC"}
|
@@ -0,0 +1,6 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.RESOURCE_TYPES_ARRAY = void 0;
|
4
|
+
const enums_service_1 = require("../../../services/enums.service");
|
5
|
+
exports.RESOURCE_TYPES_ARRAY = [enums_service_1.ResourceTypeEnum.INSTRUCTOR, enums_service_1.ResourceTypeEnum.SPACE];
|
6
|
+
//# sourceMappingURL=resource.consts.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"resource.consts.js","sourceRoot":"","sources":["../../../../../src/types/resources/types/consts/resource.consts.ts"],"names":[],"mappings":";;;AAAA,mEAAmE;AAEtD,QAAA,oBAAoB,GAAuB,CAAC,gCAAgB,CAAC,UAAU,EAAE,gCAAgB,CAAC,KAAK,CAAC,CAAC"}
|
@@ -14,6 +14,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
15
15
|
};
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
17
|
+
__exportStar(require("./consts"), exports);
|
17
18
|
__exportStar(require("./enums"), exports);
|
18
19
|
__exportStar(require("./interfaces"), exports);
|
19
20
|
//# sourceMappingURL=index.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/resources/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0CAAwB;AACxB,+CAA6B"}
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/resources/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2CAAyB;AACzB,0CAAwB;AACxB,+CAA6B"}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { OrderByEnum, ResourceNameTypeEnum } from '../../../services/enums.service';
|
1
|
+
import { OrderByEnum, ResourceNameTypeEnum, ResourceTypeEnum } from '../../../services/enums.service';
|
2
2
|
import { SimpleResourceDto } from '../../dto/resource.dto';
|
3
3
|
import { OrderByResourceEnum } from '../enums/resources.enums';
|
4
4
|
import { PackageV1 } from '../../../entity/PackageV1';
|
@@ -11,6 +11,7 @@ export interface IGetFacilityResourcesOptions {
|
|
11
11
|
includeResourceMetadata?: boolean;
|
12
12
|
order?: OrderByEnum;
|
13
13
|
orderBy?: OrderByResourceEnum;
|
14
|
+
resourceTypes?: ResourceTypeEnum[];
|
14
15
|
}
|
15
16
|
export interface IGetResourceByIdsOptions {
|
16
17
|
includeAdditionalData?: boolean;
|