@alba-cars/common-modules 3.0.0-alpha → 3.0.0-alpha.1

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.
@@ -0,0 +1 @@
1
+ {"type":"module"}
@@ -4,6 +4,9 @@ export declare class BankValuationRequestCreateDto {
4
4
  name: string;
5
5
  email?: string;
6
6
  phone: string;
7
+ clientName?: string | null;
8
+ clientEmail?: string | null;
9
+ clientPhone?: string | null;
7
10
  bankName: string;
8
11
  bankerEmail?: string;
9
12
  makeDealDriveId?: string;
@@ -31,6 +34,8 @@ export declare class BankValuationRequestCreateDto {
31
34
  bankApplicationId?: string;
32
35
  dealDriveEstimatedPrice?: number;
33
36
  marketing?: MarketingData;
37
+ clientMileage?: number | null;
38
+ mileageUnit?: "km" | "miles";
34
39
  }
35
40
  export declare class BankValuationRequestUpdateDto {
36
41
  comments?: string;
@@ -1,4 +1,8 @@
1
1
  import { DateFilter, TypedFilter } from "../../../../global/utilities";
2
+ declare class BlogFaqItem {
3
+ question: string;
4
+ answer: string;
5
+ }
2
6
  export declare class BlogFilter extends TypedFilter {
3
7
  title?: string | string[];
4
8
  slug?: string | string[];
@@ -25,6 +29,8 @@ export declare class BlogGetDTO {
25
29
  slug: string;
26
30
  status: string;
27
31
  createdById: string;
32
+ faq?: BlogFaqItem[];
33
+ audioUrl?: string;
28
34
  filters?: BlogFilter;
29
35
  options?: BlogGetDTOOptions;
30
36
  static fromEntity(entity: any): BlogGetDTO;
@@ -43,6 +49,8 @@ export declare class BlogCreateDTO {
43
49
  metaKeywords: string;
44
50
  slug: string;
45
51
  status: string;
52
+ faq?: BlogFaqItem[];
53
+ audioUrl?: string;
46
54
  validate(): string[];
47
55
  static fromPlain(plain: Record<string, unknown>): BlogCreateDTO;
48
56
  }
@@ -57,6 +65,9 @@ export declare class BlogUpdateDTO {
57
65
  metaKeywords?: string;
58
66
  slug?: string;
59
67
  status?: string;
68
+ faq?: BlogFaqItem[];
69
+ audioUrl?: string;
60
70
  validate(): string[];
61
71
  static fromPlain(plain: Record<string, unknown>): BlogUpdateDTO;
62
72
  }
73
+ export {};
@@ -16,6 +16,9 @@ export declare class BankValuationRequest {
16
16
  name: string;
17
17
  email: string;
18
18
  phone: string;
19
+ clientName?: string | null;
20
+ clientEmail?: string | null;
21
+ clientPhone?: string | null;
19
22
  bankName: string;
20
23
  bankerEmail?: string;
21
24
  makeDealDriveId?: string;
@@ -55,4 +58,6 @@ export declare class BankValuationRequest {
55
58
  isDeleted: boolean;
56
59
  deletedAt?: Date | null;
57
60
  deletedReason?: string | null;
61
+ clientMileage?: number | null;
62
+ mileageUnit: "km" | "miles";
58
63
  }
@@ -62,7 +62,13 @@ export declare class Vehicle extends BaseModel {
62
62
  dubiCarsAdId?: string;
63
63
  marketingTitle?: string;
64
64
  batteryWarranty?: string;
65
+ interiorColor?: string;
65
66
  soldAt?: Date;
67
+ lastPublishedAt?: Date;
68
+ isBrandNew: boolean;
69
+ isPinned: boolean;
70
+ isOnSale: boolean;
71
+ useCustomTitle: boolean;
66
72
  static fromPlain(plain: Record<string, unknown>): Vehicle;
67
73
  toPlain(): Record<string, unknown>;
68
74
  }
@@ -21,4 +21,9 @@ export declare class VehicleFinance extends BaseModel {
21
21
  vehicle: Vehicle;
22
22
  installmentAvailable: boolean;
23
23
  effectivePrice: number;
24
+ salePrice?: number;
25
+ saleStartsAt?: Date;
26
+ saleExpiresAt?: Date;
27
+ saleMonthlyInstallment?: number;
28
+ isTimedSaleActive: boolean;
24
29
  }
@@ -8,5 +8,9 @@ export declare class VehicleMedia extends BaseModel {
8
8
  thumbnailUrl: string;
9
9
  isPrimary: boolean;
10
10
  placeholder?: string;
11
+ videoRole?: string | null;
12
+ sourceType?: string | null;
13
+ s3Bucket?: string | null;
14
+ s3Region?: string | null;
11
15
  vehicle: Vehicle;
12
16
  }
@@ -17,7 +17,21 @@ export declare enum Designation {
17
17
  DIRECTOR_OF_TECHNOLOGY = "Director of Technology",
18
18
  PURCHASE_EXECUTIVE = "Purchase Executive",
19
19
  RELATIONSHIP_MANAGER = "Relationship Manager",
20
- SALES_CONTROLLER = "Sales Controller"
20
+ SALES_CONTROLLER = "Sales Controller",
21
+ LOGISTICS_MANAGER = "Logistics Manager",
22
+ MARKETING_OPERATIONS_MANAGER = "Marketing Operations Manager",
23
+ CALL_CENTER_MANAGER = "Call Center Manager",
24
+ TEAM_LEADER = "Team Leader",
25
+ BUSINESS_OPERATIONS_MANAGER = "Business Operations Manager",
26
+ BUSINESS_RELATIONSHIP_MANAGER = "Business Relationship Manager",
27
+ SENIOR_PURCHASE_EXECUTIVE = "Senior Purchase Executive",
28
+ F_I_TEAM_LEADER = "F & I Team Leader",
29
+ F_I_COORDINATOR = "F & I Coordinator",
30
+ HANDOVER_FINANCE_SPECIALIST = "Handover & Finance Specialist",
31
+ FINANCE_INSURANCE_COORDINATOR = "Finance & Insurance Coordinator",
32
+ FINANCE_INSURANCE_TEAM_LEADER = "Finance & Insurance Team Leader",
33
+ CUSTOMER_CARE_SPECIALIST = "Customer Care Specialist",
34
+ AFTER_SALES_COORDINATOR = "After Sales Coordinator"
21
35
  }
22
36
  export declare enum TeamCategory {
23
37
  SALES = "sales",
@@ -147,7 +161,7 @@ export declare class SalesAgentResponseDTO {
147
161
  }
148
162
  export declare class SalesAgentCreateDTO {
149
163
  name: string;
150
- phone: string;
164
+ phone?: string;
151
165
  email: string;
152
166
  sortOrder?: number;
153
167
  photo?: string;
@@ -73,7 +73,11 @@ export declare class VehicleCreateDTO extends BaseCreateDTO {
73
73
  metaData?: VehicleMetaDataDTO;
74
74
  marketingTitle?: string;
75
75
  batteryWarranty?: string;
76
+ interiorColor?: string;
76
77
  isDraft?: boolean;
78
+ isBrandNew?: boolean;
79
+ isPinned?: boolean;
80
+ isOnSale?: boolean;
77
81
  pageNo?: number;
78
82
  draft?: VehicleDraft;
79
83
  validate(): string[];
@@ -124,6 +128,10 @@ export declare class VehicleUpdateDTO extends BaseUpdateDTO {
124
128
  pageNo?: number;
125
129
  marketingTitle?: string;
126
130
  batteryWarranty?: string;
131
+ interiorColor?: string;
132
+ isBrandNew?: boolean;
133
+ isPinned?: boolean;
134
+ isOnSale?: boolean;
127
135
  features: VehicleFeaturesUpdateDTO;
128
136
  metaData: VehicleMetaDataDTO;
129
137
  validate(): string[];
@@ -214,7 +214,12 @@ export declare class VehicleFilter extends BaseFilter {
214
214
  warranty?: string;
215
215
  compareCarId?: string;
216
216
  specialDeals?: boolean;
217
+ isPostedOnDubiCars?: boolean | "true" | "false";
218
+ isSignature?: "true" | "false" | "0" | "1";
219
+ isBrandNew?: "true" | "false" | "0" | "1";
217
220
  soldAt?: DateFilter;
221
+ interiorColor?: string;
222
+ isPinned?: boolean;
218
223
  validate?(): string[];
219
224
  static fromPlain(plain: Record<string, unknown>): VehicleFilter;
220
225
  static toPlain(entity: any): Record<string, unknown>;
@@ -246,6 +251,7 @@ export declare class VehicleOptions extends PaginationOptions {
246
251
  withMetaData?: boolean;
247
252
  withFinance?: boolean;
248
253
  withInspection?: boolean;
254
+ excludePinned?: boolean;
249
255
  validate?(): string[];
250
256
  static fromPlain(plain: Record<string, unknown>): VehicleOptions;
251
257
  static toPlain(entity: any): Record<string, unknown>;