@ballistix.digital/types-waardering-tool-react 0.13.37 → 0.13.39
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/dto/afasSyncTask/afasSyncCounts.dto.d.ts +6 -0
- package/dist/dto/afasSyncTask/afasSyncCounts.dto.js +37 -0
- package/dist/dto/afasSyncTask/afasSyncResult.dto.d.ts +5 -0
- package/dist/dto/afasSyncTask/afasSyncResult.dto.js +30 -0
- package/dist/dto/afasSyncTask/afasSyncTask.dto.d.ts +12 -0
- package/dist/dto/afasSyncTask/afasSyncTask.dto.js +47 -0
- package/dist/dto/afasSyncTask/afasSyncTaskEmbedded.dto.d.ts +5 -0
- package/dist/dto/afasSyncTask/afasSyncTaskEmbedded.dto.js +30 -0
- package/dist/dto/afasSyncTask/afasSyncTaskPage.dto.d.ts +13 -0
- package/dist/dto/afasSyncTask/afasSyncTaskPage.dto.js +27 -0
- package/dist/dto/afasSyncTask/createAfasSyncTask.dto.d.ts +3 -0
- package/dist/dto/afasSyncTask/createAfasSyncTask.dto.js +25 -0
- package/dist/dto/annualAccountAttachment/annualAccountAttachment.dto.d.ts +2 -1
- package/dist/dto/annualAccountAttachment/annualAccountAttachment.dto.js +5 -3
- package/dist/dto/customer/createCustomer.dto.d.ts +1 -0
- package/dist/dto/customer/createCustomer.dto.js +7 -0
- package/dist/dto/customer/customer.dto.d.ts +1 -0
- package/dist/dto/customer/customer.dto.js +5 -0
- package/dist/dto/customer/updateCustomer.dto.d.ts +1 -0
- package/dist/dto/customer/updateCustomer.dto.js +7 -0
- package/dist/dto/dcfBudget/dcfBudgetAttachment/dcfBudgetAttachment.dto.d.ts +2 -1
- package/dist/dto/dcfBudget/dcfBudgetAttachment/dcfBudgetAttachment.dto.js +5 -3
- package/dist/dto/depreciationTableAttachment/depreciationTableAttachment.dto.d.ts +2 -1
- package/dist/dto/depreciationTableAttachment/depreciationTableAttachment.dto.js +5 -3
- package/dist/dto/exception/conflictDetail.dto.d.ts +5 -0
- package/dist/dto/exception/conflictDetail.dto.js +36 -0
- package/dist/dto/exception/exceptionMessages.const.js +5 -0
- package/dist/dto/exception/noDetail.dto.d.ts +2 -0
- package/dist/dto/exception/noDetail.dto.js +6 -0
- package/dist/dto/exception/xlsxContentNotFoundDetail.dto.d.ts +8 -0
- package/dist/dto/exception/xlsxContentNotFoundDetail.dto.js +46 -0
- package/dist/dto/exception/xlsxLocation.dto.d.ts +5 -0
- package/dist/dto/exception/xlsxLocation.dto.js +38 -0
- package/dist/dto/exception/xlsxReferencedResourceNotFoundDetail.dto.d.ts +7 -0
- package/dist/dto/exception/xlsxReferencedResourceNotFoundDetail.dto.js +45 -0
- package/dist/dto/exception/xlsxValidationErrorDetail.dto.d.ts +5 -0
- package/dist/dto/exception/xlsxValidationErrorDetail.dto.js +27 -0
- package/dist/enum/exceptionCode.enum.d.ts +6 -1
- package/dist/enum/exceptionCode.enum.js +5 -0
- package/dist/enum/validationRule.enum.d.ts +1 -0
- package/dist/enum/validationRule.enum.js +2 -0
- package/dist/enum/xlsxContentKind.enum.d.ts +5 -0
- package/dist/enum/xlsxContentKind.enum.js +9 -0
- package/dist/exception/conflictException.d.ts +5 -0
- package/dist/exception/conflictException.js +14 -0
- package/dist/exception/databaseErrorException.d.ts +1 -1
- package/dist/exception/databaseErrorException.js +3 -2
- package/dist/exception/fileInvalidException.d.ts +5 -0
- package/dist/exception/fileInvalidException.js +12 -0
- package/dist/exception/genericErrorException.d.ts +5 -0
- package/dist/exception/genericErrorException.js +14 -0
- package/dist/exception/xlsxContentNotFoundException.d.ts +7 -0
- package/dist/exception/xlsxContentNotFoundException.js +12 -0
- package/dist/exception/xlsxReferencedResourceNotFoundException.d.ts +6 -0
- package/dist/exception/xlsxReferencedResourceNotFoundException.js +12 -0
- package/dist/exception/xlsxValidationFailedException.d.ts +12 -0
- package/dist/exception/xlsxValidationFailedException.js +12 -0
- package/dist/index.d.ts +20 -1
- package/dist/index.js +46 -8
- package/package.json +1 -1
|
@@ -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.AfasSyncCountsDto = void 0;
|
|
13
|
+
const class_transformer_1 = require("class-transformer");
|
|
14
|
+
const nestjs_1 = require("../../nestjs");
|
|
15
|
+
class AfasSyncCountsDto {
|
|
16
|
+
}
|
|
17
|
+
exports.AfasSyncCountsDto = AfasSyncCountsDto;
|
|
18
|
+
__decorate([
|
|
19
|
+
(0, nestjs_1.ApiProperty)({ type: Number, required: true }),
|
|
20
|
+
(0, class_transformer_1.Expose)(),
|
|
21
|
+
__metadata("design:type", Number)
|
|
22
|
+
], AfasSyncCountsDto.prototype, "synced", void 0);
|
|
23
|
+
__decorate([
|
|
24
|
+
(0, nestjs_1.ApiProperty)({ type: Number, required: true }),
|
|
25
|
+
(0, class_transformer_1.Expose)(),
|
|
26
|
+
__metadata("design:type", Number)
|
|
27
|
+
], AfasSyncCountsDto.prototype, "archived", void 0);
|
|
28
|
+
__decorate([
|
|
29
|
+
(0, nestjs_1.ApiProperty)({ type: Number, required: true }),
|
|
30
|
+
(0, class_transformer_1.Expose)(),
|
|
31
|
+
__metadata("design:type", Number)
|
|
32
|
+
], AfasSyncCountsDto.prototype, "skipped", void 0);
|
|
33
|
+
__decorate([
|
|
34
|
+
(0, nestjs_1.ApiProperty)({ type: Number, required: true }),
|
|
35
|
+
(0, class_transformer_1.Expose)(),
|
|
36
|
+
__metadata("design:type", Number)
|
|
37
|
+
], AfasSyncCountsDto.prototype, "failed", void 0);
|
|
@@ -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.AfasSyncResultDto = void 0;
|
|
13
|
+
const class_transformer_1 = require("class-transformer");
|
|
14
|
+
const nestjs_1 = require("../../nestjs");
|
|
15
|
+
const afasSyncCounts_dto_1 = require("./afasSyncCounts.dto");
|
|
16
|
+
class AfasSyncResultDto {
|
|
17
|
+
}
|
|
18
|
+
exports.AfasSyncResultDto = AfasSyncResultDto;
|
|
19
|
+
__decorate([
|
|
20
|
+
(0, nestjs_1.ApiProperty)({ type: () => afasSyncCounts_dto_1.AfasSyncCountsDto, required: true }),
|
|
21
|
+
(0, class_transformer_1.Type)(() => afasSyncCounts_dto_1.AfasSyncCountsDto),
|
|
22
|
+
(0, class_transformer_1.Expose)(),
|
|
23
|
+
__metadata("design:type", afasSyncCounts_dto_1.AfasSyncCountsDto)
|
|
24
|
+
], AfasSyncResultDto.prototype, "customers", void 0);
|
|
25
|
+
__decorate([
|
|
26
|
+
(0, nestjs_1.ApiProperty)({ type: () => afasSyncCounts_dto_1.AfasSyncCountsDto, required: true }),
|
|
27
|
+
(0, class_transformer_1.Type)(() => afasSyncCounts_dto_1.AfasSyncCountsDto),
|
|
28
|
+
(0, class_transformer_1.Expose)(),
|
|
29
|
+
__metadata("design:type", afasSyncCounts_dto_1.AfasSyncCountsDto)
|
|
30
|
+
], AfasSyncResultDto.prototype, "projects", void 0);
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { AttachmentProcessingStatusEnum } from '../../enum/attachmentProcessingStatus.enum';
|
|
2
|
+
import { AfasSyncResultDto } from './afasSyncResult.dto';
|
|
3
|
+
import { AfasSyncTaskEmbeddedDto } from './afasSyncTaskEmbedded.dto';
|
|
4
|
+
declare const AfasSyncTaskDto_base: import("../..").BaseDtoType<AfasSyncTaskEmbeddedDto>;
|
|
5
|
+
export declare class AfasSyncTaskDto extends AfasSyncTaskDto_base {
|
|
6
|
+
id: string;
|
|
7
|
+
customerId?: string;
|
|
8
|
+
processingStatus: AttachmentProcessingStatusEnum;
|
|
9
|
+
processingErrorMessage?: string;
|
|
10
|
+
result?: AfasSyncResultDto;
|
|
11
|
+
}
|
|
12
|
+
export {};
|
|
@@ -0,0 +1,47 @@
|
|
|
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.AfasSyncTaskDto = 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 attachmentProcessingStatus_enum_1 = require("../../enum/attachmentProcessingStatus.enum");
|
|
17
|
+
const afasSyncResult_dto_1 = require("./afasSyncResult.dto");
|
|
18
|
+
const afasSyncTaskEmbedded_dto_1 = require("./afasSyncTaskEmbedded.dto");
|
|
19
|
+
class AfasSyncTaskDto extends (0, base_dto_1.BaseDto)(afasSyncTaskEmbedded_dto_1.AfasSyncTaskEmbeddedDto) {
|
|
20
|
+
}
|
|
21
|
+
exports.AfasSyncTaskDto = AfasSyncTaskDto;
|
|
22
|
+
__decorate([
|
|
23
|
+
(0, nestjs_1.ApiProperty)({ type: String, required: true, format: 'uuid' }),
|
|
24
|
+
(0, class_transformer_1.Expose)(),
|
|
25
|
+
__metadata("design:type", String)
|
|
26
|
+
], AfasSyncTaskDto.prototype, "id", void 0);
|
|
27
|
+
__decorate([
|
|
28
|
+
(0, nestjs_1.ApiProperty)({ type: String, required: false, format: 'uuid' }),
|
|
29
|
+
(0, class_transformer_1.Expose)(),
|
|
30
|
+
__metadata("design:type", String)
|
|
31
|
+
], AfasSyncTaskDto.prototype, "customerId", void 0);
|
|
32
|
+
__decorate([
|
|
33
|
+
(0, nestjs_1.ApiProperty)({ enum: attachmentProcessingStatus_enum_1.AttachmentProcessingStatusEnum, required: true }),
|
|
34
|
+
(0, class_transformer_1.Expose)(),
|
|
35
|
+
__metadata("design:type", String)
|
|
36
|
+
], AfasSyncTaskDto.prototype, "processingStatus", void 0);
|
|
37
|
+
__decorate([
|
|
38
|
+
(0, nestjs_1.ApiProperty)({ type: String, required: false }),
|
|
39
|
+
(0, class_transformer_1.Expose)(),
|
|
40
|
+
__metadata("design:type", String)
|
|
41
|
+
], AfasSyncTaskDto.prototype, "processingErrorMessage", void 0);
|
|
42
|
+
__decorate([
|
|
43
|
+
(0, nestjs_1.ApiProperty)({ type: () => afasSyncResult_dto_1.AfasSyncResultDto, required: false }),
|
|
44
|
+
(0, class_transformer_1.Type)(() => afasSyncResult_dto_1.AfasSyncResultDto),
|
|
45
|
+
(0, class_transformer_1.Expose)(),
|
|
46
|
+
__metadata("design:type", afasSyncResult_dto_1.AfasSyncResultDto)
|
|
47
|
+
], AfasSyncTaskDto.prototype, "result", void 0);
|
|
@@ -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.AfasSyncTaskEmbeddedDto = 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
|
+
class AfasSyncTaskEmbeddedDto {
|
|
17
|
+
}
|
|
18
|
+
exports.AfasSyncTaskEmbeddedDto = AfasSyncTaskEmbeddedDto;
|
|
19
|
+
__decorate([
|
|
20
|
+
(0, nestjs_1.ApiProperty)({ type: () => user_dto_1.UserDto, required: false }),
|
|
21
|
+
(0, class_transformer_1.Type)(() => user_dto_1.UserDto),
|
|
22
|
+
(0, class_transformer_1.Expose)(),
|
|
23
|
+
__metadata("design:type", user_dto_1.UserDto)
|
|
24
|
+
], AfasSyncTaskEmbeddedDto.prototype, "createdBy", void 0);
|
|
25
|
+
__decorate([
|
|
26
|
+
(0, nestjs_1.ApiProperty)({ type: () => user_dto_1.UserDto, required: false }),
|
|
27
|
+
(0, class_transformer_1.Type)(() => user_dto_1.UserDto),
|
|
28
|
+
(0, class_transformer_1.Expose)(),
|
|
29
|
+
__metadata("design:type", user_dto_1.UserDto)
|
|
30
|
+
], AfasSyncTaskEmbeddedDto.prototype, "updatedBy", void 0);
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { AfasSyncTaskDto } from './afasSyncTask.dto';
|
|
2
|
+
declare class EmbeddedAfasSyncTask {
|
|
3
|
+
afasSyncTasks?: AfasSyncTaskDto[];
|
|
4
|
+
}
|
|
5
|
+
declare const AfasSyncTaskPageDto_base: {
|
|
6
|
+
new (): {
|
|
7
|
+
_page: import("../..").PageInfoDto;
|
|
8
|
+
_embedded: EmbeddedAfasSyncTask;
|
|
9
|
+
};
|
|
10
|
+
};
|
|
11
|
+
export declare class AfasSyncTaskPageDto extends AfasSyncTaskPageDto_base {
|
|
12
|
+
}
|
|
13
|
+
export {};
|
|
@@ -0,0 +1,27 @@
|
|
|
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.AfasSyncTaskPageDto = 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 afasSyncTask_dto_1 = require("./afasSyncTask.dto");
|
|
17
|
+
class EmbeddedAfasSyncTask {
|
|
18
|
+
}
|
|
19
|
+
__decorate([
|
|
20
|
+
(0, nestjs_1.ApiProperty)({ type: () => [afasSyncTask_dto_1.AfasSyncTaskDto], required: false }),
|
|
21
|
+
(0, class_transformer_1.Type)(() => afasSyncTask_dto_1.AfasSyncTaskDto),
|
|
22
|
+
(0, class_transformer_1.Expose)({ name: 'items' }),
|
|
23
|
+
__metadata("design:type", Array)
|
|
24
|
+
], EmbeddedAfasSyncTask.prototype, "afasSyncTasks", void 0);
|
|
25
|
+
class AfasSyncTaskPageDto extends (0, page_dto_1.PageDto)(EmbeddedAfasSyncTask) {
|
|
26
|
+
}
|
|
27
|
+
exports.AfasSyncTaskPageDto = AfasSyncTaskPageDto;
|
|
@@ -0,0 +1,25 @@
|
|
|
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.CreateAfasSyncTaskDto = void 0;
|
|
13
|
+
const class_transformer_1 = require("class-transformer");
|
|
14
|
+
const class_validator_1 = require("class-validator");
|
|
15
|
+
const nestjs_1 = require("../../nestjs");
|
|
16
|
+
class CreateAfasSyncTaskDto {
|
|
17
|
+
}
|
|
18
|
+
exports.CreateAfasSyncTaskDto = CreateAfasSyncTaskDto;
|
|
19
|
+
__decorate([
|
|
20
|
+
(0, nestjs_1.ApiProperty)({ type: String, required: false, format: 'uuid' }),
|
|
21
|
+
(0, class_validator_1.IsUUID)(),
|
|
22
|
+
(0, class_validator_1.IsOptional)(),
|
|
23
|
+
(0, class_transformer_1.Expose)(),
|
|
24
|
+
__metadata("design:type", String)
|
|
25
|
+
], CreateAfasSyncTaskDto.prototype, "customerId", void 0);
|
|
@@ -2,6 +2,7 @@ import { AttachmentStatusEnum } from '../../enum/attachmentStatus.enum';
|
|
|
2
2
|
import { AttachmentUploadStatusEnum } from '../../enum/attachmentUploadStatus.enum';
|
|
3
3
|
import { AttachmentProcessingStatusEnum } from '../../enum/attachmentProcessingStatus.enum';
|
|
4
4
|
import { CompanyTypeEnum } from '../../enum/companyType.enum';
|
|
5
|
+
import { ExceptionDto } from '../exception/exception.dto';
|
|
5
6
|
import { AnnualAccountAttachmentEmbeddedDto } from './annualAccountAttachmentEmbedded.dto';
|
|
6
7
|
declare const AnnualAccountAttachmentDto_base: import("../..").BaseDtoType<AnnualAccountAttachmentEmbeddedDto>;
|
|
7
8
|
export declare class AnnualAccountAttachmentDto extends AnnualAccountAttachmentDto_base {
|
|
@@ -16,7 +17,7 @@ export declare class AnnualAccountAttachmentDto extends AnnualAccountAttachmentD
|
|
|
16
17
|
companyType?: CompanyTypeEnum;
|
|
17
18
|
annualAccountId?: string;
|
|
18
19
|
processingStatus: AttachmentProcessingStatusEnum;
|
|
19
|
-
|
|
20
|
+
processingError?: ExceptionDto;
|
|
20
21
|
presignedUrl?: string;
|
|
21
22
|
}
|
|
22
23
|
export {};
|
|
@@ -17,6 +17,7 @@ const attachmentStatus_enum_1 = require("../../enum/attachmentStatus.enum");
|
|
|
17
17
|
const attachmentUploadStatus_enum_1 = require("../../enum/attachmentUploadStatus.enum");
|
|
18
18
|
const attachmentProcessingStatus_enum_1 = require("../../enum/attachmentProcessingStatus.enum");
|
|
19
19
|
const companyType_enum_1 = require("../../enum/companyType.enum");
|
|
20
|
+
const exception_dto_1 = require("../exception/exception.dto");
|
|
20
21
|
const annualAccountAttachmentEmbedded_dto_1 = require("./annualAccountAttachmentEmbedded.dto");
|
|
21
22
|
class AnnualAccountAttachmentDto extends (0, base_dto_1.BaseDto)(annualAccountAttachmentEmbedded_dto_1.AnnualAccountAttachmentEmbeddedDto) {
|
|
22
23
|
}
|
|
@@ -77,10 +78,11 @@ __decorate([
|
|
|
77
78
|
__metadata("design:type", String)
|
|
78
79
|
], AnnualAccountAttachmentDto.prototype, "processingStatus", void 0);
|
|
79
80
|
__decorate([
|
|
80
|
-
(0, nestjs_1.ApiProperty)({ type:
|
|
81
|
+
(0, nestjs_1.ApiProperty)({ type: exception_dto_1.ExceptionDto, required: false }),
|
|
81
82
|
(0, class_transformer_1.Expose)(),
|
|
82
|
-
|
|
83
|
-
|
|
83
|
+
(0, class_transformer_1.Type)(() => exception_dto_1.ExceptionDto),
|
|
84
|
+
__metadata("design:type", exception_dto_1.ExceptionDto)
|
|
85
|
+
], AnnualAccountAttachmentDto.prototype, "processingError", void 0);
|
|
84
86
|
__decorate([
|
|
85
87
|
(0, nestjs_1.ApiProperty)({ type: String, required: false }),
|
|
86
88
|
(0, class_transformer_1.Expose)(),
|
|
@@ -36,6 +36,13 @@ __decorate([
|
|
|
36
36
|
(0, class_transformer_1.Expose)(),
|
|
37
37
|
__metadata("design:type", String)
|
|
38
38
|
], CreateCustomerDto.prototype, "legalForm", void 0);
|
|
39
|
+
__decorate([
|
|
40
|
+
(0, nestjs_1.ApiProperty)({ type: String, required: false }),
|
|
41
|
+
(0, class_validator_1.IsString)(),
|
|
42
|
+
(0, class_validator_1.IsOptional)(),
|
|
43
|
+
(0, class_transformer_1.Expose)(),
|
|
44
|
+
__metadata("design:type", String)
|
|
45
|
+
], CreateCustomerDto.prototype, "vrNumber", void 0);
|
|
39
46
|
__decorate([
|
|
40
47
|
(0, nestjs_1.ApiProperty)({ type: String, required: false }),
|
|
41
48
|
(0, class_validator_1.IsString)(),
|
|
@@ -37,6 +37,11 @@ __decorate([
|
|
|
37
37
|
(0, class_transformer_1.Expose)(),
|
|
38
38
|
__metadata("design:type", String)
|
|
39
39
|
], CustomerDto.prototype, "legalForm", void 0);
|
|
40
|
+
__decorate([
|
|
41
|
+
(0, nestjs_1.ApiProperty)({ type: String, required: false }),
|
|
42
|
+
(0, class_transformer_1.Expose)(),
|
|
43
|
+
__metadata("design:type", String)
|
|
44
|
+
], CustomerDto.prototype, "vrNumber", void 0);
|
|
40
45
|
__decorate([
|
|
41
46
|
(0, nestjs_1.ApiProperty)({ type: String, required: false }),
|
|
42
47
|
(0, class_transformer_1.Expose)(),
|
|
@@ -37,6 +37,13 @@ __decorate([
|
|
|
37
37
|
(0, class_transformer_1.Expose)(),
|
|
38
38
|
__metadata("design:type", String)
|
|
39
39
|
], UpdateCustomerDto.prototype, "legalForm", void 0);
|
|
40
|
+
__decorate([
|
|
41
|
+
(0, nestjs_1.ApiProperty)({ type: String, required: false }),
|
|
42
|
+
(0, class_validator_1.IsString)(),
|
|
43
|
+
(0, class_validator_1.IsOptional)(),
|
|
44
|
+
(0, class_transformer_1.Expose)(),
|
|
45
|
+
__metadata("design:type", String)
|
|
46
|
+
], UpdateCustomerDto.prototype, "vrNumber", void 0);
|
|
40
47
|
__decorate([
|
|
41
48
|
(0, nestjs_1.ApiProperty)({ type: String, required: false }),
|
|
42
49
|
(0, class_validator_1.IsString)(),
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { AttachmentStatusEnum } from '../../../enum/attachmentStatus.enum';
|
|
2
2
|
import { AttachmentUploadStatusEnum } from '../../../enum/attachmentUploadStatus.enum';
|
|
3
3
|
import { AttachmentProcessingStatusEnum } from '../../../enum/attachmentProcessingStatus.enum';
|
|
4
|
+
import { ExceptionDto } from '../../exception/exception.dto';
|
|
4
5
|
import { DcfBudgetAttachmentEmbeddedDto } from './dcfBudgetAttachmentEmbedded.dto';
|
|
5
6
|
declare const DcfBudgetAttachmentDto_base: import("../../..").BaseDtoType<DcfBudgetAttachmentEmbeddedDto>;
|
|
6
7
|
export declare class DcfBudgetAttachmentDto extends DcfBudgetAttachmentDto_base {
|
|
@@ -14,7 +15,7 @@ export declare class DcfBudgetAttachmentDto extends DcfBudgetAttachmentDto_base
|
|
|
14
15
|
storageId?: string;
|
|
15
16
|
dcfBudgetValuationId: string;
|
|
16
17
|
processingStatus: AttachmentProcessingStatusEnum;
|
|
17
|
-
|
|
18
|
+
processingError?: ExceptionDto;
|
|
18
19
|
presignedUrl?: string;
|
|
19
20
|
}
|
|
20
21
|
export {};
|
|
@@ -16,6 +16,7 @@ const nestjs_1 = require("../../../nestjs");
|
|
|
16
16
|
const attachmentStatus_enum_1 = require("../../../enum/attachmentStatus.enum");
|
|
17
17
|
const attachmentUploadStatus_enum_1 = require("../../../enum/attachmentUploadStatus.enum");
|
|
18
18
|
const attachmentProcessingStatus_enum_1 = require("../../../enum/attachmentProcessingStatus.enum");
|
|
19
|
+
const exception_dto_1 = require("../../exception/exception.dto");
|
|
19
20
|
const dcfBudgetAttachmentEmbedded_dto_1 = require("./dcfBudgetAttachmentEmbedded.dto");
|
|
20
21
|
class DcfBudgetAttachmentDto extends (0, base_dto_1.BaseDto)(dcfBudgetAttachmentEmbedded_dto_1.DcfBudgetAttachmentEmbeddedDto) {
|
|
21
22
|
}
|
|
@@ -71,10 +72,11 @@ __decorate([
|
|
|
71
72
|
__metadata("design:type", String)
|
|
72
73
|
], DcfBudgetAttachmentDto.prototype, "processingStatus", void 0);
|
|
73
74
|
__decorate([
|
|
74
|
-
(0, nestjs_1.ApiProperty)({ type:
|
|
75
|
+
(0, nestjs_1.ApiProperty)({ type: exception_dto_1.ExceptionDto, required: false }),
|
|
75
76
|
(0, class_transformer_1.Expose)(),
|
|
76
|
-
|
|
77
|
-
|
|
77
|
+
(0, class_transformer_1.Type)(() => exception_dto_1.ExceptionDto),
|
|
78
|
+
__metadata("design:type", exception_dto_1.ExceptionDto)
|
|
79
|
+
], DcfBudgetAttachmentDto.prototype, "processingError", void 0);
|
|
78
80
|
__decorate([
|
|
79
81
|
(0, nestjs_1.ApiProperty)({ type: String, required: false }),
|
|
80
82
|
(0, class_transformer_1.Expose)(),
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { AttachmentStatusEnum } from '../../enum/attachmentStatus.enum';
|
|
2
2
|
import { AttachmentUploadStatusEnum } from '../../enum/attachmentUploadStatus.enum';
|
|
3
3
|
import { AttachmentProcessingStatusEnum } from '../../enum/attachmentProcessingStatus.enum';
|
|
4
|
+
import { ExceptionDto } from '../exception/exception.dto';
|
|
4
5
|
import { DepreciationTableAttachmentEmbeddedDto } from './depreciationTableAttachmentEmbedded.dto';
|
|
5
6
|
declare const DepreciationTableAttachmentDto_base: import("../..").BaseDtoType<DepreciationTableAttachmentEmbeddedDto>;
|
|
6
7
|
export declare class DepreciationTableAttachmentDto extends DepreciationTableAttachmentDto_base {
|
|
@@ -13,7 +14,7 @@ export declare class DepreciationTableAttachmentDto extends DepreciationTableAtt
|
|
|
13
14
|
status: AttachmentStatusEnum;
|
|
14
15
|
storageId?: string;
|
|
15
16
|
processingStatus: AttachmentProcessingStatusEnum;
|
|
16
|
-
|
|
17
|
+
processingError?: ExceptionDto;
|
|
17
18
|
presignedUrl?: string;
|
|
18
19
|
valuationId: string;
|
|
19
20
|
}
|
|
@@ -16,6 +16,7 @@ const nestjs_1 = require("../../nestjs");
|
|
|
16
16
|
const attachmentStatus_enum_1 = require("../../enum/attachmentStatus.enum");
|
|
17
17
|
const attachmentUploadStatus_enum_1 = require("../../enum/attachmentUploadStatus.enum");
|
|
18
18
|
const attachmentProcessingStatus_enum_1 = require("../../enum/attachmentProcessingStatus.enum");
|
|
19
|
+
const exception_dto_1 = require("../exception/exception.dto");
|
|
19
20
|
const depreciationTableAttachmentEmbedded_dto_1 = require("./depreciationTableAttachmentEmbedded.dto");
|
|
20
21
|
class DepreciationTableAttachmentDto extends (0, base_dto_1.BaseDto)(depreciationTableAttachmentEmbedded_dto_1.DepreciationTableAttachmentEmbeddedDto) {
|
|
21
22
|
}
|
|
@@ -66,10 +67,11 @@ __decorate([
|
|
|
66
67
|
__metadata("design:type", String)
|
|
67
68
|
], DepreciationTableAttachmentDto.prototype, "processingStatus", void 0);
|
|
68
69
|
__decorate([
|
|
69
|
-
(0, nestjs_1.ApiProperty)({ type:
|
|
70
|
+
(0, nestjs_1.ApiProperty)({ type: exception_dto_1.ExceptionDto, required: false }),
|
|
70
71
|
(0, class_transformer_1.Expose)(),
|
|
71
|
-
|
|
72
|
-
|
|
72
|
+
(0, class_transformer_1.Type)(() => exception_dto_1.ExceptionDto),
|
|
73
|
+
__metadata("design:type", exception_dto_1.ExceptionDto)
|
|
74
|
+
], DepreciationTableAttachmentDto.prototype, "processingError", void 0);
|
|
73
75
|
__decorate([
|
|
74
76
|
(0, nestjs_1.ApiProperty)({ type: String, required: false }),
|
|
75
77
|
(0, class_transformer_1.Expose)(),
|
|
@@ -0,0 +1,36 @@
|
|
|
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.ConflictDetailDto = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
const nestjs_1 = require("../../nestjs");
|
|
15
|
+
const class_transformer_1 = require("class-transformer");
|
|
16
|
+
class ConflictDetailDto {
|
|
17
|
+
}
|
|
18
|
+
exports.ConflictDetailDto = ConflictDetailDto;
|
|
19
|
+
__decorate([
|
|
20
|
+
(0, class_validator_1.IsString)(),
|
|
21
|
+
(0, class_transformer_1.Expose)(),
|
|
22
|
+
(0, nestjs_1.ApiProperty)({ type: String, required: true }),
|
|
23
|
+
__metadata("design:type", String)
|
|
24
|
+
], ConflictDetailDto.prototype, "field", void 0);
|
|
25
|
+
__decorate([
|
|
26
|
+
(0, class_validator_1.IsString)(),
|
|
27
|
+
(0, class_transformer_1.Expose)(),
|
|
28
|
+
(0, nestjs_1.ApiProperty)({ type: String, required: true }),
|
|
29
|
+
__metadata("design:type", String)
|
|
30
|
+
], ConflictDetailDto.prototype, "declared", void 0);
|
|
31
|
+
__decorate([
|
|
32
|
+
(0, class_validator_1.IsString)(),
|
|
33
|
+
(0, class_transformer_1.Expose)(),
|
|
34
|
+
(0, nestjs_1.ApiProperty)({ type: String, required: true }),
|
|
35
|
+
__metadata("design:type", String)
|
|
36
|
+
], ConflictDetailDto.prototype, "found", void 0);
|
|
@@ -10,4 +10,9 @@ exports.EXCEPTION_MESSAGES = {
|
|
|
10
10
|
[exceptionCode_enum_1.ExceptionCodeEnum.ACTION_NOT_PERMITTED]: 'Not allowed to {action} a {entity}',
|
|
11
11
|
[exceptionCode_enum_1.ExceptionCodeEnum.ACCESS_DENIED]: '{message}',
|
|
12
12
|
[exceptionCode_enum_1.ExceptionCodeEnum.GENERIC_ERROR]: '{message}',
|
|
13
|
+
[exceptionCode_enum_1.ExceptionCodeEnum.FILE_INVALID]: 'The uploaded file cannot be read',
|
|
14
|
+
[exceptionCode_enum_1.ExceptionCodeEnum.XLSX_CONTENT_NOT_FOUND]: 'Could not find {entity} with {searchField} {searchValue}',
|
|
15
|
+
[exceptionCode_enum_1.ExceptionCodeEnum.XLSX_REFERENCED_RESOURCE_NOT_FOUND]: 'Could not find {entity} with {searchField} {searchValue}',
|
|
16
|
+
[exceptionCode_enum_1.ExceptionCodeEnum.XLSX_VALIDATION_FAILED]: 'Validation of {inputField} failed ({rule})',
|
|
17
|
+
[exceptionCode_enum_1.ExceptionCodeEnum.CONFLICT]: 'Declared {field} {declared} conflicts with {found}',
|
|
13
18
|
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { XlsxContentKindEnum } from '../../enum/xlsxContentKind.enum';
|
|
2
|
+
import { XlsxLocationDto } from './xlsxLocation.dto';
|
|
3
|
+
export declare class XlsxContentNotFoundDetailDto {
|
|
4
|
+
entity: XlsxContentKindEnum;
|
|
5
|
+
searchField: string;
|
|
6
|
+
searchValue: string;
|
|
7
|
+
location?: XlsxLocationDto;
|
|
8
|
+
}
|
|
@@ -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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.XlsxContentNotFoundDetailDto = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
const nestjs_1 = require("../../nestjs");
|
|
15
|
+
const class_transformer_1 = require("class-transformer");
|
|
16
|
+
const xlsxContentKind_enum_1 = require("../../enum/xlsxContentKind.enum");
|
|
17
|
+
const xlsxLocation_dto_1 = require("./xlsxLocation.dto");
|
|
18
|
+
class XlsxContentNotFoundDetailDto {
|
|
19
|
+
}
|
|
20
|
+
exports.XlsxContentNotFoundDetailDto = XlsxContentNotFoundDetailDto;
|
|
21
|
+
__decorate([
|
|
22
|
+
(0, class_validator_1.IsEnum)(xlsxContentKind_enum_1.XlsxContentKindEnum),
|
|
23
|
+
(0, class_transformer_1.Expose)(),
|
|
24
|
+
(0, nestjs_1.ApiProperty)({ enum: xlsxContentKind_enum_1.XlsxContentKindEnum, required: true }),
|
|
25
|
+
__metadata("design:type", String)
|
|
26
|
+
], XlsxContentNotFoundDetailDto.prototype, "entity", void 0);
|
|
27
|
+
__decorate([
|
|
28
|
+
(0, class_validator_1.IsString)(),
|
|
29
|
+
(0, class_transformer_1.Expose)(),
|
|
30
|
+
(0, nestjs_1.ApiProperty)({ type: String, required: true }),
|
|
31
|
+
__metadata("design:type", String)
|
|
32
|
+
], XlsxContentNotFoundDetailDto.prototype, "searchField", void 0);
|
|
33
|
+
__decorate([
|
|
34
|
+
(0, class_validator_1.IsString)(),
|
|
35
|
+
(0, class_transformer_1.Expose)(),
|
|
36
|
+
(0, nestjs_1.ApiProperty)({ type: String, required: true }),
|
|
37
|
+
__metadata("design:type", String)
|
|
38
|
+
], XlsxContentNotFoundDetailDto.prototype, "searchValue", void 0);
|
|
39
|
+
__decorate([
|
|
40
|
+
(0, class_validator_1.IsOptional)(),
|
|
41
|
+
(0, class_validator_1.ValidateNested)(),
|
|
42
|
+
(0, class_transformer_1.Type)(() => xlsxLocation_dto_1.XlsxLocationDto),
|
|
43
|
+
(0, class_transformer_1.Expose)(),
|
|
44
|
+
(0, nestjs_1.ApiProperty)({ type: xlsxLocation_dto_1.XlsxLocationDto, required: false }),
|
|
45
|
+
__metadata("design:type", xlsxLocation_dto_1.XlsxLocationDto)
|
|
46
|
+
], XlsxContentNotFoundDetailDto.prototype, "location", void 0);
|
|
@@ -0,0 +1,38 @@
|
|
|
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.XlsxLocationDto = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
const nestjs_1 = require("../../nestjs");
|
|
15
|
+
const class_transformer_1 = require("class-transformer");
|
|
16
|
+
class XlsxLocationDto {
|
|
17
|
+
}
|
|
18
|
+
exports.XlsxLocationDto = XlsxLocationDto;
|
|
19
|
+
__decorate([
|
|
20
|
+
(0, class_validator_1.IsString)(),
|
|
21
|
+
(0, class_transformer_1.Expose)(),
|
|
22
|
+
(0, nestjs_1.ApiProperty)({ type: String, required: true }),
|
|
23
|
+
__metadata("design:type", String)
|
|
24
|
+
], XlsxLocationDto.prototype, "sheet", void 0);
|
|
25
|
+
__decorate([
|
|
26
|
+
(0, class_validator_1.IsOptional)(),
|
|
27
|
+
(0, class_validator_1.IsInt)(),
|
|
28
|
+
(0, class_transformer_1.Expose)(),
|
|
29
|
+
(0, nestjs_1.ApiProperty)({ type: Number, required: false }),
|
|
30
|
+
__metadata("design:type", Number)
|
|
31
|
+
], XlsxLocationDto.prototype, "row", void 0);
|
|
32
|
+
__decorate([
|
|
33
|
+
(0, class_validator_1.IsOptional)(),
|
|
34
|
+
(0, class_validator_1.IsInt)(),
|
|
35
|
+
(0, class_transformer_1.Expose)(),
|
|
36
|
+
(0, nestjs_1.ApiProperty)({ type: Number, required: false }),
|
|
37
|
+
__metadata("design:type", Number)
|
|
38
|
+
], XlsxLocationDto.prototype, "column", void 0);
|