@alba-cars/common-modules 1.10.18 → 1.10.19

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.
@@ -3,6 +3,7 @@ import { Vehicle } from "./Vehicle";
3
3
  export declare class VehicleFinance extends BaseModel {
4
4
  vehicleId: string;
5
5
  price: number;
6
+ droppedPrice?: number;
6
7
  vehiclePriceType: string;
7
8
  vatInclusive: string;
8
9
  interestPercentage: number;
@@ -41,6 +41,7 @@ export declare class VehicleFinanceCreateDTO {
41
41
  export declare class VehicleFinanceUpdateDTO {
42
42
  vehicleId?: string;
43
43
  price?: number;
44
+ droppedPrice?: number;
44
45
  interestPercentage?: number;
45
46
  monthlyInstallment?: number;
46
47
  financingYear?: number;
@@ -125,6 +125,11 @@ __decorate([
125
125
  (0, class_validator_1.IsNumber)(),
126
126
  __metadata("design:type", Number)
127
127
  ], VehicleFinanceUpdateDTO.prototype, "price", void 0);
128
+ __decorate([
129
+ (0, class_validator_1.IsOptional)(),
130
+ (0, class_validator_1.IsNumber)(),
131
+ __metadata("design:type", Number)
132
+ ], VehicleFinanceUpdateDTO.prototype, "droppedPrice", void 0);
128
133
  __decorate([
129
134
  (0, class_validator_1.IsOptional)(),
130
135
  (0, class_validator_1.IsNumber)(),
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "1.10.18",
6
+ "version": "1.10.19",
7
7
  "description": "A package containing DTOs, validation classes and common modules and interfaces for Alba Cars",
8
8
  "main": "dist/index.js",
9
9
  "types": "dist/index.d.ts",