@alba-cars/common-modules 2.4.5 → 2.4.7

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