@alba-cars/common-modules 1.4.7 → 1.4.8

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.
@@ -34,6 +34,7 @@ export declare class SalesAgentUpdateDTO {
34
34
  designation?: Designation;
35
35
  agentIntro?: string;
36
36
  name?: string;
37
+ languageIds?: string[];
37
38
  email?: string;
38
39
  phone?: string;
39
40
  photo?: string;
@@ -150,6 +150,12 @@ __decorate([
150
150
  (0, class_validator_1.IsString)(),
151
151
  __metadata("design:type", String)
152
152
  ], SalesAgentUpdateDTO.prototype, "name", void 0);
153
+ __decorate([
154
+ (0, class_validator_1.IsOptional)(),
155
+ (0, class_validator_1.IsArray)(),
156
+ (0, class_validator_1.IsUUID)("4", { each: true }),
157
+ __metadata("design:type", Array)
158
+ ], SalesAgentUpdateDTO.prototype, "languageIds", void 0);
153
159
  __decorate([
154
160
  (0, class_validator_1.IsOptional)(),
155
161
  (0, class_validator_1.IsEmail)(),
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "1.4.7",
6
+ "version": "1.4.8",
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",