@alba-cars/common-modules 1.10.48 → 1.10.50
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.
|
@@ -59,6 +59,13 @@ type FinanceEligibilityRequestEndpoints = BaseEndpoint & {
|
|
|
59
59
|
type BankValuationRequestEndpoints = BaseEndpoint & {
|
|
60
60
|
estimate: string;
|
|
61
61
|
};
|
|
62
|
+
type ExchangeCarRequestEndpoints = {
|
|
63
|
+
getAll: string;
|
|
64
|
+
create: string;
|
|
65
|
+
getOne: EndpointFunction;
|
|
66
|
+
updateOne: EndpointFunction;
|
|
67
|
+
deleteOne: EndpointFunction;
|
|
68
|
+
};
|
|
62
69
|
type APIEndpointType = {
|
|
63
70
|
vehicle: VehicleEndpoints;
|
|
64
71
|
blogs: BlogEndpoints;
|
|
@@ -90,6 +97,7 @@ type APIEndpointType = {
|
|
|
90
97
|
faq: BaseEndpoint;
|
|
91
98
|
dealDrive: DealDriveEndpoints;
|
|
92
99
|
bankValuationRequest: BankValuationRequestEndpoints;
|
|
100
|
+
exchangeCarRequest: ExchangeCarRequestEndpoints;
|
|
93
101
|
};
|
|
94
102
|
export declare const API_ENDPOINTS: APIEndpointType;
|
|
95
103
|
export declare const UTIL_ENDPOINTS: {
|
|
@@ -230,6 +230,13 @@ exports.API_ENDPOINTS = {
|
|
|
230
230
|
updateOne: (id) => `/bank-valuation-request/${id}`,
|
|
231
231
|
estimate: `/bank-valuation-request/estimate`,
|
|
232
232
|
},
|
|
233
|
+
exchangeCarRequest: {
|
|
234
|
+
create: `/exchange-car-request`,
|
|
235
|
+
getAll: `/exchange-car-request/list`,
|
|
236
|
+
getOne: (id) => `/exchange-car-request/${id}`,
|
|
237
|
+
deleteOne: (id) => `/exchange-car-request/${id}`,
|
|
238
|
+
updateOne: (id) => `/exchange-car-request/${id}`,
|
|
239
|
+
},
|
|
233
240
|
};
|
|
234
241
|
const utilRoutePrefix = "/utils";
|
|
235
242
|
exports.UTIL_ENDPOINTS = {
|
|
@@ -237,7 +237,7 @@ __decorate([
|
|
|
237
237
|
], SellCarRequestCreateDTO.prototype, "media", void 0);
|
|
238
238
|
__decorate([
|
|
239
239
|
(0, class_validator_1.IsOptional)(),
|
|
240
|
-
(0, class_validator_1.
|
|
240
|
+
(0, class_validator_1.IsDateString)(),
|
|
241
241
|
__metadata("design:type", Date)
|
|
242
242
|
], SellCarRequestCreateDTO.prototype, "inspectionBookingDate", void 0);
|
|
243
243
|
exports.SellCarRequestCreateDTO = SellCarRequestCreateDTO;
|
|
@@ -353,7 +353,7 @@ __decorate([
|
|
|
353
353
|
], ExchangeCarRequestCreateDTO.prototype, "media", void 0);
|
|
354
354
|
__decorate([
|
|
355
355
|
(0, class_validator_1.IsOptional)(),
|
|
356
|
-
(0, class_validator_1.
|
|
356
|
+
(0, class_validator_1.IsDateString)(),
|
|
357
357
|
__metadata("design:type", Date)
|
|
358
358
|
], ExchangeCarRequestCreateDTO.prototype, "bookingDate", void 0);
|
|
359
359
|
exports.ExchangeCarRequestCreateDTO = ExchangeCarRequestCreateDTO;
|
package/package.json
CHANGED