@alba-cars/common-modules 2.6.1 → 2.7.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.
- package/dist/core/network/endpoint-config.d.ts +1 -0
- package/dist/features/bank-valuation-request/data/dto/BankValuationRequestDTO.d.ts +11 -0
- package/dist/features/models/BankValuationResult.d.ts +22 -0
- package/dist/features/models/index.d.ts +2 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
|
@@ -117,6 +117,7 @@ type APIEndpointType = {
|
|
|
117
117
|
exchangeCarRequest: ExchangeCarRequestEndpoints;
|
|
118
118
|
dubiCars: DubiCarsEndpoints;
|
|
119
119
|
colors: ColorEndpoints;
|
|
120
|
+
bankValuationResult: BaseEndpoint;
|
|
120
121
|
};
|
|
121
122
|
export declare const API_ENDPOINTS: APIEndpointType;
|
|
122
123
|
export declare const UTIL_ENDPOINTS: {
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { MarketingData } from "../../../../core";
|
|
2
|
+
import { BankValuationActionType } from "../../../models/BankValuationResult";
|
|
2
3
|
export declare class BankValuationRequestCreateDto {
|
|
3
4
|
name: string;
|
|
4
5
|
email?: string;
|
|
@@ -31,3 +32,13 @@ export declare class BankValuationRequestUpdateDto {
|
|
|
31
32
|
comments?: string;
|
|
32
33
|
status?: string;
|
|
33
34
|
}
|
|
35
|
+
export declare class BankValuationResultCreateDto {
|
|
36
|
+
bankValuationRequestId: string;
|
|
37
|
+
doneById: string;
|
|
38
|
+
action: BankValuationActionType;
|
|
39
|
+
rejectionReason?: string;
|
|
40
|
+
approvalComments?: string;
|
|
41
|
+
approvedValuation?: number;
|
|
42
|
+
dealDriveEstimatedPrice?: number;
|
|
43
|
+
certificateUrl?: string;
|
|
44
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { User } from "./_index";
|
|
2
|
+
import { BankValuationRequest } from "./BankValuationRequest";
|
|
3
|
+
export declare const BankValuationAction: {
|
|
4
|
+
readonly APPROVAL: "approval";
|
|
5
|
+
readonly REJECTION: "rejection";
|
|
6
|
+
readonly ISSUED_FOR_FREE: "issued_for_free";
|
|
7
|
+
};
|
|
8
|
+
export type BankValuationActionType = (typeof BankValuationAction)[keyof typeof BankValuationAction];
|
|
9
|
+
export declare class BankValuationResult {
|
|
10
|
+
id: string;
|
|
11
|
+
refId: number;
|
|
12
|
+
action: BankValuationActionType;
|
|
13
|
+
doneBy: User;
|
|
14
|
+
bankValuationRequest: BankValuationRequest;
|
|
15
|
+
dealDriveEstimatedPrice?: number;
|
|
16
|
+
rejectionReason?: string;
|
|
17
|
+
approvalComments?: string;
|
|
18
|
+
approvedValuation?: number;
|
|
19
|
+
certificateUrl?: string;
|
|
20
|
+
createdAt: Date;
|
|
21
|
+
updatedAt: Date;
|
|
22
|
+
}
|
|
@@ -16,4 +16,5 @@ import { Lead } from "./Lead";
|
|
|
16
16
|
import { Ticket, TicketDocument, TicketMessage } from "./Ticket";
|
|
17
17
|
import { BankValuationRequest } from "./BankValuationRequest";
|
|
18
18
|
import { Color } from "./Color";
|
|
19
|
-
|
|
19
|
+
import { BankValuationResult } from "./BankValuationResult";
|
|
20
|
+
export { BaseModel, Vehicle, VehicleOrder, VehicleFeature, VehicleFeatureCategory, VehicleBodyType, Payment, User, VehicleFinance, VehicleMake, VehicleModel, VehicleMedia, VehicleMetaData, Deposit, Lead, Ticket, TicketDocument, TicketMessage, BankValuationRequest, Color, BankValuationResult, };
|