@fortrip/agent-contract 3.1.0 → 3.2.0

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.
Files changed (2) hide show
  1. package/dist/index.js +3 -3
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1853,7 +1853,7 @@ var TOOLS = [
1853
1853
  {
1854
1854
  name: "get_hotel_offers",
1855
1855
  title: "Get live hotel offers",
1856
- description: `Live, bookable offers for up to ${LIMITS.offersHotels} hotels and one stay. Every room in stay.rooms must have the same party: for different parties, call once per party. Each offer has the room, the meals included, price.total in USD for the whole stay and every room (what is charged), fees payable at the property, the cancellation terms with times in UTC and the hotel's time zone, the confirmation mode, and an offerId for book_hotel that expires at expiresAt. Hotels with nothing to offer are listed under unavailable with the reason. Up to limitPerHotel offers per hotel, default ${LIMITS.offersPerHotelDefault}, cheapest first.`,
1856
+ description: `Live, bookable offers for up to ${LIMITS.offersHotels} hotels and one stay. Every room in stay.rooms must have the same party: for different parties, call once per party. Each offer has the room, the meals included, price.total in USD for the whole stay and every room (what is charged), fees payable at the property, the cancellation terms with times in UTC and the hotel's time zone, the confirmation mode, and an offerId for book_hotel that expires at expiresAt. Hotels with nothing to offer are listed under unavailable with the reason. Up to limitPerHotel offers per hotel, default ${LIMITS.offersPerHotelDefault}, chosen for a spread of choices in this order while room remains: the cheapest offer, the cheapest that can be cancelled free, the cheapest with breakfast, the cheapest of each other room, then the rest by price; listed cheapest first.`,
1857
1857
  annotations: READ,
1858
1858
  input: hotelOffersInput,
1859
1859
  output: hotelOffersResult
@@ -2128,7 +2128,7 @@ function offerLine(o) {
2128
2128
  var OMITTED = {
2129
2129
  byNationality: "restricted by nationality",
2130
2130
  byFilters: "removed by the filters",
2131
- dominated: "beaten by another offer for the same room",
2131
+ dominated: "beaten by or the same as another offer for the same room",
2132
2132
  unreadable: "unreadable"
2133
2133
  };
2134
2134
  function limitText(o) {
@@ -2691,7 +2691,7 @@ var UNKNOWN_IS_NOT_NO_EXEMPTIONS = {
2691
2691
  // package.json
2692
2692
  var package_default = {
2693
2693
  name: "@fortrip/agent-contract",
2694
- version: "3.1.0",
2694
+ version: "3.2.0",
2695
2695
  license: "Apache-2.0",
2696
2696
  description: "The contract of Fortrip's agent API (https://api.fortrip.ai/v1) and its MCP server: limits, paths, request and response schemas, error codes and field rules.",
2697
2697
  type: "module",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fortrip/agent-contract",
3
- "version": "3.1.0",
3
+ "version": "3.2.0",
4
4
  "license": "Apache-2.0",
5
5
  "description": "The contract of Fortrip's agent API (https://api.fortrip.ai/v1) and its MCP server: limits, paths, request and response schemas, error codes and field rules.",
6
6
  "type": "module",