@ballistix.digital/types-waardering-tool-react 0.13.55 → 0.13.57

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.
@@ -2,5 +2,5 @@ export declare class CreateDcfBudgetFixedAssetDto {
2
2
  name: string;
3
3
  usefulLifeYears: number;
4
4
  dcfBudgetValuationId: string;
5
- code: string;
5
+ codes: string[];
6
6
  }
@@ -35,8 +35,10 @@ __decorate([
35
35
  __metadata("design:type", String)
36
36
  ], CreateDcfBudgetFixedAssetDto.prototype, "dcfBudgetValuationId", void 0);
37
37
  __decorate([
38
- (0, nestjs_1.ApiProperty)({ type: String, required: true }),
39
- (0, class_validator_1.IsString)(),
38
+ (0, nestjs_1.ApiProperty)({ type: [String], required: true }),
39
+ (0, class_validator_1.IsArray)(),
40
+ (0, class_validator_1.ArrayMinSize)(1),
41
+ (0, class_validator_1.IsString)({ each: true }),
40
42
  (0, class_transformer_1.Expose)(),
41
- __metadata("design:type", String)
42
- ], CreateDcfBudgetFixedAssetDto.prototype, "code", void 0);
43
+ __metadata("design:type", Array)
44
+ ], CreateDcfBudgetFixedAssetDto.prototype, "codes", void 0);
@@ -7,6 +7,6 @@ export declare class DcfBudgetFixedAssetDto extends DcfBudgetFixedAssetDto_base
7
7
  value?: number;
8
8
  annualInvestment?: number;
9
9
  dcfBudgetValuationId: string;
10
- code: string;
10
+ codes: string[];
11
11
  }
12
12
  export {};
@@ -56,7 +56,7 @@ __decorate([
56
56
  __metadata("design:type", String)
57
57
  ], DcfBudgetFixedAssetDto.prototype, "dcfBudgetValuationId", void 0);
58
58
  __decorate([
59
- (0, nestjs_1.ApiProperty)({ type: String, required: true }),
59
+ (0, nestjs_1.ApiProperty)({ type: [String], required: true }),
60
60
  (0, class_transformer_1.Expose)(),
61
- __metadata("design:type", String)
62
- ], DcfBudgetFixedAssetDto.prototype, "code", void 0);
61
+ __metadata("design:type", Array)
62
+ ], DcfBudgetFixedAssetDto.prototype, "codes", void 0);
@@ -2,5 +2,5 @@ export declare class UpdateDcfBudgetFixedAssetDto {
2
2
  name?: string;
3
3
  usefulLifeYears?: number;
4
4
  dcfBudgetValuationId?: string;
5
- code?: string;
5
+ codes?: string[];
6
6
  }
@@ -38,9 +38,11 @@ __decorate([
38
38
  __metadata("design:type", String)
39
39
  ], UpdateDcfBudgetFixedAssetDto.prototype, "dcfBudgetValuationId", void 0);
40
40
  __decorate([
41
- (0, nestjs_1.ApiProperty)({ type: String, required: false }),
42
- (0, class_validator_1.IsString)(),
41
+ (0, nestjs_1.ApiProperty)({ type: [String], required: false }),
42
+ (0, class_validator_1.IsArray)(),
43
+ (0, class_validator_1.ArrayMinSize)(1),
44
+ (0, class_validator_1.IsString)({ each: true }),
43
45
  (0, class_validator_1.IsOptional)(),
44
46
  (0, class_transformer_1.Expose)(),
45
- __metadata("design:type", String)
46
- ], UpdateDcfBudgetFixedAssetDto.prototype, "code", void 0);
47
+ __metadata("design:type", Array)
48
+ ], UpdateDcfBudgetFixedAssetDto.prototype, "codes", void 0);
@@ -2,5 +2,5 @@ export declare class CreateDcfFixedAssetDto {
2
2
  name: string;
3
3
  usefulLifeYears: number;
4
4
  dcfValuationId: string;
5
- code: string;
5
+ codes: string[];
6
6
  }
@@ -35,8 +35,10 @@ __decorate([
35
35
  __metadata("design:type", String)
36
36
  ], CreateDcfFixedAssetDto.prototype, "dcfValuationId", void 0);
37
37
  __decorate([
38
- (0, nestjs_1.ApiProperty)({ type: String, required: true }),
39
- (0, class_validator_1.IsString)(),
38
+ (0, nestjs_1.ApiProperty)({ type: [String], required: true }),
39
+ (0, class_validator_1.IsArray)(),
40
+ (0, class_validator_1.ArrayMinSize)(1),
41
+ (0, class_validator_1.IsString)({ each: true }),
40
42
  (0, class_transformer_1.Expose)(),
41
- __metadata("design:type", String)
42
- ], CreateDcfFixedAssetDto.prototype, "code", void 0);
43
+ __metadata("design:type", Array)
44
+ ], CreateDcfFixedAssetDto.prototype, "codes", void 0);
@@ -7,6 +7,6 @@ export declare class DcfFixedAssetDto extends DcfFixedAssetDto_base {
7
7
  value?: number;
8
8
  annualInvestment?: number;
9
9
  dcfValuationId: string;
10
- code: string;
10
+ codes: string[];
11
11
  }
12
12
  export {};
@@ -56,7 +56,7 @@ __decorate([
56
56
  __metadata("design:type", String)
57
57
  ], DcfFixedAssetDto.prototype, "dcfValuationId", void 0);
58
58
  __decorate([
59
- (0, nestjs_1.ApiProperty)({ type: String, required: true }),
59
+ (0, nestjs_1.ApiProperty)({ type: [String], required: true }),
60
60
  (0, class_transformer_1.Expose)(),
61
- __metadata("design:type", String)
62
- ], DcfFixedAssetDto.prototype, "code", void 0);
61
+ __metadata("design:type", Array)
62
+ ], DcfFixedAssetDto.prototype, "codes", void 0);
@@ -2,5 +2,5 @@ export declare class UpdateDcfFixedAssetDto {
2
2
  name?: string;
3
3
  usefulLifeYears?: number;
4
4
  dcfValuationId?: string;
5
- code?: string;
5
+ codes?: string[];
6
6
  }
@@ -38,9 +38,11 @@ __decorate([
38
38
  __metadata("design:type", String)
39
39
  ], UpdateDcfFixedAssetDto.prototype, "dcfValuationId", void 0);
40
40
  __decorate([
41
- (0, nestjs_1.ApiProperty)({ type: String, required: false }),
42
- (0, class_validator_1.IsString)(),
41
+ (0, nestjs_1.ApiProperty)({ type: [String], required: false }),
42
+ (0, class_validator_1.IsArray)(),
43
+ (0, class_validator_1.ArrayMinSize)(1),
44
+ (0, class_validator_1.IsString)({ each: true }),
43
45
  (0, class_validator_1.IsOptional)(),
44
46
  (0, class_transformer_1.Expose)(),
45
- __metadata("design:type", String)
46
- ], UpdateDcfFixedAssetDto.prototype, "code", void 0);
47
+ __metadata("design:type", Array)
48
+ ], UpdateDcfFixedAssetDto.prototype, "codes", void 0);
@@ -4,7 +4,6 @@ export declare class CreateValuationDto {
4
4
  companyName?: string;
5
5
  companyVatNumber?: string;
6
6
  companyLegalForm?: string;
7
- companyEntityNumber?: string;
8
7
  latestFinancialYear: number;
9
8
  status?: ValuationStatusEnum;
10
9
  correctedEbitdaJustification?: string;
@@ -45,13 +45,6 @@ __decorate([
45
45
  (0, class_transformer_1.Expose)(),
46
46
  __metadata("design:type", String)
47
47
  ], CreateValuationDto.prototype, "companyLegalForm", void 0);
48
- __decorate([
49
- (0, nestjs_1.ApiProperty)({ type: String, required: false }),
50
- (0, class_validator_1.IsString)(),
51
- (0, class_validator_1.IsOptional)(),
52
- (0, class_transformer_1.Expose)(),
53
- __metadata("design:type", String)
54
- ], CreateValuationDto.prototype, "companyEntityNumber", void 0);
55
48
  __decorate([
56
49
  (0, nestjs_1.ApiProperty)({ type: Number, required: true }),
57
50
  (0, class_validator_1.IsInt)(),
@@ -4,7 +4,6 @@ export declare class UpdateValuationDto {
4
4
  companyName?: string;
5
5
  companyVatNumber?: string;
6
6
  companyLegalForm?: string;
7
- companyEntityNumber?: string;
8
7
  status?: ValuationStatusEnum;
9
8
  correctedEbitdaJustification?: string;
10
9
  isArchived?: boolean;
@@ -45,13 +45,6 @@ __decorate([
45
45
  (0, class_transformer_1.Expose)(),
46
46
  __metadata("design:type", String)
47
47
  ], UpdateValuationDto.prototype, "companyLegalForm", void 0);
48
- __decorate([
49
- (0, nestjs_1.ApiProperty)({ type: String, required: false }),
50
- (0, class_validator_1.IsString)(),
51
- (0, class_validator_1.IsOptional)(),
52
- (0, class_transformer_1.Expose)(),
53
- __metadata("design:type", String)
54
- ], UpdateValuationDto.prototype, "companyEntityNumber", void 0);
55
48
  __decorate([
56
49
  (0, nestjs_1.ApiProperty)({ enum: valuationStatus_enum_1.ValuationStatusEnum, required: false }),
57
50
  (0, class_validator_1.IsEnum)(valuationStatus_enum_1.ValuationStatusEnum),
@@ -7,7 +7,6 @@ export declare class ValuationDto extends ValuationDto_base {
7
7
  companyName?: string;
8
8
  companyVatNumber?: string;
9
9
  companyLegalForm?: string;
10
- companyEntityNumber?: string;
11
10
  latestFinancialYear?: number;
12
11
  status: ValuationStatusEnum;
13
12
  correctedEbitdaJustification?: string;
@@ -43,11 +43,6 @@ __decorate([
43
43
  (0, class_transformer_1.Expose)(),
44
44
  __metadata("design:type", String)
45
45
  ], ValuationDto.prototype, "companyLegalForm", void 0);
46
- __decorate([
47
- (0, nestjs_1.ApiProperty)({ type: String, required: false }),
48
- (0, class_transformer_1.Expose)(),
49
- __metadata("design:type", String)
50
- ], ValuationDto.prototype, "companyEntityNumber", void 0);
51
46
  __decorate([
52
47
  (0, nestjs_1.ApiProperty)({ type: Number, required: false }),
53
48
  (0, class_transformer_1.Expose)(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ballistix.digital/types-waardering-tool-react",
3
- "version": "0.13.55",
3
+ "version": "0.13.57",
4
4
  "license": "MIT",
5
5
  "scripts": {
6
6
  "build": "tsc"