@alba-cars/common-modules 2.16.1 → 2.16.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.
- package/README.md +42 -42
- package/dist/core/enums/Analytics.d.ts +31 -31
- package/dist/core/enums/HttpMethods.d.ts +12 -12
- package/dist/core/enums/HttpStatusCodes.d.ts +18 -18
- package/dist/core/enums/index.d.ts +3 -3
- package/dist/core/error-handling/AppError.d.ts +23 -23
- package/dist/core/error-handling/index.d.ts +1 -1
- package/dist/core/index.d.ts +5 -5
- package/dist/core/models/index.d.ts +3 -3
- package/dist/core/models/media/index.d.ts +1 -1
- package/dist/core/models/media/media_data.d.ts +5 -5
- package/dist/core/models/pagination/index.d.ts +1 -1
- package/dist/core/models/pagination/paginated_data.d.ts +23 -23
- package/dist/core/models/range.d.ts +4 -4
- package/dist/core/network/endpoint-config.d.ts +155 -155
- package/dist/core/network/fetch-api.d.ts +62 -62
- package/dist/core/network/index.d.ts +2 -2
- package/dist/core/utils/formatCurrency.d.ts +11 -11
- package/dist/core/utils/global-constants.d.ts +6 -6
- package/dist/core/utils/global-utils.d.ts +108 -108
- package/dist/core/utils/global_validators.d.ts +2 -2
- package/dist/core/utils/index.d.ts +4 -4
- package/dist/core/utils/query_flatten.d.ts +1 -1
- package/dist/features/auth/data/dto/AuthDTO.d.ts +32 -32
- package/dist/features/auth/data/dto/RoleDTO.d.ts +41 -41
- package/dist/features/auth/data/dto/UserDTO.d.ts +71 -71
- package/dist/features/auth/data/index.d.ts +3 -3
- package/dist/features/auth/index.d.ts +1 -1
- package/dist/features/bank-valuation-request/data/dto/BankValuationRequestDTO.d.ts +55 -55
- package/dist/features/bank-valuation-request/index.d.ts +1 -1
- package/dist/features/blog/data/dto/BlogDTO.d.ts +73 -73
- package/dist/features/blog/index.d.ts +1 -1
- package/dist/features/callback-request/data/dto/CallBackRequestDTO.d.ts +32 -32
- package/dist/features/callback-request/index.d.ts +1 -1
- package/dist/features/deposits/data/dto/DepositDTOs.d.ts +84 -84
- package/dist/features/deposits/data/index.d.ts +1 -1
- package/dist/features/deposits/index.d.ts +1 -1
- package/dist/features/faq/data/dtos/CreateFaqDTO.d.ts +15 -15
- package/dist/features/faq/data/dtos/FaqFetchDTO.d.ts +105 -105
- package/dist/features/faq/data/dtos/UpdateFaqDTO.d.ts +15 -15
- package/dist/features/faq/data/dtos/index.d.ts +3 -3
- package/dist/features/faq/data/enums/index.d.ts +6 -6
- package/dist/features/faq/data/index.d.ts +2 -2
- package/dist/features/faq/index.d.ts +1 -1
- package/dist/features/finance-eligibilty-request/data/dto/FinanceEligibilityRequestDTO.d.ts +144 -144
- package/dist/features/finance-eligibilty-request/data/index.d.ts +1 -1
- package/dist/features/finance-eligibilty-request/index.d.ts +1 -1
- package/dist/features/google-review/data/dto/google_review_dto.d.ts +103 -103
- package/dist/features/google-review/data/dto/index.d.ts +1 -1
- package/dist/features/google-review/data/enums/index.d.ts +4 -4
- package/dist/features/google-review/data/index.d.ts +2 -2
- package/dist/features/google-review/index.d.ts +1 -1
- package/dist/features/index.d.ts +18 -18
- package/dist/features/lead/data/dto/index.d.ts +4 -4
- package/dist/features/lead/data/dto/lead_documents_dto.d.ts +24 -24
- package/dist/features/lead/data/dto/lead_dto.d.ts +104 -104
- package/dist/features/lead/data/dto/lead_preference_history_dto.d.ts +84 -84
- package/dist/features/lead/data/dto/lead_prefernce_dto.d.ts +68 -68
- package/dist/features/lead/data/enum/index.d.ts +2 -2
- package/dist/features/lead/data/enum/lead_source_status_types.d.ts +15 -15
- package/dist/features/lead/data/enum/lead_status_type.d.ts +8 -8
- package/dist/features/lead/index.d.ts +2 -2
- package/dist/features/models/Bank.d.ts +9 -9
- package/dist/features/models/BankValuationRequest.d.ts +63 -63
- package/dist/features/models/BankValuationResult.d.ts +24 -24
- package/dist/features/models/Base.d.ts +12 -12
- package/dist/features/models/Color.d.ts +10 -10
- package/dist/features/models/Deposit.d.ts +18 -18
- package/dist/features/models/Lead.d.ts +25 -25
- package/dist/features/models/Payment.d.ts +46 -46
- package/dist/features/models/Roles.d.ts +7 -7
- package/dist/features/models/Ticket.d.ts +51 -51
- package/dist/features/models/User.d.ts +24 -24
- package/dist/features/models/UserFavoriteVehicle.d.ts +9 -9
- package/dist/features/models/Vehicle.d.ts +79 -79
- package/dist/features/models/VehicleBodyType.d.ts +8 -8
- package/dist/features/models/VehicleCategory.d.ts +6 -6
- package/dist/features/models/VehicleFeature.d.ts +10 -10
- package/dist/features/models/VehicleFeatureCategory.d.ts +7 -7
- package/dist/features/models/VehicleFinance.d.ts +29 -29
- package/dist/features/models/VehicleMake.d.ts +14 -14
- package/dist/features/models/VehicleMedia.d.ts +16 -12
- package/dist/features/models/VehicleMetaData.d.ts +11 -11
- package/dist/features/models/VehicleModel.d.ts +17 -17
- package/dist/features/models/VehicleOrder.d.ts +14 -14
- package/dist/features/models/_index.d.ts +14 -14
- package/dist/features/models/index.d.ts +21 -21
- package/dist/features/newsletter/data/dto/NewsletterDTO.d.ts +17 -17
- package/dist/features/newsletter/index.d.ts +1 -1
- package/dist/features/sales-team/data/dto/LanguageDTO.d.ts +20 -20
- package/dist/features/sales-team/data/dto/SalesAgentDTO.d.ts +204 -204
- package/dist/features/sales-team/data/index.d.ts +2 -2
- package/dist/features/sales-team/index.d.ts +1 -1
- package/dist/features/sell-car-request/data/dto/SellCarRequestDTO.d.ts +203 -203
- package/dist/features/sell-car-request/data/index.d.ts +1 -1
- package/dist/features/sell-car-request/index.d.ts +1 -1
- package/dist/features/showroom-visit/data/dto/ShowroomVisit.d.ts +69 -69
- package/dist/features/showroom-visit/data/enums/index.d.ts +11 -11
- package/dist/features/showroom-visit/data/index.d.ts +2 -2
- package/dist/features/showroom-visit/index.d.ts +1 -1
- package/dist/features/test-drive-request/api/GetTestDriveVehicles.d.ts +3 -3
- package/dist/features/test-drive-request/api/index.d.ts +1 -1
- package/dist/features/test-drive-request/data/dto/TestDriveRequestDTO.d.ts +51 -51
- package/dist/features/test-drive-request/data/enums/index.d.ts +24 -24
- package/dist/features/test-drive-request/data/index.d.ts +4 -4
- package/dist/features/test-drive-request/data/models/TestDriveRequest.d.ts +14 -14
- package/dist/features/test-drive-request/data/models/index.d.ts +2 -2
- package/dist/features/test-drive-request/data/utilities.d.ts +30 -30
- package/dist/features/test-drive-request/index.d.ts +2 -2
- package/dist/features/tickets/data/dto/TicketDto.d.ts +69 -69
- package/dist/features/tickets/data/enums/index.d.ts +18 -18
- package/dist/features/tickets/index.d.ts +2 -2
- package/dist/features/vehicle/data/dto/BaseDTO.d.ts +9 -9
- package/dist/features/vehicle/data/dto/ColorDTO.d.ts +10 -10
- package/dist/features/vehicle/data/dto/MediaDTO.d.ts +5 -5
- package/dist/features/vehicle/data/dto/PaymentDTO.d.ts +52 -52
- package/dist/features/vehicle/data/dto/SimilarVehicleDTO.d.ts +12 -12
- package/dist/features/vehicle/data/dto/VehicleCategoryDTO.d.ts +39 -39
- package/dist/features/vehicle/data/dto/VehicleDTO.d.ts +145 -145
- package/dist/features/vehicle/data/dto/VehicleFavoritesDTO.d.ts +14 -14
- package/dist/features/vehicle/data/dto/VehicleFeatureCategoriesDTO.d.ts +39 -39
- package/dist/features/vehicle/data/dto/VehicleFeatureDTO.d.ts +40 -40
- package/dist/features/vehicle/data/dto/VehicleFilterDTO.d.ts +258 -258
- package/dist/features/vehicle/data/dto/VehicleFinanceDTO.d.ts +63 -63
- package/dist/features/vehicle/data/dto/VehicleInspectionDTO.d.ts +147 -147
- package/dist/features/vehicle/data/dto/VehicleMakeDTO.d.ts +52 -52
- package/dist/features/vehicle/data/dto/VehicleMedia.d.ts +44 -44
- package/dist/features/vehicle/data/dto/VehicleModelDTO.d.ts +50 -50
- package/dist/features/vehicle/data/dto/VehicleOrderDTO.d.ts +34 -34
- package/dist/features/vehicle/data/dto/VehicleTypeDTO.d.ts +35 -35
- package/dist/features/vehicle/data/dto/VehicleWarrantyDTO.d.ts +9 -9
- package/dist/features/vehicle/data/dto/index.d.ts +20 -20
- package/dist/features/vehicle/data/enums/index.d.ts +40 -40
- package/dist/features/vehicle/data/index.d.ts +3 -3
- package/dist/features/vehicle/data/utilities.d.ts +185 -185
- package/dist/features/vehicle/index.d.ts +1 -1
- package/dist/features/vehicle-reservations/data/dto/VehicleReservationDTO.d.ts +106 -106
- package/dist/features/vehicle-reservations/data/dto/index.d.ts +1 -1
- package/dist/features/vehicle-reservations/data/enums/finance-type.d.ts +5 -5
- package/dist/features/vehicle-reservations/data/enums/index.d.ts +3 -3
- package/dist/features/vehicle-reservations/data/enums/reservation-type.d.ts +9 -9
- package/dist/features/vehicle-reservations/data/enums/vehicle-reservation-type.d.ts +4 -4
- package/dist/features/vehicle-reservations/index.d.ts +2 -2
- package/dist/global/dto/BaseGetDTO.d.ts +8 -8
- package/dist/global/dto/index.d.ts +1 -1
- package/dist/global/index.d.ts +2 -2
- package/dist/global/utilities.d.ts +53 -53
- package/dist/index.d.ts +5 -5
- package/dist/models.d.ts +1 -1
- package/package.json +62 -62
|
@@ -1,147 +1,147 @@
|
|
|
1
|
-
export declare enum InspectionStatus {
|
|
2
|
-
PERFECT = "Perfect",
|
|
3
|
-
IMPERFECTIONS = "Imperfections",
|
|
4
|
-
NOT_APPLICABLE = "Not Applicable"
|
|
5
|
-
}
|
|
6
|
-
export declare class InspectionPointDTO {
|
|
7
|
-
status: InspectionStatus;
|
|
8
|
-
imperfections?: string;
|
|
9
|
-
constructor(status?: InspectionStatus);
|
|
10
|
-
}
|
|
11
|
-
export declare abstract class BaseInspectionDTO {
|
|
12
|
-
validate(): string[];
|
|
13
|
-
static fromPlain<T>(this: new () => T, plain: Record<string, unknown>): T;
|
|
14
|
-
toPlain(): Record<string, unknown>;
|
|
15
|
-
}
|
|
16
|
-
export declare class ExteriorInspectionDTO extends BaseInspectionDTO {
|
|
17
|
-
frontLeftDoor: InspectionPointDTO;
|
|
18
|
-
frontRightDoor: InspectionPointDTO;
|
|
19
|
-
rearLeftDoor: InspectionPointDTO;
|
|
20
|
-
rearRightDoor: InspectionPointDTO;
|
|
21
|
-
leftFender: InspectionPointDTO;
|
|
22
|
-
rightFender: InspectionPointDTO;
|
|
23
|
-
frontBumper: InspectionPointDTO;
|
|
24
|
-
rearBumper: InspectionPointDTO;
|
|
25
|
-
hood: InspectionPointDTO;
|
|
26
|
-
trunk: InspectionPointDTO;
|
|
27
|
-
roof: InspectionPointDTO;
|
|
28
|
-
leftQuarterPanel: InspectionPointDTO;
|
|
29
|
-
rightQuarterPanel: InspectionPointDTO;
|
|
30
|
-
leftAPillar: InspectionPointDTO;
|
|
31
|
-
rightAPillar: InspectionPointDTO;
|
|
32
|
-
leftAtoBPillarBeading: InspectionPointDTO;
|
|
33
|
-
rightAtoBPillarBeading: InspectionPointDTO;
|
|
34
|
-
leftBPillarTrim: InspectionPointDTO;
|
|
35
|
-
rightBtoCPillarBeading: InspectionPointDTO;
|
|
36
|
-
leftRunningBoard: InspectionPointDTO;
|
|
37
|
-
rightRunningBoard: InspectionPointDTO;
|
|
38
|
-
frontWindshield: InspectionPointDTO;
|
|
39
|
-
rearWindshield: InspectionPointDTO;
|
|
40
|
-
chassisCondition: InspectionPointDTO;
|
|
41
|
-
apron: InspectionPointDTO;
|
|
42
|
-
bootFloor: InspectionPointDTO;
|
|
43
|
-
firewallCondition: InspectionPointDTO;
|
|
44
|
-
leftFrontAlloyRim: InspectionPointDTO;
|
|
45
|
-
leftRearAlloyRim: InspectionPointDTO;
|
|
46
|
-
rightFrontAlloyRim: InspectionPointDTO;
|
|
47
|
-
rightRearAlloyRim: InspectionPointDTO;
|
|
48
|
-
spareAlloyRimCondition: InspectionPointDTO;
|
|
49
|
-
wheelCover: InspectionPointDTO;
|
|
50
|
-
grillCondition: InspectionPointDTO;
|
|
51
|
-
windowGlass: InspectionPointDTO;
|
|
52
|
-
wiper: InspectionPointDTO;
|
|
53
|
-
panelCondition: InspectionPointDTO;
|
|
54
|
-
constructor();
|
|
55
|
-
}
|
|
56
|
-
export declare class TyresInspectionDTO extends BaseInspectionDTO {
|
|
57
|
-
leftFrontTyre: InspectionPointDTO;
|
|
58
|
-
leftFrontTyreLife: number;
|
|
59
|
-
rightFrontTyre: InspectionPointDTO;
|
|
60
|
-
rightFrontTyreLife: number;
|
|
61
|
-
leftRearTyre: InspectionPointDTO;
|
|
62
|
-
leftRearTyreLife: number;
|
|
63
|
-
rightRearTyre: InspectionPointDTO;
|
|
64
|
-
rightRearTyreLife: number;
|
|
65
|
-
spareTyre: InspectionPointDTO;
|
|
66
|
-
spareTyreLife: number;
|
|
67
|
-
constructor();
|
|
68
|
-
}
|
|
69
|
-
export declare class SteeringAndSuspensionInspectionDTO extends BaseInspectionDTO {
|
|
70
|
-
steeringWheel: InspectionPointDTO;
|
|
71
|
-
parkingBrake: InspectionPointDTO;
|
|
72
|
-
brakeMasterCylinder: InspectionPointDTO;
|
|
73
|
-
brakeDiscAndPad: InspectionPointDTO;
|
|
74
|
-
brakeFluid: InspectionPointDTO;
|
|
75
|
-
shockAbsorbers: InspectionPointDTO;
|
|
76
|
-
constructor();
|
|
77
|
-
}
|
|
78
|
-
export declare class InteriorInspectionDTO extends BaseInspectionDTO {
|
|
79
|
-
dashboard: InspectionPointDTO;
|
|
80
|
-
centralConsole: InspectionPointDTO;
|
|
81
|
-
gloveBox: InspectionPointDTO;
|
|
82
|
-
sunvisor: InspectionPointDTO;
|
|
83
|
-
seatUpholstery: InspectionPointDTO;
|
|
84
|
-
carpets: InspectionPointDTO;
|
|
85
|
-
headliner: InspectionPointDTO;
|
|
86
|
-
manualSeatMovement: InspectionPointDTO;
|
|
87
|
-
seatBelts: InspectionPointDTO;
|
|
88
|
-
headRest: InspectionPointDTO;
|
|
89
|
-
doorControls: InspectionPointDTO;
|
|
90
|
-
grabHandle: InspectionPointDTO;
|
|
91
|
-
rearViewMirror: InspectionPointDTO;
|
|
92
|
-
toolKit: InspectionPointDTO;
|
|
93
|
-
constructor();
|
|
94
|
-
}
|
|
95
|
-
export declare class EngineInspectionDTO extends BaseInspectionDTO {
|
|
96
|
-
engineBody: InspectionPointDTO;
|
|
97
|
-
enginePerformance: InspectionPointDTO;
|
|
98
|
-
engineOil: InspectionPointDTO;
|
|
99
|
-
exhaustSystem: InspectionPointDTO;
|
|
100
|
-
radiator: InspectionPointDTO;
|
|
101
|
-
coolant: InspectionPointDTO;
|
|
102
|
-
fuelTank: InspectionPointDTO;
|
|
103
|
-
gearShifting: InspectionPointDTO;
|
|
104
|
-
driveAxle: InspectionPointDTO;
|
|
105
|
-
transmissionFluid: InspectionPointDTO;
|
|
106
|
-
constructor();
|
|
107
|
-
}
|
|
108
|
-
export declare class ElectricalsInspectionDTO extends BaseInspectionDTO {
|
|
109
|
-
masterKey: InspectionPointDTO;
|
|
110
|
-
spareKey: InspectionPointDTO;
|
|
111
|
-
childSafetyLocking: InspectionPointDTO;
|
|
112
|
-
instrumentPanel: InspectionPointDTO;
|
|
113
|
-
airbags: InspectionPointDTO;
|
|
114
|
-
controls: InspectionPointDTO;
|
|
115
|
-
cruiseControl: InspectionPointDTO;
|
|
116
|
-
infotainmentDisplay: InspectionPointDTO;
|
|
117
|
-
obdConnector: InspectionPointDTO;
|
|
118
|
-
musicSystem: InspectionPointDTO;
|
|
119
|
-
headlight: InspectionPointDTO;
|
|
120
|
-
interiorLights: InspectionPointDTO;
|
|
121
|
-
tailLightCluster: InspectionPointDTO;
|
|
122
|
-
licensePlateLight: InspectionPointDTO;
|
|
123
|
-
acCooling: InspectionPointDTO;
|
|
124
|
-
acSwitch: InspectionPointDTO;
|
|
125
|
-
acLeaks: InspectionPointDTO;
|
|
126
|
-
centerAcVent: InspectionPointDTO;
|
|
127
|
-
frontRightAcVent: InspectionPointDTO;
|
|
128
|
-
heater: InspectionPointDTO;
|
|
129
|
-
parkingSensors: InspectionPointDTO;
|
|
130
|
-
rearDefogger: InspectionPointDTO;
|
|
131
|
-
usbChargingPort: InspectionPointDTO;
|
|
132
|
-
powerManualWindows: InspectionPointDTO;
|
|
133
|
-
constructor();
|
|
134
|
-
}
|
|
135
|
-
export declare class VehicleInspectionDTO {
|
|
136
|
-
vehicle: string;
|
|
137
|
-
inspectorId?: string;
|
|
138
|
-
exterior: ExteriorInspectionDTO;
|
|
139
|
-
steeringAndSuspension: SteeringAndSuspensionInspectionDTO;
|
|
140
|
-
interior: InteriorInspectionDTO;
|
|
141
|
-
engine: EngineInspectionDTO;
|
|
142
|
-
electricals: ElectricalsInspectionDTO;
|
|
143
|
-
tyres: TyresInspectionDTO;
|
|
144
|
-
validate(): string[];
|
|
145
|
-
static fromPlain(plain: Record<string, unknown>): VehicleInspectionDTO;
|
|
146
|
-
toPlain(): Record<string, unknown>;
|
|
147
|
-
}
|
|
1
|
+
export declare enum InspectionStatus {
|
|
2
|
+
PERFECT = "Perfect",
|
|
3
|
+
IMPERFECTIONS = "Imperfections",
|
|
4
|
+
NOT_APPLICABLE = "Not Applicable"
|
|
5
|
+
}
|
|
6
|
+
export declare class InspectionPointDTO {
|
|
7
|
+
status: InspectionStatus;
|
|
8
|
+
imperfections?: string;
|
|
9
|
+
constructor(status?: InspectionStatus);
|
|
10
|
+
}
|
|
11
|
+
export declare abstract class BaseInspectionDTO {
|
|
12
|
+
validate(): string[];
|
|
13
|
+
static fromPlain<T>(this: new () => T, plain: Record<string, unknown>): T;
|
|
14
|
+
toPlain(): Record<string, unknown>;
|
|
15
|
+
}
|
|
16
|
+
export declare class ExteriorInspectionDTO extends BaseInspectionDTO {
|
|
17
|
+
frontLeftDoor: InspectionPointDTO;
|
|
18
|
+
frontRightDoor: InspectionPointDTO;
|
|
19
|
+
rearLeftDoor: InspectionPointDTO;
|
|
20
|
+
rearRightDoor: InspectionPointDTO;
|
|
21
|
+
leftFender: InspectionPointDTO;
|
|
22
|
+
rightFender: InspectionPointDTO;
|
|
23
|
+
frontBumper: InspectionPointDTO;
|
|
24
|
+
rearBumper: InspectionPointDTO;
|
|
25
|
+
hood: InspectionPointDTO;
|
|
26
|
+
trunk: InspectionPointDTO;
|
|
27
|
+
roof: InspectionPointDTO;
|
|
28
|
+
leftQuarterPanel: InspectionPointDTO;
|
|
29
|
+
rightQuarterPanel: InspectionPointDTO;
|
|
30
|
+
leftAPillar: InspectionPointDTO;
|
|
31
|
+
rightAPillar: InspectionPointDTO;
|
|
32
|
+
leftAtoBPillarBeading: InspectionPointDTO;
|
|
33
|
+
rightAtoBPillarBeading: InspectionPointDTO;
|
|
34
|
+
leftBPillarTrim: InspectionPointDTO;
|
|
35
|
+
rightBtoCPillarBeading: InspectionPointDTO;
|
|
36
|
+
leftRunningBoard: InspectionPointDTO;
|
|
37
|
+
rightRunningBoard: InspectionPointDTO;
|
|
38
|
+
frontWindshield: InspectionPointDTO;
|
|
39
|
+
rearWindshield: InspectionPointDTO;
|
|
40
|
+
chassisCondition: InspectionPointDTO;
|
|
41
|
+
apron: InspectionPointDTO;
|
|
42
|
+
bootFloor: InspectionPointDTO;
|
|
43
|
+
firewallCondition: InspectionPointDTO;
|
|
44
|
+
leftFrontAlloyRim: InspectionPointDTO;
|
|
45
|
+
leftRearAlloyRim: InspectionPointDTO;
|
|
46
|
+
rightFrontAlloyRim: InspectionPointDTO;
|
|
47
|
+
rightRearAlloyRim: InspectionPointDTO;
|
|
48
|
+
spareAlloyRimCondition: InspectionPointDTO;
|
|
49
|
+
wheelCover: InspectionPointDTO;
|
|
50
|
+
grillCondition: InspectionPointDTO;
|
|
51
|
+
windowGlass: InspectionPointDTO;
|
|
52
|
+
wiper: InspectionPointDTO;
|
|
53
|
+
panelCondition: InspectionPointDTO;
|
|
54
|
+
constructor();
|
|
55
|
+
}
|
|
56
|
+
export declare class TyresInspectionDTO extends BaseInspectionDTO {
|
|
57
|
+
leftFrontTyre: InspectionPointDTO;
|
|
58
|
+
leftFrontTyreLife: number;
|
|
59
|
+
rightFrontTyre: InspectionPointDTO;
|
|
60
|
+
rightFrontTyreLife: number;
|
|
61
|
+
leftRearTyre: InspectionPointDTO;
|
|
62
|
+
leftRearTyreLife: number;
|
|
63
|
+
rightRearTyre: InspectionPointDTO;
|
|
64
|
+
rightRearTyreLife: number;
|
|
65
|
+
spareTyre: InspectionPointDTO;
|
|
66
|
+
spareTyreLife: number;
|
|
67
|
+
constructor();
|
|
68
|
+
}
|
|
69
|
+
export declare class SteeringAndSuspensionInspectionDTO extends BaseInspectionDTO {
|
|
70
|
+
steeringWheel: InspectionPointDTO;
|
|
71
|
+
parkingBrake: InspectionPointDTO;
|
|
72
|
+
brakeMasterCylinder: InspectionPointDTO;
|
|
73
|
+
brakeDiscAndPad: InspectionPointDTO;
|
|
74
|
+
brakeFluid: InspectionPointDTO;
|
|
75
|
+
shockAbsorbers: InspectionPointDTO;
|
|
76
|
+
constructor();
|
|
77
|
+
}
|
|
78
|
+
export declare class InteriorInspectionDTO extends BaseInspectionDTO {
|
|
79
|
+
dashboard: InspectionPointDTO;
|
|
80
|
+
centralConsole: InspectionPointDTO;
|
|
81
|
+
gloveBox: InspectionPointDTO;
|
|
82
|
+
sunvisor: InspectionPointDTO;
|
|
83
|
+
seatUpholstery: InspectionPointDTO;
|
|
84
|
+
carpets: InspectionPointDTO;
|
|
85
|
+
headliner: InspectionPointDTO;
|
|
86
|
+
manualSeatMovement: InspectionPointDTO;
|
|
87
|
+
seatBelts: InspectionPointDTO;
|
|
88
|
+
headRest: InspectionPointDTO;
|
|
89
|
+
doorControls: InspectionPointDTO;
|
|
90
|
+
grabHandle: InspectionPointDTO;
|
|
91
|
+
rearViewMirror: InspectionPointDTO;
|
|
92
|
+
toolKit: InspectionPointDTO;
|
|
93
|
+
constructor();
|
|
94
|
+
}
|
|
95
|
+
export declare class EngineInspectionDTO extends BaseInspectionDTO {
|
|
96
|
+
engineBody: InspectionPointDTO;
|
|
97
|
+
enginePerformance: InspectionPointDTO;
|
|
98
|
+
engineOil: InspectionPointDTO;
|
|
99
|
+
exhaustSystem: InspectionPointDTO;
|
|
100
|
+
radiator: InspectionPointDTO;
|
|
101
|
+
coolant: InspectionPointDTO;
|
|
102
|
+
fuelTank: InspectionPointDTO;
|
|
103
|
+
gearShifting: InspectionPointDTO;
|
|
104
|
+
driveAxle: InspectionPointDTO;
|
|
105
|
+
transmissionFluid: InspectionPointDTO;
|
|
106
|
+
constructor();
|
|
107
|
+
}
|
|
108
|
+
export declare class ElectricalsInspectionDTO extends BaseInspectionDTO {
|
|
109
|
+
masterKey: InspectionPointDTO;
|
|
110
|
+
spareKey: InspectionPointDTO;
|
|
111
|
+
childSafetyLocking: InspectionPointDTO;
|
|
112
|
+
instrumentPanel: InspectionPointDTO;
|
|
113
|
+
airbags: InspectionPointDTO;
|
|
114
|
+
controls: InspectionPointDTO;
|
|
115
|
+
cruiseControl: InspectionPointDTO;
|
|
116
|
+
infotainmentDisplay: InspectionPointDTO;
|
|
117
|
+
obdConnector: InspectionPointDTO;
|
|
118
|
+
musicSystem: InspectionPointDTO;
|
|
119
|
+
headlight: InspectionPointDTO;
|
|
120
|
+
interiorLights: InspectionPointDTO;
|
|
121
|
+
tailLightCluster: InspectionPointDTO;
|
|
122
|
+
licensePlateLight: InspectionPointDTO;
|
|
123
|
+
acCooling: InspectionPointDTO;
|
|
124
|
+
acSwitch: InspectionPointDTO;
|
|
125
|
+
acLeaks: InspectionPointDTO;
|
|
126
|
+
centerAcVent: InspectionPointDTO;
|
|
127
|
+
frontRightAcVent: InspectionPointDTO;
|
|
128
|
+
heater: InspectionPointDTO;
|
|
129
|
+
parkingSensors: InspectionPointDTO;
|
|
130
|
+
rearDefogger: InspectionPointDTO;
|
|
131
|
+
usbChargingPort: InspectionPointDTO;
|
|
132
|
+
powerManualWindows: InspectionPointDTO;
|
|
133
|
+
constructor();
|
|
134
|
+
}
|
|
135
|
+
export declare class VehicleInspectionDTO {
|
|
136
|
+
vehicle: string;
|
|
137
|
+
inspectorId?: string;
|
|
138
|
+
exterior: ExteriorInspectionDTO;
|
|
139
|
+
steeringAndSuspension: SteeringAndSuspensionInspectionDTO;
|
|
140
|
+
interior: InteriorInspectionDTO;
|
|
141
|
+
engine: EngineInspectionDTO;
|
|
142
|
+
electricals: ElectricalsInspectionDTO;
|
|
143
|
+
tyres: TyresInspectionDTO;
|
|
144
|
+
validate(): string[];
|
|
145
|
+
static fromPlain(plain: Record<string, unknown>): VehicleInspectionDTO;
|
|
146
|
+
toPlain(): Record<string, unknown>;
|
|
147
|
+
}
|
|
@@ -1,52 +1,52 @@
|
|
|
1
|
-
import { VehicleMakeFilter, VehicleMakeOptions, VehicleMakeUniqueFilter } from "../utilities";
|
|
2
|
-
import { BaseCreateDTO, BaseUpdateDTO } from "./BaseDTO";
|
|
3
|
-
import { VehicleMake } from "../../../models";
|
|
4
|
-
export declare class VehicleMakeGetDTO {
|
|
5
|
-
filter?: VehicleMakeFilter;
|
|
6
|
-
options?: VehicleMakeOptions;
|
|
7
|
-
validate(): string[];
|
|
8
|
-
static fromPlain(plain: Record<string, unknown>): VehicleMakeGetDTO;
|
|
9
|
-
static toPlain(entity: any): Record<string, unknown>;
|
|
10
|
-
}
|
|
11
|
-
export type VehicleMakeApiResponse = Omit<VehicleMake, "createdBy" | "updatedBy" | "deletedBy" | "_id">;
|
|
12
|
-
export declare class VehicleMakeGetUniqueDTO {
|
|
13
|
-
filter?: VehicleMakeUniqueFilter;
|
|
14
|
-
options?: Omit<VehicleMakeOptions, "page" | "limit" | "sort">;
|
|
15
|
-
validate(): string[];
|
|
16
|
-
static fromPlain(plain: Record<string, unknown>): VehicleMakeGetUniqueDTO;
|
|
17
|
-
static toPlain(entity: any): Record<string, unknown>;
|
|
18
|
-
}
|
|
19
|
-
export declare class VehicleMakeCreateDTO extends BaseCreateDTO {
|
|
20
|
-
name: string;
|
|
21
|
-
image?: string;
|
|
22
|
-
description?: string;
|
|
23
|
-
metaTitle?: string;
|
|
24
|
-
metaDescription?: string;
|
|
25
|
-
metaKeywords?: string;
|
|
26
|
-
promoted?: boolean;
|
|
27
|
-
showInFooter?: boolean;
|
|
28
|
-
validate(): string[];
|
|
29
|
-
static fromPlain(plain: Record<string, unknown>): VehicleMakeCreateDTO;
|
|
30
|
-
static toPlain(entity: any): Record<string, unknown>;
|
|
31
|
-
}
|
|
32
|
-
export declare class VehicleMakeUpdateDTO extends BaseUpdateDTO {
|
|
33
|
-
name?: string;
|
|
34
|
-
image?: string;
|
|
35
|
-
description?: string;
|
|
36
|
-
metaTitle?: string;
|
|
37
|
-
metaDescription?: string;
|
|
38
|
-
metaKeywords?: string;
|
|
39
|
-
promoted?: boolean;
|
|
40
|
-
showInFooter?: boolean;
|
|
41
|
-
isActive?: boolean;
|
|
42
|
-
validate(): string[];
|
|
43
|
-
static fromPlain(plain: Record<string, unknown>): VehicleMakeUpdateDTO;
|
|
44
|
-
static toPlain(entity: any): Record<string, unknown>;
|
|
45
|
-
}
|
|
46
|
-
export declare class DynamicMakeDTO {
|
|
47
|
-
existingId?: string;
|
|
48
|
-
new?: VehicleMakeCreateDTO;
|
|
49
|
-
validate(): void;
|
|
50
|
-
static fromPlain(plain: Record<string, unknown>): DynamicMakeDTO;
|
|
51
|
-
static toPlain(entity: any): Record<string, unknown>;
|
|
52
|
-
}
|
|
1
|
+
import { VehicleMakeFilter, VehicleMakeOptions, VehicleMakeUniqueFilter } from "../utilities";
|
|
2
|
+
import { BaseCreateDTO, BaseUpdateDTO } from "./BaseDTO";
|
|
3
|
+
import { VehicleMake } from "../../../models";
|
|
4
|
+
export declare class VehicleMakeGetDTO {
|
|
5
|
+
filter?: VehicleMakeFilter;
|
|
6
|
+
options?: VehicleMakeOptions;
|
|
7
|
+
validate(): string[];
|
|
8
|
+
static fromPlain(plain: Record<string, unknown>): VehicleMakeGetDTO;
|
|
9
|
+
static toPlain(entity: any): Record<string, unknown>;
|
|
10
|
+
}
|
|
11
|
+
export type VehicleMakeApiResponse = Omit<VehicleMake, "createdBy" | "updatedBy" | "deletedBy" | "_id">;
|
|
12
|
+
export declare class VehicleMakeGetUniqueDTO {
|
|
13
|
+
filter?: VehicleMakeUniqueFilter;
|
|
14
|
+
options?: Omit<VehicleMakeOptions, "page" | "limit" | "sort">;
|
|
15
|
+
validate(): string[];
|
|
16
|
+
static fromPlain(plain: Record<string, unknown>): VehicleMakeGetUniqueDTO;
|
|
17
|
+
static toPlain(entity: any): Record<string, unknown>;
|
|
18
|
+
}
|
|
19
|
+
export declare class VehicleMakeCreateDTO extends BaseCreateDTO {
|
|
20
|
+
name: string;
|
|
21
|
+
image?: string;
|
|
22
|
+
description?: string;
|
|
23
|
+
metaTitle?: string;
|
|
24
|
+
metaDescription?: string;
|
|
25
|
+
metaKeywords?: string;
|
|
26
|
+
promoted?: boolean;
|
|
27
|
+
showInFooter?: boolean;
|
|
28
|
+
validate(): string[];
|
|
29
|
+
static fromPlain(plain: Record<string, unknown>): VehicleMakeCreateDTO;
|
|
30
|
+
static toPlain(entity: any): Record<string, unknown>;
|
|
31
|
+
}
|
|
32
|
+
export declare class VehicleMakeUpdateDTO extends BaseUpdateDTO {
|
|
33
|
+
name?: string;
|
|
34
|
+
image?: string;
|
|
35
|
+
description?: string;
|
|
36
|
+
metaTitle?: string;
|
|
37
|
+
metaDescription?: string;
|
|
38
|
+
metaKeywords?: string;
|
|
39
|
+
promoted?: boolean;
|
|
40
|
+
showInFooter?: boolean;
|
|
41
|
+
isActive?: boolean;
|
|
42
|
+
validate(): string[];
|
|
43
|
+
static fromPlain(plain: Record<string, unknown>): VehicleMakeUpdateDTO;
|
|
44
|
+
static toPlain(entity: any): Record<string, unknown>;
|
|
45
|
+
}
|
|
46
|
+
export declare class DynamicMakeDTO {
|
|
47
|
+
existingId?: string;
|
|
48
|
+
new?: VehicleMakeCreateDTO;
|
|
49
|
+
validate(): void;
|
|
50
|
+
static fromPlain(plain: Record<string, unknown>): DynamicMakeDTO;
|
|
51
|
+
static toPlain(entity: any): Record<string, unknown>;
|
|
52
|
+
}
|
|
@@ -1,44 +1,44 @@
|
|
|
1
|
-
import { VehicleMediaType } from "../enums";
|
|
2
|
-
import { FileInput } from "../../../../core";
|
|
3
|
-
export declare class VehicleMediaCreateDTO {
|
|
4
|
-
vehicleId: string;
|
|
5
|
-
mediaType: VehicleMediaType;
|
|
6
|
-
mediaUrl: string;
|
|
7
|
-
placeholder?: string;
|
|
8
|
-
thumbnailUrl?: string;
|
|
9
|
-
mediaIndex: number;
|
|
10
|
-
isPrimary: boolean;
|
|
11
|
-
validate(): string[];
|
|
12
|
-
static fromPlain(plain: Record<string, unknown>): VehicleMediaCreateDTO;
|
|
13
|
-
static toPlain(entity: any): Record<string, unknown>;
|
|
14
|
-
}
|
|
15
|
-
export declare class VehicleMediaFilterDTO {
|
|
16
|
-
id?: string | string[];
|
|
17
|
-
vehicleId?: string | string[];
|
|
18
|
-
mediaType?: VehicleMediaType | VehicleMediaType[];
|
|
19
|
-
mediaUrl?: string | string[];
|
|
20
|
-
thumbnailUrl?: string | string[];
|
|
21
|
-
isPrimary?: boolean;
|
|
22
|
-
validate(): string[];
|
|
23
|
-
static fromPlain(plain: Record<string, unknown>): VehicleMediaFilterDTO;
|
|
24
|
-
}
|
|
25
|
-
export declare class VehicleMediaCreateS3UrlDTO {
|
|
26
|
-
files: FileInput[];
|
|
27
|
-
vehicle?: string;
|
|
28
|
-
folder?: string;
|
|
29
|
-
expiresIn?: number;
|
|
30
|
-
constructor();
|
|
31
|
-
}
|
|
32
|
-
export declare class S3MediaCreateURLDTO {
|
|
33
|
-
vehicleId?: string;
|
|
34
|
-
folder?: string;
|
|
35
|
-
files: FileInput[];
|
|
36
|
-
}
|
|
37
|
-
export declare class VehicleMediaUpdateDTO {
|
|
38
|
-
data: VehicleMediaCreateDTO[];
|
|
39
|
-
replace: boolean;
|
|
40
|
-
filter: VehicleMediaFilterDTO;
|
|
41
|
-
validate(): string[];
|
|
42
|
-
static fromPlain(plain: Record<string, unknown>): VehicleMediaUpdateDTO;
|
|
43
|
-
static toPlain(entity: any): Record<string, unknown>;
|
|
44
|
-
}
|
|
1
|
+
import { VehicleMediaType } from "../enums";
|
|
2
|
+
import { FileInput } from "../../../../core";
|
|
3
|
+
export declare class VehicleMediaCreateDTO {
|
|
4
|
+
vehicleId: string;
|
|
5
|
+
mediaType: VehicleMediaType;
|
|
6
|
+
mediaUrl: string;
|
|
7
|
+
placeholder?: string;
|
|
8
|
+
thumbnailUrl?: string;
|
|
9
|
+
mediaIndex: number;
|
|
10
|
+
isPrimary: boolean;
|
|
11
|
+
validate(): string[];
|
|
12
|
+
static fromPlain(plain: Record<string, unknown>): VehicleMediaCreateDTO;
|
|
13
|
+
static toPlain(entity: any): Record<string, unknown>;
|
|
14
|
+
}
|
|
15
|
+
export declare class VehicleMediaFilterDTO {
|
|
16
|
+
id?: string | string[];
|
|
17
|
+
vehicleId?: string | string[];
|
|
18
|
+
mediaType?: VehicleMediaType | VehicleMediaType[];
|
|
19
|
+
mediaUrl?: string | string[];
|
|
20
|
+
thumbnailUrl?: string | string[];
|
|
21
|
+
isPrimary?: boolean;
|
|
22
|
+
validate(): string[];
|
|
23
|
+
static fromPlain(plain: Record<string, unknown>): VehicleMediaFilterDTO;
|
|
24
|
+
}
|
|
25
|
+
export declare class VehicleMediaCreateS3UrlDTO {
|
|
26
|
+
files: FileInput[];
|
|
27
|
+
vehicle?: string;
|
|
28
|
+
folder?: string;
|
|
29
|
+
expiresIn?: number;
|
|
30
|
+
constructor();
|
|
31
|
+
}
|
|
32
|
+
export declare class S3MediaCreateURLDTO {
|
|
33
|
+
vehicleId?: string;
|
|
34
|
+
folder?: string;
|
|
35
|
+
files: FileInput[];
|
|
36
|
+
}
|
|
37
|
+
export declare class VehicleMediaUpdateDTO {
|
|
38
|
+
data: VehicleMediaCreateDTO[];
|
|
39
|
+
replace: boolean;
|
|
40
|
+
filter: VehicleMediaFilterDTO;
|
|
41
|
+
validate(): string[];
|
|
42
|
+
static fromPlain(plain: Record<string, unknown>): VehicleMediaUpdateDTO;
|
|
43
|
+
static toPlain(entity: any): Record<string, unknown>;
|
|
44
|
+
}
|
|
@@ -1,50 +1,50 @@
|
|
|
1
|
-
import { BaseCreateDTO, BaseUpdateDTO } from "./BaseDTO";
|
|
2
|
-
import { Vehicle } from "../../../models/Vehicle";
|
|
3
|
-
import { VehicleMake } from "../../../models/VehicleMake";
|
|
4
|
-
import { VehicleModelFilter, VehicleModelOptions, VehicleModelUniqueFilter } from "../utilities";
|
|
5
|
-
export declare class VehicleModelGetDTO {
|
|
6
|
-
filter?: VehicleModelFilter;
|
|
7
|
-
options?: VehicleModelOptions;
|
|
8
|
-
validate(): string[];
|
|
9
|
-
static fromPlain(plain: Record<string, unknown>): VehicleModelGetDTO;
|
|
10
|
-
static toPlain(entity: any): Record<string, unknown>;
|
|
11
|
-
}
|
|
12
|
-
export declare class VehicleModelGetUniqueDTO {
|
|
13
|
-
filter?: VehicleModelUniqueFilter;
|
|
14
|
-
options?: Omit<VehicleModelOptions, "page" | "limit" | "sort">;
|
|
15
|
-
validate(): string[];
|
|
16
|
-
static fromPlain(plain: Record<string, unknown>): VehicleModelGetUniqueDTO;
|
|
17
|
-
toPlain(): Record<string, unknown>;
|
|
18
|
-
}
|
|
19
|
-
export declare class VehicleModelCreateDTO extends BaseCreateDTO {
|
|
20
|
-
name: string;
|
|
21
|
-
image?: string;
|
|
22
|
-
description?: string;
|
|
23
|
-
metaTitle?: string;
|
|
24
|
-
metaDescription?: string;
|
|
25
|
-
metaKeywords?: string;
|
|
26
|
-
make: VehicleMake;
|
|
27
|
-
vehicles?: Vehicle[];
|
|
28
|
-
validate(): string[];
|
|
29
|
-
static fromPlain(plain: Record<string, unknown>): VehicleModelCreateDTO;
|
|
30
|
-
static toPlain(entity: any): Record<string, unknown>;
|
|
31
|
-
}
|
|
32
|
-
export declare class VehicleModelUpdateDTO extends BaseUpdateDTO {
|
|
33
|
-
name?: string;
|
|
34
|
-
image?: string;
|
|
35
|
-
description?: string;
|
|
36
|
-
metaTitle?: string;
|
|
37
|
-
metaDescription?: string;
|
|
38
|
-
metaKeywords?: string;
|
|
39
|
-
isActive?: boolean;
|
|
40
|
-
validate(): string[];
|
|
41
|
-
static fromPlain(plain: Record<string, unknown>): VehicleModelUpdateDTO;
|
|
42
|
-
static toPlain(entity: any): Record<string, unknown>;
|
|
43
|
-
}
|
|
44
|
-
export declare class DynamicModelDTO {
|
|
45
|
-
existingId?: string;
|
|
46
|
-
new?: VehicleModelCreateDTO;
|
|
47
|
-
validate(): void;
|
|
48
|
-
static fromPlain(plain: Record<string, unknown>): DynamicModelDTO;
|
|
49
|
-
static toPlain(entity: any): Record<string, unknown>;
|
|
50
|
-
}
|
|
1
|
+
import { BaseCreateDTO, BaseUpdateDTO } from "./BaseDTO";
|
|
2
|
+
import { Vehicle } from "../../../models/Vehicle";
|
|
3
|
+
import { VehicleMake } from "../../../models/VehicleMake";
|
|
4
|
+
import { VehicleModelFilter, VehicleModelOptions, VehicleModelUniqueFilter } from "../utilities";
|
|
5
|
+
export declare class VehicleModelGetDTO {
|
|
6
|
+
filter?: VehicleModelFilter;
|
|
7
|
+
options?: VehicleModelOptions;
|
|
8
|
+
validate(): string[];
|
|
9
|
+
static fromPlain(plain: Record<string, unknown>): VehicleModelGetDTO;
|
|
10
|
+
static toPlain(entity: any): Record<string, unknown>;
|
|
11
|
+
}
|
|
12
|
+
export declare class VehicleModelGetUniqueDTO {
|
|
13
|
+
filter?: VehicleModelUniqueFilter;
|
|
14
|
+
options?: Omit<VehicleModelOptions, "page" | "limit" | "sort">;
|
|
15
|
+
validate(): string[];
|
|
16
|
+
static fromPlain(plain: Record<string, unknown>): VehicleModelGetUniqueDTO;
|
|
17
|
+
toPlain(): Record<string, unknown>;
|
|
18
|
+
}
|
|
19
|
+
export declare class VehicleModelCreateDTO extends BaseCreateDTO {
|
|
20
|
+
name: string;
|
|
21
|
+
image?: string;
|
|
22
|
+
description?: string;
|
|
23
|
+
metaTitle?: string;
|
|
24
|
+
metaDescription?: string;
|
|
25
|
+
metaKeywords?: string;
|
|
26
|
+
make: VehicleMake;
|
|
27
|
+
vehicles?: Vehicle[];
|
|
28
|
+
validate(): string[];
|
|
29
|
+
static fromPlain(plain: Record<string, unknown>): VehicleModelCreateDTO;
|
|
30
|
+
static toPlain(entity: any): Record<string, unknown>;
|
|
31
|
+
}
|
|
32
|
+
export declare class VehicleModelUpdateDTO extends BaseUpdateDTO {
|
|
33
|
+
name?: string;
|
|
34
|
+
image?: string;
|
|
35
|
+
description?: string;
|
|
36
|
+
metaTitle?: string;
|
|
37
|
+
metaDescription?: string;
|
|
38
|
+
metaKeywords?: string;
|
|
39
|
+
isActive?: boolean;
|
|
40
|
+
validate(): string[];
|
|
41
|
+
static fromPlain(plain: Record<string, unknown>): VehicleModelUpdateDTO;
|
|
42
|
+
static toPlain(entity: any): Record<string, unknown>;
|
|
43
|
+
}
|
|
44
|
+
export declare class DynamicModelDTO {
|
|
45
|
+
existingId?: string;
|
|
46
|
+
new?: VehicleModelCreateDTO;
|
|
47
|
+
validate(): void;
|
|
48
|
+
static fromPlain(plain: Record<string, unknown>): DynamicModelDTO;
|
|
49
|
+
static toPlain(entity: any): Record<string, unknown>;
|
|
50
|
+
}
|
|
@@ -1,34 +1,34 @@
|
|
|
1
|
-
export declare class VehicleOrderGetDTO {
|
|
2
|
-
id: string;
|
|
3
|
-
userId: string;
|
|
4
|
-
vehicleId: string;
|
|
5
|
-
paymentId: string;
|
|
6
|
-
orderAmount: number;
|
|
7
|
-
reservationComment: string;
|
|
8
|
-
cancellationComment: string;
|
|
9
|
-
status: string;
|
|
10
|
-
static fromEntity(entity: any): VehicleOrderGetDTO;
|
|
11
|
-
toPlain(): Record<string, unknown>;
|
|
12
|
-
}
|
|
13
|
-
export declare class VehicleOrderCreateDTO {
|
|
14
|
-
userId: string;
|
|
15
|
-
vehicleId: string;
|
|
16
|
-
paymentId: string;
|
|
17
|
-
orderAmount: number;
|
|
18
|
-
reservationComment: string;
|
|
19
|
-
cancellationComment: string;
|
|
20
|
-
status: string;
|
|
21
|
-
validate(): string[];
|
|
22
|
-
static fromPlain(plain: Record<string, unknown>): VehicleOrderCreateDTO;
|
|
23
|
-
}
|
|
24
|
-
export declare class VehicleOrderUpdateDTO {
|
|
25
|
-
userId?: string;
|
|
26
|
-
vehicleId?: string;
|
|
27
|
-
paymentId?: string;
|
|
28
|
-
orderAmount?: number;
|
|
29
|
-
reservationComment?: string;
|
|
30
|
-
cancellationComment?: string;
|
|
31
|
-
status?: string;
|
|
32
|
-
validate(): string[];
|
|
33
|
-
static fromPlain(plain: Record<string, unknown>): VehicleOrderUpdateDTO;
|
|
34
|
-
}
|
|
1
|
+
export declare class VehicleOrderGetDTO {
|
|
2
|
+
id: string;
|
|
3
|
+
userId: string;
|
|
4
|
+
vehicleId: string;
|
|
5
|
+
paymentId: string;
|
|
6
|
+
orderAmount: number;
|
|
7
|
+
reservationComment: string;
|
|
8
|
+
cancellationComment: string;
|
|
9
|
+
status: string;
|
|
10
|
+
static fromEntity(entity: any): VehicleOrderGetDTO;
|
|
11
|
+
toPlain(): Record<string, unknown>;
|
|
12
|
+
}
|
|
13
|
+
export declare class VehicleOrderCreateDTO {
|
|
14
|
+
userId: string;
|
|
15
|
+
vehicleId: string;
|
|
16
|
+
paymentId: string;
|
|
17
|
+
orderAmount: number;
|
|
18
|
+
reservationComment: string;
|
|
19
|
+
cancellationComment: string;
|
|
20
|
+
status: string;
|
|
21
|
+
validate(): string[];
|
|
22
|
+
static fromPlain(plain: Record<string, unknown>): VehicleOrderCreateDTO;
|
|
23
|
+
}
|
|
24
|
+
export declare class VehicleOrderUpdateDTO {
|
|
25
|
+
userId?: string;
|
|
26
|
+
vehicleId?: string;
|
|
27
|
+
paymentId?: string;
|
|
28
|
+
orderAmount?: number;
|
|
29
|
+
reservationComment?: string;
|
|
30
|
+
cancellationComment?: string;
|
|
31
|
+
status?: string;
|
|
32
|
+
validate(): string[];
|
|
33
|
+
static fromPlain(plain: Record<string, unknown>): VehicleOrderUpdateDTO;
|
|
34
|
+
}
|