@fragus/sam-types 1.0.36 → 1.0.38
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
|
@@ -10,7 +10,7 @@ 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
16
|
registrationNumber: string
|
package/types/country.d.ts
CHANGED
|
@@ -1,10 +1,5 @@
|
|
|
1
1
|
import { TCurrency } from '../types/currency'
|
|
2
2
|
|
|
3
|
-
/**
|
|
4
|
-
* @deprecated (Since 20222-08-31) Please use the own local config (cfgCountries or supportedCountries (in src/config)) file instead. (This is set individually on each repo: API, Admin and SuperAdmin for finer control.)
|
|
5
|
-
*/
|
|
6
|
-
export type IsoCountryCodeSupported = 'DK' | 'SE' | 'FI'
|
|
7
|
-
|
|
8
3
|
/**
|
|
9
4
|
* ISO 3166-1 two letter (Alpha-2) codes for countries.
|
|
10
5
|
*
|
package/types/vehicle.d.ts
CHANGED
|
@@ -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 // 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
|