@fragus/sam-types 1.0.46 → 1.0.47

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
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.0.46",
2
+ "version": "1.0.47",
3
3
  "name": "@fragus/sam-types",
4
4
  "description": "Typescript interfaces for all types used to communicate between SAM client(s) and the SAM API",
5
5
  "author": "Fragus",
@@ -88,26 +88,16 @@ export interface IContractProviderResponse extends IProviderCustomizationRespons
88
88
 
89
89
  export interface IContractProviderListItemResponse {
90
90
  administrativeName: string
91
- autoSettlement: boolean
92
91
  contractProviderId: number
93
92
  country: ICountryResponse
94
93
  cvrCode: string
95
- disableContractTemplates: boolean
96
94
  fragusContactPersonName: string | null
97
- isAllowContractsWithoutVehiclePriceModel: boolean
98
- isForceEnableCustomContract: boolean
99
- isShowLogoOnWeb: boolean
100
- isUseWhiteBGOnWeb: boolean
101
- isUsingV4PricingTool: boolean
102
- isUseV4PTOnlyForSigning: boolean
103
95
  omnicarFee: number
104
96
  parentProviderId: number | null
105
- productsEnabled: boolean
106
97
  providerCategory: string | null
107
98
  providerGroup: string | null
108
99
  providerIdentifier: string
109
100
  state: ProviderState
110
- webCalcEnabled: boolean
111
101
  generalConditions: string
112
102
  optionsConditions?: string
113
103
  }
@@ -185,3 +175,14 @@ export interface IContractProviderOverviewDetails {
185
175
  isAllowContractsWithoutVehiclePriceModel: boolean
186
176
  stripeForeignId?: string
187
177
  }
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
+ }