@bisondesk/core-sdk 1.0.401 → 1.0.402
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.
- package/lib/types/crm.d.ts +0 -14
- package/lib/types/crm.d.ts.map +1 -1
- package/lib/types/crm.js +0 -7
- package/lib/types/crm.js.map +1 -1
- package/lib/types/offers.d.ts +3 -45
- package/lib/types/offers.d.ts.map +1 -1
- package/lib/types/offers.js +0 -1
- package/lib/types/offers.js.map +1 -1
- package/lib/types/vehicles.d.ts +4 -7
- package/lib/types/vehicles.d.ts.map +1 -1
- package/lib/types/vehicles.js +0 -1
- package/lib/types/vehicles.js.map +1 -1
- package/package.json +1 -1
- package/src/types/crm.ts +0 -17
- package/src/types/offers.ts +2 -55
- package/src/types/vehicles.ts +3 -8
- package/tsconfig.tsbuildinfo +1 -1
package/src/types/vehicles.ts
CHANGED
|
@@ -73,8 +73,8 @@ export type NewVehicleRequest = {
|
|
|
73
73
|
technicalRemarks?: string;
|
|
74
74
|
};
|
|
75
75
|
logistics: {
|
|
76
|
-
parking
|
|
77
|
-
deliveryType
|
|
76
|
+
parking: string;
|
|
77
|
+
deliveryType: VehiclePurchaseDeliveryType;
|
|
78
78
|
pickupAddress?: LocationValue;
|
|
79
79
|
checkedInAt?: string;
|
|
80
80
|
checkedInBy?: string;
|
|
@@ -95,15 +95,13 @@ export type NewVehicleRequest = {
|
|
|
95
95
|
};
|
|
96
96
|
vinList?: string;
|
|
97
97
|
deal: {
|
|
98
|
-
offerId?: string;
|
|
99
98
|
stockNumber?: string;
|
|
100
99
|
contactId: string;
|
|
101
100
|
orgId: string;
|
|
102
101
|
purchasedBy: string;
|
|
103
102
|
dealStatus:
|
|
104
103
|
| VehiclePurchaseDealStatus.PurchaseEvaluation
|
|
105
|
-
| VehiclePurchaseDealStatus.PurchaseAgreed
|
|
106
|
-
| VehiclePurchaseDealStatus.Marketing;
|
|
104
|
+
| VehiclePurchaseDealStatus.PurchaseAgreed;
|
|
107
105
|
costs: {
|
|
108
106
|
purchase: string;
|
|
109
107
|
purchaseVatPercentage: string;
|
|
@@ -259,8 +257,6 @@ export type VehicleInternalInfo = {
|
|
|
259
257
|
stockNumber: string;
|
|
260
258
|
branch: string;
|
|
261
259
|
|
|
262
|
-
offerId?: string;
|
|
263
|
-
|
|
264
260
|
/**
|
|
265
261
|
* This ID is used to link different vehicle objects that represent the same real world asset.
|
|
266
262
|
* Ideally the chassis number could be used, but in some cases it is not available yet.
|
|
@@ -521,7 +517,6 @@ export enum VehiclePurchaseDealStatus {
|
|
|
521
517
|
FirstPaymentSent = 'FIRST_PAYMENT_SENT',
|
|
522
518
|
FullPaymentAllowed = 'FULL_PAYMENT_ALLOWED',
|
|
523
519
|
FullPaymentSent = 'FULL_PAYMENT_SENT',
|
|
524
|
-
Marketing = 'MARKETING',
|
|
525
520
|
}
|
|
526
521
|
|
|
527
522
|
export enum VehiclePurchaseLogisticsStatus {
|