@alba-cars/common-modules 2.10.7 → 2.11.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.
@@ -64,6 +64,8 @@ export declare class Vehicle extends BaseModel {
64
64
  batteryWarranty?: string;
65
65
  interiorColor?: string;
66
66
  soldAt?: Date;
67
+ isBrandNew: boolean;
68
+ isPinned: boolean;
67
69
  static fromPlain(plain: Record<string, unknown>): Vehicle;
68
70
  toPlain(): Record<string, unknown>;
69
71
  }
@@ -17,7 +17,8 @@ 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"
21
22
  }
22
23
  export declare enum TeamCategory {
23
24
  SALES = "sales",
@@ -75,6 +75,8 @@ export declare class VehicleCreateDTO extends BaseCreateDTO {
75
75
  batteryWarranty?: string;
76
76
  interiorColor?: string;
77
77
  isDraft?: boolean;
78
+ isBrandNew?: boolean;
79
+ isPinned?: boolean;
78
80
  pageNo?: number;
79
81
  draft?: VehicleDraft;
80
82
  validate(): string[];
@@ -126,6 +128,8 @@ export declare class VehicleUpdateDTO extends BaseUpdateDTO {
126
128
  marketingTitle?: string;
127
129
  batteryWarranty?: string;
128
130
  interiorColor?: string;
131
+ isBrandNew?: boolean;
132
+ isPinned?: boolean;
129
133
  features: VehicleFeaturesUpdateDTO;
130
134
  metaData: VehicleMetaDataDTO;
131
135
  validate(): string[];
@@ -217,6 +217,8 @@ export declare class VehicleFilter extends BaseFilter {
217
217
  isPostedOnDubiCars?: boolean | "true" | "false";
218
218
  soldAt?: DateFilter;
219
219
  interiorColor?: string;
220
+ isBrandNew?: boolean;
221
+ isPinned?: boolean;
220
222
  validate?(): string[];
221
223
  static fromPlain(plain: Record<string, unknown>): VehicleFilter;
222
224
  static toPlain(entity: any): Record<string, unknown>;
@@ -248,6 +250,7 @@ export declare class VehicleOptions extends PaginationOptions {
248
250
  withMetaData?: boolean;
249
251
  withFinance?: boolean;
250
252
  withInspection?: boolean;
253
+ excludePinned?: boolean;
251
254
  validate?(): string[];
252
255
  static fromPlain(plain: Record<string, unknown>): VehicleOptions;
253
256
  static toPlain(entity: any): Record<string, unknown>;