@fragus/sam-types 1.0.14 → 1.0.16
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
|
@@ -73,3 +73,9 @@ export interface IContractResponse {
|
|
|
73
73
|
export interface IBasicContractDetailsResponse extends IEssentialContract {
|
|
74
74
|
country: TIsoCountry
|
|
75
75
|
}
|
|
76
|
+
|
|
77
|
+
export interface IContractV4DeactivationResponse {
|
|
78
|
+
isDeactivatedInV4: boolean
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
export type TContractCloseResponse = {} | IContractV4DeactivationResponse
|
|
@@ -115,6 +115,7 @@ export interface IContractProviderListItemResponse {
|
|
|
115
115
|
|
|
116
116
|
export type ProviderState = 'Active' | 'Inactive'
|
|
117
117
|
|
|
118
|
+
// Settings related types and interfaces are related to the contract provider settings section in Admin
|
|
118
119
|
export type TContractProviderSettingsSection =
|
|
119
120
|
| 'general'
|
|
120
121
|
| 'contactPerson'
|
|
@@ -175,3 +176,13 @@ export type TProviderConditionsValue = Pick<
|
|
|
175
176
|
export type TProviderContactPersonValue = IContractProviderSettingsResponse['contactPerson']
|
|
176
177
|
export type TProviderAddressValue = IContractProviderSettingsResponse['address']
|
|
177
178
|
export type TProviderCustomizationValue = IContractProviderSettingsResponse['customization']
|
|
179
|
+
|
|
180
|
+
// Used in Admin for contract provider overview
|
|
181
|
+
export interface IContractProviderOverviewDetails {
|
|
182
|
+
paymentGateways: PaymentGateway[]
|
|
183
|
+
fragusContactPersonName: string | null
|
|
184
|
+
contactPerson: IContactPersonResponse
|
|
185
|
+
webCalcEnabled: boolean
|
|
186
|
+
isAllowContractsWithoutVehiclePriceModel: boolean
|
|
187
|
+
stripeForeignId?: string
|
|
188
|
+
}
|