@alba-cars/common-modules 1.10.48 → 1.10.49
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 = {
|
package/package.json
CHANGED