@fragus/sam-types 1.0.38 → 1.0.39
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/package.json
CHANGED
|
@@ -17,7 +17,7 @@ export interface IContractCalculationRequest {
|
|
|
17
17
|
providerPayments: number
|
|
18
18
|
providerShare: number
|
|
19
19
|
registrationDate: string
|
|
20
|
-
registrationNumber: string
|
|
20
|
+
registrationNumber: string | null
|
|
21
21
|
serviceVariantId: string
|
|
22
22
|
type: ContractType
|
|
23
23
|
valueType: ContractValueType
|
|
@@ -10,10 +10,10 @@ import { PaymentGateway } from './../../payment'
|
|
|
10
10
|
import { PriceSpecification } from './../../priceSpecification'
|
|
11
11
|
|
|
12
12
|
export interface IEssentialVehicle {
|
|
13
|
-
registrationDate
|
|
13
|
+
registrationDate: Date | string
|
|
14
14
|
modelYear: number
|
|
15
15
|
vin: string
|
|
16
|
-
registrationNumber: string
|
|
16
|
+
registrationNumber: string | null
|
|
17
17
|
brandName: string
|
|
18
18
|
modelName: string
|
|
19
19
|
fuelTypeName: string
|
package/types/vehicle.d.ts
CHANGED
|
@@ -14,7 +14,7 @@ import { VehicleContracts } from './vehicleContracts'
|
|
|
14
14
|
export interface Vehicle {
|
|
15
15
|
id?: number
|
|
16
16
|
vin?: string
|
|
17
|
-
regNumber
|
|
17
|
+
regNumber: string | null
|
|
18
18
|
regDate?: string
|
|
19
19
|
brand: Brand
|
|
20
20
|
model: Model
|
|
@@ -60,7 +60,7 @@ export interface Vehicle {
|
|
|
60
60
|
export interface IVehicleInfo {
|
|
61
61
|
// Here we implement based on a lookup on BG64770
|
|
62
62
|
vehicleRegistryId?: number
|
|
63
|
-
registration
|
|
63
|
+
registration: string | null // registration: 'BG64770',
|
|
64
64
|
vin: string // vin: 'VF3CCHMZ6GT105374',
|
|
65
65
|
// type: string // NOTE: Not same as vehicleType, this is vehicle type description like 'GTE Plug-In Hybrid 150 kW (204 hv) DSG-automaatti 4-ovinen'.
|
|
66
66
|
// @note param "type" renamed to "versionModelType" to avoid confusion with vehicleType
|