@duffel/api 2.5.3 → 2.5.4
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/DuffelPayments/PaymentIntents/PaymentIntents.d.ts +28 -28
- package/dist/DuffelPayments/PaymentIntents/PaymentIntents.spec.d.ts +1 -1
- package/dist/DuffelPayments/PaymentIntents/PaymentIntentsType.d.ts +112 -112
- package/dist/DuffelPayments/PaymentIntents/index.d.ts +1 -1
- package/dist/DuffelPayments/Refunds/Refunds.d.ts +21 -21
- package/dist/DuffelPayments/Refunds/Refunds.spec.d.ts +1 -1
- package/dist/DuffelPayments/Refunds/RefundsType.d.ts +70 -70
- package/dist/DuffelPayments/Refunds/index.d.ts +1 -1
- package/dist/DuffelPayments/index.d.ts +1 -1
- package/dist/Links/Sessions/Sessions.d.ts +63 -63
- package/dist/Links/Sessions/Sessions.spec.d.ts +1 -1
- package/dist/Links/Sessions/index.d.ts +1 -1
- package/dist/Links/index.d.ts +1 -1
- package/dist/Places/Suggestions/Suggestions.d.ts +42 -42
- package/dist/Places/Suggestions/Suggestions.spec.d.ts +1 -1
- package/dist/Places/Suggestions/SuggestionsType.d.ts +59 -59
- package/dist/Places/Suggestions/index.d.ts +1 -1
- package/dist/Places/index.d.ts +1 -1
- package/dist/Stays/Bookings/Bookings.d.ts +41 -41
- package/dist/Stays/Bookings/Bookings.spec.d.ts +1 -1
- package/dist/Stays/Bookings/index.d.ts +1 -1
- package/dist/Stays/Quotes/Quotes.d.ts +16 -16
- package/dist/Stays/Quotes/Quotes.spec.d.ts +1 -1
- package/dist/Stays/Quotes/index.d.ts +1 -1
- package/dist/Stays/SearchResults/SearchResults.d.ts +16 -16
- package/dist/Stays/SearchResults/SearchResults.spec.d.ts +1 -1
- package/dist/Stays/SearchResults/index.d.ts +1 -1
- package/dist/Stays/Stays.d.ts +22 -22
- package/dist/Stays/Stays.spec.d.ts +1 -1
- package/dist/Stays/StaysTypes.d.ts +454 -454
- package/dist/booking/AirlineInitiatedChanges/AirlineInitiatedChanges.d.ts +63 -63
- package/dist/booking/AirlineInitiatedChanges/AirlineInitiatedChanges.spec.d.ts +1 -1
- package/dist/booking/AirlineInitiatedChanges/AirlineInitiatedChangesTypes.d.ts +57 -57
- package/dist/booking/AirlineInitiatedChanges/index.d.ts +1 -1
- package/dist/booking/OfferRequests/OfferRequests.d.ts +46 -46
- package/dist/booking/OfferRequests/OfferRequests.spec.d.ts +1 -1
- package/dist/booking/OfferRequests/OfferRequestsTypes.d.ts +240 -240
- package/dist/booking/OfferRequests/index.d.ts +1 -1
- package/dist/booking/Offers/OfferTypes.d.ts +495 -495
- package/dist/booking/Offers/Offers.d.ts +53 -53
- package/dist/booking/Offers/Offers.spec.d.ts +1 -1
- package/dist/booking/Offers/index.d.ts +1 -1
- package/dist/booking/OrderCancellations/OrderCancellations.d.ts +41 -41
- package/dist/booking/OrderCancellations/OrderCancellations.spec.d.ts +1 -1
- package/dist/booking/OrderCancellations/OrderCancellationsTypes.d.ts +53 -53
- package/dist/booking/OrderCancellations/index.d.ts +1 -1
- package/dist/booking/OrderChangeOffers/OrderChangeOfferTypes.d.ts +113 -113
- package/dist/booking/OrderChangeOffers/OrderChangeOffers.d.ts +31 -31
- package/dist/booking/OrderChangeOffers/OrderChangeOffers.spec.d.ts +1 -1
- package/dist/booking/OrderChangeOffers/index.d.ts +1 -1
- package/dist/booking/OrderChangeRequests/OrderChangeRequests.d.ts +29 -29
- package/dist/booking/OrderChangeRequests/OrderChangeRequestsTypes.d.ts +141 -141
- package/dist/booking/OrderChangeRequests/OrderRequestChanges.spec.d.ts +1 -1
- package/dist/booking/OrderChangeRequests/index.d.ts +1 -1
- package/dist/booking/OrderChanges/OrderChanges.d.ts +31 -31
- package/dist/booking/OrderChanges/OrderChanges.spec.d.ts +1 -1
- package/dist/booking/OrderChanges/OrderChangesTypes.d.ts +102 -102
- package/dist/booking/OrderChanges/index.d.ts +1 -1
- package/dist/booking/Orders/Orders.d.ts +52 -52
- package/dist/booking/Orders/Orders.spec.d.ts +1 -1
- package/dist/booking/Orders/OrdersTypes.d.ts +500 -500
- package/dist/booking/Orders/index.d.ts +1 -1
- package/dist/booking/PartialOfferRequests/PartialOfferRequestTypes.d.ts +6 -6
- package/dist/booking/PartialOfferRequests/PartialOfferRequests.d.ts +40 -40
- package/dist/booking/PartialOfferRequests/PartialOfferRequests.spec.d.ts +1 -1
- package/dist/booking/PartialOfferRequests/index.d.ts +1 -1
- package/dist/booking/Payments/Payments.d.ts +16 -16
- package/dist/booking/Payments/Payments.spec.d.ts +1 -1
- package/dist/booking/Payments/PaymentsTypes.d.ts +43 -43
- package/dist/booking/Payments/index.d.ts +1 -1
- package/dist/booking/SeatMaps/SeatMapTypes.d.ts +190 -190
- package/dist/booking/SeatMaps/SeatMaps.d.ts +17 -17
- package/dist/booking/SeatMaps/SeatMaps.spec.d.ts +1 -1
- package/dist/booking/SeatMaps/index.d.ts +1 -1
- package/dist/booking/index.d.ts +11 -11
- package/dist/index.es.js +1 -1
- package/dist/index.js +1 -1
- package/dist/notifications/Webhooks/Webhooks.d.ts +51 -51
- package/dist/notifications/Webhooks/Webhooks.spec.d.ts +1 -1
- package/dist/notifications/Webhooks/WebhooksType.d.ts +113 -113
- package/dist/notifications/Webhooks/index.d.ts +1 -1
- package/dist/notifications/index.d.ts +1 -1
- package/dist/supportingResources/Aircraft/Aircraft.d.ts +30 -30
- package/dist/supportingResources/Aircraft/Aircraft.spec.d.ts +1 -1
- package/dist/supportingResources/Aircraft/AircraftTypes.d.ts +18 -18
- package/dist/supportingResources/Aircraft/index.d.ts +1 -1
- package/dist/supportingResources/Airlines/Airlines.d.ts +29 -29
- package/dist/supportingResources/Airlines/Airlines.spec.d.ts +1 -1
- package/dist/supportingResources/Airlines/AirlinesTypes.d.ts +17 -17
- package/dist/supportingResources/Airlines/index.d.ts +2 -2
- package/dist/supportingResources/Airports/Airports.d.ts +30 -30
- package/dist/supportingResources/Airports/Airports.spec.d.ts +1 -1
- package/dist/supportingResources/Airports/AirportsTypes.d.ts +55 -55
- package/dist/supportingResources/Airports/index.d.ts +2 -2
- package/dist/supportingResources/index.d.ts +3 -3
- package/package.json +15 -15
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Aircraft are used to describe what passengers will fly in for a given trip
|
|
3
|
-
* @link https://duffel.com/docs/api/aircraft/schema
|
|
4
|
-
*/
|
|
5
|
-
export interface Aircraft {
|
|
6
|
-
/**
|
|
7
|
-
* The name of the aircraft
|
|
8
|
-
*/
|
|
9
|
-
name: string;
|
|
10
|
-
/**
|
|
11
|
-
* Duffel's unique identifier for the aircraft
|
|
12
|
-
*/
|
|
13
|
-
id: string;
|
|
14
|
-
/**
|
|
15
|
-
* The three-character IATA code for the aircraft
|
|
16
|
-
*/
|
|
17
|
-
iata_code: string;
|
|
18
|
-
}
|
|
1
|
+
/**
|
|
2
|
+
* Aircraft are used to describe what passengers will fly in for a given trip
|
|
3
|
+
* @link https://duffel.com/docs/api/aircraft/schema
|
|
4
|
+
*/
|
|
5
|
+
export interface Aircraft {
|
|
6
|
+
/**
|
|
7
|
+
* The name of the aircraft
|
|
8
|
+
*/
|
|
9
|
+
name: string;
|
|
10
|
+
/**
|
|
11
|
+
* Duffel's unique identifier for the aircraft
|
|
12
|
+
*/
|
|
13
|
+
id: string;
|
|
14
|
+
/**
|
|
15
|
+
* The three-character IATA code for the aircraft
|
|
16
|
+
*/
|
|
17
|
+
iata_code: string;
|
|
18
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './Aircraft';
|
|
1
|
+
export * from './Aircraft';
|
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
import { Resource } from '../../Resource';
|
|
2
|
-
import { Airline, DuffelResponse, PaginationMeta } from '../../types';
|
|
3
|
-
/** Airlines are used to identify the air travel companies selling and operating flights
|
|
4
|
-
* @class
|
|
5
|
-
* @link https://duffel.com/docs/api/airlines */
|
|
6
|
-
export declare class Airlines extends Resource {
|
|
7
|
-
/**
|
|
8
|
-
* Endpoint path
|
|
9
|
-
*/
|
|
10
|
-
path: string;
|
|
11
|
-
constructor(args: any);
|
|
12
|
-
/**
|
|
13
|
-
* Retrieves an airline by its ID
|
|
14
|
-
* @param {string} id - Duffel's unique identifier for the airline
|
|
15
|
-
* @link https://duffel.com/docs/api/airlines/get-airline-by-id
|
|
16
|
-
*/
|
|
17
|
-
get: (id: string) => Promise<DuffelResponse<Airline>>;
|
|
18
|
-
/**
|
|
19
|
-
* Retrieves a page of airlines. The results may be returned in any order.
|
|
20
|
-
* @param {Object} [options] - Pagination options (optional: limit, after, before)
|
|
21
|
-
* @link https://duffel.com/docs/api/airlines/get-airlines
|
|
22
|
-
*/
|
|
23
|
-
list: (options?: PaginationMeta) => Promise<DuffelResponse<Airline[]>>;
|
|
24
|
-
/**
|
|
25
|
-
* Retrieves a generator of all airlines. The results may be returned in any order.
|
|
26
|
-
* @link https://duffel.com/docs/api/airlines/get-airlines
|
|
27
|
-
*/
|
|
28
|
-
listWithGenerator: () => AsyncGenerator<DuffelResponse<Airline>, void, unknown>;
|
|
29
|
-
}
|
|
1
|
+
import { Resource } from '../../Resource';
|
|
2
|
+
import { Airline, DuffelResponse, PaginationMeta } from '../../types';
|
|
3
|
+
/** Airlines are used to identify the air travel companies selling and operating flights
|
|
4
|
+
* @class
|
|
5
|
+
* @link https://duffel.com/docs/api/airlines */
|
|
6
|
+
export declare class Airlines extends Resource {
|
|
7
|
+
/**
|
|
8
|
+
* Endpoint path
|
|
9
|
+
*/
|
|
10
|
+
path: string;
|
|
11
|
+
constructor(args: any);
|
|
12
|
+
/**
|
|
13
|
+
* Retrieves an airline by its ID
|
|
14
|
+
* @param {string} id - Duffel's unique identifier for the airline
|
|
15
|
+
* @link https://duffel.com/docs/api/airlines/get-airline-by-id
|
|
16
|
+
*/
|
|
17
|
+
get: (id: string) => Promise<DuffelResponse<Airline>>;
|
|
18
|
+
/**
|
|
19
|
+
* Retrieves a page of airlines. The results may be returned in any order.
|
|
20
|
+
* @param {Object} [options] - Pagination options (optional: limit, after, before)
|
|
21
|
+
* @link https://duffel.com/docs/api/airlines/get-airlines
|
|
22
|
+
*/
|
|
23
|
+
list: (options?: PaginationMeta) => Promise<DuffelResponse<Airline[]>>;
|
|
24
|
+
/**
|
|
25
|
+
* Retrieves a generator of all airlines. The results may be returned in any order.
|
|
26
|
+
* @link https://duffel.com/docs/api/airlines/get-airlines
|
|
27
|
+
*/
|
|
28
|
+
listWithGenerator: () => AsyncGenerator<DuffelResponse<Airline>, void, unknown>;
|
|
29
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export {};
|
|
1
|
+
export {};
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Airlines are used to identify the air travel companies selling and operating flights
|
|
3
|
-
* @link https://duffel.com/docs/api/airlines/schema
|
|
4
|
-
*/
|
|
5
|
-
export interface Airline {
|
|
6
|
-
/**
|
|
7
|
-
* The three-character IATA code for the airline
|
|
8
|
-
*/
|
|
9
|
-
name: string;
|
|
10
|
-
/**
|
|
11
|
-
* Duffel's unique identifier for the airline
|
|
12
|
-
*/
|
|
13
|
-
id: string;
|
|
14
|
-
iata_code: string;
|
|
15
|
-
logo_lockup_url?: string;
|
|
16
|
-
logo_symbol_url?: string;
|
|
17
|
-
}
|
|
1
|
+
/**
|
|
2
|
+
* Airlines are used to identify the air travel companies selling and operating flights
|
|
3
|
+
* @link https://duffel.com/docs/api/airlines/schema
|
|
4
|
+
*/
|
|
5
|
+
export interface Airline {
|
|
6
|
+
/**
|
|
7
|
+
* The three-character IATA code for the airline
|
|
8
|
+
*/
|
|
9
|
+
name: string;
|
|
10
|
+
/**
|
|
11
|
+
* Duffel's unique identifier for the airline
|
|
12
|
+
*/
|
|
13
|
+
id: string;
|
|
14
|
+
iata_code: string;
|
|
15
|
+
logo_lockup_url?: string;
|
|
16
|
+
logo_symbol_url?: string;
|
|
17
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './Airlines';
|
|
2
|
-
export * as AirlineType from './AirlinesTypes';
|
|
1
|
+
export * from './Airlines';
|
|
2
|
+
export * as AirlineType from './AirlinesTypes';
|
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
import { Resource } from '../../Resource';
|
|
2
|
-
import { Airport, DuffelResponse, PaginationMeta } from '../../types';
|
|
3
|
-
/** Airports are used to identify origins and destinations in journey slices
|
|
4
|
-
* @class
|
|
5
|
-
* @link https://duffel.com/docs/api/airports
|
|
6
|
-
*/
|
|
7
|
-
export declare class Airports extends Resource {
|
|
8
|
-
/**
|
|
9
|
-
* Endpoint path
|
|
10
|
-
*/
|
|
11
|
-
path: string;
|
|
12
|
-
constructor(args: any);
|
|
13
|
-
/**
|
|
14
|
-
* Retrieves an airport by its ID
|
|
15
|
-
* @param {string} id - Duffel's unique identifier for the airport
|
|
16
|
-
* @link https://duffel.com/docs/api/airports/get-airport-by-id
|
|
17
|
-
*/
|
|
18
|
-
get: (id: string) => Promise<DuffelResponse<Airport>>;
|
|
19
|
-
/**
|
|
20
|
-
* Retrieves a page of airports. The results may be returned in any order.
|
|
21
|
-
* @param {Object} [options] - Pagination options (optional: limit, after, before)
|
|
22
|
-
* @link https://duffel.com/docs/api/airports/get-airports
|
|
23
|
-
*/
|
|
24
|
-
list: (options?: PaginationMeta) => Promise<DuffelResponse<Airport[]>>;
|
|
25
|
-
/**
|
|
26
|
-
* Retrieves a generator of all airports. The results may be returned in any order.
|
|
27
|
-
* @link https://duffel.com/docs/api/airports/get-airports
|
|
28
|
-
*/
|
|
29
|
-
listWithGenerator: () => AsyncGenerator<DuffelResponse<Airport>, void, unknown>;
|
|
30
|
-
}
|
|
1
|
+
import { Resource } from '../../Resource';
|
|
2
|
+
import { Airport, DuffelResponse, PaginationMeta } from '../../types';
|
|
3
|
+
/** Airports are used to identify origins and destinations in journey slices
|
|
4
|
+
* @class
|
|
5
|
+
* @link https://duffel.com/docs/api/airports
|
|
6
|
+
*/
|
|
7
|
+
export declare class Airports extends Resource {
|
|
8
|
+
/**
|
|
9
|
+
* Endpoint path
|
|
10
|
+
*/
|
|
11
|
+
path: string;
|
|
12
|
+
constructor(args: any);
|
|
13
|
+
/**
|
|
14
|
+
* Retrieves an airport by its ID
|
|
15
|
+
* @param {string} id - Duffel's unique identifier for the airport
|
|
16
|
+
* @link https://duffel.com/docs/api/airports/get-airport-by-id
|
|
17
|
+
*/
|
|
18
|
+
get: (id: string) => Promise<DuffelResponse<Airport>>;
|
|
19
|
+
/**
|
|
20
|
+
* Retrieves a page of airports. The results may be returned in any order.
|
|
21
|
+
* @param {Object} [options] - Pagination options (optional: limit, after, before)
|
|
22
|
+
* @link https://duffel.com/docs/api/airports/get-airports
|
|
23
|
+
*/
|
|
24
|
+
list: (options?: PaginationMeta) => Promise<DuffelResponse<Airport[]>>;
|
|
25
|
+
/**
|
|
26
|
+
* Retrieves a generator of all airports. The results may be returned in any order.
|
|
27
|
+
* @link https://duffel.com/docs/api/airports/get-airports
|
|
28
|
+
*/
|
|
29
|
+
listWithGenerator: () => AsyncGenerator<DuffelResponse<Airport>, void, unknown>;
|
|
30
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export {};
|
|
1
|
+
export {};
|
|
@@ -1,55 +1,55 @@
|
|
|
1
|
-
import { City } from '../../types';
|
|
2
|
-
/**
|
|
3
|
-
* Airports are used to identify origins and destinations in journey slices
|
|
4
|
-
* @link https://duffel.com/docs/api/airports/schema
|
|
5
|
-
*/
|
|
6
|
-
export interface Airport {
|
|
7
|
-
/**
|
|
8
|
-
* The metropolitan area where the airport is located.
|
|
9
|
-
* Only present for airports which are registered with IATA as belonging to a metropolitan area.
|
|
10
|
-
*/
|
|
11
|
-
city?: City | null;
|
|
12
|
-
/**
|
|
13
|
-
* The name of the city (or cities separated by a `/`) where the airport is located
|
|
14
|
-
*/
|
|
15
|
-
city_name: string;
|
|
16
|
-
/**
|
|
17
|
-
* The three-character IATA code for the airport
|
|
18
|
-
*/
|
|
19
|
-
iata_code?: string;
|
|
20
|
-
/**
|
|
21
|
-
* The ISO 3166-1 alpha-2 code for the country where the city is located
|
|
22
|
-
* @link https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2
|
|
23
|
-
* @example "GB"
|
|
24
|
-
*/
|
|
25
|
-
iata_country_code: string;
|
|
26
|
-
/**
|
|
27
|
-
* The 3-letter IATA code for the city where the place is located.
|
|
28
|
-
* Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).
|
|
29
|
-
*/
|
|
30
|
-
iata_city_code?: string | null;
|
|
31
|
-
/**
|
|
32
|
-
* The four-character ICAO code for the airport
|
|
33
|
-
*/
|
|
34
|
-
icao_code?: string;
|
|
35
|
-
/**
|
|
36
|
-
* Duffel's unique identifier for the airport
|
|
37
|
-
*/
|
|
38
|
-
id: string;
|
|
39
|
-
/**
|
|
40
|
-
* The latitude position of the airport represented in Decimal degrees with 6 decimal points with a range between -90° and 90°
|
|
41
|
-
*/
|
|
42
|
-
latitude: number;
|
|
43
|
-
/**
|
|
44
|
-
* The longitude position of the airport represented in Decimal degrees with 6 decimal points with a range between -180° and 180°
|
|
45
|
-
*/
|
|
46
|
-
longitude: number;
|
|
47
|
-
/**
|
|
48
|
-
* The name of the airport
|
|
49
|
-
*/
|
|
50
|
-
name: string;
|
|
51
|
-
/**
|
|
52
|
-
* The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)
|
|
53
|
-
*/
|
|
54
|
-
time_zone: string;
|
|
55
|
-
}
|
|
1
|
+
import { City } from '../../types';
|
|
2
|
+
/**
|
|
3
|
+
* Airports are used to identify origins and destinations in journey slices
|
|
4
|
+
* @link https://duffel.com/docs/api/airports/schema
|
|
5
|
+
*/
|
|
6
|
+
export interface Airport {
|
|
7
|
+
/**
|
|
8
|
+
* The metropolitan area where the airport is located.
|
|
9
|
+
* Only present for airports which are registered with IATA as belonging to a metropolitan area.
|
|
10
|
+
*/
|
|
11
|
+
city?: City | null;
|
|
12
|
+
/**
|
|
13
|
+
* The name of the city (or cities separated by a `/`) where the airport is located
|
|
14
|
+
*/
|
|
15
|
+
city_name: string;
|
|
16
|
+
/**
|
|
17
|
+
* The three-character IATA code for the airport
|
|
18
|
+
*/
|
|
19
|
+
iata_code?: string;
|
|
20
|
+
/**
|
|
21
|
+
* The ISO 3166-1 alpha-2 code for the country where the city is located
|
|
22
|
+
* @link https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2
|
|
23
|
+
* @example "GB"
|
|
24
|
+
*/
|
|
25
|
+
iata_country_code: string;
|
|
26
|
+
/**
|
|
27
|
+
* The 3-letter IATA code for the city where the place is located.
|
|
28
|
+
* Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).
|
|
29
|
+
*/
|
|
30
|
+
iata_city_code?: string | null;
|
|
31
|
+
/**
|
|
32
|
+
* The four-character ICAO code for the airport
|
|
33
|
+
*/
|
|
34
|
+
icao_code?: string;
|
|
35
|
+
/**
|
|
36
|
+
* Duffel's unique identifier for the airport
|
|
37
|
+
*/
|
|
38
|
+
id: string;
|
|
39
|
+
/**
|
|
40
|
+
* The latitude position of the airport represented in Decimal degrees with 6 decimal points with a range between -90° and 90°
|
|
41
|
+
*/
|
|
42
|
+
latitude: number;
|
|
43
|
+
/**
|
|
44
|
+
* The longitude position of the airport represented in Decimal degrees with 6 decimal points with a range between -180° and 180°
|
|
45
|
+
*/
|
|
46
|
+
longitude: number;
|
|
47
|
+
/**
|
|
48
|
+
* The name of the airport
|
|
49
|
+
*/
|
|
50
|
+
name: string;
|
|
51
|
+
/**
|
|
52
|
+
* The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)
|
|
53
|
+
*/
|
|
54
|
+
time_zone: string;
|
|
55
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './Airports';
|
|
2
|
-
export * as AirportType from './AirportsTypes';
|
|
1
|
+
export * from './Airports';
|
|
2
|
+
export * as AirportType from './AirportsTypes';
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from './Aircraft';
|
|
2
|
-
export * from './Airlines';
|
|
3
|
-
export * from './Airports';
|
|
1
|
+
export * from './Aircraft';
|
|
2
|
+
export * from './Airlines';
|
|
3
|
+
export * from './Airports';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@duffel/api",
|
|
3
|
-
"version": "2.5.
|
|
3
|
+
"version": "2.5.4",
|
|
4
4
|
"description": "Javascript client library for the Duffel API",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.es.js",
|
|
@@ -57,17 +57,17 @@
|
|
|
57
57
|
"dependencies": {
|
|
58
58
|
"@types/node": "^17.0.21",
|
|
59
59
|
"@types/node-fetch": "^2.6.2",
|
|
60
|
-
"node-fetch": "2.
|
|
60
|
+
"node-fetch": "2.7.0"
|
|
61
61
|
},
|
|
62
62
|
"devDependencies": {
|
|
63
|
-
"@babel/core": "7.23.
|
|
64
|
-
"@babel/preset-env": "7.
|
|
65
|
-
"@babel/preset-typescript": "7.23.
|
|
66
|
-
"@commitlint/cli": "17.
|
|
67
|
-
"@commitlint/config-angular": "17.
|
|
68
|
-
"@commitlint/cz-commitlint": "17.
|
|
63
|
+
"@babel/core": "7.23.2",
|
|
64
|
+
"@babel/preset-env": "7.23.2",
|
|
65
|
+
"@babel/preset-typescript": "7.23.2",
|
|
66
|
+
"@commitlint/cli": "17.7.2",
|
|
67
|
+
"@commitlint/config-angular": "17.7.0",
|
|
68
|
+
"@commitlint/cz-commitlint": "17.7.2",
|
|
69
69
|
"@rollup/plugin-commonjs": "24.1.0",
|
|
70
|
-
"@rollup/plugin-node-resolve": "15.
|
|
70
|
+
"@rollup/plugin-node-resolve": "15.2.3",
|
|
71
71
|
"@types/jest": "29.0.3",
|
|
72
72
|
"@typescript-eslint/eslint-plugin": "5.62.0",
|
|
73
73
|
"@typescript-eslint/parser": "5.62.0",
|
|
@@ -75,22 +75,22 @@
|
|
|
75
75
|
"commitizen": "4.3.0",
|
|
76
76
|
"dotenv": "16.3.1",
|
|
77
77
|
"eslint": "8.43.0",
|
|
78
|
-
"eslint-config-prettier": "8.
|
|
78
|
+
"eslint-config-prettier": "8.10.0",
|
|
79
79
|
"eslint-plugin-spellcheck": "0.0.20",
|
|
80
80
|
"husky": "8.0.3",
|
|
81
81
|
"jest": "29.0.3",
|
|
82
|
-
"lint-staged": "13.
|
|
83
|
-
"nock": "13.3.
|
|
82
|
+
"lint-staged": "13.3.0",
|
|
83
|
+
"nock": "13.3.4",
|
|
84
84
|
"prettier": "2.8.8",
|
|
85
|
-
"rollup": "3.
|
|
85
|
+
"rollup": "3.29.4",
|
|
86
86
|
"rollup-plugin-dts-bundle": "^1.0.0",
|
|
87
87
|
"rollup-plugin-inject-process-env": "1.3.1",
|
|
88
88
|
"rollup-plugin-peer-deps-external": "2.2.4",
|
|
89
89
|
"rollup-plugin-terser": "7.0.2",
|
|
90
|
-
"rollup-plugin-typescript2": "0.
|
|
90
|
+
"rollup-plugin-typescript2": "0.36.0",
|
|
91
91
|
"ts-jest": "29.1.1",
|
|
92
92
|
"ts-node": "10.9.1",
|
|
93
|
-
"typescript": "
|
|
93
|
+
"typescript": "5.2.2"
|
|
94
94
|
},
|
|
95
95
|
"engines": {
|
|
96
96
|
"node": ">=18.*"
|