@findhotel/sapi 1.31.9 → 1.31.10

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.
@@ -56,6 +56,9 @@ export interface MatchedDim {
56
56
  payLater: boolean;
57
57
  offerType: boolean;
58
58
  }
59
+ declare type MealPlan = 'room_only' | 'breakfast' | 'half_board' | 'full_board' | 'all_inclusive';
60
+ declare type CancellationPolicyKey = 'non_refundable' | 'free_cancellation' | 'partially_refundable';
61
+ export declare type OfferTitleKey = `${MealPlan}_${CancellationPolicyKey}`;
59
62
  export interface RoomOffer {
60
63
  id: string;
61
64
  availableRooms: number;
@@ -70,6 +73,7 @@ export interface RoomOffer {
70
73
  providerRateType: string;
71
74
  canPayLater: boolean;
72
75
  services: string[];
76
+ offerTitleKey?: OfferTitleKey;
73
77
  isClicked?: boolean;
74
78
  matchType?: 'exact' | 'by_price' | 'by_terms';
75
79
  matchedDim?: MatchedDim;
@@ -195,3 +199,4 @@ export interface RoomsResultsV2 {
195
199
  complete: boolean;
196
200
  };
197
201
  }
202
+ export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@findhotel/sapi",
3
- "version": "1.31.9",
3
+ "version": "1.31.10",
4
4
  "description": "FindHotel Search API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/types/packages/core/src",