Comparing version 5.4.0 to 5.5.0
# Changelog | ||
## 5.5.0 - 2020-11-11 | ||
Add support for the [Flight Price Analysis API](https://developers.amadeus.com/self-service/category/air/api-doc/flight-price-analysis/api-reference) | ||
## 5.4.0 - 2020-10-01 | ||
@@ -4,0 +7,0 @@ Add support for the [Tours and Activities API](https://developers.amadeus.com/self-service/category/destination-content/api-doc/tours-and-activities/api-reference) |
@@ -30,2 +30,4 @@ "use strict"; | ||
var _analytics = _interopRequireDefault(require("./amadeus/namespaces/analytics")); | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; } | ||
@@ -104,2 +106,3 @@ | ||
this.schedule = new _schedule["default"](this.client); | ||
this.analytics = new _analytics["default"](this.client); | ||
} | ||
@@ -253,2 +256,2 @@ /** | ||
module.exports = exports["default"]; | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9hbWFkZXVzLmpzIl0sIm5hbWVzIjpbIkFtYWRldXMiLCJwYXJhbXMiLCJjbGllbnQiLCJDbGllbnQiLCJ2ZXJzaW9uIiwicmVmZXJlbmNlRGF0YSIsIlJlZmVyZW5jZURhdGEiLCJzaG9wcGluZyIsIlNob3BwaW5nIiwiYm9va2luZyIsIkJvb2tpbmciLCJ0cmF2ZWwiLCJUcmF2ZWwiLCJlUmVwdXRhdGlvbiIsIkVSZXB1dGF0aW9uIiwibWVkaWEiLCJNZWRpYSIsImFpcnBvcnQiLCJBaXJwb3J0IiwicGFnaW5hdGlvbiIsIlBhZ2luYXRpb24iLCJzYWZldHkiLCJTYWZldHkiLCJzY2hlZHVsZSIsIlNjaGVkdWxlIiwicmVzcG9uc2UiLCJwYWdlIiwibG9jYXRpb24iLCJjaXR5IiwiYW55IiwiZGlyZWN0aW9uIiwiYXJyaXZpbmciLCJkZXBhcnRpbmciXSwibWFwcGluZ3MiOiI7Ozs7Ozs7QUFBQTs7QUFDQTs7QUFFQTs7QUFDQ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aXJlY3Rpb246IEFtYWRldXMuZGlyZWN0aW9uLmFycml2aW5nXG4gKiB9KTtcbiAqIGBgYFxuICpcbiAqIEN1cnJlbnRseSBhdmFpbGFibGUgYXJlIHRoZSB0eXBlcyBgLmFycml2aW5nYCBhbmQgYC5kZXBhcnRpbmdgXG4gKi9cblxuQW1hZGV1cy5kaXJlY3Rpb24gPSB7XG4gIGFycml2aW5nOiAnQVJSSVZJTkcnLFxuICBkZXBhcnRpbmc6ICdERVBBUlRJTkcnXG59O1xuXG5leHBvcnQgZGVmYXVsdCBBbWFkZXVzO1xuIl19 |
{ | ||
"name": "amadeus", | ||
"version": "5.4.0", | ||
"version": "5.5.0", | ||
"description": "Node library for the Amadeus travel APIs", | ||
@@ -65,4 +65,4 @@ "main": "lib/amadeus.js", | ||
"bluebird": "^3.5.1", | ||
"qs": "^6.5.2" | ||
"qs": "^6.9.1" | ||
} | ||
} |
@@ -43,4 +43,5 @@ # Amadeus Node SDK | ||
``` | ||
Examples | ||
-------------------------- | ||
## Examples | ||
You can find all the endpoints in self-contained [code examples](https://github.com/amadeus4dev/amadeus-code-examples). | ||
@@ -234,3 +235,3 @@ | ||
// Flight Offers Price | ||
// Flight Offers | ||
amadeus.shopping.flightOffersSearch.get({ | ||
@@ -481,2 +482,9 @@ originLocationCode: 'SYD', | ||
// Price Flight Analysis | ||
amadeus.analytics.itineraryPriceMetrics.get({ | ||
originIataCode: 'MAD', | ||
destinationIataCode: 'CDG', | ||
departureDate: '2021-03-13', | ||
}) | ||
``` | ||
@@ -483,0 +491,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
411195
72
4734
507
Updatedqs@^6.9.1