@alba-cars/common-modules 1.6.2 → 1.6.4

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.
@@ -113,10 +113,13 @@ export declare class SellCarRequestResponseDTO {
113
113
  phone: string;
114
114
  email?: string;
115
115
  brandName: string;
116
- marketPrice?: string;
116
+ dealDriveEstimation?: number;
117
117
  modelName: string;
118
118
  modelVersion: string;
119
119
  modelVersionName: string;
120
+ mileage: number;
121
+ year: string;
122
+ expectedSellingPrice: number;
120
123
  specification?: string;
121
124
  images?: string[];
122
125
  desiredVehicle?: {
@@ -417,10 +417,10 @@ __decorate([
417
417
  __metadata("design:type", String)
418
418
  ], SellCarRequestResponseDTO.prototype, "brandName", void 0);
419
419
  __decorate([
420
- (0, class_validator_1.IsString)(),
420
+ (0, class_validator_1.IsNumber)(),
421
421
  (0, class_validator_1.IsOptional)(),
422
- __metadata("design:type", String)
423
- ], SellCarRequestResponseDTO.prototype, "marketPrice", void 0);
422
+ __metadata("design:type", Number)
423
+ ], SellCarRequestResponseDTO.prototype, "dealDriveEstimation", void 0);
424
424
  __decorate([
425
425
  (0, class_validator_1.IsString)(),
426
426
  __metadata("design:type", String)
@@ -433,6 +433,18 @@ __decorate([
433
433
  (0, class_validator_1.IsString)(),
434
434
  __metadata("design:type", String)
435
435
  ], SellCarRequestResponseDTO.prototype, "modelVersionName", void 0);
436
+ __decorate([
437
+ (0, class_validator_1.IsNumber)(),
438
+ __metadata("design:type", Number)
439
+ ], SellCarRequestResponseDTO.prototype, "mileage", void 0);
440
+ __decorate([
441
+ (0, class_validator_1.IsString)(),
442
+ __metadata("design:type", String)
443
+ ], SellCarRequestResponseDTO.prototype, "year", void 0);
444
+ __decorate([
445
+ (0, class_validator_1.IsNumber)(),
446
+ __metadata("design:type", Number)
447
+ ], SellCarRequestResponseDTO.prototype, "expectedSellingPrice", void 0);
436
448
  __decorate([
437
449
  (0, class_validator_1.IsString)(),
438
450
  (0, class_validator_1.IsOptional)(),
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "1.6.2",
6
+ "version": "1.6.4",
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",