Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@findhotel/sapi

Package Overview
Dependencies
Maintainers
8
Versions
194
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@findhotel/sapi - npm Package Compare versions

Comparing version 1.11.2 to 1.12.0

12

dist/types/packages/core/src/types/offers.d.ts

@@ -68,3 +68,5 @@ import { CancellationPenalties, Currency, RoomId, HotelId } from './types';

}
export interface SplitBookingEntity {
export interface SplitBookingBundle {
url?: string;
bundleId?: string;
offers?: SplitBookingOffer[];

@@ -93,3 +95,3 @@ tags?: string[];

/** Split booking offers */
splitBooking?: SplitBookingEntity;
splitBooking?: SplitBookingBundle;
/** Indicates if this hotel has more offers without filtering */

@@ -130,3 +132,5 @@ hasMoreOffersWithoutFiltering: HasMoreOffersWithoutFiltering;

}
interface SapiSplitBookingEntity {
interface SapiSplitBookingBundle {
url?: string;
bundleId?: string;
offers?: SapiSplitBookingOffer[];

@@ -153,3 +157,3 @@ tags?: string[];

roomsConfig?: string;
splitBooking?: SapiSplitBookingEntity;
splitBooking?: SapiSplitBookingBundle;
promos?: SapiResponsePromos;

@@ -156,0 +160,0 @@ hasMoreOffersWithoutFiltering: HasMoreOffersWithoutFiltering;

@@ -0,1 +1,2 @@

import { RateBreakdown } from './offers';
import { HotelId, AnonymousId, Currency, RoomId, UserTier, CancellationPenalties } from './types';

@@ -21,2 +22,4 @@ export interface RoomsRequestParameters {

metadata?: Record<string, string>;
bundleId?: string;
bundleID?: string;
}

@@ -105,2 +108,16 @@ export declare type RoomPackageId = string;

}
export interface RoomSplitBookingOffer {
checkIn: string;
checkOut: string;
offer: RoomOffer;
room: Omit<Room, 'offers'>;
}
export interface RoomsSplitBooking {
bundleId: string;
links: RoomLinks[];
offers: RoomSplitBookingOffer[];
prices: RoomPrice[];
tags: string[];
totalRate: RateBreakdown;
}
export interface RoomsResults {

@@ -111,2 +128,3 @@ hotelId: HotelId;

anonymousId: AnonymousId;
splitBooking?: RoomsSplitBooking;
}
{
"name": "@findhotel/sapi",
"version": "1.11.2",
"version": "1.12.0",
"description": "FindHotel Search API",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc