@fragus/sam-types 1.0.44 → 1.0.45
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
|
|
@@ -88,16 +88,26 @@ export interface IContractProviderResponse extends IProviderCustomizationRespons
|
|
|
88
88
|
|
|
89
89
|
export interface IContractProviderListItemResponse {
|
|
90
90
|
administrativeName: string
|
|
91
|
+
autoSettlement: boolean
|
|
91
92
|
contractProviderId: number
|
|
92
93
|
country: ICountryResponse
|
|
93
94
|
cvrCode: string
|
|
95
|
+
disableContractTemplates: boolean
|
|
94
96
|
fragusContactPersonName: string | null
|
|
97
|
+
isAllowContractsWithoutVehiclePriceModel: boolean
|
|
98
|
+
isForceEnableCustomContract: boolean
|
|
99
|
+
isShowLogoOnWeb: boolean
|
|
100
|
+
isUseWhiteBGOnWeb: boolean
|
|
101
|
+
isUsingV4PricingTool: boolean
|
|
102
|
+
isUseV4PTOnlyForSigning: boolean
|
|
95
103
|
omnicarFee: number
|
|
96
104
|
parentProviderId: number | null
|
|
105
|
+
productsEnabled: boolean
|
|
97
106
|
providerCategory: string | null
|
|
98
107
|
providerGroup: string | null
|
|
99
108
|
providerIdentifier: string
|
|
100
109
|
state: ProviderState
|
|
110
|
+
webCalcEnabled: boolean
|
|
101
111
|
generalConditions: string
|
|
102
112
|
optionsConditions?: string
|
|
103
113
|
}
|
|
@@ -175,14 +185,3 @@ export interface IContractProviderOverviewDetails {
|
|
|
175
185
|
isAllowContractsWithoutVehiclePriceModel: boolean
|
|
176
186
|
stripeForeignId?: string
|
|
177
187
|
}
|
|
178
|
-
|
|
179
|
-
export interface IPaginatedContractProviderListResponse {
|
|
180
|
-
data: IContractProviderListItemResponse[]
|
|
181
|
-
nextCursor: number | null
|
|
182
|
-
}
|
|
183
|
-
|
|
184
|
-
export interface IShallowContractProviderResponse {
|
|
185
|
-
contractProviderId: number
|
|
186
|
-
administrativeName: string
|
|
187
|
-
parentProviderId: number | null
|
|
188
|
-
}
|
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: string // registration: 'BG64770',
|
|
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
|