@alba-cars/common-modules 1.10.49 → 2.0.0

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.
@@ -1,3 +1,2 @@
1
- export * from "./api-client";
2
1
  export * from "./endpoint-config";
3
2
  export * from "./fetch-api";
@@ -14,6 +14,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./api-client"), exports);
18
17
  __exportStar(require("./endpoint-config"), exports);
19
18
  __exportStar(require("./fetch-api"), exports);
@@ -237,7 +237,7 @@ __decorate([
237
237
  ], SellCarRequestCreateDTO.prototype, "media", void 0);
238
238
  __decorate([
239
239
  (0, class_validator_1.IsOptional)(),
240
- (0, class_validator_1.IsDate)(),
240
+ (0, class_validator_1.IsDateString)(),
241
241
  __metadata("design:type", Date)
242
242
  ], SellCarRequestCreateDTO.prototype, "inspectionBookingDate", void 0);
243
243
  exports.SellCarRequestCreateDTO = SellCarRequestCreateDTO;
@@ -353,7 +353,7 @@ __decorate([
353
353
  ], ExchangeCarRequestCreateDTO.prototype, "media", void 0);
354
354
  __decorate([
355
355
  (0, class_validator_1.IsOptional)(),
356
- (0, class_validator_1.IsDate)(),
356
+ (0, class_validator_1.IsDateString)(),
357
357
  __metadata("design:type", Date)
358
358
  ], ExchangeCarRequestCreateDTO.prototype, "bookingDate", void 0);
359
359
  exports.ExchangeCarRequestCreateDTO = ExchangeCarRequestCreateDTO;
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "1.10.49",
6
+ "version": "2.0.0",
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",
@@ -33,10 +33,9 @@
33
33
  "url": "git+https://github.com/alba-cars/AlbaCarsCommonModules.git"
34
34
  },
35
35
  "dependencies": {
36
- "axios": "^1.7.9",
36
+ "qs": "^6.13.1",
37
37
  "class-transformer": "^0.5.1",
38
- "class-validator": "^0.14.1",
39
- "qs": "^6.13.1"
38
+ "class-validator": "^0.14.1"
40
39
  },
41
40
  "devDependencies": {
42
41
  "@types/express": "^4.17.13",