@alba-cars/common-modules 2.4.4 → 2.4.6

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.
@@ -33,6 +33,7 @@ export declare class SellCarRequestDTO {
33
33
  createdAt?: Date;
34
34
  updatedAt?: Date;
35
35
  inspectionBookingDate?: Date;
36
+ status?: "SUBMITTED" | "DRAFT";
36
37
  validate(): string[];
37
38
  static fromPlain(plain: Record<string, unknown>): SellCarRequestDTO;
38
39
  toPlain(): Record<string, unknown>;
@@ -60,6 +61,7 @@ export declare class SellCarRequestCreateDTO {
60
61
  images: string[];
61
62
  media?: VehicleMediaCreateDTO[];
62
63
  inspectionBookingDate?: Date;
64
+ status?: "SUBMITTED" | "DRAFT";
63
65
  validate(): string[];
64
66
  static fromPlain(plain: Record<string, unknown>): SellCarRequestCreateDTO;
65
67
  toPlain(): Record<string, unknown>;
@@ -87,6 +89,7 @@ export declare class ExchangeCarRequestCreateDTO {
87
89
  images: string[];
88
90
  media?: VehicleMediaCreateDTO[];
89
91
  bookingDate?: Date;
92
+ status?: "SUBMITTED" | "DRAFT";
90
93
  validate(): string[];
91
94
  static fromPlain(plain: Record<string, unknown>): SellCarRequestCreateDTO;
92
95
  toPlain(): Record<string, unknown>;
@@ -110,7 +113,7 @@ export declare class SellCarRequestUpdateDTO {
110
113
  engineCapacity?: string;
111
114
  description?: string;
112
115
  inspectionBookingDate?: Date;
113
- status?: "pending" | "inspection_scheduled" | "inspected" | "valued" | "approved" | "rejected" | "completed";
116
+ status?: "SUBMITTED" | "DRAFT";
114
117
  additionalDetails?: {
115
118
  serviceHistory?: boolean;
116
119
  numberOfOwners?: number;
@@ -157,6 +160,7 @@ export declare class SellCarRequestResponseDTO {
157
160
  createdById?: string | null;
158
161
  updatedById?: string | null;
159
162
  deletedById?: string | null;
163
+ status?: "SUBMITTED" | "DRAFT";
160
164
  validate(): string[];
161
165
  static fromPlain(plain: Record<string, unknown>): SellCarRequestResponseDTO;
162
166
  toPlain(): Record<string, unknown>;
@@ -164,9 +168,11 @@ export declare class SellCarRequestResponseDTO {
164
168
  export declare class SellCarFilterDTO {
165
169
  search?: string;
166
170
  leadId?: string;
171
+ additionalDetails?: string;
167
172
  isActive?: boolean;
168
173
  createdAt?: DateFilter;
169
174
  tradeIn?: TradeInOption;
175
+ status?: "SUBMITTED" | "DRAFT";
170
176
  validate(): string[];
171
177
  static fromPlain(plain: Record<string, unknown>): SellCarFilterDTO;
172
178
  toPlain(): Record<string, unknown>;