@alba-cars/common-modules 1.3.3 → 1.3.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.
- package/dist/core/network/endpoint-config.d.ts +5 -0
- package/dist/core/network/endpoint-config.js +11 -0
- package/dist/core/network/fetch-api.d.ts +8 -0
- package/dist/core/network/fetch-api.js +121 -30
- package/dist/features/auth/data/dto/AuthDTO.d.ts +8 -7
- package/dist/features/auth/data/dto/AuthDTO.js +21 -0
- package/dist/features/auth/data/dto/RoleDTO.d.ts +37 -0
- package/dist/features/auth/data/dto/RoleDTO.js +119 -0
- package/dist/features/auth/data/dto/UserDTO.d.ts +40 -0
- package/dist/features/auth/data/dto/UserDTO.js +120 -0
- package/dist/features/auth/data/index.d.ts +2 -0
- package/dist/features/auth/data/index.js +2 -0
- package/dist/features/models/Roles.d.ts +7 -0
- package/dist/features/models/Roles.js +2 -0
- package/dist/features/models/User.d.ts +14 -0
- package/dist/features/{vehicle/data/models → models}/User.js +0 -4
- package/dist/features/{vehicle/data/models → models}/Vehicle.d.ts +6 -0
- package/dist/features/{vehicle/data/models → models}/Vehicle.js +4 -1
- package/dist/features/{vehicle/data/models → models}/VehicleMedia.d.ts +1 -1
- package/dist/features/{vehicle/data/models → models}/index.js +1 -3
- package/dist/features/sales-team/data/dto/LanguageDTO.d.ts +20 -0
- package/dist/features/sales-team/data/dto/LanguageDTO.js +89 -0
- package/dist/features/sales-team/data/dto/SalesAgentDTO.d.ts +17 -22
- package/dist/features/sales-team/data/dto/SalesAgentDTO.js +67 -45
- package/dist/features/sales-team/data/index.d.ts +1 -0
- package/dist/features/sales-team/data/index.js +1 -0
- package/dist/features/showroom-visit/data/dto/ShowroomVisit.d.ts +19 -0
- package/dist/features/showroom-visit/data/dto/ShowroomVisit.js +46 -1
- package/dist/features/test-drive-request/data/models/TestDriveRequest.d.ts +2 -2
- package/dist/features/test-drive-request/data/models/TestDriveRequest.js +1 -1
- package/dist/features/vehicle/data/dto/VehicleFilterDTO.d.ts +2 -2
- package/dist/features/vehicle/data/dto/VehicleMakeDTO.d.ts +5 -5
- package/dist/features/vehicle/data/dto/VehicleMakeDTO.js +7 -7
- package/dist/features/vehicle/data/dto/VehicleModelDTO.d.ts +2 -2
- package/dist/features/vehicle/data/dto/VehicleModelDTO.js +2 -2
- package/dist/features/vehicle/data/dto/index.d.ts +0 -1
- package/dist/features/vehicle/data/dto/index.js +0 -1
- package/dist/features/vehicle/data/index.d.ts +1 -1
- package/dist/features/vehicle/data/index.js +1 -1
- package/dist/features/vehicle/data/utilities.d.ts +7 -7
- package/package.json +1 -1
- package/dist/core/error-handling/errorHandler.d.ts +0 -5
- package/dist/core/error-handling/errorHandler.js +0 -69
- package/dist/core/network/react-query.d.ts +0 -6
- package/dist/core/network/react-query.js +0 -15
- package/dist/features/sales-team/api/AddAgent.d.ts +0 -2
- package/dist/features/sales-team/api/AddAgent.js +0 -20
- package/dist/features/sales-team/api/EditAgent.d.ts +0 -2
- package/dist/features/sales-team/api/EditAgent.js +0 -21
- package/dist/features/sales-team/api/GetAgent.d.ts +0 -3
- package/dist/features/sales-team/api/GetAgent.js +0 -19
- package/dist/features/sales-team/api/RemoveAgent.d.ts +0 -1
- package/dist/features/sales-team/api/RemoveAgent.js +0 -15
- package/dist/features/sales-team/api/index.d.ts +0 -4
- package/dist/features/sales-team/api/index.js +0 -20
- package/dist/features/vehicle/api/make/CreateMake.d.ts +0 -2
- package/dist/features/vehicle/api/make/CreateMake.js +0 -22
- package/dist/features/vehicle/api/make/DeleteMake.d.ts +0 -2
- package/dist/features/vehicle/api/make/DeleteMake.js +0 -17
- package/dist/features/vehicle/api/make/GetAllMakes.d.ts +0 -3
- package/dist/features/vehicle/api/make/GetAllMakes.js +0 -26
- package/dist/features/vehicle/api/make/UpdateMake.d.ts +0 -2
- package/dist/features/vehicle/api/make/UpdateMake.js +0 -22
- package/dist/features/vehicle/api/models/CreateModel.d.ts +0 -2
- package/dist/features/vehicle/api/models/CreateModel.js +0 -22
- package/dist/features/vehicle/api/models/DeleteModel.d.ts +0 -2
- package/dist/features/vehicle/api/models/DeleteModel.js +0 -17
- package/dist/features/vehicle/api/models/GetAllModels.d.ts +0 -3
- package/dist/features/vehicle/api/models/GetAllModels.js +0 -37
- package/dist/features/vehicle/api/models/UpdateModel.d.ts +0 -2
- package/dist/features/vehicle/api/models/UpdateModel.js +0 -22
- package/dist/features/vehicle/data/dto/UserDTO.d.ts +0 -16
- package/dist/features/vehicle/data/dto/UserDTO.js +0 -53
- package/dist/features/vehicle/data/models/User.d.ts +0 -15
- /package/dist/features/{vehicle/data/models → models}/Base.d.ts +0 -0
- /package/dist/features/{vehicle/data/models → models}/Base.js +0 -0
- /package/dist/features/{vehicle/data/models → models}/Payment.d.ts +0 -0
- /package/dist/features/{vehicle/data/models → models}/Payment.js +0 -0
- /package/dist/features/{vehicle/data/models → models}/VehicleBodyType.d.ts +0 -0
- /package/dist/features/{vehicle/data/models → models}/VehicleBodyType.js +0 -0
- /package/dist/features/{vehicle/data/models → models}/VehicleCategory.d.ts +0 -0
- /package/dist/features/{vehicle/data/models → models}/VehicleCategory.js +0 -0
- /package/dist/features/{vehicle/data/models → models}/VehicleFeature.d.ts +0 -0
- /package/dist/features/{vehicle/data/models → models}/VehicleFeature.js +0 -0
- /package/dist/features/{vehicle/data/models → models}/VehicleFeatureCategory.d.ts +0 -0
- /package/dist/features/{vehicle/data/models → models}/VehicleFeatureCategory.js +0 -0
- /package/dist/features/{vehicle/data/models → models}/VehicleFinance.d.ts +0 -0
- /package/dist/features/{vehicle/data/models → models}/VehicleFinance.js +0 -0
- /package/dist/features/{vehicle/data/models → models}/VehicleMake.d.ts +0 -0
- /package/dist/features/{vehicle/data/models → models}/VehicleMake.js +0 -0
- /package/dist/features/{vehicle/data/models → models}/VehicleMedia.js +0 -0
- /package/dist/features/{vehicle/data/models → models}/VehicleMetaData.d.ts +0 -0
- /package/dist/features/{vehicle/data/models → models}/VehicleMetaData.js +0 -0
- /package/dist/features/{vehicle/data/models → models}/VehicleModel.d.ts +0 -0
- /package/dist/features/{vehicle/data/models → models}/VehicleModel.js +0 -0
- /package/dist/features/{vehicle/data/models → models}/VehicleOrder.d.ts +0 -0
- /package/dist/features/{vehicle/data/models → models}/VehicleOrder.js +0 -0
- /package/dist/features/{vehicle/data/models → models}/_index.d.ts +0 -0
- /package/dist/features/{vehicle/data/models → models}/_index.js +0 -0
- /package/dist/features/{vehicle/data/models → models}/index.d.ts +0 -0
|
@@ -40,4 +40,10 @@ export declare class Vehicle extends BaseModel {
|
|
|
40
40
|
metaData?: VehicleMetaData;
|
|
41
41
|
finance?: VehicleFinance;
|
|
42
42
|
orders?: VehicleOrder[];
|
|
43
|
+
draft?: VehicleDraft;
|
|
44
|
+
}
|
|
45
|
+
export declare class VehicleDraft {
|
|
46
|
+
page: number;
|
|
47
|
+
isDraft: boolean;
|
|
48
|
+
lastUpdated: string;
|
|
43
49
|
}
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.Vehicle = void 0;
|
|
3
|
+
exports.VehicleDraft = exports.Vehicle = void 0;
|
|
4
4
|
const Base_1 = require("./Base");
|
|
5
5
|
class Vehicle extends Base_1.BaseModel {
|
|
6
6
|
}
|
|
7
7
|
exports.Vehicle = Vehicle;
|
|
8
|
+
class VehicleDraft {
|
|
9
|
+
}
|
|
10
|
+
exports.VehicleDraft = VehicleDraft;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.VehicleMetaData = exports.VehicleMedia = exports.VehicleModel = exports.VehicleMake = exports.VehicleFinance = exports.
|
|
3
|
+
exports.VehicleMetaData = exports.VehicleMedia = exports.VehicleModel = exports.VehicleMake = exports.VehicleFinance = exports.Payment = exports.VehicleBodyType = exports.VehicleFeatureCategory = exports.VehicleFeature = exports.VehicleOrder = exports.Vehicle = exports.BaseModel = void 0;
|
|
4
4
|
const Base_1 = require("./Base");
|
|
5
5
|
Object.defineProperty(exports, "BaseModel", { enumerable: true, get: function () { return Base_1.BaseModel; } });
|
|
6
6
|
const Vehicle_1 = require("./Vehicle");
|
|
@@ -15,8 +15,6 @@ const VehicleBodyType_1 = require("./VehicleBodyType");
|
|
|
15
15
|
Object.defineProperty(exports, "VehicleBodyType", { enumerable: true, get: function () { return VehicleBodyType_1.VehicleBodyType; } });
|
|
16
16
|
const Payment_1 = require("./Payment");
|
|
17
17
|
Object.defineProperty(exports, "Payment", { enumerable: true, get: function () { return Payment_1.Payment; } });
|
|
18
|
-
const User_1 = require("./User");
|
|
19
|
-
Object.defineProperty(exports, "User", { enumerable: true, get: function () { return User_1.User; } });
|
|
20
18
|
const VehicleFinance_1 = require("./VehicleFinance");
|
|
21
19
|
Object.defineProperty(exports, "VehicleFinance", { enumerable: true, get: function () { return VehicleFinance_1.VehicleFinance; } });
|
|
22
20
|
const VehicleMake_1 = require("./VehicleMake");
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export declare class LanguageDTO {
|
|
2
|
+
id: string;
|
|
3
|
+
code: string;
|
|
4
|
+
name: string;
|
|
5
|
+
static fromEntity(entity: any): LanguageDTO;
|
|
6
|
+
}
|
|
7
|
+
export declare class LanguageCreateDTO {
|
|
8
|
+
code: string;
|
|
9
|
+
name: string;
|
|
10
|
+
isActive?: boolean;
|
|
11
|
+
validate(): string[];
|
|
12
|
+
static fromPlain(plain: Record<string, unknown>): LanguageCreateDTO;
|
|
13
|
+
}
|
|
14
|
+
export declare class LanguageUpdateDTO {
|
|
15
|
+
code?: string;
|
|
16
|
+
name?: string;
|
|
17
|
+
isActive?: boolean;
|
|
18
|
+
validate(): string[];
|
|
19
|
+
static fromPlain(plain: Record<string, unknown>): LanguageUpdateDTO;
|
|
20
|
+
}
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.LanguageUpdateDTO = exports.LanguageCreateDTO = exports.LanguageDTO = void 0;
|
|
13
|
+
const class_transformer_1 = require("class-transformer");
|
|
14
|
+
const class_validator_1 = require("class-validator");
|
|
15
|
+
class LanguageDTO {
|
|
16
|
+
static fromEntity(entity) {
|
|
17
|
+
const dto = new LanguageDTO();
|
|
18
|
+
dto.id = entity.id;
|
|
19
|
+
dto.code = entity.code;
|
|
20
|
+
dto.name = entity.name;
|
|
21
|
+
return dto;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
__decorate([
|
|
25
|
+
(0, class_validator_1.IsUUID)(),
|
|
26
|
+
__metadata("design:type", String)
|
|
27
|
+
], LanguageDTO.prototype, "id", void 0);
|
|
28
|
+
__decorate([
|
|
29
|
+
(0, class_validator_1.IsString)(),
|
|
30
|
+
__metadata("design:type", String)
|
|
31
|
+
], LanguageDTO.prototype, "code", void 0);
|
|
32
|
+
__decorate([
|
|
33
|
+
(0, class_validator_1.IsString)(),
|
|
34
|
+
__metadata("design:type", String)
|
|
35
|
+
], LanguageDTO.prototype, "name", void 0);
|
|
36
|
+
exports.LanguageDTO = LanguageDTO;
|
|
37
|
+
class LanguageCreateDTO {
|
|
38
|
+
constructor() {
|
|
39
|
+
this.isActive = true;
|
|
40
|
+
}
|
|
41
|
+
validate() {
|
|
42
|
+
const errors = (0, class_validator_1.validateSync)(this);
|
|
43
|
+
return errors.map((error) => { var _a; return Object.values((_a = error.constraints) !== null && _a !== void 0 ? _a : {}); }).flat();
|
|
44
|
+
}
|
|
45
|
+
static fromPlain(plain) {
|
|
46
|
+
return (0, class_transformer_1.plainToClass)(LanguageCreateDTO, plain);
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
__decorate([
|
|
50
|
+
(0, class_validator_1.IsString)(),
|
|
51
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
52
|
+
__metadata("design:type", String)
|
|
53
|
+
], LanguageCreateDTO.prototype, "code", void 0);
|
|
54
|
+
__decorate([
|
|
55
|
+
(0, class_validator_1.IsString)(),
|
|
56
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
57
|
+
__metadata("design:type", String)
|
|
58
|
+
], LanguageCreateDTO.prototype, "name", void 0);
|
|
59
|
+
__decorate([
|
|
60
|
+
(0, class_validator_1.IsOptional)(),
|
|
61
|
+
(0, class_validator_1.IsBoolean)(),
|
|
62
|
+
__metadata("design:type", Boolean)
|
|
63
|
+
], LanguageCreateDTO.prototype, "isActive", void 0);
|
|
64
|
+
exports.LanguageCreateDTO = LanguageCreateDTO;
|
|
65
|
+
class LanguageUpdateDTO {
|
|
66
|
+
validate() {
|
|
67
|
+
const errors = (0, class_validator_1.validateSync)(this);
|
|
68
|
+
return errors.map((error) => { var _a; return Object.values((_a = error.constraints) !== null && _a !== void 0 ? _a : {}); }).flat();
|
|
69
|
+
}
|
|
70
|
+
static fromPlain(plain) {
|
|
71
|
+
return (0, class_transformer_1.plainToClass)(LanguageUpdateDTO, plain);
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
__decorate([
|
|
75
|
+
(0, class_validator_1.IsOptional)(),
|
|
76
|
+
(0, class_validator_1.IsString)(),
|
|
77
|
+
__metadata("design:type", String)
|
|
78
|
+
], LanguageUpdateDTO.prototype, "code", void 0);
|
|
79
|
+
__decorate([
|
|
80
|
+
(0, class_validator_1.IsOptional)(),
|
|
81
|
+
(0, class_validator_1.IsString)(),
|
|
82
|
+
__metadata("design:type", String)
|
|
83
|
+
], LanguageUpdateDTO.prototype, "name", void 0);
|
|
84
|
+
__decorate([
|
|
85
|
+
(0, class_validator_1.IsOptional)(),
|
|
86
|
+
(0, class_validator_1.IsBoolean)(),
|
|
87
|
+
__metadata("design:type", Boolean)
|
|
88
|
+
], LanguageUpdateDTO.prototype, "isActive", void 0);
|
|
89
|
+
exports.LanguageUpdateDTO = LanguageUpdateDTO;
|
|
@@ -1,49 +1,44 @@
|
|
|
1
|
+
import { UserCreateDTO, UserGetDTO, UserUpdateDTO } from "../../../auth/data/dto/UserDTO";
|
|
2
|
+
import { LanguageDTO } from "./LanguageDTO";
|
|
1
3
|
export declare enum Designation {
|
|
2
4
|
MANAGER = "sales-manager",
|
|
3
5
|
EXECUTIVE = "sales-executive"
|
|
4
6
|
}
|
|
5
|
-
export declare enum Gender {
|
|
6
|
-
MALE = "male",
|
|
7
|
-
FEMALE = "female"
|
|
8
|
-
}
|
|
9
7
|
export declare class SalesAgentGetDTO {
|
|
10
8
|
id: string;
|
|
11
|
-
name: string;
|
|
12
|
-
email?: string;
|
|
13
9
|
status: number;
|
|
14
10
|
designation: Designation;
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
photo?: string;
|
|
20
|
-
static fromEntity(entity: any): SalesAgentGetDTO;
|
|
11
|
+
user: UserGetDTO;
|
|
12
|
+
languages: LanguageDTO[];
|
|
13
|
+
agentIntro?: string;
|
|
14
|
+
static fromPlain(plain: Record<string, unknown>): SalesAgentGetDTO;
|
|
21
15
|
toPlain(): Record<string, unknown>;
|
|
22
16
|
}
|
|
23
17
|
export declare class SalesAgentCreateDTO {
|
|
18
|
+
status?: number;
|
|
19
|
+
designation?: Designation;
|
|
24
20
|
name: string;
|
|
25
21
|
email?: string;
|
|
26
|
-
status: number;
|
|
27
|
-
designation?: Designation;
|
|
28
|
-
dob?: Date;
|
|
29
|
-
gender: Gender;
|
|
30
|
-
address?: string;
|
|
31
22
|
phone: string;
|
|
23
|
+
agentIntro?: string;
|
|
24
|
+
languageIds?: string[];
|
|
32
25
|
photo?: string;
|
|
33
26
|
validate(): string[];
|
|
34
27
|
static fromPlain(plain: Record<string, unknown>): SalesAgentCreateDTO;
|
|
28
|
+
toUserDTO(): UserCreateDTO;
|
|
29
|
+
toSalesAgentData(): Partial<any>;
|
|
35
30
|
}
|
|
36
31
|
export declare class SalesAgentUpdateDTO {
|
|
37
32
|
id?: string;
|
|
38
|
-
name?: string;
|
|
39
|
-
email?: string;
|
|
40
33
|
status?: number;
|
|
41
34
|
designation?: Designation;
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
35
|
+
agentIntro?: string;
|
|
36
|
+
name?: string;
|
|
37
|
+
email?: string;
|
|
45
38
|
phone?: string;
|
|
46
39
|
photo?: string;
|
|
47
40
|
validate(): string[];
|
|
48
41
|
static fromPlain(plain: Record<string, unknown>): SalesAgentUpdateDTO;
|
|
42
|
+
toUserDTO(): UserUpdateDTO;
|
|
43
|
+
toSalesAgentData(): Partial<any>;
|
|
49
44
|
}
|
|
@@ -9,22 +9,18 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
9
9
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.SalesAgentUpdateDTO = exports.SalesAgentCreateDTO = exports.SalesAgentGetDTO = exports.
|
|
12
|
+
exports.SalesAgentUpdateDTO = exports.SalesAgentCreateDTO = exports.SalesAgentGetDTO = exports.Designation = void 0;
|
|
13
13
|
const class_validator_1 = require("class-validator");
|
|
14
14
|
const class_transformer_1 = require("class-transformer");
|
|
15
|
+
const UserDTO_1 = require("../../../auth/data/dto/UserDTO");
|
|
15
16
|
var Designation;
|
|
16
17
|
(function (Designation) {
|
|
17
18
|
Designation["MANAGER"] = "sales-manager";
|
|
18
19
|
Designation["EXECUTIVE"] = "sales-executive";
|
|
19
20
|
})(Designation = exports.Designation || (exports.Designation = {}));
|
|
20
|
-
var Gender;
|
|
21
|
-
(function (Gender) {
|
|
22
|
-
Gender["MALE"] = "male";
|
|
23
|
-
Gender["FEMALE"] = "female";
|
|
24
|
-
})(Gender = exports.Gender || (exports.Gender = {}));
|
|
25
21
|
class SalesAgentGetDTO {
|
|
26
|
-
static
|
|
27
|
-
return (0, class_transformer_1.plainToClass)(SalesAgentGetDTO,
|
|
22
|
+
static fromPlain(plain) {
|
|
23
|
+
return (0, class_transformer_1.plainToClass)(SalesAgentGetDTO, plain);
|
|
28
24
|
}
|
|
29
25
|
toPlain() {
|
|
30
26
|
return (0, class_transformer_1.classToPlain)(this);
|
|
@@ -32,23 +28,32 @@ class SalesAgentGetDTO {
|
|
|
32
28
|
}
|
|
33
29
|
exports.SalesAgentGetDTO = SalesAgentGetDTO;
|
|
34
30
|
class SalesAgentCreateDTO {
|
|
31
|
+
constructor() {
|
|
32
|
+
this.status = 1;
|
|
33
|
+
this.designation = Designation.EXECUTIVE;
|
|
34
|
+
}
|
|
35
35
|
validate() {
|
|
36
36
|
const errors = (0, class_validator_1.validateSync)(this);
|
|
37
|
-
return errors.map(error => { var _a; return Object.values((_a = error.constraints) !== null && _a !== void 0 ? _a : {}); }).flat();
|
|
37
|
+
return errors.map((error) => { var _a; return Object.values((_a = error.constraints) !== null && _a !== void 0 ? _a : {}); }).flat();
|
|
38
38
|
}
|
|
39
39
|
static fromPlain(plain) {
|
|
40
40
|
return (0, class_transformer_1.plainToClass)(SalesAgentCreateDTO, plain);
|
|
41
41
|
}
|
|
42
|
+
toUserDTO() {
|
|
43
|
+
const userDto = new UserDTO_1.UserCreateDTO();
|
|
44
|
+
userDto.name = this.name;
|
|
45
|
+
userDto.email = this.email;
|
|
46
|
+
userDto.phone = this.phone;
|
|
47
|
+
userDto.photo = this.photo;
|
|
48
|
+
return userDto;
|
|
49
|
+
}
|
|
50
|
+
toSalesAgentData() {
|
|
51
|
+
return {
|
|
52
|
+
status: this.status,
|
|
53
|
+
designation: this.designation,
|
|
54
|
+
};
|
|
55
|
+
}
|
|
42
56
|
}
|
|
43
|
-
__decorate([
|
|
44
|
-
(0, class_validator_1.IsString)(),
|
|
45
|
-
__metadata("design:type", String)
|
|
46
|
-
], SalesAgentCreateDTO.prototype, "name", void 0);
|
|
47
|
-
__decorate([
|
|
48
|
-
(0, class_validator_1.IsOptional)(),
|
|
49
|
-
(0, class_validator_1.IsEmail)(),
|
|
50
|
-
__metadata("design:type", String)
|
|
51
|
-
], SalesAgentCreateDTO.prototype, "email", void 0);
|
|
52
57
|
__decorate([
|
|
53
58
|
(0, class_validator_1.IsOptional)(),
|
|
54
59
|
(0, class_validator_1.IsNumber)(),
|
|
@@ -60,23 +65,29 @@ __decorate([
|
|
|
60
65
|
__metadata("design:type", String)
|
|
61
66
|
], SalesAgentCreateDTO.prototype, "designation", void 0);
|
|
62
67
|
__decorate([
|
|
63
|
-
(0, class_validator_1.
|
|
64
|
-
(0, class_validator_1.IsDate)(),
|
|
65
|
-
__metadata("design:type", Date)
|
|
66
|
-
], SalesAgentCreateDTO.prototype, "dob", void 0);
|
|
67
|
-
__decorate([
|
|
68
|
-
(0, class_validator_1.IsEnum)(Gender),
|
|
68
|
+
(0, class_validator_1.IsString)(),
|
|
69
69
|
__metadata("design:type", String)
|
|
70
|
-
], SalesAgentCreateDTO.prototype, "
|
|
70
|
+
], SalesAgentCreateDTO.prototype, "name", void 0);
|
|
71
71
|
__decorate([
|
|
72
72
|
(0, class_validator_1.IsOptional)(),
|
|
73
|
-
(0, class_validator_1.
|
|
73
|
+
(0, class_validator_1.IsEmail)(),
|
|
74
74
|
__metadata("design:type", String)
|
|
75
|
-
], SalesAgentCreateDTO.prototype, "
|
|
75
|
+
], SalesAgentCreateDTO.prototype, "email", void 0);
|
|
76
76
|
__decorate([
|
|
77
77
|
(0, class_validator_1.IsString)(),
|
|
78
78
|
__metadata("design:type", String)
|
|
79
79
|
], SalesAgentCreateDTO.prototype, "phone", void 0);
|
|
80
|
+
__decorate([
|
|
81
|
+
(0, class_validator_1.IsOptional)(),
|
|
82
|
+
(0, class_validator_1.IsString)(),
|
|
83
|
+
__metadata("design:type", String)
|
|
84
|
+
], SalesAgentCreateDTO.prototype, "agentIntro", void 0);
|
|
85
|
+
__decorate([
|
|
86
|
+
(0, class_validator_1.IsOptional)(),
|
|
87
|
+
(0, class_validator_1.IsArray)(),
|
|
88
|
+
(0, class_validator_1.IsUUID)("4", { each: true }),
|
|
89
|
+
__metadata("design:type", Array)
|
|
90
|
+
], SalesAgentCreateDTO.prototype, "languageIds", void 0);
|
|
80
91
|
__decorate([
|
|
81
92
|
(0, class_validator_1.IsOptional)(),
|
|
82
93
|
(0, class_validator_1.IsString)(),
|
|
@@ -86,26 +97,37 @@ exports.SalesAgentCreateDTO = SalesAgentCreateDTO;
|
|
|
86
97
|
class SalesAgentUpdateDTO {
|
|
87
98
|
validate() {
|
|
88
99
|
const errors = (0, class_validator_1.validateSync)(this);
|
|
89
|
-
return errors.map(error => { var _a; return Object.values((_a = error.constraints) !== null && _a !== void 0 ? _a : {}); }).flat();
|
|
100
|
+
return errors.map((error) => { var _a; return Object.values((_a = error.constraints) !== null && _a !== void 0 ? _a : {}); }).flat();
|
|
90
101
|
}
|
|
91
102
|
static fromPlain(plain) {
|
|
92
103
|
return (0, class_transformer_1.plainToClass)(SalesAgentUpdateDTO, plain);
|
|
93
104
|
}
|
|
105
|
+
toUserDTO() {
|
|
106
|
+
const userDto = new UserDTO_1.UserUpdateDTO();
|
|
107
|
+
if (this.name)
|
|
108
|
+
userDto.name = this.name;
|
|
109
|
+
if (this.email)
|
|
110
|
+
userDto.email = this.email;
|
|
111
|
+
if (this.phone)
|
|
112
|
+
userDto.phone = this.phone;
|
|
113
|
+
if (this.photo)
|
|
114
|
+
userDto.photo = this.photo;
|
|
115
|
+
return userDto;
|
|
116
|
+
}
|
|
117
|
+
toSalesAgentData() {
|
|
118
|
+
const salesAgentData = {};
|
|
119
|
+
if (this.status !== undefined)
|
|
120
|
+
salesAgentData.status = this.status;
|
|
121
|
+
if (this.designation)
|
|
122
|
+
salesAgentData.designation = this.designation;
|
|
123
|
+
return salesAgentData;
|
|
124
|
+
}
|
|
94
125
|
}
|
|
95
126
|
__decorate([
|
|
96
127
|
(0, class_validator_1.IsOptional)(),
|
|
128
|
+
(0, class_validator_1.IsUUID)(),
|
|
97
129
|
__metadata("design:type", String)
|
|
98
130
|
], SalesAgentUpdateDTO.prototype, "id", void 0);
|
|
99
|
-
__decorate([
|
|
100
|
-
(0, class_validator_1.IsOptional)(),
|
|
101
|
-
(0, class_validator_1.IsString)(),
|
|
102
|
-
__metadata("design:type", String)
|
|
103
|
-
], SalesAgentUpdateDTO.prototype, "name", void 0);
|
|
104
|
-
__decorate([
|
|
105
|
-
(0, class_validator_1.IsOptional)(),
|
|
106
|
-
(0, class_validator_1.IsEmail)(),
|
|
107
|
-
__metadata("design:type", String)
|
|
108
|
-
], SalesAgentUpdateDTO.prototype, "email", void 0);
|
|
109
131
|
__decorate([
|
|
110
132
|
(0, class_validator_1.IsOptional)(),
|
|
111
133
|
(0, class_validator_1.IsNumber)(),
|
|
@@ -118,19 +140,19 @@ __decorate([
|
|
|
118
140
|
], SalesAgentUpdateDTO.prototype, "designation", void 0);
|
|
119
141
|
__decorate([
|
|
120
142
|
(0, class_validator_1.IsOptional)(),
|
|
121
|
-
(0, class_validator_1.
|
|
122
|
-
__metadata("design:type",
|
|
123
|
-
], SalesAgentUpdateDTO.prototype, "
|
|
143
|
+
(0, class_validator_1.IsString)(),
|
|
144
|
+
__metadata("design:type", String)
|
|
145
|
+
], SalesAgentUpdateDTO.prototype, "agentIntro", void 0);
|
|
124
146
|
__decorate([
|
|
125
147
|
(0, class_validator_1.IsOptional)(),
|
|
126
|
-
(0, class_validator_1.
|
|
148
|
+
(0, class_validator_1.IsString)(),
|
|
127
149
|
__metadata("design:type", String)
|
|
128
|
-
], SalesAgentUpdateDTO.prototype, "
|
|
150
|
+
], SalesAgentUpdateDTO.prototype, "name", void 0);
|
|
129
151
|
__decorate([
|
|
130
152
|
(0, class_validator_1.IsOptional)(),
|
|
131
|
-
(0, class_validator_1.
|
|
153
|
+
(0, class_validator_1.IsEmail)(),
|
|
132
154
|
__metadata("design:type", String)
|
|
133
|
-
], SalesAgentUpdateDTO.prototype, "
|
|
155
|
+
], SalesAgentUpdateDTO.prototype, "email", void 0);
|
|
134
156
|
__decorate([
|
|
135
157
|
(0, class_validator_1.IsOptional)(),
|
|
136
158
|
(0, class_validator_1.IsString)(),
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { ValidatorConstraintInterface, ValidationArguments } from "class-validator";
|
|
2
|
+
import { PaginationOptions } from "../../../../global";
|
|
2
3
|
export declare class IsTimeConstraint implements ValidatorConstraintInterface {
|
|
3
4
|
validate(time: string, args: ValidationArguments): boolean;
|
|
4
5
|
defaultMessage(args: ValidationArguments): string;
|
|
@@ -44,6 +45,24 @@ export declare class ShowroomVisitResponseDTO {
|
|
|
44
45
|
static fromPlain(plain: Record<string, unknown>): ShowroomVisitResponseDTO;
|
|
45
46
|
toPlain(): Record<string, unknown>;
|
|
46
47
|
}
|
|
48
|
+
export declare class ShowRoomVisitOptionsDTO extends PaginationOptions {
|
|
49
|
+
static fromPlain(plain: Record<string, unknown>): ShowRoomVisitOptionsDTO;
|
|
50
|
+
toPlain(): Record<string, unknown>;
|
|
51
|
+
}
|
|
52
|
+
export declare class ShowRoomVisitFilterDTO {
|
|
53
|
+
search?: string;
|
|
54
|
+
leadId?: string;
|
|
55
|
+
validate(): string[];
|
|
56
|
+
static fromPlain(plain: Record<string, unknown>): ShowRoomVisitFilterDTO;
|
|
57
|
+
toPlain(): Record<string, unknown>;
|
|
58
|
+
}
|
|
59
|
+
export declare class ShowRoomVisitFetchDTO {
|
|
60
|
+
filter: ShowRoomVisitFilterDTO;
|
|
61
|
+
options: ShowRoomVisitOptionsDTO;
|
|
62
|
+
validate(): string[];
|
|
63
|
+
static fromPlain(plain: Record<string, unknown>): ShowRoomVisitFetchDTO;
|
|
64
|
+
toPlain(): Record<string, unknown>;
|
|
65
|
+
}
|
|
47
66
|
export declare enum VisitStatus {
|
|
48
67
|
SCHEDULED = "SCHEDULED",
|
|
49
68
|
IN_PROGRESS = "IN_PROGRESS",
|
|
@@ -9,9 +9,10 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
9
9
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.VisitStatus = exports.ShowroomVisitResponseDTO = exports.ShowroomVisitUpdateDTO = exports.ShowroomVisitCreateDTO = exports.IsTimeConstraint = void 0;
|
|
12
|
+
exports.VisitStatus = exports.ShowRoomVisitFetchDTO = exports.ShowRoomVisitFilterDTO = exports.ShowRoomVisitOptionsDTO = exports.ShowroomVisitResponseDTO = exports.ShowroomVisitUpdateDTO = exports.ShowroomVisitCreateDTO = exports.IsTimeConstraint = void 0;
|
|
13
13
|
const class_validator_1 = require("class-validator");
|
|
14
14
|
const class_transformer_1 = require("class-transformer");
|
|
15
|
+
const global_1 = require("../../../../global");
|
|
15
16
|
// Custom time format validator
|
|
16
17
|
let IsTimeConstraint = class IsTimeConstraint {
|
|
17
18
|
validate(time, args) {
|
|
@@ -189,6 +190,50 @@ __decorate([
|
|
|
189
190
|
__metadata("design:type", String)
|
|
190
191
|
], ShowroomVisitResponseDTO.prototype, "UpdatedAt", void 0);
|
|
191
192
|
exports.ShowroomVisitResponseDTO = ShowroomVisitResponseDTO;
|
|
193
|
+
class ShowRoomVisitOptionsDTO extends global_1.PaginationOptions {
|
|
194
|
+
static fromPlain(plain) {
|
|
195
|
+
return (0, class_transformer_1.plainToClass)(ShowRoomVisitOptionsDTO, plain);
|
|
196
|
+
}
|
|
197
|
+
toPlain() {
|
|
198
|
+
return (0, class_transformer_1.classToPlain)(this);
|
|
199
|
+
}
|
|
200
|
+
}
|
|
201
|
+
exports.ShowRoomVisitOptionsDTO = ShowRoomVisitOptionsDTO;
|
|
202
|
+
class ShowRoomVisitFilterDTO {
|
|
203
|
+
validate() {
|
|
204
|
+
const errors = (0, class_validator_1.validateSync)(this);
|
|
205
|
+
return errors.map((error) => { var _a; return Object.values((_a = error.constraints) !== null && _a !== void 0 ? _a : {}); }).flat();
|
|
206
|
+
}
|
|
207
|
+
static fromPlain(plain) {
|
|
208
|
+
return (0, class_transformer_1.plainToClass)(ShowRoomVisitFilterDTO, plain);
|
|
209
|
+
}
|
|
210
|
+
toPlain() {
|
|
211
|
+
return (0, class_transformer_1.classToPlain)(this);
|
|
212
|
+
}
|
|
213
|
+
}
|
|
214
|
+
__decorate([
|
|
215
|
+
(0, class_validator_1.IsOptional)(),
|
|
216
|
+
__metadata("design:type", String)
|
|
217
|
+
], ShowRoomVisitFilterDTO.prototype, "search", void 0);
|
|
218
|
+
__decorate([
|
|
219
|
+
(0, class_validator_1.IsUUID)(),
|
|
220
|
+
(0, class_validator_1.IsOptional)(),
|
|
221
|
+
__metadata("design:type", String)
|
|
222
|
+
], ShowRoomVisitFilterDTO.prototype, "leadId", void 0);
|
|
223
|
+
exports.ShowRoomVisitFilterDTO = ShowRoomVisitFilterDTO;
|
|
224
|
+
class ShowRoomVisitFetchDTO {
|
|
225
|
+
validate() {
|
|
226
|
+
const errors = (0, class_validator_1.validateSync)(this);
|
|
227
|
+
return errors.map((error) => { var _a; return Object.values((_a = error.constraints) !== null && _a !== void 0 ? _a : {}); }).flat();
|
|
228
|
+
}
|
|
229
|
+
static fromPlain(plain) {
|
|
230
|
+
return (0, class_transformer_1.plainToClass)(ShowRoomVisitFetchDTO, plain);
|
|
231
|
+
}
|
|
232
|
+
toPlain() {
|
|
233
|
+
return (0, class_transformer_1.classToPlain)(this);
|
|
234
|
+
}
|
|
235
|
+
}
|
|
236
|
+
exports.ShowRoomVisitFetchDTO = ShowRoomVisitFetchDTO;
|
|
192
237
|
// Optional: Create an enum for visit status if needed
|
|
193
238
|
var VisitStatus;
|
|
194
239
|
(function (VisitStatus) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { BaseModel } from "../../../
|
|
2
|
-
import { Vehicle } from "../../../
|
|
1
|
+
import { BaseModel } from "../../../models/Base";
|
|
2
|
+
import { Vehicle } from "../../../models/Vehicle";
|
|
3
3
|
import { LeadThrough, TestDriveRequestStatus } from "../enums";
|
|
4
4
|
export declare class TestDriveRequest extends BaseModel {
|
|
5
5
|
vehicle: Vehicle;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.TestDriveRequest = void 0;
|
|
4
|
-
const Base_1 = require("../../../
|
|
4
|
+
const Base_1 = require("../../../models/Base");
|
|
5
5
|
class TestDriveRequest extends Base_1.BaseModel {
|
|
6
6
|
}
|
|
7
7
|
exports.TestDriveRequest = TestDriveRequest;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { BaseFilter, PaginationOptions, NumberRange } from "../../../../global";
|
|
2
|
-
import { VehicleMake, VehicleModel, Vehicle, VehicleBodyType, VehicleFeature, VehicleFeatureCategory, VehicleMetaData } from "
|
|
3
|
-
import { VehicleCategory } from "
|
|
2
|
+
import { VehicleMake, VehicleModel, Vehicle, VehicleBodyType, VehicleFeature, VehicleFeatureCategory, VehicleMetaData } from "../../../models";
|
|
3
|
+
import { VehicleCategory } from "../../../models/VehicleCategory";
|
|
4
4
|
export type VehicleMakeSelectFields = keyof VehicleMake;
|
|
5
5
|
export type VehicleModelSelectFields = keyof VehicleModel;
|
|
6
6
|
export type VehicleSelectFields = keyof Vehicle;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { VehicleMakeFilter, VehicleMakeOptions, VehicleMakeUniqueFilter } from
|
|
2
|
-
import { BaseCreateDTO, BaseUpdateDTO } from
|
|
3
|
-
import { VehicleMake } from
|
|
1
|
+
import { VehicleMakeFilter, VehicleMakeOptions, VehicleMakeUniqueFilter } from "../utilities";
|
|
2
|
+
import { BaseCreateDTO, BaseUpdateDTO } from "./BaseDTO";
|
|
3
|
+
import { VehicleMake } from "../../../models";
|
|
4
4
|
export declare class VehicleMakeGetDTO {
|
|
5
5
|
filter?: VehicleMakeFilter;
|
|
6
6
|
options?: VehicleMakeOptions;
|
|
@@ -8,10 +8,10 @@ export declare class VehicleMakeGetDTO {
|
|
|
8
8
|
static fromPlain(plain: Record<string, unknown>): VehicleMakeGetDTO;
|
|
9
9
|
static toPlain(entity: any): Record<string, unknown>;
|
|
10
10
|
}
|
|
11
|
-
export type VehicleMakeApiResponse = Omit<VehicleMake,
|
|
11
|
+
export type VehicleMakeApiResponse = Omit<VehicleMake, "createdBy" | "updatedBy" | "deletedBy" | "_id">;
|
|
12
12
|
export declare class VehicleMakeGetUniqueDTO {
|
|
13
13
|
filter?: VehicleMakeUniqueFilter;
|
|
14
|
-
options?: Omit<VehicleMakeOptions,
|
|
14
|
+
options?: Omit<VehicleMakeOptions, "page" | "limit" | "sort">;
|
|
15
15
|
validate(): string[];
|
|
16
16
|
static fromPlain(plain: Record<string, unknown>): VehicleMakeGetUniqueDTO;
|
|
17
17
|
static toPlain(entity: any): Record<string, unknown>;
|
|
@@ -17,7 +17,7 @@ const BaseDTO_1 = require("./BaseDTO");
|
|
|
17
17
|
class VehicleMakeGetDTO {
|
|
18
18
|
validate() {
|
|
19
19
|
const errors = (0, class_validator_1.validateSync)(this);
|
|
20
|
-
return errors.map(error => { var _a; return Object.values((_a = error.constraints) !== null && _a !== void 0 ? _a : {}); }).flat();
|
|
20
|
+
return errors.map((error) => { var _a; return Object.values((_a = error.constraints) !== null && _a !== void 0 ? _a : {}); }).flat();
|
|
21
21
|
}
|
|
22
22
|
static fromPlain(plain) {
|
|
23
23
|
return (0, class_transformer_1.plainToClass)(VehicleMakeGetDTO, plain);
|
|
@@ -31,7 +31,7 @@ exports.VehicleMakeGetDTO = VehicleMakeGetDTO;
|
|
|
31
31
|
class VehicleMakeGetUniqueDTO {
|
|
32
32
|
validate() {
|
|
33
33
|
const errors = (0, class_validator_1.validateSync)(this);
|
|
34
|
-
return errors.map(error => { var _a; return Object.values((_a = error.constraints) !== null && _a !== void 0 ? _a : {}); }).flat();
|
|
34
|
+
return errors.map((error) => { var _a; return Object.values((_a = error.constraints) !== null && _a !== void 0 ? _a : {}); }).flat();
|
|
35
35
|
}
|
|
36
36
|
static fromPlain(plain) {
|
|
37
37
|
return (0, class_transformer_1.plainToClass)(VehicleMakeGetUniqueDTO, plain);
|
|
@@ -47,7 +47,7 @@ class VehicleMakeCreateDTO extends BaseDTO_1.BaseCreateDTO {
|
|
|
47
47
|
// - We cannot create a attach vehicles and models to a make during creation because the make should be created first and then the vehicles and models should be created and attached to the make.
|
|
48
48
|
validate() {
|
|
49
49
|
const errors = (0, class_validator_1.validateSync)(this);
|
|
50
|
-
return errors.map(error => { var _a; return Object.values((_a = error.constraints) !== null && _a !== void 0 ? _a : {}); }).flat();
|
|
50
|
+
return errors.map((error) => { var _a; return Object.values((_a = error.constraints) !== null && _a !== void 0 ? _a : {}); }).flat();
|
|
51
51
|
}
|
|
52
52
|
static fromPlain(plain) {
|
|
53
53
|
return (0, class_transformer_1.plainToClass)(VehicleMakeCreateDTO, plain);
|
|
@@ -61,7 +61,7 @@ __decorate([
|
|
|
61
61
|
(0, class_validator_1.IsNotEmpty)(),
|
|
62
62
|
(0, class_validator_1.IsDefined)(),
|
|
63
63
|
(0, class_validator_1.Matches)(/^[a-zA-Z0-9\s\-\_]*$/, {
|
|
64
|
-
message:
|
|
64
|
+
message: "Name can only contain letters, numbers, spaces, hyphens, and underscores.",
|
|
65
65
|
}),
|
|
66
66
|
__metadata("design:type", String)
|
|
67
67
|
], VehicleMakeCreateDTO.prototype, "name", void 0);
|
|
@@ -94,7 +94,7 @@ exports.VehicleMakeCreateDTO = VehicleMakeCreateDTO;
|
|
|
94
94
|
class VehicleMakeUpdateDTO extends BaseDTO_1.BaseUpdateDTO {
|
|
95
95
|
validate() {
|
|
96
96
|
const errors = (0, class_validator_1.validateSync)(this);
|
|
97
|
-
return errors.map(error => { var _a; return Object.values((_a = error.constraints) !== null && _a !== void 0 ? _a : {}); }).flat();
|
|
97
|
+
return errors.map((error) => { var _a; return Object.values((_a = error.constraints) !== null && _a !== void 0 ? _a : {}); }).flat();
|
|
98
98
|
}
|
|
99
99
|
static fromPlain(plain) {
|
|
100
100
|
return (0, class_transformer_1.plainToClass)(VehicleMakeUpdateDTO, plain);
|
|
@@ -107,7 +107,7 @@ __decorate([
|
|
|
107
107
|
(0, class_validator_1.IsString)(),
|
|
108
108
|
(0, class_validator_1.IsOptional)(),
|
|
109
109
|
(0, class_validator_1.Matches)(/^[a-zA-Z0-9\s\-\_]*$/, {
|
|
110
|
-
message:
|
|
110
|
+
message: "Name can only contain letters, numbers, spaces, hyphens, and underscores.",
|
|
111
111
|
}),
|
|
112
112
|
__metadata("design:type", String)
|
|
113
113
|
], VehicleMakeUpdateDTO.prototype, "name", void 0);
|
|
@@ -145,7 +145,7 @@ exports.VehicleMakeUpdateDTO = VehicleMakeUpdateDTO;
|
|
|
145
145
|
class DynamicMakeDTO {
|
|
146
146
|
validate() {
|
|
147
147
|
if (!this.existingId && !this.new) {
|
|
148
|
-
throw new Error(
|
|
148
|
+
throw new Error("Either existingId or new details must be provided.");
|
|
149
149
|
}
|
|
150
150
|
}
|
|
151
151
|
static fromPlain(plain) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { BaseCreateDTO, BaseUpdateDTO } from "./BaseDTO";
|
|
2
|
-
import { Vehicle } from "
|
|
3
|
-
import { VehicleMake } from "
|
|
2
|
+
import { Vehicle } from "../../../models/Vehicle";
|
|
3
|
+
import { VehicleMake } from "../../../models/VehicleMake";
|
|
4
4
|
import { VehicleModelFilter, VehicleModelOptions, VehicleModelUniqueFilter } from "../utilities";
|
|
5
5
|
export declare class VehicleModelGetDTO {
|
|
6
6
|
filter?: VehicleModelFilter;
|