@alba-cars/common-modules 1.6.1 → 1.6.2
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.
|
@@ -112,21 +112,11 @@ export declare class SellCarRequestResponseDTO {
|
|
|
112
112
|
name: string;
|
|
113
113
|
phone: string;
|
|
114
114
|
email?: string;
|
|
115
|
-
|
|
115
|
+
brandName: string;
|
|
116
116
|
marketPrice?: string;
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
name: string;
|
|
121
|
-
};
|
|
122
|
-
model?: {
|
|
123
|
-
id: string;
|
|
124
|
-
name: string;
|
|
125
|
-
};
|
|
126
|
-
year?: number;
|
|
127
|
-
mileage?: number;
|
|
128
|
-
expectedSellingPrice?: number;
|
|
129
|
-
vehicleOptions?: string;
|
|
117
|
+
modelName: string;
|
|
118
|
+
modelVersion: string;
|
|
119
|
+
modelVersionName: string;
|
|
130
120
|
specification?: string;
|
|
131
121
|
images?: string[];
|
|
132
122
|
desiredVehicle?: {
|
|
@@ -403,6 +403,7 @@ __decorate([
|
|
|
403
403
|
__metadata("design:type", String)
|
|
404
404
|
], SellCarRequestResponseDTO.prototype, "name", void 0);
|
|
405
405
|
__decorate([
|
|
406
|
+
(0, class_validator_1.IsString)(),
|
|
406
407
|
(0, class_validator_1.IsPhoneNumber)(),
|
|
407
408
|
__metadata("design:type", String)
|
|
408
409
|
], SellCarRequestResponseDTO.prototype, "phone", void 0);
|
|
@@ -414,36 +415,24 @@ __decorate([
|
|
|
414
415
|
__decorate([
|
|
415
416
|
(0, class_validator_1.IsString)(),
|
|
416
417
|
__metadata("design:type", String)
|
|
417
|
-
], SellCarRequestResponseDTO.prototype, "
|
|
418
|
+
], SellCarRequestResponseDTO.prototype, "brandName", void 0);
|
|
418
419
|
__decorate([
|
|
419
420
|
(0, class_validator_1.IsString)(),
|
|
420
421
|
(0, class_validator_1.IsOptional)(),
|
|
421
422
|
__metadata("design:type", String)
|
|
422
423
|
], SellCarRequestResponseDTO.prototype, "marketPrice", void 0);
|
|
423
424
|
__decorate([
|
|
424
|
-
(0, class_validator_1.
|
|
425
|
+
(0, class_validator_1.IsString)(),
|
|
425
426
|
__metadata("design:type", String)
|
|
426
|
-
], SellCarRequestResponseDTO.prototype, "
|
|
427
|
+
], SellCarRequestResponseDTO.prototype, "modelName", void 0);
|
|
427
428
|
__decorate([
|
|
428
|
-
(0, class_validator_1.
|
|
429
|
-
(
|
|
430
|
-
|
|
431
|
-
], SellCarRequestResponseDTO.prototype, "year", void 0);
|
|
432
|
-
__decorate([
|
|
433
|
-
(0, class_validator_1.IsNumber)(),
|
|
434
|
-
(0, class_validator_1.IsOptional)(),
|
|
435
|
-
__metadata("design:type", Number)
|
|
436
|
-
], SellCarRequestResponseDTO.prototype, "mileage", void 0);
|
|
437
|
-
__decorate([
|
|
438
|
-
(0, class_validator_1.IsNumber)(),
|
|
439
|
-
(0, class_validator_1.IsOptional)(),
|
|
440
|
-
__metadata("design:type", Number)
|
|
441
|
-
], SellCarRequestResponseDTO.prototype, "expectedSellingPrice", void 0);
|
|
429
|
+
(0, class_validator_1.IsString)(),
|
|
430
|
+
__metadata("design:type", String)
|
|
431
|
+
], SellCarRequestResponseDTO.prototype, "modelVersion", void 0);
|
|
442
432
|
__decorate([
|
|
443
433
|
(0, class_validator_1.IsString)(),
|
|
444
|
-
(0, class_validator_1.IsOptional)(),
|
|
445
434
|
__metadata("design:type", String)
|
|
446
|
-
], SellCarRequestResponseDTO.prototype, "
|
|
435
|
+
], SellCarRequestResponseDTO.prototype, "modelVersionName", void 0);
|
|
447
436
|
__decorate([
|
|
448
437
|
(0, class_validator_1.IsString)(),
|
|
449
438
|
(0, class_validator_1.IsOptional)(),
|
package/package.json
CHANGED