Socket
Socket
Sign inDemoInstall

tigerbay

Package Overview
Dependencies
Maintainers
1
Versions
61
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tigerbay - npm Package Compare versions

Comparing version 0.6.2 to 0.6.3

20

lib/models/reservations.d.ts

@@ -364,4 +364,24 @@ import { Tasks } from "../models";

confirm(id: string): Promise<void>;
/**
* Get the components which are part of the booking
*
* @param bookingId Booking ID
* @returns List of booking components
*/
components(bookingId: number): Promise<BookingComponentListEntry[]>;
/**
* Get details of a single component of a booking
*
* @param bookingId Booking ID
* @param componentId Component ID
* @returns Component Details
*/
component(bookingId: number, componentId: number): Promise<BookingComponent>;
/**
* Get the passengers on a booking
*
* @param id Booking ID
* @returns List of passengers
*/
passengers(id: number): Promise<Passenger[]>;
}

@@ -183,2 +183,8 @@ "use strict";

}
/**
* Get the components which are part of the booking
*
* @param bookingId Booking ID
* @returns List of booking components
*/
components(bookingId) {

@@ -189,2 +195,9 @@ return __awaiter(this, void 0, void 0, function* () {

}
/**
* Get details of a single component of a booking
*
* @param bookingId Booking ID
* @param componentId Component ID
* @returns Component Details
*/
component(bookingId, componentId) {

@@ -195,4 +208,15 @@ return __awaiter(this, void 0, void 0, function* () {

}
/**
* Get the passengers on a booking
*
* @param id Booking ID
* @returns List of passengers
*/
passengers(id) {
return __awaiter(this, void 0, void 0, function* () {
return (yield this.axios.get(`/sales/reservations/${id}/passengers`)).data;
});
}
}
exports.Api = Api;
//# sourceMappingURL=reservations.js.map

2

package.json
{
"name": "tigerbay",
"version": "0.6.2",
"version": "0.6.3",
"description": "API Client library for TigerBay",

@@ -5,0 +5,0 @@ "main": "lib/client.js",

Sorry, the diff of this file is not supported yet

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