sm-types 1.11.26 → 1.11.28

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
@@ -3,7 +3,7 @@
3
3
  "author": "Smartrips",
4
4
  "license": "ISC",
5
5
  "keywords": [],
6
- "version": "1.11.26",
6
+ "version": "1.11.28",
7
7
  "description": "",
8
8
  "repository": {
9
9
  "type": "git",
@@ -174,13 +174,9 @@ export declare enum CarPaymentCategory {
174
174
  CompanyBilled = "COMPANY_BILLED",
175
175
  Balcony = "BALCONY"
176
176
  }
177
- export type RecalculateCarOfferAdditionals = {
178
- supplierId: string;
179
- quantity: string;
180
- };
181
177
  export type RecalculateCarOfferRequestDto = {
182
- offerId: string;
183
- additionals: RecalculateCarOfferAdditionals[];
178
+ additionals: RecalculateOfferAdditional[];
179
+ clientCredential: ClientCarCredential;
184
180
  };
185
181
  export type SearchCarFilters = {
186
182
  minSearchRadius: number;
@@ -290,8 +286,7 @@ export type RecalculateOfferAdditional = {
290
286
  category: string;
291
287
  quantity?: string;
292
288
  };
293
- export type RecalculateCarOfferRequest = {
289
+ export type RecalculateCarOfferRequest = RecalculateCarOfferRequestDto & {
294
290
  smOfferId: string;
295
- additionals: RecalculateOfferAdditional[];
296
291
  };
297
292
  export {};
@@ -23,7 +23,7 @@ export interface IRailTrip {
23
23
  duration: string;
24
24
  }
25
25
  export interface SeatPreference {
26
- mandatorySelection: boolean;
26
+ guaranteedSeat: boolean;
27
27
  place: string;
28
28
  }
29
29
  export interface IRailPolicy {