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