@ballistix.digital/types-waardering-tool-react 0.13.23 → 0.13.25
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/constant/generalLedgerCode.constant.d.ts +4 -0
- package/dist/constant/generalLedgerCode.constant.js +20 -1
- package/dist/dto/annualAccountAttachment/annualAccountAttachmentPage.dto.d.ts +1 -1
- package/dist/dto/annualAccountAttachment/annualAccountAttachmentPage.dto.js +1 -1
- package/dist/dto/appraisalReportAttachment/appraisalReportAttachmentPage.dto.d.ts +1 -1
- package/dist/dto/appraisalReportAttachment/appraisalReportAttachmentPage.dto.js +1 -1
- package/dist/dto/dcfBudget/dcfBudgetAttachment/dcfBudgetAttachmentPage.dto.d.ts +1 -1
- package/dist/dto/dcfBudget/dcfBudgetAttachment/dcfBudgetAttachmentPage.dto.js +1 -1
- package/dist/dto/dcfValuation/view/dcfResult.dto.d.ts +1 -0
- package/dist/dto/dcfValuation/view/dcfResult.dto.js +10 -0
- package/dist/dto/depreciationTableAttachment/depreciationTableAttachmentPage.dto.d.ts +1 -1
- package/dist/dto/depreciationTableAttachment/depreciationTableAttachmentPage.dto.js +1 -1
- package/dist/dto/earningsValue/earningsValue.dto.d.ts +1 -0
- package/dist/dto/earningsValue/earningsValue.dto.js +9 -0
- package/dist/dto/earningsValue/updateEarningsValue.dto.d.ts +1 -0
- package/dist/dto/earningsValue/updateEarningsValue.dto.js +12 -0
- package/dist/dto/earningsValueCashCorrection/bulkUpdateEarningsValueCashCorrection.dto.d.ts +10 -0
- package/dist/dto/earningsValueCashCorrection/bulkUpdateEarningsValueCashCorrection.dto.js +8 -0
- package/dist/dto/earningsValueCashCorrection/createEarningsValueCashCorrection.dto.d.ts +7 -0
- package/dist/dto/earningsValueCashCorrection/createEarningsValueCashCorrection.dto.js +57 -0
- package/dist/dto/earningsValueCashCorrection/earningsValueCashCorrection.dto.d.ts +11 -0
- package/dist/dto/earningsValueCashCorrection/earningsValueCashCorrection.dto.js +49 -0
- package/dist/dto/earningsValueCashCorrection/earningsValueCashCorrectionEmbedded.dto.d.ts +7 -0
- package/dist/dto/earningsValueCashCorrection/earningsValueCashCorrectionEmbedded.dto.js +37 -0
- package/dist/dto/earningsValueCashCorrection/earningsValueCashCorrectionPage.dto.d.ts +13 -0
- package/dist/dto/earningsValueCashCorrection/earningsValueCashCorrectionPage.dto.js +30 -0
- package/dist/dto/earningsValueCashCorrection/updateEarningsValueCashCorrection.dto.d.ts +6 -0
- package/dist/dto/earningsValueCashCorrection/updateEarningsValueCashCorrection.dto.js +46 -0
- package/dist/dto/earningsValueCashCorrectionTotal/earningsValueCashCorrectionTotal.dto.d.ts +13 -0
- package/dist/dto/earningsValueCashCorrectionTotal/earningsValueCashCorrectionTotal.dto.js +73 -0
- package/dist/dto/earningsValueCashCorrectionTotal/earningsValueCashCorrectionTotalEmbedded.dto.d.ts +2 -0
- package/dist/dto/earningsValueCashCorrectionTotal/earningsValueCashCorrectionTotalEmbedded.dto.js +6 -0
- package/dist/dto/earningsValueCashCorrectionTotal/earningsValueCashCorrectionTotalPage.dto.d.ts +13 -0
- package/dist/dto/earningsValueCashCorrectionTotal/earningsValueCashCorrectionTotalPage.dto.js +30 -0
- package/dist/dto/earningsValueResult/earningsValueResult.dto.d.ts +4 -0
- package/dist/dto/earningsValueResult/earningsValueResult.dto.js +36 -0
- package/dist/dto/earningsValueTaxFreeReserveLedgerBalance/bulkUpdateEarningsValueTaxFreeReserveLedgerBalance.dto.d.ts +10 -0
- package/dist/dto/earningsValueTaxFreeReserveLedgerBalance/bulkUpdateEarningsValueTaxFreeReserveLedgerBalance.dto.js +8 -0
- package/dist/dto/earningsValueTaxFreeReserveLedgerBalance/createEarningsValueTaxFreeReserveLedgerBalance.dto.d.ts +4 -0
- package/dist/dto/earningsValueTaxFreeReserveLedgerBalance/createEarningsValueTaxFreeReserveLedgerBalance.dto.js +35 -0
- package/dist/dto/earningsValueTaxFreeReserveLedgerBalance/earningsValueTaxFreeReserveLedgerBalance.dto.d.ts +8 -0
- package/dist/dto/earningsValueTaxFreeReserveLedgerBalance/earningsValueTaxFreeReserveLedgerBalance.dto.js +34 -0
- package/dist/dto/earningsValueTaxFreeReserveLedgerBalance/earningsValueTaxFreeReserveLedgerBalanceEmbedded.dto.d.ts +9 -0
- package/dist/dto/earningsValueTaxFreeReserveLedgerBalance/earningsValueTaxFreeReserveLedgerBalanceEmbedded.dto.js +44 -0
- package/dist/dto/earningsValueTaxFreeReserveLedgerBalance/earningsValueTaxFreeReserveLedgerBalancePage.dto.d.ts +13 -0
- package/dist/dto/earningsValueTaxFreeReserveLedgerBalance/earningsValueTaxFreeReserveLedgerBalancePage.dto.js +30 -0
- package/dist/dto/earningsValueTaxFreeReserveLedgerBalance/updateEarningsValueTaxFreeReserveLedgerBalance.dto.d.ts +4 -0
- package/dist/dto/earningsValueTaxFreeReserveLedgerBalance/updateEarningsValueTaxFreeReserveLedgerBalance.dto.js +32 -0
- package/dist/dto/multipleJustificationAttachment/multipleJustificationAttachmentPage.dto.d.ts +1 -1
- package/dist/dto/multipleJustificationAttachment/multipleJustificationAttachmentPage.dto.js +1 -1
- package/dist/enum/cashCorrectionType.enum.d.ts +4 -0
- package/dist/enum/cashCorrectionType.enum.js +8 -0
- package/dist/index.d.ts +18 -2
- package/dist/index.js +46 -9
- package/package.json +1 -1
|
@@ -12,3 +12,7 @@ export declare const BORROWED_CAPITAL_CODES: string[];
|
|
|
12
12
|
export declare const CUSTOMER_ROTATION_REVENUE_CODES: string[];
|
|
13
13
|
export declare const COST_OF_GOODS_CODES: string[];
|
|
14
14
|
export declare const PURCHASE_CODES: string[];
|
|
15
|
+
export declare const CASHLIKE_CODES: string[];
|
|
16
|
+
export declare const DEBTLIKE_CODES: string[];
|
|
17
|
+
export declare const NBKB_SOURCED_CASH_POSITION_CODES: string[];
|
|
18
|
+
export declare const TAX_FREE_RESERVE_CODE = "13";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.PURCHASE_CODES = exports.COST_OF_GOODS_CODES = exports.CUSTOMER_ROTATION_REVENUE_CODES = exports.BORROWED_CAPITAL_CODES = exports.RATIO_CURRENT_LIABILITY_CODES = exports.NBKB_CODES = exports.NBKB_CURRENT_LIABILITY_CODES = exports.CURRENT_ASSET_CODES = exports.DEPRECIATION_CODE = exports.EBITDA_CODES = exports.EBIT_CODES = exports.DA_CODES = exports.COST_CODES = exports.REVENUE_CODES = void 0;
|
|
3
|
+
exports.TAX_FREE_RESERVE_CODE = exports.NBKB_SOURCED_CASH_POSITION_CODES = exports.DEBTLIKE_CODES = exports.CASHLIKE_CODES = exports.PURCHASE_CODES = exports.COST_OF_GOODS_CODES = exports.CUSTOMER_ROTATION_REVENUE_CODES = exports.BORROWED_CAPITAL_CODES = exports.RATIO_CURRENT_LIABILITY_CODES = exports.NBKB_CODES = exports.NBKB_CURRENT_LIABILITY_CODES = exports.CURRENT_ASSET_CODES = exports.DEPRECIATION_CODE = exports.EBITDA_CODES = exports.EBIT_CODES = exports.DA_CODES = exports.COST_CODES = exports.REVENUE_CODES = void 0;
|
|
4
4
|
exports.REVENUE_CODES = ['70', '71', '72', '73', '74'];
|
|
5
5
|
exports.COST_CODES = ['60', '61', '62', '630', '631/4', '635/8', '64'];
|
|
6
6
|
exports.DA_CODES = ['630', '631/4', '635/8'];
|
|
@@ -27,3 +27,22 @@ exports.BORROWED_CAPITAL_CODES = ['17', '42', '43', '48'];
|
|
|
27
27
|
exports.CUSTOMER_ROTATION_REVENUE_CODES = ['70', '71'];
|
|
28
28
|
exports.COST_OF_GOODS_CODES = ['60', '71', '72'];
|
|
29
29
|
exports.PURCHASE_CODES = ['60', '61'];
|
|
30
|
+
exports.CASHLIKE_CODES = ['54/58', '50/53', '28', '41', '29'];
|
|
31
|
+
exports.DEBTLIKE_CODES = [
|
|
32
|
+
'17',
|
|
33
|
+
'42',
|
|
34
|
+
'43',
|
|
35
|
+
'45',
|
|
36
|
+
'46',
|
|
37
|
+
'47',
|
|
38
|
+
'48',
|
|
39
|
+
'492/3/7',
|
|
40
|
+
];
|
|
41
|
+
exports.NBKB_SOURCED_CASH_POSITION_CODES = [
|
|
42
|
+
'41',
|
|
43
|
+
'45',
|
|
44
|
+
'46',
|
|
45
|
+
'48',
|
|
46
|
+
'492/3/7',
|
|
47
|
+
];
|
|
48
|
+
exports.TAX_FREE_RESERVE_CODE = '13';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AnnualAccountAttachmentDto } from './annualAccountAttachment.dto';
|
|
2
2
|
declare class EmbeddedAttachment {
|
|
3
|
-
|
|
3
|
+
annualAccountAttachments?: AnnualAccountAttachmentDto[];
|
|
4
4
|
}
|
|
5
5
|
declare const AnnualAccountAttachmentPageDto_base: {
|
|
6
6
|
new (): {
|
|
@@ -21,7 +21,7 @@ __decorate([
|
|
|
21
21
|
(0, class_transformer_1.Type)(() => annualAccountAttachment_dto_1.AnnualAccountAttachmentDto),
|
|
22
22
|
(0, class_transformer_1.Expose)({ name: 'items' }),
|
|
23
23
|
__metadata("design:type", Array)
|
|
24
|
-
], EmbeddedAttachment.prototype, "
|
|
24
|
+
], EmbeddedAttachment.prototype, "annualAccountAttachments", void 0);
|
|
25
25
|
class AnnualAccountAttachmentPageDto extends (0, page_dto_1.PageDto)(EmbeddedAttachment) {
|
|
26
26
|
}
|
|
27
27
|
exports.AnnualAccountAttachmentPageDto = AnnualAccountAttachmentPageDto;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AppraisalReportAttachmentDto } from './appraisalReportAttachment.dto';
|
|
2
2
|
declare class EmbeddedAttachment {
|
|
3
|
-
|
|
3
|
+
appraisalReportAttachments?: AppraisalReportAttachmentDto[];
|
|
4
4
|
}
|
|
5
5
|
declare const AppraisalReportAttachmentPageDto_base: {
|
|
6
6
|
new (): {
|
|
@@ -21,7 +21,7 @@ __decorate([
|
|
|
21
21
|
(0, class_transformer_1.Type)(() => appraisalReportAttachment_dto_1.AppraisalReportAttachmentDto),
|
|
22
22
|
(0, class_transformer_1.Expose)({ name: 'items' }),
|
|
23
23
|
__metadata("design:type", Array)
|
|
24
|
-
], EmbeddedAttachment.prototype, "
|
|
24
|
+
], EmbeddedAttachment.prototype, "appraisalReportAttachments", void 0);
|
|
25
25
|
class AppraisalReportAttachmentPageDto extends (0, page_dto_1.PageDto)(EmbeddedAttachment) {
|
|
26
26
|
}
|
|
27
27
|
exports.AppraisalReportAttachmentPageDto = AppraisalReportAttachmentPageDto;
|
|
@@ -21,7 +21,7 @@ __decorate([
|
|
|
21
21
|
(0, class_transformer_1.Type)(() => dcfBudgetAttachment_dto_1.DcfBudgetAttachmentDto),
|
|
22
22
|
(0, class_transformer_1.Expose)({ name: 'items' }),
|
|
23
23
|
__metadata("design:type", Array)
|
|
24
|
-
], EmbeddedAttachment.prototype, "
|
|
24
|
+
], EmbeddedAttachment.prototype, "dcfBudgetAttachments", void 0);
|
|
25
25
|
class DcfBudgetAttachmentPageDto extends (0, page_dto_1.PageDto)(EmbeddedAttachment) {
|
|
26
26
|
}
|
|
27
27
|
exports.DcfBudgetAttachmentPageDto = DcfBudgetAttachmentPageDto;
|
|
@@ -91,3 +91,13 @@ __decorate([
|
|
|
91
91
|
(0, class_transformer_1.Expose)(),
|
|
92
92
|
__metadata("design:type", Number)
|
|
93
93
|
], DcfResultDto.prototype, "averageNbkbRatio", void 0);
|
|
94
|
+
__decorate([
|
|
95
|
+
(0, nestjs_1.ApiProperty)({
|
|
96
|
+
type: Number,
|
|
97
|
+
required: false,
|
|
98
|
+
nullable: true,
|
|
99
|
+
description: 'NBKB of the last historical year minus its restated value, euro cents. Null when the valuation does not restate its NBKB. Step 6 part 2 subtracts it from the cash position.',
|
|
100
|
+
}),
|
|
101
|
+
(0, class_transformer_1.Expose)(),
|
|
102
|
+
__metadata("design:type", Number)
|
|
103
|
+
], DcfResultDto.prototype, "nbkbRestatementDifference", void 0);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { DepreciationTableAttachmentDto } from './depreciationTableAttachment.dto';
|
|
2
2
|
declare class EmbeddedAttachment {
|
|
3
|
-
|
|
3
|
+
depreciationTableAttachments?: DepreciationTableAttachmentDto[];
|
|
4
4
|
}
|
|
5
5
|
declare const DepreciationTableAttachmentPageDto_base: {
|
|
6
6
|
new (): {
|
|
@@ -21,7 +21,7 @@ __decorate([
|
|
|
21
21
|
(0, class_transformer_1.Type)(() => depreciationTableAttachment_dto_1.DepreciationTableAttachmentDto),
|
|
22
22
|
(0, class_transformer_1.Expose)({ name: 'items' }),
|
|
23
23
|
__metadata("design:type", Array)
|
|
24
|
-
], EmbeddedAttachment.prototype, "
|
|
24
|
+
], EmbeddedAttachment.prototype, "depreciationTableAttachments", void 0);
|
|
25
25
|
class DepreciationTableAttachmentPageDto extends (0, page_dto_1.PageDto)(EmbeddedAttachment) {
|
|
26
26
|
}
|
|
27
27
|
exports.DepreciationTableAttachmentPageDto = DepreciationTableAttachmentPageDto;
|
|
@@ -5,6 +5,7 @@ export declare class EarningsValueDto extends EarningsValueDto_base {
|
|
|
5
5
|
xebitdaWeight: number;
|
|
6
6
|
dcfWeight: number;
|
|
7
7
|
weightJustification?: string;
|
|
8
|
+
taxFreeReservesFiscalLatency: number;
|
|
8
9
|
realEstateMarketValue?: number;
|
|
9
10
|
realEstateFiscalLatency: number;
|
|
10
11
|
valuationId: string;
|
|
@@ -45,6 +45,15 @@ __decorate([
|
|
|
45
45
|
(0, class_transformer_1.Expose)(),
|
|
46
46
|
__metadata("design:type", String)
|
|
47
47
|
], EarningsValueDto.prototype, "weightJustification", void 0);
|
|
48
|
+
__decorate([
|
|
49
|
+
(0, nestjs_1.ApiProperty)({
|
|
50
|
+
type: Number,
|
|
51
|
+
required: true,
|
|
52
|
+
description: 'The tax rate applied to the selected GL 13 belastingvrije reserves: exactly 0.25 or 0.125.',
|
|
53
|
+
}),
|
|
54
|
+
(0, class_transformer_1.Expose)(),
|
|
55
|
+
__metadata("design:type", Number)
|
|
56
|
+
], EarningsValueDto.prototype, "taxFreeReservesFiscalLatency", void 0);
|
|
48
57
|
__decorate([
|
|
49
58
|
(0, nestjs_1.ApiProperty)({
|
|
50
59
|
type: Number,
|
|
@@ -36,6 +36,18 @@ __decorate([
|
|
|
36
36
|
(0, class_transformer_1.Expose)(),
|
|
37
37
|
__metadata("design:type", String)
|
|
38
38
|
], UpdateEarningsValueDto.prototype, "weightJustification", void 0);
|
|
39
|
+
__decorate([
|
|
40
|
+
(0, nestjs_1.ApiProperty)({
|
|
41
|
+
type: Number,
|
|
42
|
+
required: false,
|
|
43
|
+
enum: [0.25, 0.125],
|
|
44
|
+
description: 'The tax rate applied to the selected GL 13 belastingvrije reserves. Only the two rates the wireframe offers are accepted.',
|
|
45
|
+
}),
|
|
46
|
+
(0, class_validator_1.IsIn)([0.25, 0.125]),
|
|
47
|
+
(0, class_validator_1.IsOptional)(),
|
|
48
|
+
(0, class_transformer_1.Expose)(),
|
|
49
|
+
__metadata("design:type", Number)
|
|
50
|
+
], UpdateEarningsValueDto.prototype, "taxFreeReservesFiscalLatency", void 0);
|
|
39
51
|
__decorate([
|
|
40
52
|
(0, nestjs_1.ApiProperty)({
|
|
41
53
|
type: Number,
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.BulkUpdateEarningsValueCashCorrectionDto = void 0;
|
|
4
|
+
const bulk_dto_1 = require("../generic/bulk.dto");
|
|
5
|
+
const updateEarningsValueCashCorrection_dto_1 = require("./updateEarningsValueCashCorrection.dto");
|
|
6
|
+
class BulkUpdateEarningsValueCashCorrectionDto extends (0, bulk_dto_1.BulkDto)(updateEarningsValueCashCorrection_dto_1.UpdateEarningsValueCashCorrectionDto) {
|
|
7
|
+
}
|
|
8
|
+
exports.BulkUpdateEarningsValueCashCorrectionDto = BulkUpdateEarningsValueCashCorrectionDto;
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
12
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
13
|
+
};
|
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
exports.CreateEarningsValueCashCorrectionDto = void 0;
|
|
16
|
+
const nestjs_1 = require("../../nestjs");
|
|
17
|
+
const class_validator_1 = require("class-validator");
|
|
18
|
+
const class_transformer_1 = require("class-transformer");
|
|
19
|
+
const transformTrimString_1 = __importDefault(require("../../util/transformTrimString"));
|
|
20
|
+
const cashCorrectionType_enum_1 = require("../../enum/cashCorrectionType.enum");
|
|
21
|
+
class CreateEarningsValueCashCorrectionDto {
|
|
22
|
+
}
|
|
23
|
+
exports.CreateEarningsValueCashCorrectionDto = CreateEarningsValueCashCorrectionDto;
|
|
24
|
+
__decorate([
|
|
25
|
+
(0, nestjs_1.ApiProperty)({ enum: cashCorrectionType_enum_1.CashCorrectionTypeEnum, required: true }),
|
|
26
|
+
(0, class_validator_1.IsEnum)(cashCorrectionType_enum_1.CashCorrectionTypeEnum),
|
|
27
|
+
(0, class_transformer_1.Expose)(),
|
|
28
|
+
__metadata("design:type", String)
|
|
29
|
+
], CreateEarningsValueCashCorrectionDto.prototype, "type", void 0);
|
|
30
|
+
__decorate([
|
|
31
|
+
(0, nestjs_1.ApiProperty)({
|
|
32
|
+
type: Number,
|
|
33
|
+
required: true,
|
|
34
|
+
description: 'A signed amount in euro cents, added to its side’s total.',
|
|
35
|
+
}),
|
|
36
|
+
(0, class_validator_1.IsInt)(),
|
|
37
|
+
(0, class_transformer_1.Expose)(),
|
|
38
|
+
__metadata("design:type", Number)
|
|
39
|
+
], CreateEarningsValueCashCorrectionDto.prototype, "value", void 0);
|
|
40
|
+
__decorate([
|
|
41
|
+
(0, nestjs_1.ApiProperty)({
|
|
42
|
+
type: String,
|
|
43
|
+
required: true,
|
|
44
|
+
description: 'Why the valuator entered this correction.',
|
|
45
|
+
}),
|
|
46
|
+
(0, class_validator_1.IsString)(),
|
|
47
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
48
|
+
(0, transformTrimString_1.default)(),
|
|
49
|
+
(0, class_transformer_1.Expose)(),
|
|
50
|
+
__metadata("design:type", String)
|
|
51
|
+
], CreateEarningsValueCashCorrectionDto.prototype, "motivation", void 0);
|
|
52
|
+
__decorate([
|
|
53
|
+
(0, nestjs_1.ApiProperty)({ type: String, required: true, format: 'uuid' }),
|
|
54
|
+
(0, class_validator_1.IsUUID)(),
|
|
55
|
+
(0, class_transformer_1.Expose)(),
|
|
56
|
+
__metadata("design:type", String)
|
|
57
|
+
], CreateEarningsValueCashCorrectionDto.prototype, "earningsValueId", void 0);
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { CashCorrectionTypeEnum } from '../../enum/cashCorrectionType.enum';
|
|
2
|
+
import { EarningsValueCashCorrectionEmbeddedDto } from './earningsValueCashCorrectionEmbedded.dto';
|
|
3
|
+
declare const EarningsValueCashCorrectionDto_base: import("../..").BaseDtoType<EarningsValueCashCorrectionEmbeddedDto>;
|
|
4
|
+
export declare class EarningsValueCashCorrectionDto extends EarningsValueCashCorrectionDto_base {
|
|
5
|
+
id: string;
|
|
6
|
+
type: CashCorrectionTypeEnum;
|
|
7
|
+
value: number;
|
|
8
|
+
motivation: string;
|
|
9
|
+
earningsValueId: string;
|
|
10
|
+
}
|
|
11
|
+
export {};
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.EarningsValueCashCorrectionDto = void 0;
|
|
13
|
+
const base_dto_1 = require("../generic/base.dto");
|
|
14
|
+
const class_transformer_1 = require("class-transformer");
|
|
15
|
+
const nestjs_1 = require("../../nestjs");
|
|
16
|
+
const cashCorrectionType_enum_1 = require("../../enum/cashCorrectionType.enum");
|
|
17
|
+
const earningsValueCashCorrectionEmbedded_dto_1 = require("./earningsValueCashCorrectionEmbedded.dto");
|
|
18
|
+
class EarningsValueCashCorrectionDto extends (0, base_dto_1.BaseDto)(earningsValueCashCorrectionEmbedded_dto_1.EarningsValueCashCorrectionEmbeddedDto) {
|
|
19
|
+
}
|
|
20
|
+
exports.EarningsValueCashCorrectionDto = EarningsValueCashCorrectionDto;
|
|
21
|
+
__decorate([
|
|
22
|
+
(0, nestjs_1.ApiProperty)({ type: String, required: true, format: 'uuid' }),
|
|
23
|
+
(0, class_transformer_1.Expose)(),
|
|
24
|
+
__metadata("design:type", String)
|
|
25
|
+
], EarningsValueCashCorrectionDto.prototype, "id", void 0);
|
|
26
|
+
__decorate([
|
|
27
|
+
(0, nestjs_1.ApiProperty)({ enum: cashCorrectionType_enum_1.CashCorrectionTypeEnum, required: true }),
|
|
28
|
+
(0, class_transformer_1.Expose)(),
|
|
29
|
+
__metadata("design:type", String)
|
|
30
|
+
], EarningsValueCashCorrectionDto.prototype, "type", void 0);
|
|
31
|
+
__decorate([
|
|
32
|
+
(0, nestjs_1.ApiProperty)({
|
|
33
|
+
type: Number,
|
|
34
|
+
required: true,
|
|
35
|
+
description: 'The signed amount in euro cents.',
|
|
36
|
+
}),
|
|
37
|
+
(0, class_transformer_1.Expose)(),
|
|
38
|
+
__metadata("design:type", Number)
|
|
39
|
+
], EarningsValueCashCorrectionDto.prototype, "value", void 0);
|
|
40
|
+
__decorate([
|
|
41
|
+
(0, nestjs_1.ApiProperty)({ type: String, required: true }),
|
|
42
|
+
(0, class_transformer_1.Expose)(),
|
|
43
|
+
__metadata("design:type", String)
|
|
44
|
+
], EarningsValueCashCorrectionDto.prototype, "motivation", void 0);
|
|
45
|
+
__decorate([
|
|
46
|
+
(0, nestjs_1.ApiProperty)({ type: String, required: true, format: 'uuid' }),
|
|
47
|
+
(0, class_transformer_1.Expose)(),
|
|
48
|
+
__metadata("design:type", String)
|
|
49
|
+
], EarningsValueCashCorrectionDto.prototype, "earningsValueId", void 0);
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.EarningsValueCashCorrectionEmbeddedDto = void 0;
|
|
13
|
+
const nestjs_1 = require("../../nestjs");
|
|
14
|
+
const class_transformer_1 = require("class-transformer");
|
|
15
|
+
const user_dto_1 = require("../user/user.dto");
|
|
16
|
+
const earningsValue_dto_1 = require("../earningsValue/earningsValue.dto");
|
|
17
|
+
class EarningsValueCashCorrectionEmbeddedDto {
|
|
18
|
+
}
|
|
19
|
+
exports.EarningsValueCashCorrectionEmbeddedDto = EarningsValueCashCorrectionEmbeddedDto;
|
|
20
|
+
__decorate([
|
|
21
|
+
(0, nestjs_1.ApiProperty)({ type: () => earningsValue_dto_1.EarningsValueDto, required: false }),
|
|
22
|
+
(0, class_transformer_1.Type)(() => earningsValue_dto_1.EarningsValueDto),
|
|
23
|
+
(0, class_transformer_1.Expose)(),
|
|
24
|
+
__metadata("design:type", earningsValue_dto_1.EarningsValueDto)
|
|
25
|
+
], EarningsValueCashCorrectionEmbeddedDto.prototype, "earningsValue", void 0);
|
|
26
|
+
__decorate([
|
|
27
|
+
(0, nestjs_1.ApiProperty)({ type: () => user_dto_1.UserDto, required: false }),
|
|
28
|
+
(0, class_transformer_1.Type)(() => user_dto_1.UserDto),
|
|
29
|
+
(0, class_transformer_1.Expose)(),
|
|
30
|
+
__metadata("design:type", user_dto_1.UserDto)
|
|
31
|
+
], EarningsValueCashCorrectionEmbeddedDto.prototype, "createdBy", void 0);
|
|
32
|
+
__decorate([
|
|
33
|
+
(0, nestjs_1.ApiProperty)({ type: () => user_dto_1.UserDto, required: false }),
|
|
34
|
+
(0, class_transformer_1.Type)(() => user_dto_1.UserDto),
|
|
35
|
+
(0, class_transformer_1.Expose)(),
|
|
36
|
+
__metadata("design:type", user_dto_1.UserDto)
|
|
37
|
+
], EarningsValueCashCorrectionEmbeddedDto.prototype, "updatedBy", void 0);
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { EarningsValueCashCorrectionDto } from './earningsValueCashCorrection.dto';
|
|
2
|
+
declare class EmbeddedEarningsValueCashCorrection {
|
|
3
|
+
earningsValueCashCorrections?: EarningsValueCashCorrectionDto[];
|
|
4
|
+
}
|
|
5
|
+
declare const EarningsValueCashCorrectionPageDto_base: {
|
|
6
|
+
new (): {
|
|
7
|
+
_page: import("../..").PageInfoDto;
|
|
8
|
+
_embedded: EmbeddedEarningsValueCashCorrection;
|
|
9
|
+
};
|
|
10
|
+
};
|
|
11
|
+
export declare class EarningsValueCashCorrectionPageDto extends EarningsValueCashCorrectionPageDto_base {
|
|
12
|
+
}
|
|
13
|
+
export {};
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.EarningsValueCashCorrectionPageDto = void 0;
|
|
13
|
+
const class_transformer_1 = require("class-transformer");
|
|
14
|
+
const nestjs_1 = require("../../nestjs");
|
|
15
|
+
const page_dto_1 = require("../generic/page.dto");
|
|
16
|
+
const earningsValueCashCorrection_dto_1 = require("./earningsValueCashCorrection.dto");
|
|
17
|
+
class EmbeddedEarningsValueCashCorrection {
|
|
18
|
+
}
|
|
19
|
+
__decorate([
|
|
20
|
+
(0, nestjs_1.ApiProperty)({
|
|
21
|
+
type: () => [earningsValueCashCorrection_dto_1.EarningsValueCashCorrectionDto],
|
|
22
|
+
required: false,
|
|
23
|
+
}),
|
|
24
|
+
(0, class_transformer_1.Type)(() => earningsValueCashCorrection_dto_1.EarningsValueCashCorrectionDto),
|
|
25
|
+
(0, class_transformer_1.Expose)({ name: 'items' }),
|
|
26
|
+
__metadata("design:type", Array)
|
|
27
|
+
], EmbeddedEarningsValueCashCorrection.prototype, "earningsValueCashCorrections", void 0);
|
|
28
|
+
class EarningsValueCashCorrectionPageDto extends (0, page_dto_1.PageDto)(EmbeddedEarningsValueCashCorrection) {
|
|
29
|
+
}
|
|
30
|
+
exports.EarningsValueCashCorrectionPageDto = EarningsValueCashCorrectionPageDto;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
12
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
13
|
+
};
|
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
exports.UpdateEarningsValueCashCorrectionDto = void 0;
|
|
16
|
+
const nestjs_1 = require("../../nestjs");
|
|
17
|
+
const class_validator_1 = require("class-validator");
|
|
18
|
+
const class_transformer_1 = require("class-transformer");
|
|
19
|
+
const transformTrimString_1 = __importDefault(require("../../util/transformTrimString"));
|
|
20
|
+
const cashCorrectionType_enum_1 = require("../../enum/cashCorrectionType.enum");
|
|
21
|
+
class UpdateEarningsValueCashCorrectionDto {
|
|
22
|
+
}
|
|
23
|
+
exports.UpdateEarningsValueCashCorrectionDto = UpdateEarningsValueCashCorrectionDto;
|
|
24
|
+
__decorate([
|
|
25
|
+
(0, nestjs_1.ApiProperty)({ enum: cashCorrectionType_enum_1.CashCorrectionTypeEnum, required: false }),
|
|
26
|
+
(0, class_validator_1.IsEnum)(cashCorrectionType_enum_1.CashCorrectionTypeEnum),
|
|
27
|
+
(0, class_validator_1.IsOptional)(),
|
|
28
|
+
(0, class_transformer_1.Expose)(),
|
|
29
|
+
__metadata("design:type", String)
|
|
30
|
+
], UpdateEarningsValueCashCorrectionDto.prototype, "type", void 0);
|
|
31
|
+
__decorate([
|
|
32
|
+
(0, nestjs_1.ApiProperty)({ type: Number, required: false }),
|
|
33
|
+
(0, class_validator_1.IsInt)(),
|
|
34
|
+
(0, class_validator_1.IsOptional)(),
|
|
35
|
+
(0, class_transformer_1.Expose)(),
|
|
36
|
+
__metadata("design:type", Number)
|
|
37
|
+
], UpdateEarningsValueCashCorrectionDto.prototype, "value", void 0);
|
|
38
|
+
__decorate([
|
|
39
|
+
(0, nestjs_1.ApiProperty)({ type: String, required: false }),
|
|
40
|
+
(0, class_validator_1.IsString)(),
|
|
41
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
42
|
+
(0, class_validator_1.IsOptional)(),
|
|
43
|
+
(0, transformTrimString_1.default)(),
|
|
44
|
+
(0, class_transformer_1.Expose)(),
|
|
45
|
+
__metadata("design:type", String)
|
|
46
|
+
], UpdateEarningsValueCashCorrectionDto.prototype, "motivation", void 0);
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { CashCorrectionTypeEnum } from '../../enum/cashCorrectionType.enum';
|
|
2
|
+
import { EarningsValueCashCorrectionTotalEmbeddedDto } from './earningsValueCashCorrectionTotalEmbedded.dto';
|
|
3
|
+
declare const EarningsValueCashCorrectionTotalDto_base: import("../generic/baseView.dto").BaseViewDtoType<EarningsValueCashCorrectionTotalEmbeddedDto>;
|
|
4
|
+
export declare class EarningsValueCashCorrectionTotalDto extends EarningsValueCashCorrectionTotalDto_base {
|
|
5
|
+
id: string;
|
|
6
|
+
earningsValueId: string;
|
|
7
|
+
type: CashCorrectionTypeEnum;
|
|
8
|
+
code: string;
|
|
9
|
+
bookedValue?: number;
|
|
10
|
+
correctionValue: number;
|
|
11
|
+
correctedValue?: number;
|
|
12
|
+
}
|
|
13
|
+
export {};
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.EarningsValueCashCorrectionTotalDto = void 0;
|
|
13
|
+
const baseView_dto_1 = require("../generic/baseView.dto");
|
|
14
|
+
const class_transformer_1 = require("class-transformer");
|
|
15
|
+
const nestjs_1 = require("../../nestjs");
|
|
16
|
+
const cashCorrectionType_enum_1 = require("../../enum/cashCorrectionType.enum");
|
|
17
|
+
const earningsValueCashCorrectionTotalEmbedded_dto_1 = require("./earningsValueCashCorrectionTotalEmbedded.dto");
|
|
18
|
+
class EarningsValueCashCorrectionTotalDto extends (0, baseView_dto_1.BaseViewDto)(earningsValueCashCorrectionTotalEmbedded_dto_1.EarningsValueCashCorrectionTotalEmbeddedDto) {
|
|
19
|
+
}
|
|
20
|
+
exports.EarningsValueCashCorrectionTotalDto = EarningsValueCashCorrectionTotalDto;
|
|
21
|
+
__decorate([
|
|
22
|
+
(0, nestjs_1.ApiProperty)({ type: String, required: true, format: 'uuid' }),
|
|
23
|
+
(0, class_transformer_1.Expose)(),
|
|
24
|
+
__metadata("design:type", String)
|
|
25
|
+
], EarningsValueCashCorrectionTotalDto.prototype, "id", void 0);
|
|
26
|
+
__decorate([
|
|
27
|
+
(0, nestjs_1.ApiProperty)({ type: String, required: true, format: 'uuid' }),
|
|
28
|
+
(0, class_transformer_1.Expose)(),
|
|
29
|
+
__metadata("design:type", String)
|
|
30
|
+
], EarningsValueCashCorrectionTotalDto.prototype, "earningsValueId", void 0);
|
|
31
|
+
__decorate([
|
|
32
|
+
(0, nestjs_1.ApiProperty)({ enum: cashCorrectionType_enum_1.CashCorrectionTypeEnum, required: true }),
|
|
33
|
+
(0, class_transformer_1.Expose)(),
|
|
34
|
+
__metadata("design:type", String)
|
|
35
|
+
], EarningsValueCashCorrectionTotalDto.prototype, "type", void 0);
|
|
36
|
+
__decorate([
|
|
37
|
+
(0, nestjs_1.ApiProperty)({
|
|
38
|
+
type: String,
|
|
39
|
+
required: true,
|
|
40
|
+
description: 'The general ledger code of this line.',
|
|
41
|
+
}),
|
|
42
|
+
(0, class_transformer_1.Expose)(),
|
|
43
|
+
__metadata("design:type", String)
|
|
44
|
+
], EarningsValueCashCorrectionTotalDto.prototype, "code", void 0);
|
|
45
|
+
__decorate([
|
|
46
|
+
(0, nestjs_1.ApiProperty)({
|
|
47
|
+
type: Number,
|
|
48
|
+
required: false,
|
|
49
|
+
nullable: true,
|
|
50
|
+
description: 'The line’s value in euro cents: the latest year’s dcf_nbkb_correction_total for GL 41, 45, 46, 48 and 492/3/7, otherwise the latest-year general_ledger_balance. Null on those five when the valuation runs on the DCF budget, which has no NBKB correction.',
|
|
51
|
+
}),
|
|
52
|
+
(0, class_transformer_1.Expose)(),
|
|
53
|
+
__metadata("design:type", Number)
|
|
54
|
+
], EarningsValueCashCorrectionTotalDto.prototype, "bookedValue", void 0);
|
|
55
|
+
__decorate([
|
|
56
|
+
(0, nestjs_1.ApiProperty)({
|
|
57
|
+
type: Number,
|
|
58
|
+
required: true,
|
|
59
|
+
description: 'Always 0: no correction attaches to a general ledger line any more. Kept so the shape stays stable for the frontend.',
|
|
60
|
+
}),
|
|
61
|
+
(0, class_transformer_1.Expose)(),
|
|
62
|
+
__metadata("design:type", Number)
|
|
63
|
+
], EarningsValueCashCorrectionTotalDto.prototype, "correctionValue", void 0);
|
|
64
|
+
__decorate([
|
|
65
|
+
(0, nestjs_1.ApiProperty)({
|
|
66
|
+
type: Number,
|
|
67
|
+
required: false,
|
|
68
|
+
nullable: true,
|
|
69
|
+
description: 'bookedValue + correctionValue, euro cents. Null wherever bookedValue is.',
|
|
70
|
+
}),
|
|
71
|
+
(0, class_transformer_1.Expose)(),
|
|
72
|
+
__metadata("design:type", Number)
|
|
73
|
+
], EarningsValueCashCorrectionTotalDto.prototype, "correctedValue", void 0);
|
package/dist/dto/earningsValueCashCorrectionTotal/earningsValueCashCorrectionTotalEmbedded.dto.js
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.EarningsValueCashCorrectionTotalEmbeddedDto = void 0;
|
|
4
|
+
class EarningsValueCashCorrectionTotalEmbeddedDto {
|
|
5
|
+
}
|
|
6
|
+
exports.EarningsValueCashCorrectionTotalEmbeddedDto = EarningsValueCashCorrectionTotalEmbeddedDto;
|
package/dist/dto/earningsValueCashCorrectionTotal/earningsValueCashCorrectionTotalPage.dto.d.ts
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { EarningsValueCashCorrectionTotalDto } from './earningsValueCashCorrectionTotal.dto';
|
|
2
|
+
declare class EmbeddedEarningsValueCashCorrectionTotal {
|
|
3
|
+
earningsValueCashCorrectionTotals?: EarningsValueCashCorrectionTotalDto[];
|
|
4
|
+
}
|
|
5
|
+
declare const EarningsValueCashCorrectionTotalPageDto_base: {
|
|
6
|
+
new (): {
|
|
7
|
+
_page: import("../..").PageInfoDto;
|
|
8
|
+
_embedded: EmbeddedEarningsValueCashCorrectionTotal;
|
|
9
|
+
};
|
|
10
|
+
};
|
|
11
|
+
export declare class EarningsValueCashCorrectionTotalPageDto extends EarningsValueCashCorrectionTotalPageDto_base {
|
|
12
|
+
}
|
|
13
|
+
export {};
|