@findhotel/sapi 1.28.3 → 1.28.4

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.
@@ -29,6 +29,13 @@ export declare type Amenities = 'allInclusive' | 'breakfast' | 'partialBreakfast
29
29
  * Attribute indicating the minimum tier the user should be in order to be able to book this offer.
30
30
  */
31
31
  export declare type AccessTier = string;
32
+ /**
33
+ * Cashback object
34
+ */
35
+ export interface Cashback {
36
+ type: string;
37
+ value: number;
38
+ }
32
39
  /**
33
40
  * Hotel's offer
34
41
  */
@@ -36,6 +43,7 @@ export interface Offer {
36
43
  accessTier: AccessTier;
37
44
  availableRooms: number;
38
45
  cancellationPenalties: CancellationPenalties[];
46
+ cashback?: Cashback;
39
47
  currency: Currency;
40
48
  id: string;
41
49
  intermediaryProvider: string;
@@ -114,6 +122,7 @@ export interface SapiResponseOffer {
114
122
  accessTier: string;
115
123
  availableRooms: number;
116
124
  cancellationPenalties: CancellationPenalties[];
125
+ cashback?: Cashback;
117
126
  currency: Currency;
118
127
  id: string;
119
128
  intermediaryProvider: string;
@@ -147,6 +156,7 @@ interface SapiSplitBookingBundle {
147
156
  canPayLater?: boolean;
148
157
  accessTier?: AccessTier;
149
158
  cancellationPenalties?: CancellationPenalties[];
159
+ cashback?: Cashback;
150
160
  }
151
161
  export interface HasMoreOffersWithoutFiltering {
152
162
  byType: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@findhotel/sapi",
3
- "version": "1.28.3",
3
+ "version": "1.28.4",
4
4
  "description": "FindHotel Search API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/types/packages/core/src",