@duffel/api 1.7.0 → 1.7.1
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.
- package/dist/index.es.js +1 -1
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/types/ClientType.d.ts +0 -3
- package/dist/types/index.d.ts +1 -4
- package/package.json +6 -6
package/dist/types/index.d.ts
CHANGED
|
@@ -2100,9 +2100,6 @@ declare class DuffelError extends Error {
|
|
|
2100
2100
|
errors: ApiResponseError[];
|
|
2101
2101
|
});
|
|
2102
2102
|
}
|
|
2103
|
-
declare class ValidationError extends Error {
|
|
2104
|
-
constructor(message: string);
|
|
2105
|
-
}
|
|
2106
2103
|
interface SDKOptions {
|
|
2107
2104
|
/**
|
|
2108
2105
|
* If `true` it will output the path and the method called
|
|
@@ -2574,4 +2571,4 @@ declare class Duffel {
|
|
|
2574
2571
|
constructor(config: Config);
|
|
2575
2572
|
}
|
|
2576
2573
|
|
|
2577
|
-
export { Aircraft$1 as Aircraft, Airline, Airport, ApiResponseError, ApiResponseMeta, BaggageType, CabinClass, City, ConfirmOrderChangePayment, CreateOfferRequest, CreateOfferRequestQueryParameters, CreateOrder, CreateOrderCancellation, CreateOrderChangeParameters, CreateOrderChangeRequest, CreateOrderPassenger, CreatePayment, CreatePaymentIntent, Duffel, DuffelAPIClient, DuffelError, DuffelPassengerGender, DuffelPassengerTitle, DuffelPassengerType, DuffelResponse, FlightsConditions, ListOffersParams, ListParamsOrders, LoyaltyProgrammeAccount, LoyaltyProgrammeAccounts, Offer, OfferAvailableService, OfferAvailableServiceBaggageMetadata, OfferAvailableServiceMetadataMap, OfferAvailableServiceType, OfferPassenger, OfferRequest, OfferRequestPassenger, OfferRequestSlice, OfferSlice, OfferSliceSegment, OfferSliceSegmentPassenger, OfferSliceSegmentPassengerBaggage, Order, OrderCancellation, OrderChange, OrderChangeOffer, OrderChangeOfferSlice, OrderChangeOfferSlices, OrderChangeOffers$1 as OrderChangeOffers, OrderChangeRequestResponse, OrderChangeSliceResponse, OrderDocument, OrderDocumentsType, OrderPassenger, OrderPassengerIdentityDocument, OrderPayment, OrderPaymentStatus, OrderSegmentPassenger, OrderSegmentPassengerBaggage, OrderService, OrderServiceBaggageMetadata, OrderSlice, OrderSliceSegment, PaginationMeta, PassengerIdentityDocumentType, Payment, PaymentIntent, PaymentRequirements, PaymentType, Place, PlaceType, SDKOptions, Seat, SeatMap, SeatMapCabin, SeatMapCabinRow, SeatMapCabinRowSection, SeatMapCabinRowSectionAvailableService, SeatMapCabinRowSectionElement, SeatMapCabinRowSectionElementAmenity, SeatMapCabinRowSectionElementBassinet, SeatMapCabinRowSectionElementCloset, SeatMapCabinRowSectionElementEmpty, SeatMapCabinRowSectionElementExitRow, SeatMapCabinRowSectionElementGalley, SeatMapCabinRowSectionElementLavatory, SeatMapCabinRowSectionElementSeat, SeatMapCabinRowSectionElementStairs, SeatMapCabinRowSectionElementType, UpdateOffer, UpdateSingleOrder
|
|
2574
|
+
export { Aircraft$1 as Aircraft, Airline, Airport, ApiResponseError, ApiResponseMeta, BaggageType, CabinClass, City, ConfirmOrderChangePayment, CreateOfferRequest, CreateOfferRequestQueryParameters, CreateOrder, CreateOrderCancellation, CreateOrderChangeParameters, CreateOrderChangeRequest, CreateOrderPassenger, CreatePayment, CreatePaymentIntent, Duffel, DuffelAPIClient, DuffelError, DuffelPassengerGender, DuffelPassengerTitle, DuffelPassengerType, DuffelResponse, FlightsConditions, ListOffersParams, ListParamsOrders, LoyaltyProgrammeAccount, LoyaltyProgrammeAccounts, Offer, OfferAvailableService, OfferAvailableServiceBaggageMetadata, OfferAvailableServiceMetadataMap, OfferAvailableServiceType, OfferPassenger, OfferRequest, OfferRequestPassenger, OfferRequestSlice, OfferSlice, OfferSliceSegment, OfferSliceSegmentPassenger, OfferSliceSegmentPassengerBaggage, Order, OrderCancellation, OrderChange, OrderChangeOffer, OrderChangeOfferSlice, OrderChangeOfferSlices, OrderChangeOffers$1 as OrderChangeOffers, OrderChangeRequestResponse, OrderChangeSliceResponse, OrderDocument, OrderDocumentsType, OrderPassenger, OrderPassengerIdentityDocument, OrderPayment, OrderPaymentStatus, OrderSegmentPassenger, OrderSegmentPassengerBaggage, OrderService, OrderServiceBaggageMetadata, OrderSlice, OrderSliceSegment, PaginationMeta, PassengerIdentityDocumentType, Payment, PaymentIntent, PaymentRequirements, PaymentType, Place, PlaceType, SDKOptions, Seat, SeatMap, SeatMapCabin, SeatMapCabinRow, SeatMapCabinRowSection, SeatMapCabinRowSectionAvailableService, SeatMapCabinRowSectionElement, SeatMapCabinRowSectionElementAmenity, SeatMapCabinRowSectionElementBassinet, SeatMapCabinRowSectionElementCloset, SeatMapCabinRowSectionElementEmpty, SeatMapCabinRowSectionElementExitRow, SeatMapCabinRowSectionElementGalley, SeatMapCabinRowSectionElementLavatory, SeatMapCabinRowSectionElementSeat, SeatMapCabinRowSectionElementStairs, SeatMapCabinRowSectionElementType, UpdateOffer, UpdateSingleOrder };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@duffel/api",
|
|
3
|
-
"version": "1.7.
|
|
3
|
+
"version": "1.7.1",
|
|
4
4
|
"description": "Javascript client library for the Duffel API",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.es.js",
|
|
@@ -54,9 +54,9 @@
|
|
|
54
54
|
"@babel/core": "^7.15.5",
|
|
55
55
|
"@babel/preset-env": "^7.15.4",
|
|
56
56
|
"@babel/preset-typescript": "^7.14.5",
|
|
57
|
-
"@commitlint/cli": "^
|
|
58
|
-
"@commitlint/config-angular": "^
|
|
59
|
-
"@commitlint/cz-commitlint": "^
|
|
57
|
+
"@commitlint/cli": "^15.0.0",
|
|
58
|
+
"@commitlint/config-angular": "^15.0.0",
|
|
59
|
+
"@commitlint/cz-commitlint": "^15.0.0",
|
|
60
60
|
"@rollup/plugin-commonjs": "^21.0.0",
|
|
61
61
|
"@rollup/plugin-multi-entry": "^4.0.0",
|
|
62
62
|
"@rollup/plugin-node-resolve": "^13.0.0",
|
|
@@ -70,7 +70,7 @@
|
|
|
70
70
|
"eslint-config-prettier": "^8.3.0",
|
|
71
71
|
"eslint-plugin-spellcheck": "^0.0.19",
|
|
72
72
|
"husky": "^7.0.0",
|
|
73
|
-
"jest": "^
|
|
73
|
+
"jest": "^27.4.5",
|
|
74
74
|
"lint-staged": "^12.0.1",
|
|
75
75
|
"nock": "^13.1.0",
|
|
76
76
|
"prettier": "^2.4.1",
|
|
@@ -79,7 +79,7 @@
|
|
|
79
79
|
"rollup-plugin-inject-process-env": "^1.3.1",
|
|
80
80
|
"rollup-plugin-peer-deps-external": "^2.2.4",
|
|
81
81
|
"rollup-plugin-terser": "^7.0.2",
|
|
82
|
-
"rollup-plugin-typescript2": "^0.
|
|
82
|
+
"rollup-plugin-typescript2": "^0.31.0",
|
|
83
83
|
"ts-jest": "^26.5.6",
|
|
84
84
|
"ts-node": "^10.0.0",
|
|
85
85
|
"typescript": "^4.4.2"
|