@ballistix.digital/types-waardering-tool-react 0.13.40 → 0.13.42

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.
Files changed (94) hide show
  1. package/dist/dto/afasSyncTask/afasSyncTask.dto.d.ts +2 -2
  2. package/dist/dto/afasSyncTask/afasSyncTask.dto.js +2 -2
  3. package/dist/dto/annualAccountAttachment/annualAccountAttachment.dto.d.ts +3 -3
  4. package/dist/dto/annualAccountAttachment/annualAccountAttachment.dto.js +6 -6
  5. package/dist/dto/dcfBudget/dcfBudgetAttachment/dcfBudgetAttachment.dto.d.ts +3 -3
  6. package/dist/dto/dcfBudget/dcfBudgetAttachment/dcfBudgetAttachment.dto.js +6 -6
  7. package/dist/dto/depreciationTableAttachment/depreciationTableAttachment.dto.d.ts +3 -3
  8. package/dist/dto/depreciationTableAttachment/depreciationTableAttachment.dto.js +6 -6
  9. package/dist/dto/nbbSyncTask/nbbSyncTask.dto.d.ts +3 -3
  10. package/dist/dto/nbbSyncTask/nbbSyncTask.dto.js +6 -6
  11. package/dist/dto/valuationReportTemplateAttachment/bulkUpdateValuationReportTemplateAttachment.dto.d.ts +10 -0
  12. package/dist/dto/valuationReportTemplateAttachment/bulkUpdateValuationReportTemplateAttachment.dto.js +8 -0
  13. package/dist/dto/valuationReportTemplateAttachment/createValuationReportTemplateAttachment.dto.d.ts +4 -0
  14. package/dist/dto/{exception/actionNotPermittedDetail.dto.js → valuationReportTemplateAttachment/createValuationReportTemplateAttachment.dto.js} +13 -8
  15. package/dist/dto/valuationReportTemplateAttachment/updateValuationReportTemplateAttachment.dto.d.ts +8 -0
  16. package/dist/dto/{exception/exception.dto.js → valuationReportTemplateAttachment/updateValuationReportTemplateAttachment.dto.js} +20 -25
  17. package/dist/dto/valuationReportTemplateAttachment/valuationReportTemplateAttachment.dto.d.ts +16 -0
  18. package/dist/dto/valuationReportTemplateAttachment/valuationReportTemplateAttachment.dto.js +66 -0
  19. package/dist/dto/valuationReportTemplateAttachment/valuationReportTemplateAttachmentEmbedded.dto.d.ts +5 -0
  20. package/dist/dto/{exception/conflictDetail.dto.js → valuationReportTemplateAttachment/valuationReportTemplateAttachmentEmbedded.dto.js} +12 -18
  21. package/dist/dto/valuationReportTemplateAttachment/valuationReportTemplateAttachmentPage.dto.d.ts +13 -0
  22. package/dist/dto/{exception/xlsxValidationErrorDetail.dto.js → valuationReportTemplateAttachment/valuationReportTemplateAttachmentPage.dto.js} +16 -13
  23. package/dist/enum/processingStatus.enum.d.ts +1 -0
  24. package/dist/enum/processingStatus.enum.js +5 -0
  25. package/dist/exceptionTypes.d.ts +1 -0
  26. package/dist/exceptionTypes.js +17 -0
  27. package/dist/index.d.ts +9 -35
  28. package/dist/index.js +56 -77
  29. package/dist/util/transformEmbedded.js +3 -3
  30. package/package.json +3 -1
  31. package/dist/dto/exception/actionNotPermittedDetail.dto.d.ts +0 -4
  32. package/dist/dto/exception/conflictDetail.dto.d.ts +0 -5
  33. package/dist/dto/exception/exception.dto.d.ts +0 -8
  34. package/dist/dto/exception/exceptionMessages.const.d.ts +0 -2
  35. package/dist/dto/exception/exceptionMessages.const.js +0 -18
  36. package/dist/dto/exception/genericErrorDetail.dto.d.ts +0 -3
  37. package/dist/dto/exception/genericErrorDetail.dto.js +0 -24
  38. package/dist/dto/exception/noDetail.dto.d.ts +0 -2
  39. package/dist/dto/exception/noDetail.dto.js +0 -6
  40. package/dist/dto/exception/referencedResourceNotFoundDetail.dto.d.ts +0 -6
  41. package/dist/dto/exception/referencedResourceNotFoundDetail.dto.js +0 -42
  42. package/dist/dto/exception/resourceNotFoundDetail.dto.d.ts +0 -5
  43. package/dist/dto/exception/resourceNotFoundDetail.dto.js +0 -36
  44. package/dist/dto/exception/validationErrorDetail.dto.d.ts +0 -6
  45. package/dist/dto/exception/validationErrorDetail.dto.js +0 -38
  46. package/dist/dto/exception/xlsxContentNotFoundDetail.dto.d.ts +0 -8
  47. package/dist/dto/exception/xlsxContentNotFoundDetail.dto.js +0 -46
  48. package/dist/dto/exception/xlsxLocation.dto.d.ts +0 -5
  49. package/dist/dto/exception/xlsxLocation.dto.js +0 -38
  50. package/dist/dto/exception/xlsxReferencedResourceNotFoundDetail.dto.d.ts +0 -7
  51. package/dist/dto/exception/xlsxReferencedResourceNotFoundDetail.dto.js +0 -45
  52. package/dist/dto/exception/xlsxValidationErrorDetail.dto.d.ts +0 -5
  53. package/dist/enum/attachmentProcessingStatus.enum.d.ts +0 -6
  54. package/dist/enum/attachmentProcessingStatus.enum.js +0 -10
  55. package/dist/enum/exceptionCode.enum.d.ts +0 -14
  56. package/dist/enum/exceptionCode.enum.js +0 -18
  57. package/dist/enum/validationRule.enum.d.ts +0 -19
  58. package/dist/enum/validationRule.enum.js +0 -54
  59. package/dist/enum/xlsxContentKind.enum.d.ts +0 -5
  60. package/dist/enum/xlsxContentKind.enum.js +0 -9
  61. package/dist/exception/accessDeniedException.d.ts +0 -5
  62. package/dist/exception/accessDeniedException.js +0 -14
  63. package/dist/exception/actionNotPermittedException.d.ts +0 -5
  64. package/dist/exception/actionNotPermittedException.js +0 -14
  65. package/dist/exception/baseException.d.ts +0 -8
  66. package/dist/exception/baseException.js +0 -23
  67. package/dist/exception/conflictException.d.ts +0 -5
  68. package/dist/exception/conflictException.js +0 -14
  69. package/dist/exception/databaseErrorException.d.ts +0 -5
  70. package/dist/exception/databaseErrorException.js +0 -15
  71. package/dist/exception/fileInvalidException.d.ts +0 -5
  72. package/dist/exception/fileInvalidException.js +0 -12
  73. package/dist/exception/genericBadRequestException.d.ts +0 -5
  74. package/dist/exception/genericBadRequestException.js +0 -14
  75. package/dist/exception/genericErrorException.d.ts +0 -5
  76. package/dist/exception/genericErrorException.js +0 -14
  77. package/dist/exception/referencedResourceNotFoundException.d.ts +0 -5
  78. package/dist/exception/referencedResourceNotFoundException.js +0 -12
  79. package/dist/exception/resourceNotFoundException.d.ts +0 -5
  80. package/dist/exception/resourceNotFoundException.js +0 -14
  81. package/dist/exception/validationException.d.ts +0 -5
  82. package/dist/exception/validationException.js +0 -9
  83. package/dist/exception/validationFailedException.d.ts +0 -10
  84. package/dist/exception/validationFailedException.js +0 -12
  85. package/dist/exception/xlsxContentNotFoundException.d.ts +0 -7
  86. package/dist/exception/xlsxContentNotFoundException.js +0 -12
  87. package/dist/exception/xlsxReferencedResourceNotFoundException.d.ts +0 -6
  88. package/dist/exception/xlsxReferencedResourceNotFoundException.js +0 -12
  89. package/dist/exception/xlsxValidationFailedException.d.ts +0 -12
  90. package/dist/exception/xlsxValidationFailedException.js +0 -12
  91. package/dist/util/convertAndValidate.d.ts +0 -1
  92. package/dist/util/convertAndValidate.js +0 -46
  93. package/dist/util/interpolateTemplate.util.d.ts +0 -1
  94. package/dist/util/interpolateTemplate.util.js +0 -9
@@ -1,11 +1,11 @@
1
- import { AttachmentProcessingStatusEnum } from '../../enum/attachmentProcessingStatus.enum';
1
+ import { ProcessingStatusEnum } from '../../enum/processingStatus.enum';
2
2
  import { AfasSyncResultDto } from './afasSyncResult.dto';
3
3
  import { AfasSyncTaskEmbeddedDto } from './afasSyncTaskEmbedded.dto';
4
4
  declare const AfasSyncTaskDto_base: import("../..").BaseDtoType<AfasSyncTaskEmbeddedDto>;
5
5
  export declare class AfasSyncTaskDto extends AfasSyncTaskDto_base {
6
6
  id: string;
7
7
  customerId?: string;
8
- processingStatus: AttachmentProcessingStatusEnum;
8
+ processingStatus: ProcessingStatusEnum;
9
9
  processingErrorMessage?: string;
10
10
  result?: AfasSyncResultDto;
11
11
  }
@@ -13,7 +13,7 @@ exports.AfasSyncTaskDto = void 0;
13
13
  const base_dto_1 = require("../generic/base.dto");
14
14
  const class_transformer_1 = require("class-transformer");
15
15
  const nestjs_1 = require("../../nestjs");
16
- const attachmentProcessingStatus_enum_1 = require("../../enum/attachmentProcessingStatus.enum");
16
+ const processingStatus_enum_1 = require("../../enum/processingStatus.enum");
17
17
  const afasSyncResult_dto_1 = require("./afasSyncResult.dto");
18
18
  const afasSyncTaskEmbedded_dto_1 = require("./afasSyncTaskEmbedded.dto");
19
19
  class AfasSyncTaskDto extends (0, base_dto_1.BaseDto)(afasSyncTaskEmbedded_dto_1.AfasSyncTaskEmbeddedDto) {
@@ -30,7 +30,7 @@ __decorate([
30
30
  __metadata("design:type", String)
31
31
  ], AfasSyncTaskDto.prototype, "customerId", void 0);
32
32
  __decorate([
33
- (0, nestjs_1.ApiProperty)({ enum: attachmentProcessingStatus_enum_1.AttachmentProcessingStatusEnum, required: true }),
33
+ (0, nestjs_1.ApiProperty)({ enum: processingStatus_enum_1.ProcessingStatusEnum, required: true }),
34
34
  (0, class_transformer_1.Expose)(),
35
35
  __metadata("design:type", String)
36
36
  ], AfasSyncTaskDto.prototype, "processingStatus", void 0);
@@ -1,8 +1,8 @@
1
1
  import { AttachmentStatusEnum } from '../../enum/attachmentStatus.enum';
2
2
  import { AttachmentUploadStatusEnum } from '../../enum/attachmentUploadStatus.enum';
3
- import { AttachmentProcessingStatusEnum } from '../../enum/attachmentProcessingStatus.enum';
3
+ import { ProcessingStatusEnum } from '../../enum/processingStatus.enum';
4
4
  import { CompanyTypeEnum } from '../../enum/companyType.enum';
5
- import { ExceptionDto } from '../exception/exception.dto';
5
+ import { ExceptionDto } from '../../exceptionTypes';
6
6
  import { AnnualAccountAttachmentEmbeddedDto } from './annualAccountAttachmentEmbedded.dto';
7
7
  declare const AnnualAccountAttachmentDto_base: import("../..").BaseDtoType<AnnualAccountAttachmentEmbeddedDto>;
8
8
  export declare class AnnualAccountAttachmentDto extends AnnualAccountAttachmentDto_base {
@@ -16,7 +16,7 @@ export declare class AnnualAccountAttachmentDto extends AnnualAccountAttachmentD
16
16
  storageId?: string;
17
17
  companyType?: CompanyTypeEnum;
18
18
  annualAccountId?: string;
19
- processingStatus: AttachmentProcessingStatusEnum;
19
+ processingStatus: ProcessingStatusEnum;
20
20
  processingError?: ExceptionDto;
21
21
  presignedUrl?: string;
22
22
  }
@@ -15,9 +15,9 @@ const class_transformer_1 = require("class-transformer");
15
15
  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
- const attachmentProcessingStatus_enum_1 = require("../../enum/attachmentProcessingStatus.enum");
18
+ const processingStatus_enum_1 = require("../../enum/processingStatus.enum");
19
19
  const companyType_enum_1 = require("../../enum/companyType.enum");
20
- const exception_dto_1 = require("../exception/exception.dto");
20
+ const exceptionTypes_1 = require("../../exceptionTypes");
21
21
  const annualAccountAttachmentEmbedded_dto_1 = require("./annualAccountAttachmentEmbedded.dto");
22
22
  class AnnualAccountAttachmentDto extends (0, base_dto_1.BaseDto)(annualAccountAttachmentEmbedded_dto_1.AnnualAccountAttachmentEmbeddedDto) {
23
23
  }
@@ -73,15 +73,15 @@ __decorate([
73
73
  __metadata("design:type", String)
74
74
  ], AnnualAccountAttachmentDto.prototype, "annualAccountId", void 0);
75
75
  __decorate([
76
- (0, nestjs_1.ApiProperty)({ enum: attachmentProcessingStatus_enum_1.AttachmentProcessingStatusEnum, required: true }),
76
+ (0, nestjs_1.ApiProperty)({ enum: processingStatus_enum_1.ProcessingStatusEnum, required: true }),
77
77
  (0, class_transformer_1.Expose)(),
78
78
  __metadata("design:type", String)
79
79
  ], AnnualAccountAttachmentDto.prototype, "processingStatus", void 0);
80
80
  __decorate([
81
- (0, nestjs_1.ApiProperty)({ type: exception_dto_1.ExceptionDto, required: false }),
81
+ (0, nestjs_1.ApiProperty)({ type: exceptionTypes_1.ExceptionDto, required: false }),
82
82
  (0, class_transformer_1.Expose)(),
83
- (0, class_transformer_1.Type)(() => exception_dto_1.ExceptionDto),
84
- __metadata("design:type", exception_dto_1.ExceptionDto)
83
+ (0, class_transformer_1.Type)(() => exceptionTypes_1.ExceptionDto),
84
+ __metadata("design:type", exceptionTypes_1.ExceptionDto)
85
85
  ], AnnualAccountAttachmentDto.prototype, "processingError", void 0);
86
86
  __decorate([
87
87
  (0, nestjs_1.ApiProperty)({ type: String, required: false }),
@@ -1,7 +1,7 @@
1
1
  import { AttachmentStatusEnum } from '../../../enum/attachmentStatus.enum';
2
2
  import { AttachmentUploadStatusEnum } from '../../../enum/attachmentUploadStatus.enum';
3
- import { AttachmentProcessingStatusEnum } from '../../../enum/attachmentProcessingStatus.enum';
4
- import { ExceptionDto } from '../../exception/exception.dto';
3
+ import { ProcessingStatusEnum } from '../../../enum/processingStatus.enum';
4
+ import { ExceptionDto } from '../../../exceptionTypes';
5
5
  import { DcfBudgetAttachmentEmbeddedDto } from './dcfBudgetAttachmentEmbedded.dto';
6
6
  declare const DcfBudgetAttachmentDto_base: import("../../..").BaseDtoType<DcfBudgetAttachmentEmbeddedDto>;
7
7
  export declare class DcfBudgetAttachmentDto extends DcfBudgetAttachmentDto_base {
@@ -14,7 +14,7 @@ export declare class DcfBudgetAttachmentDto extends DcfBudgetAttachmentDto_base
14
14
  status: AttachmentStatusEnum;
15
15
  storageId?: string;
16
16
  dcfBudgetValuationId: string;
17
- processingStatus: AttachmentProcessingStatusEnum;
17
+ processingStatus: ProcessingStatusEnum;
18
18
  processingError?: ExceptionDto;
19
19
  presignedUrl?: string;
20
20
  }
@@ -15,8 +15,8 @@ const class_transformer_1 = require("class-transformer");
15
15
  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
- const attachmentProcessingStatus_enum_1 = require("../../../enum/attachmentProcessingStatus.enum");
19
- const exception_dto_1 = require("../../exception/exception.dto");
18
+ const processingStatus_enum_1 = require("../../../enum/processingStatus.enum");
19
+ const exceptionTypes_1 = require("../../../exceptionTypes");
20
20
  const dcfBudgetAttachmentEmbedded_dto_1 = require("./dcfBudgetAttachmentEmbedded.dto");
21
21
  class DcfBudgetAttachmentDto extends (0, base_dto_1.BaseDto)(dcfBudgetAttachmentEmbedded_dto_1.DcfBudgetAttachmentEmbeddedDto) {
22
22
  }
@@ -67,15 +67,15 @@ __decorate([
67
67
  __metadata("design:type", String)
68
68
  ], DcfBudgetAttachmentDto.prototype, "dcfBudgetValuationId", void 0);
69
69
  __decorate([
70
- (0, nestjs_1.ApiProperty)({ enum: attachmentProcessingStatus_enum_1.AttachmentProcessingStatusEnum, required: true }),
70
+ (0, nestjs_1.ApiProperty)({ enum: processingStatus_enum_1.ProcessingStatusEnum, required: true }),
71
71
  (0, class_transformer_1.Expose)(),
72
72
  __metadata("design:type", String)
73
73
  ], DcfBudgetAttachmentDto.prototype, "processingStatus", void 0);
74
74
  __decorate([
75
- (0, nestjs_1.ApiProperty)({ type: exception_dto_1.ExceptionDto, required: false }),
75
+ (0, nestjs_1.ApiProperty)({ type: exceptionTypes_1.ExceptionDto, required: false }),
76
76
  (0, class_transformer_1.Expose)(),
77
- (0, class_transformer_1.Type)(() => exception_dto_1.ExceptionDto),
78
- __metadata("design:type", exception_dto_1.ExceptionDto)
77
+ (0, class_transformer_1.Type)(() => exceptionTypes_1.ExceptionDto),
78
+ __metadata("design:type", exceptionTypes_1.ExceptionDto)
79
79
  ], DcfBudgetAttachmentDto.prototype, "processingError", void 0);
80
80
  __decorate([
81
81
  (0, nestjs_1.ApiProperty)({ type: String, required: false }),
@@ -1,7 +1,7 @@
1
1
  import { AttachmentStatusEnum } from '../../enum/attachmentStatus.enum';
2
2
  import { AttachmentUploadStatusEnum } from '../../enum/attachmentUploadStatus.enum';
3
- import { AttachmentProcessingStatusEnum } from '../../enum/attachmentProcessingStatus.enum';
4
- import { ExceptionDto } from '../exception/exception.dto';
3
+ import { ProcessingStatusEnum } from '../../enum/processingStatus.enum';
4
+ import { ExceptionDto } from '../../exceptionTypes';
5
5
  import { DepreciationTableAttachmentEmbeddedDto } from './depreciationTableAttachmentEmbedded.dto';
6
6
  declare const DepreciationTableAttachmentDto_base: import("../..").BaseDtoType<DepreciationTableAttachmentEmbeddedDto>;
7
7
  export declare class DepreciationTableAttachmentDto extends DepreciationTableAttachmentDto_base {
@@ -13,7 +13,7 @@ export declare class DepreciationTableAttachmentDto extends DepreciationTableAtt
13
13
  uploadStatus: AttachmentUploadStatusEnum;
14
14
  status: AttachmentStatusEnum;
15
15
  storageId?: string;
16
- processingStatus: AttachmentProcessingStatusEnum;
16
+ processingStatus: ProcessingStatusEnum;
17
17
  processingError?: ExceptionDto;
18
18
  presignedUrl?: string;
19
19
  valuationId: string;
@@ -15,8 +15,8 @@ const class_transformer_1 = require("class-transformer");
15
15
  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
- const attachmentProcessingStatus_enum_1 = require("../../enum/attachmentProcessingStatus.enum");
19
- const exception_dto_1 = require("../exception/exception.dto");
18
+ const processingStatus_enum_1 = require("../../enum/processingStatus.enum");
19
+ const exceptionTypes_1 = require("../../exceptionTypes");
20
20
  const depreciationTableAttachmentEmbedded_dto_1 = require("./depreciationTableAttachmentEmbedded.dto");
21
21
  class DepreciationTableAttachmentDto extends (0, base_dto_1.BaseDto)(depreciationTableAttachmentEmbedded_dto_1.DepreciationTableAttachmentEmbeddedDto) {
22
22
  }
@@ -62,15 +62,15 @@ __decorate([
62
62
  __metadata("design:type", String)
63
63
  ], DepreciationTableAttachmentDto.prototype, "storageId", void 0);
64
64
  __decorate([
65
- (0, nestjs_1.ApiProperty)({ enum: attachmentProcessingStatus_enum_1.AttachmentProcessingStatusEnum, required: true }),
65
+ (0, nestjs_1.ApiProperty)({ enum: processingStatus_enum_1.ProcessingStatusEnum, required: true }),
66
66
  (0, class_transformer_1.Expose)(),
67
67
  __metadata("design:type", String)
68
68
  ], DepreciationTableAttachmentDto.prototype, "processingStatus", void 0);
69
69
  __decorate([
70
- (0, nestjs_1.ApiProperty)({ type: exception_dto_1.ExceptionDto, required: false }),
70
+ (0, nestjs_1.ApiProperty)({ type: exceptionTypes_1.ExceptionDto, required: false }),
71
71
  (0, class_transformer_1.Expose)(),
72
- (0, class_transformer_1.Type)(() => exception_dto_1.ExceptionDto),
73
- __metadata("design:type", exception_dto_1.ExceptionDto)
72
+ (0, class_transformer_1.Type)(() => exceptionTypes_1.ExceptionDto),
73
+ __metadata("design:type", exceptionTypes_1.ExceptionDto)
74
74
  ], DepreciationTableAttachmentDto.prototype, "processingError", void 0);
75
75
  __decorate([
76
76
  (0, nestjs_1.ApiProperty)({ type: String, required: false }),
@@ -1,12 +1,12 @@
1
- import { AttachmentProcessingStatusEnum } from '../../enum/attachmentProcessingStatus.enum';
2
- import { ExceptionDto } from '../exception/exception.dto';
1
+ import { ProcessingStatusEnum } from '../../enum/processingStatus.enum';
2
+ import { ExceptionDto } from '../../exceptionTypes';
3
3
  import { NbbSyncResultDto } from './nbbSyncResult.dto';
4
4
  import { NbbSyncTaskEmbeddedDto } from './nbbSyncTaskEmbedded.dto';
5
5
  declare const NbbSyncTaskDto_base: import("../..").BaseDtoType<NbbSyncTaskEmbeddedDto>;
6
6
  export declare class NbbSyncTaskDto extends NbbSyncTaskDto_base {
7
7
  id: string;
8
8
  valuationId?: string;
9
- processingStatus: AttachmentProcessingStatusEnum;
9
+ processingStatus: ProcessingStatusEnum;
10
10
  processingError?: ExceptionDto;
11
11
  result?: NbbSyncResultDto;
12
12
  }
@@ -13,8 +13,8 @@ exports.NbbSyncTaskDto = void 0;
13
13
  const base_dto_1 = require("../generic/base.dto");
14
14
  const class_transformer_1 = require("class-transformer");
15
15
  const nestjs_1 = require("../../nestjs");
16
- const attachmentProcessingStatus_enum_1 = require("../../enum/attachmentProcessingStatus.enum");
17
- const exception_dto_1 = require("../exception/exception.dto");
16
+ const processingStatus_enum_1 = require("../../enum/processingStatus.enum");
17
+ const exceptionTypes_1 = require("../../exceptionTypes");
18
18
  const nbbSyncResult_dto_1 = require("./nbbSyncResult.dto");
19
19
  const nbbSyncTaskEmbedded_dto_1 = require("./nbbSyncTaskEmbedded.dto");
20
20
  class NbbSyncTaskDto extends (0, base_dto_1.BaseDto)(nbbSyncTaskEmbedded_dto_1.NbbSyncTaskEmbeddedDto) {
@@ -31,15 +31,15 @@ __decorate([
31
31
  __metadata("design:type", String)
32
32
  ], NbbSyncTaskDto.prototype, "valuationId", void 0);
33
33
  __decorate([
34
- (0, nestjs_1.ApiProperty)({ enum: attachmentProcessingStatus_enum_1.AttachmentProcessingStatusEnum, required: true }),
34
+ (0, nestjs_1.ApiProperty)({ enum: processingStatus_enum_1.ProcessingStatusEnum, required: true }),
35
35
  (0, class_transformer_1.Expose)(),
36
36
  __metadata("design:type", String)
37
37
  ], NbbSyncTaskDto.prototype, "processingStatus", void 0);
38
38
  __decorate([
39
- (0, nestjs_1.ApiProperty)({ type: exception_dto_1.ExceptionDto, required: false }),
39
+ (0, nestjs_1.ApiProperty)({ type: exceptionTypes_1.ExceptionDto, required: false }),
40
40
  (0, class_transformer_1.Expose)(),
41
- (0, class_transformer_1.Type)(() => exception_dto_1.ExceptionDto),
42
- __metadata("design:type", exception_dto_1.ExceptionDto)
41
+ (0, class_transformer_1.Type)(() => exceptionTypes_1.ExceptionDto),
42
+ __metadata("design:type", exceptionTypes_1.ExceptionDto)
43
43
  ], NbbSyncTaskDto.prototype, "processingError", void 0);
44
44
  __decorate([
45
45
  (0, nestjs_1.ApiProperty)({ type: () => nbbSyncResult_dto_1.NbbSyncResultDto, required: false }),
@@ -0,0 +1,10 @@
1
+ declare const BulkUpdateValuationReportTemplateAttachmentDto_base: {
2
+ new (): {
3
+ items: {
4
+ id: string;
5
+ }[];
6
+ };
7
+ };
8
+ export declare class BulkUpdateValuationReportTemplateAttachmentDto extends BulkUpdateValuationReportTemplateAttachmentDto_base {
9
+ }
10
+ export {};
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.BulkUpdateValuationReportTemplateAttachmentDto = void 0;
4
+ const bulk_dto_1 = require("../generic/bulk.dto");
5
+ const updateValuationReportTemplateAttachment_dto_1 = require("./updateValuationReportTemplateAttachment.dto");
6
+ class BulkUpdateValuationReportTemplateAttachmentDto extends (0, bulk_dto_1.BulkDto)(updateValuationReportTemplateAttachment_dto_1.UpdateValuationReportTemplateAttachmentDto) {
7
+ }
8
+ exports.BulkUpdateValuationReportTemplateAttachmentDto = BulkUpdateValuationReportTemplateAttachmentDto;
@@ -0,0 +1,4 @@
1
+ export declare class CreateValuationReportTemplateAttachmentDto {
2
+ name: string;
3
+ description?: string;
4
+ }
@@ -9,22 +9,27 @@ var __metadata = (this && this.__metadata) || function (k, v) {
9
9
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
10
  };
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
- exports.ActionNotPermittedDetailDto = void 0;
12
+ exports.CreateValuationReportTemplateAttachmentDto = void 0;
13
+ const class_transformer_1 = require("class-transformer");
13
14
  const class_validator_1 = require("class-validator");
14
15
  const nestjs_1 = require("../../nestjs");
15
- const class_transformer_1 = require("class-transformer");
16
- class ActionNotPermittedDetailDto {
16
+ class CreateValuationReportTemplateAttachmentDto {
17
17
  }
18
- exports.ActionNotPermittedDetailDto = ActionNotPermittedDetailDto;
18
+ exports.CreateValuationReportTemplateAttachmentDto = CreateValuationReportTemplateAttachmentDto;
19
19
  __decorate([
20
+ (0, nestjs_1.ApiProperty)({
21
+ type: String,
22
+ required: true,
23
+ description: 'The file name of the uploaded PPTX template.',
24
+ }),
20
25
  (0, class_validator_1.IsString)(),
21
26
  (0, class_transformer_1.Expose)(),
22
- (0, nestjs_1.ApiProperty)({ type: String, required: true }),
23
27
  __metadata("design:type", String)
24
- ], ActionNotPermittedDetailDto.prototype, "action", void 0);
28
+ ], CreateValuationReportTemplateAttachmentDto.prototype, "name", void 0);
25
29
  __decorate([
30
+ (0, nestjs_1.ApiProperty)({ type: String, required: false }),
26
31
  (0, class_validator_1.IsString)(),
32
+ (0, class_validator_1.IsOptional)(),
27
33
  (0, class_transformer_1.Expose)(),
28
- (0, nestjs_1.ApiProperty)({ type: String, required: true }),
29
34
  __metadata("design:type", String)
30
- ], ActionNotPermittedDetailDto.prototype, "entity", void 0);
35
+ ], CreateValuationReportTemplateAttachmentDto.prototype, "description", void 0);
@@ -0,0 +1,8 @@
1
+ import { AttachmentStatusEnum } from '../../enum/attachmentStatus.enum';
2
+ import { AttachmentUploadStatusEnum } from '../../enum/attachmentUploadStatus.enum';
3
+ export declare class UpdateValuationReportTemplateAttachmentDto {
4
+ name?: string;
5
+ description?: string;
6
+ uploadStatus?: AttachmentUploadStatusEnum;
7
+ status?: AttachmentStatusEnum;
8
+ }
@@ -9,46 +9,41 @@ var __metadata = (this && this.__metadata) || function (k, v) {
9
9
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
10
  };
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
- exports.ExceptionDto = void 0;
13
- const class_validator_1 = require("class-validator");
12
+ exports.UpdateValuationReportTemplateAttachmentDto = void 0;
14
13
  const nestjs_1 = require("../../nestjs");
15
14
  const class_transformer_1 = require("class-transformer");
16
- const exceptionCode_enum_1 = require("../../enum/exceptionCode.enum");
17
- class ExceptionDto {
15
+ const class_validator_1 = require("class-validator");
16
+ const lodash_1 = require("lodash");
17
+ const attachmentStatus_enum_1 = require("../../enum/attachmentStatus.enum");
18
+ const attachmentUploadStatus_enum_1 = require("../../enum/attachmentUploadStatus.enum");
19
+ class UpdateValuationReportTemplateAttachmentDto {
18
20
  }
19
- exports.ExceptionDto = ExceptionDto;
21
+ exports.UpdateValuationReportTemplateAttachmentDto = UpdateValuationReportTemplateAttachmentDto;
20
22
  __decorate([
21
- (0, class_validator_1.IsOptional)(),
22
- (0, class_validator_1.IsString)(),
23
- (0, class_transformer_1.Expose)(),
24
23
  (0, nestjs_1.ApiProperty)({ type: String, required: false }),
25
- __metadata("design:type", String)
26
- ], ExceptionDto.prototype, "type", void 0);
27
- __decorate([
28
- (0, class_validator_1.IsOptional)(),
29
24
  (0, class_validator_1.IsString)(),
25
+ (0, class_validator_1.IsOptional)(),
30
26
  (0, class_transformer_1.Expose)(),
31
- (0, nestjs_1.ApiProperty)({ type: String, required: false }),
32
27
  __metadata("design:type", String)
33
- ], ExceptionDto.prototype, "title", void 0);
28
+ ], UpdateValuationReportTemplateAttachmentDto.prototype, "name", void 0);
34
29
  __decorate([
30
+ (0, nestjs_1.ApiProperty)({ type: String, required: false }),
31
+ (0, class_validator_1.IsString)(),
35
32
  (0, class_validator_1.IsOptional)(),
36
- (0, class_validator_1.IsNumber)(),
37
33
  (0, class_transformer_1.Expose)(),
38
- (0, nestjs_1.ApiProperty)({ type: Number, required: false }),
39
- __metadata("design:type", Number)
40
- ], ExceptionDto.prototype, "status", void 0);
34
+ __metadata("design:type", String)
35
+ ], UpdateValuationReportTemplateAttachmentDto.prototype, "description", void 0);
41
36
  __decorate([
37
+ (0, nestjs_1.ApiProperty)({ enum: attachmentUploadStatus_enum_1.AttachmentUploadStatusEnum, required: false }),
42
38
  (0, class_validator_1.IsOptional)(),
43
- (0, class_validator_1.IsEnum)(exceptionCode_enum_1.ExceptionCodeEnum),
39
+ (0, class_validator_1.IsIn)((0, lodash_1.values)(attachmentUploadStatus_enum_1.AttachmentUploadStatusEnum)),
44
40
  (0, class_transformer_1.Expose)(),
45
- (0, nestjs_1.ApiProperty)({ enum: exceptionCode_enum_1.ExceptionCodeEnum, required: false }),
46
41
  __metadata("design:type", String)
47
- ], ExceptionDto.prototype, "code", void 0);
42
+ ], UpdateValuationReportTemplateAttachmentDto.prototype, "uploadStatus", void 0);
48
43
  __decorate([
44
+ (0, nestjs_1.ApiProperty)({ enum: attachmentStatus_enum_1.AttachmentStatusEnum, required: false }),
49
45
  (0, class_validator_1.IsOptional)(),
50
- (0, class_validator_1.IsArray)(),
46
+ (0, class_validator_1.IsIn)((0, lodash_1.values)(attachmentStatus_enum_1.AttachmentStatusEnum)),
51
47
  (0, class_transformer_1.Expose)(),
52
- (0, nestjs_1.ApiProperty)({ type: [Object], required: false }),
53
- __metadata("design:type", Array)
54
- ], ExceptionDto.prototype, "errors", void 0);
48
+ __metadata("design:type", String)
49
+ ], UpdateValuationReportTemplateAttachmentDto.prototype, "status", void 0);
@@ -0,0 +1,16 @@
1
+ import { AttachmentStatusEnum } from '../../enum/attachmentStatus.enum';
2
+ import { AttachmentUploadStatusEnum } from '../../enum/attachmentUploadStatus.enum';
3
+ import { ValuationReportTemplateAttachmentEmbeddedDto } from './valuationReportTemplateAttachmentEmbedded.dto';
4
+ declare const ValuationReportTemplateAttachmentDto_base: import("../..").BaseDtoType<ValuationReportTemplateAttachmentEmbeddedDto>;
5
+ export declare class ValuationReportTemplateAttachmentDto extends ValuationReportTemplateAttachmentDto_base {
6
+ id: string;
7
+ name: string;
8
+ fileSize?: number;
9
+ description?: string;
10
+ mimeType?: string;
11
+ uploadStatus: AttachmentUploadStatusEnum;
12
+ status: AttachmentStatusEnum;
13
+ storageId?: string;
14
+ presignedUrl?: string;
15
+ }
16
+ export {};
@@ -0,0 +1,66 @@
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.ValuationReportTemplateAttachmentDto = 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 attachmentStatus_enum_1 = require("../../enum/attachmentStatus.enum");
17
+ const attachmentUploadStatus_enum_1 = require("../../enum/attachmentUploadStatus.enum");
18
+ const valuationReportTemplateAttachmentEmbedded_dto_1 = require("./valuationReportTemplateAttachmentEmbedded.dto");
19
+ class ValuationReportTemplateAttachmentDto extends (0, base_dto_1.BaseDto)(valuationReportTemplateAttachmentEmbedded_dto_1.ValuationReportTemplateAttachmentEmbeddedDto) {
20
+ }
21
+ exports.ValuationReportTemplateAttachmentDto = ValuationReportTemplateAttachmentDto;
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
+ ], ValuationReportTemplateAttachmentDto.prototype, "id", void 0);
27
+ __decorate([
28
+ (0, nestjs_1.ApiProperty)({ type: String, required: true }),
29
+ (0, class_transformer_1.Expose)(),
30
+ __metadata("design:type", String)
31
+ ], ValuationReportTemplateAttachmentDto.prototype, "name", void 0);
32
+ __decorate([
33
+ (0, nestjs_1.ApiProperty)({ type: Number, required: false }),
34
+ (0, class_transformer_1.Expose)(),
35
+ __metadata("design:type", Number)
36
+ ], ValuationReportTemplateAttachmentDto.prototype, "fileSize", 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
+ ], ValuationReportTemplateAttachmentDto.prototype, "description", void 0);
42
+ __decorate([
43
+ (0, nestjs_1.ApiProperty)({ type: String, required: false }),
44
+ (0, class_transformer_1.Expose)(),
45
+ __metadata("design:type", String)
46
+ ], ValuationReportTemplateAttachmentDto.prototype, "mimeType", void 0);
47
+ __decorate([
48
+ (0, nestjs_1.ApiProperty)({ enum: attachmentUploadStatus_enum_1.AttachmentUploadStatusEnum, required: true }),
49
+ (0, class_transformer_1.Expose)(),
50
+ __metadata("design:type", String)
51
+ ], ValuationReportTemplateAttachmentDto.prototype, "uploadStatus", void 0);
52
+ __decorate([
53
+ (0, nestjs_1.ApiProperty)({ enum: attachmentStatus_enum_1.AttachmentStatusEnum, required: true }),
54
+ (0, class_transformer_1.Expose)(),
55
+ __metadata("design:type", String)
56
+ ], ValuationReportTemplateAttachmentDto.prototype, "status", void 0);
57
+ __decorate([
58
+ (0, nestjs_1.ApiProperty)({ type: String, required: false }),
59
+ (0, class_transformer_1.Expose)(),
60
+ __metadata("design:type", String)
61
+ ], ValuationReportTemplateAttachmentDto.prototype, "storageId", void 0);
62
+ __decorate([
63
+ (0, nestjs_1.ApiProperty)({ type: String, required: false }),
64
+ (0, class_transformer_1.Expose)(),
65
+ __metadata("design:type", String)
66
+ ], ValuationReportTemplateAttachmentDto.prototype, "presignedUrl", void 0);
@@ -0,0 +1,5 @@
1
+ import { UserDto } from '../user/user.dto';
2
+ export declare class ValuationReportTemplateAttachmentEmbeddedDto {
3
+ createdBy?: UserDto;
4
+ updatedBy?: UserDto;
5
+ }
@@ -9,28 +9,22 @@ var __metadata = (this && this.__metadata) || function (k, v) {
9
9
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
10
  };
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
- exports.ConflictDetailDto = void 0;
13
- const class_validator_1 = require("class-validator");
12
+ exports.ValuationReportTemplateAttachmentEmbeddedDto = void 0;
14
13
  const nestjs_1 = require("../../nestjs");
15
14
  const class_transformer_1 = require("class-transformer");
16
- class ConflictDetailDto {
15
+ const user_dto_1 = require("../user/user.dto");
16
+ class ValuationReportTemplateAttachmentEmbeddedDto {
17
17
  }
18
- exports.ConflictDetailDto = ConflictDetailDto;
18
+ exports.ValuationReportTemplateAttachmentEmbeddedDto = ValuationReportTemplateAttachmentEmbeddedDto;
19
19
  __decorate([
20
- (0, class_validator_1.IsString)(),
20
+ (0, nestjs_1.ApiProperty)({ type: () => user_dto_1.UserDto, required: false }),
21
+ (0, class_transformer_1.Type)(() => user_dto_1.UserDto),
21
22
  (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);
23
+ __metadata("design:type", user_dto_1.UserDto)
24
+ ], ValuationReportTemplateAttachmentEmbeddedDto.prototype, "createdBy", void 0);
25
25
  __decorate([
26
- (0, class_validator_1.IsString)(),
26
+ (0, nestjs_1.ApiProperty)({ type: () => user_dto_1.UserDto, required: false }),
27
+ (0, class_transformer_1.Type)(() => user_dto_1.UserDto),
27
28
  (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);
29
+ __metadata("design:type", user_dto_1.UserDto)
30
+ ], ValuationReportTemplateAttachmentEmbeddedDto.prototype, "updatedBy", void 0);
@@ -0,0 +1,13 @@
1
+ import { ValuationReportTemplateAttachmentDto } from './valuationReportTemplateAttachment.dto';
2
+ declare class EmbeddedAttachment {
3
+ valuationReportTemplateAttachments?: ValuationReportTemplateAttachmentDto[];
4
+ }
5
+ declare const ValuationReportTemplateAttachmentPageDto_base: {
6
+ new (): {
7
+ _page: import("../..").PageInfoDto;
8
+ _embedded: EmbeddedAttachment;
9
+ };
10
+ };
11
+ export declare class ValuationReportTemplateAttachmentPageDto extends ValuationReportTemplateAttachmentPageDto_base {
12
+ }
13
+ export {};
@@ -9,19 +9,22 @@ var __metadata = (this && this.__metadata) || function (k, v) {
9
9
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
10
  };
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
- exports.XlsxValidationErrorDetailDto = void 0;
13
- const class_validator_1 = require("class-validator");
14
- const nestjs_1 = require("../../nestjs");
12
+ exports.ValuationReportTemplateAttachmentPageDto = void 0;
15
13
  const class_transformer_1 = require("class-transformer");
16
- const validationErrorDetail_dto_1 = require("./validationErrorDetail.dto");
17
- const xlsxLocation_dto_1 = require("./xlsxLocation.dto");
18
- class XlsxValidationErrorDetailDto extends validationErrorDetail_dto_1.ValidationErrorDetailDto {
14
+ const nestjs_1 = require("../../nestjs");
15
+ const page_dto_1 = require("../generic/page.dto");
16
+ const valuationReportTemplateAttachment_dto_1 = require("./valuationReportTemplateAttachment.dto");
17
+ class EmbeddedAttachment {
19
18
  }
20
- exports.XlsxValidationErrorDetailDto = XlsxValidationErrorDetailDto;
21
19
  __decorate([
22
- (0, class_validator_1.ValidateNested)(),
23
- (0, class_transformer_1.Type)(() => xlsxLocation_dto_1.XlsxLocationDto),
24
- (0, class_transformer_1.Expose)(),
25
- (0, nestjs_1.ApiProperty)({ type: xlsxLocation_dto_1.XlsxLocationDto, required: true }),
26
- __metadata("design:type", xlsxLocation_dto_1.XlsxLocationDto)
27
- ], XlsxValidationErrorDetailDto.prototype, "location", void 0);
20
+ (0, nestjs_1.ApiProperty)({
21
+ type: () => [valuationReportTemplateAttachment_dto_1.ValuationReportTemplateAttachmentDto],
22
+ required: false,
23
+ }),
24
+ (0, class_transformer_1.Type)(() => valuationReportTemplateAttachment_dto_1.ValuationReportTemplateAttachmentDto),
25
+ (0, class_transformer_1.Expose)({ name: 'items' }),
26
+ __metadata("design:type", Array)
27
+ ], EmbeddedAttachment.prototype, "valuationReportTemplateAttachments", void 0);
28
+ class ValuationReportTemplateAttachmentPageDto extends (0, page_dto_1.PageDto)(EmbeddedAttachment) {
29
+ }
30
+ exports.ValuationReportTemplateAttachmentPageDto = ValuationReportTemplateAttachmentPageDto;
@@ -0,0 +1 @@
1
+ export { ProcessingStatusEnum } from '@ballistix.digital/task-scheduler/types';
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ProcessingStatusEnum = void 0;
4
+ var types_1 = require("@ballistix.digital/task-scheduler/types");
5
+ Object.defineProperty(exports, "ProcessingStatusEnum", { enumerable: true, get: function () { return types_1.ProcessingStatusEnum; } });
@@ -0,0 +1 @@
1
+ export * from '@ballistix.digital/exception-types/react';
@@ -0,0 +1,17 @@
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("@ballistix.digital/exception-types/react"), exports);